re PR libstdc++/54869 (ext/random/simd_fast_mersenne_twister_engine/cons/default...
[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_PCHFLAGS
712 GLIBCXX_BUILD_PCH_FALSE
713 GLIBCXX_BUILD_PCH_TRUE
714 GLIBCXX_HOSTED_FALSE
715 GLIBCXX_HOSTED_TRUE
716 glibcxx_compiler_shared_flag
717 glibcxx_compiler_pic_flag
718 glibcxx_lt_pic_flag
719 enable_static
720 enable_shared
721 lt_host_flags
722 CXXCPP
723 OTOOL64
724 OTOOL
725 LIPO
726 NMEDIT
727 DSYMUTIL
728 OBJDUMP
729 NM
730 ac_ct_DUMPBIN
731 DUMPBIN
732 LD
733 FGREP
734 SED
735 LIBTOOL
736 EGREP
737 GREP
738 CPP
739 MAINT
740 MAINTAINER_MODE_FALSE
741 MAINTAINER_MODE_TRUE
742 RANLIB
743 AR
744 AS
745 LN_S
746 toplevel_srcdir
747 toplevel_builddir
748 glibcxx_srcdir
749 glibcxx_builddir
750 ac_ct_CXX
751 CXXFLAGS
752 CXX
753 OBJEXT
754 EXEEXT
755 ac_ct_CC
756 CPPFLAGS
757 LDFLAGS
758 CFLAGS
759 CC
760 am__untar
761 am__tar
762 AMTAR
763 am__leading_dot
764 SET_MAKE
765 AWK
766 mkdir_p
767 MKDIR_P
768 INSTALL_STRIP_PROGRAM
769 STRIP
770 install_sh
771 MAKEINFO
772 AUTOHEADER
773 AUTOMAKE
774 AUTOCONF
775 ACLOCAL
776 VERSION
777 PACKAGE
778 CYGPATH_W
779 am__isrc
780 INSTALL_DATA
781 INSTALL_SCRIPT
782 INSTALL_PROGRAM
783 target_os
784 target_vendor
785 target_cpu
786 target
787 host_os
788 host_vendor
789 host_cpu
790 host
791 build_os
792 build_vendor
793 build_cpu
794 build
795 multi_basedir
796 target_alias
797 host_alias
798 build_alias
799 LIBS
800 ECHO_T
801 ECHO_N
802 ECHO_C
803 DEFS
804 mandir
805 localedir
806 libdir
807 psdir
808 pdfdir
809 dvidir
810 htmldir
811 infodir
812 docdir
813 oldincludedir
814 includedir
815 localstatedir
816 sharedstatedir
817 sysconfdir
818 datadir
819 datarootdir
820 libexecdir
821 sbindir
822 bindir
823 program_transform_name
824 prefix
825 exec_prefix
826 PACKAGE_URL
827 PACKAGE_BUGREPORT
828 PACKAGE_STRING
829 PACKAGE_VERSION
830 PACKAGE_TARNAME
831 PACKAGE_NAME
832 PATH_SEPARATOR
833 SHELL'
834 ac_subst_files=''
835 ac_user_opts='
836 enable_option_checking
837 enable_multilib
838 with_target_subdir
839 with_cross_host
840 with_newlib
841 enable_maintainer_mode
842 enable_shared
843 enable_static
844 with_pic
845 enable_fast_install
846 with_gnu_ld
847 enable_libtool_lock
848 enable_hosted_libstdcxx
849 enable_libstdcxx_verbose
850 enable_sjlj_exceptions
851 enable_libstdcxx_pch
852 enable_cstdio
853 enable_clocale
854 enable_nls
855 enable_libstdcxx_allocator
856 enable_cheaders
857 enable_long_long
858 enable_wchar_t
859 enable_c99
860 enable_concept_checks
861 enable_libstdcxx_debug_flags
862 enable_libstdcxx_debug
863 enable_cxx_flags
864 enable_fully_dynamic_string
865 enable_extern_template
866 with_python_dir
867 enable_werror
868 enable_libstdcxx_time
869 enable_tls
870 enable_rpath
871 with_libiconv_prefix
872 with_system_libunwind
873 enable_linux_futex
874 enable_symvers
875 enable_libstdcxx_visibility
876 enable_libstdcxx_threads
877 with_gxx_include_dir
878 enable_version_specific_runtime_libs
879 '
880 ac_precious_vars='build_alias
881 host_alias
882 target_alias
883 CC
884 CFLAGS
885 LDFLAGS
886 LIBS
887 CPPFLAGS
888 CXX
889 CXXFLAGS
890 CCC
891 CPP
892 CXXCPP
893 CXXFILT'
894
895
896 # Initialize some variables set by options.
897 ac_init_help=
898 ac_init_version=false
899 ac_unrecognized_opts=
900 ac_unrecognized_sep=
901 # The variables have the same names as the options, with
902 # dashes changed to underlines.
903 cache_file=/dev/null
904 exec_prefix=NONE
905 no_create=
906 no_recursion=
907 prefix=NONE
908 program_prefix=NONE
909 program_suffix=NONE
910 program_transform_name=s,x,x,
911 silent=
912 site=
913 srcdir=
914 verbose=
915 x_includes=NONE
916 x_libraries=NONE
917
918 # Installation directory options.
919 # These are left unexpanded so users can "make install exec_prefix=/foo"
920 # and all the variables that are supposed to be based on exec_prefix
921 # by default will actually change.
922 # Use braces instead of parens because sh, perl, etc. also accept them.
923 # (The list follows the same order as the GNU Coding Standards.)
924 bindir='${exec_prefix}/bin'
925 sbindir='${exec_prefix}/sbin'
926 libexecdir='${exec_prefix}/libexec'
927 datarootdir='${prefix}/share'
928 datadir='${datarootdir}'
929 sysconfdir='${prefix}/etc'
930 sharedstatedir='${prefix}/com'
931 localstatedir='${prefix}/var'
932 includedir='${prefix}/include'
933 oldincludedir='/usr/include'
934 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
935 infodir='${datarootdir}/info'
936 htmldir='${docdir}'
937 dvidir='${docdir}'
938 pdfdir='${docdir}'
939 psdir='${docdir}'
940 libdir='${exec_prefix}/lib'
941 localedir='${datarootdir}/locale'
942 mandir='${datarootdir}/man'
943
944 ac_prev=
945 ac_dashdash=
946 for ac_option
947 do
948 # If the previous option needs an argument, assign it.
949 if test -n "$ac_prev"; then
950 eval $ac_prev=\$ac_option
951 ac_prev=
952 continue
953 fi
954
955 case $ac_option in
956 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
957 *) ac_optarg=yes ;;
958 esac
959
960 # Accept the important Cygnus configure options, so we can diagnose typos.
961
962 case $ac_dashdash$ac_option in
963 --)
964 ac_dashdash=yes ;;
965
966 -bindir | --bindir | --bindi | --bind | --bin | --bi)
967 ac_prev=bindir ;;
968 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
969 bindir=$ac_optarg ;;
970
971 -build | --build | --buil | --bui | --bu)
972 ac_prev=build_alias ;;
973 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
974 build_alias=$ac_optarg ;;
975
976 -cache-file | --cache-file | --cache-fil | --cache-fi \
977 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
978 ac_prev=cache_file ;;
979 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
980 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
981 cache_file=$ac_optarg ;;
982
983 --config-cache | -C)
984 cache_file=config.cache ;;
985
986 -datadir | --datadir | --datadi | --datad)
987 ac_prev=datadir ;;
988 -datadir=* | --datadir=* | --datadi=* | --datad=*)
989 datadir=$ac_optarg ;;
990
991 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
992 | --dataroo | --dataro | --datar)
993 ac_prev=datarootdir ;;
994 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
995 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
996 datarootdir=$ac_optarg ;;
997
998 -disable-* | --disable-*)
999 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1000 # Reject names that are not valid shell variable names.
1001 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1002 as_fn_error "invalid feature name: $ac_useropt"
1003 ac_useropt_orig=$ac_useropt
1004 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1005 case $ac_user_opts in
1006 *"
1007 "enable_$ac_useropt"
1008 "*) ;;
1009 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1010 ac_unrecognized_sep=', ';;
1011 esac
1012 eval enable_$ac_useropt=no ;;
1013
1014 -docdir | --docdir | --docdi | --doc | --do)
1015 ac_prev=docdir ;;
1016 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1017 docdir=$ac_optarg ;;
1018
1019 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1020 ac_prev=dvidir ;;
1021 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1022 dvidir=$ac_optarg ;;
1023
1024 -enable-* | --enable-*)
1025 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1028 as_fn_error "invalid feature name: $ac_useropt"
1029 ac_useropt_orig=$ac_useropt
1030 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031 case $ac_user_opts in
1032 *"
1033 "enable_$ac_useropt"
1034 "*) ;;
1035 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1036 ac_unrecognized_sep=', ';;
1037 esac
1038 eval enable_$ac_useropt=\$ac_optarg ;;
1039
1040 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1041 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1042 | --exec | --exe | --ex)
1043 ac_prev=exec_prefix ;;
1044 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1045 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1046 | --exec=* | --exe=* | --ex=*)
1047 exec_prefix=$ac_optarg ;;
1048
1049 -gas | --gas | --ga | --g)
1050 # Obsolete; use --with-gas.
1051 with_gas=yes ;;
1052
1053 -help | --help | --hel | --he | -h)
1054 ac_init_help=long ;;
1055 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1056 ac_init_help=recursive ;;
1057 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1058 ac_init_help=short ;;
1059
1060 -host | --host | --hos | --ho)
1061 ac_prev=host_alias ;;
1062 -host=* | --host=* | --hos=* | --ho=*)
1063 host_alias=$ac_optarg ;;
1064
1065 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1066 ac_prev=htmldir ;;
1067 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1068 | --ht=*)
1069 htmldir=$ac_optarg ;;
1070
1071 -includedir | --includedir | --includedi | --included | --include \
1072 | --includ | --inclu | --incl | --inc)
1073 ac_prev=includedir ;;
1074 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1075 | --includ=* | --inclu=* | --incl=* | --inc=*)
1076 includedir=$ac_optarg ;;
1077
1078 -infodir | --infodir | --infodi | --infod | --info | --inf)
1079 ac_prev=infodir ;;
1080 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1081 infodir=$ac_optarg ;;
1082
1083 -libdir | --libdir | --libdi | --libd)
1084 ac_prev=libdir ;;
1085 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1086 libdir=$ac_optarg ;;
1087
1088 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1089 | --libexe | --libex | --libe)
1090 ac_prev=libexecdir ;;
1091 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1092 | --libexe=* | --libex=* | --libe=*)
1093 libexecdir=$ac_optarg ;;
1094
1095 -localedir | --localedir | --localedi | --localed | --locale)
1096 ac_prev=localedir ;;
1097 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1098 localedir=$ac_optarg ;;
1099
1100 -localstatedir | --localstatedir | --localstatedi | --localstated \
1101 | --localstate | --localstat | --localsta | --localst | --locals)
1102 ac_prev=localstatedir ;;
1103 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1104 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1105 localstatedir=$ac_optarg ;;
1106
1107 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1108 ac_prev=mandir ;;
1109 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1110 mandir=$ac_optarg ;;
1111
1112 -nfp | --nfp | --nf)
1113 # Obsolete; use --without-fp.
1114 with_fp=no ;;
1115
1116 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1117 | --no-cr | --no-c | -n)
1118 no_create=yes ;;
1119
1120 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1121 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1122 no_recursion=yes ;;
1123
1124 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1125 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1126 | --oldin | --oldi | --old | --ol | --o)
1127 ac_prev=oldincludedir ;;
1128 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1129 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1130 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1131 oldincludedir=$ac_optarg ;;
1132
1133 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1134 ac_prev=prefix ;;
1135 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1136 prefix=$ac_optarg ;;
1137
1138 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1139 | --program-pre | --program-pr | --program-p)
1140 ac_prev=program_prefix ;;
1141 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1142 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1143 program_prefix=$ac_optarg ;;
1144
1145 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1146 | --program-suf | --program-su | --program-s)
1147 ac_prev=program_suffix ;;
1148 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1149 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1150 program_suffix=$ac_optarg ;;
1151
1152 -program-transform-name | --program-transform-name \
1153 | --program-transform-nam | --program-transform-na \
1154 | --program-transform-n | --program-transform- \
1155 | --program-transform | --program-transfor \
1156 | --program-transfo | --program-transf \
1157 | --program-trans | --program-tran \
1158 | --progr-tra | --program-tr | --program-t)
1159 ac_prev=program_transform_name ;;
1160 -program-transform-name=* | --program-transform-name=* \
1161 | --program-transform-nam=* | --program-transform-na=* \
1162 | --program-transform-n=* | --program-transform-=* \
1163 | --program-transform=* | --program-transfor=* \
1164 | --program-transfo=* | --program-transf=* \
1165 | --program-trans=* | --program-tran=* \
1166 | --progr-tra=* | --program-tr=* | --program-t=*)
1167 program_transform_name=$ac_optarg ;;
1168
1169 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1170 ac_prev=pdfdir ;;
1171 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1172 pdfdir=$ac_optarg ;;
1173
1174 -psdir | --psdir | --psdi | --psd | --ps)
1175 ac_prev=psdir ;;
1176 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1177 psdir=$ac_optarg ;;
1178
1179 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1180 | -silent | --silent | --silen | --sile | --sil)
1181 silent=yes ;;
1182
1183 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1184 ac_prev=sbindir ;;
1185 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1186 | --sbi=* | --sb=*)
1187 sbindir=$ac_optarg ;;
1188
1189 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1190 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1191 | --sharedst | --shareds | --shared | --share | --shar \
1192 | --sha | --sh)
1193 ac_prev=sharedstatedir ;;
1194 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1195 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1196 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1197 | --sha=* | --sh=*)
1198 sharedstatedir=$ac_optarg ;;
1199
1200 -site | --site | --sit)
1201 ac_prev=site ;;
1202 -site=* | --site=* | --sit=*)
1203 site=$ac_optarg ;;
1204
1205 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1206 ac_prev=srcdir ;;
1207 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1208 srcdir=$ac_optarg ;;
1209
1210 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1211 | --syscon | --sysco | --sysc | --sys | --sy)
1212 ac_prev=sysconfdir ;;
1213 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1214 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1215 sysconfdir=$ac_optarg ;;
1216
1217 -target | --target | --targe | --targ | --tar | --ta | --t)
1218 ac_prev=target_alias ;;
1219 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1220 target_alias=$ac_optarg ;;
1221
1222 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1223 verbose=yes ;;
1224
1225 -version | --version | --versio | --versi | --vers | -V)
1226 ac_init_version=: ;;
1227
1228 -with-* | --with-*)
1229 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1230 # Reject names that are not valid shell variable names.
1231 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1232 as_fn_error "invalid package name: $ac_useropt"
1233 ac_useropt_orig=$ac_useropt
1234 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1235 case $ac_user_opts in
1236 *"
1237 "with_$ac_useropt"
1238 "*) ;;
1239 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1240 ac_unrecognized_sep=', ';;
1241 esac
1242 eval with_$ac_useropt=\$ac_optarg ;;
1243
1244 -without-* | --without-*)
1245 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1246 # Reject names that are not valid shell variable names.
1247 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1248 as_fn_error "invalid package name: $ac_useropt"
1249 ac_useropt_orig=$ac_useropt
1250 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1251 case $ac_user_opts in
1252 *"
1253 "with_$ac_useropt"
1254 "*) ;;
1255 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1256 ac_unrecognized_sep=', ';;
1257 esac
1258 eval with_$ac_useropt=no ;;
1259
1260 --x)
1261 # Obsolete; use --with-x.
1262 with_x=yes ;;
1263
1264 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1265 | --x-incl | --x-inc | --x-in | --x-i)
1266 ac_prev=x_includes ;;
1267 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1268 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1269 x_includes=$ac_optarg ;;
1270
1271 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1272 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1273 ac_prev=x_libraries ;;
1274 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1275 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1276 x_libraries=$ac_optarg ;;
1277
1278 -*) as_fn_error "unrecognized option: \`$ac_option'
1279 Try \`$0 --help' for more information."
1280 ;;
1281
1282 *=*)
1283 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1284 # Reject names that are not valid shell variable names.
1285 case $ac_envvar in #(
1286 '' | [0-9]* | *[!_$as_cr_alnum]* )
1287 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1288 esac
1289 eval $ac_envvar=\$ac_optarg
1290 export $ac_envvar ;;
1291
1292 *)
1293 # FIXME: should be removed in autoconf 3.0.
1294 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1295 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1296 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1297 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1298 ;;
1299
1300 esac
1301 done
1302
1303 if test -n "$ac_prev"; then
1304 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1305 as_fn_error "missing argument to $ac_option"
1306 fi
1307
1308 if test -n "$ac_unrecognized_opts"; then
1309 case $enable_option_checking in
1310 no) ;;
1311 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1312 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1313 esac
1314 fi
1315
1316 # Check all directory arguments for consistency.
1317 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1318 datadir sysconfdir sharedstatedir localstatedir includedir \
1319 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1320 libdir localedir mandir
1321 do
1322 eval ac_val=\$$ac_var
1323 # Remove trailing slashes.
1324 case $ac_val in
1325 */ )
1326 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1327 eval $ac_var=\$ac_val;;
1328 esac
1329 # Be sure to have absolute directory names.
1330 case $ac_val in
1331 [\\/$]* | ?:[\\/]* ) continue;;
1332 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1333 esac
1334 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1335 done
1336
1337 # There might be people who depend on the old broken behavior: `$host'
1338 # used to hold the argument of --host etc.
1339 # FIXME: To remove some day.
1340 build=$build_alias
1341 host=$host_alias
1342 target=$target_alias
1343
1344 # FIXME: To remove some day.
1345 if test "x$host_alias" != x; then
1346 if test "x$build_alias" = x; then
1347 cross_compiling=maybe
1348 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1349 If a cross compiler is detected then cross compile mode will be used." >&2
1350 elif test "x$build_alias" != "x$host_alias"; then
1351 cross_compiling=yes
1352 fi
1353 fi
1354
1355 ac_tool_prefix=
1356 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1357
1358 test "$silent" = yes && exec 6>/dev/null
1359
1360
1361 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1362 ac_ls_di=`ls -di .` &&
1363 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1364 as_fn_error "working directory cannot be determined"
1365 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1366 as_fn_error "pwd does not report name of working directory"
1367
1368
1369 # Find the source files, if location was not specified.
1370 if test -z "$srcdir"; then
1371 ac_srcdir_defaulted=yes
1372 # Try the directory containing this script, then the parent directory.
1373 ac_confdir=`$as_dirname -- "$as_myself" ||
1374 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1375 X"$as_myself" : 'X\(//\)[^/]' \| \
1376 X"$as_myself" : 'X\(//\)$' \| \
1377 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1378 $as_echo X"$as_myself" |
1379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1380 s//\1/
1381 q
1382 }
1383 /^X\(\/\/\)[^/].*/{
1384 s//\1/
1385 q
1386 }
1387 /^X\(\/\/\)$/{
1388 s//\1/
1389 q
1390 }
1391 /^X\(\/\).*/{
1392 s//\1/
1393 q
1394 }
1395 s/.*/./; q'`
1396 srcdir=$ac_confdir
1397 if test ! -r "$srcdir/$ac_unique_file"; then
1398 srcdir=..
1399 fi
1400 else
1401 ac_srcdir_defaulted=no
1402 fi
1403 if test ! -r "$srcdir/$ac_unique_file"; then
1404 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1405 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1406 fi
1407 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1408 ac_abs_confdir=`(
1409 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1410 pwd)`
1411 # When building in place, set srcdir=.
1412 if test "$ac_abs_confdir" = "$ac_pwd"; then
1413 srcdir=.
1414 fi
1415 # Remove unnecessary trailing slashes from srcdir.
1416 # Double slashes in file names in object file debugging info
1417 # mess up M-x gdb in Emacs.
1418 case $srcdir in
1419 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1420 esac
1421 for ac_var in $ac_precious_vars; do
1422 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1423 eval ac_env_${ac_var}_value=\$${ac_var}
1424 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1425 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1426 done
1427
1428 #
1429 # Report the --help message.
1430 #
1431 if test "$ac_init_help" = "long"; then
1432 # Omit some internal or obsolete options to make the list less imposing.
1433 # This message is too long to be a string in the A/UX 3.1 sh.
1434 cat <<_ACEOF
1435 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1436
1437 Usage: $0 [OPTION]... [VAR=VALUE]...
1438
1439 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1440 VAR=VALUE. See below for descriptions of some of the useful variables.
1441
1442 Defaults for the options are specified in brackets.
1443
1444 Configuration:
1445 -h, --help display this help and exit
1446 --help=short display options specific to this package
1447 --help=recursive display the short help of all the included packages
1448 -V, --version display version information and exit
1449 -q, --quiet, --silent do not print \`checking...' messages
1450 --cache-file=FILE cache test results in FILE [disabled]
1451 -C, --config-cache alias for \`--cache-file=config.cache'
1452 -n, --no-create do not create output files
1453 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1454
1455 Installation directories:
1456 --prefix=PREFIX install architecture-independent files in PREFIX
1457 [$ac_default_prefix]
1458 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1459 [PREFIX]
1460
1461 By default, \`make install' will install all the files in
1462 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1463 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1464 for instance \`--prefix=\$HOME'.
1465
1466 For better control, use the options below.
1467
1468 Fine tuning of the installation directories:
1469 --bindir=DIR user executables [EPREFIX/bin]
1470 --sbindir=DIR system admin executables [EPREFIX/sbin]
1471 --libexecdir=DIR program executables [EPREFIX/libexec]
1472 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1473 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1474 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1475 --libdir=DIR object code libraries [EPREFIX/lib]
1476 --includedir=DIR C header files [PREFIX/include]
1477 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1478 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1479 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1480 --infodir=DIR info documentation [DATAROOTDIR/info]
1481 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1482 --mandir=DIR man documentation [DATAROOTDIR/man]
1483 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1484 --htmldir=DIR html documentation [DOCDIR]
1485 --dvidir=DIR dvi documentation [DOCDIR]
1486 --pdfdir=DIR pdf documentation [DOCDIR]
1487 --psdir=DIR ps documentation [DOCDIR]
1488 _ACEOF
1489
1490 cat <<\_ACEOF
1491
1492 Program names:
1493 --program-prefix=PREFIX prepend PREFIX to installed program names
1494 --program-suffix=SUFFIX append SUFFIX to installed program names
1495 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1496
1497 System types:
1498 --build=BUILD configure for building on BUILD [guessed]
1499 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1500 --target=TARGET configure for building compilers for TARGET [HOST]
1501 _ACEOF
1502 fi
1503
1504 if test -n "$ac_init_help"; then
1505 case $ac_init_help in
1506 short | recursive ) echo "Configuration of package-unused version-unused:";;
1507 esac
1508 cat <<\_ACEOF
1509
1510 Optional Features:
1511 --disable-option-checking ignore unrecognized --enable/--with options
1512 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1513 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1514 --enable-multilib build many library versions (default)
1515 --enable-maintainer-mode enable make rules and dependencies not useful
1516 (and sometimes confusing) to the casual installer
1517 --enable-shared[=PKGS] build shared libraries [default=yes]
1518 --enable-static[=PKGS] build static libraries [default=yes]
1519 --enable-fast-install[=PKGS]
1520 optimize for fast installation [default=yes]
1521 --disable-libtool-lock avoid locking (might break parallel builds)
1522 --disable-hosted-libstdcxx
1523 only build freestanding C++ runtime support
1524 --disable-libstdcxx-verbose
1525 disable termination messages to standard error
1526 --enable-sjlj-exceptions
1527 force use of builtin_setjmp for exceptions
1528 [default=auto]
1529 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1530 [default=$is_hosted]
1531 --enable-cstdio[=PACKAGE]
1532 use target-specific I/O package [default=stdio]
1533 --enable-clocale[=MODEL]
1534 use MODEL for target locale package [default=auto]
1535 --enable-nls use Native Language Support (default)
1536 --enable-libstdcxx-allocator[=KIND]
1537 use KIND for target std::allocator base
1538 [default=auto]
1539 --enable-cheaders[=KIND]
1540 construct "C" headers for g++ [default=$c_model]
1541 --enable-long-long enable template specializations for 'long long'
1542 [default=yes]
1543 --enable-wchar_t enable template specializations for 'wchar_t'
1544 [default=yes]
1545 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1546 --enable-concept-checks use Boost-derived template checks [default=no]
1547 --enable-libstdcxx-debug-flags=FLAGS
1548 pass compiler FLAGS when building debug library
1549 [default="-gdwarf-4 -g3 -O0"]
1550 --enable-libstdcxx-debug
1551 build extra debug library [default=no]
1552 --enable-cxx-flags=FLAGS
1553 pass compiler FLAGS when building library [default=]
1554 --enable-fully-dynamic-string
1555 do not put empty strings in per-process static
1556 memory [default=no]
1557 --enable-extern-template
1558 enable extern template [default=yes]
1559 --enable-werror turns on -Werror [default=yes]
1560 --enable-libstdcxx-time[=KIND]
1561 use KIND for check type [default=no]
1562 --enable-tls Use thread-local storage [default=yes]
1563 --disable-rpath do not hardcode runtime library paths
1564 --enable-linux-futex use the Linux futex system call [default=default]
1565 --enable-symvers[=STYLE]
1566 enables symbol versioning of the shared library
1567 [default=yes]
1568 --enable-libstdcxx-visibility
1569 enables visibility safe usage [default=yes]
1570 --enable-libstdcxx-threads
1571 enable C++11 threads support [default=auto]
1572 --enable-version-specific-runtime-libs
1573 Specify that runtime libraries should be installed
1574 in a compiler-specific directory
1575
1576 Optional Packages:
1577 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1578 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1579 --with-target-subdir=SUBDIR
1580 configuring in a subdirectory
1581 --with-cross-host=HOST configuring with a cross compiler
1582 --with-newlib assume newlib as a system C library
1583 --with-pic try to use only PIC/non-PIC objects [default=use
1584 both]
1585 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1586 --with-python-dir the location to install Python modules. This path is
1587 relative starting from the prefix.
1588 --with-gnu-ld assume the C compiler uses GNU ld default=no
1589 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1590 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1591 --with-system-libunwind use installed libunwind
1592 --with-gxx-include-dir=DIR
1593 installation directory for include files
1594
1595 Some influential environment variables:
1596 CC C compiler command
1597 CFLAGS C compiler flags
1598 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1599 nonstandard directory <lib dir>
1600 LIBS libraries to pass to the linker, e.g. -l<library>
1601 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1602 you have headers in a nonstandard directory <include dir>
1603 CXX C++ compiler command
1604 CXXFLAGS C++ compiler flags
1605 CPP C preprocessor
1606 CXXCPP C++ preprocessor
1607 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1608 `c++filt', `gc++filt' on PATH.
1609
1610 Use these variables to override the choices made by `configure' or to help
1611 it to find libraries and programs with nonstandard names/locations.
1612
1613 Report bugs to the package provider.
1614 _ACEOF
1615 ac_status=$?
1616 fi
1617
1618 if test "$ac_init_help" = "recursive"; then
1619 # If there are subdirs, report their specific --help.
1620 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1621 test -d "$ac_dir" ||
1622 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1623 continue
1624 ac_builddir=.
1625
1626 case "$ac_dir" in
1627 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1628 *)
1629 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1630 # A ".." for each directory in $ac_dir_suffix.
1631 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1632 case $ac_top_builddir_sub in
1633 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1634 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1635 esac ;;
1636 esac
1637 ac_abs_top_builddir=$ac_pwd
1638 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1639 # for backward compatibility:
1640 ac_top_builddir=$ac_top_build_prefix
1641
1642 case $srcdir in
1643 .) # We are building in place.
1644 ac_srcdir=.
1645 ac_top_srcdir=$ac_top_builddir_sub
1646 ac_abs_top_srcdir=$ac_pwd ;;
1647 [\\/]* | ?:[\\/]* ) # Absolute name.
1648 ac_srcdir=$srcdir$ac_dir_suffix;
1649 ac_top_srcdir=$srcdir
1650 ac_abs_top_srcdir=$srcdir ;;
1651 *) # Relative name.
1652 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1653 ac_top_srcdir=$ac_top_build_prefix$srcdir
1654 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1655 esac
1656 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1657
1658 cd "$ac_dir" || { ac_status=$?; continue; }
1659 # Check for guested configure.
1660 if test -f "$ac_srcdir/configure.gnu"; then
1661 echo &&
1662 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1663 elif test -f "$ac_srcdir/configure"; then
1664 echo &&
1665 $SHELL "$ac_srcdir/configure" --help=recursive
1666 else
1667 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1668 fi || ac_status=$?
1669 cd "$ac_pwd" || { ac_status=$?; break; }
1670 done
1671 fi
1672
1673 test -n "$ac_init_help" && exit $ac_status
1674 if $ac_init_version; then
1675 cat <<\_ACEOF
1676 package-unused configure version-unused
1677 generated by GNU Autoconf 2.64
1678
1679 Copyright (C) 2009 Free Software Foundation, Inc.
1680 This configure script is free software; the Free Software Foundation
1681 gives unlimited permission to copy, distribute and modify it.
1682 _ACEOF
1683 exit
1684 fi
1685
1686 ## ------------------------ ##
1687 ## Autoconf initialization. ##
1688 ## ------------------------ ##
1689
1690 # ac_fn_c_try_compile LINENO
1691 # --------------------------
1692 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1693 ac_fn_c_try_compile ()
1694 {
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 rm -f conftest.$ac_objext
1697 if { { ac_try="$ac_compile"
1698 case "(($ac_try" in
1699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700 *) ac_try_echo=$ac_try;;
1701 esac
1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704 (eval "$ac_compile") 2>conftest.err
1705 ac_status=$?
1706 if test -s conftest.err; then
1707 grep -v '^ *+' conftest.err >conftest.er1
1708 cat conftest.er1 >&5
1709 mv -f conftest.er1 conftest.err
1710 fi
1711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1712 test $ac_status = 0; } && {
1713 test -z "$ac_c_werror_flag" ||
1714 test ! -s conftest.err
1715 } && test -s conftest.$ac_objext; then :
1716 ac_retval=0
1717 else
1718 $as_echo "$as_me: failed program was:" >&5
1719 sed 's/^/| /' conftest.$ac_ext >&5
1720
1721 ac_retval=1
1722 fi
1723 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1724 return $ac_retval
1725
1726 } # ac_fn_c_try_compile
1727
1728 # ac_fn_cxx_try_compile LINENO
1729 # ----------------------------
1730 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1731 ac_fn_cxx_try_compile ()
1732 {
1733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734 rm -f conftest.$ac_objext
1735 if { { ac_try="$ac_compile"
1736 case "(($ac_try" in
1737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1738 *) ac_try_echo=$ac_try;;
1739 esac
1740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1741 $as_echo "$ac_try_echo"; } >&5
1742 (eval "$ac_compile") 2>conftest.err
1743 ac_status=$?
1744 if test -s conftest.err; then
1745 grep -v '^ *+' conftest.err >conftest.er1
1746 cat conftest.er1 >&5
1747 mv -f conftest.er1 conftest.err
1748 fi
1749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1750 test $ac_status = 0; } && {
1751 test -z "$ac_cxx_werror_flag" ||
1752 test ! -s conftest.err
1753 } && test -s conftest.$ac_objext; then :
1754 ac_retval=0
1755 else
1756 $as_echo "$as_me: failed program was:" >&5
1757 sed 's/^/| /' conftest.$ac_ext >&5
1758
1759 ac_retval=1
1760 fi
1761 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1762 return $ac_retval
1763
1764 } # ac_fn_cxx_try_compile
1765
1766 # ac_fn_c_try_cpp LINENO
1767 # ----------------------
1768 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1769 ac_fn_c_try_cpp ()
1770 {
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 if { { ac_try="$ac_cpp conftest.$ac_ext"
1773 case "(($ac_try" in
1774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1776 esac
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1780 ac_status=$?
1781 if test -s conftest.err; then
1782 grep -v '^ *+' conftest.err >conftest.er1
1783 cat conftest.er1 >&5
1784 mv -f conftest.er1 conftest.err
1785 fi
1786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787 test $ac_status = 0; } >/dev/null && {
1788 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1789 test ! -s conftest.err
1790 }; then :
1791 ac_retval=0
1792 else
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1795
1796 ac_retval=1
1797 fi
1798 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1799 return $ac_retval
1800
1801 } # ac_fn_c_try_cpp
1802
1803 # ac_fn_c_try_link LINENO
1804 # -----------------------
1805 # Try to link conftest.$ac_ext, and return whether this succeeded.
1806 ac_fn_c_try_link ()
1807 {
1808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809 rm -f conftest.$ac_objext conftest$ac_exeext
1810 if { { ac_try="$ac_link"
1811 case "(($ac_try" in
1812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1813 *) ac_try_echo=$ac_try;;
1814 esac
1815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817 (eval "$ac_link") 2>conftest.err
1818 ac_status=$?
1819 if test -s conftest.err; then
1820 grep -v '^ *+' conftest.err >conftest.er1
1821 cat conftest.er1 >&5
1822 mv -f conftest.er1 conftest.err
1823 fi
1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825 test $ac_status = 0; } && {
1826 test -z "$ac_c_werror_flag" ||
1827 test ! -s conftest.err
1828 } && test -s conftest$ac_exeext && {
1829 test "$cross_compiling" = yes ||
1830 $as_test_x conftest$ac_exeext
1831 }; then :
1832 ac_retval=0
1833 else
1834 $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1836
1837 ac_retval=1
1838 fi
1839 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1840 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1841 # interfere with the next link command; also delete a directory that is
1842 # left behind by Apple's compiler. We do this before executing the actions.
1843 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1844 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1845 return $ac_retval
1846
1847 } # ac_fn_c_try_link
1848
1849 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1850 # -------------------------------------------------------
1851 # Tests whether HEADER exists and can be compiled using the include files in
1852 # INCLUDES, setting the cache variable VAR accordingly.
1853 ac_fn_c_check_header_compile ()
1854 {
1855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1857 $as_echo_n "checking for $2... " >&6; }
1858 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1859 $as_echo_n "(cached) " >&6
1860 else
1861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1862 /* end confdefs.h. */
1863 $4
1864 #include <$2>
1865 _ACEOF
1866 if ac_fn_c_try_compile "$LINENO"; then :
1867 eval "$3=yes"
1868 else
1869 eval "$3=no"
1870 fi
1871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1872 fi
1873 eval ac_res=\$$3
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1876 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1877
1878 } # ac_fn_c_check_header_compile
1879
1880 # ac_fn_c_try_run LINENO
1881 # ----------------------
1882 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1883 # that executables *can* be run.
1884 ac_fn_c_try_run ()
1885 {
1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887 if { { ac_try="$ac_link"
1888 case "(($ac_try" in
1889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1890 *) ac_try_echo=$ac_try;;
1891 esac
1892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1893 $as_echo "$ac_try_echo"; } >&5
1894 (eval "$ac_link") 2>&5
1895 ac_status=$?
1896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1897 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1898 { { case "(($ac_try" in
1899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1900 *) ac_try_echo=$ac_try;;
1901 esac
1902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1903 $as_echo "$ac_try_echo"; } >&5
1904 (eval "$ac_try") 2>&5
1905 ac_status=$?
1906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1907 test $ac_status = 0; }; }; then :
1908 ac_retval=0
1909 else
1910 $as_echo "$as_me: program exited with status $ac_status" >&5
1911 $as_echo "$as_me: failed program was:" >&5
1912 sed 's/^/| /' conftest.$ac_ext >&5
1913
1914 ac_retval=$ac_status
1915 fi
1916 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1917 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1918 return $ac_retval
1919
1920 } # ac_fn_c_try_run
1921
1922 # ac_fn_c_check_func LINENO FUNC VAR
1923 # ----------------------------------
1924 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1925 ac_fn_c_check_func ()
1926 {
1927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1929 $as_echo_n "checking for $2... " >&6; }
1930 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1931 $as_echo_n "(cached) " >&6
1932 else
1933 if test x$gcc_no_link = xyes; then
1934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1935 fi
1936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1937 /* end confdefs.h. */
1938 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1940 #define $2 innocuous_$2
1941
1942 /* System header to define __stub macros and hopefully few prototypes,
1943 which can conflict with char $2 (); below.
1944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1945 <limits.h> exists even on freestanding compilers. */
1946
1947 #ifdef __STDC__
1948 # include <limits.h>
1949 #else
1950 # include <assert.h>
1951 #endif
1952
1953 #undef $2
1954
1955 /* Override any GCC internal prototype to avoid an error.
1956 Use char because int might match the return type of a GCC
1957 builtin and then its argument prototype would still apply. */
1958 #ifdef __cplusplus
1959 extern "C"
1960 #endif
1961 char $2 ();
1962 /* The GNU C library defines this for functions which it implements
1963 to always fail with ENOSYS. Some functions are actually named
1964 something starting with __ and the normal name is an alias. */
1965 #if defined __stub_$2 || defined __stub___$2
1966 choke me
1967 #endif
1968
1969 int
1970 main ()
1971 {
1972 return $2 ();
1973 ;
1974 return 0;
1975 }
1976 _ACEOF
1977 if ac_fn_c_try_link "$LINENO"; then :
1978 eval "$3=yes"
1979 else
1980 eval "$3=no"
1981 fi
1982 rm -f core conftest.err conftest.$ac_objext \
1983 conftest$ac_exeext conftest.$ac_ext
1984 fi
1985 eval ac_res=\$$3
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1987 $as_echo "$ac_res" >&6; }
1988 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1989
1990 } # ac_fn_c_check_func
1991
1992 # ac_fn_cxx_try_cpp LINENO
1993 # ------------------------
1994 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1995 ac_fn_cxx_try_cpp ()
1996 {
1997 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1998 if { { ac_try="$ac_cpp conftest.$ac_ext"
1999 case "(($ac_try" in
2000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2001 *) ac_try_echo=$ac_try;;
2002 esac
2003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2004 $as_echo "$ac_try_echo"; } >&5
2005 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2006 ac_status=$?
2007 if test -s conftest.err; then
2008 grep -v '^ *+' conftest.err >conftest.er1
2009 cat conftest.er1 >&5
2010 mv -f conftest.er1 conftest.err
2011 fi
2012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2013 test $ac_status = 0; } >/dev/null && {
2014 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2015 test ! -s conftest.err
2016 }; then :
2017 ac_retval=0
2018 else
2019 $as_echo "$as_me: failed program was:" >&5
2020 sed 's/^/| /' conftest.$ac_ext >&5
2021
2022 ac_retval=1
2023 fi
2024 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2025 return $ac_retval
2026
2027 } # ac_fn_cxx_try_cpp
2028
2029 # ac_fn_cxx_try_link LINENO
2030 # -------------------------
2031 # Try to link conftest.$ac_ext, and return whether this succeeded.
2032 ac_fn_cxx_try_link ()
2033 {
2034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2035 rm -f conftest.$ac_objext conftest$ac_exeext
2036 if { { ac_try="$ac_link"
2037 case "(($ac_try" in
2038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2039 *) ac_try_echo=$ac_try;;
2040 esac
2041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2042 $as_echo "$ac_try_echo"; } >&5
2043 (eval "$ac_link") 2>conftest.err
2044 ac_status=$?
2045 if test -s conftest.err; then
2046 grep -v '^ *+' conftest.err >conftest.er1
2047 cat conftest.er1 >&5
2048 mv -f conftest.er1 conftest.err
2049 fi
2050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2051 test $ac_status = 0; } && {
2052 test -z "$ac_cxx_werror_flag" ||
2053 test ! -s conftest.err
2054 } && test -s conftest$ac_exeext && {
2055 test "$cross_compiling" = yes ||
2056 $as_test_x conftest$ac_exeext
2057 }; then :
2058 ac_retval=0
2059 else
2060 $as_echo "$as_me: failed program was:" >&5
2061 sed 's/^/| /' conftest.$ac_ext >&5
2062
2063 ac_retval=1
2064 fi
2065 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2066 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2067 # interfere with the next link command; also delete a directory that is
2068 # left behind by Apple's compiler. We do this before executing the actions.
2069 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2070 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2071 return $ac_retval
2072
2073 } # ac_fn_cxx_try_link
2074
2075 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2076 # -------------------------------------------------------
2077 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2078 # the include files in INCLUDES and setting the cache variable VAR
2079 # accordingly.
2080 ac_fn_c_check_header_mongrel ()
2081 {
2082 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2083 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2085 $as_echo_n "checking for $2... " >&6; }
2086 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2087 $as_echo_n "(cached) " >&6
2088 fi
2089 eval ac_res=\$$3
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2091 $as_echo "$ac_res" >&6; }
2092 else
2093 # Is the header compilable?
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2095 $as_echo_n "checking $2 usability... " >&6; }
2096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h. */
2098 $4
2099 #include <$2>
2100 _ACEOF
2101 if ac_fn_c_try_compile "$LINENO"; then :
2102 ac_header_compiler=yes
2103 else
2104 ac_header_compiler=no
2105 fi
2106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2108 $as_echo "$ac_header_compiler" >&6; }
2109
2110 # Is the header present?
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2112 $as_echo_n "checking $2 presence... " >&6; }
2113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2114 /* end confdefs.h. */
2115 #include <$2>
2116 _ACEOF
2117 if ac_fn_c_try_cpp "$LINENO"; then :
2118 ac_header_preproc=yes
2119 else
2120 ac_header_preproc=no
2121 fi
2122 rm -f conftest.err conftest.$ac_ext
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2124 $as_echo "$ac_header_preproc" >&6; }
2125
2126 # So? What about this header?
2127 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2128 yes:no: )
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2130 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2132 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2133 ;;
2134 no:yes:* )
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2136 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2138 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2140 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2142 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2144 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2145 ;;
2146 esac
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2148 $as_echo_n "checking for $2... " >&6; }
2149 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2150 $as_echo_n "(cached) " >&6
2151 else
2152 eval "$3=\$ac_header_compiler"
2153 fi
2154 eval ac_res=\$$3
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2156 $as_echo "$ac_res" >&6; }
2157 fi
2158 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2159
2160 } # ac_fn_c_check_header_mongrel
2161
2162 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2163 # ---------------------------------------------------------
2164 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2165 # the include files in INCLUDES and setting the cache variable VAR
2166 # accordingly.
2167 ac_fn_cxx_check_header_mongrel ()
2168 {
2169 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2170 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2172 $as_echo_n "checking for $2... " >&6; }
2173 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2174 $as_echo_n "(cached) " >&6
2175 fi
2176 eval ac_res=\$$3
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2178 $as_echo "$ac_res" >&6; }
2179 else
2180 # Is the header compilable?
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2182 $as_echo_n "checking $2 usability... " >&6; }
2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h. */
2185 $4
2186 #include <$2>
2187 _ACEOF
2188 if ac_fn_cxx_try_compile "$LINENO"; then :
2189 ac_header_compiler=yes
2190 else
2191 ac_header_compiler=no
2192 fi
2193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2195 $as_echo "$ac_header_compiler" >&6; }
2196
2197 # Is the header present?
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2199 $as_echo_n "checking $2 presence... " >&6; }
2200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2201 /* end confdefs.h. */
2202 #include <$2>
2203 _ACEOF
2204 if ac_fn_cxx_try_cpp "$LINENO"; then :
2205 ac_header_preproc=yes
2206 else
2207 ac_header_preproc=no
2208 fi
2209 rm -f conftest.err conftest.$ac_ext
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2211 $as_echo "$ac_header_preproc" >&6; }
2212
2213 # So? What about this header?
2214 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2215 yes:no: )
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2217 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2219 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2220 ;;
2221 no:yes:* )
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2223 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2225 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2227 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2229 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2231 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2232 ;;
2233 esac
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2235 $as_echo_n "checking for $2... " >&6; }
2236 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2237 $as_echo_n "(cached) " >&6
2238 else
2239 eval "$3=\$ac_header_compiler"
2240 fi
2241 eval ac_res=\$$3
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2243 $as_echo "$ac_res" >&6; }
2244 fi
2245 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2246
2247 } # ac_fn_cxx_check_header_mongrel
2248
2249 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2250 # --------------------------------------------
2251 # Tries to find the compile-time value of EXPR in a program that includes
2252 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2253 # computed
2254 ac_fn_c_compute_int ()
2255 {
2256 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2257 if test "$cross_compiling" = yes; then
2258 # Depending upon the size, compute the lo and hi bounds.
2259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2260 /* end confdefs.h. */
2261 $4
2262 int
2263 main ()
2264 {
2265 static int test_array [1 - 2 * !(($2) >= 0)];
2266 test_array [0] = 0
2267
2268 ;
2269 return 0;
2270 }
2271 _ACEOF
2272 if ac_fn_c_try_compile "$LINENO"; then :
2273 ac_lo=0 ac_mid=0
2274 while :; do
2275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2276 /* end confdefs.h. */
2277 $4
2278 int
2279 main ()
2280 {
2281 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2282 test_array [0] = 0
2283
2284 ;
2285 return 0;
2286 }
2287 _ACEOF
2288 if ac_fn_c_try_compile "$LINENO"; then :
2289 ac_hi=$ac_mid; break
2290 else
2291 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2292 if test $ac_lo -le $ac_mid; then
2293 ac_lo= ac_hi=
2294 break
2295 fi
2296 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2297 fi
2298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2299 done
2300 else
2301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2302 /* end confdefs.h. */
2303 $4
2304 int
2305 main ()
2306 {
2307 static int test_array [1 - 2 * !(($2) < 0)];
2308 test_array [0] = 0
2309
2310 ;
2311 return 0;
2312 }
2313 _ACEOF
2314 if ac_fn_c_try_compile "$LINENO"; then :
2315 ac_hi=-1 ac_mid=-1
2316 while :; do
2317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2318 /* end confdefs.h. */
2319 $4
2320 int
2321 main ()
2322 {
2323 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2324 test_array [0] = 0
2325
2326 ;
2327 return 0;
2328 }
2329 _ACEOF
2330 if ac_fn_c_try_compile "$LINENO"; then :
2331 ac_lo=$ac_mid; break
2332 else
2333 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2334 if test $ac_mid -le $ac_hi; then
2335 ac_lo= ac_hi=
2336 break
2337 fi
2338 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2339 fi
2340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2341 done
2342 else
2343 ac_lo= ac_hi=
2344 fi
2345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2346 fi
2347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2348 # Binary search between lo and hi bounds.
2349 while test "x$ac_lo" != "x$ac_hi"; do
2350 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2352 /* end confdefs.h. */
2353 $4
2354 int
2355 main ()
2356 {
2357 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2358 test_array [0] = 0
2359
2360 ;
2361 return 0;
2362 }
2363 _ACEOF
2364 if ac_fn_c_try_compile "$LINENO"; then :
2365 ac_hi=$ac_mid
2366 else
2367 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2368 fi
2369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2370 done
2371 case $ac_lo in #((
2372 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2373 '') ac_retval=1 ;;
2374 esac
2375 else
2376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2377 /* end confdefs.h. */
2378 $4
2379 static long int longval () { return $2; }
2380 static unsigned long int ulongval () { return $2; }
2381 #include <stdio.h>
2382 #include <stdlib.h>
2383 int
2384 main ()
2385 {
2386
2387 FILE *f = fopen ("conftest.val", "w");
2388 if (! f)
2389 return 1;
2390 if (($2) < 0)
2391 {
2392 long int i = longval ();
2393 if (i != ($2))
2394 return 1;
2395 fprintf (f, "%ld", i);
2396 }
2397 else
2398 {
2399 unsigned long int i = ulongval ();
2400 if (i != ($2))
2401 return 1;
2402 fprintf (f, "%lu", i);
2403 }
2404 /* Do not output a trailing newline, as this causes \r\n confusion
2405 on some platforms. */
2406 return ferror (f) || fclose (f) != 0;
2407
2408 ;
2409 return 0;
2410 }
2411 _ACEOF
2412 if ac_fn_c_try_run "$LINENO"; then :
2413 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2414 else
2415 ac_retval=1
2416 fi
2417 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2418 conftest.$ac_objext conftest.beam conftest.$ac_ext
2419 rm -f conftest.val
2420
2421 fi
2422 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2423 return $ac_retval
2424
2425 } # ac_fn_c_compute_int
2426
2427 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2428 # -------------------------------------------
2429 # Tests whether TYPE exists after having included INCLUDES, setting cache
2430 # variable VAR accordingly.
2431 ac_fn_c_check_type ()
2432 {
2433 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2435 $as_echo_n "checking for $2... " >&6; }
2436 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2437 $as_echo_n "(cached) " >&6
2438 else
2439 eval "$3=no"
2440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2441 /* end confdefs.h. */
2442 $4
2443 int
2444 main ()
2445 {
2446 if (sizeof ($2))
2447 return 0;
2448 ;
2449 return 0;
2450 }
2451 _ACEOF
2452 if ac_fn_c_try_compile "$LINENO"; then :
2453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2454 /* end confdefs.h. */
2455 $4
2456 int
2457 main ()
2458 {
2459 if (sizeof (($2)))
2460 return 0;
2461 ;
2462 return 0;
2463 }
2464 _ACEOF
2465 if ac_fn_c_try_compile "$LINENO"; then :
2466
2467 else
2468 eval "$3=yes"
2469 fi
2470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2471 fi
2472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2473 fi
2474 eval ac_res=\$$3
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2476 $as_echo "$ac_res" >&6; }
2477 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2478
2479 } # ac_fn_c_check_type
2480 cat >config.log <<_ACEOF
2481 This file contains any messages produced by compilers while
2482 running configure, to aid debugging if configure makes a mistake.
2483
2484 It was created by package-unused $as_me version-unused, which was
2485 generated by GNU Autoconf 2.64. Invocation command line was
2486
2487 $ $0 $@
2488
2489 _ACEOF
2490 exec 5>>config.log
2491 {
2492 cat <<_ASUNAME
2493 ## --------- ##
2494 ## Platform. ##
2495 ## --------- ##
2496
2497 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2498 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2499 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2500 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2501 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2502
2503 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2504 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2505
2506 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2507 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2508 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2509 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2510 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2511 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2512 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2513
2514 _ASUNAME
2515
2516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2517 for as_dir in $PATH
2518 do
2519 IFS=$as_save_IFS
2520 test -z "$as_dir" && as_dir=.
2521 $as_echo "PATH: $as_dir"
2522 done
2523 IFS=$as_save_IFS
2524
2525 } >&5
2526
2527 cat >&5 <<_ACEOF
2528
2529
2530 ## ----------- ##
2531 ## Core tests. ##
2532 ## ----------- ##
2533
2534 _ACEOF
2535
2536
2537 # Keep a trace of the command line.
2538 # Strip out --no-create and --no-recursion so they do not pile up.
2539 # Strip out --silent because we don't want to record it for future runs.
2540 # Also quote any args containing shell meta-characters.
2541 # Make two passes to allow for proper duplicate-argument suppression.
2542 ac_configure_args=
2543 ac_configure_args0=
2544 ac_configure_args1=
2545 ac_must_keep_next=false
2546 for ac_pass in 1 2
2547 do
2548 for ac_arg
2549 do
2550 case $ac_arg in
2551 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2552 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2553 | -silent | --silent | --silen | --sile | --sil)
2554 continue ;;
2555 *\'*)
2556 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2557 esac
2558 case $ac_pass in
2559 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2560 2)
2561 as_fn_append ac_configure_args1 " '$ac_arg'"
2562 if test $ac_must_keep_next = true; then
2563 ac_must_keep_next=false # Got value, back to normal.
2564 else
2565 case $ac_arg in
2566 *=* | --config-cache | -C | -disable-* | --disable-* \
2567 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2568 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2569 | -with-* | --with-* | -without-* | --without-* | --x)
2570 case "$ac_configure_args0 " in
2571 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2572 esac
2573 ;;
2574 -* ) ac_must_keep_next=true ;;
2575 esac
2576 fi
2577 as_fn_append ac_configure_args " '$ac_arg'"
2578 ;;
2579 esac
2580 done
2581 done
2582 { ac_configure_args0=; unset ac_configure_args0;}
2583 { ac_configure_args1=; unset ac_configure_args1;}
2584
2585 # When interrupted or exit'd, cleanup temporary files, and complete
2586 # config.log. We remove comments because anyway the quotes in there
2587 # would cause problems or look ugly.
2588 # WARNING: Use '\'' to represent an apostrophe within the trap.
2589 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2590 trap 'exit_status=$?
2591 # Save into config.log some information that might help in debugging.
2592 {
2593 echo
2594
2595 cat <<\_ASBOX
2596 ## ---------------- ##
2597 ## Cache variables. ##
2598 ## ---------------- ##
2599 _ASBOX
2600 echo
2601 # The following way of writing the cache mishandles newlines in values,
2602 (
2603 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2604 eval ac_val=\$$ac_var
2605 case $ac_val in #(
2606 *${as_nl}*)
2607 case $ac_var in #(
2608 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2609 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2610 esac
2611 case $ac_var in #(
2612 _ | IFS | as_nl) ;; #(
2613 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2614 *) { eval $ac_var=; unset $ac_var;} ;;
2615 esac ;;
2616 esac
2617 done
2618 (set) 2>&1 |
2619 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2620 *${as_nl}ac_space=\ *)
2621 sed -n \
2622 "s/'\''/'\''\\\\'\'''\''/g;
2623 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2624 ;; #(
2625 *)
2626 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2627 ;;
2628 esac |
2629 sort
2630 )
2631 echo
2632
2633 cat <<\_ASBOX
2634 ## ----------------- ##
2635 ## Output variables. ##
2636 ## ----------------- ##
2637 _ASBOX
2638 echo
2639 for ac_var in $ac_subst_vars
2640 do
2641 eval ac_val=\$$ac_var
2642 case $ac_val in
2643 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2644 esac
2645 $as_echo "$ac_var='\''$ac_val'\''"
2646 done | sort
2647 echo
2648
2649 if test -n "$ac_subst_files"; then
2650 cat <<\_ASBOX
2651 ## ------------------- ##
2652 ## File substitutions. ##
2653 ## ------------------- ##
2654 _ASBOX
2655 echo
2656 for ac_var in $ac_subst_files
2657 do
2658 eval ac_val=\$$ac_var
2659 case $ac_val in
2660 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2661 esac
2662 $as_echo "$ac_var='\''$ac_val'\''"
2663 done | sort
2664 echo
2665 fi
2666
2667 if test -s confdefs.h; then
2668 cat <<\_ASBOX
2669 ## ----------- ##
2670 ## confdefs.h. ##
2671 ## ----------- ##
2672 _ASBOX
2673 echo
2674 cat confdefs.h
2675 echo
2676 fi
2677 test "$ac_signal" != 0 &&
2678 $as_echo "$as_me: caught signal $ac_signal"
2679 $as_echo "$as_me: exit $exit_status"
2680 } >&5
2681 rm -f core *.core core.conftest.* &&
2682 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2683 exit $exit_status
2684 ' 0
2685 for ac_signal in 1 2 13 15; do
2686 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2687 done
2688 ac_signal=0
2689
2690 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2691 rm -f -r conftest* confdefs.h
2692
2693 $as_echo "/* confdefs.h */" > confdefs.h
2694
2695 # Predefined preprocessor variables.
2696
2697 cat >>confdefs.h <<_ACEOF
2698 #define PACKAGE_NAME "$PACKAGE_NAME"
2699 _ACEOF
2700
2701 cat >>confdefs.h <<_ACEOF
2702 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2703 _ACEOF
2704
2705 cat >>confdefs.h <<_ACEOF
2706 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2707 _ACEOF
2708
2709 cat >>confdefs.h <<_ACEOF
2710 #define PACKAGE_STRING "$PACKAGE_STRING"
2711 _ACEOF
2712
2713 cat >>confdefs.h <<_ACEOF
2714 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2715 _ACEOF
2716
2717 cat >>confdefs.h <<_ACEOF
2718 #define PACKAGE_URL "$PACKAGE_URL"
2719 _ACEOF
2720
2721
2722 # Let the site file select an alternate cache file if it wants to.
2723 # Prefer an explicitly selected file to automatically selected ones.
2724 ac_site_file1=NONE
2725 ac_site_file2=NONE
2726 if test -n "$CONFIG_SITE"; then
2727 ac_site_file1=$CONFIG_SITE
2728 elif test "x$prefix" != xNONE; then
2729 ac_site_file1=$prefix/share/config.site
2730 ac_site_file2=$prefix/etc/config.site
2731 else
2732 ac_site_file1=$ac_default_prefix/share/config.site
2733 ac_site_file2=$ac_default_prefix/etc/config.site
2734 fi
2735 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2736 do
2737 test "x$ac_site_file" = xNONE && continue
2738 if test -r "$ac_site_file"; then
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2740 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2741 sed 's/^/| /' "$ac_site_file" >&5
2742 . "$ac_site_file"
2743 fi
2744 done
2745
2746 if test -r "$cache_file"; then
2747 # Some versions of bash will fail to source /dev/null (special
2748 # files actually), so we avoid doing that.
2749 if test -f "$cache_file"; then
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2751 $as_echo "$as_me: loading cache $cache_file" >&6;}
2752 case $cache_file in
2753 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2754 *) . "./$cache_file";;
2755 esac
2756 fi
2757 else
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2759 $as_echo "$as_me: creating cache $cache_file" >&6;}
2760 >$cache_file
2761 fi
2762
2763 # Check that the precious variables saved in the cache have kept the same
2764 # value.
2765 ac_cache_corrupted=false
2766 for ac_var in $ac_precious_vars; do
2767 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2768 eval ac_new_set=\$ac_env_${ac_var}_set
2769 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2770 eval ac_new_val=\$ac_env_${ac_var}_value
2771 case $ac_old_set,$ac_new_set in
2772 set,)
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2774 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2775 ac_cache_corrupted=: ;;
2776 ,set)
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2778 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2779 ac_cache_corrupted=: ;;
2780 ,);;
2781 *)
2782 if test "x$ac_old_val" != "x$ac_new_val"; then
2783 # differences in whitespace do not lead to failure.
2784 ac_old_val_w=`echo x $ac_old_val`
2785 ac_new_val_w=`echo x $ac_new_val`
2786 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2788 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2789 ac_cache_corrupted=:
2790 else
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2792 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2793 eval $ac_var=\$ac_old_val
2794 fi
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2796 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2798 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2799 fi;;
2800 esac
2801 # Pass precious variables to config.status.
2802 if test "$ac_new_set" = set; then
2803 case $ac_new_val in
2804 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2805 *) ac_arg=$ac_var=$ac_new_val ;;
2806 esac
2807 case " $ac_configure_args " in
2808 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2809 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2810 esac
2811 fi
2812 done
2813 if $ac_cache_corrupted; then
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2817 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2818 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2819 fi
2820 ## -------------------- ##
2821 ## Main body of script. ##
2822 ## -------------------- ##
2823
2824 ac_ext=c
2825 ac_cpp='$CPP $CPPFLAGS'
2826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2829
2830
2831
2832
2833
2834
2835 ac_config_headers="$ac_config_headers config.h"
2836
2837
2838 # This works around the fact that libtool configuration may change LD
2839 # for this particular configuration, but some shells, instead of
2840 # keeping the changes in LD private, export them just because LD is
2841 # exported. Only used at the end of this file.
2842 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2843
2844 # Find the rest of the source tree framework.
2845 # Default to --enable-multilib
2846 # Check whether --enable-multilib was given.
2847 if test "${enable_multilib+set}" = set; then :
2848 enableval=$enable_multilib; case "$enableval" in
2849 yes) multilib=yes ;;
2850 no) multilib=no ;;
2851 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2852 esac
2853 else
2854 multilib=yes
2855 fi
2856
2857
2858 # We may get other options which we leave undocumented:
2859 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2860 # See config-ml.in if you want the gory details.
2861
2862 if test "$srcdir" = "."; then
2863 if test "$with_target_subdir" != "."; then
2864 multi_basedir="$srcdir/$with_multisrctop../.."
2865 else
2866 multi_basedir="$srcdir/$with_multisrctop.."
2867 fi
2868 else
2869 multi_basedir="$srcdir/.."
2870 fi
2871
2872
2873 # Even if the default multilib is not a cross compilation,
2874 # it may be that some of the other multilibs are.
2875 if test $cross_compiling = no && test $multilib = yes \
2876 && test "x${with_multisubdir}" != x ; then
2877 cross_compiling=maybe
2878 fi
2879
2880 ac_config_commands="$ac_config_commands default-1"
2881
2882
2883 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2884 #
2885 # You will slowly go insane if you do not grok the following fact: when
2886 # building v3 as part of the compiler, the top-level /target/ becomes the
2887 # library's /host/. configure then causes --target to default to --host,
2888 # exactly like any other package using autoconf. Therefore, 'target' and
2889 # 'host' will always be the same. This makes sense both for native and
2890 # cross compilers, just think about it for a little while. :-)
2891 #
2892 # Also, if v3 is being configured as part of a cross compiler, the top-level
2893 # configure script will pass the "real" host as $with_cross_host.
2894 #
2895 # Do not delete or change the following two lines. For why, see
2896 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2897 ac_aux_dir=
2898 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2899 for ac_t in install-sh install.sh shtool; do
2900 if test -f "$ac_dir/$ac_t"; then
2901 ac_aux_dir=$ac_dir
2902 ac_install_sh="$ac_aux_dir/$ac_t -c"
2903 break 2
2904 fi
2905 done
2906 done
2907 if test -z "$ac_aux_dir"; then
2908 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2909 fi
2910
2911 # These three variables are undocumented and unsupported,
2912 # and are intended to be withdrawn in a future Autoconf release.
2913 # They can cause serious problems if a builder's source tree is in a directory
2914 # whose full name contains unusual characters.
2915 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2916 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2917 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2918
2919
2920 # Make sure we can run config.sub.
2921 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2922 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2923
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2925 $as_echo_n "checking build system type... " >&6; }
2926 if test "${ac_cv_build+set}" = set; then :
2927 $as_echo_n "(cached) " >&6
2928 else
2929 ac_build_alias=$build_alias
2930 test "x$ac_build_alias" = x &&
2931 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2932 test "x$ac_build_alias" = x &&
2933 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2934 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2935 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2936
2937 fi
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2939 $as_echo "$ac_cv_build" >&6; }
2940 case $ac_cv_build in
2941 *-*-*) ;;
2942 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2943 esac
2944 build=$ac_cv_build
2945 ac_save_IFS=$IFS; IFS='-'
2946 set x $ac_cv_build
2947 shift
2948 build_cpu=$1
2949 build_vendor=$2
2950 shift; shift
2951 # Remember, the first character of IFS is used to create $*,
2952 # except with old shells:
2953 build_os=$*
2954 IFS=$ac_save_IFS
2955 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2956
2957
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2959 $as_echo_n "checking host system type... " >&6; }
2960 if test "${ac_cv_host+set}" = set; then :
2961 $as_echo_n "(cached) " >&6
2962 else
2963 if test "x$host_alias" = x; then
2964 ac_cv_host=$ac_cv_build
2965 else
2966 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2967 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2968 fi
2969
2970 fi
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2972 $as_echo "$ac_cv_host" >&6; }
2973 case $ac_cv_host in
2974 *-*-*) ;;
2975 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2976 esac
2977 host=$ac_cv_host
2978 ac_save_IFS=$IFS; IFS='-'
2979 set x $ac_cv_host
2980 shift
2981 host_cpu=$1
2982 host_vendor=$2
2983 shift; shift
2984 # Remember, the first character of IFS is used to create $*,
2985 # except with old shells:
2986 host_os=$*
2987 IFS=$ac_save_IFS
2988 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2989
2990
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2992 $as_echo_n "checking target system type... " >&6; }
2993 if test "${ac_cv_target+set}" = set; then :
2994 $as_echo_n "(cached) " >&6
2995 else
2996 if test "x$target_alias" = x; then
2997 ac_cv_target=$ac_cv_host
2998 else
2999 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3000 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3001 fi
3002
3003 fi
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3005 $as_echo "$ac_cv_target" >&6; }
3006 case $ac_cv_target in
3007 *-*-*) ;;
3008 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3009 esac
3010 target=$ac_cv_target
3011 ac_save_IFS=$IFS; IFS='-'
3012 set x $ac_cv_target
3013 shift
3014 target_cpu=$1
3015 target_vendor=$2
3016 shift; shift
3017 # Remember, the first character of IFS is used to create $*,
3018 # except with old shells:
3019 target_os=$*
3020 IFS=$ac_save_IFS
3021 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3022
3023
3024 # The aliases save the names the user supplied, while $host etc.
3025 # will get canonicalized.
3026 test -n "$target_alias" &&
3027 test "$program_prefix$program_suffix$program_transform_name" = \
3028 NONENONEs,x,x, &&
3029 program_prefix=${target_alias}-
3030
3031 target_alias=${target_alias-$host_alias}
3032
3033 # Handy for debugging:
3034 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3035
3036 if test "$build" != "$host"; then
3037 # We are being configured with some form of cross compiler.
3038 GLIBCXX_IS_NATIVE=false
3039 case "$host","$target" in
3040 # Darwin crosses can use the host system's libraries and headers,
3041 # because of the fat library support. Of course, it must be the
3042 # same version of Darwin on both sides. Allow the user to
3043 # just say --target=foo-darwin without a version number to mean
3044 # "the version on this system".
3045 *-*-darwin*,*-*-darwin*)
3046 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3047 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3048 if test $hostos = $targetos -o $targetos = darwin ; then
3049 GLIBCXX_IS_NATIVE=true
3050 fi
3051 ;;
3052
3053 *)
3054
3055 ;;
3056 esac
3057 else
3058 GLIBCXX_IS_NATIVE=true
3059 fi
3060
3061 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3062 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3063 # 1.x: minimum required version
3064 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3065 # of other PACKAGE_* variables will, however, and there's nothing
3066 # we can do about that; they come from AC_INIT).
3067 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3068 # file in the top srcdir, etc, etc), so stop complaining.
3069 # no-dependencies: turns off auto dependency generation (just for now)
3070 # no-dist: we don't want 'dist' and related rules.
3071 # -Wall: turns on all automake warnings...
3072 # -Wno-portability: ...except this one, since GNU make is now required.
3073 am__api_version='1.11'
3074
3075 # Find a good install program. We prefer a C program (faster),
3076 # so one script is as good as another. But avoid the broken or
3077 # incompatible versions:
3078 # SysV /etc/install, /usr/sbin/install
3079 # SunOS /usr/etc/install
3080 # IRIX /sbin/install
3081 # AIX /bin/install
3082 # AmigaOS /C/install, which installs bootblocks on floppy discs
3083 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3084 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3085 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3086 # OS/2's system install, which has a completely different semantic
3087 # ./install, which can be erroneously created by make from ./install.sh.
3088 # Reject install programs that cannot install multiple files.
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3090 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3091 if test -z "$INSTALL"; then
3092 if test "${ac_cv_path_install+set}" = set; then :
3093 $as_echo_n "(cached) " >&6
3094 else
3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096 for as_dir in $PATH
3097 do
3098 IFS=$as_save_IFS
3099 test -z "$as_dir" && as_dir=.
3100 # Account for people who put trailing slashes in PATH elements.
3101 case $as_dir/ in #((
3102 ./ | .// | /[cC]/* | \
3103 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3104 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3105 /usr/ucb/* ) ;;
3106 *)
3107 # OSF1 and SCO ODT 3.0 have their own names for install.
3108 # Don't use installbsd from OSF since it installs stuff as root
3109 # by default.
3110 for ac_prog in ginstall scoinst install; do
3111 for ac_exec_ext in '' $ac_executable_extensions; do
3112 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3113 if test $ac_prog = install &&
3114 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3115 # AIX install. It has an incompatible calling convention.
3116 :
3117 elif test $ac_prog = install &&
3118 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3119 # program-specific install script used by HP pwplus--don't use.
3120 :
3121 else
3122 rm -rf conftest.one conftest.two conftest.dir
3123 echo one > conftest.one
3124 echo two > conftest.two
3125 mkdir conftest.dir
3126 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3127 test -s conftest.one && test -s conftest.two &&
3128 test -s conftest.dir/conftest.one &&
3129 test -s conftest.dir/conftest.two
3130 then
3131 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3132 break 3
3133 fi
3134 fi
3135 fi
3136 done
3137 done
3138 ;;
3139 esac
3140
3141 done
3142 IFS=$as_save_IFS
3143
3144 rm -rf conftest.one conftest.two conftest.dir
3145
3146 fi
3147 if test "${ac_cv_path_install+set}" = set; then
3148 INSTALL=$ac_cv_path_install
3149 else
3150 # As a last resort, use the slow shell script. Don't cache a
3151 # value for INSTALL within a source directory, because that will
3152 # break other packages using the cache if that directory is
3153 # removed, or if the value is a relative name.
3154 INSTALL=$ac_install_sh
3155 fi
3156 fi
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3158 $as_echo "$INSTALL" >&6; }
3159
3160 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3161 # It thinks the first close brace ends the variable substitution.
3162 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3163
3164 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3165
3166 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3167
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3169 $as_echo_n "checking whether build environment is sane... " >&6; }
3170 # Just in case
3171 sleep 1
3172 echo timestamp > conftest.file
3173 # Reject unsafe characters in $srcdir or the absolute working directory
3174 # name. Accept space and tab only in the latter.
3175 am_lf='
3176 '
3177 case `pwd` in
3178 *[\\\"\#\$\&\'\`$am_lf]*)
3179 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3180 esac
3181 case $srcdir in
3182 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3183 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3184 esac
3185
3186 # Do `set' in a subshell so we don't clobber the current shell's
3187 # arguments. Must try -L first in case configure is actually a
3188 # symlink; some systems play weird games with the mod time of symlinks
3189 # (eg FreeBSD returns the mod time of the symlink's containing
3190 # directory).
3191 if (
3192 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3193 if test "$*" = "X"; then
3194 # -L didn't work.
3195 set X `ls -t "$srcdir/configure" conftest.file`
3196 fi
3197 rm -f conftest.file
3198 if test "$*" != "X $srcdir/configure conftest.file" \
3199 && test "$*" != "X conftest.file $srcdir/configure"; then
3200
3201 # If neither matched, then we have a broken ls. This can happen
3202 # if, for instance, CONFIG_SHELL is bash and it inherits a
3203 # broken ls alias from the environment. This has actually
3204 # happened. Such a system could not be considered "sane".
3205 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3206 alias in your environment" "$LINENO" 5
3207 fi
3208
3209 test "$2" = conftest.file
3210 )
3211 then
3212 # Ok.
3213 :
3214 else
3215 as_fn_error "newly created file is older than distributed files!
3216 Check your system clock" "$LINENO" 5
3217 fi
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3219 $as_echo "yes" >&6; }
3220 test "$program_prefix" != NONE &&
3221 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3222 # Use a double $ so make ignores it.
3223 test "$program_suffix" != NONE &&
3224 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3225 # Double any \ or $.
3226 # By default was `s,x,x', remove it if useless.
3227 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3228 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3229
3230 # expand $ac_aux_dir to an absolute path
3231 am_aux_dir=`cd $ac_aux_dir && pwd`
3232
3233 if test x"${MISSING+set}" != xset; then
3234 case $am_aux_dir in
3235 *\ * | *\ *)
3236 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3237 *)
3238 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3239 esac
3240 fi
3241 # Use eval to expand $SHELL
3242 if eval "$MISSING --run true"; then
3243 am_missing_run="$MISSING --run "
3244 else
3245 am_missing_run=
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3247 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3248 fi
3249
3250 if test x"${install_sh}" != xset; then
3251 case $am_aux_dir in
3252 *\ * | *\ *)
3253 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3254 *)
3255 install_sh="\${SHELL} $am_aux_dir/install-sh"
3256 esac
3257 fi
3258
3259 # Installed binaries are usually stripped using `strip' when the user
3260 # run `make install-strip'. However `strip' might not be the right
3261 # tool to use in cross-compilation environments, therefore Automake
3262 # will honor the `STRIP' environment variable to overrule this program.
3263 if test "$cross_compiling" != no; then
3264 if test -n "$ac_tool_prefix"; then
3265 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3266 set dummy ${ac_tool_prefix}strip; ac_word=$2
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3268 $as_echo_n "checking for $ac_word... " >&6; }
3269 if test "${ac_cv_prog_STRIP+set}" = set; then :
3270 $as_echo_n "(cached) " >&6
3271 else
3272 if test -n "$STRIP"; then
3273 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3274 else
3275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276 for as_dir in $PATH
3277 do
3278 IFS=$as_save_IFS
3279 test -z "$as_dir" && as_dir=.
3280 for ac_exec_ext in '' $ac_executable_extensions; do
3281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3282 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3284 break 2
3285 fi
3286 done
3287 done
3288 IFS=$as_save_IFS
3289
3290 fi
3291 fi
3292 STRIP=$ac_cv_prog_STRIP
3293 if test -n "$STRIP"; then
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3295 $as_echo "$STRIP" >&6; }
3296 else
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3298 $as_echo "no" >&6; }
3299 fi
3300
3301
3302 fi
3303 if test -z "$ac_cv_prog_STRIP"; then
3304 ac_ct_STRIP=$STRIP
3305 # Extract the first word of "strip", so it can be a program name with args.
3306 set dummy strip; ac_word=$2
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3308 $as_echo_n "checking for $ac_word... " >&6; }
3309 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3310 $as_echo_n "(cached) " >&6
3311 else
3312 if test -n "$ac_ct_STRIP"; then
3313 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3314 else
3315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3316 for as_dir in $PATH
3317 do
3318 IFS=$as_save_IFS
3319 test -z "$as_dir" && as_dir=.
3320 for ac_exec_ext in '' $ac_executable_extensions; do
3321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3322 ac_cv_prog_ac_ct_STRIP="strip"
3323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3324 break 2
3325 fi
3326 done
3327 done
3328 IFS=$as_save_IFS
3329
3330 fi
3331 fi
3332 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3333 if test -n "$ac_ct_STRIP"; then
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3335 $as_echo "$ac_ct_STRIP" >&6; }
3336 else
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3338 $as_echo "no" >&6; }
3339 fi
3340
3341 if test "x$ac_ct_STRIP" = x; then
3342 STRIP=":"
3343 else
3344 case $cross_compiling:$ac_tool_warned in
3345 yes:)
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3347 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3348 ac_tool_warned=yes ;;
3349 esac
3350 STRIP=$ac_ct_STRIP
3351 fi
3352 else
3353 STRIP="$ac_cv_prog_STRIP"
3354 fi
3355
3356 fi
3357 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3358
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3360 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3361 if test -z "$MKDIR_P"; then
3362 if test "${ac_cv_path_mkdir+set}" = set; then :
3363 $as_echo_n "(cached) " >&6
3364 else
3365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3367 do
3368 IFS=$as_save_IFS
3369 test -z "$as_dir" && as_dir=.
3370 for ac_prog in mkdir gmkdir; do
3371 for ac_exec_ext in '' $ac_executable_extensions; do
3372 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3373 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3374 'mkdir (GNU coreutils) '* | \
3375 'mkdir (coreutils) '* | \
3376 'mkdir (fileutils) '4.1*)
3377 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3378 break 3;;
3379 esac
3380 done
3381 done
3382 done
3383 IFS=$as_save_IFS
3384
3385 fi
3386
3387 if test "${ac_cv_path_mkdir+set}" = set; then
3388 MKDIR_P="$ac_cv_path_mkdir -p"
3389 else
3390 # As a last resort, use the slow shell script. Don't cache a
3391 # value for MKDIR_P within a source directory, because that will
3392 # break other packages using the cache if that directory is
3393 # removed, or if the value is a relative name.
3394 test -d ./--version && rmdir ./--version
3395 MKDIR_P="$ac_install_sh -d"
3396 fi
3397 fi
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3399 $as_echo "$MKDIR_P" >&6; }
3400
3401 mkdir_p="$MKDIR_P"
3402 case $mkdir_p in
3403 [\\/$]* | ?:[\\/]*) ;;
3404 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3405 esac
3406
3407 for ac_prog in gawk mawk nawk awk
3408 do
3409 # Extract the first word of "$ac_prog", so it can be a program name with args.
3410 set dummy $ac_prog; ac_word=$2
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3412 $as_echo_n "checking for $ac_word... " >&6; }
3413 if test "${ac_cv_prog_AWK+set}" = set; then :
3414 $as_echo_n "(cached) " >&6
3415 else
3416 if test -n "$AWK"; then
3417 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3418 else
3419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3420 for as_dir in $PATH
3421 do
3422 IFS=$as_save_IFS
3423 test -z "$as_dir" && as_dir=.
3424 for ac_exec_ext in '' $ac_executable_extensions; do
3425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3426 ac_cv_prog_AWK="$ac_prog"
3427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3428 break 2
3429 fi
3430 done
3431 done
3432 IFS=$as_save_IFS
3433
3434 fi
3435 fi
3436 AWK=$ac_cv_prog_AWK
3437 if test -n "$AWK"; then
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3439 $as_echo "$AWK" >&6; }
3440 else
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3442 $as_echo "no" >&6; }
3443 fi
3444
3445
3446 test -n "$AWK" && break
3447 done
3448
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3450 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3451 set x ${MAKE-make}
3452 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3453 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3454 $as_echo_n "(cached) " >&6
3455 else
3456 cat >conftest.make <<\_ACEOF
3457 SHELL = /bin/sh
3458 all:
3459 @echo '@@@%%%=$(MAKE)=@@@%%%'
3460 _ACEOF
3461 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3462 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3463 *@@@%%%=?*=@@@%%%*)
3464 eval ac_cv_prog_make_${ac_make}_set=yes;;
3465 *)
3466 eval ac_cv_prog_make_${ac_make}_set=no;;
3467 esac
3468 rm -f conftest.make
3469 fi
3470 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3472 $as_echo "yes" >&6; }
3473 SET_MAKE=
3474 else
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3476 $as_echo "no" >&6; }
3477 SET_MAKE="MAKE=${MAKE-make}"
3478 fi
3479
3480 rm -rf .tst 2>/dev/null
3481 mkdir .tst 2>/dev/null
3482 if test -d .tst; then
3483 am__leading_dot=.
3484 else
3485 am__leading_dot=_
3486 fi
3487 rmdir .tst 2>/dev/null
3488
3489 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3490 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3491 # is not polluted with repeated "-I."
3492 am__isrc=' -I$(srcdir)'
3493 # test to see if srcdir already configured
3494 if test -f $srcdir/config.status; then
3495 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3496 fi
3497 fi
3498
3499 # test whether we have cygpath
3500 if test -z "$CYGPATH_W"; then
3501 if (cygpath --version) >/dev/null 2>/dev/null; then
3502 CYGPATH_W='cygpath -w'
3503 else
3504 CYGPATH_W=echo
3505 fi
3506 fi
3507
3508
3509 # Define the identity of the package.
3510 PACKAGE='libstdc++'
3511 VERSION='version-unused'
3512
3513
3514 # Some tools Automake needs.
3515
3516 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3517
3518
3519 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3520
3521
3522 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3523
3524
3525 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3526
3527
3528 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3529
3530 # We need awk for the "check" target. The system "awk" is bad on
3531 # some platforms.
3532 # Always define AMTAR for backward compatibility.
3533
3534 AMTAR=${AMTAR-"${am_missing_run}tar"}
3535
3536 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3537
3538
3539
3540
3541
3542
3543
3544
3545 # -fno-builtin must be present here so that a non-conflicting form of
3546 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3547
3548 save_CXXFLAGS="$CXXFLAGS"
3549 CXXFLAGS="$CXXFLAGS -fno-builtin"
3550 ac_ext=c
3551 ac_cpp='$CPP $CPPFLAGS'
3552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3555 if test -n "$ac_tool_prefix"; then
3556 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3557 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3559 $as_echo_n "checking for $ac_word... " >&6; }
3560 if test "${ac_cv_prog_CC+set}" = set; then :
3561 $as_echo_n "(cached) " >&6
3562 else
3563 if test -n "$CC"; then
3564 ac_cv_prog_CC="$CC" # Let the user override the test.
3565 else
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3567 for as_dir in $PATH
3568 do
3569 IFS=$as_save_IFS
3570 test -z "$as_dir" && as_dir=.
3571 for ac_exec_ext in '' $ac_executable_extensions; do
3572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3573 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3575 break 2
3576 fi
3577 done
3578 done
3579 IFS=$as_save_IFS
3580
3581 fi
3582 fi
3583 CC=$ac_cv_prog_CC
3584 if test -n "$CC"; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3586 $as_echo "$CC" >&6; }
3587 else
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589 $as_echo "no" >&6; }
3590 fi
3591
3592
3593 fi
3594 if test -z "$ac_cv_prog_CC"; then
3595 ac_ct_CC=$CC
3596 # Extract the first word of "gcc", so it can be a program name with args.
3597 set dummy gcc; ac_word=$2
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3599 $as_echo_n "checking for $ac_word... " >&6; }
3600 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3601 $as_echo_n "(cached) " >&6
3602 else
3603 if test -n "$ac_ct_CC"; then
3604 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3605 else
3606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3607 for as_dir in $PATH
3608 do
3609 IFS=$as_save_IFS
3610 test -z "$as_dir" && as_dir=.
3611 for ac_exec_ext in '' $ac_executable_extensions; do
3612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3613 ac_cv_prog_ac_ct_CC="gcc"
3614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3615 break 2
3616 fi
3617 done
3618 done
3619 IFS=$as_save_IFS
3620
3621 fi
3622 fi
3623 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3624 if test -n "$ac_ct_CC"; then
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3626 $as_echo "$ac_ct_CC" >&6; }
3627 else
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3630 fi
3631
3632 if test "x$ac_ct_CC" = x; then
3633 CC=""
3634 else
3635 case $cross_compiling:$ac_tool_warned in
3636 yes:)
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3639 ac_tool_warned=yes ;;
3640 esac
3641 CC=$ac_ct_CC
3642 fi
3643 else
3644 CC="$ac_cv_prog_CC"
3645 fi
3646
3647 if test -z "$CC"; then
3648 if test -n "$ac_tool_prefix"; then
3649 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3650 set dummy ${ac_tool_prefix}cc; ac_word=$2
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if test "${ac_cv_prog_CC+set}" = set; then :
3654 $as_echo_n "(cached) " >&6
3655 else
3656 if test -n "$CC"; then
3657 ac_cv_prog_CC="$CC" # Let the user override the test.
3658 else
3659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3660 for as_dir in $PATH
3661 do
3662 IFS=$as_save_IFS
3663 test -z "$as_dir" && as_dir=.
3664 for ac_exec_ext in '' $ac_executable_extensions; do
3665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3666 ac_cv_prog_CC="${ac_tool_prefix}cc"
3667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3668 break 2
3669 fi
3670 done
3671 done
3672 IFS=$as_save_IFS
3673
3674 fi
3675 fi
3676 CC=$ac_cv_prog_CC
3677 if test -n "$CC"; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3679 $as_echo "$CC" >&6; }
3680 else
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3682 $as_echo "no" >&6; }
3683 fi
3684
3685
3686 fi
3687 fi
3688 if test -z "$CC"; then
3689 # Extract the first word of "cc", so it can be a program name with args.
3690 set dummy cc; ac_word=$2
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3692 $as_echo_n "checking for $ac_word... " >&6; }
3693 if test "${ac_cv_prog_CC+set}" = set; then :
3694 $as_echo_n "(cached) " >&6
3695 else
3696 if test -n "$CC"; then
3697 ac_cv_prog_CC="$CC" # Let the user override the test.
3698 else
3699 ac_prog_rejected=no
3700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3701 for as_dir in $PATH
3702 do
3703 IFS=$as_save_IFS
3704 test -z "$as_dir" && as_dir=.
3705 for ac_exec_ext in '' $ac_executable_extensions; do
3706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3707 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3708 ac_prog_rejected=yes
3709 continue
3710 fi
3711 ac_cv_prog_CC="cc"
3712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3713 break 2
3714 fi
3715 done
3716 done
3717 IFS=$as_save_IFS
3718
3719 if test $ac_prog_rejected = yes; then
3720 # We found a bogon in the path, so make sure we never use it.
3721 set dummy $ac_cv_prog_CC
3722 shift
3723 if test $# != 0; then
3724 # We chose a different compiler from the bogus one.
3725 # However, it has the same basename, so the bogon will be chosen
3726 # first if we set CC to just the basename; use the full file name.
3727 shift
3728 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3729 fi
3730 fi
3731 fi
3732 fi
3733 CC=$ac_cv_prog_CC
3734 if test -n "$CC"; then
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3736 $as_echo "$CC" >&6; }
3737 else
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3739 $as_echo "no" >&6; }
3740 fi
3741
3742
3743 fi
3744 if test -z "$CC"; then
3745 if test -n "$ac_tool_prefix"; then
3746 for ac_prog in cl.exe
3747 do
3748 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3749 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3751 $as_echo_n "checking for $ac_word... " >&6; }
3752 if test "${ac_cv_prog_CC+set}" = set; then :
3753 $as_echo_n "(cached) " >&6
3754 else
3755 if test -n "$CC"; then
3756 ac_cv_prog_CC="$CC" # Let the user override the test.
3757 else
3758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3759 for as_dir in $PATH
3760 do
3761 IFS=$as_save_IFS
3762 test -z "$as_dir" && as_dir=.
3763 for ac_exec_ext in '' $ac_executable_extensions; do
3764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3765 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3767 break 2
3768 fi
3769 done
3770 done
3771 IFS=$as_save_IFS
3772
3773 fi
3774 fi
3775 CC=$ac_cv_prog_CC
3776 if test -n "$CC"; then
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3778 $as_echo "$CC" >&6; }
3779 else
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3781 $as_echo "no" >&6; }
3782 fi
3783
3784
3785 test -n "$CC" && break
3786 done
3787 fi
3788 if test -z "$CC"; then
3789 ac_ct_CC=$CC
3790 for ac_prog in cl.exe
3791 do
3792 # Extract the first word of "$ac_prog", so it can be a program name with args.
3793 set dummy $ac_prog; ac_word=$2
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3795 $as_echo_n "checking for $ac_word... " >&6; }
3796 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3797 $as_echo_n "(cached) " >&6
3798 else
3799 if test -n "$ac_ct_CC"; then
3800 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3801 else
3802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3803 for as_dir in $PATH
3804 do
3805 IFS=$as_save_IFS
3806 test -z "$as_dir" && as_dir=.
3807 for ac_exec_ext in '' $ac_executable_extensions; do
3808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3809 ac_cv_prog_ac_ct_CC="$ac_prog"
3810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3811 break 2
3812 fi
3813 done
3814 done
3815 IFS=$as_save_IFS
3816
3817 fi
3818 fi
3819 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3820 if test -n "$ac_ct_CC"; then
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3822 $as_echo "$ac_ct_CC" >&6; }
3823 else
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3825 $as_echo "no" >&6; }
3826 fi
3827
3828
3829 test -n "$ac_ct_CC" && break
3830 done
3831
3832 if test "x$ac_ct_CC" = x; then
3833 CC=""
3834 else
3835 case $cross_compiling:$ac_tool_warned in
3836 yes:)
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3838 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3839 ac_tool_warned=yes ;;
3840 esac
3841 CC=$ac_ct_CC
3842 fi
3843 fi
3844
3845 fi
3846
3847
3848 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3850 as_fn_error "no acceptable C compiler found in \$PATH
3851 See \`config.log' for more details." "$LINENO" 5; }
3852
3853 # Provide some information about the compiler.
3854 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3855 set X $ac_compile
3856 ac_compiler=$2
3857 for ac_option in --version -v -V -qversion; do
3858 { { ac_try="$ac_compiler $ac_option >&5"
3859 case "(($ac_try" in
3860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3861 *) ac_try_echo=$ac_try;;
3862 esac
3863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3864 $as_echo "$ac_try_echo"; } >&5
3865 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3866 ac_status=$?
3867 if test -s conftest.err; then
3868 sed '10a\
3869 ... rest of stderr output deleted ...
3870 10q' conftest.err >conftest.er1
3871 cat conftest.er1 >&5
3872 rm -f conftest.er1 conftest.err
3873 fi
3874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3875 test $ac_status = 0; }
3876 done
3877
3878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3879 /* end confdefs.h. */
3880
3881 int
3882 main ()
3883 {
3884
3885 ;
3886 return 0;
3887 }
3888 _ACEOF
3889 # FIXME: Cleanup?
3890 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3891 (eval $ac_link) 2>&5
3892 ac_status=$?
3893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3894 test $ac_status = 0; }; then :
3895 gcc_no_link=no
3896 else
3897 gcc_no_link=yes
3898 fi
3899 if test x$gcc_no_link = xyes; then
3900 # Setting cross_compile will disable run tests; it will
3901 # also disable AC_CHECK_FILE but that's generally
3902 # correct if we can't link.
3903 cross_compiling=yes
3904 EXEEXT=
3905 else
3906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3907 /* end confdefs.h. */
3908
3909 int
3910 main ()
3911 {
3912
3913 ;
3914 return 0;
3915 }
3916 _ACEOF
3917 ac_clean_files_save=$ac_clean_files
3918 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3919 # Try to create an executable without -o first, disregard a.out.
3920 # It will help us diagnose broken compilers, and finding out an intuition
3921 # of exeext.
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3923 $as_echo_n "checking for C compiler default output file name... " >&6; }
3924 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3925
3926 # The possible output files:
3927 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3928
3929 ac_rmfiles=
3930 for ac_file in $ac_files
3931 do
3932 case $ac_file in
3933 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3934 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3935 esac
3936 done
3937 rm -f $ac_rmfiles
3938
3939 if { { ac_try="$ac_link_default"
3940 case "(($ac_try" in
3941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3942 *) ac_try_echo=$ac_try;;
3943 esac
3944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3945 $as_echo "$ac_try_echo"; } >&5
3946 (eval "$ac_link_default") 2>&5
3947 ac_status=$?
3948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3949 test $ac_status = 0; }; then :
3950 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3951 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3952 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3953 # so that the user can short-circuit this test for compilers unknown to
3954 # Autoconf.
3955 for ac_file in $ac_files ''
3956 do
3957 test -f "$ac_file" || continue
3958 case $ac_file in
3959 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3960 ;;
3961 [ab].out )
3962 # We found the default executable, but exeext='' is most
3963 # certainly right.
3964 break;;
3965 *.* )
3966 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3967 then :; else
3968 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3969 fi
3970 # We set ac_cv_exeext here because the later test for it is not
3971 # safe: cross compilers may not add the suffix if given an `-o'
3972 # argument, so we may need to know it at that point already.
3973 # Even if this section looks crufty: it has the advantage of
3974 # actually working.
3975 break;;
3976 * )
3977 break;;
3978 esac
3979 done
3980 test "$ac_cv_exeext" = no && ac_cv_exeext=
3981
3982 else
3983 ac_file=''
3984 fi
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3986 $as_echo "$ac_file" >&6; }
3987 if test -z "$ac_file"; then :
3988 $as_echo "$as_me: failed program was:" >&5
3989 sed 's/^/| /' conftest.$ac_ext >&5
3990
3991 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3993 { as_fn_set_status 77
3994 as_fn_error "C compiler cannot create executables
3995 See \`config.log' for more details." "$LINENO" 5; }; }
3996 fi
3997 ac_exeext=$ac_cv_exeext
3998
3999 # Check that the compiler produces executables we can run. If not, either
4000 # the compiler is broken, or we cross compile.
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4002 $as_echo_n "checking whether the C compiler works... " >&6; }
4003 # If not cross compiling, check that we can run a simple program.
4004 if test "$cross_compiling" != yes; then
4005 if { ac_try='./$ac_file'
4006 { { case "(($ac_try" in
4007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4008 *) ac_try_echo=$ac_try;;
4009 esac
4010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4011 $as_echo "$ac_try_echo"; } >&5
4012 (eval "$ac_try") 2>&5
4013 ac_status=$?
4014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4015 test $ac_status = 0; }; }; then
4016 cross_compiling=no
4017 else
4018 if test "$cross_compiling" = maybe; then
4019 cross_compiling=yes
4020 else
4021 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4023 as_fn_error "cannot run C compiled programs.
4024 If you meant to cross compile, use \`--host'.
4025 See \`config.log' for more details." "$LINENO" 5; }
4026 fi
4027 fi
4028 fi
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4030 $as_echo "yes" >&6; }
4031
4032 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4033 ac_clean_files=$ac_clean_files_save
4034 # Check that the compiler produces executables we can run. If not, either
4035 # the compiler is broken, or we cross compile.
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4037 $as_echo_n "checking whether we are cross compiling... " >&6; }
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4039 $as_echo "$cross_compiling" >&6; }
4040
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4042 $as_echo_n "checking for suffix of executables... " >&6; }
4043 if { { ac_try="$ac_link"
4044 case "(($ac_try" in
4045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4046 *) ac_try_echo=$ac_try;;
4047 esac
4048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4049 $as_echo "$ac_try_echo"; } >&5
4050 (eval "$ac_link") 2>&5
4051 ac_status=$?
4052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4053 test $ac_status = 0; }; then :
4054 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4055 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4056 # work properly (i.e., refer to `conftest.exe'), while it won't with
4057 # `rm'.
4058 for ac_file in conftest.exe conftest conftest.*; do
4059 test -f "$ac_file" || continue
4060 case $ac_file in
4061 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4062 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4063 break;;
4064 * ) break;;
4065 esac
4066 done
4067 else
4068 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4070 as_fn_error "cannot compute suffix of executables: cannot compile and link
4071 See \`config.log' for more details." "$LINENO" 5; }
4072 fi
4073 rm -f conftest$ac_cv_exeext
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4075 $as_echo "$ac_cv_exeext" >&6; }
4076
4077 rm -f conftest.$ac_ext
4078 EXEEXT=$ac_cv_exeext
4079 ac_exeext=$EXEEXT
4080 fi
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4082 $as_echo_n "checking for suffix of object files... " >&6; }
4083 if test "${ac_cv_objext+set}" = set; then :
4084 $as_echo_n "(cached) " >&6
4085 else
4086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4087 /* end confdefs.h. */
4088
4089 int
4090 main ()
4091 {
4092
4093 ;
4094 return 0;
4095 }
4096 _ACEOF
4097 rm -f conftest.o conftest.obj
4098 if { { ac_try="$ac_compile"
4099 case "(($ac_try" in
4100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4101 *) ac_try_echo=$ac_try;;
4102 esac
4103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4104 $as_echo "$ac_try_echo"; } >&5
4105 (eval "$ac_compile") 2>&5
4106 ac_status=$?
4107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4108 test $ac_status = 0; }; then :
4109 for ac_file in conftest.o conftest.obj conftest.*; do
4110 test -f "$ac_file" || continue;
4111 case $ac_file in
4112 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4113 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4114 break;;
4115 esac
4116 done
4117 else
4118 $as_echo "$as_me: failed program was:" >&5
4119 sed 's/^/| /' conftest.$ac_ext >&5
4120
4121 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4123 as_fn_error "cannot compute suffix of object files: cannot compile
4124 See \`config.log' for more details." "$LINENO" 5; }
4125 fi
4126 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4127 fi
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4129 $as_echo "$ac_cv_objext" >&6; }
4130 OBJEXT=$ac_cv_objext
4131 ac_objext=$OBJEXT
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4133 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4134 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4135 $as_echo_n "(cached) " >&6
4136 else
4137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4139
4140 int
4141 main ()
4142 {
4143 #ifndef __GNUC__
4144 choke me
4145 #endif
4146
4147 ;
4148 return 0;
4149 }
4150 _ACEOF
4151 if ac_fn_c_try_compile "$LINENO"; then :
4152 ac_compiler_gnu=yes
4153 else
4154 ac_compiler_gnu=no
4155 fi
4156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4157 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4158
4159 fi
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4161 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4162 if test $ac_compiler_gnu = yes; then
4163 GCC=yes
4164 else
4165 GCC=
4166 fi
4167 ac_test_CFLAGS=${CFLAGS+set}
4168 ac_save_CFLAGS=$CFLAGS
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4170 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4171 if test "${ac_cv_prog_cc_g+set}" = set; then :
4172 $as_echo_n "(cached) " >&6
4173 else
4174 ac_save_c_werror_flag=$ac_c_werror_flag
4175 ac_c_werror_flag=yes
4176 ac_cv_prog_cc_g=no
4177 CFLAGS="-g"
4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 /* end confdefs.h. */
4180
4181 int
4182 main ()
4183 {
4184
4185 ;
4186 return 0;
4187 }
4188 _ACEOF
4189 if ac_fn_c_try_compile "$LINENO"; then :
4190 ac_cv_prog_cc_g=yes
4191 else
4192 CFLAGS=""
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4195
4196 int
4197 main ()
4198 {
4199
4200 ;
4201 return 0;
4202 }
4203 _ACEOF
4204 if ac_fn_c_try_compile "$LINENO"; then :
4205
4206 else
4207 ac_c_werror_flag=$ac_save_c_werror_flag
4208 CFLAGS="-g"
4209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4210 /* end confdefs.h. */
4211
4212 int
4213 main ()
4214 {
4215
4216 ;
4217 return 0;
4218 }
4219 _ACEOF
4220 if ac_fn_c_try_compile "$LINENO"; then :
4221 ac_cv_prog_cc_g=yes
4222 fi
4223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224 fi
4225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 fi
4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4228 ac_c_werror_flag=$ac_save_c_werror_flag
4229 fi
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4231 $as_echo "$ac_cv_prog_cc_g" >&6; }
4232 if test "$ac_test_CFLAGS" = set; then
4233 CFLAGS=$ac_save_CFLAGS
4234 elif test $ac_cv_prog_cc_g = yes; then
4235 if test "$GCC" = yes; then
4236 CFLAGS="-g -O2"
4237 else
4238 CFLAGS="-g"
4239 fi
4240 else
4241 if test "$GCC" = yes; then
4242 CFLAGS="-O2"
4243 else
4244 CFLAGS=
4245 fi
4246 fi
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4248 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4249 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4250 $as_echo_n "(cached) " >&6
4251 else
4252 ac_cv_prog_cc_c89=no
4253 ac_save_CC=$CC
4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4255 /* end confdefs.h. */
4256 #include <stdarg.h>
4257 #include <stdio.h>
4258 #include <sys/types.h>
4259 #include <sys/stat.h>
4260 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4261 struct buf { int x; };
4262 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4263 static char *e (p, i)
4264 char **p;
4265 int i;
4266 {
4267 return p[i];
4268 }
4269 static char *f (char * (*g) (char **, int), char **p, ...)
4270 {
4271 char *s;
4272 va_list v;
4273 va_start (v,p);
4274 s = g (p, va_arg (v,int));
4275 va_end (v);
4276 return s;
4277 }
4278
4279 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4280 function prototypes and stuff, but not '\xHH' hex character constants.
4281 These don't provoke an error unfortunately, instead are silently treated
4282 as 'x'. The following induces an error, until -std is added to get
4283 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4284 array size at least. It's necessary to write '\x00'==0 to get something
4285 that's true only with -std. */
4286 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4287
4288 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4289 inside strings and character constants. */
4290 #define FOO(x) 'x'
4291 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4292
4293 int test (int i, double x);
4294 struct s1 {int (*f) (int a);};
4295 struct s2 {int (*f) (double a);};
4296 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4297 int argc;
4298 char **argv;
4299 int
4300 main ()
4301 {
4302 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4303 ;
4304 return 0;
4305 }
4306 _ACEOF
4307 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4308 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4309 do
4310 CC="$ac_save_CC $ac_arg"
4311 if ac_fn_c_try_compile "$LINENO"; then :
4312 ac_cv_prog_cc_c89=$ac_arg
4313 fi
4314 rm -f core conftest.err conftest.$ac_objext
4315 test "x$ac_cv_prog_cc_c89" != "xno" && break
4316 done
4317 rm -f conftest.$ac_ext
4318 CC=$ac_save_CC
4319
4320 fi
4321 # AC_CACHE_VAL
4322 case "x$ac_cv_prog_cc_c89" in
4323 x)
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4325 $as_echo "none needed" >&6; } ;;
4326 xno)
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4328 $as_echo "unsupported" >&6; } ;;
4329 *)
4330 CC="$CC $ac_cv_prog_cc_c89"
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4332 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4333 esac
4334 if test "x$ac_cv_prog_cc_c89" != xno; then :
4335
4336 fi
4337
4338 ac_ext=c
4339 ac_cpp='$CPP $CPPFLAGS'
4340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4343
4344 ac_ext=cpp
4345 ac_cpp='$CXXCPP $CPPFLAGS'
4346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4349 if test -z "$CXX"; then
4350 if test -n "$CCC"; then
4351 CXX=$CCC
4352 else
4353 if test -n "$ac_tool_prefix"; then
4354 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4355 do
4356 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4357 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4359 $as_echo_n "checking for $ac_word... " >&6; }
4360 if test "${ac_cv_prog_CXX+set}" = set; then :
4361 $as_echo_n "(cached) " >&6
4362 else
4363 if test -n "$CXX"; then
4364 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4365 else
4366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4367 for as_dir in $PATH
4368 do
4369 IFS=$as_save_IFS
4370 test -z "$as_dir" && as_dir=.
4371 for ac_exec_ext in '' $ac_executable_extensions; do
4372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4373 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4375 break 2
4376 fi
4377 done
4378 done
4379 IFS=$as_save_IFS
4380
4381 fi
4382 fi
4383 CXX=$ac_cv_prog_CXX
4384 if test -n "$CXX"; then
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4386 $as_echo "$CXX" >&6; }
4387 else
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4389 $as_echo "no" >&6; }
4390 fi
4391
4392
4393 test -n "$CXX" && break
4394 done
4395 fi
4396 if test -z "$CXX"; then
4397 ac_ct_CXX=$CXX
4398 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4399 do
4400 # Extract the first word of "$ac_prog", so it can be a program name with args.
4401 set dummy $ac_prog; ac_word=$2
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4403 $as_echo_n "checking for $ac_word... " >&6; }
4404 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4405 $as_echo_n "(cached) " >&6
4406 else
4407 if test -n "$ac_ct_CXX"; then
4408 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4409 else
4410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4411 for as_dir in $PATH
4412 do
4413 IFS=$as_save_IFS
4414 test -z "$as_dir" && as_dir=.
4415 for ac_exec_ext in '' $ac_executable_extensions; do
4416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4417 ac_cv_prog_ac_ct_CXX="$ac_prog"
4418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4419 break 2
4420 fi
4421 done
4422 done
4423 IFS=$as_save_IFS
4424
4425 fi
4426 fi
4427 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4428 if test -n "$ac_ct_CXX"; then
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4430 $as_echo "$ac_ct_CXX" >&6; }
4431 else
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4433 $as_echo "no" >&6; }
4434 fi
4435
4436
4437 test -n "$ac_ct_CXX" && break
4438 done
4439
4440 if test "x$ac_ct_CXX" = x; then
4441 CXX="g++"
4442 else
4443 case $cross_compiling:$ac_tool_warned in
4444 yes:)
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4447 ac_tool_warned=yes ;;
4448 esac
4449 CXX=$ac_ct_CXX
4450 fi
4451 fi
4452
4453 fi
4454 fi
4455 # Provide some information about the compiler.
4456 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4457 set X $ac_compile
4458 ac_compiler=$2
4459 for ac_option in --version -v -V -qversion; do
4460 { { ac_try="$ac_compiler $ac_option >&5"
4461 case "(($ac_try" in
4462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4463 *) ac_try_echo=$ac_try;;
4464 esac
4465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4466 $as_echo "$ac_try_echo"; } >&5
4467 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4468 ac_status=$?
4469 if test -s conftest.err; then
4470 sed '10a\
4471 ... rest of stderr output deleted ...
4472 10q' conftest.err >conftest.er1
4473 cat conftest.er1 >&5
4474 rm -f conftest.er1 conftest.err
4475 fi
4476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4477 test $ac_status = 0; }
4478 done
4479
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4481 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4482 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4486 /* end confdefs.h. */
4487
4488 int
4489 main ()
4490 {
4491 #ifndef __GNUC__
4492 choke me
4493 #endif
4494
4495 ;
4496 return 0;
4497 }
4498 _ACEOF
4499 if ac_fn_cxx_try_compile "$LINENO"; then :
4500 ac_compiler_gnu=yes
4501 else
4502 ac_compiler_gnu=no
4503 fi
4504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4505 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4506
4507 fi
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4509 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4510 if test $ac_compiler_gnu = yes; then
4511 GXX=yes
4512 else
4513 GXX=
4514 fi
4515 ac_test_CXXFLAGS=${CXXFLAGS+set}
4516 ac_save_CXXFLAGS=$CXXFLAGS
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4518 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4519 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4520 $as_echo_n "(cached) " >&6
4521 else
4522 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4523 ac_cxx_werror_flag=yes
4524 ac_cv_prog_cxx_g=no
4525 CXXFLAGS="-g"
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4528
4529 int
4530 main ()
4531 {
4532
4533 ;
4534 return 0;
4535 }
4536 _ACEOF
4537 if ac_fn_cxx_try_compile "$LINENO"; then :
4538 ac_cv_prog_cxx_g=yes
4539 else
4540 CXXFLAGS=""
4541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h. */
4543
4544 int
4545 main ()
4546 {
4547
4548 ;
4549 return 0;
4550 }
4551 _ACEOF
4552 if ac_fn_cxx_try_compile "$LINENO"; then :
4553
4554 else
4555 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4556 CXXFLAGS="-g"
4557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4559
4560 int
4561 main ()
4562 {
4563
4564 ;
4565 return 0;
4566 }
4567 _ACEOF
4568 if ac_fn_cxx_try_compile "$LINENO"; then :
4569 ac_cv_prog_cxx_g=yes
4570 fi
4571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572 fi
4573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4574 fi
4575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4576 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4577 fi
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4579 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4580 if test "$ac_test_CXXFLAGS" = set; then
4581 CXXFLAGS=$ac_save_CXXFLAGS
4582 elif test $ac_cv_prog_cxx_g = yes; then
4583 if test "$GXX" = yes; then
4584 CXXFLAGS="-g -O2"
4585 else
4586 CXXFLAGS="-g"
4587 fi
4588 else
4589 if test "$GXX" = yes; then
4590 CXXFLAGS="-O2"
4591 else
4592 CXXFLAGS=
4593 fi
4594 fi
4595 ac_ext=c
4596 ac_cpp='$CPP $CPPFLAGS'
4597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4600
4601 CXXFLAGS="$save_CXXFLAGS"
4602
4603 # Runs configure.host, and assorted other critical bits. Sets
4604 # up critical shell variables.
4605
4606 ac_ext=c
4607 ac_cpp='$CPP $CPPFLAGS'
4608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4612 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4613 # On Suns, sometimes $CPP names a directory.
4614 if test -n "$CPP" && test -d "$CPP"; then
4615 CPP=
4616 fi
4617 if test -z "$CPP"; then
4618 if test "${ac_cv_prog_CPP+set}" = set; then :
4619 $as_echo_n "(cached) " >&6
4620 else
4621 # Double quotes because CPP needs to be expanded
4622 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4623 do
4624 ac_preproc_ok=false
4625 for ac_c_preproc_warn_flag in '' yes
4626 do
4627 # Use a header file that comes with gcc, so configuring glibc
4628 # with a fresh cross-compiler works.
4629 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4630 # <limits.h> exists even on freestanding compilers.
4631 # On the NeXT, cc -E runs the code through the compiler's parser,
4632 # not just through cpp. "Syntax error" is here to catch this case.
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4635 #ifdef __STDC__
4636 # include <limits.h>
4637 #else
4638 # include <assert.h>
4639 #endif
4640 Syntax error
4641 _ACEOF
4642 if ac_fn_c_try_cpp "$LINENO"; then :
4643
4644 else
4645 # Broken: fails on valid input.
4646 continue
4647 fi
4648 rm -f conftest.err conftest.$ac_ext
4649
4650 # OK, works on sane cases. Now check whether nonexistent headers
4651 # can be detected and how.
4652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4654 #include <ac_nonexistent.h>
4655 _ACEOF
4656 if ac_fn_c_try_cpp "$LINENO"; then :
4657 # Broken: success on invalid input.
4658 continue
4659 else
4660 # Passes both tests.
4661 ac_preproc_ok=:
4662 break
4663 fi
4664 rm -f conftest.err conftest.$ac_ext
4665
4666 done
4667 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4668 rm -f conftest.err conftest.$ac_ext
4669 if $ac_preproc_ok; then :
4670 break
4671 fi
4672
4673 done
4674 ac_cv_prog_CPP=$CPP
4675
4676 fi
4677 CPP=$ac_cv_prog_CPP
4678 else
4679 ac_cv_prog_CPP=$CPP
4680 fi
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4682 $as_echo "$CPP" >&6; }
4683 ac_preproc_ok=false
4684 for ac_c_preproc_warn_flag in '' yes
4685 do
4686 # Use a header file that comes with gcc, so configuring glibc
4687 # with a fresh cross-compiler works.
4688 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4689 # <limits.h> exists even on freestanding compilers.
4690 # On the NeXT, cc -E runs the code through the compiler's parser,
4691 # not just through cpp. "Syntax error" is here to catch this case.
4692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4693 /* end confdefs.h. */
4694 #ifdef __STDC__
4695 # include <limits.h>
4696 #else
4697 # include <assert.h>
4698 #endif
4699 Syntax error
4700 _ACEOF
4701 if ac_fn_c_try_cpp "$LINENO"; then :
4702
4703 else
4704 # Broken: fails on valid input.
4705 continue
4706 fi
4707 rm -f conftest.err conftest.$ac_ext
4708
4709 # OK, works on sane cases. Now check whether nonexistent headers
4710 # can be detected and how.
4711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h. */
4713 #include <ac_nonexistent.h>
4714 _ACEOF
4715 if ac_fn_c_try_cpp "$LINENO"; then :
4716 # Broken: success on invalid input.
4717 continue
4718 else
4719 # Passes both tests.
4720 ac_preproc_ok=:
4721 break
4722 fi
4723 rm -f conftest.err conftest.$ac_ext
4724
4725 done
4726 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4727 rm -f conftest.err conftest.$ac_ext
4728 if $ac_preproc_ok; then :
4729
4730 else
4731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4733 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4734 See \`config.log' for more details." "$LINENO" 5; }
4735 fi
4736
4737 ac_ext=c
4738 ac_cpp='$CPP $CPPFLAGS'
4739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4742
4743
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4745 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4746 if test "${ac_cv_path_GREP+set}" = set; then :
4747 $as_echo_n "(cached) " >&6
4748 else
4749 if test -z "$GREP"; then
4750 ac_path_GREP_found=false
4751 # Loop through the user's path and test for each of PROGNAME-LIST
4752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4753 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4754 do
4755 IFS=$as_save_IFS
4756 test -z "$as_dir" && as_dir=.
4757 for ac_prog in grep ggrep; do
4758 for ac_exec_ext in '' $ac_executable_extensions; do
4759 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4760 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4761 # Check for GNU ac_path_GREP and select it if it is found.
4762 # Check for GNU $ac_path_GREP
4763 case `"$ac_path_GREP" --version 2>&1` in
4764 *GNU*)
4765 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4766 *)
4767 ac_count=0
4768 $as_echo_n 0123456789 >"conftest.in"
4769 while :
4770 do
4771 cat "conftest.in" "conftest.in" >"conftest.tmp"
4772 mv "conftest.tmp" "conftest.in"
4773 cp "conftest.in" "conftest.nl"
4774 $as_echo 'GREP' >> "conftest.nl"
4775 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4776 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4777 as_fn_arith $ac_count + 1 && ac_count=$as_val
4778 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4779 # Best one so far, save it but keep looking for a better one
4780 ac_cv_path_GREP="$ac_path_GREP"
4781 ac_path_GREP_max=$ac_count
4782 fi
4783 # 10*(2^10) chars as input seems more than enough
4784 test $ac_count -gt 10 && break
4785 done
4786 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4787 esac
4788
4789 $ac_path_GREP_found && break 3
4790 done
4791 done
4792 done
4793 IFS=$as_save_IFS
4794 if test -z "$ac_cv_path_GREP"; then
4795 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4796 fi
4797 else
4798 ac_cv_path_GREP=$GREP
4799 fi
4800
4801 fi
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4803 $as_echo "$ac_cv_path_GREP" >&6; }
4804 GREP="$ac_cv_path_GREP"
4805
4806
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4808 $as_echo_n "checking for egrep... " >&6; }
4809 if test "${ac_cv_path_EGREP+set}" = set; then :
4810 $as_echo_n "(cached) " >&6
4811 else
4812 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4813 then ac_cv_path_EGREP="$GREP -E"
4814 else
4815 if test -z "$EGREP"; then
4816 ac_path_EGREP_found=false
4817 # Loop through the user's path and test for each of PROGNAME-LIST
4818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4819 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4820 do
4821 IFS=$as_save_IFS
4822 test -z "$as_dir" && as_dir=.
4823 for ac_prog in egrep; do
4824 for ac_exec_ext in '' $ac_executable_extensions; do
4825 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4826 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4827 # Check for GNU ac_path_EGREP and select it if it is found.
4828 # Check for GNU $ac_path_EGREP
4829 case `"$ac_path_EGREP" --version 2>&1` in
4830 *GNU*)
4831 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4832 *)
4833 ac_count=0
4834 $as_echo_n 0123456789 >"conftest.in"
4835 while :
4836 do
4837 cat "conftest.in" "conftest.in" >"conftest.tmp"
4838 mv "conftest.tmp" "conftest.in"
4839 cp "conftest.in" "conftest.nl"
4840 $as_echo 'EGREP' >> "conftest.nl"
4841 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4842 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4843 as_fn_arith $ac_count + 1 && ac_count=$as_val
4844 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4845 # Best one so far, save it but keep looking for a better one
4846 ac_cv_path_EGREP="$ac_path_EGREP"
4847 ac_path_EGREP_max=$ac_count
4848 fi
4849 # 10*(2^10) chars as input seems more than enough
4850 test $ac_count -gt 10 && break
4851 done
4852 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4853 esac
4854
4855 $ac_path_EGREP_found && break 3
4856 done
4857 done
4858 done
4859 IFS=$as_save_IFS
4860 if test -z "$ac_cv_path_EGREP"; then
4861 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4862 fi
4863 else
4864 ac_cv_path_EGREP=$EGREP
4865 fi
4866
4867 fi
4868 fi
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4870 $as_echo "$ac_cv_path_EGREP" >&6; }
4871 EGREP="$ac_cv_path_EGREP"
4872
4873
4874
4875 # Keep these sync'd with the list in Makefile.am. The first provides an
4876 # expandable list at autoconf time; the second provides an expandable list
4877 # (i.e., shell variable) at configure time.
4878
4879 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4880
4881 # These need to be absolute paths, yet at the same time need to
4882 # canonicalize only relative paths, because then amd will not unmount
4883 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4884 glibcxx_builddir=`${PWDCMD-pwd}`
4885 case $srcdir in
4886 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4887 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4888 esac
4889 toplevel_builddir=${glibcxx_builddir}/..
4890 toplevel_srcdir=${glibcxx_srcdir}/..
4891
4892
4893
4894
4895
4896 # We use these options to decide which functions to include. They are
4897 # set from the top level.
4898
4899 # Check whether --with-target-subdir was given.
4900 if test "${with_target_subdir+set}" = set; then :
4901 withval=$with_target_subdir;
4902 fi
4903
4904
4905
4906 # Check whether --with-cross-host was given.
4907 if test "${with_cross_host+set}" = set; then :
4908 withval=$with_cross_host;
4909 fi
4910
4911
4912
4913 # Check whether --with-newlib was given.
4914 if test "${with_newlib+set}" = set; then :
4915 withval=$with_newlib;
4916 fi
4917
4918
4919 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4920 # available). Uncomment the next line to force a particular method.
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4922 $as_echo_n "checking whether ln -s works... " >&6; }
4923 LN_S=$as_ln_s
4924 if test "$LN_S" = "ln -s"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4926 $as_echo "yes" >&6; }
4927 else
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4929 $as_echo "no, using $LN_S" >&6; }
4930 fi
4931
4932 #LN_S='cp -p'
4933
4934 if test -n "$ac_tool_prefix"; then
4935 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4936 set dummy ${ac_tool_prefix}as; ac_word=$2
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4938 $as_echo_n "checking for $ac_word... " >&6; }
4939 if test "${ac_cv_prog_AS+set}" = set; then :
4940 $as_echo_n "(cached) " >&6
4941 else
4942 if test -n "$AS"; then
4943 ac_cv_prog_AS="$AS" # Let the user override the test.
4944 else
4945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4946 for as_dir in $PATH
4947 do
4948 IFS=$as_save_IFS
4949 test -z "$as_dir" && as_dir=.
4950 for ac_exec_ext in '' $ac_executable_extensions; do
4951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4952 ac_cv_prog_AS="${ac_tool_prefix}as"
4953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4954 break 2
4955 fi
4956 done
4957 done
4958 IFS=$as_save_IFS
4959
4960 fi
4961 fi
4962 AS=$ac_cv_prog_AS
4963 if test -n "$AS"; then
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4965 $as_echo "$AS" >&6; }
4966 else
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4968 $as_echo "no" >&6; }
4969 fi
4970
4971
4972 fi
4973 if test -z "$ac_cv_prog_AS"; then
4974 ac_ct_AS=$AS
4975 # Extract the first word of "as", so it can be a program name with args.
4976 set dummy as; ac_word=$2
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4978 $as_echo_n "checking for $ac_word... " >&6; }
4979 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4980 $as_echo_n "(cached) " >&6
4981 else
4982 if test -n "$ac_ct_AS"; then
4983 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4984 else
4985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4986 for as_dir in $PATH
4987 do
4988 IFS=$as_save_IFS
4989 test -z "$as_dir" && as_dir=.
4990 for ac_exec_ext in '' $ac_executable_extensions; do
4991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4992 ac_cv_prog_ac_ct_AS="as"
4993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4994 break 2
4995 fi
4996 done
4997 done
4998 IFS=$as_save_IFS
4999
5000 fi
5001 fi
5002 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5003 if test -n "$ac_ct_AS"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5005 $as_echo "$ac_ct_AS" >&6; }
5006 else
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5009 fi
5010
5011 if test "x$ac_ct_AS" = x; then
5012 AS=""
5013 else
5014 case $cross_compiling:$ac_tool_warned in
5015 yes:)
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5018 ac_tool_warned=yes ;;
5019 esac
5020 AS=$ac_ct_AS
5021 fi
5022 else
5023 AS="$ac_cv_prog_AS"
5024 fi
5025
5026 if test -n "$ac_tool_prefix"; then
5027 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5028 set dummy ${ac_tool_prefix}ar; ac_word=$2
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5030 $as_echo_n "checking for $ac_word... " >&6; }
5031 if test "${ac_cv_prog_AR+set}" = set; then :
5032 $as_echo_n "(cached) " >&6
5033 else
5034 if test -n "$AR"; then
5035 ac_cv_prog_AR="$AR" # Let the user override the test.
5036 else
5037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5038 for as_dir in $PATH
5039 do
5040 IFS=$as_save_IFS
5041 test -z "$as_dir" && as_dir=.
5042 for ac_exec_ext in '' $ac_executable_extensions; do
5043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5044 ac_cv_prog_AR="${ac_tool_prefix}ar"
5045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5046 break 2
5047 fi
5048 done
5049 done
5050 IFS=$as_save_IFS
5051
5052 fi
5053 fi
5054 AR=$ac_cv_prog_AR
5055 if test -n "$AR"; then
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5057 $as_echo "$AR" >&6; }
5058 else
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 $as_echo "no" >&6; }
5061 fi
5062
5063
5064 fi
5065 if test -z "$ac_cv_prog_AR"; then
5066 ac_ct_AR=$AR
5067 # Extract the first word of "ar", so it can be a program name with args.
5068 set dummy ar; ac_word=$2
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5070 $as_echo_n "checking for $ac_word... " >&6; }
5071 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5072 $as_echo_n "(cached) " >&6
5073 else
5074 if test -n "$ac_ct_AR"; then
5075 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5076 else
5077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5078 for as_dir in $PATH
5079 do
5080 IFS=$as_save_IFS
5081 test -z "$as_dir" && as_dir=.
5082 for ac_exec_ext in '' $ac_executable_extensions; do
5083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5084 ac_cv_prog_ac_ct_AR="ar"
5085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5086 break 2
5087 fi
5088 done
5089 done
5090 IFS=$as_save_IFS
5091
5092 fi
5093 fi
5094 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5095 if test -n "$ac_ct_AR"; then
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5097 $as_echo "$ac_ct_AR" >&6; }
5098 else
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5100 $as_echo "no" >&6; }
5101 fi
5102
5103 if test "x$ac_ct_AR" = x; then
5104 AR=""
5105 else
5106 case $cross_compiling:$ac_tool_warned in
5107 yes:)
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5110 ac_tool_warned=yes ;;
5111 esac
5112 AR=$ac_ct_AR
5113 fi
5114 else
5115 AR="$ac_cv_prog_AR"
5116 fi
5117
5118 if test -n "$ac_tool_prefix"; then
5119 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5120 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5122 $as_echo_n "checking for $ac_word... " >&6; }
5123 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5124 $as_echo_n "(cached) " >&6
5125 else
5126 if test -n "$RANLIB"; then
5127 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5128 else
5129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5130 for as_dir in $PATH
5131 do
5132 IFS=$as_save_IFS
5133 test -z "$as_dir" && as_dir=.
5134 for ac_exec_ext in '' $ac_executable_extensions; do
5135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5136 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5138 break 2
5139 fi
5140 done
5141 done
5142 IFS=$as_save_IFS
5143
5144 fi
5145 fi
5146 RANLIB=$ac_cv_prog_RANLIB
5147 if test -n "$RANLIB"; then
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5149 $as_echo "$RANLIB" >&6; }
5150 else
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5152 $as_echo "no" >&6; }
5153 fi
5154
5155
5156 fi
5157 if test -z "$ac_cv_prog_RANLIB"; then
5158 ac_ct_RANLIB=$RANLIB
5159 # Extract the first word of "ranlib", so it can be a program name with args.
5160 set dummy ranlib; ac_word=$2
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5162 $as_echo_n "checking for $ac_word... " >&6; }
5163 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5164 $as_echo_n "(cached) " >&6
5165 else
5166 if test -n "$ac_ct_RANLIB"; then
5167 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5168 else
5169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5170 for as_dir in $PATH
5171 do
5172 IFS=$as_save_IFS
5173 test -z "$as_dir" && as_dir=.
5174 for ac_exec_ext in '' $ac_executable_extensions; do
5175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5176 ac_cv_prog_ac_ct_RANLIB="ranlib"
5177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5178 break 2
5179 fi
5180 done
5181 done
5182 IFS=$as_save_IFS
5183
5184 fi
5185 fi
5186 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5187 if test -n "$ac_ct_RANLIB"; then
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5189 $as_echo "$ac_ct_RANLIB" >&6; }
5190 else
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5192 $as_echo "no" >&6; }
5193 fi
5194
5195 if test "x$ac_ct_RANLIB" = x; then
5196 RANLIB="ranlib-not-found-in-path-error"
5197 else
5198 case $cross_compiling:$ac_tool_warned in
5199 yes:)
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5202 ac_tool_warned=yes ;;
5203 esac
5204 RANLIB=$ac_ct_RANLIB
5205 fi
5206 else
5207 RANLIB="$ac_cv_prog_RANLIB"
5208 fi
5209
5210
5211
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5213 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5214 # Check whether --enable-maintainer-mode was given.
5215 if test "${enable_maintainer_mode+set}" = set; then :
5216 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5217 else
5218 USE_MAINTAINER_MODE=no
5219 fi
5220
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5222 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5223 if test $USE_MAINTAINER_MODE = yes; then
5224 MAINTAINER_MODE_TRUE=
5225 MAINTAINER_MODE_FALSE='#'
5226 else
5227 MAINTAINER_MODE_TRUE='#'
5228 MAINTAINER_MODE_FALSE=
5229 fi
5230
5231 MAINT=$MAINTAINER_MODE_TRUE
5232
5233
5234
5235 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5236 # which are themselves conditionally expanded.
5237 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5238 ## other macros from doing the same. This should be automated.) -pme
5239
5240 # Check for C library flavor since GNU/Linux platforms use different
5241 # configuration directories depending on the C library in use.
5242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5243 /* end confdefs.h. */
5244
5245 #include <stdio.h>
5246 #if __UCLIBC__
5247 _using_uclibc
5248 #endif
5249
5250 _ACEOF
5251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5252 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5253 uclibc=yes
5254 else
5255 uclibc=no
5256 fi
5257 rm -f conftest*
5258
5259
5260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5261 /* end confdefs.h. */
5262
5263 #include <stdio.h>
5264 #if __BIONIC__
5265 _using_bionic
5266 #endif
5267
5268 _ACEOF
5269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5270 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5271 bionic=yes
5272 else
5273 bionic=no
5274 fi
5275 rm -f conftest*
5276
5277
5278 # Find platform-specific directories containing configuration info.
5279 # Also possibly modify flags used elsewhere, as needed by the platform.
5280
5281 . $glibcxx_srcdir/configure.host
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5283 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5285 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5286
5287
5288
5289 # Libtool setup.
5290 if test "x${with_newlib}" != "xyes"; then
5291 enable_dlopen=yes
5292
5293
5294
5295 fi
5296 case `pwd` in
5297 *\ * | *\ *)
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5299 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5300 esac
5301
5302
5303
5304 macro_version='2.2.7a'
5305 macro_revision='1.3134'
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319 ltmain="$ac_aux_dir/ltmain.sh"
5320
5321 # Backslashify metacharacters that are still active within
5322 # double-quoted strings.
5323 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5324
5325 # Same as above, but do not quote variable references.
5326 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5327
5328 # Sed substitution to delay expansion of an escaped shell variable in a
5329 # double_quote_subst'ed string.
5330 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5331
5332 # Sed substitution to delay expansion of an escaped single quote.
5333 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5334
5335 # Sed substitution to avoid accidental globbing in evaled expressions
5336 no_glob_subst='s/\*/\\\*/g'
5337
5338 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5339 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5340 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5341
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5343 $as_echo_n "checking how to print strings... " >&6; }
5344 # Test print first, because it will be a builtin if present.
5345 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5346 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5347 ECHO='print -r --'
5348 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5349 ECHO='printf %s\n'
5350 else
5351 # Use this function as a fallback that always works.
5352 func_fallback_echo ()
5353 {
5354 eval 'cat <<_LTECHO_EOF
5355 $1
5356 _LTECHO_EOF'
5357 }
5358 ECHO='func_fallback_echo'
5359 fi
5360
5361 # func_echo_all arg...
5362 # Invoke $ECHO with all args, space-separated.
5363 func_echo_all ()
5364 {
5365 $ECHO ""
5366 }
5367
5368 case "$ECHO" in
5369 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5370 $as_echo "printf" >&6; } ;;
5371 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5372 $as_echo "print -r" >&6; } ;;
5373 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5374 $as_echo "cat" >&6; } ;;
5375 esac
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5391 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5392 if test "${ac_cv_path_SED+set}" = set; then :
5393 $as_echo_n "(cached) " >&6
5394 else
5395 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5396 for ac_i in 1 2 3 4 5 6 7; do
5397 ac_script="$ac_script$as_nl$ac_script"
5398 done
5399 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5400 { ac_script=; unset ac_script;}
5401 if test -z "$SED"; then
5402 ac_path_SED_found=false
5403 # Loop through the user's path and test for each of PROGNAME-LIST
5404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5405 for as_dir in $PATH
5406 do
5407 IFS=$as_save_IFS
5408 test -z "$as_dir" && as_dir=.
5409 for ac_prog in sed gsed; do
5410 for ac_exec_ext in '' $ac_executable_extensions; do
5411 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5412 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5413 # Check for GNU ac_path_SED and select it if it is found.
5414 # Check for GNU $ac_path_SED
5415 case `"$ac_path_SED" --version 2>&1` in
5416 *GNU*)
5417 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5418 *)
5419 ac_count=0
5420 $as_echo_n 0123456789 >"conftest.in"
5421 while :
5422 do
5423 cat "conftest.in" "conftest.in" >"conftest.tmp"
5424 mv "conftest.tmp" "conftest.in"
5425 cp "conftest.in" "conftest.nl"
5426 $as_echo '' >> "conftest.nl"
5427 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5428 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5429 as_fn_arith $ac_count + 1 && ac_count=$as_val
5430 if test $ac_count -gt ${ac_path_SED_max-0}; then
5431 # Best one so far, save it but keep looking for a better one
5432 ac_cv_path_SED="$ac_path_SED"
5433 ac_path_SED_max=$ac_count
5434 fi
5435 # 10*(2^10) chars as input seems more than enough
5436 test $ac_count -gt 10 && break
5437 done
5438 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5439 esac
5440
5441 $ac_path_SED_found && break 3
5442 done
5443 done
5444 done
5445 IFS=$as_save_IFS
5446 if test -z "$ac_cv_path_SED"; then
5447 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5448 fi
5449 else
5450 ac_cv_path_SED=$SED
5451 fi
5452
5453 fi
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5455 $as_echo "$ac_cv_path_SED" >&6; }
5456 SED="$ac_cv_path_SED"
5457 rm -f conftest.sed
5458
5459 test -z "$SED" && SED=sed
5460 Xsed="$SED -e 1s/^X//"
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5473 $as_echo_n "checking for fgrep... " >&6; }
5474 if test "${ac_cv_path_FGREP+set}" = set; then :
5475 $as_echo_n "(cached) " >&6
5476 else
5477 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5478 then ac_cv_path_FGREP="$GREP -F"
5479 else
5480 if test -z "$FGREP"; then
5481 ac_path_FGREP_found=false
5482 # Loop through the user's path and test for each of PROGNAME-LIST
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5485 do
5486 IFS=$as_save_IFS
5487 test -z "$as_dir" && as_dir=.
5488 for ac_prog in fgrep; do
5489 for ac_exec_ext in '' $ac_executable_extensions; do
5490 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5491 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5492 # Check for GNU ac_path_FGREP and select it if it is found.
5493 # Check for GNU $ac_path_FGREP
5494 case `"$ac_path_FGREP" --version 2>&1` in
5495 *GNU*)
5496 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5497 *)
5498 ac_count=0
5499 $as_echo_n 0123456789 >"conftest.in"
5500 while :
5501 do
5502 cat "conftest.in" "conftest.in" >"conftest.tmp"
5503 mv "conftest.tmp" "conftest.in"
5504 cp "conftest.in" "conftest.nl"
5505 $as_echo 'FGREP' >> "conftest.nl"
5506 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5507 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5508 as_fn_arith $ac_count + 1 && ac_count=$as_val
5509 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5510 # Best one so far, save it but keep looking for a better one
5511 ac_cv_path_FGREP="$ac_path_FGREP"
5512 ac_path_FGREP_max=$ac_count
5513 fi
5514 # 10*(2^10) chars as input seems more than enough
5515 test $ac_count -gt 10 && break
5516 done
5517 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5518 esac
5519
5520 $ac_path_FGREP_found && break 3
5521 done
5522 done
5523 done
5524 IFS=$as_save_IFS
5525 if test -z "$ac_cv_path_FGREP"; then
5526 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5527 fi
5528 else
5529 ac_cv_path_FGREP=$FGREP
5530 fi
5531
5532 fi
5533 fi
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5535 $as_echo "$ac_cv_path_FGREP" >&6; }
5536 FGREP="$ac_cv_path_FGREP"
5537
5538
5539 test -z "$GREP" && GREP=grep
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559 # Check whether --with-gnu-ld was given.
5560 if test "${with_gnu_ld+set}" = set; then :
5561 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5562 else
5563 with_gnu_ld=no
5564 fi
5565
5566 ac_prog=ld
5567 if test "$GCC" = yes; then
5568 # Check if gcc -print-prog-name=ld gives a path.
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5570 $as_echo_n "checking for ld used by $CC... " >&6; }
5571 case $host in
5572 *-*-mingw*)
5573 # gcc leaves a trailing carriage return which upsets mingw
5574 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5575 *)
5576 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5577 esac
5578 case $ac_prog in
5579 # Accept absolute paths.
5580 [\\/]* | ?:[\\/]*)
5581 re_direlt='/[^/][^/]*/\.\./'
5582 # Canonicalize the pathname of ld
5583 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5584 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5585 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5586 done
5587 test -z "$LD" && LD="$ac_prog"
5588 ;;
5589 "")
5590 # If it fails, then pretend we aren't using GCC.
5591 ac_prog=ld
5592 ;;
5593 *)
5594 # If it is relative, then search for the first ld in PATH.
5595 with_gnu_ld=unknown
5596 ;;
5597 esac
5598 elif test "$with_gnu_ld" = yes; then
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5600 $as_echo_n "checking for GNU ld... " >&6; }
5601 else
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5603 $as_echo_n "checking for non-GNU ld... " >&6; }
5604 fi
5605 if test "${lt_cv_path_LD+set}" = set; then :
5606 $as_echo_n "(cached) " >&6
5607 else
5608 if test -z "$LD"; then
5609 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5610 for ac_dir in $PATH; do
5611 IFS="$lt_save_ifs"
5612 test -z "$ac_dir" && ac_dir=.
5613 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5614 lt_cv_path_LD="$ac_dir/$ac_prog"
5615 # Check to see if the program is GNU ld. I'd rather use --version,
5616 # but apparently some variants of GNU ld only accept -v.
5617 # Break only if it was the GNU/non-GNU ld that we prefer.
5618 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5619 *GNU* | *'with BFD'*)
5620 test "$with_gnu_ld" != no && break
5621 ;;
5622 *)
5623 test "$with_gnu_ld" != yes && break
5624 ;;
5625 esac
5626 fi
5627 done
5628 IFS="$lt_save_ifs"
5629 else
5630 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5631 fi
5632 fi
5633
5634 LD="$lt_cv_path_LD"
5635 if test -n "$LD"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5637 $as_echo "$LD" >&6; }
5638 else
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 $as_echo "no" >&6; }
5641 fi
5642 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5644 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5645 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5646 $as_echo_n "(cached) " >&6
5647 else
5648 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5649 case `$LD -v 2>&1 </dev/null` in
5650 *GNU* | *'with BFD'*)
5651 lt_cv_prog_gnu_ld=yes
5652 ;;
5653 *)
5654 lt_cv_prog_gnu_ld=no
5655 ;;
5656 esac
5657 fi
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5659 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5660 with_gnu_ld=$lt_cv_prog_gnu_ld
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5671 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5672 if test "${lt_cv_path_NM+set}" = set; then :
5673 $as_echo_n "(cached) " >&6
5674 else
5675 if test -n "$NM"; then
5676 # Let the user override the test.
5677 lt_cv_path_NM="$NM"
5678 else
5679 lt_nm_to_check="${ac_tool_prefix}nm"
5680 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5681 lt_nm_to_check="$lt_nm_to_check nm"
5682 fi
5683 for lt_tmp_nm in $lt_nm_to_check; do
5684 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5685 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5686 IFS="$lt_save_ifs"
5687 test -z "$ac_dir" && ac_dir=.
5688 tmp_nm="$ac_dir/$lt_tmp_nm"
5689 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5690 # Check to see if the nm accepts a BSD-compat flag.
5691 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5692 # nm: unknown option "B" ignored
5693 # Tru64's nm complains that /dev/null is an invalid object file
5694 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5695 */dev/null* | *'Invalid file or object type'*)
5696 lt_cv_path_NM="$tmp_nm -B"
5697 break
5698 ;;
5699 *)
5700 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5701 */dev/null*)
5702 lt_cv_path_NM="$tmp_nm -p"
5703 break
5704 ;;
5705 *)
5706 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5707 continue # so that we can try to find one that supports BSD flags
5708 ;;
5709 esac
5710 ;;
5711 esac
5712 fi
5713 done
5714 IFS="$lt_save_ifs"
5715 done
5716 : ${lt_cv_path_NM=no}
5717 fi
5718 fi
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5720 $as_echo "$lt_cv_path_NM" >&6; }
5721 if test "$lt_cv_path_NM" != "no"; then
5722 NM="$lt_cv_path_NM"
5723 else
5724 # Didn't find any BSD compatible name lister, look for dumpbin.
5725 if test -n "$DUMPBIN"; then :
5726 # Let the user override the test.
5727 else
5728 if test -n "$ac_tool_prefix"; then
5729 for ac_prog in dumpbin "link -dump"
5730 do
5731 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5732 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5734 $as_echo_n "checking for $ac_word... " >&6; }
5735 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5736 $as_echo_n "(cached) " >&6
5737 else
5738 if test -n "$DUMPBIN"; then
5739 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5740 else
5741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5742 for as_dir in $PATH
5743 do
5744 IFS=$as_save_IFS
5745 test -z "$as_dir" && as_dir=.
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5748 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 break 2
5751 fi
5752 done
5753 done
5754 IFS=$as_save_IFS
5755
5756 fi
5757 fi
5758 DUMPBIN=$ac_cv_prog_DUMPBIN
5759 if test -n "$DUMPBIN"; then
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5761 $as_echo "$DUMPBIN" >&6; }
5762 else
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5764 $as_echo "no" >&6; }
5765 fi
5766
5767
5768 test -n "$DUMPBIN" && break
5769 done
5770 fi
5771 if test -z "$DUMPBIN"; then
5772 ac_ct_DUMPBIN=$DUMPBIN
5773 for ac_prog in dumpbin "link -dump"
5774 do
5775 # Extract the first word of "$ac_prog", so it can be a program name with args.
5776 set dummy $ac_prog; ac_word=$2
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5778 $as_echo_n "checking for $ac_word... " >&6; }
5779 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5780 $as_echo_n "(cached) " >&6
5781 else
5782 if test -n "$ac_ct_DUMPBIN"; then
5783 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5784 else
5785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5786 for as_dir in $PATH
5787 do
5788 IFS=$as_save_IFS
5789 test -z "$as_dir" && as_dir=.
5790 for ac_exec_ext in '' $ac_executable_extensions; do
5791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5792 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 break 2
5795 fi
5796 done
5797 done
5798 IFS=$as_save_IFS
5799
5800 fi
5801 fi
5802 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5803 if test -n "$ac_ct_DUMPBIN"; then
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5805 $as_echo "$ac_ct_DUMPBIN" >&6; }
5806 else
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5808 $as_echo "no" >&6; }
5809 fi
5810
5811
5812 test -n "$ac_ct_DUMPBIN" && break
5813 done
5814
5815 if test "x$ac_ct_DUMPBIN" = x; then
5816 DUMPBIN=":"
5817 else
5818 case $cross_compiling:$ac_tool_warned in
5819 yes:)
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5822 ac_tool_warned=yes ;;
5823 esac
5824 DUMPBIN=$ac_ct_DUMPBIN
5825 fi
5826 fi
5827
5828 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5829 *COFF*)
5830 DUMPBIN="$DUMPBIN -symbols"
5831 ;;
5832 *)
5833 DUMPBIN=:
5834 ;;
5835 esac
5836 fi
5837
5838 if test "$DUMPBIN" != ":"; then
5839 NM="$DUMPBIN"
5840 fi
5841 fi
5842 test -z "$NM" && NM=nm
5843
5844
5845
5846
5847
5848
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5850 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5851 if test "${lt_cv_nm_interface+set}" = set; then :
5852 $as_echo_n "(cached) " >&6
5853 else
5854 lt_cv_nm_interface="BSD nm"
5855 echo "int some_variable = 0;" > conftest.$ac_ext
5856 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5857 (eval "$ac_compile" 2>conftest.err)
5858 cat conftest.err >&5
5859 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5860 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5861 cat conftest.err >&5
5862 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5863 cat conftest.out >&5
5864 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5865 lt_cv_nm_interface="MS dumpbin"
5866 fi
5867 rm -f conftest*
5868 fi
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5870 $as_echo "$lt_cv_nm_interface" >&6; }
5871
5872 # find the maximum length of command line arguments
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5874 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5875 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5876 $as_echo_n "(cached) " >&6
5877 else
5878 i=0
5879 teststring="ABCD"
5880
5881 case $build_os in
5882 msdosdjgpp*)
5883 # On DJGPP, this test can blow up pretty badly due to problems in libc
5884 # (any single argument exceeding 2000 bytes causes a buffer overrun
5885 # during glob expansion). Even if it were fixed, the result of this
5886 # check would be larger than it should be.
5887 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5888 ;;
5889
5890 gnu*)
5891 # Under GNU Hurd, this test is not required because there is
5892 # no limit to the length of command line arguments.
5893 # Libtool will interpret -1 as no limit whatsoever
5894 lt_cv_sys_max_cmd_len=-1;
5895 ;;
5896
5897 cygwin* | mingw* | cegcc*)
5898 # On Win9x/ME, this test blows up -- it succeeds, but takes
5899 # about 5 minutes as the teststring grows exponentially.
5900 # Worse, since 9x/ME are not pre-emptively multitasking,
5901 # you end up with a "frozen" computer, even though with patience
5902 # the test eventually succeeds (with a max line length of 256k).
5903 # Instead, let's just punt: use the minimum linelength reported by
5904 # all of the supported platforms: 8192 (on NT/2K/XP).
5905 lt_cv_sys_max_cmd_len=8192;
5906 ;;
5907
5908 mint*)
5909 # On MiNT this can take a long time and run out of memory.
5910 lt_cv_sys_max_cmd_len=8192;
5911 ;;
5912
5913 amigaos*)
5914 # On AmigaOS with pdksh, this test takes hours, literally.
5915 # So we just punt and use a minimum line length of 8192.
5916 lt_cv_sys_max_cmd_len=8192;
5917 ;;
5918
5919 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5920 # This has been around since 386BSD, at least. Likely further.
5921 if test -x /sbin/sysctl; then
5922 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5923 elif test -x /usr/sbin/sysctl; then
5924 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5925 else
5926 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5927 fi
5928 # And add a safety zone
5929 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5930 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5931 ;;
5932
5933 interix*)
5934 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5935 lt_cv_sys_max_cmd_len=196608
5936 ;;
5937
5938 osf*)
5939 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5940 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5941 # nice to cause kernel panics so lets avoid the loop below.
5942 # First set a reasonable default.
5943 lt_cv_sys_max_cmd_len=16384
5944 #
5945 if test -x /sbin/sysconfig; then
5946 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5947 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5948 esac
5949 fi
5950 ;;
5951 sco3.2v5*)
5952 lt_cv_sys_max_cmd_len=102400
5953 ;;
5954 sysv5* | sco5v6* | sysv4.2uw2*)
5955 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5956 if test -n "$kargmax"; then
5957 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5958 else
5959 lt_cv_sys_max_cmd_len=32768
5960 fi
5961 ;;
5962 *)
5963 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5964 if test -n "$lt_cv_sys_max_cmd_len"; then
5965 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5966 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5967 else
5968 # Make teststring a little bigger before we do anything with it.
5969 # a 1K string should be a reasonable start.
5970 for i in 1 2 3 4 5 6 7 8 ; do
5971 teststring=$teststring$teststring
5972 done
5973 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5974 # If test is not a shell built-in, we'll probably end up computing a
5975 # maximum length that is only half of the actual maximum length, but
5976 # we can't tell.
5977 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5978 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5979 test $i != 17 # 1/2 MB should be enough
5980 do
5981 i=`expr $i + 1`
5982 teststring=$teststring$teststring
5983 done
5984 # Only check the string length outside the loop.
5985 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5986 teststring=
5987 # Add a significant safety factor because C++ compilers can tack on
5988 # massive amounts of additional arguments before passing them to the
5989 # linker. It appears as though 1/2 is a usable value.
5990 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5991 fi
5992 ;;
5993 esac
5994
5995 fi
5996
5997 if test -n $lt_cv_sys_max_cmd_len ; then
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5999 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6000 else
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6002 $as_echo "none" >&6; }
6003 fi
6004 max_cmd_len=$lt_cv_sys_max_cmd_len
6005
6006
6007
6008
6009
6010
6011 : ${CP="cp -f"}
6012 : ${MV="mv -f"}
6013 : ${RM="rm -f"}
6014
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6016 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6017 # Try some XSI features
6018 xsi_shell=no
6019 ( _lt_dummy="a/b/c"
6020 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6021 = c,a/b,, \
6022 && eval 'test $(( 1 + 1 )) -eq 2 \
6023 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6024 && xsi_shell=yes
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6026 $as_echo "$xsi_shell" >&6; }
6027
6028
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6030 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6031 lt_shell_append=no
6032 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6033 >/dev/null 2>&1 \
6034 && lt_shell_append=yes
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6036 $as_echo "$lt_shell_append" >&6; }
6037
6038
6039 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6040 lt_unset=unset
6041 else
6042 lt_unset=false
6043 fi
6044
6045
6046
6047
6048
6049 # test EBCDIC or ASCII
6050 case `echo X|tr X '\101'` in
6051 A) # ASCII based system
6052 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6053 lt_SP2NL='tr \040 \012'
6054 lt_NL2SP='tr \015\012 \040\040'
6055 ;;
6056 *) # EBCDIC based system
6057 lt_SP2NL='tr \100 \n'
6058 lt_NL2SP='tr \r\n \100\100'
6059 ;;
6060 esac
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6071 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6072 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6073 $as_echo_n "(cached) " >&6
6074 else
6075 lt_cv_ld_reload_flag='-r'
6076 fi
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6078 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6079 reload_flag=$lt_cv_ld_reload_flag
6080 case $reload_flag in
6081 "" | " "*) ;;
6082 *) reload_flag=" $reload_flag" ;;
6083 esac
6084 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6085 case $host_os in
6086 darwin*)
6087 if test "$GCC" = yes; then
6088 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6089 else
6090 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6091 fi
6092 ;;
6093 esac
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103 if test -n "$ac_tool_prefix"; then
6104 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6105 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6107 $as_echo_n "checking for $ac_word... " >&6; }
6108 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6109 $as_echo_n "(cached) " >&6
6110 else
6111 if test -n "$OBJDUMP"; then
6112 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6113 else
6114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6115 for as_dir in $PATH
6116 do
6117 IFS=$as_save_IFS
6118 test -z "$as_dir" && as_dir=.
6119 for ac_exec_ext in '' $ac_executable_extensions; do
6120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6121 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6123 break 2
6124 fi
6125 done
6126 done
6127 IFS=$as_save_IFS
6128
6129 fi
6130 fi
6131 OBJDUMP=$ac_cv_prog_OBJDUMP
6132 if test -n "$OBJDUMP"; then
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6134 $as_echo "$OBJDUMP" >&6; }
6135 else
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6137 $as_echo "no" >&6; }
6138 fi
6139
6140
6141 fi
6142 if test -z "$ac_cv_prog_OBJDUMP"; then
6143 ac_ct_OBJDUMP=$OBJDUMP
6144 # Extract the first word of "objdump", so it can be a program name with args.
6145 set dummy objdump; ac_word=$2
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6147 $as_echo_n "checking for $ac_word... " >&6; }
6148 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6149 $as_echo_n "(cached) " >&6
6150 else
6151 if test -n "$ac_ct_OBJDUMP"; then
6152 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6153 else
6154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6155 for as_dir in $PATH
6156 do
6157 IFS=$as_save_IFS
6158 test -z "$as_dir" && as_dir=.
6159 for ac_exec_ext in '' $ac_executable_extensions; do
6160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6161 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6163 break 2
6164 fi
6165 done
6166 done
6167 IFS=$as_save_IFS
6168
6169 fi
6170 fi
6171 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6172 if test -n "$ac_ct_OBJDUMP"; then
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6174 $as_echo "$ac_ct_OBJDUMP" >&6; }
6175 else
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6177 $as_echo "no" >&6; }
6178 fi
6179
6180 if test "x$ac_ct_OBJDUMP" = x; then
6181 OBJDUMP="false"
6182 else
6183 case $cross_compiling:$ac_tool_warned in
6184 yes:)
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6187 ac_tool_warned=yes ;;
6188 esac
6189 OBJDUMP=$ac_ct_OBJDUMP
6190 fi
6191 else
6192 OBJDUMP="$ac_cv_prog_OBJDUMP"
6193 fi
6194
6195 test -z "$OBJDUMP" && OBJDUMP=objdump
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6206 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6207 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6208 $as_echo_n "(cached) " >&6
6209 else
6210 lt_cv_file_magic_cmd='$MAGIC_CMD'
6211 lt_cv_file_magic_test_file=
6212 lt_cv_deplibs_check_method='unknown'
6213 # Need to set the preceding variable on all platforms that support
6214 # interlibrary dependencies.
6215 # 'none' -- dependencies not supported.
6216 # `unknown' -- same as none, but documents that we really don't know.
6217 # 'pass_all' -- all dependencies passed with no checks.
6218 # 'test_compile' -- check by making test program.
6219 # 'file_magic [[regex]]' -- check by looking for files in library path
6220 # which responds to the $file_magic_cmd with a given extended regex.
6221 # If you have `file' or equivalent on your system and you're not sure
6222 # whether `pass_all' will *always* work, you probably want this one.
6223
6224 case $host_os in
6225 aix[4-9]*)
6226 lt_cv_deplibs_check_method=pass_all
6227 ;;
6228
6229 beos*)
6230 lt_cv_deplibs_check_method=pass_all
6231 ;;
6232
6233 bsdi[45]*)
6234 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6235 lt_cv_file_magic_cmd='/usr/bin/file -L'
6236 lt_cv_file_magic_test_file=/shlib/libc.so
6237 ;;
6238
6239 cygwin*)
6240 # func_win32_libid is a shell function defined in ltmain.sh
6241 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6242 lt_cv_file_magic_cmd='func_win32_libid'
6243 ;;
6244
6245 mingw* | pw32*)
6246 # Base MSYS/MinGW do not provide the 'file' command needed by
6247 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6248 # unless we find 'file', for example because we are cross-compiling.
6249 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6250 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6251 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6252 lt_cv_file_magic_cmd='func_win32_libid'
6253 else
6254 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6255 lt_cv_file_magic_cmd='$OBJDUMP -f'
6256 fi
6257 ;;
6258
6259 cegcc*)
6260 # use the weaker test based on 'objdump'. See mingw*.
6261 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6262 lt_cv_file_magic_cmd='$OBJDUMP -f'
6263 ;;
6264
6265 darwin* | rhapsody*)
6266 lt_cv_deplibs_check_method=pass_all
6267 ;;
6268
6269 freebsd* | dragonfly*)
6270 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6271 case $host_cpu in
6272 i*86 )
6273 # Not sure whether the presence of OpenBSD here was a mistake.
6274 # Let's accept both of them until this is cleared up.
6275 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6276 lt_cv_file_magic_cmd=/usr/bin/file
6277 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6278 ;;
6279 esac
6280 else
6281 lt_cv_deplibs_check_method=pass_all
6282 fi
6283 ;;
6284
6285 gnu*)
6286 lt_cv_deplibs_check_method=pass_all
6287 ;;
6288
6289 haiku*)
6290 lt_cv_deplibs_check_method=pass_all
6291 ;;
6292
6293 hpux10.20* | hpux11*)
6294 lt_cv_file_magic_cmd=/usr/bin/file
6295 case $host_cpu in
6296 ia64*)
6297 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6298 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6299 ;;
6300 hppa*64*)
6301 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]'
6302 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6303 ;;
6304 *)
6305 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6306 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6307 ;;
6308 esac
6309 ;;
6310
6311 interix[3-9]*)
6312 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6313 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6314 ;;
6315
6316 irix5* | irix6* | nonstopux*)
6317 case $LD in
6318 *-32|*"-32 ") libmagic=32-bit;;
6319 *-n32|*"-n32 ") libmagic=N32;;
6320 *-64|*"-64 ") libmagic=64-bit;;
6321 *) libmagic=never-match;;
6322 esac
6323 lt_cv_deplibs_check_method=pass_all
6324 ;;
6325
6326 # This must be Linux ELF.
6327 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6328 lt_cv_deplibs_check_method=pass_all
6329 ;;
6330
6331 netbsd*)
6332 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6333 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6334 else
6335 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6336 fi
6337 ;;
6338
6339 newos6*)
6340 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6341 lt_cv_file_magic_cmd=/usr/bin/file
6342 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6343 ;;
6344
6345 *nto* | *qnx*)
6346 lt_cv_deplibs_check_method=pass_all
6347 ;;
6348
6349 openbsd*)
6350 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6351 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6352 else
6353 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6354 fi
6355 ;;
6356
6357 osf3* | osf4* | osf5*)
6358 lt_cv_deplibs_check_method=pass_all
6359 ;;
6360
6361 rdos*)
6362 lt_cv_deplibs_check_method=pass_all
6363 ;;
6364
6365 solaris*)
6366 lt_cv_deplibs_check_method=pass_all
6367 ;;
6368
6369 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6370 lt_cv_deplibs_check_method=pass_all
6371 ;;
6372
6373 sysv4 | sysv4.3*)
6374 case $host_vendor in
6375 motorola)
6376 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]'
6377 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6378 ;;
6379 ncr)
6380 lt_cv_deplibs_check_method=pass_all
6381 ;;
6382 sequent)
6383 lt_cv_file_magic_cmd='/bin/file'
6384 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6385 ;;
6386 sni)
6387 lt_cv_file_magic_cmd='/bin/file'
6388 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6389 lt_cv_file_magic_test_file=/lib/libc.so
6390 ;;
6391 siemens)
6392 lt_cv_deplibs_check_method=pass_all
6393 ;;
6394 pc)
6395 lt_cv_deplibs_check_method=pass_all
6396 ;;
6397 esac
6398 ;;
6399
6400 tpf*)
6401 lt_cv_deplibs_check_method=pass_all
6402 ;;
6403 esac
6404
6405 fi
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6407 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6408 file_magic_cmd=$lt_cv_file_magic_cmd
6409 deplibs_check_method=$lt_cv_deplibs_check_method
6410 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423 if test -n "$ac_tool_prefix"; then
6424 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6425 set dummy ${ac_tool_prefix}ar; ac_word=$2
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427 $as_echo_n "checking for $ac_word... " >&6; }
6428 if test "${ac_cv_prog_AR+set}" = set; then :
6429 $as_echo_n "(cached) " >&6
6430 else
6431 if test -n "$AR"; then
6432 ac_cv_prog_AR="$AR" # Let the user override the test.
6433 else
6434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 for as_dir in $PATH
6436 do
6437 IFS=$as_save_IFS
6438 test -z "$as_dir" && as_dir=.
6439 for ac_exec_ext in '' $ac_executable_extensions; do
6440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6441 ac_cv_prog_AR="${ac_tool_prefix}ar"
6442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6443 break 2
6444 fi
6445 done
6446 done
6447 IFS=$as_save_IFS
6448
6449 fi
6450 fi
6451 AR=$ac_cv_prog_AR
6452 if test -n "$AR"; then
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6454 $as_echo "$AR" >&6; }
6455 else
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6457 $as_echo "no" >&6; }
6458 fi
6459
6460
6461 fi
6462 if test -z "$ac_cv_prog_AR"; then
6463 ac_ct_AR=$AR
6464 # Extract the first word of "ar", so it can be a program name with args.
6465 set dummy ar; ac_word=$2
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6467 $as_echo_n "checking for $ac_word... " >&6; }
6468 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6469 $as_echo_n "(cached) " >&6
6470 else
6471 if test -n "$ac_ct_AR"; then
6472 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6473 else
6474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475 for as_dir in $PATH
6476 do
6477 IFS=$as_save_IFS
6478 test -z "$as_dir" && as_dir=.
6479 for ac_exec_ext in '' $ac_executable_extensions; do
6480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6481 ac_cv_prog_ac_ct_AR="ar"
6482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6483 break 2
6484 fi
6485 done
6486 done
6487 IFS=$as_save_IFS
6488
6489 fi
6490 fi
6491 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6492 if test -n "$ac_ct_AR"; then
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6494 $as_echo "$ac_ct_AR" >&6; }
6495 else
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6497 $as_echo "no" >&6; }
6498 fi
6499
6500 if test "x$ac_ct_AR" = x; then
6501 AR="false"
6502 else
6503 case $cross_compiling:$ac_tool_warned in
6504 yes:)
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6507 ac_tool_warned=yes ;;
6508 esac
6509 AR=$ac_ct_AR
6510 fi
6511 else
6512 AR="$ac_cv_prog_AR"
6513 fi
6514
6515 test -z "$AR" && AR=ar
6516 test -z "$AR_FLAGS" && AR_FLAGS=cru
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528 if test -n "$ac_tool_prefix"; then
6529 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6530 set dummy ${ac_tool_prefix}strip; ac_word=$2
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6532 $as_echo_n "checking for $ac_word... " >&6; }
6533 if test "${ac_cv_prog_STRIP+set}" = set; then :
6534 $as_echo_n "(cached) " >&6
6535 else
6536 if test -n "$STRIP"; then
6537 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6538 else
6539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6540 for as_dir in $PATH
6541 do
6542 IFS=$as_save_IFS
6543 test -z "$as_dir" && as_dir=.
6544 for ac_exec_ext in '' $ac_executable_extensions; do
6545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6546 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6548 break 2
6549 fi
6550 done
6551 done
6552 IFS=$as_save_IFS
6553
6554 fi
6555 fi
6556 STRIP=$ac_cv_prog_STRIP
6557 if test -n "$STRIP"; then
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6559 $as_echo "$STRIP" >&6; }
6560 else
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6562 $as_echo "no" >&6; }
6563 fi
6564
6565
6566 fi
6567 if test -z "$ac_cv_prog_STRIP"; then
6568 ac_ct_STRIP=$STRIP
6569 # Extract the first word of "strip", so it can be a program name with args.
6570 set dummy strip; ac_word=$2
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6572 $as_echo_n "checking for $ac_word... " >&6; }
6573 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6574 $as_echo_n "(cached) " >&6
6575 else
6576 if test -n "$ac_ct_STRIP"; then
6577 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6578 else
6579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6580 for as_dir in $PATH
6581 do
6582 IFS=$as_save_IFS
6583 test -z "$as_dir" && as_dir=.
6584 for ac_exec_ext in '' $ac_executable_extensions; do
6585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6586 ac_cv_prog_ac_ct_STRIP="strip"
6587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6588 break 2
6589 fi
6590 done
6591 done
6592 IFS=$as_save_IFS
6593
6594 fi
6595 fi
6596 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6597 if test -n "$ac_ct_STRIP"; then
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6599 $as_echo "$ac_ct_STRIP" >&6; }
6600 else
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6602 $as_echo "no" >&6; }
6603 fi
6604
6605 if test "x$ac_ct_STRIP" = x; then
6606 STRIP=":"
6607 else
6608 case $cross_compiling:$ac_tool_warned in
6609 yes:)
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6612 ac_tool_warned=yes ;;
6613 esac
6614 STRIP=$ac_ct_STRIP
6615 fi
6616 else
6617 STRIP="$ac_cv_prog_STRIP"
6618 fi
6619
6620 test -z "$STRIP" && STRIP=:
6621
6622
6623
6624
6625
6626
6627 if test -n "$ac_tool_prefix"; then
6628 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6629 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6631 $as_echo_n "checking for $ac_word... " >&6; }
6632 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6633 $as_echo_n "(cached) " >&6
6634 else
6635 if test -n "$RANLIB"; then
6636 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6637 else
6638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6639 for as_dir in $PATH
6640 do
6641 IFS=$as_save_IFS
6642 test -z "$as_dir" && as_dir=.
6643 for ac_exec_ext in '' $ac_executable_extensions; do
6644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6645 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6647 break 2
6648 fi
6649 done
6650 done
6651 IFS=$as_save_IFS
6652
6653 fi
6654 fi
6655 RANLIB=$ac_cv_prog_RANLIB
6656 if test -n "$RANLIB"; then
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6658 $as_echo "$RANLIB" >&6; }
6659 else
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6661 $as_echo "no" >&6; }
6662 fi
6663
6664
6665 fi
6666 if test -z "$ac_cv_prog_RANLIB"; then
6667 ac_ct_RANLIB=$RANLIB
6668 # Extract the first word of "ranlib", so it can be a program name with args.
6669 set dummy ranlib; ac_word=$2
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6671 $as_echo_n "checking for $ac_word... " >&6; }
6672 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6673 $as_echo_n "(cached) " >&6
6674 else
6675 if test -n "$ac_ct_RANLIB"; then
6676 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6677 else
6678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6679 for as_dir in $PATH
6680 do
6681 IFS=$as_save_IFS
6682 test -z "$as_dir" && as_dir=.
6683 for ac_exec_ext in '' $ac_executable_extensions; do
6684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6685 ac_cv_prog_ac_ct_RANLIB="ranlib"
6686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6687 break 2
6688 fi
6689 done
6690 done
6691 IFS=$as_save_IFS
6692
6693 fi
6694 fi
6695 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6696 if test -n "$ac_ct_RANLIB"; then
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6698 $as_echo "$ac_ct_RANLIB" >&6; }
6699 else
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6701 $as_echo "no" >&6; }
6702 fi
6703
6704 if test "x$ac_ct_RANLIB" = x; then
6705 RANLIB=":"
6706 else
6707 case $cross_compiling:$ac_tool_warned in
6708 yes:)
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6711 ac_tool_warned=yes ;;
6712 esac
6713 RANLIB=$ac_ct_RANLIB
6714 fi
6715 else
6716 RANLIB="$ac_cv_prog_RANLIB"
6717 fi
6718
6719 test -z "$RANLIB" && RANLIB=:
6720
6721
6722
6723
6724
6725
6726 # Determine commands to create old-style static archives.
6727 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6728 old_postinstall_cmds='chmod 644 $oldlib'
6729 old_postuninstall_cmds=
6730
6731 if test -n "$RANLIB"; then
6732 case $host_os in
6733 openbsd*)
6734 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6735 ;;
6736 *)
6737 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6738 ;;
6739 esac
6740 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6741 fi
6742
6743 case $host_os in
6744 darwin*)
6745 lock_old_archive_extraction=yes ;;
6746 *)
6747 lock_old_archive_extraction=no ;;
6748 esac
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788 # If no C compiler was specified, use CC.
6789 LTCC=${LTCC-"$CC"}
6790
6791 # If no C compiler flags were specified, use CFLAGS.
6792 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6793
6794 # Allow CC to be a program name with arguments.
6795 compiler=$CC
6796
6797
6798 # Check for command to grab the raw symbol name followed by C symbol from nm.
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6800 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6801 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6802 $as_echo_n "(cached) " >&6
6803 else
6804
6805 # These are sane defaults that work on at least a few old systems.
6806 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6807
6808 # Character class describing NM global symbol codes.
6809 symcode='[BCDEGRST]'
6810
6811 # Regexp to match symbols that can be accessed directly from C.
6812 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6813
6814 # Define system-specific variables.
6815 case $host_os in
6816 aix*)
6817 symcode='[BCDT]'
6818 ;;
6819 cygwin* | mingw* | pw32* | cegcc*)
6820 symcode='[ABCDGISTW]'
6821 ;;
6822 hpux*)
6823 if test "$host_cpu" = ia64; then
6824 symcode='[ABCDEGRST]'
6825 fi
6826 ;;
6827 irix* | nonstopux*)
6828 symcode='[BCDEGRST]'
6829 ;;
6830 osf*)
6831 symcode='[BCDEGQRST]'
6832 ;;
6833 solaris*)
6834 symcode='[BDRT]'
6835 ;;
6836 sco3.2v5*)
6837 symcode='[DT]'
6838 ;;
6839 sysv4.2uw2*)
6840 symcode='[DT]'
6841 ;;
6842 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6843 symcode='[ABDT]'
6844 ;;
6845 sysv4)
6846 symcode='[DFNSTU]'
6847 ;;
6848 esac
6849
6850 # If we're using GNU nm, then use its standard symbol codes.
6851 case `$NM -V 2>&1` in
6852 *GNU* | *'with BFD'*)
6853 symcode='[ABCDGIRSTW]' ;;
6854 esac
6855
6856 # Transform an extracted symbol line into a proper C declaration.
6857 # Some systems (esp. on ia64) link data and code symbols differently,
6858 # so use this general approach.
6859 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6860
6861 # Transform an extracted symbol line into symbol name and symbol address
6862 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6863 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'"
6864
6865 # Handle CRLF in mingw tool chain
6866 opt_cr=
6867 case $build_os in
6868 mingw*)
6869 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6870 ;;
6871 esac
6872
6873 # Try without a prefix underscore, then with it.
6874 for ac_symprfx in "" "_"; do
6875
6876 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6877 symxfrm="\\1 $ac_symprfx\\2 \\2"
6878
6879 # Write the raw and C identifiers.
6880 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6881 # Fake it for dumpbin and say T for any non-static function
6882 # and D for any global variable.
6883 # Also find C++ and __fastcall symbols from MSVC++,
6884 # which start with @ or ?.
6885 lt_cv_sys_global_symbol_pipe="$AWK '"\
6886 " {last_section=section; section=\$ 3};"\
6887 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6888 " \$ 0!~/External *\|/{next};"\
6889 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6890 " {if(hide[section]) next};"\
6891 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6892 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6893 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6894 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6895 " ' prfx=^$ac_symprfx"
6896 else
6897 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6898 fi
6899
6900 # Check to see that the pipe works correctly.
6901 pipe_works=no
6902
6903 rm -f conftest*
6904 cat > conftest.$ac_ext <<_LT_EOF
6905 #ifdef __cplusplus
6906 extern "C" {
6907 #endif
6908 char nm_test_var;
6909 void nm_test_func(void);
6910 void nm_test_func(void){}
6911 #ifdef __cplusplus
6912 }
6913 #endif
6914 int main(){nm_test_var='a';nm_test_func();return(0);}
6915 _LT_EOF
6916
6917 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6918 (eval $ac_compile) 2>&5
6919 ac_status=$?
6920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6921 test $ac_status = 0; }; then
6922 # Now try to grab the symbols.
6923 nlist=conftest.nm
6924 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6925 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6926 ac_status=$?
6927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6928 test $ac_status = 0; } && test -s "$nlist"; then
6929 # Try sorting and uniquifying the output.
6930 if sort "$nlist" | uniq > "$nlist"T; then
6931 mv -f "$nlist"T "$nlist"
6932 else
6933 rm -f "$nlist"T
6934 fi
6935
6936 # Make sure that we snagged all the symbols we need.
6937 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6938 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6939 cat <<_LT_EOF > conftest.$ac_ext
6940 #ifdef __cplusplus
6941 extern "C" {
6942 #endif
6943
6944 _LT_EOF
6945 # Now generate the symbol file.
6946 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6947
6948 cat <<_LT_EOF >> conftest.$ac_ext
6949
6950 /* The mapping between symbol names and symbols. */
6951 const struct {
6952 const char *name;
6953 void *address;
6954 }
6955 lt__PROGRAM__LTX_preloaded_symbols[] =
6956 {
6957 { "@PROGRAM@", (void *) 0 },
6958 _LT_EOF
6959 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6960 cat <<\_LT_EOF >> conftest.$ac_ext
6961 {0, (void *) 0}
6962 };
6963
6964 /* This works around a problem in FreeBSD linker */
6965 #ifdef FREEBSD_WORKAROUND
6966 static const void *lt_preloaded_setup() {
6967 return lt__PROGRAM__LTX_preloaded_symbols;
6968 }
6969 #endif
6970
6971 #ifdef __cplusplus
6972 }
6973 #endif
6974 _LT_EOF
6975 # Now try linking the two files.
6976 mv conftest.$ac_objext conftstm.$ac_objext
6977 lt_save_LIBS="$LIBS"
6978 lt_save_CFLAGS="$CFLAGS"
6979 LIBS="conftstm.$ac_objext"
6980 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6981 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6982 (eval $ac_link) 2>&5
6983 ac_status=$?
6984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6985 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6986 pipe_works=yes
6987 fi
6988 LIBS="$lt_save_LIBS"
6989 CFLAGS="$lt_save_CFLAGS"
6990 else
6991 echo "cannot find nm_test_func in $nlist" >&5
6992 fi
6993 else
6994 echo "cannot find nm_test_var in $nlist" >&5
6995 fi
6996 else
6997 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6998 fi
6999 else
7000 echo "$progname: failed program was:" >&5
7001 cat conftest.$ac_ext >&5
7002 fi
7003 rm -rf conftest* conftst*
7004
7005 # Do not use the global_symbol_pipe unless it works.
7006 if test "$pipe_works" = yes; then
7007 break
7008 else
7009 lt_cv_sys_global_symbol_pipe=
7010 fi
7011 done
7012
7013 fi
7014
7015 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7016 lt_cv_sys_global_symbol_to_cdecl=
7017 fi
7018 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7020 $as_echo "failed" >&6; }
7021 else
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7023 $as_echo "ok" >&6; }
7024 fi
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047 # Check whether --enable-libtool-lock was given.
7048 if test "${enable_libtool_lock+set}" = set; then :
7049 enableval=$enable_libtool_lock;
7050 fi
7051
7052 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7053
7054 # Some flags need to be propagated to the compiler or linker for good
7055 # libtool support.
7056 case $host in
7057 ia64-*-hpux*)
7058 # Find out which ABI we are using.
7059 echo 'int i;' > conftest.$ac_ext
7060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7061 (eval $ac_compile) 2>&5
7062 ac_status=$?
7063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7064 test $ac_status = 0; }; then
7065 case `/usr/bin/file conftest.$ac_objext` in
7066 *ELF-32*)
7067 HPUX_IA64_MODE="32"
7068 ;;
7069 *ELF-64*)
7070 HPUX_IA64_MODE="64"
7071 ;;
7072 esac
7073 fi
7074 rm -rf conftest*
7075 ;;
7076 *-*-irix6*)
7077 # Find out which ABI we are using.
7078 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7079 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7080 (eval $ac_compile) 2>&5
7081 ac_status=$?
7082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7083 test $ac_status = 0; }; then
7084 if test "$lt_cv_prog_gnu_ld" = yes; then
7085 case `/usr/bin/file conftest.$ac_objext` in
7086 *32-bit*)
7087 LD="${LD-ld} -melf32bsmip"
7088 ;;
7089 *N32*)
7090 LD="${LD-ld} -melf32bmipn32"
7091 ;;
7092 *64-bit*)
7093 LD="${LD-ld} -melf64bmip"
7094 ;;
7095 esac
7096 else
7097 case `/usr/bin/file conftest.$ac_objext` in
7098 *32-bit*)
7099 LD="${LD-ld} -32"
7100 ;;
7101 *N32*)
7102 LD="${LD-ld} -n32"
7103 ;;
7104 *64-bit*)
7105 LD="${LD-ld} -64"
7106 ;;
7107 esac
7108 fi
7109 fi
7110 rm -rf conftest*
7111 ;;
7112
7113 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7114 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7115 # Find out which ABI we are using.
7116 echo 'int i;' > conftest.$ac_ext
7117 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7118 (eval $ac_compile) 2>&5
7119 ac_status=$?
7120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7121 test $ac_status = 0; }; then
7122 case `/usr/bin/file conftest.o` in
7123 *32-bit*)
7124 case $host in
7125 x86_64-*kfreebsd*-gnu)
7126 LD="${LD-ld} -m elf_i386_fbsd"
7127 ;;
7128 x86_64-*linux*)
7129 case `/usr/bin/file conftest.o` in
7130 *x86-64*)
7131 LD="${LD-ld} -m elf32_x86_64"
7132 ;;
7133 *)
7134 LD="${LD-ld} -m elf_i386"
7135 ;;
7136 esac
7137 ;;
7138 ppc64-*linux*|powerpc64-*linux*)
7139 LD="${LD-ld} -m elf32ppclinux"
7140 ;;
7141 s390x-*linux*)
7142 LD="${LD-ld} -m elf_s390"
7143 ;;
7144 sparc64-*linux*)
7145 LD="${LD-ld} -m elf32_sparc"
7146 ;;
7147 esac
7148 ;;
7149 *64-bit*)
7150 case $host in
7151 x86_64-*kfreebsd*-gnu)
7152 LD="${LD-ld} -m elf_x86_64_fbsd"
7153 ;;
7154 x86_64-*linux*)
7155 LD="${LD-ld} -m elf_x86_64"
7156 ;;
7157 ppc*-*linux*|powerpc*-*linux*)
7158 LD="${LD-ld} -m elf64ppc"
7159 ;;
7160 s390*-*linux*|s390*-*tpf*)
7161 LD="${LD-ld} -m elf64_s390"
7162 ;;
7163 sparc*-*linux*)
7164 LD="${LD-ld} -m elf64_sparc"
7165 ;;
7166 esac
7167 ;;
7168 esac
7169 fi
7170 rm -rf conftest*
7171 ;;
7172
7173 *-*-sco3.2v5*)
7174 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7175 SAVE_CFLAGS="$CFLAGS"
7176 CFLAGS="$CFLAGS -belf"
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7178 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7179 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7180 $as_echo_n "(cached) " >&6
7181 else
7182 ac_ext=c
7183 ac_cpp='$CPP $CPPFLAGS'
7184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7187
7188 if test x$gcc_no_link = xyes; then
7189 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7190 fi
7191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7192 /* end confdefs.h. */
7193
7194 int
7195 main ()
7196 {
7197
7198 ;
7199 return 0;
7200 }
7201 _ACEOF
7202 if ac_fn_c_try_link "$LINENO"; then :
7203 lt_cv_cc_needs_belf=yes
7204 else
7205 lt_cv_cc_needs_belf=no
7206 fi
7207 rm -f core conftest.err conftest.$ac_objext \
7208 conftest$ac_exeext conftest.$ac_ext
7209 ac_ext=c
7210 ac_cpp='$CPP $CPPFLAGS'
7211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7214
7215 fi
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7217 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7218 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7219 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7220 CFLAGS="$SAVE_CFLAGS"
7221 fi
7222 ;;
7223 sparc*-*solaris*)
7224 # Find out which ABI we are using.
7225 echo 'int i;' > conftest.$ac_ext
7226 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7227 (eval $ac_compile) 2>&5
7228 ac_status=$?
7229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7230 test $ac_status = 0; }; then
7231 case `/usr/bin/file conftest.o` in
7232 *64-bit*)
7233 case $lt_cv_prog_gnu_ld in
7234 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7235 *)
7236 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7237 LD="${LD-ld} -64"
7238 fi
7239 ;;
7240 esac
7241 ;;
7242 esac
7243 fi
7244 rm -rf conftest*
7245 ;;
7246 esac
7247
7248 need_locks="$enable_libtool_lock"
7249
7250
7251 case $host_os in
7252 rhapsody* | darwin*)
7253 if test -n "$ac_tool_prefix"; then
7254 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7255 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7257 $as_echo_n "checking for $ac_word... " >&6; }
7258 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7259 $as_echo_n "(cached) " >&6
7260 else
7261 if test -n "$DSYMUTIL"; then
7262 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7263 else
7264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7265 for as_dir in $PATH
7266 do
7267 IFS=$as_save_IFS
7268 test -z "$as_dir" && as_dir=.
7269 for ac_exec_ext in '' $ac_executable_extensions; do
7270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7271 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7273 break 2
7274 fi
7275 done
7276 done
7277 IFS=$as_save_IFS
7278
7279 fi
7280 fi
7281 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7282 if test -n "$DSYMUTIL"; then
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7284 $as_echo "$DSYMUTIL" >&6; }
7285 else
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7287 $as_echo "no" >&6; }
7288 fi
7289
7290
7291 fi
7292 if test -z "$ac_cv_prog_DSYMUTIL"; then
7293 ac_ct_DSYMUTIL=$DSYMUTIL
7294 # Extract the first word of "dsymutil", so it can be a program name with args.
7295 set dummy dsymutil; ac_word=$2
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7297 $as_echo_n "checking for $ac_word... " >&6; }
7298 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7299 $as_echo_n "(cached) " >&6
7300 else
7301 if test -n "$ac_ct_DSYMUTIL"; then
7302 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7303 else
7304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7305 for as_dir in $PATH
7306 do
7307 IFS=$as_save_IFS
7308 test -z "$as_dir" && as_dir=.
7309 for ac_exec_ext in '' $ac_executable_extensions; do
7310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7311 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7313 break 2
7314 fi
7315 done
7316 done
7317 IFS=$as_save_IFS
7318
7319 fi
7320 fi
7321 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7322 if test -n "$ac_ct_DSYMUTIL"; then
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7324 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7325 else
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7327 $as_echo "no" >&6; }
7328 fi
7329
7330 if test "x$ac_ct_DSYMUTIL" = x; then
7331 DSYMUTIL=":"
7332 else
7333 case $cross_compiling:$ac_tool_warned in
7334 yes:)
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7337 ac_tool_warned=yes ;;
7338 esac
7339 DSYMUTIL=$ac_ct_DSYMUTIL
7340 fi
7341 else
7342 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7343 fi
7344
7345 if test -n "$ac_tool_prefix"; then
7346 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7347 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7349 $as_echo_n "checking for $ac_word... " >&6; }
7350 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7351 $as_echo_n "(cached) " >&6
7352 else
7353 if test -n "$NMEDIT"; then
7354 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7355 else
7356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7357 for as_dir in $PATH
7358 do
7359 IFS=$as_save_IFS
7360 test -z "$as_dir" && as_dir=.
7361 for ac_exec_ext in '' $ac_executable_extensions; do
7362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7363 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7365 break 2
7366 fi
7367 done
7368 done
7369 IFS=$as_save_IFS
7370
7371 fi
7372 fi
7373 NMEDIT=$ac_cv_prog_NMEDIT
7374 if test -n "$NMEDIT"; then
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7376 $as_echo "$NMEDIT" >&6; }
7377 else
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7379 $as_echo "no" >&6; }
7380 fi
7381
7382
7383 fi
7384 if test -z "$ac_cv_prog_NMEDIT"; then
7385 ac_ct_NMEDIT=$NMEDIT
7386 # Extract the first word of "nmedit", so it can be a program name with args.
7387 set dummy nmedit; ac_word=$2
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7389 $as_echo_n "checking for $ac_word... " >&6; }
7390 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7391 $as_echo_n "(cached) " >&6
7392 else
7393 if test -n "$ac_ct_NMEDIT"; then
7394 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7395 else
7396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7397 for as_dir in $PATH
7398 do
7399 IFS=$as_save_IFS
7400 test -z "$as_dir" && as_dir=.
7401 for ac_exec_ext in '' $ac_executable_extensions; do
7402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7403 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7405 break 2
7406 fi
7407 done
7408 done
7409 IFS=$as_save_IFS
7410
7411 fi
7412 fi
7413 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7414 if test -n "$ac_ct_NMEDIT"; then
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7416 $as_echo "$ac_ct_NMEDIT" >&6; }
7417 else
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7419 $as_echo "no" >&6; }
7420 fi
7421
7422 if test "x$ac_ct_NMEDIT" = x; then
7423 NMEDIT=":"
7424 else
7425 case $cross_compiling:$ac_tool_warned in
7426 yes:)
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7429 ac_tool_warned=yes ;;
7430 esac
7431 NMEDIT=$ac_ct_NMEDIT
7432 fi
7433 else
7434 NMEDIT="$ac_cv_prog_NMEDIT"
7435 fi
7436
7437 if test -n "$ac_tool_prefix"; then
7438 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7439 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7441 $as_echo_n "checking for $ac_word... " >&6; }
7442 if test "${ac_cv_prog_LIPO+set}" = set; then :
7443 $as_echo_n "(cached) " >&6
7444 else
7445 if test -n "$LIPO"; then
7446 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7447 else
7448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7449 for as_dir in $PATH
7450 do
7451 IFS=$as_save_IFS
7452 test -z "$as_dir" && as_dir=.
7453 for ac_exec_ext in '' $ac_executable_extensions; do
7454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7455 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7457 break 2
7458 fi
7459 done
7460 done
7461 IFS=$as_save_IFS
7462
7463 fi
7464 fi
7465 LIPO=$ac_cv_prog_LIPO
7466 if test -n "$LIPO"; then
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7468 $as_echo "$LIPO" >&6; }
7469 else
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7471 $as_echo "no" >&6; }
7472 fi
7473
7474
7475 fi
7476 if test -z "$ac_cv_prog_LIPO"; then
7477 ac_ct_LIPO=$LIPO
7478 # Extract the first word of "lipo", so it can be a program name with args.
7479 set dummy lipo; ac_word=$2
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7481 $as_echo_n "checking for $ac_word... " >&6; }
7482 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7483 $as_echo_n "(cached) " >&6
7484 else
7485 if test -n "$ac_ct_LIPO"; then
7486 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7487 else
7488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7489 for as_dir in $PATH
7490 do
7491 IFS=$as_save_IFS
7492 test -z "$as_dir" && as_dir=.
7493 for ac_exec_ext in '' $ac_executable_extensions; do
7494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7495 ac_cv_prog_ac_ct_LIPO="lipo"
7496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7497 break 2
7498 fi
7499 done
7500 done
7501 IFS=$as_save_IFS
7502
7503 fi
7504 fi
7505 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7506 if test -n "$ac_ct_LIPO"; then
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7508 $as_echo "$ac_ct_LIPO" >&6; }
7509 else
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7511 $as_echo "no" >&6; }
7512 fi
7513
7514 if test "x$ac_ct_LIPO" = x; then
7515 LIPO=":"
7516 else
7517 case $cross_compiling:$ac_tool_warned in
7518 yes:)
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7521 ac_tool_warned=yes ;;
7522 esac
7523 LIPO=$ac_ct_LIPO
7524 fi
7525 else
7526 LIPO="$ac_cv_prog_LIPO"
7527 fi
7528
7529 if test -n "$ac_tool_prefix"; then
7530 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7531 set dummy ${ac_tool_prefix}otool; ac_word=$2
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7533 $as_echo_n "checking for $ac_word... " >&6; }
7534 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7535 $as_echo_n "(cached) " >&6
7536 else
7537 if test -n "$OTOOL"; then
7538 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7539 else
7540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7541 for as_dir in $PATH
7542 do
7543 IFS=$as_save_IFS
7544 test -z "$as_dir" && as_dir=.
7545 for ac_exec_ext in '' $ac_executable_extensions; do
7546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7547 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7549 break 2
7550 fi
7551 done
7552 done
7553 IFS=$as_save_IFS
7554
7555 fi
7556 fi
7557 OTOOL=$ac_cv_prog_OTOOL
7558 if test -n "$OTOOL"; then
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7560 $as_echo "$OTOOL" >&6; }
7561 else
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7563 $as_echo "no" >&6; }
7564 fi
7565
7566
7567 fi
7568 if test -z "$ac_cv_prog_OTOOL"; then
7569 ac_ct_OTOOL=$OTOOL
7570 # Extract the first word of "otool", so it can be a program name with args.
7571 set dummy otool; ac_word=$2
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7573 $as_echo_n "checking for $ac_word... " >&6; }
7574 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7575 $as_echo_n "(cached) " >&6
7576 else
7577 if test -n "$ac_ct_OTOOL"; then
7578 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7579 else
7580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7581 for as_dir in $PATH
7582 do
7583 IFS=$as_save_IFS
7584 test -z "$as_dir" && as_dir=.
7585 for ac_exec_ext in '' $ac_executable_extensions; do
7586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7587 ac_cv_prog_ac_ct_OTOOL="otool"
7588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7589 break 2
7590 fi
7591 done
7592 done
7593 IFS=$as_save_IFS
7594
7595 fi
7596 fi
7597 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7598 if test -n "$ac_ct_OTOOL"; then
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7600 $as_echo "$ac_ct_OTOOL" >&6; }
7601 else
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7603 $as_echo "no" >&6; }
7604 fi
7605
7606 if test "x$ac_ct_OTOOL" = x; then
7607 OTOOL=":"
7608 else
7609 case $cross_compiling:$ac_tool_warned in
7610 yes:)
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7613 ac_tool_warned=yes ;;
7614 esac
7615 OTOOL=$ac_ct_OTOOL
7616 fi
7617 else
7618 OTOOL="$ac_cv_prog_OTOOL"
7619 fi
7620
7621 if test -n "$ac_tool_prefix"; then
7622 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7623 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7625 $as_echo_n "checking for $ac_word... " >&6; }
7626 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7627 $as_echo_n "(cached) " >&6
7628 else
7629 if test -n "$OTOOL64"; then
7630 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7631 else
7632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7633 for as_dir in $PATH
7634 do
7635 IFS=$as_save_IFS
7636 test -z "$as_dir" && as_dir=.
7637 for ac_exec_ext in '' $ac_executable_extensions; do
7638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7639 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7641 break 2
7642 fi
7643 done
7644 done
7645 IFS=$as_save_IFS
7646
7647 fi
7648 fi
7649 OTOOL64=$ac_cv_prog_OTOOL64
7650 if test -n "$OTOOL64"; then
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7652 $as_echo "$OTOOL64" >&6; }
7653 else
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7655 $as_echo "no" >&6; }
7656 fi
7657
7658
7659 fi
7660 if test -z "$ac_cv_prog_OTOOL64"; then
7661 ac_ct_OTOOL64=$OTOOL64
7662 # Extract the first word of "otool64", so it can be a program name with args.
7663 set dummy otool64; ac_word=$2
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7665 $as_echo_n "checking for $ac_word... " >&6; }
7666 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7667 $as_echo_n "(cached) " >&6
7668 else
7669 if test -n "$ac_ct_OTOOL64"; then
7670 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7671 else
7672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7673 for as_dir in $PATH
7674 do
7675 IFS=$as_save_IFS
7676 test -z "$as_dir" && as_dir=.
7677 for ac_exec_ext in '' $ac_executable_extensions; do
7678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7679 ac_cv_prog_ac_ct_OTOOL64="otool64"
7680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7681 break 2
7682 fi
7683 done
7684 done
7685 IFS=$as_save_IFS
7686
7687 fi
7688 fi
7689 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7690 if test -n "$ac_ct_OTOOL64"; then
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7692 $as_echo "$ac_ct_OTOOL64" >&6; }
7693 else
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7695 $as_echo "no" >&6; }
7696 fi
7697
7698 if test "x$ac_ct_OTOOL64" = x; then
7699 OTOOL64=":"
7700 else
7701 case $cross_compiling:$ac_tool_warned in
7702 yes:)
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7705 ac_tool_warned=yes ;;
7706 esac
7707 OTOOL64=$ac_ct_OTOOL64
7708 fi
7709 else
7710 OTOOL64="$ac_cv_prog_OTOOL64"
7711 fi
7712
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7740 $as_echo_n "checking for -single_module linker flag... " >&6; }
7741 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7742 $as_echo_n "(cached) " >&6
7743 else
7744 lt_cv_apple_cc_single_mod=no
7745 if test -z "${LT_MULTI_MODULE}"; then
7746 # By default we will add the -single_module flag. You can override
7747 # by either setting the environment variable LT_MULTI_MODULE
7748 # non-empty at configure time, or by adding -multi_module to the
7749 # link flags.
7750 rm -rf libconftest.dylib*
7751 echo "int foo(void){return 1;}" > conftest.c
7752 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7753 -dynamiclib -Wl,-single_module conftest.c" >&5
7754 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7755 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7756 _lt_result=$?
7757 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7758 lt_cv_apple_cc_single_mod=yes
7759 else
7760 cat conftest.err >&5
7761 fi
7762 rm -rf libconftest.dylib*
7763 rm -f conftest.*
7764 fi
7765 fi
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7767 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7769 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7770 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7771 $as_echo_n "(cached) " >&6
7772 else
7773 lt_cv_ld_exported_symbols_list=no
7774 save_LDFLAGS=$LDFLAGS
7775 echo "_main" > conftest.sym
7776 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7777 if test x$gcc_no_link = xyes; then
7778 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7779 fi
7780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7781 /* end confdefs.h. */
7782
7783 int
7784 main ()
7785 {
7786
7787 ;
7788 return 0;
7789 }
7790 _ACEOF
7791 if ac_fn_c_try_link "$LINENO"; then :
7792 lt_cv_ld_exported_symbols_list=yes
7793 else
7794 lt_cv_ld_exported_symbols_list=no
7795 fi
7796 rm -f core conftest.err conftest.$ac_objext \
7797 conftest$ac_exeext conftest.$ac_ext
7798 LDFLAGS="$save_LDFLAGS"
7799
7800 fi
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7802 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7804 $as_echo_n "checking for -force_load linker flag... " >&6; }
7805 if test "${lt_cv_ld_force_load+set}" = set; then :
7806 $as_echo_n "(cached) " >&6
7807 else
7808 lt_cv_ld_force_load=no
7809 cat > conftest.c << _LT_EOF
7810 int forced_loaded() { return 2;}
7811 _LT_EOF
7812 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7813 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7814 echo "$AR cru libconftest.a conftest.o" >&5
7815 $AR cru libconftest.a conftest.o 2>&5
7816 cat > conftest.c << _LT_EOF
7817 int main() { return 0;}
7818 _LT_EOF
7819 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7820 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7821 _lt_result=$?
7822 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7823 lt_cv_ld_force_load=yes
7824 else
7825 cat conftest.err >&5
7826 fi
7827 rm -f conftest.err libconftest.a conftest conftest.c
7828 rm -rf conftest.dSYM
7829
7830 fi
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7832 $as_echo "$lt_cv_ld_force_load" >&6; }
7833 case $host_os in
7834 rhapsody* | darwin1.[012])
7835 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7836 darwin1.*)
7837 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7838 darwin*) # darwin 5.x on
7839 # if running on 10.5 or later, the deployment target defaults
7840 # to the OS version, if on x86, and 10.4, the deployment
7841 # target defaults to 10.4. Don't you love it?
7842 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7843 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7844 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7845 10.[012]*)
7846 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7847 10.*)
7848 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7849 esac
7850 ;;
7851 esac
7852 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7853 _lt_dar_single_mod='$single_module'
7854 fi
7855 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7856 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7857 else
7858 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7859 fi
7860 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7861 _lt_dsymutil='~$DSYMUTIL $lib || :'
7862 else
7863 _lt_dsymutil=
7864 fi
7865 ;;
7866 esac
7867
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7869 $as_echo_n "checking for ANSI C header files... " >&6; }
7870 if test "${ac_cv_header_stdc+set}" = set; then :
7871 $as_echo_n "(cached) " >&6
7872 else
7873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7874 /* end confdefs.h. */
7875 #include <stdlib.h>
7876 #include <stdarg.h>
7877 #include <string.h>
7878 #include <float.h>
7879
7880 int
7881 main ()
7882 {
7883
7884 ;
7885 return 0;
7886 }
7887 _ACEOF
7888 if ac_fn_c_try_compile "$LINENO"; then :
7889 ac_cv_header_stdc=yes
7890 else
7891 ac_cv_header_stdc=no
7892 fi
7893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7894
7895 if test $ac_cv_header_stdc = yes; then
7896 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7898 /* end confdefs.h. */
7899 #include <string.h>
7900
7901 _ACEOF
7902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7903 $EGREP "memchr" >/dev/null 2>&1; then :
7904
7905 else
7906 ac_cv_header_stdc=no
7907 fi
7908 rm -f conftest*
7909
7910 fi
7911
7912 if test $ac_cv_header_stdc = yes; then
7913 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7915 /* end confdefs.h. */
7916 #include <stdlib.h>
7917
7918 _ACEOF
7919 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7920 $EGREP "free" >/dev/null 2>&1; then :
7921
7922 else
7923 ac_cv_header_stdc=no
7924 fi
7925 rm -f conftest*
7926
7927 fi
7928
7929 if test $ac_cv_header_stdc = yes; then
7930 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7931 if test "$cross_compiling" = yes; then :
7932 :
7933 else
7934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7935 /* end confdefs.h. */
7936 #include <ctype.h>
7937 #include <stdlib.h>
7938 #if ((' ' & 0x0FF) == 0x020)
7939 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7940 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7941 #else
7942 # define ISLOWER(c) \
7943 (('a' <= (c) && (c) <= 'i') \
7944 || ('j' <= (c) && (c) <= 'r') \
7945 || ('s' <= (c) && (c) <= 'z'))
7946 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7947 #endif
7948
7949 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7950 int
7951 main ()
7952 {
7953 int i;
7954 for (i = 0; i < 256; i++)
7955 if (XOR (islower (i), ISLOWER (i))
7956 || toupper (i) != TOUPPER (i))
7957 return 2;
7958 return 0;
7959 }
7960 _ACEOF
7961 if ac_fn_c_try_run "$LINENO"; then :
7962
7963 else
7964 ac_cv_header_stdc=no
7965 fi
7966 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7967 conftest.$ac_objext conftest.beam conftest.$ac_ext
7968 fi
7969
7970 fi
7971 fi
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7973 $as_echo "$ac_cv_header_stdc" >&6; }
7974 if test $ac_cv_header_stdc = yes; then
7975
7976 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7977
7978 fi
7979
7980 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7981 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7982 inttypes.h stdint.h unistd.h
7983 do :
7984 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7985 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7986 "
7987 eval as_val=\$$as_ac_Header
7988 if test "x$as_val" = x""yes; then :
7989 cat >>confdefs.h <<_ACEOF
7990 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7991 _ACEOF
7992
7993 fi
7994
7995 done
7996
7997
7998 for ac_header in dlfcn.h
7999 do :
8000 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8001 "
8002 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8003 cat >>confdefs.h <<_ACEOF
8004 #define HAVE_DLFCN_H 1
8005 _ACEOF
8006
8007 fi
8008
8009 done
8010
8011
8012
8013
8014
8015
8016 # Set options
8017
8018
8019
8020
8021 enable_win32_dll=no
8022
8023
8024 # Check whether --enable-shared was given.
8025 if test "${enable_shared+set}" = set; then :
8026 enableval=$enable_shared; p=${PACKAGE-default}
8027 case $enableval in
8028 yes) enable_shared=yes ;;
8029 no) enable_shared=no ;;
8030 *)
8031 enable_shared=no
8032 # Look at the argument we got. We use all the common list separators.
8033 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8034 for pkg in $enableval; do
8035 IFS="$lt_save_ifs"
8036 if test "X$pkg" = "X$p"; then
8037 enable_shared=yes
8038 fi
8039 done
8040 IFS="$lt_save_ifs"
8041 ;;
8042 esac
8043 else
8044 enable_shared=yes
8045 fi
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055 # Check whether --enable-static was given.
8056 if test "${enable_static+set}" = set; then :
8057 enableval=$enable_static; p=${PACKAGE-default}
8058 case $enableval in
8059 yes) enable_static=yes ;;
8060 no) enable_static=no ;;
8061 *)
8062 enable_static=no
8063 # Look at the argument we got. We use all the common list separators.
8064 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8065 for pkg in $enableval; do
8066 IFS="$lt_save_ifs"
8067 if test "X$pkg" = "X$p"; then
8068 enable_static=yes
8069 fi
8070 done
8071 IFS="$lt_save_ifs"
8072 ;;
8073 esac
8074 else
8075 enable_static=yes
8076 fi
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087 # Check whether --with-pic was given.
8088 if test "${with_pic+set}" = set; then :
8089 withval=$with_pic; pic_mode="$withval"
8090 else
8091 pic_mode=default
8092 fi
8093
8094
8095 test -z "$pic_mode" && pic_mode=default
8096
8097
8098
8099
8100
8101
8102
8103 # Check whether --enable-fast-install was given.
8104 if test "${enable_fast_install+set}" = set; then :
8105 enableval=$enable_fast_install; p=${PACKAGE-default}
8106 case $enableval in
8107 yes) enable_fast_install=yes ;;
8108 no) enable_fast_install=no ;;
8109 *)
8110 enable_fast_install=no
8111 # Look at the argument we got. We use all the common list separators.
8112 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8113 for pkg in $enableval; do
8114 IFS="$lt_save_ifs"
8115 if test "X$pkg" = "X$p"; then
8116 enable_fast_install=yes
8117 fi
8118 done
8119 IFS="$lt_save_ifs"
8120 ;;
8121 esac
8122 else
8123 enable_fast_install=yes
8124 fi
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136 # This can be used to rebuild libtool when needed
8137 LIBTOOL_DEPS="$ltmain"
8138
8139 # Always use our own libtool.
8140 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8141
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 test -z "$LN_S" && LN_S="ln -s"
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182 if test -n "${ZSH_VERSION+set}" ; then
8183 setopt NO_GLOB_SUBST
8184 fi
8185
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8187 $as_echo_n "checking for objdir... " >&6; }
8188 if test "${lt_cv_objdir+set}" = set; then :
8189 $as_echo_n "(cached) " >&6
8190 else
8191 rm -f .libs 2>/dev/null
8192 mkdir .libs 2>/dev/null
8193 if test -d .libs; then
8194 lt_cv_objdir=.libs
8195 else
8196 # MS-DOS does not allow filenames that begin with a dot.
8197 lt_cv_objdir=_libs
8198 fi
8199 rmdir .libs 2>/dev/null
8200 fi
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8202 $as_echo "$lt_cv_objdir" >&6; }
8203 objdir=$lt_cv_objdir
8204
8205
8206
8207
8208
8209 cat >>confdefs.h <<_ACEOF
8210 #define LT_OBJDIR "$lt_cv_objdir/"
8211 _ACEOF
8212
8213
8214
8215
8216 case $host_os in
8217 aix3*)
8218 # AIX sometimes has problems with the GCC collect2 program. For some
8219 # reason, if we set the COLLECT_NAMES environment variable, the problems
8220 # vanish in a puff of smoke.
8221 if test "X${COLLECT_NAMES+set}" != Xset; then
8222 COLLECT_NAMES=
8223 export COLLECT_NAMES
8224 fi
8225 ;;
8226 esac
8227
8228 # Global variables:
8229 ofile=libtool
8230 can_build_shared=yes
8231
8232 # All known linkers require a `.a' archive for static linking (except MSVC,
8233 # which needs '.lib').
8234 libext=a
8235
8236 with_gnu_ld="$lt_cv_prog_gnu_ld"
8237
8238 old_CC="$CC"
8239 old_CFLAGS="$CFLAGS"
8240
8241 # Set sane defaults for various variables
8242 test -z "$CC" && CC=cc
8243 test -z "$LTCC" && LTCC=$CC
8244 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8245 test -z "$LD" && LD=ld
8246 test -z "$ac_objext" && ac_objext=o
8247
8248 for cc_temp in $compiler""; do
8249 case $cc_temp in
8250 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8251 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8252 \-*) ;;
8253 *) break;;
8254 esac
8255 done
8256 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8257
8258
8259 # Only perform the check for file, if the check method requires it
8260 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8261 case $deplibs_check_method in
8262 file_magic*)
8263 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8265 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8266 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8267 $as_echo_n "(cached) " >&6
8268 else
8269 case $MAGIC_CMD in
8270 [\\/*] | ?:[\\/]*)
8271 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8272 ;;
8273 *)
8274 lt_save_MAGIC_CMD="$MAGIC_CMD"
8275 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8276 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8277 for ac_dir in $ac_dummy; do
8278 IFS="$lt_save_ifs"
8279 test -z "$ac_dir" && ac_dir=.
8280 if test -f $ac_dir/${ac_tool_prefix}file; then
8281 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8282 if test -n "$file_magic_test_file"; then
8283 case $deplibs_check_method in
8284 "file_magic "*)
8285 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8286 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8287 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8288 $EGREP "$file_magic_regex" > /dev/null; then
8289 :
8290 else
8291 cat <<_LT_EOF 1>&2
8292
8293 *** Warning: the command libtool uses to detect shared libraries,
8294 *** $file_magic_cmd, produces output that libtool cannot recognize.
8295 *** The result is that libtool may fail to recognize shared libraries
8296 *** as such. This will affect the creation of libtool libraries that
8297 *** depend on shared libraries, but programs linked with such libtool
8298 *** libraries will work regardless of this problem. Nevertheless, you
8299 *** may want to report the problem to your system manager and/or to
8300 *** bug-libtool@gnu.org
8301
8302 _LT_EOF
8303 fi ;;
8304 esac
8305 fi
8306 break
8307 fi
8308 done
8309 IFS="$lt_save_ifs"
8310 MAGIC_CMD="$lt_save_MAGIC_CMD"
8311 ;;
8312 esac
8313 fi
8314
8315 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8316 if test -n "$MAGIC_CMD"; then
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8318 $as_echo "$MAGIC_CMD" >&6; }
8319 else
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8321 $as_echo "no" >&6; }
8322 fi
8323
8324
8325
8326
8327
8328 if test -z "$lt_cv_path_MAGIC_CMD"; then
8329 if test -n "$ac_tool_prefix"; then
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8331 $as_echo_n "checking for file... " >&6; }
8332 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8333 $as_echo_n "(cached) " >&6
8334 else
8335 case $MAGIC_CMD in
8336 [\\/*] | ?:[\\/]*)
8337 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8338 ;;
8339 *)
8340 lt_save_MAGIC_CMD="$MAGIC_CMD"
8341 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8342 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8343 for ac_dir in $ac_dummy; do
8344 IFS="$lt_save_ifs"
8345 test -z "$ac_dir" && ac_dir=.
8346 if test -f $ac_dir/file; then
8347 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8348 if test -n "$file_magic_test_file"; then
8349 case $deplibs_check_method in
8350 "file_magic "*)
8351 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8352 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8353 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8354 $EGREP "$file_magic_regex" > /dev/null; then
8355 :
8356 else
8357 cat <<_LT_EOF 1>&2
8358
8359 *** Warning: the command libtool uses to detect shared libraries,
8360 *** $file_magic_cmd, produces output that libtool cannot recognize.
8361 *** The result is that libtool may fail to recognize shared libraries
8362 *** as such. This will affect the creation of libtool libraries that
8363 *** depend on shared libraries, but programs linked with such libtool
8364 *** libraries will work regardless of this problem. Nevertheless, you
8365 *** may want to report the problem to your system manager and/or to
8366 *** bug-libtool@gnu.org
8367
8368 _LT_EOF
8369 fi ;;
8370 esac
8371 fi
8372 break
8373 fi
8374 done
8375 IFS="$lt_save_ifs"
8376 MAGIC_CMD="$lt_save_MAGIC_CMD"
8377 ;;
8378 esac
8379 fi
8380
8381 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8382 if test -n "$MAGIC_CMD"; then
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8384 $as_echo "$MAGIC_CMD" >&6; }
8385 else
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8387 $as_echo "no" >&6; }
8388 fi
8389
8390
8391 else
8392 MAGIC_CMD=:
8393 fi
8394 fi
8395
8396 fi
8397 ;;
8398 esac
8399
8400 # Use C for the default configuration in the libtool script
8401
8402 lt_save_CC="$CC"
8403 ac_ext=c
8404 ac_cpp='$CPP $CPPFLAGS'
8405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8408
8409
8410 # Source file extension for C test sources.
8411 ac_ext=c
8412
8413 # Object file extension for compiled C test sources.
8414 objext=o
8415 objext=$objext
8416
8417 # Code to be used in simple compile tests
8418 lt_simple_compile_test_code="int some_variable = 0;"
8419
8420 # Code to be used in simple link tests
8421 lt_simple_link_test_code='int main(){return(0);}'
8422
8423
8424
8425
8426
8427
8428
8429 # If no C compiler was specified, use CC.
8430 LTCC=${LTCC-"$CC"}
8431
8432 # If no C compiler flags were specified, use CFLAGS.
8433 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8434
8435 # Allow CC to be a program name with arguments.
8436 compiler=$CC
8437
8438 # Save the default compiler, since it gets overwritten when the other
8439 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8440 compiler_DEFAULT=$CC
8441
8442 # save warnings/boilerplate of simple test code
8443 ac_outfile=conftest.$ac_objext
8444 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8445 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8446 _lt_compiler_boilerplate=`cat conftest.err`
8447 $RM conftest*
8448
8449 ac_outfile=conftest.$ac_objext
8450 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8451 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8452 _lt_linker_boilerplate=`cat conftest.err`
8453 $RM -r conftest*
8454
8455
8456 ## CAVEAT EMPTOR:
8457 ## There is no encapsulation within the following macros, do not change
8458 ## the running order or otherwise move them around unless you know exactly
8459 ## what you are doing...
8460 if test -n "$compiler"; then
8461
8462 lt_prog_compiler_no_builtin_flag=
8463
8464 if test "$GCC" = yes; then
8465 case $cc_basename in
8466 nvcc*)
8467 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8468 *)
8469 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8470 esac
8471
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8473 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8474 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8475 $as_echo_n "(cached) " >&6
8476 else
8477 lt_cv_prog_compiler_rtti_exceptions=no
8478 ac_outfile=conftest.$ac_objext
8479 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8480 lt_compiler_flag="-fno-rtti -fno-exceptions"
8481 # Insert the option either (1) after the last *FLAGS variable, or
8482 # (2) before a word containing "conftest.", or (3) at the end.
8483 # Note that $ac_compile itself does not contain backslashes and begins
8484 # with a dollar sign (not a hyphen), so the echo should work correctly.
8485 # The option is referenced via a variable to avoid confusing sed.
8486 lt_compile=`echo "$ac_compile" | $SED \
8487 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8488 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8489 -e 's:$: $lt_compiler_flag:'`
8490 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8491 (eval "$lt_compile" 2>conftest.err)
8492 ac_status=$?
8493 cat conftest.err >&5
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 if (exit $ac_status) && test -s "$ac_outfile"; then
8496 # The compiler can only warn and ignore the option if not recognized
8497 # So say no if there are warnings other than the usual output.
8498 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8499 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8500 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8501 lt_cv_prog_compiler_rtti_exceptions=yes
8502 fi
8503 fi
8504 $RM conftest*
8505
8506 fi
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8508 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8509
8510 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8511 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8512 else
8513 :
8514 fi
8515
8516 fi
8517
8518
8519
8520
8521
8522
8523 lt_prog_compiler_wl=
8524 lt_prog_compiler_pic=
8525 lt_prog_compiler_static=
8526
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8528 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8529
8530 if test "$GCC" = yes; then
8531 lt_prog_compiler_wl='-Wl,'
8532 lt_prog_compiler_static='-static'
8533
8534 case $host_os in
8535 aix*)
8536 # All AIX code is PIC.
8537 if test "$host_cpu" = ia64; then
8538 # AIX 5 now supports IA64 processor
8539 lt_prog_compiler_static='-Bstatic'
8540 fi
8541 lt_prog_compiler_pic='-fPIC'
8542 ;;
8543
8544 amigaos*)
8545 case $host_cpu in
8546 powerpc)
8547 # see comment about AmigaOS4 .so support
8548 lt_prog_compiler_pic='-fPIC'
8549 ;;
8550 m68k)
8551 # FIXME: we need at least 68020 code to build shared libraries, but
8552 # adding the `-m68020' flag to GCC prevents building anything better,
8553 # like `-m68040'.
8554 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8555 ;;
8556 esac
8557 ;;
8558
8559 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8560 # PIC is the default for these OSes.
8561 ;;
8562
8563 mingw* | cygwin* | pw32* | os2* | cegcc*)
8564 # This hack is so that the source file can tell whether it is being
8565 # built for inclusion in a dll (and should export symbols for example).
8566 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8567 # (--disable-auto-import) libraries
8568 lt_prog_compiler_pic='-DDLL_EXPORT'
8569 ;;
8570
8571 darwin* | rhapsody*)
8572 # PIC is the default on this platform
8573 # Common symbols not allowed in MH_DYLIB files
8574 lt_prog_compiler_pic='-fno-common'
8575 ;;
8576
8577 haiku*)
8578 # PIC is the default for Haiku.
8579 # The "-static" flag exists, but is broken.
8580 lt_prog_compiler_static=
8581 ;;
8582
8583 hpux*)
8584 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8585 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8586 # sets the default TLS model and affects inlining.
8587 case $host_cpu in
8588 hppa*64*)
8589 # +Z the default
8590 ;;
8591 *)
8592 lt_prog_compiler_pic='-fPIC'
8593 ;;
8594 esac
8595 ;;
8596
8597 interix[3-9]*)
8598 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8599 # Instead, we relocate shared libraries at runtime.
8600 ;;
8601
8602 msdosdjgpp*)
8603 # Just because we use GCC doesn't mean we suddenly get shared libraries
8604 # on systems that don't support them.
8605 lt_prog_compiler_can_build_shared=no
8606 enable_shared=no
8607 ;;
8608
8609 *nto* | *qnx*)
8610 # QNX uses GNU C++, but need to define -shared option too, otherwise
8611 # it will coredump.
8612 lt_prog_compiler_pic='-fPIC -shared'
8613 ;;
8614
8615 sysv4*MP*)
8616 if test -d /usr/nec; then
8617 lt_prog_compiler_pic=-Kconform_pic
8618 fi
8619 ;;
8620
8621 *)
8622 lt_prog_compiler_pic='-fPIC'
8623 ;;
8624 esac
8625
8626 case $cc_basename in
8627 nvcc*) # Cuda Compiler Driver 2.2
8628 lt_prog_compiler_wl='-Xlinker '
8629 lt_prog_compiler_pic='-Xcompiler -fPIC'
8630 ;;
8631 esac
8632 else
8633 # PORTME Check for flag to pass linker flags through the system compiler.
8634 case $host_os in
8635 aix*)
8636 lt_prog_compiler_wl='-Wl,'
8637 if test "$host_cpu" = ia64; then
8638 # AIX 5 now supports IA64 processor
8639 lt_prog_compiler_static='-Bstatic'
8640 else
8641 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8642 fi
8643 ;;
8644
8645 mingw* | cygwin* | pw32* | os2* | cegcc*)
8646 # This hack is so that the source file can tell whether it is being
8647 # built for inclusion in a dll (and should export symbols for example).
8648 lt_prog_compiler_pic='-DDLL_EXPORT'
8649 ;;
8650
8651 hpux9* | hpux10* | hpux11*)
8652 lt_prog_compiler_wl='-Wl,'
8653 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8654 # not for PA HP-UX.
8655 case $host_cpu in
8656 hppa*64*|ia64*)
8657 # +Z the default
8658 ;;
8659 *)
8660 lt_prog_compiler_pic='+Z'
8661 ;;
8662 esac
8663 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8664 lt_prog_compiler_static='${wl}-a ${wl}archive'
8665 ;;
8666
8667 irix5* | irix6* | nonstopux*)
8668 lt_prog_compiler_wl='-Wl,'
8669 # PIC (with -KPIC) is the default.
8670 lt_prog_compiler_static='-non_shared'
8671 ;;
8672
8673 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8674 case $cc_basename in
8675 # old Intel for x86_64 which still supported -KPIC.
8676 ecc*)
8677 lt_prog_compiler_wl='-Wl,'
8678 lt_prog_compiler_pic='-KPIC'
8679 lt_prog_compiler_static='-static'
8680 ;;
8681 # icc used to be incompatible with GCC.
8682 # ICC 10 doesn't accept -KPIC any more.
8683 icc* | ifort*)
8684 lt_prog_compiler_wl='-Wl,'
8685 lt_prog_compiler_pic='-fPIC'
8686 lt_prog_compiler_static='-static'
8687 ;;
8688 # Lahey Fortran 8.1.
8689 lf95*)
8690 lt_prog_compiler_wl='-Wl,'
8691 lt_prog_compiler_pic='--shared'
8692 lt_prog_compiler_static='--static'
8693 ;;
8694 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8695 # Portland Group compilers (*not* the Pentium gcc compiler,
8696 # which looks to be a dead project)
8697 lt_prog_compiler_wl='-Wl,'
8698 lt_prog_compiler_pic='-fpic'
8699 lt_prog_compiler_static='-Bstatic'
8700 ;;
8701 ccc*)
8702 lt_prog_compiler_wl='-Wl,'
8703 # All Alpha code is PIC.
8704 lt_prog_compiler_static='-non_shared'
8705 ;;
8706 xl* | bgxl* | bgf* | mpixl*)
8707 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8708 lt_prog_compiler_wl='-Wl,'
8709 lt_prog_compiler_pic='-qpic'
8710 lt_prog_compiler_static='-qstaticlink'
8711 ;;
8712 *)
8713 case `$CC -V 2>&1 | sed 5q` in
8714 *Sun\ F* | *Sun*Fortran*)
8715 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8716 lt_prog_compiler_pic='-KPIC'
8717 lt_prog_compiler_static='-Bstatic'
8718 lt_prog_compiler_wl=''
8719 ;;
8720 *Sun\ C*)
8721 # Sun C 5.9
8722 lt_prog_compiler_pic='-KPIC'
8723 lt_prog_compiler_static='-Bstatic'
8724 lt_prog_compiler_wl='-Wl,'
8725 ;;
8726 esac
8727 ;;
8728 esac
8729 ;;
8730
8731 newsos6)
8732 lt_prog_compiler_pic='-KPIC'
8733 lt_prog_compiler_static='-Bstatic'
8734 ;;
8735
8736 *nto* | *qnx*)
8737 # QNX uses GNU C++, but need to define -shared option too, otherwise
8738 # it will coredump.
8739 lt_prog_compiler_pic='-fPIC -shared'
8740 ;;
8741
8742 osf3* | osf4* | osf5*)
8743 lt_prog_compiler_wl='-Wl,'
8744 # All OSF/1 code is PIC.
8745 lt_prog_compiler_static='-non_shared'
8746 ;;
8747
8748 rdos*)
8749 lt_prog_compiler_static='-non_shared'
8750 ;;
8751
8752 solaris*)
8753 lt_prog_compiler_pic='-KPIC'
8754 lt_prog_compiler_static='-Bstatic'
8755 case $cc_basename in
8756 f77* | f90* | f95*)
8757 lt_prog_compiler_wl='-Qoption ld ';;
8758 *)
8759 lt_prog_compiler_wl='-Wl,';;
8760 esac
8761 ;;
8762
8763 sunos4*)
8764 lt_prog_compiler_wl='-Qoption ld '
8765 lt_prog_compiler_pic='-PIC'
8766 lt_prog_compiler_static='-Bstatic'
8767 ;;
8768
8769 sysv4 | sysv4.2uw2* | sysv4.3*)
8770 lt_prog_compiler_wl='-Wl,'
8771 lt_prog_compiler_pic='-KPIC'
8772 lt_prog_compiler_static='-Bstatic'
8773 ;;
8774
8775 sysv4*MP*)
8776 if test -d /usr/nec ;then
8777 lt_prog_compiler_pic='-Kconform_pic'
8778 lt_prog_compiler_static='-Bstatic'
8779 fi
8780 ;;
8781
8782 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8783 lt_prog_compiler_wl='-Wl,'
8784 lt_prog_compiler_pic='-KPIC'
8785 lt_prog_compiler_static='-Bstatic'
8786 ;;
8787
8788 unicos*)
8789 lt_prog_compiler_wl='-Wl,'
8790 lt_prog_compiler_can_build_shared=no
8791 ;;
8792
8793 uts4*)
8794 lt_prog_compiler_pic='-pic'
8795 lt_prog_compiler_static='-Bstatic'
8796 ;;
8797
8798 *)
8799 lt_prog_compiler_can_build_shared=no
8800 ;;
8801 esac
8802 fi
8803
8804 case $host_os in
8805 # For platforms which do not support PIC, -DPIC is meaningless:
8806 *djgpp*)
8807 lt_prog_compiler_pic=
8808 ;;
8809 *)
8810 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8811 ;;
8812 esac
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8814 $as_echo "$lt_prog_compiler_pic" >&6; }
8815
8816
8817
8818
8819
8820
8821 #
8822 # Check to make sure the PIC flag actually works.
8823 #
8824 if test -n "$lt_prog_compiler_pic"; then
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8826 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8827 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8828 $as_echo_n "(cached) " >&6
8829 else
8830 lt_cv_prog_compiler_pic_works=no
8831 ac_outfile=conftest.$ac_objext
8832 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8833 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8834 # Insert the option either (1) after the last *FLAGS variable, or
8835 # (2) before a word containing "conftest.", or (3) at the end.
8836 # Note that $ac_compile itself does not contain backslashes and begins
8837 # with a dollar sign (not a hyphen), so the echo should work correctly.
8838 # The option is referenced via a variable to avoid confusing sed.
8839 lt_compile=`echo "$ac_compile" | $SED \
8840 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8841 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8842 -e 's:$: $lt_compiler_flag:'`
8843 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8844 (eval "$lt_compile" 2>conftest.err)
8845 ac_status=$?
8846 cat conftest.err >&5
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 if (exit $ac_status) && test -s "$ac_outfile"; then
8849 # The compiler can only warn and ignore the option if not recognized
8850 # So say no if there are warnings other than the usual output.
8851 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8852 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8853 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8854 lt_cv_prog_compiler_pic_works=yes
8855 fi
8856 fi
8857 $RM conftest*
8858
8859 fi
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8861 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8862
8863 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8864 case $lt_prog_compiler_pic in
8865 "" | " "*) ;;
8866 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8867 esac
8868 else
8869 lt_prog_compiler_pic=
8870 lt_prog_compiler_can_build_shared=no
8871 fi
8872
8873 fi
8874
8875
8876
8877
8878
8879
8880 #
8881 # Check to make sure the static flag actually works.
8882 #
8883 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8885 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8886 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8887 $as_echo_n "(cached) " >&6
8888 else
8889 lt_cv_prog_compiler_static_works=no
8890 save_LDFLAGS="$LDFLAGS"
8891 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8892 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8893 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8894 # The linker can only warn and ignore the option if not recognized
8895 # So say no if there are warnings
8896 if test -s conftest.err; then
8897 # Append any errors to the config.log.
8898 cat conftest.err 1>&5
8899 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8900 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8901 if diff conftest.exp conftest.er2 >/dev/null; then
8902 lt_cv_prog_compiler_static_works=yes
8903 fi
8904 else
8905 lt_cv_prog_compiler_static_works=yes
8906 fi
8907 fi
8908 $RM -r conftest*
8909 LDFLAGS="$save_LDFLAGS"
8910
8911 fi
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8913 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8914
8915 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8916 :
8917 else
8918 lt_prog_compiler_static=
8919 fi
8920
8921
8922
8923
8924
8925
8926
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8928 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8929 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8930 $as_echo_n "(cached) " >&6
8931 else
8932 lt_cv_prog_compiler_c_o=no
8933 $RM -r conftest 2>/dev/null
8934 mkdir conftest
8935 cd conftest
8936 mkdir out
8937 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8938
8939 lt_compiler_flag="-o out/conftest2.$ac_objext"
8940 # Insert the option either (1) after the last *FLAGS variable, or
8941 # (2) before a word containing "conftest.", or (3) at the end.
8942 # Note that $ac_compile itself does not contain backslashes and begins
8943 # with a dollar sign (not a hyphen), so the echo should work correctly.
8944 lt_compile=`echo "$ac_compile" | $SED \
8945 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8946 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8947 -e 's:$: $lt_compiler_flag:'`
8948 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8949 (eval "$lt_compile" 2>out/conftest.err)
8950 ac_status=$?
8951 cat out/conftest.err >&5
8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8954 then
8955 # The compiler can only warn and ignore the option if not recognized
8956 # So say no if there are warnings
8957 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8958 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8959 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8960 lt_cv_prog_compiler_c_o=yes
8961 fi
8962 fi
8963 chmod u+w . 2>&5
8964 $RM conftest*
8965 # SGI C++ compiler will create directory out/ii_files/ for
8966 # template instantiation
8967 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8968 $RM out/* && rmdir out
8969 cd ..
8970 $RM -r conftest
8971 $RM conftest*
8972
8973 fi
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8975 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8976
8977
8978
8979
8980
8981
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8983 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8984 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8985 $as_echo_n "(cached) " >&6
8986 else
8987 lt_cv_prog_compiler_c_o=no
8988 $RM -r conftest 2>/dev/null
8989 mkdir conftest
8990 cd conftest
8991 mkdir out
8992 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8993
8994 lt_compiler_flag="-o out/conftest2.$ac_objext"
8995 # Insert the option either (1) after the last *FLAGS variable, or
8996 # (2) before a word containing "conftest.", or (3) at the end.
8997 # Note that $ac_compile itself does not contain backslashes and begins
8998 # with a dollar sign (not a hyphen), so the echo should work correctly.
8999 lt_compile=`echo "$ac_compile" | $SED \
9000 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9001 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9002 -e 's:$: $lt_compiler_flag:'`
9003 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9004 (eval "$lt_compile" 2>out/conftest.err)
9005 ac_status=$?
9006 cat out/conftest.err >&5
9007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9008 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9009 then
9010 # The compiler can only warn and ignore the option if not recognized
9011 # So say no if there are warnings
9012 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9013 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9014 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9015 lt_cv_prog_compiler_c_o=yes
9016 fi
9017 fi
9018 chmod u+w . 2>&5
9019 $RM conftest*
9020 # SGI C++ compiler will create directory out/ii_files/ for
9021 # template instantiation
9022 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9023 $RM out/* && rmdir out
9024 cd ..
9025 $RM -r conftest
9026 $RM conftest*
9027
9028 fi
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9030 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9031
9032
9033
9034
9035 hard_links="nottested"
9036 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9037 # do not overwrite the value of need_locks provided by the user
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9039 $as_echo_n "checking if we can lock with hard links... " >&6; }
9040 hard_links=yes
9041 $RM conftest*
9042 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9043 touch conftest.a
9044 ln conftest.a conftest.b 2>&5 || hard_links=no
9045 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9047 $as_echo "$hard_links" >&6; }
9048 if test "$hard_links" = no; then
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9050 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9051 need_locks=warn
9052 fi
9053 else
9054 need_locks=no
9055 fi
9056
9057
9058
9059
9060
9061
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9063 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9064
9065 runpath_var=
9066 allow_undefined_flag=
9067 always_export_symbols=no
9068 archive_cmds=
9069 archive_expsym_cmds=
9070 compiler_needs_object=no
9071 enable_shared_with_static_runtimes=no
9072 export_dynamic_flag_spec=
9073 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9074 hardcode_automatic=no
9075 hardcode_direct=no
9076 hardcode_direct_absolute=no
9077 hardcode_libdir_flag_spec=
9078 hardcode_libdir_flag_spec_ld=
9079 hardcode_libdir_separator=
9080 hardcode_minus_L=no
9081 hardcode_shlibpath_var=unsupported
9082 inherit_rpath=no
9083 link_all_deplibs=unknown
9084 module_cmds=
9085 module_expsym_cmds=
9086 old_archive_from_new_cmds=
9087 old_archive_from_expsyms_cmds=
9088 thread_safe_flag_spec=
9089 whole_archive_flag_spec=
9090 # include_expsyms should be a list of space-separated symbols to be *always*
9091 # included in the symbol list
9092 include_expsyms=
9093 # exclude_expsyms can be an extended regexp of symbols to exclude
9094 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9095 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9096 # as well as any symbol that contains `d'.
9097 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9098 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9099 # platforms (ab)use it in PIC code, but their linkers get confused if
9100 # the symbol is explicitly referenced. Since portable code cannot
9101 # rely on this symbol name, it's probably fine to never include it in
9102 # preloaded symbol tables.
9103 # Exclude shared library initialization/finalization symbols.
9104 extract_expsyms_cmds=
9105
9106 case $host_os in
9107 cygwin* | mingw* | pw32* | cegcc*)
9108 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9109 # When not using gcc, we currently assume that we are using
9110 # Microsoft Visual C++.
9111 if test "$GCC" != yes; then
9112 with_gnu_ld=no
9113 fi
9114 ;;
9115 interix*)
9116 # we just hope/assume this is gcc and not c89 (= MSVC++)
9117 with_gnu_ld=yes
9118 ;;
9119 openbsd*)
9120 with_gnu_ld=no
9121 ;;
9122 esac
9123
9124 ld_shlibs=yes
9125
9126 # On some targets, GNU ld is compatible enough with the native linker
9127 # that we're better off using the native interface for both.
9128 lt_use_gnu_ld_interface=no
9129 if test "$with_gnu_ld" = yes; then
9130 case $host_os in
9131 aix*)
9132 # The AIX port of GNU ld has always aspired to compatibility
9133 # with the native linker. However, as the warning in the GNU ld
9134 # block says, versions before 2.19.5* couldn't really create working
9135 # shared libraries, regardless of the interface used.
9136 case `$LD -v 2>&1` in
9137 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9138 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9139 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9140 *)
9141 lt_use_gnu_ld_interface=yes
9142 ;;
9143 esac
9144 ;;
9145 *)
9146 lt_use_gnu_ld_interface=yes
9147 ;;
9148 esac
9149 fi
9150
9151 if test "$lt_use_gnu_ld_interface" = yes; then
9152 # If archive_cmds runs LD, not CC, wlarc should be empty
9153 wlarc='${wl}'
9154
9155 # Set some defaults for GNU ld with shared library support. These
9156 # are reset later if shared libraries are not supported. Putting them
9157 # here allows them to be overridden if necessary.
9158 runpath_var=LD_RUN_PATH
9159 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9160 export_dynamic_flag_spec='${wl}--export-dynamic'
9161 # ancient GNU ld didn't support --whole-archive et. al.
9162 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9163 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9164 else
9165 whole_archive_flag_spec=
9166 fi
9167 supports_anon_versioning=no
9168 case `$LD -v 2>&1` in
9169 *GNU\ gold*) supports_anon_versioning=yes ;;
9170 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9171 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9172 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9173 *\ 2.11.*) ;; # other 2.11 versions
9174 *) supports_anon_versioning=yes ;;
9175 esac
9176
9177 # See if GNU ld supports shared libraries.
9178 case $host_os in
9179 aix[3-9]*)
9180 # On AIX/PPC, the GNU linker is very broken
9181 if test "$host_cpu" != ia64; then
9182 ld_shlibs=no
9183 cat <<_LT_EOF 1>&2
9184
9185 *** Warning: the GNU linker, at least up to release 2.19, is reported
9186 *** to be unable to reliably create shared libraries on AIX.
9187 *** Therefore, libtool is disabling shared libraries support. If you
9188 *** really care for shared libraries, you may want to install binutils
9189 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9190 *** You will then need to restart the configuration process.
9191
9192 _LT_EOF
9193 fi
9194 ;;
9195
9196 amigaos*)
9197 case $host_cpu in
9198 powerpc)
9199 # see comment about AmigaOS4 .so support
9200 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9201 archive_expsym_cmds=''
9202 ;;
9203 m68k)
9204 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)'
9205 hardcode_libdir_flag_spec='-L$libdir'
9206 hardcode_minus_L=yes
9207 ;;
9208 esac
9209 ;;
9210
9211 beos*)
9212 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9213 allow_undefined_flag=unsupported
9214 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9215 # support --undefined. This deserves some investigation. FIXME
9216 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9217 else
9218 ld_shlibs=no
9219 fi
9220 ;;
9221
9222 cygwin* | mingw* | pw32* | cegcc*)
9223 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9224 # as there is no search path for DLLs.
9225 hardcode_libdir_flag_spec='-L$libdir'
9226 export_dynamic_flag_spec='${wl}--export-all-symbols'
9227 allow_undefined_flag=unsupported
9228 always_export_symbols=no
9229 enable_shared_with_static_runtimes=yes
9230 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9231
9232 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9233 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9234 # If the export-symbols file already is a .def file (1st line
9235 # is EXPORTS), use it as is; otherwise, prepend...
9236 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9237 cp $export_symbols $output_objdir/$soname.def;
9238 else
9239 echo EXPORTS > $output_objdir/$soname.def;
9240 cat $export_symbols >> $output_objdir/$soname.def;
9241 fi~
9242 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9243 else
9244 ld_shlibs=no
9245 fi
9246 ;;
9247
9248 haiku*)
9249 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9250 link_all_deplibs=yes
9251 ;;
9252
9253 interix[3-9]*)
9254 hardcode_direct=no
9255 hardcode_shlibpath_var=no
9256 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9257 export_dynamic_flag_spec='${wl}-E'
9258 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9259 # Instead, shared libraries are loaded at an image base (0x10000000 by
9260 # default) and relocated if they conflict, which is a slow very memory
9261 # consuming and fragmenting process. To avoid this, we pick a random,
9262 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9263 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9264 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9265 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'
9266 ;;
9267
9268 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9269 tmp_diet=no
9270 if test "$host_os" = linux-dietlibc; then
9271 case $cc_basename in
9272 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9273 esac
9274 fi
9275 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9276 && test "$tmp_diet" = no
9277 then
9278 tmp_addflag=
9279 tmp_sharedflag='-shared'
9280 case $cc_basename,$host_cpu in
9281 pgcc*) # Portland Group C compiler
9282 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'
9283 tmp_addflag=' $pic_flag'
9284 ;;
9285 pgf77* | pgf90* | pgf95* | pgfortran*)
9286 # Portland Group f77 and f90 compilers
9287 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9288 tmp_addflag=' $pic_flag -Mnomain' ;;
9289 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9290 tmp_addflag=' -i_dynamic' ;;
9291 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9292 tmp_addflag=' -i_dynamic -nofor_main' ;;
9293 ifc* | ifort*) # Intel Fortran compiler
9294 tmp_addflag=' -nofor_main' ;;
9295 lf95*) # Lahey Fortran 8.1
9296 whole_archive_flag_spec=
9297 tmp_sharedflag='--shared' ;;
9298 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9299 tmp_sharedflag='-qmkshrobj'
9300 tmp_addflag= ;;
9301 nvcc*) # Cuda Compiler Driver 2.2
9302 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'
9303 compiler_needs_object=yes
9304 ;;
9305 esac
9306 case `$CC -V 2>&1 | sed 5q` in
9307 *Sun\ C*) # Sun C 5.9
9308 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'
9309 compiler_needs_object=yes
9310 tmp_sharedflag='-G' ;;
9311 *Sun\ F*) # Sun Fortran 8.3
9312 tmp_sharedflag='-G' ;;
9313 esac
9314 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9315
9316 if test "x$supports_anon_versioning" = xyes; then
9317 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9318 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9319 echo "local: *; };" >> $output_objdir/$libname.ver~
9320 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9321 fi
9322
9323 case $cc_basename in
9324 xlf* | bgf* | bgxlf* | mpixlf*)
9325 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9326 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9327 hardcode_libdir_flag_spec=
9328 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9329 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9330 if test "x$supports_anon_versioning" = xyes; then
9331 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9332 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9333 echo "local: *; };" >> $output_objdir/$libname.ver~
9334 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9335 fi
9336 ;;
9337 esac
9338 else
9339 ld_shlibs=no
9340 fi
9341 ;;
9342
9343 netbsd*)
9344 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9345 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9346 wlarc=
9347 else
9348 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9349 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9350 fi
9351 ;;
9352
9353 solaris*)
9354 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9355 ld_shlibs=no
9356 cat <<_LT_EOF 1>&2
9357
9358 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9359 *** create shared libraries on Solaris systems. Therefore, libtool
9360 *** is disabling shared libraries support. We urge you to upgrade GNU
9361 *** binutils to release 2.9.1 or newer. Another option is to modify
9362 *** your PATH or compiler configuration so that the native linker is
9363 *** used, and then restart.
9364
9365 _LT_EOF
9366 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9367 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9368 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9369 else
9370 ld_shlibs=no
9371 fi
9372 ;;
9373
9374 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9375 case `$LD -v 2>&1` in
9376 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9377 ld_shlibs=no
9378 cat <<_LT_EOF 1>&2
9379
9380 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9381 *** reliably create shared libraries on SCO systems. Therefore, libtool
9382 *** is disabling shared libraries support. We urge you to upgrade GNU
9383 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9384 *** your PATH or compiler configuration so that the native linker is
9385 *** used, and then restart.
9386
9387 _LT_EOF
9388 ;;
9389 *)
9390 # For security reasons, it is highly recommended that you always
9391 # use absolute paths for naming shared libraries, and exclude the
9392 # DT_RUNPATH tag from executables and libraries. But doing so
9393 # requires that you compile everything twice, which is a pain.
9394 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9395 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9396 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9397 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9398 else
9399 ld_shlibs=no
9400 fi
9401 ;;
9402 esac
9403 ;;
9404
9405 sunos4*)
9406 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9407 wlarc=
9408 hardcode_direct=yes
9409 hardcode_shlibpath_var=no
9410 ;;
9411
9412 *)
9413 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9414 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9415 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9416 else
9417 ld_shlibs=no
9418 fi
9419 ;;
9420 esac
9421
9422 if test "$ld_shlibs" = no; then
9423 runpath_var=
9424 hardcode_libdir_flag_spec=
9425 export_dynamic_flag_spec=
9426 whole_archive_flag_spec=
9427 fi
9428 else
9429 # PORTME fill in a description of your system's linker (not GNU ld)
9430 case $host_os in
9431 aix3*)
9432 allow_undefined_flag=unsupported
9433 always_export_symbols=yes
9434 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'
9435 # Note: this linker hardcodes the directories in LIBPATH if there
9436 # are no directories specified by -L.
9437 hardcode_minus_L=yes
9438 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9439 # Neither direct hardcoding nor static linking is supported with a
9440 # broken collect2.
9441 hardcode_direct=unsupported
9442 fi
9443 ;;
9444
9445 aix[4-9]*)
9446 if test "$host_cpu" = ia64; then
9447 # On IA64, the linker does run time linking by default, so we don't
9448 # have to do anything special.
9449 aix_use_runtimelinking=no
9450 exp_sym_flag='-Bexport'
9451 no_entry_flag=""
9452 else
9453 # If we're using GNU nm, then we don't want the "-C" option.
9454 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9455 # Also, AIX nm treats weak defined symbols like other global
9456 # defined symbols, whereas GNU nm marks them as "W".
9457 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9458 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'
9459 else
9460 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'
9461 fi
9462 aix_use_runtimelinking=no
9463
9464 # Test if we are trying to use run time linking or normal
9465 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9466 # need to do runtime linking.
9467 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9468 for ld_flag in $LDFLAGS; do
9469 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9470 aix_use_runtimelinking=yes
9471 break
9472 fi
9473 done
9474 ;;
9475 esac
9476
9477 exp_sym_flag='-bexport'
9478 no_entry_flag='-bnoentry'
9479 fi
9480
9481 # When large executables or shared objects are built, AIX ld can
9482 # have problems creating the table of contents. If linking a library
9483 # or program results in "error TOC overflow" add -mminimal-toc to
9484 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9485 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9486
9487 archive_cmds=''
9488 hardcode_direct=yes
9489 hardcode_direct_absolute=yes
9490 hardcode_libdir_separator=':'
9491 link_all_deplibs=yes
9492 file_list_spec='${wl}-f,'
9493
9494 if test "$GCC" = yes; then
9495 case $host_os in aix4.[012]|aix4.[012].*)
9496 # We only want to do this on AIX 4.2 and lower, the check
9497 # below for broken collect2 doesn't work under 4.3+
9498 collect2name=`${CC} -print-prog-name=collect2`
9499 if test -f "$collect2name" &&
9500 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9501 then
9502 # We have reworked collect2
9503 :
9504 else
9505 # We have old collect2
9506 hardcode_direct=unsupported
9507 # It fails to find uninstalled libraries when the uninstalled
9508 # path is not listed in the libpath. Setting hardcode_minus_L
9509 # to unsupported forces relinking
9510 hardcode_minus_L=yes
9511 hardcode_libdir_flag_spec='-L$libdir'
9512 hardcode_libdir_separator=
9513 fi
9514 ;;
9515 esac
9516 shared_flag='-shared'
9517 if test "$aix_use_runtimelinking" = yes; then
9518 shared_flag="$shared_flag "'${wl}-G'
9519 fi
9520 else
9521 # not using gcc
9522 if test "$host_cpu" = ia64; then
9523 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9524 # chokes on -Wl,-G. The following line is correct:
9525 shared_flag='-G'
9526 else
9527 if test "$aix_use_runtimelinking" = yes; then
9528 shared_flag='${wl}-G'
9529 else
9530 shared_flag='${wl}-bM:SRE'
9531 fi
9532 fi
9533 fi
9534
9535 export_dynamic_flag_spec='${wl}-bexpall'
9536 # It seems that -bexpall does not export symbols beginning with
9537 # underscore (_), so it is better to generate a list of symbols to export.
9538 always_export_symbols=yes
9539 if test "$aix_use_runtimelinking" = yes; then
9540 # Warning - without using the other runtime loading flags (-brtl),
9541 # -berok will link without error, but may produce a broken library.
9542 allow_undefined_flag='-berok'
9543 # Determine the default libpath from the value encoded in an
9544 # empty executable.
9545 if test x$gcc_no_link = xyes; then
9546 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9547 fi
9548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9550
9551 int
9552 main ()
9553 {
9554
9555 ;
9556 return 0;
9557 }
9558 _ACEOF
9559 if ac_fn_c_try_link "$LINENO"; then :
9560
9561 lt_aix_libpath_sed='
9562 /Import File Strings/,/^$/ {
9563 /^0/ {
9564 s/^0 *\(.*\)$/\1/
9565 p
9566 }
9567 }'
9568 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9569 # Check for a 64-bit object if we didn't find anything.
9570 if test -z "$aix_libpath"; then
9571 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9572 fi
9573 fi
9574 rm -f core conftest.err conftest.$ac_objext \
9575 conftest$ac_exeext conftest.$ac_ext
9576 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9577
9578 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9579 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"
9580 else
9581 if test "$host_cpu" = ia64; then
9582 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9583 allow_undefined_flag="-z nodefs"
9584 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"
9585 else
9586 # Determine the default libpath from the value encoded in an
9587 # empty executable.
9588 if test x$gcc_no_link = xyes; then
9589 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9590 fi
9591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9592 /* end confdefs.h. */
9593
9594 int
9595 main ()
9596 {
9597
9598 ;
9599 return 0;
9600 }
9601 _ACEOF
9602 if ac_fn_c_try_link "$LINENO"; then :
9603
9604 lt_aix_libpath_sed='
9605 /Import File Strings/,/^$/ {
9606 /^0/ {
9607 s/^0 *\(.*\)$/\1/
9608 p
9609 }
9610 }'
9611 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9612 # Check for a 64-bit object if we didn't find anything.
9613 if test -z "$aix_libpath"; then
9614 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9615 fi
9616 fi
9617 rm -f core conftest.err conftest.$ac_objext \
9618 conftest$ac_exeext conftest.$ac_ext
9619 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9620
9621 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9622 # Warning - without using the other run time loading flags,
9623 # -berok will link without error, but may produce a broken library.
9624 no_undefined_flag=' ${wl}-bernotok'
9625 allow_undefined_flag=' ${wl}-berok'
9626 if test "$with_gnu_ld" = yes; then
9627 # We only use this code for GNU lds that support --whole-archive.
9628 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9629 else
9630 # Exported symbols can be pulled into shared objects from archives
9631 whole_archive_flag_spec='$convenience'
9632 fi
9633 archive_cmds_need_lc=yes
9634 # This is similar to how AIX traditionally builds its shared libraries.
9635 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'
9636 fi
9637 fi
9638 ;;
9639
9640 amigaos*)
9641 case $host_cpu in
9642 powerpc)
9643 # see comment about AmigaOS4 .so support
9644 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9645 archive_expsym_cmds=''
9646 ;;
9647 m68k)
9648 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)'
9649 hardcode_libdir_flag_spec='-L$libdir'
9650 hardcode_minus_L=yes
9651 ;;
9652 esac
9653 ;;
9654
9655 bsdi[45]*)
9656 export_dynamic_flag_spec=-rdynamic
9657 ;;
9658
9659 cygwin* | mingw* | pw32* | cegcc*)
9660 # When not using gcc, we currently assume that we are using
9661 # Microsoft Visual C++.
9662 # hardcode_libdir_flag_spec is actually meaningless, as there is
9663 # no search path for DLLs.
9664 hardcode_libdir_flag_spec=' '
9665 allow_undefined_flag=unsupported
9666 # Tell ltmain to make .lib files, not .a files.
9667 libext=lib
9668 # Tell ltmain to make .dll files, not .so files.
9669 shrext_cmds=".dll"
9670 # FIXME: Setting linknames here is a bad hack.
9671 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9672 # The linker will automatically build a .lib file if we build a DLL.
9673 old_archive_from_new_cmds='true'
9674 # FIXME: Should let the user specify the lib program.
9675 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9676 fix_srcfile_path='`cygpath -w "$srcfile"`'
9677 enable_shared_with_static_runtimes=yes
9678 ;;
9679
9680 darwin* | rhapsody*)
9681
9682
9683 archive_cmds_need_lc=no
9684 hardcode_direct=no
9685 hardcode_automatic=yes
9686 hardcode_shlibpath_var=unsupported
9687 if test "$lt_cv_ld_force_load" = "yes"; then
9688 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\"`'
9689 else
9690 whole_archive_flag_spec=''
9691 fi
9692 link_all_deplibs=yes
9693 allow_undefined_flag="$_lt_dar_allow_undefined"
9694 case $cc_basename in
9695 ifort*) _lt_dar_can_shared=yes ;;
9696 *) _lt_dar_can_shared=$GCC ;;
9697 esac
9698 if test "$_lt_dar_can_shared" = "yes"; then
9699 output_verbose_link_cmd=func_echo_all
9700 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9701 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9702 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}"
9703 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}"
9704
9705 else
9706 ld_shlibs=no
9707 fi
9708
9709 ;;
9710
9711 dgux*)
9712 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9713 hardcode_libdir_flag_spec='-L$libdir'
9714 hardcode_shlibpath_var=no
9715 ;;
9716
9717 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9718 # support. Future versions do this automatically, but an explicit c++rt0.o
9719 # does not break anything, and helps significantly (at the cost of a little
9720 # extra space).
9721 freebsd2.2*)
9722 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9723 hardcode_libdir_flag_spec='-R$libdir'
9724 hardcode_direct=yes
9725 hardcode_shlibpath_var=no
9726 ;;
9727
9728 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9729 freebsd2.*)
9730 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9731 hardcode_direct=yes
9732 hardcode_minus_L=yes
9733 hardcode_shlibpath_var=no
9734 ;;
9735
9736 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9737 freebsd* | dragonfly*)
9738 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9739 hardcode_libdir_flag_spec='-R$libdir'
9740 hardcode_direct=yes
9741 hardcode_shlibpath_var=no
9742 ;;
9743
9744 hpux9*)
9745 if test "$GCC" = yes; then
9746 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'
9747 else
9748 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'
9749 fi
9750 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9751 hardcode_libdir_separator=:
9752 hardcode_direct=yes
9753
9754 # hardcode_minus_L: Not really in the search PATH,
9755 # but as the default location of the library.
9756 hardcode_minus_L=yes
9757 export_dynamic_flag_spec='${wl}-E'
9758 ;;
9759
9760 hpux10*)
9761 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9762 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9763 else
9764 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9765 fi
9766 if test "$with_gnu_ld" = no; then
9767 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9768 hardcode_libdir_flag_spec_ld='+b $libdir'
9769 hardcode_libdir_separator=:
9770 hardcode_direct=yes
9771 hardcode_direct_absolute=yes
9772 export_dynamic_flag_spec='${wl}-E'
9773 # hardcode_minus_L: Not really in the search PATH,
9774 # but as the default location of the library.
9775 hardcode_minus_L=yes
9776 fi
9777 ;;
9778
9779 hpux11*)
9780 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9781 case $host_cpu in
9782 hppa*64*)
9783 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9784 ;;
9785 ia64*)
9786 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9787 ;;
9788 *)
9789 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9790 ;;
9791 esac
9792 else
9793 case $host_cpu in
9794 hppa*64*)
9795 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9796 ;;
9797 ia64*)
9798 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9799 ;;
9800 *)
9801
9802 # Older versions of the 11.00 compiler do not understand -b yet
9803 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9805 $as_echo_n "checking if $CC understands -b... " >&6; }
9806 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9807 $as_echo_n "(cached) " >&6
9808 else
9809 lt_cv_prog_compiler__b=no
9810 save_LDFLAGS="$LDFLAGS"
9811 LDFLAGS="$LDFLAGS -b"
9812 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9813 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9814 # The linker can only warn and ignore the option if not recognized
9815 # So say no if there are warnings
9816 if test -s conftest.err; then
9817 # Append any errors to the config.log.
9818 cat conftest.err 1>&5
9819 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9820 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9821 if diff conftest.exp conftest.er2 >/dev/null; then
9822 lt_cv_prog_compiler__b=yes
9823 fi
9824 else
9825 lt_cv_prog_compiler__b=yes
9826 fi
9827 fi
9828 $RM -r conftest*
9829 LDFLAGS="$save_LDFLAGS"
9830
9831 fi
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9833 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9834
9835 if test x"$lt_cv_prog_compiler__b" = xyes; then
9836 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9837 else
9838 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9839 fi
9840
9841 ;;
9842 esac
9843 fi
9844 if test "$with_gnu_ld" = no; then
9845 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9846 hardcode_libdir_separator=:
9847
9848 case $host_cpu in
9849 hppa*64*|ia64*)
9850 hardcode_direct=no
9851 hardcode_shlibpath_var=no
9852 ;;
9853 *)
9854 hardcode_direct=yes
9855 hardcode_direct_absolute=yes
9856 export_dynamic_flag_spec='${wl}-E'
9857
9858 # hardcode_minus_L: Not really in the search PATH,
9859 # but as the default location of the library.
9860 hardcode_minus_L=yes
9861 ;;
9862 esac
9863 fi
9864 ;;
9865
9866 irix5* | irix6* | nonstopux*)
9867 if test "$GCC" = yes; then
9868 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'
9869 # Try to use the -exported_symbol ld option, if it does not
9870 # work, assume that -exports_file does not work either and
9871 # implicitly export all symbols.
9872 save_LDFLAGS="$LDFLAGS"
9873 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9874 if test x$gcc_no_link = xyes; then
9875 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9876 fi
9877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9878 /* end confdefs.h. */
9879 int foo(void) {}
9880 _ACEOF
9881 if ac_fn_c_try_link "$LINENO"; then :
9882 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'
9883
9884 fi
9885 rm -f core conftest.err conftest.$ac_objext \
9886 conftest$ac_exeext conftest.$ac_ext
9887 LDFLAGS="$save_LDFLAGS"
9888 else
9889 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'
9890 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'
9891 fi
9892 archive_cmds_need_lc='no'
9893 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9894 hardcode_libdir_separator=:
9895 inherit_rpath=yes
9896 link_all_deplibs=yes
9897 ;;
9898
9899 netbsd*)
9900 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9901 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9902 else
9903 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9904 fi
9905 hardcode_libdir_flag_spec='-R$libdir'
9906 hardcode_direct=yes
9907 hardcode_shlibpath_var=no
9908 ;;
9909
9910 newsos6)
9911 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9912 hardcode_direct=yes
9913 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9914 hardcode_libdir_separator=:
9915 hardcode_shlibpath_var=no
9916 ;;
9917
9918 *nto* | *qnx*)
9919 ;;
9920
9921 openbsd*)
9922 if test -f /usr/libexec/ld.so; then
9923 hardcode_direct=yes
9924 hardcode_shlibpath_var=no
9925 hardcode_direct_absolute=yes
9926 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9927 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9928 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9929 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9930 export_dynamic_flag_spec='${wl}-E'
9931 else
9932 case $host_os in
9933 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9934 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9935 hardcode_libdir_flag_spec='-R$libdir'
9936 ;;
9937 *)
9938 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9939 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9940 ;;
9941 esac
9942 fi
9943 else
9944 ld_shlibs=no
9945 fi
9946 ;;
9947
9948 os2*)
9949 hardcode_libdir_flag_spec='-L$libdir'
9950 hardcode_minus_L=yes
9951 allow_undefined_flag=unsupported
9952 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'
9953 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9954 ;;
9955
9956 osf3*)
9957 if test "$GCC" = yes; then
9958 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9959 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'
9960 else
9961 allow_undefined_flag=' -expect_unresolved \*'
9962 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'
9963 fi
9964 archive_cmds_need_lc='no'
9965 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9966 hardcode_libdir_separator=:
9967 ;;
9968
9969 osf4* | osf5*) # as osf3* with the addition of -msym flag
9970 if test "$GCC" = yes; then
9971 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9972 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'
9973 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9974 else
9975 allow_undefined_flag=' -expect_unresolved \*'
9976 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'
9977 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~
9978 $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'
9979
9980 # Both c and cxx compiler support -rpath directly
9981 hardcode_libdir_flag_spec='-rpath $libdir'
9982 fi
9983 archive_cmds_need_lc='no'
9984 hardcode_libdir_separator=:
9985 ;;
9986
9987 solaris*)
9988 no_undefined_flag=' -z defs'
9989 if test "$GCC" = yes; then
9990 wlarc='${wl}'
9991 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9992 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9993 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9994 else
9995 case `$CC -V 2>&1` in
9996 *"Compilers 5.0"*)
9997 wlarc=''
9998 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9999 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10000 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10001 ;;
10002 *)
10003 wlarc='${wl}'
10004 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10005 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10006 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10007 ;;
10008 esac
10009 fi
10010 hardcode_libdir_flag_spec='-R$libdir'
10011 hardcode_shlibpath_var=no
10012 case $host_os in
10013 solaris2.[0-5] | solaris2.[0-5].*) ;;
10014 *)
10015 # The compiler driver will combine and reorder linker options,
10016 # but understands `-z linker_flag'. GCC discards it without `$wl',
10017 # but is careful enough not to reorder.
10018 # Supported since Solaris 2.6 (maybe 2.5.1?)
10019 if test "$GCC" = yes; then
10020 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10021 else
10022 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10023 fi
10024 ;;
10025 esac
10026 link_all_deplibs=yes
10027 ;;
10028
10029 sunos4*)
10030 if test "x$host_vendor" = xsequent; then
10031 # Use $CC to link under sequent, because it throws in some extra .o
10032 # files that make .init and .fini sections work.
10033 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10034 else
10035 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10036 fi
10037 hardcode_libdir_flag_spec='-L$libdir'
10038 hardcode_direct=yes
10039 hardcode_minus_L=yes
10040 hardcode_shlibpath_var=no
10041 ;;
10042
10043 sysv4)
10044 case $host_vendor in
10045 sni)
10046 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10047 hardcode_direct=yes # is this really true???
10048 ;;
10049 siemens)
10050 ## LD is ld it makes a PLAMLIB
10051 ## CC just makes a GrossModule.
10052 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10053 reload_cmds='$CC -r -o $output$reload_objs'
10054 hardcode_direct=no
10055 ;;
10056 motorola)
10057 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10058 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10059 ;;
10060 esac
10061 runpath_var='LD_RUN_PATH'
10062 hardcode_shlibpath_var=no
10063 ;;
10064
10065 sysv4.3*)
10066 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10067 hardcode_shlibpath_var=no
10068 export_dynamic_flag_spec='-Bexport'
10069 ;;
10070
10071 sysv4*MP*)
10072 if test -d /usr/nec; then
10073 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10074 hardcode_shlibpath_var=no
10075 runpath_var=LD_RUN_PATH
10076 hardcode_runpath_var=yes
10077 ld_shlibs=yes
10078 fi
10079 ;;
10080
10081 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10082 no_undefined_flag='${wl}-z,text'
10083 archive_cmds_need_lc=no
10084 hardcode_shlibpath_var=no
10085 runpath_var='LD_RUN_PATH'
10086
10087 if test "$GCC" = yes; then
10088 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10089 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090 else
10091 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093 fi
10094 ;;
10095
10096 sysv5* | sco3.2v5* | sco5v6*)
10097 # Note: We can NOT use -z defs as we might desire, because we do not
10098 # link with -lc, and that would cause any symbols used from libc to
10099 # always be unresolved, which means just about no library would
10100 # ever link correctly. If we're not using GNU ld we use -z text
10101 # though, which does catch some bad symbols but isn't as heavy-handed
10102 # as -z defs.
10103 no_undefined_flag='${wl}-z,text'
10104 allow_undefined_flag='${wl}-z,nodefs'
10105 archive_cmds_need_lc=no
10106 hardcode_shlibpath_var=no
10107 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10108 hardcode_libdir_separator=':'
10109 link_all_deplibs=yes
10110 export_dynamic_flag_spec='${wl}-Bexport'
10111 runpath_var='LD_RUN_PATH'
10112
10113 if test "$GCC" = yes; then
10114 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10115 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116 else
10117 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10118 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119 fi
10120 ;;
10121
10122 uts4*)
10123 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10124 hardcode_libdir_flag_spec='-L$libdir'
10125 hardcode_shlibpath_var=no
10126 ;;
10127
10128 *)
10129 ld_shlibs=no
10130 ;;
10131 esac
10132
10133 if test x$host_vendor = xsni; then
10134 case $host in
10135 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10136 export_dynamic_flag_spec='${wl}-Blargedynsym'
10137 ;;
10138 esac
10139 fi
10140 fi
10141
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10143 $as_echo "$ld_shlibs" >&6; }
10144 test "$ld_shlibs" = no && can_build_shared=no
10145
10146 with_gnu_ld=$with_gnu_ld
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162 #
10163 # Do we need to explicitly link libc?
10164 #
10165 case "x$archive_cmds_need_lc" in
10166 x|xyes)
10167 # Assume -lc should be added
10168 archive_cmds_need_lc=yes
10169
10170 if test "$enable_shared" = yes && test "$GCC" = yes; then
10171 case $archive_cmds in
10172 *'~'*)
10173 # FIXME: we may have to deal with multi-command sequences.
10174 ;;
10175 '$CC '*)
10176 # Test whether the compiler implicitly links with -lc since on some
10177 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10178 # to ld, don't add -lc before -lgcc.
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10180 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10181 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10182 $as_echo_n "(cached) " >&6
10183 else
10184 $RM conftest*
10185 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10186
10187 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10188 (eval $ac_compile) 2>&5
10189 ac_status=$?
10190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10191 test $ac_status = 0; } 2>conftest.err; then
10192 soname=conftest
10193 lib=conftest
10194 libobjs=conftest.$ac_objext
10195 deplibs=
10196 wl=$lt_prog_compiler_wl
10197 pic_flag=$lt_prog_compiler_pic
10198 compiler_flags=-v
10199 linker_flags=-v
10200 verstring=
10201 output_objdir=.
10202 libname=conftest
10203 lt_save_allow_undefined_flag=$allow_undefined_flag
10204 allow_undefined_flag=
10205 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10206 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10207 ac_status=$?
10208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10209 test $ac_status = 0; }
10210 then
10211 lt_cv_archive_cmds_need_lc=no
10212 else
10213 lt_cv_archive_cmds_need_lc=yes
10214 fi
10215 allow_undefined_flag=$lt_save_allow_undefined_flag
10216 else
10217 cat conftest.err 1>&5
10218 fi
10219 $RM conftest*
10220
10221 fi
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10223 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10224 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10225 ;;
10226 esac
10227 fi
10228 ;;
10229 esac
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10388 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10389
10390 if test "$GCC" = yes; then
10391 case $host_os in
10392 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10393 *) lt_awk_arg="/^libraries:/" ;;
10394 esac
10395 case $host_os in
10396 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10397 *) lt_sed_strip_eq="s,=/,/,g" ;;
10398 esac
10399 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10400 case $lt_search_path_spec in
10401 *\;*)
10402 # if the path contains ";" then we assume it to be the separator
10403 # otherwise default to the standard path separator (i.e. ":") - it is
10404 # assumed that no part of a normal pathname contains ";" but that should
10405 # okay in the real world where ";" in dirpaths is itself problematic.
10406 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10407 ;;
10408 *)
10409 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10410 ;;
10411 esac
10412 # Ok, now we have the path, separated by spaces, we can step through it
10413 # and add multilib dir if necessary.
10414 lt_tmp_lt_search_path_spec=
10415 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10416 for lt_sys_path in $lt_search_path_spec; do
10417 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10418 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10419 else
10420 test -d "$lt_sys_path" && \
10421 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10422 fi
10423 done
10424 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10425 BEGIN {RS=" "; FS="/|\n";} {
10426 lt_foo="";
10427 lt_count=0;
10428 for (lt_i = NF; lt_i > 0; lt_i--) {
10429 if ($lt_i != "" && $lt_i != ".") {
10430 if ($lt_i == "..") {
10431 lt_count++;
10432 } else {
10433 if (lt_count == 0) {
10434 lt_foo="/" $lt_i lt_foo;
10435 } else {
10436 lt_count--;
10437 }
10438 }
10439 }
10440 }
10441 if (lt_foo != "") { lt_freq[lt_foo]++; }
10442 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10443 }'`
10444 # AWK program above erroneously prepends '/' to C:/dos/paths
10445 # for these hosts.
10446 case $host_os in
10447 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10448 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10449 esac
10450 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10451 else
10452 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10453 fi
10454 library_names_spec=
10455 libname_spec='lib$name'
10456 soname_spec=
10457 shrext_cmds=".so"
10458 postinstall_cmds=
10459 postuninstall_cmds=
10460 finish_cmds=
10461 finish_eval=
10462 shlibpath_var=
10463 shlibpath_overrides_runpath=unknown
10464 version_type=none
10465 dynamic_linker="$host_os ld.so"
10466 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10467 need_lib_prefix=unknown
10468 hardcode_into_libs=no
10469
10470 # when you set need_version to no, make sure it does not cause -set_version
10471 # flags to be left without arguments
10472 need_version=unknown
10473
10474 case $host_os in
10475 aix3*)
10476 version_type=linux
10477 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10478 shlibpath_var=LIBPATH
10479
10480 # AIX 3 has no versioning support, so we append a major version to the name.
10481 soname_spec='${libname}${release}${shared_ext}$major'
10482 ;;
10483
10484 aix[4-9]*)
10485 version_type=linux
10486 need_lib_prefix=no
10487 need_version=no
10488 hardcode_into_libs=yes
10489 if test "$host_cpu" = ia64; then
10490 # AIX 5 supports IA64
10491 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10492 shlibpath_var=LD_LIBRARY_PATH
10493 else
10494 # With GCC up to 2.95.x, collect2 would create an import file
10495 # for dependence libraries. The import file would start with
10496 # the line `#! .'. This would cause the generated library to
10497 # depend on `.', always an invalid library. This was fixed in
10498 # development snapshots of GCC prior to 3.0.
10499 case $host_os in
10500 aix4 | aix4.[01] | aix4.[01].*)
10501 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10502 echo ' yes '
10503 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10504 :
10505 else
10506 can_build_shared=no
10507 fi
10508 ;;
10509 esac
10510 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10511 # soname into executable. Probably we can add versioning support to
10512 # collect2, so additional links can be useful in future.
10513 if test "$aix_use_runtimelinking" = yes; then
10514 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10515 # instead of lib<name>.a to let people know that these are not
10516 # typical AIX shared libraries.
10517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10518 else
10519 # We preserve .a as extension for shared libraries through AIX4.2
10520 # and later when we are not doing run time linking.
10521 library_names_spec='${libname}${release}.a $libname.a'
10522 soname_spec='${libname}${release}${shared_ext}$major'
10523 fi
10524 shlibpath_var=LIBPATH
10525 fi
10526 ;;
10527
10528 amigaos*)
10529 case $host_cpu in
10530 powerpc)
10531 # Since July 2007 AmigaOS4 officially supports .so libraries.
10532 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10534 ;;
10535 m68k)
10536 library_names_spec='$libname.ixlibrary $libname.a'
10537 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10538 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'
10539 ;;
10540 esac
10541 ;;
10542
10543 beos*)
10544 library_names_spec='${libname}${shared_ext}'
10545 dynamic_linker="$host_os ld.so"
10546 shlibpath_var=LIBRARY_PATH
10547 ;;
10548
10549 bsdi[45]*)
10550 version_type=linux
10551 need_version=no
10552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10553 soname_spec='${libname}${release}${shared_ext}$major'
10554 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10555 shlibpath_var=LD_LIBRARY_PATH
10556 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10557 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10558 # the default ld.so.conf also contains /usr/contrib/lib and
10559 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10560 # libtool to hard-code these into programs
10561 ;;
10562
10563 cygwin* | mingw* | pw32* | cegcc*)
10564 version_type=windows
10565 shrext_cmds=".dll"
10566 need_version=no
10567 need_lib_prefix=no
10568
10569 case $GCC,$host_os in
10570 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10571 library_names_spec='$libname.dll.a'
10572 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10573 postinstall_cmds='base_file=`basename \${file}`~
10574 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10575 dldir=$destdir/`dirname \$dlpath`~
10576 test -d \$dldir || mkdir -p \$dldir~
10577 $install_prog $dir/$dlname \$dldir/$dlname~
10578 chmod a+x \$dldir/$dlname~
10579 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10580 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10581 fi'
10582 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10583 dlpath=$dir/\$dldll~
10584 $RM \$dlpath'
10585 shlibpath_overrides_runpath=yes
10586
10587 case $host_os in
10588 cygwin*)
10589 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10590 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10591
10592 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10593 ;;
10594 mingw* | cegcc*)
10595 # MinGW DLLs use traditional 'lib' prefix
10596 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10597 ;;
10598 pw32*)
10599 # pw32 DLLs use 'pw' prefix rather than 'lib'
10600 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10601 ;;
10602 esac
10603 ;;
10604
10605 *)
10606 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10607 ;;
10608 esac
10609 dynamic_linker='Win32 ld.exe'
10610 # FIXME: first we should search . and the directory the executable is in
10611 shlibpath_var=PATH
10612 ;;
10613
10614 darwin* | rhapsody*)
10615 dynamic_linker="$host_os dyld"
10616 version_type=darwin
10617 need_lib_prefix=no
10618 need_version=no
10619 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10620 soname_spec='${libname}${release}${major}$shared_ext'
10621 shlibpath_overrides_runpath=yes
10622 shlibpath_var=DYLD_LIBRARY_PATH
10623 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10624
10625 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10626 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10627 ;;
10628
10629 dgux*)
10630 version_type=linux
10631 need_lib_prefix=no
10632 need_version=no
10633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10634 soname_spec='${libname}${release}${shared_ext}$major'
10635 shlibpath_var=LD_LIBRARY_PATH
10636 ;;
10637
10638 freebsd* | dragonfly*)
10639 # DragonFly does not have aout. When/if they implement a new
10640 # versioning mechanism, adjust this.
10641 if test -x /usr/bin/objformat; then
10642 objformat=`/usr/bin/objformat`
10643 else
10644 case $host_os in
10645 freebsd[23].*) objformat=aout ;;
10646 *) objformat=elf ;;
10647 esac
10648 fi
10649 version_type=freebsd-$objformat
10650 case $version_type in
10651 freebsd-elf*)
10652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10653 need_version=no
10654 need_lib_prefix=no
10655 ;;
10656 freebsd-*)
10657 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10658 need_version=yes
10659 ;;
10660 esac
10661 shlibpath_var=LD_LIBRARY_PATH
10662 case $host_os in
10663 freebsd2.*)
10664 shlibpath_overrides_runpath=yes
10665 ;;
10666 freebsd3.[01]* | freebsdelf3.[01]*)
10667 shlibpath_overrides_runpath=yes
10668 hardcode_into_libs=yes
10669 ;;
10670 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10671 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10672 shlibpath_overrides_runpath=no
10673 hardcode_into_libs=yes
10674 ;;
10675 *) # from 4.6 on, and DragonFly
10676 shlibpath_overrides_runpath=yes
10677 hardcode_into_libs=yes
10678 ;;
10679 esac
10680 ;;
10681
10682 gnu*)
10683 version_type=linux
10684 need_lib_prefix=no
10685 need_version=no
10686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10687 soname_spec='${libname}${release}${shared_ext}$major'
10688 shlibpath_var=LD_LIBRARY_PATH
10689 hardcode_into_libs=yes
10690 ;;
10691
10692 haiku*)
10693 version_type=linux
10694 need_lib_prefix=no
10695 need_version=no
10696 dynamic_linker="$host_os runtime_loader"
10697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10698 soname_spec='${libname}${release}${shared_ext}$major'
10699 shlibpath_var=LIBRARY_PATH
10700 shlibpath_overrides_runpath=yes
10701 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10702 hardcode_into_libs=yes
10703 ;;
10704
10705 hpux9* | hpux10* | hpux11*)
10706 # Give a soname corresponding to the major version so that dld.sl refuses to
10707 # link against other versions.
10708 version_type=sunos
10709 need_lib_prefix=no
10710 need_version=no
10711 case $host_cpu in
10712 ia64*)
10713 shrext_cmds='.so'
10714 hardcode_into_libs=yes
10715 dynamic_linker="$host_os dld.so"
10716 shlibpath_var=LD_LIBRARY_PATH
10717 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10719 soname_spec='${libname}${release}${shared_ext}$major'
10720 if test "X$HPUX_IA64_MODE" = X32; then
10721 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10722 else
10723 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10724 fi
10725 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10726 ;;
10727 hppa*64*)
10728 shrext_cmds='.sl'
10729 hardcode_into_libs=yes
10730 dynamic_linker="$host_os dld.sl"
10731 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10732 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10734 soname_spec='${libname}${release}${shared_ext}$major'
10735 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10736 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10737 ;;
10738 *)
10739 shrext_cmds='.sl'
10740 dynamic_linker="$host_os dld.sl"
10741 shlibpath_var=SHLIB_PATH
10742 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10744 soname_spec='${libname}${release}${shared_ext}$major'
10745 ;;
10746 esac
10747 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10748 postinstall_cmds='chmod 555 $lib'
10749 # or fails outright, so override atomically:
10750 install_override_mode=555
10751 ;;
10752
10753 interix[3-9]*)
10754 version_type=linux
10755 need_lib_prefix=no
10756 need_version=no
10757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10758 soname_spec='${libname}${release}${shared_ext}$major'
10759 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10760 shlibpath_var=LD_LIBRARY_PATH
10761 shlibpath_overrides_runpath=no
10762 hardcode_into_libs=yes
10763 ;;
10764
10765 irix5* | irix6* | nonstopux*)
10766 case $host_os in
10767 nonstopux*) version_type=nonstopux ;;
10768 *)
10769 if test "$lt_cv_prog_gnu_ld" = yes; then
10770 version_type=linux
10771 else
10772 version_type=irix
10773 fi ;;
10774 esac
10775 need_lib_prefix=no
10776 need_version=no
10777 soname_spec='${libname}${release}${shared_ext}$major'
10778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10779 case $host_os in
10780 irix5* | nonstopux*)
10781 libsuff= shlibsuff=
10782 ;;
10783 *)
10784 case $LD in # libtool.m4 will add one of these switches to LD
10785 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10786 libsuff= shlibsuff= libmagic=32-bit;;
10787 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10788 libsuff=32 shlibsuff=N32 libmagic=N32;;
10789 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10790 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10791 *) libsuff= shlibsuff= libmagic=never-match;;
10792 esac
10793 ;;
10794 esac
10795 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10796 shlibpath_overrides_runpath=no
10797 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10798 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10799 hardcode_into_libs=yes
10800 ;;
10801
10802 # No shared lib support for Linux oldld, aout, or coff.
10803 linux*oldld* | linux*aout* | linux*coff*)
10804 dynamic_linker=no
10805 ;;
10806
10807 # This must be Linux ELF.
10808 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10809 version_type=linux
10810 need_lib_prefix=no
10811 need_version=no
10812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10813 soname_spec='${libname}${release}${shared_ext}$major'
10814 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10815 shlibpath_var=LD_LIBRARY_PATH
10816 shlibpath_overrides_runpath=no
10817
10818 # Some binutils ld are patched to set DT_RUNPATH
10819 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10820 $as_echo_n "(cached) " >&6
10821 else
10822 lt_cv_shlibpath_overrides_runpath=no
10823 save_LDFLAGS=$LDFLAGS
10824 save_libdir=$libdir
10825 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10826 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10827 if test x$gcc_no_link = xyes; then
10828 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10829 fi
10830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10831 /* end confdefs.h. */
10832
10833 int
10834 main ()
10835 {
10836
10837 ;
10838 return 0;
10839 }
10840 _ACEOF
10841 if ac_fn_c_try_link "$LINENO"; then :
10842 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10843 lt_cv_shlibpath_overrides_runpath=yes
10844 fi
10845 fi
10846 rm -f core conftest.err conftest.$ac_objext \
10847 conftest$ac_exeext conftest.$ac_ext
10848 LDFLAGS=$save_LDFLAGS
10849 libdir=$save_libdir
10850
10851 fi
10852
10853 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10854
10855 # This implies no fast_install, which is unacceptable.
10856 # Some rework will be needed to allow for fast_install
10857 # before this can be enabled.
10858 hardcode_into_libs=yes
10859
10860 # Append ld.so.conf contents to the search path
10861 if test -f /etc/ld.so.conf; then
10862 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' ' '`
10863 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10864 fi
10865
10866 # We used to test for /lib/ld.so.1 and disable shared libraries on
10867 # powerpc, because MkLinux only supported shared libraries with the
10868 # GNU dynamic linker. Since this was broken with cross compilers,
10869 # most powerpc-linux boxes support dynamic linking these days and
10870 # people can always --disable-shared, the test was removed, and we
10871 # assume the GNU/Linux dynamic linker is in use.
10872 dynamic_linker='GNU/Linux ld.so'
10873 ;;
10874
10875 netbsd*)
10876 version_type=sunos
10877 need_lib_prefix=no
10878 need_version=no
10879 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10881 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10882 dynamic_linker='NetBSD (a.out) ld.so'
10883 else
10884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10885 soname_spec='${libname}${release}${shared_ext}$major'
10886 dynamic_linker='NetBSD ld.elf_so'
10887 fi
10888 shlibpath_var=LD_LIBRARY_PATH
10889 shlibpath_overrides_runpath=yes
10890 hardcode_into_libs=yes
10891 ;;
10892
10893 newsos6)
10894 version_type=linux
10895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10896 shlibpath_var=LD_LIBRARY_PATH
10897 shlibpath_overrides_runpath=yes
10898 ;;
10899
10900 *nto* | *qnx*)
10901 version_type=qnx
10902 need_lib_prefix=no
10903 need_version=no
10904 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10905 soname_spec='${libname}${release}${shared_ext}$major'
10906 shlibpath_var=LD_LIBRARY_PATH
10907 shlibpath_overrides_runpath=no
10908 hardcode_into_libs=yes
10909 dynamic_linker='ldqnx.so'
10910 ;;
10911
10912 openbsd*)
10913 version_type=sunos
10914 sys_lib_dlsearch_path_spec="/usr/lib"
10915 need_lib_prefix=no
10916 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10917 case $host_os in
10918 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10919 *) need_version=no ;;
10920 esac
10921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10922 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10923 shlibpath_var=LD_LIBRARY_PATH
10924 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10925 case $host_os in
10926 openbsd2.[89] | openbsd2.[89].*)
10927 shlibpath_overrides_runpath=no
10928 ;;
10929 *)
10930 shlibpath_overrides_runpath=yes
10931 ;;
10932 esac
10933 else
10934 shlibpath_overrides_runpath=yes
10935 fi
10936 ;;
10937
10938 os2*)
10939 libname_spec='$name'
10940 shrext_cmds=".dll"
10941 need_lib_prefix=no
10942 library_names_spec='$libname${shared_ext} $libname.a'
10943 dynamic_linker='OS/2 ld.exe'
10944 shlibpath_var=LIBPATH
10945 ;;
10946
10947 osf3* | osf4* | osf5*)
10948 version_type=osf
10949 need_lib_prefix=no
10950 need_version=no
10951 soname_spec='${libname}${release}${shared_ext}$major'
10952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10953 shlibpath_var=LD_LIBRARY_PATH
10954 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10955 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10956 ;;
10957
10958 rdos*)
10959 dynamic_linker=no
10960 ;;
10961
10962 solaris*)
10963 version_type=linux
10964 need_lib_prefix=no
10965 need_version=no
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967 soname_spec='${libname}${release}${shared_ext}$major'
10968 shlibpath_var=LD_LIBRARY_PATH
10969 shlibpath_overrides_runpath=yes
10970 hardcode_into_libs=yes
10971 # ldd complains unless libraries are executable
10972 postinstall_cmds='chmod +x $lib'
10973 ;;
10974
10975 sunos4*)
10976 version_type=sunos
10977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10978 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10979 shlibpath_var=LD_LIBRARY_PATH
10980 shlibpath_overrides_runpath=yes
10981 if test "$with_gnu_ld" = yes; then
10982 need_lib_prefix=no
10983 fi
10984 need_version=yes
10985 ;;
10986
10987 sysv4 | sysv4.3*)
10988 version_type=linux
10989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10990 soname_spec='${libname}${release}${shared_ext}$major'
10991 shlibpath_var=LD_LIBRARY_PATH
10992 case $host_vendor in
10993 sni)
10994 shlibpath_overrides_runpath=no
10995 need_lib_prefix=no
10996 runpath_var=LD_RUN_PATH
10997 ;;
10998 siemens)
10999 need_lib_prefix=no
11000 ;;
11001 motorola)
11002 need_lib_prefix=no
11003 need_version=no
11004 shlibpath_overrides_runpath=no
11005 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11006 ;;
11007 esac
11008 ;;
11009
11010 sysv4*MP*)
11011 if test -d /usr/nec ;then
11012 version_type=linux
11013 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11014 soname_spec='$libname${shared_ext}.$major'
11015 shlibpath_var=LD_LIBRARY_PATH
11016 fi
11017 ;;
11018
11019 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11020 version_type=freebsd-elf
11021 need_lib_prefix=no
11022 need_version=no
11023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11024 soname_spec='${libname}${release}${shared_ext}$major'
11025 shlibpath_var=LD_LIBRARY_PATH
11026 shlibpath_overrides_runpath=yes
11027 hardcode_into_libs=yes
11028 if test "$with_gnu_ld" = yes; then
11029 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11030 else
11031 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11032 case $host_os in
11033 sco3.2v5*)
11034 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11035 ;;
11036 esac
11037 fi
11038 sys_lib_dlsearch_path_spec='/usr/lib'
11039 ;;
11040
11041 tpf*)
11042 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11043 version_type=linux
11044 need_lib_prefix=no
11045 need_version=no
11046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11047 shlibpath_var=LD_LIBRARY_PATH
11048 shlibpath_overrides_runpath=no
11049 hardcode_into_libs=yes
11050 ;;
11051
11052 uts4*)
11053 version_type=linux
11054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11055 soname_spec='${libname}${release}${shared_ext}$major'
11056 shlibpath_var=LD_LIBRARY_PATH
11057 ;;
11058
11059 *)
11060 dynamic_linker=no
11061 ;;
11062 esac
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11064 $as_echo "$dynamic_linker" >&6; }
11065 test "$dynamic_linker" = no && can_build_shared=no
11066
11067 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11068 if test "$GCC" = yes; then
11069 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11070 fi
11071
11072 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11073 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11074 fi
11075 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11076 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11077 fi
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11171 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11172 hardcode_action=
11173 if test -n "$hardcode_libdir_flag_spec" ||
11174 test -n "$runpath_var" ||
11175 test "X$hardcode_automatic" = "Xyes" ; then
11176
11177 # We can hardcode non-existent directories.
11178 if test "$hardcode_direct" != no &&
11179 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11180 # have to relink, otherwise we might link with an installed library
11181 # when we should be linking with a yet-to-be-installed one
11182 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11183 test "$hardcode_minus_L" != no; then
11184 # Linking always hardcodes the temporary library directory.
11185 hardcode_action=relink
11186 else
11187 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11188 hardcode_action=immediate
11189 fi
11190 else
11191 # We cannot hardcode anything, or else we can only hardcode existing
11192 # directories.
11193 hardcode_action=unsupported
11194 fi
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11196 $as_echo "$hardcode_action" >&6; }
11197
11198 if test "$hardcode_action" = relink ||
11199 test "$inherit_rpath" = yes; then
11200 # Fast installation is not supported
11201 enable_fast_install=no
11202 elif test "$shlibpath_overrides_runpath" = yes ||
11203 test "$enable_shared" = no; then
11204 # Fast installation is not necessary
11205 enable_fast_install=needless
11206 fi
11207
11208
11209
11210
11211
11212
11213 if test "x$enable_dlopen" != xyes; then
11214 enable_dlopen=unknown
11215 enable_dlopen_self=unknown
11216 enable_dlopen_self_static=unknown
11217 else
11218 lt_cv_dlopen=no
11219 lt_cv_dlopen_libs=
11220
11221 case $host_os in
11222 beos*)
11223 lt_cv_dlopen="load_add_on"
11224 lt_cv_dlopen_libs=
11225 lt_cv_dlopen_self=yes
11226 ;;
11227
11228 mingw* | pw32* | cegcc*)
11229 lt_cv_dlopen="LoadLibrary"
11230 lt_cv_dlopen_libs=
11231 ;;
11232
11233 cygwin*)
11234 lt_cv_dlopen="dlopen"
11235 lt_cv_dlopen_libs=
11236 ;;
11237
11238 darwin*)
11239 # if libdl is installed we need to link against it
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11241 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11242 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11243 $as_echo_n "(cached) " >&6
11244 else
11245 ac_check_lib_save_LIBS=$LIBS
11246 LIBS="-ldl $LIBS"
11247 if test x$gcc_no_link = xyes; then
11248 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11249 fi
11250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h. */
11252
11253 /* Override any GCC internal prototype to avoid an error.
11254 Use char because int might match the return type of a GCC
11255 builtin and then its argument prototype would still apply. */
11256 #ifdef __cplusplus
11257 extern "C"
11258 #endif
11259 char dlopen ();
11260 int
11261 main ()
11262 {
11263 return dlopen ();
11264 ;
11265 return 0;
11266 }
11267 _ACEOF
11268 if ac_fn_c_try_link "$LINENO"; then :
11269 ac_cv_lib_dl_dlopen=yes
11270 else
11271 ac_cv_lib_dl_dlopen=no
11272 fi
11273 rm -f core conftest.err conftest.$ac_objext \
11274 conftest$ac_exeext conftest.$ac_ext
11275 LIBS=$ac_check_lib_save_LIBS
11276 fi
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11278 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11279 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11280 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11281 else
11282
11283 lt_cv_dlopen="dyld"
11284 lt_cv_dlopen_libs=
11285 lt_cv_dlopen_self=yes
11286
11287 fi
11288
11289 ;;
11290
11291 *)
11292 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11293 if test "x$ac_cv_func_shl_load" = x""yes; then :
11294 lt_cv_dlopen="shl_load"
11295 else
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11297 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11298 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11299 $as_echo_n "(cached) " >&6
11300 else
11301 ac_check_lib_save_LIBS=$LIBS
11302 LIBS="-ldld $LIBS"
11303 if test x$gcc_no_link = xyes; then
11304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11305 fi
11306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11308
11309 /* Override any GCC internal prototype to avoid an error.
11310 Use char because int might match the return type of a GCC
11311 builtin and then its argument prototype would still apply. */
11312 #ifdef __cplusplus
11313 extern "C"
11314 #endif
11315 char shl_load ();
11316 int
11317 main ()
11318 {
11319 return shl_load ();
11320 ;
11321 return 0;
11322 }
11323 _ACEOF
11324 if ac_fn_c_try_link "$LINENO"; then :
11325 ac_cv_lib_dld_shl_load=yes
11326 else
11327 ac_cv_lib_dld_shl_load=no
11328 fi
11329 rm -f core conftest.err conftest.$ac_objext \
11330 conftest$ac_exeext conftest.$ac_ext
11331 LIBS=$ac_check_lib_save_LIBS
11332 fi
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11334 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11335 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11336 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11337 else
11338 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11339 if test "x$ac_cv_func_dlopen" = x""yes; then :
11340 lt_cv_dlopen="dlopen"
11341 else
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11343 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11344 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11345 $as_echo_n "(cached) " >&6
11346 else
11347 ac_check_lib_save_LIBS=$LIBS
11348 LIBS="-ldl $LIBS"
11349 if test x$gcc_no_link = xyes; then
11350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11351 fi
11352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11353 /* end confdefs.h. */
11354
11355 /* Override any GCC internal prototype to avoid an error.
11356 Use char because int might match the return type of a GCC
11357 builtin and then its argument prototype would still apply. */
11358 #ifdef __cplusplus
11359 extern "C"
11360 #endif
11361 char dlopen ();
11362 int
11363 main ()
11364 {
11365 return dlopen ();
11366 ;
11367 return 0;
11368 }
11369 _ACEOF
11370 if ac_fn_c_try_link "$LINENO"; then :
11371 ac_cv_lib_dl_dlopen=yes
11372 else
11373 ac_cv_lib_dl_dlopen=no
11374 fi
11375 rm -f core conftest.err conftest.$ac_objext \
11376 conftest$ac_exeext conftest.$ac_ext
11377 LIBS=$ac_check_lib_save_LIBS
11378 fi
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11380 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11381 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11382 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11383 else
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11385 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11386 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11387 $as_echo_n "(cached) " >&6
11388 else
11389 ac_check_lib_save_LIBS=$LIBS
11390 LIBS="-lsvld $LIBS"
11391 if test x$gcc_no_link = xyes; then
11392 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11393 fi
11394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11395 /* end confdefs.h. */
11396
11397 /* Override any GCC internal prototype to avoid an error.
11398 Use char because int might match the return type of a GCC
11399 builtin and then its argument prototype would still apply. */
11400 #ifdef __cplusplus
11401 extern "C"
11402 #endif
11403 char dlopen ();
11404 int
11405 main ()
11406 {
11407 return dlopen ();
11408 ;
11409 return 0;
11410 }
11411 _ACEOF
11412 if ac_fn_c_try_link "$LINENO"; then :
11413 ac_cv_lib_svld_dlopen=yes
11414 else
11415 ac_cv_lib_svld_dlopen=no
11416 fi
11417 rm -f core conftest.err conftest.$ac_objext \
11418 conftest$ac_exeext conftest.$ac_ext
11419 LIBS=$ac_check_lib_save_LIBS
11420 fi
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11422 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11423 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11424 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11425 else
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11427 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11428 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11429 $as_echo_n "(cached) " >&6
11430 else
11431 ac_check_lib_save_LIBS=$LIBS
11432 LIBS="-ldld $LIBS"
11433 if test x$gcc_no_link = xyes; then
11434 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11435 fi
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11438
11439 /* Override any GCC internal prototype to avoid an error.
11440 Use char because int might match the return type of a GCC
11441 builtin and then its argument prototype would still apply. */
11442 #ifdef __cplusplus
11443 extern "C"
11444 #endif
11445 char dld_link ();
11446 int
11447 main ()
11448 {
11449 return dld_link ();
11450 ;
11451 return 0;
11452 }
11453 _ACEOF
11454 if ac_fn_c_try_link "$LINENO"; then :
11455 ac_cv_lib_dld_dld_link=yes
11456 else
11457 ac_cv_lib_dld_dld_link=no
11458 fi
11459 rm -f core conftest.err conftest.$ac_objext \
11460 conftest$ac_exeext conftest.$ac_ext
11461 LIBS=$ac_check_lib_save_LIBS
11462 fi
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11464 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11465 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11466 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11467 fi
11468
11469
11470 fi
11471
11472
11473 fi
11474
11475
11476 fi
11477
11478
11479 fi
11480
11481
11482 fi
11483
11484 ;;
11485 esac
11486
11487 if test "x$lt_cv_dlopen" != xno; then
11488 enable_dlopen=yes
11489 else
11490 enable_dlopen=no
11491 fi
11492
11493 case $lt_cv_dlopen in
11494 dlopen)
11495 save_CPPFLAGS="$CPPFLAGS"
11496 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11497
11498 save_LDFLAGS="$LDFLAGS"
11499 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11500
11501 save_LIBS="$LIBS"
11502 LIBS="$lt_cv_dlopen_libs $LIBS"
11503
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11505 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11506 if test "${lt_cv_dlopen_self+set}" = set; then :
11507 $as_echo_n "(cached) " >&6
11508 else
11509 if test "$cross_compiling" = yes; then :
11510 lt_cv_dlopen_self=cross
11511 else
11512 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11513 lt_status=$lt_dlunknown
11514 cat > conftest.$ac_ext <<_LT_EOF
11515 #line 11515 "configure"
11516 #include "confdefs.h"
11517
11518 #if HAVE_DLFCN_H
11519 #include <dlfcn.h>
11520 #endif
11521
11522 #include <stdio.h>
11523
11524 #ifdef RTLD_GLOBAL
11525 # define LT_DLGLOBAL RTLD_GLOBAL
11526 #else
11527 # ifdef DL_GLOBAL
11528 # define LT_DLGLOBAL DL_GLOBAL
11529 # else
11530 # define LT_DLGLOBAL 0
11531 # endif
11532 #endif
11533
11534 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11535 find out it does not work in some platform. */
11536 #ifndef LT_DLLAZY_OR_NOW
11537 # ifdef RTLD_LAZY
11538 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11539 # else
11540 # ifdef DL_LAZY
11541 # define LT_DLLAZY_OR_NOW DL_LAZY
11542 # else
11543 # ifdef RTLD_NOW
11544 # define LT_DLLAZY_OR_NOW RTLD_NOW
11545 # else
11546 # ifdef DL_NOW
11547 # define LT_DLLAZY_OR_NOW DL_NOW
11548 # else
11549 # define LT_DLLAZY_OR_NOW 0
11550 # endif
11551 # endif
11552 # endif
11553 # endif
11554 #endif
11555
11556 /* When -fvisbility=hidden is used, assume the code has been annotated
11557 correspondingly for the symbols needed. */
11558 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11559 void fnord () __attribute__((visibility("default")));
11560 #endif
11561
11562 void fnord () { int i=42; }
11563 int main ()
11564 {
11565 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11566 int status = $lt_dlunknown;
11567
11568 if (self)
11569 {
11570 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11571 else
11572 {
11573 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11574 else puts (dlerror ());
11575 }
11576 /* dlclose (self); */
11577 }
11578 else
11579 puts (dlerror ());
11580
11581 return status;
11582 }
11583 _LT_EOF
11584 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11585 (eval $ac_link) 2>&5
11586 ac_status=$?
11587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11588 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11589 (./conftest; exit; ) >&5 2>/dev/null
11590 lt_status=$?
11591 case x$lt_status in
11592 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11593 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11594 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11595 esac
11596 else :
11597 # compilation failed
11598 lt_cv_dlopen_self=no
11599 fi
11600 fi
11601 rm -fr conftest*
11602
11603
11604 fi
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11606 $as_echo "$lt_cv_dlopen_self" >&6; }
11607
11608 if test "x$lt_cv_dlopen_self" = xyes; then
11609 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11611 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11612 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11613 $as_echo_n "(cached) " >&6
11614 else
11615 if test "$cross_compiling" = yes; then :
11616 lt_cv_dlopen_self_static=cross
11617 else
11618 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11619 lt_status=$lt_dlunknown
11620 cat > conftest.$ac_ext <<_LT_EOF
11621 #line 11621 "configure"
11622 #include "confdefs.h"
11623
11624 #if HAVE_DLFCN_H
11625 #include <dlfcn.h>
11626 #endif
11627
11628 #include <stdio.h>
11629
11630 #ifdef RTLD_GLOBAL
11631 # define LT_DLGLOBAL RTLD_GLOBAL
11632 #else
11633 # ifdef DL_GLOBAL
11634 # define LT_DLGLOBAL DL_GLOBAL
11635 # else
11636 # define LT_DLGLOBAL 0
11637 # endif
11638 #endif
11639
11640 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11641 find out it does not work in some platform. */
11642 #ifndef LT_DLLAZY_OR_NOW
11643 # ifdef RTLD_LAZY
11644 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11645 # else
11646 # ifdef DL_LAZY
11647 # define LT_DLLAZY_OR_NOW DL_LAZY
11648 # else
11649 # ifdef RTLD_NOW
11650 # define LT_DLLAZY_OR_NOW RTLD_NOW
11651 # else
11652 # ifdef DL_NOW
11653 # define LT_DLLAZY_OR_NOW DL_NOW
11654 # else
11655 # define LT_DLLAZY_OR_NOW 0
11656 # endif
11657 # endif
11658 # endif
11659 # endif
11660 #endif
11661
11662 /* When -fvisbility=hidden is used, assume the code has been annotated
11663 correspondingly for the symbols needed. */
11664 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11665 void fnord () __attribute__((visibility("default")));
11666 #endif
11667
11668 void fnord () { int i=42; }
11669 int main ()
11670 {
11671 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11672 int status = $lt_dlunknown;
11673
11674 if (self)
11675 {
11676 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11677 else
11678 {
11679 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11680 else puts (dlerror ());
11681 }
11682 /* dlclose (self); */
11683 }
11684 else
11685 puts (dlerror ());
11686
11687 return status;
11688 }
11689 _LT_EOF
11690 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11691 (eval $ac_link) 2>&5
11692 ac_status=$?
11693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11694 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11695 (./conftest; exit; ) >&5 2>/dev/null
11696 lt_status=$?
11697 case x$lt_status in
11698 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11699 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11700 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11701 esac
11702 else :
11703 # compilation failed
11704 lt_cv_dlopen_self_static=no
11705 fi
11706 fi
11707 rm -fr conftest*
11708
11709
11710 fi
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11712 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11713 fi
11714
11715 CPPFLAGS="$save_CPPFLAGS"
11716 LDFLAGS="$save_LDFLAGS"
11717 LIBS="$save_LIBS"
11718 ;;
11719 esac
11720
11721 case $lt_cv_dlopen_self in
11722 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11723 *) enable_dlopen_self=unknown ;;
11724 esac
11725
11726 case $lt_cv_dlopen_self_static in
11727 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11728 *) enable_dlopen_self_static=unknown ;;
11729 esac
11730 fi
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748 striplib=
11749 old_striplib=
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11751 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11752 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11753 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11754 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11756 $as_echo "yes" >&6; }
11757 else
11758 # FIXME - insert some real tests, host_os isn't really good enough
11759 case $host_os in
11760 darwin*)
11761 if test -n "$STRIP" ; then
11762 striplib="$STRIP -x"
11763 old_striplib="$STRIP -S"
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11765 $as_echo "yes" >&6; }
11766 else
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11768 $as_echo "no" >&6; }
11769 fi
11770 ;;
11771 *)
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11773 $as_echo "no" >&6; }
11774 ;;
11775 esac
11776 fi
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789 # Report which library types will actually be built
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11791 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11793 $as_echo "$can_build_shared" >&6; }
11794
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11796 $as_echo_n "checking whether to build shared libraries... " >&6; }
11797 test "$can_build_shared" = "no" && enable_shared=no
11798
11799 # On AIX, shared libraries and static libraries use the same namespace, and
11800 # are all built from PIC.
11801 case $host_os in
11802 aix3*)
11803 test "$enable_shared" = yes && enable_static=no
11804 if test -n "$RANLIB"; then
11805 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11806 postinstall_cmds='$RANLIB $lib'
11807 fi
11808 ;;
11809
11810 aix[4-9]*)
11811 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11812 test "$enable_shared" = yes && enable_static=no
11813 fi
11814 ;;
11815 esac
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11817 $as_echo "$enable_shared" >&6; }
11818
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11820 $as_echo_n "checking whether to build static libraries... " >&6; }
11821 # Make sure either enable_shared or enable_static is yes.
11822 test "$enable_shared" = yes || enable_static=yes
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11824 $as_echo "$enable_static" >&6; }
11825
11826
11827
11828
11829 fi
11830 ac_ext=c
11831 ac_cpp='$CPP $CPPFLAGS'
11832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11835
11836 CC="$lt_save_CC"
11837
11838 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11839 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11840 (test "X$CXX" != "Xg++"))) ; then
11841 ac_ext=cpp
11842 ac_cpp='$CXXCPP $CPPFLAGS'
11843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11847 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11848 if test -z "$CXXCPP"; then
11849 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11850 $as_echo_n "(cached) " >&6
11851 else
11852 # Double quotes because CXXCPP needs to be expanded
11853 for CXXCPP in "$CXX -E" "/lib/cpp"
11854 do
11855 ac_preproc_ok=false
11856 for ac_cxx_preproc_warn_flag in '' yes
11857 do
11858 # Use a header file that comes with gcc, so configuring glibc
11859 # with a fresh cross-compiler works.
11860 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11861 # <limits.h> exists even on freestanding compilers.
11862 # On the NeXT, cc -E runs the code through the compiler's parser,
11863 # not just through cpp. "Syntax error" is here to catch this case.
11864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11865 /* end confdefs.h. */
11866 #ifdef __STDC__
11867 # include <limits.h>
11868 #else
11869 # include <assert.h>
11870 #endif
11871 Syntax error
11872 _ACEOF
11873 if ac_fn_cxx_try_cpp "$LINENO"; then :
11874
11875 else
11876 # Broken: fails on valid input.
11877 continue
11878 fi
11879 rm -f conftest.err conftest.$ac_ext
11880
11881 # OK, works on sane cases. Now check whether nonexistent headers
11882 # can be detected and how.
11883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11884 /* end confdefs.h. */
11885 #include <ac_nonexistent.h>
11886 _ACEOF
11887 if ac_fn_cxx_try_cpp "$LINENO"; then :
11888 # Broken: success on invalid input.
11889 continue
11890 else
11891 # Passes both tests.
11892 ac_preproc_ok=:
11893 break
11894 fi
11895 rm -f conftest.err conftest.$ac_ext
11896
11897 done
11898 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11899 rm -f conftest.err conftest.$ac_ext
11900 if $ac_preproc_ok; then :
11901 break
11902 fi
11903
11904 done
11905 ac_cv_prog_CXXCPP=$CXXCPP
11906
11907 fi
11908 CXXCPP=$ac_cv_prog_CXXCPP
11909 else
11910 ac_cv_prog_CXXCPP=$CXXCPP
11911 fi
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11913 $as_echo "$CXXCPP" >&6; }
11914 ac_preproc_ok=false
11915 for ac_cxx_preproc_warn_flag in '' yes
11916 do
11917 # Use a header file that comes with gcc, so configuring glibc
11918 # with a fresh cross-compiler works.
11919 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11920 # <limits.h> exists even on freestanding compilers.
11921 # On the NeXT, cc -E runs the code through the compiler's parser,
11922 # not just through cpp. "Syntax error" is here to catch this case.
11923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11924 /* end confdefs.h. */
11925 #ifdef __STDC__
11926 # include <limits.h>
11927 #else
11928 # include <assert.h>
11929 #endif
11930 Syntax error
11931 _ACEOF
11932 if ac_fn_cxx_try_cpp "$LINENO"; then :
11933
11934 else
11935 # Broken: fails on valid input.
11936 continue
11937 fi
11938 rm -f conftest.err conftest.$ac_ext
11939
11940 # OK, works on sane cases. Now check whether nonexistent headers
11941 # can be detected and how.
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11944 #include <ac_nonexistent.h>
11945 _ACEOF
11946 if ac_fn_cxx_try_cpp "$LINENO"; then :
11947 # Broken: success on invalid input.
11948 continue
11949 else
11950 # Passes both tests.
11951 ac_preproc_ok=:
11952 break
11953 fi
11954 rm -f conftest.err conftest.$ac_ext
11955
11956 done
11957 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11958 rm -f conftest.err conftest.$ac_ext
11959 if $ac_preproc_ok; then :
11960
11961 else
11962 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11964 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11965 See \`config.log' for more details." "$LINENO" 5; }
11966 fi
11967
11968 ac_ext=c
11969 ac_cpp='$CPP $CPPFLAGS'
11970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11973
11974 else
11975 _lt_caught_CXX_error=yes
11976 fi
11977
11978 ac_ext=cpp
11979 ac_cpp='$CXXCPP $CPPFLAGS'
11980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11983
11984 archive_cmds_need_lc_CXX=no
11985 allow_undefined_flag_CXX=
11986 always_export_symbols_CXX=no
11987 archive_expsym_cmds_CXX=
11988 compiler_needs_object_CXX=no
11989 export_dynamic_flag_spec_CXX=
11990 hardcode_direct_CXX=no
11991 hardcode_direct_absolute_CXX=no
11992 hardcode_libdir_flag_spec_CXX=
11993 hardcode_libdir_flag_spec_ld_CXX=
11994 hardcode_libdir_separator_CXX=
11995 hardcode_minus_L_CXX=no
11996 hardcode_shlibpath_var_CXX=unsupported
11997 hardcode_automatic_CXX=no
11998 inherit_rpath_CXX=no
11999 module_cmds_CXX=
12000 module_expsym_cmds_CXX=
12001 link_all_deplibs_CXX=unknown
12002 old_archive_cmds_CXX=$old_archive_cmds
12003 reload_flag_CXX=$reload_flag
12004 reload_cmds_CXX=$reload_cmds
12005 no_undefined_flag_CXX=
12006 whole_archive_flag_spec_CXX=
12007 enable_shared_with_static_runtimes_CXX=no
12008
12009 # Source file extension for C++ test sources.
12010 ac_ext=cpp
12011
12012 # Object file extension for compiled C++ test sources.
12013 objext=o
12014 objext_CXX=$objext
12015
12016 # No sense in running all these tests if we already determined that
12017 # the CXX compiler isn't working. Some variables (like enable_shared)
12018 # are currently assumed to apply to all compilers on this platform,
12019 # and will be corrupted by setting them based on a non-working compiler.
12020 if test "$_lt_caught_CXX_error" != yes; then
12021 # Code to be used in simple compile tests
12022 lt_simple_compile_test_code="int some_variable = 0;"
12023
12024 # Code to be used in simple link tests
12025 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12026
12027 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12028
12029
12030
12031
12032
12033
12034 # If no C compiler was specified, use CC.
12035 LTCC=${LTCC-"$CC"}
12036
12037 # If no C compiler flags were specified, use CFLAGS.
12038 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12039
12040 # Allow CC to be a program name with arguments.
12041 compiler=$CC
12042
12043
12044 # save warnings/boilerplate of simple test code
12045 ac_outfile=conftest.$ac_objext
12046 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12047 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12048 _lt_compiler_boilerplate=`cat conftest.err`
12049 $RM conftest*
12050
12051 ac_outfile=conftest.$ac_objext
12052 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12053 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12054 _lt_linker_boilerplate=`cat conftest.err`
12055 $RM -r conftest*
12056
12057
12058 # Allow CC to be a program name with arguments.
12059 lt_save_CC=$CC
12060 lt_save_LD=$LD
12061 lt_save_GCC=$GCC
12062 GCC=$GXX
12063 lt_save_with_gnu_ld=$with_gnu_ld
12064 lt_save_path_LD=$lt_cv_path_LD
12065 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12066 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12067 else
12068 $as_unset lt_cv_prog_gnu_ld
12069 fi
12070 if test -n "${lt_cv_path_LDCXX+set}"; then
12071 lt_cv_path_LD=$lt_cv_path_LDCXX
12072 else
12073 $as_unset lt_cv_path_LD
12074 fi
12075 test -z "${LDCXX+set}" || LD=$LDCXX
12076 CC=${CXX-"c++"}
12077 compiler=$CC
12078 compiler_CXX=$CC
12079 for cc_temp in $compiler""; do
12080 case $cc_temp in
12081 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12082 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12083 \-*) ;;
12084 *) break;;
12085 esac
12086 done
12087 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12088
12089
12090 if test -n "$compiler"; then
12091 # We don't want -fno-exception when compiling C++ code, so set the
12092 # no_builtin_flag separately
12093 if test "$GXX" = yes; then
12094 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12095 else
12096 lt_prog_compiler_no_builtin_flag_CXX=
12097 fi
12098
12099 if test "$GXX" = yes; then
12100 # Set up default GNU C++ configuration
12101
12102
12103
12104 # Check whether --with-gnu-ld was given.
12105 if test "${with_gnu_ld+set}" = set; then :
12106 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12107 else
12108 with_gnu_ld=no
12109 fi
12110
12111 ac_prog=ld
12112 if test "$GCC" = yes; then
12113 # Check if gcc -print-prog-name=ld gives a path.
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12115 $as_echo_n "checking for ld used by $CC... " >&6; }
12116 case $host in
12117 *-*-mingw*)
12118 # gcc leaves a trailing carriage return which upsets mingw
12119 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12120 *)
12121 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12122 esac
12123 case $ac_prog in
12124 # Accept absolute paths.
12125 [\\/]* | ?:[\\/]*)
12126 re_direlt='/[^/][^/]*/\.\./'
12127 # Canonicalize the pathname of ld
12128 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12129 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12130 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12131 done
12132 test -z "$LD" && LD="$ac_prog"
12133 ;;
12134 "")
12135 # If it fails, then pretend we aren't using GCC.
12136 ac_prog=ld
12137 ;;
12138 *)
12139 # If it is relative, then search for the first ld in PATH.
12140 with_gnu_ld=unknown
12141 ;;
12142 esac
12143 elif test "$with_gnu_ld" = yes; then
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12145 $as_echo_n "checking for GNU ld... " >&6; }
12146 else
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12148 $as_echo_n "checking for non-GNU ld... " >&6; }
12149 fi
12150 if test "${lt_cv_path_LD+set}" = set; then :
12151 $as_echo_n "(cached) " >&6
12152 else
12153 if test -z "$LD"; then
12154 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12155 for ac_dir in $PATH; do
12156 IFS="$lt_save_ifs"
12157 test -z "$ac_dir" && ac_dir=.
12158 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12159 lt_cv_path_LD="$ac_dir/$ac_prog"
12160 # Check to see if the program is GNU ld. I'd rather use --version,
12161 # but apparently some variants of GNU ld only accept -v.
12162 # Break only if it was the GNU/non-GNU ld that we prefer.
12163 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12164 *GNU* | *'with BFD'*)
12165 test "$with_gnu_ld" != no && break
12166 ;;
12167 *)
12168 test "$with_gnu_ld" != yes && break
12169 ;;
12170 esac
12171 fi
12172 done
12173 IFS="$lt_save_ifs"
12174 else
12175 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12176 fi
12177 fi
12178
12179 LD="$lt_cv_path_LD"
12180 if test -n "$LD"; then
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12182 $as_echo "$LD" >&6; }
12183 else
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12185 $as_echo "no" >&6; }
12186 fi
12187 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12189 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12190 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12191 $as_echo_n "(cached) " >&6
12192 else
12193 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12194 case `$LD -v 2>&1 </dev/null` in
12195 *GNU* | *'with BFD'*)
12196 lt_cv_prog_gnu_ld=yes
12197 ;;
12198 *)
12199 lt_cv_prog_gnu_ld=no
12200 ;;
12201 esac
12202 fi
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12204 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12205 with_gnu_ld=$lt_cv_prog_gnu_ld
12206
12207
12208
12209
12210
12211
12212
12213 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12214 # archiving commands below assume that GNU ld is being used.
12215 if test "$with_gnu_ld" = yes; then
12216 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12217 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'
12218
12219 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12220 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12221
12222 # If archive_cmds runs LD, not CC, wlarc should be empty
12223 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12224 # investigate it a little bit more. (MM)
12225 wlarc='${wl}'
12226
12227 # ancient GNU ld didn't support --whole-archive et. al.
12228 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12229 $GREP 'no-whole-archive' > /dev/null; then
12230 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12231 else
12232 whole_archive_flag_spec_CXX=
12233 fi
12234 else
12235 with_gnu_ld=no
12236 wlarc=
12237
12238 # A generic and very simple default shared library creation
12239 # command for GNU C++ for the case where it uses the native
12240 # linker, instead of GNU ld. If possible, this setting should
12241 # overridden to take advantage of the native linker features on
12242 # the platform it is being used on.
12243 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12244 fi
12245
12246 # Commands to make compiler produce verbose output that lists
12247 # what "hidden" libraries, object files and flags are used when
12248 # linking a shared library.
12249 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12250
12251 else
12252 GXX=no
12253 with_gnu_ld=no
12254 wlarc=
12255 fi
12256
12257 # PORTME: fill in a description of your system's C++ link characteristics
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12259 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12260 ld_shlibs_CXX=yes
12261 case $host_os in
12262 aix3*)
12263 # FIXME: insert proper C++ library support
12264 ld_shlibs_CXX=no
12265 ;;
12266 aix[4-9]*)
12267 if test "$host_cpu" = ia64; then
12268 # On IA64, the linker does run time linking by default, so we don't
12269 # have to do anything special.
12270 aix_use_runtimelinking=no
12271 exp_sym_flag='-Bexport'
12272 no_entry_flag=""
12273 else
12274 aix_use_runtimelinking=no
12275
12276 # Test if we are trying to use run time linking or normal
12277 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12278 # need to do runtime linking.
12279 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12280 for ld_flag in $LDFLAGS; do
12281 case $ld_flag in
12282 *-brtl*)
12283 aix_use_runtimelinking=yes
12284 break
12285 ;;
12286 esac
12287 done
12288 ;;
12289 esac
12290
12291 exp_sym_flag='-bexport'
12292 no_entry_flag='-bnoentry'
12293 fi
12294
12295 # When large executables or shared objects are built, AIX ld can
12296 # have problems creating the table of contents. If linking a library
12297 # or program results in "error TOC overflow" add -mminimal-toc to
12298 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12299 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12300
12301 archive_cmds_CXX=''
12302 hardcode_direct_CXX=yes
12303 hardcode_direct_absolute_CXX=yes
12304 hardcode_libdir_separator_CXX=':'
12305 link_all_deplibs_CXX=yes
12306 file_list_spec_CXX='${wl}-f,'
12307
12308 if test "$GXX" = yes; then
12309 case $host_os in aix4.[012]|aix4.[012].*)
12310 # We only want to do this on AIX 4.2 and lower, the check
12311 # below for broken collect2 doesn't work under 4.3+
12312 collect2name=`${CC} -print-prog-name=collect2`
12313 if test -f "$collect2name" &&
12314 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12315 then
12316 # We have reworked collect2
12317 :
12318 else
12319 # We have old collect2
12320 hardcode_direct_CXX=unsupported
12321 # It fails to find uninstalled libraries when the uninstalled
12322 # path is not listed in the libpath. Setting hardcode_minus_L
12323 # to unsupported forces relinking
12324 hardcode_minus_L_CXX=yes
12325 hardcode_libdir_flag_spec_CXX='-L$libdir'
12326 hardcode_libdir_separator_CXX=
12327 fi
12328 esac
12329 shared_flag='-shared'
12330 if test "$aix_use_runtimelinking" = yes; then
12331 shared_flag="$shared_flag "'${wl}-G'
12332 fi
12333 else
12334 # not using gcc
12335 if test "$host_cpu" = ia64; then
12336 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12337 # chokes on -Wl,-G. The following line is correct:
12338 shared_flag='-G'
12339 else
12340 if test "$aix_use_runtimelinking" = yes; then
12341 shared_flag='${wl}-G'
12342 else
12343 shared_flag='${wl}-bM:SRE'
12344 fi
12345 fi
12346 fi
12347
12348 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12349 # It seems that -bexpall does not export symbols beginning with
12350 # underscore (_), so it is better to generate a list of symbols to
12351 # export.
12352 always_export_symbols_CXX=yes
12353 if test "$aix_use_runtimelinking" = yes; then
12354 # Warning - without using the other runtime loading flags (-brtl),
12355 # -berok will link without error, but may produce a broken library.
12356 allow_undefined_flag_CXX='-berok'
12357 # Determine the default libpath from the value encoded in an empty
12358 # executable.
12359 if test x$gcc_no_link = xyes; then
12360 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12361 fi
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12364
12365 int
12366 main ()
12367 {
12368
12369 ;
12370 return 0;
12371 }
12372 _ACEOF
12373 if ac_fn_cxx_try_link "$LINENO"; then :
12374
12375 lt_aix_libpath_sed='
12376 /Import File Strings/,/^$/ {
12377 /^0/ {
12378 s/^0 *\(.*\)$/\1/
12379 p
12380 }
12381 }'
12382 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12383 # Check for a 64-bit object if we didn't find anything.
12384 if test -z "$aix_libpath"; then
12385 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12386 fi
12387 fi
12388 rm -f core conftest.err conftest.$ac_objext \
12389 conftest$ac_exeext conftest.$ac_ext
12390 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12391
12392 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12393
12394 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"
12395 else
12396 if test "$host_cpu" = ia64; then
12397 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12398 allow_undefined_flag_CXX="-z nodefs"
12399 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"
12400 else
12401 # Determine the default libpath from the value encoded in an
12402 # empty executable.
12403 if test x$gcc_no_link = xyes; then
12404 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12405 fi
12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h. */
12408
12409 int
12410 main ()
12411 {
12412
12413 ;
12414 return 0;
12415 }
12416 _ACEOF
12417 if ac_fn_cxx_try_link "$LINENO"; then :
12418
12419 lt_aix_libpath_sed='
12420 /Import File Strings/,/^$/ {
12421 /^0/ {
12422 s/^0 *\(.*\)$/\1/
12423 p
12424 }
12425 }'
12426 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12427 # Check for a 64-bit object if we didn't find anything.
12428 if test -z "$aix_libpath"; then
12429 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12430 fi
12431 fi
12432 rm -f core conftest.err conftest.$ac_objext \
12433 conftest$ac_exeext conftest.$ac_ext
12434 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12435
12436 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12437 # Warning - without using the other run time loading flags,
12438 # -berok will link without error, but may produce a broken library.
12439 no_undefined_flag_CXX=' ${wl}-bernotok'
12440 allow_undefined_flag_CXX=' ${wl}-berok'
12441 if test "$with_gnu_ld" = yes; then
12442 # We only use this code for GNU lds that support --whole-archive.
12443 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12444 else
12445 # Exported symbols can be pulled into shared objects from archives
12446 whole_archive_flag_spec_CXX='$convenience'
12447 fi
12448 archive_cmds_need_lc_CXX=yes
12449 # This is similar to how AIX traditionally builds its shared
12450 # libraries.
12451 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'
12452 fi
12453 fi
12454 ;;
12455
12456 beos*)
12457 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12458 allow_undefined_flag_CXX=unsupported
12459 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12460 # support --undefined. This deserves some investigation. FIXME
12461 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12462 else
12463 ld_shlibs_CXX=no
12464 fi
12465 ;;
12466
12467 chorus*)
12468 case $cc_basename in
12469 *)
12470 # FIXME: insert proper C++ library support
12471 ld_shlibs_CXX=no
12472 ;;
12473 esac
12474 ;;
12475
12476 cygwin* | mingw* | pw32* | cegcc*)
12477 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12478 # as there is no search path for DLLs.
12479 hardcode_libdir_flag_spec_CXX='-L$libdir'
12480 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12481 allow_undefined_flag_CXX=unsupported
12482 always_export_symbols_CXX=no
12483 enable_shared_with_static_runtimes_CXX=yes
12484
12485 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12486 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'
12487 # If the export-symbols file already is a .def file (1st line
12488 # is EXPORTS), use it as is; otherwise, prepend...
12489 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12490 cp $export_symbols $output_objdir/$soname.def;
12491 else
12492 echo EXPORTS > $output_objdir/$soname.def;
12493 cat $export_symbols >> $output_objdir/$soname.def;
12494 fi~
12495 $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'
12496 else
12497 ld_shlibs_CXX=no
12498 fi
12499 ;;
12500 darwin* | rhapsody*)
12501
12502
12503 archive_cmds_need_lc_CXX=no
12504 hardcode_direct_CXX=no
12505 hardcode_automatic_CXX=yes
12506 hardcode_shlibpath_var_CXX=unsupported
12507 if test "$lt_cv_ld_force_load" = "yes"; then
12508 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\"`'
12509 else
12510 whole_archive_flag_spec_CXX=''
12511 fi
12512 link_all_deplibs_CXX=yes
12513 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12514 case $cc_basename in
12515 ifort*) _lt_dar_can_shared=yes ;;
12516 *) _lt_dar_can_shared=$GCC ;;
12517 esac
12518 if test "$_lt_dar_can_shared" = "yes"; then
12519 output_verbose_link_cmd=func_echo_all
12520 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}"
12521 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12522 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}"
12523 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}"
12524 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12525 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}"
12526 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}"
12527 fi
12528
12529 else
12530 ld_shlibs_CXX=no
12531 fi
12532
12533 ;;
12534
12535 dgux*)
12536 case $cc_basename in
12537 ec++*)
12538 # FIXME: insert proper C++ library support
12539 ld_shlibs_CXX=no
12540 ;;
12541 ghcx*)
12542 # Green Hills C++ Compiler
12543 # FIXME: insert proper C++ library support
12544 ld_shlibs_CXX=no
12545 ;;
12546 *)
12547 # FIXME: insert proper C++ library support
12548 ld_shlibs_CXX=no
12549 ;;
12550 esac
12551 ;;
12552
12553 freebsd2.*)
12554 # C++ shared libraries reported to be fairly broken before
12555 # switch to ELF
12556 ld_shlibs_CXX=no
12557 ;;
12558
12559 freebsd-elf*)
12560 archive_cmds_need_lc_CXX=no
12561 ;;
12562
12563 freebsd* | dragonfly*)
12564 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12565 # conventions
12566 ld_shlibs_CXX=yes
12567 ;;
12568
12569 gnu*)
12570 ;;
12571
12572 haiku*)
12573 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12574 link_all_deplibs_CXX=yes
12575 ;;
12576
12577 hpux9*)
12578 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12579 hardcode_libdir_separator_CXX=:
12580 export_dynamic_flag_spec_CXX='${wl}-E'
12581 hardcode_direct_CXX=yes
12582 hardcode_minus_L_CXX=yes # Not in the search PATH,
12583 # but as the default
12584 # location of the library.
12585
12586 case $cc_basename in
12587 CC*)
12588 # FIXME: insert proper C++ library support
12589 ld_shlibs_CXX=no
12590 ;;
12591 aCC*)
12592 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'
12593 # Commands to make compiler produce verbose output that lists
12594 # what "hidden" libraries, object files and flags are used when
12595 # linking a shared library.
12596 #
12597 # There doesn't appear to be a way to prevent this compiler from
12598 # explicitly linking system object files so we need to strip them
12599 # from the output so that they don't get included in the library
12600 # dependencies.
12601 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"'
12602 ;;
12603 *)
12604 if test "$GXX" = yes; then
12605 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'
12606 else
12607 # FIXME: insert proper C++ library support
12608 ld_shlibs_CXX=no
12609 fi
12610 ;;
12611 esac
12612 ;;
12613
12614 hpux10*|hpux11*)
12615 if test $with_gnu_ld = no; then
12616 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12617 hardcode_libdir_separator_CXX=:
12618
12619 case $host_cpu in
12620 hppa*64*|ia64*)
12621 ;;
12622 *)
12623 export_dynamic_flag_spec_CXX='${wl}-E'
12624 ;;
12625 esac
12626 fi
12627 case $host_cpu in
12628 hppa*64*|ia64*)
12629 hardcode_direct_CXX=no
12630 hardcode_shlibpath_var_CXX=no
12631 ;;
12632 *)
12633 hardcode_direct_CXX=yes
12634 hardcode_direct_absolute_CXX=yes
12635 hardcode_minus_L_CXX=yes # Not in the search PATH,
12636 # but as the default
12637 # location of the library.
12638 ;;
12639 esac
12640
12641 case $cc_basename in
12642 CC*)
12643 # FIXME: insert proper C++ library support
12644 ld_shlibs_CXX=no
12645 ;;
12646 aCC*)
12647 case $host_cpu in
12648 hppa*64*)
12649 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12650 ;;
12651 ia64*)
12652 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12653 ;;
12654 *)
12655 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12656 ;;
12657 esac
12658 # Commands to make compiler produce verbose output that lists
12659 # what "hidden" libraries, object files and flags are used when
12660 # linking a shared library.
12661 #
12662 # There doesn't appear to be a way to prevent this compiler from
12663 # explicitly linking system object files so we need to strip them
12664 # from the output so that they don't get included in the library
12665 # dependencies.
12666 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"'
12667 ;;
12668 *)
12669 if test "$GXX" = yes; then
12670 if test $with_gnu_ld = no; then
12671 case $host_cpu in
12672 hppa*64*)
12673 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12674 ;;
12675 ia64*)
12676 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12677 ;;
12678 *)
12679 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'
12680 ;;
12681 esac
12682 fi
12683 else
12684 # FIXME: insert proper C++ library support
12685 ld_shlibs_CXX=no
12686 fi
12687 ;;
12688 esac
12689 ;;
12690
12691 interix[3-9]*)
12692 hardcode_direct_CXX=no
12693 hardcode_shlibpath_var_CXX=no
12694 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12695 export_dynamic_flag_spec_CXX='${wl}-E'
12696 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12697 # Instead, shared libraries are loaded at an image base (0x10000000 by
12698 # default) and relocated if they conflict, which is a slow very memory
12699 # consuming and fragmenting process. To avoid this, we pick a random,
12700 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12701 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12702 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'
12703 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'
12704 ;;
12705 irix5* | irix6*)
12706 case $cc_basename in
12707 CC*)
12708 # SGI C++
12709 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'
12710
12711 # Archives containing C++ object files must be created using
12712 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12713 # necessary to make sure instantiated templates are included
12714 # in the archive.
12715 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12716 ;;
12717 *)
12718 if test "$GXX" = yes; then
12719 if test "$with_gnu_ld" = no; then
12720 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'
12721 else
12722 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'
12723 fi
12724 fi
12725 link_all_deplibs_CXX=yes
12726 ;;
12727 esac
12728 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12729 hardcode_libdir_separator_CXX=:
12730 inherit_rpath_CXX=yes
12731 ;;
12732
12733 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12734 case $cc_basename in
12735 KCC*)
12736 # Kuck and Associates, Inc. (KAI) C++ Compiler
12737
12738 # KCC will only create a shared library if the output file
12739 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12740 # to its proper name (with version) after linking.
12741 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'
12742 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'
12743 # Commands to make compiler produce verbose output that lists
12744 # what "hidden" libraries, object files and flags are used when
12745 # linking a shared library.
12746 #
12747 # There doesn't appear to be a way to prevent this compiler from
12748 # explicitly linking system object files so we need to strip them
12749 # from the output so that they don't get included in the library
12750 # dependencies.
12751 output_verbose_link_cmd='templist=`$CC $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"'
12752
12753 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12754 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12755
12756 # Archives containing C++ object files must be created using
12757 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12758 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12759 ;;
12760 icpc* | ecpc* )
12761 # Intel C++
12762 with_gnu_ld=yes
12763 # version 8.0 and above of icpc choke on multiply defined symbols
12764 # if we add $predep_objects and $postdep_objects, however 7.1 and
12765 # earlier do not add the objects themselves.
12766 case `$CC -V 2>&1` in
12767 *"Version 7."*)
12768 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12769 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'
12770 ;;
12771 *) # Version 8.0 or newer
12772 tmp_idyn=
12773 case $host_cpu in
12774 ia64*) tmp_idyn=' -i_dynamic';;
12775 esac
12776 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12777 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'
12778 ;;
12779 esac
12780 archive_cmds_need_lc_CXX=no
12781 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12782 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12783 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12784 ;;
12785 pgCC* | pgcpp*)
12786 # Portland Group C++ compiler
12787 case `$CC -V` in
12788 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12789 prelink_cmds_CXX='tpldir=Template.dir~
12790 rm -rf $tpldir~
12791 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12792 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12793 old_archive_cmds_CXX='tpldir=Template.dir~
12794 rm -rf $tpldir~
12795 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12796 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12797 $RANLIB $oldlib'
12798 archive_cmds_CXX='tpldir=Template.dir~
12799 rm -rf $tpldir~
12800 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12801 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12802 archive_expsym_cmds_CXX='tpldir=Template.dir~
12803 rm -rf $tpldir~
12804 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12805 $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'
12806 ;;
12807 *) # Version 6 and above use weak symbols
12808 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12809 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'
12810 ;;
12811 esac
12812
12813 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12814 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12815 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'
12816 ;;
12817 cxx*)
12818 # Compaq C++
12819 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12820 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'
12821
12822 runpath_var=LD_RUN_PATH
12823 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12824 hardcode_libdir_separator_CXX=:
12825
12826 # Commands to make compiler produce verbose output that lists
12827 # what "hidden" libraries, object files and flags are used when
12828 # linking a shared library.
12829 #
12830 # There doesn't appear to be a way to prevent this compiler from
12831 # explicitly linking system object files so we need to strip them
12832 # from the output so that they don't get included in the library
12833 # dependencies.
12834 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'
12835 ;;
12836 xl* | mpixl* | bgxl*)
12837 # IBM XL 8.0 on PPC, with GNU ld
12838 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12839 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12840 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12841 if test "x$supports_anon_versioning" = xyes; then
12842 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12843 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12844 echo "local: *; };" >> $output_objdir/$libname.ver~
12845 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12846 fi
12847 ;;
12848 *)
12849 case `$CC -V 2>&1 | sed 5q` in
12850 *Sun\ C*)
12851 # Sun C++ 5.9
12852 no_undefined_flag_CXX=' -zdefs'
12853 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12854 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'
12855 hardcode_libdir_flag_spec_CXX='-R$libdir'
12856 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'
12857 compiler_needs_object_CXX=yes
12858
12859 # Not sure whether something based on
12860 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12861 # would be better.
12862 output_verbose_link_cmd='func_echo_all'
12863
12864 # Archives containing C++ object files must be created using
12865 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12866 # necessary to make sure instantiated templates are included
12867 # in the archive.
12868 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12869 ;;
12870 esac
12871 ;;
12872 esac
12873 ;;
12874
12875 lynxos*)
12876 # FIXME: insert proper C++ library support
12877 ld_shlibs_CXX=no
12878 ;;
12879
12880 m88k*)
12881 # FIXME: insert proper C++ library support
12882 ld_shlibs_CXX=no
12883 ;;
12884
12885 mvs*)
12886 case $cc_basename in
12887 cxx*)
12888 # FIXME: insert proper C++ library support
12889 ld_shlibs_CXX=no
12890 ;;
12891 *)
12892 # FIXME: insert proper C++ library support
12893 ld_shlibs_CXX=no
12894 ;;
12895 esac
12896 ;;
12897
12898 netbsd*)
12899 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12900 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12901 wlarc=
12902 hardcode_libdir_flag_spec_CXX='-R$libdir'
12903 hardcode_direct_CXX=yes
12904 hardcode_shlibpath_var_CXX=no
12905 fi
12906 # Workaround some broken pre-1.5 toolchains
12907 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12908 ;;
12909
12910 *nto* | *qnx*)
12911 ld_shlibs_CXX=yes
12912 ;;
12913
12914 openbsd2*)
12915 # C++ shared libraries are fairly broken
12916 ld_shlibs_CXX=no
12917 ;;
12918
12919 openbsd*)
12920 if test -f /usr/libexec/ld.so; then
12921 hardcode_direct_CXX=yes
12922 hardcode_shlibpath_var_CXX=no
12923 hardcode_direct_absolute_CXX=yes
12924 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12925 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12926 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12927 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12928 export_dynamic_flag_spec_CXX='${wl}-E'
12929 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12930 fi
12931 output_verbose_link_cmd=func_echo_all
12932 else
12933 ld_shlibs_CXX=no
12934 fi
12935 ;;
12936
12937 osf3* | osf4* | osf5*)
12938 case $cc_basename in
12939 KCC*)
12940 # Kuck and Associates, Inc. (KAI) C++ Compiler
12941
12942 # KCC will only create a shared library if the output file
12943 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12944 # to its proper name (with version) after linking.
12945 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'
12946
12947 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12948 hardcode_libdir_separator_CXX=:
12949
12950 # Archives containing C++ object files must be created using
12951 # the KAI C++ compiler.
12952 case $host in
12953 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12954 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12955 esac
12956 ;;
12957 RCC*)
12958 # Rational C++ 2.4.1
12959 # FIXME: insert proper C++ library support
12960 ld_shlibs_CXX=no
12961 ;;
12962 cxx*)
12963 case $host in
12964 osf3*)
12965 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12966 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'
12967 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12968 ;;
12969 *)
12970 allow_undefined_flag_CXX=' -expect_unresolved \*'
12971 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'
12972 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12973 echo "-hidden">> $lib.exp~
12974 $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~
12975 $RM $lib.exp'
12976 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12977 ;;
12978 esac
12979
12980 hardcode_libdir_separator_CXX=:
12981
12982 # Commands to make compiler produce verbose output that lists
12983 # what "hidden" libraries, object files and flags are used when
12984 # linking a shared library.
12985 #
12986 # There doesn't appear to be a way to prevent this compiler from
12987 # explicitly linking system object files so we need to strip them
12988 # from the output so that they don't get included in the library
12989 # dependencies.
12990 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"'
12991 ;;
12992 *)
12993 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12994 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12995 case $host in
12996 osf3*)
12997 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'
12998 ;;
12999 *)
13000 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'
13001 ;;
13002 esac
13003
13004 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13005 hardcode_libdir_separator_CXX=:
13006
13007 # Commands to make compiler produce verbose output that lists
13008 # what "hidden" libraries, object files and flags are used when
13009 # linking a shared library.
13010 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13011
13012 else
13013 # FIXME: insert proper C++ library support
13014 ld_shlibs_CXX=no
13015 fi
13016 ;;
13017 esac
13018 ;;
13019
13020 psos*)
13021 # FIXME: insert proper C++ library support
13022 ld_shlibs_CXX=no
13023 ;;
13024
13025 sunos4*)
13026 case $cc_basename in
13027 CC*)
13028 # Sun C++ 4.x
13029 # FIXME: insert proper C++ library support
13030 ld_shlibs_CXX=no
13031 ;;
13032 lcc*)
13033 # Lucid
13034 # FIXME: insert proper C++ library support
13035 ld_shlibs_CXX=no
13036 ;;
13037 *)
13038 # FIXME: insert proper C++ library support
13039 ld_shlibs_CXX=no
13040 ;;
13041 esac
13042 ;;
13043
13044 solaris*)
13045 case $cc_basename in
13046 CC*)
13047 # Sun C++ 4.2, 5.x and Centerline C++
13048 archive_cmds_need_lc_CXX=yes
13049 no_undefined_flag_CXX=' -zdefs'
13050 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13051 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13052 $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'
13053
13054 hardcode_libdir_flag_spec_CXX='-R$libdir'
13055 hardcode_shlibpath_var_CXX=no
13056 case $host_os in
13057 solaris2.[0-5] | solaris2.[0-5].*) ;;
13058 *)
13059 # The compiler driver will combine and reorder linker options,
13060 # but understands `-z linker_flag'.
13061 # Supported since Solaris 2.6 (maybe 2.5.1?)
13062 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13063 ;;
13064 esac
13065 link_all_deplibs_CXX=yes
13066
13067 output_verbose_link_cmd='func_echo_all'
13068
13069 # Archives containing C++ object files must be created using
13070 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13071 # necessary to make sure instantiated templates are included
13072 # in the archive.
13073 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13074 ;;
13075 gcx*)
13076 # Green Hills C++ Compiler
13077 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13078
13079 # The C++ compiler must be used to create the archive.
13080 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13081 ;;
13082 *)
13083 # GNU C++ compiler with Solaris linker
13084 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13085 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13086 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13087 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13088 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13089 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13090
13091 # Commands to make compiler produce verbose output that lists
13092 # what "hidden" libraries, object files and flags are used when
13093 # linking a shared library.
13094 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13095 else
13096 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13097 # platform.
13098 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13099 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13100 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13101
13102 # Commands to make compiler produce verbose output that lists
13103 # what "hidden" libraries, object files and flags are used when
13104 # linking a shared library.
13105 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13106 fi
13107
13108 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13109 case $host_os in
13110 solaris2.[0-5] | solaris2.[0-5].*) ;;
13111 *)
13112 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13113 ;;
13114 esac
13115 fi
13116 ;;
13117 esac
13118 ;;
13119
13120 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13121 no_undefined_flag_CXX='${wl}-z,text'
13122 archive_cmds_need_lc_CXX=no
13123 hardcode_shlibpath_var_CXX=no
13124 runpath_var='LD_RUN_PATH'
13125
13126 case $cc_basename in
13127 CC*)
13128 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13129 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13130 ;;
13131 *)
13132 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13133 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134 ;;
13135 esac
13136 ;;
13137
13138 sysv5* | sco3.2v5* | sco5v6*)
13139 # Note: We can NOT use -z defs as we might desire, because we do not
13140 # link with -lc, and that would cause any symbols used from libc to
13141 # always be unresolved, which means just about no library would
13142 # ever link correctly. If we're not using GNU ld we use -z text
13143 # though, which does catch some bad symbols but isn't as heavy-handed
13144 # as -z defs.
13145 no_undefined_flag_CXX='${wl}-z,text'
13146 allow_undefined_flag_CXX='${wl}-z,nodefs'
13147 archive_cmds_need_lc_CXX=no
13148 hardcode_shlibpath_var_CXX=no
13149 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13150 hardcode_libdir_separator_CXX=':'
13151 link_all_deplibs_CXX=yes
13152 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13153 runpath_var='LD_RUN_PATH'
13154
13155 case $cc_basename in
13156 CC*)
13157 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13158 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13159 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13160 '"$old_archive_cmds_CXX"
13161 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13162 '"$reload_cmds_CXX"
13163 ;;
13164 *)
13165 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13166 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13167 ;;
13168 esac
13169 ;;
13170
13171 tandem*)
13172 case $cc_basename in
13173 NCC*)
13174 # NonStop-UX NCC 3.20
13175 # FIXME: insert proper C++ library support
13176 ld_shlibs_CXX=no
13177 ;;
13178 *)
13179 # FIXME: insert proper C++ library support
13180 ld_shlibs_CXX=no
13181 ;;
13182 esac
13183 ;;
13184
13185 vxworks*)
13186 # FIXME: insert proper C++ library support
13187 ld_shlibs_CXX=no
13188 ;;
13189
13190 *)
13191 # FIXME: insert proper C++ library support
13192 ld_shlibs_CXX=no
13193 ;;
13194 esac
13195
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13197 $as_echo "$ld_shlibs_CXX" >&6; }
13198 test "$ld_shlibs_CXX" = no && can_build_shared=no
13199
13200 GCC_CXX="$GXX"
13201 LD_CXX="$LD"
13202
13203 ## CAVEAT EMPTOR:
13204 ## There is no encapsulation within the following macros, do not change
13205 ## the running order or otherwise move them around unless you know exactly
13206 ## what you are doing...
13207 # Dependencies to place before and after the object being linked:
13208 predep_objects_CXX=
13209 postdep_objects_CXX=
13210 predeps_CXX=
13211 postdeps_CXX=
13212 compiler_lib_search_path_CXX=
13213
13214 cat > conftest.$ac_ext <<_LT_EOF
13215 class Foo
13216 {
13217 public:
13218 Foo (void) { a = 0; }
13219 private:
13220 int a;
13221 };
13222 _LT_EOF
13223
13224 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13225 (eval $ac_compile) 2>&5
13226 ac_status=$?
13227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13228 test $ac_status = 0; }; then
13229 # Parse the compiler output and extract the necessary
13230 # objects, libraries and library flags.
13231
13232 # Sentinel used to keep track of whether or not we are before
13233 # the conftest object file.
13234 pre_test_object_deps_done=no
13235
13236 for p in `eval "$output_verbose_link_cmd"`; do
13237 case $p in
13238
13239 -L* | -R* | -l*)
13240 # Some compilers place space between "-{L,R}" and the path.
13241 # Remove the space.
13242 if test $p = "-L" ||
13243 test $p = "-R"; then
13244 prev=$p
13245 continue
13246 else
13247 prev=
13248 fi
13249
13250 if test "$pre_test_object_deps_done" = no; then
13251 case $p in
13252 -L* | -R*)
13253 # Internal compiler library paths should come after those
13254 # provided the user. The postdeps already come after the
13255 # user supplied libs so there is no need to process them.
13256 if test -z "$compiler_lib_search_path_CXX"; then
13257 compiler_lib_search_path_CXX="${prev}${p}"
13258 else
13259 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13260 fi
13261 ;;
13262 # The "-l" case would never come before the object being
13263 # linked, so don't bother handling this case.
13264 esac
13265 else
13266 if test -z "$postdeps_CXX"; then
13267 postdeps_CXX="${prev}${p}"
13268 else
13269 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13270 fi
13271 fi
13272 ;;
13273
13274 *.$objext)
13275 # This assumes that the test object file only shows up
13276 # once in the compiler output.
13277 if test "$p" = "conftest.$objext"; then
13278 pre_test_object_deps_done=yes
13279 continue
13280 fi
13281
13282 if test "$pre_test_object_deps_done" = no; then
13283 if test -z "$predep_objects_CXX"; then
13284 predep_objects_CXX="$p"
13285 else
13286 predep_objects_CXX="$predep_objects_CXX $p"
13287 fi
13288 else
13289 if test -z "$postdep_objects_CXX"; then
13290 postdep_objects_CXX="$p"
13291 else
13292 postdep_objects_CXX="$postdep_objects_CXX $p"
13293 fi
13294 fi
13295 ;;
13296
13297 *) ;; # Ignore the rest.
13298
13299 esac
13300 done
13301
13302 # Clean up.
13303 rm -f a.out a.exe
13304 else
13305 echo "libtool.m4: error: problem compiling CXX test program"
13306 fi
13307
13308 $RM -f confest.$objext
13309
13310 # PORTME: override above test on systems where it is broken
13311 case $host_os in
13312 interix[3-9]*)
13313 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13314 # hack all around it, let's just trust "g++" to DTRT.
13315 predep_objects_CXX=
13316 postdep_objects_CXX=
13317 postdeps_CXX=
13318 ;;
13319
13320 linux*)
13321 case `$CC -V 2>&1 | sed 5q` in
13322 *Sun\ C*)
13323 # Sun C++ 5.9
13324
13325 # The more standards-conforming stlport4 library is
13326 # incompatible with the Cstd library. Avoid specifying
13327 # it if it's in CXXFLAGS. Ignore libCrun as
13328 # -library=stlport4 depends on it.
13329 case " $CXX $CXXFLAGS " in
13330 *" -library=stlport4 "*)
13331 solaris_use_stlport4=yes
13332 ;;
13333 esac
13334
13335 if test "$solaris_use_stlport4" != yes; then
13336 postdeps_CXX='-library=Cstd -library=Crun'
13337 fi
13338 ;;
13339 esac
13340 ;;
13341
13342 solaris*)
13343 case $cc_basename in
13344 CC*)
13345 # The more standards-conforming stlport4 library is
13346 # incompatible with the Cstd library. Avoid specifying
13347 # it if it's in CXXFLAGS. Ignore libCrun as
13348 # -library=stlport4 depends on it.
13349 case " $CXX $CXXFLAGS " in
13350 *" -library=stlport4 "*)
13351 solaris_use_stlport4=yes
13352 ;;
13353 esac
13354
13355 # Adding this requires a known-good setup of shared libraries for
13356 # Sun compiler versions before 5.6, else PIC objects from an old
13357 # archive will be linked into the output, leading to subtle bugs.
13358 if test "$solaris_use_stlport4" != yes; then
13359 postdeps_CXX='-library=Cstd -library=Crun'
13360 fi
13361 ;;
13362 esac
13363 ;;
13364 esac
13365
13366
13367 case " $postdeps_CXX " in
13368 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13369 esac
13370 compiler_lib_search_dirs_CXX=
13371 if test -n "${compiler_lib_search_path_CXX}"; then
13372 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13373 fi
13374
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 lt_prog_compiler_wl_CXX=
13406 lt_prog_compiler_pic_CXX=
13407 lt_prog_compiler_static_CXX=
13408
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13410 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13411
13412 # C++ specific cases for pic, static, wl, etc.
13413 if test "$GXX" = yes; then
13414 lt_prog_compiler_wl_CXX='-Wl,'
13415 lt_prog_compiler_static_CXX='-static'
13416
13417 case $host_os in
13418 aix*)
13419 # All AIX code is PIC.
13420 if test "$host_cpu" = ia64; then
13421 # AIX 5 now supports IA64 processor
13422 lt_prog_compiler_static_CXX='-Bstatic'
13423 fi
13424 lt_prog_compiler_pic_CXX='-fPIC'
13425 ;;
13426
13427 amigaos*)
13428 case $host_cpu in
13429 powerpc)
13430 # see comment about AmigaOS4 .so support
13431 lt_prog_compiler_pic_CXX='-fPIC'
13432 ;;
13433 m68k)
13434 # FIXME: we need at least 68020 code to build shared libraries, but
13435 # adding the `-m68020' flag to GCC prevents building anything better,
13436 # like `-m68040'.
13437 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13438 ;;
13439 esac
13440 ;;
13441
13442 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13443 # PIC is the default for these OSes.
13444 ;;
13445 mingw* | cygwin* | os2* | pw32* | cegcc*)
13446 # This hack is so that the source file can tell whether it is being
13447 # built for inclusion in a dll (and should export symbols for example).
13448 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13449 # (--disable-auto-import) libraries
13450 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13451 ;;
13452 darwin* | rhapsody*)
13453 # PIC is the default on this platform
13454 # Common symbols not allowed in MH_DYLIB files
13455 lt_prog_compiler_pic_CXX='-fno-common'
13456 ;;
13457 *djgpp*)
13458 # DJGPP does not support shared libraries at all
13459 lt_prog_compiler_pic_CXX=
13460 ;;
13461 haiku*)
13462 # PIC is the default for Haiku.
13463 # The "-static" flag exists, but is broken.
13464 lt_prog_compiler_static_CXX=
13465 ;;
13466 interix[3-9]*)
13467 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13468 # Instead, we relocate shared libraries at runtime.
13469 ;;
13470 sysv4*MP*)
13471 if test -d /usr/nec; then
13472 lt_prog_compiler_pic_CXX=-Kconform_pic
13473 fi
13474 ;;
13475 hpux*)
13476 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13477 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13478 # sets the default TLS model and affects inlining.
13479 case $host_cpu in
13480 hppa*64*)
13481 ;;
13482 *)
13483 lt_prog_compiler_pic_CXX='-fPIC'
13484 ;;
13485 esac
13486 ;;
13487 *qnx* | *nto*)
13488 # QNX uses GNU C++, but need to define -shared option too, otherwise
13489 # it will coredump.
13490 lt_prog_compiler_pic_CXX='-fPIC -shared'
13491 ;;
13492 *)
13493 lt_prog_compiler_pic_CXX='-fPIC'
13494 ;;
13495 esac
13496 else
13497 case $host_os in
13498 aix[4-9]*)
13499 # All AIX code is PIC.
13500 if test "$host_cpu" = ia64; then
13501 # AIX 5 now supports IA64 processor
13502 lt_prog_compiler_static_CXX='-Bstatic'
13503 else
13504 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13505 fi
13506 ;;
13507 chorus*)
13508 case $cc_basename in
13509 cxch68*)
13510 # Green Hills C++ Compiler
13511 # _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"
13512 ;;
13513 esac
13514 ;;
13515 dgux*)
13516 case $cc_basename in
13517 ec++*)
13518 lt_prog_compiler_pic_CXX='-KPIC'
13519 ;;
13520 ghcx*)
13521 # Green Hills C++ Compiler
13522 lt_prog_compiler_pic_CXX='-pic'
13523 ;;
13524 *)
13525 ;;
13526 esac
13527 ;;
13528 freebsd* | dragonfly*)
13529 # FreeBSD uses GNU C++
13530 ;;
13531 hpux9* | hpux10* | hpux11*)
13532 case $cc_basename in
13533 CC*)
13534 lt_prog_compiler_wl_CXX='-Wl,'
13535 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13536 if test "$host_cpu" != ia64; then
13537 lt_prog_compiler_pic_CXX='+Z'
13538 fi
13539 ;;
13540 aCC*)
13541 lt_prog_compiler_wl_CXX='-Wl,'
13542 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13543 case $host_cpu in
13544 hppa*64*|ia64*)
13545 # +Z the default
13546 ;;
13547 *)
13548 lt_prog_compiler_pic_CXX='+Z'
13549 ;;
13550 esac
13551 ;;
13552 *)
13553 ;;
13554 esac
13555 ;;
13556 interix*)
13557 # This is c89, which is MS Visual C++ (no shared libs)
13558 # Anyone wants to do a port?
13559 ;;
13560 irix5* | irix6* | nonstopux*)
13561 case $cc_basename in
13562 CC*)
13563 lt_prog_compiler_wl_CXX='-Wl,'
13564 lt_prog_compiler_static_CXX='-non_shared'
13565 # CC pic flag -KPIC is the default.
13566 ;;
13567 *)
13568 ;;
13569 esac
13570 ;;
13571 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13572 case $cc_basename in
13573 KCC*)
13574 # KAI C++ Compiler
13575 lt_prog_compiler_wl_CXX='--backend -Wl,'
13576 lt_prog_compiler_pic_CXX='-fPIC'
13577 ;;
13578 ecpc* )
13579 # old Intel C++ for x86_64 which still supported -KPIC.
13580 lt_prog_compiler_wl_CXX='-Wl,'
13581 lt_prog_compiler_pic_CXX='-KPIC'
13582 lt_prog_compiler_static_CXX='-static'
13583 ;;
13584 icpc* )
13585 # Intel C++, used to be incompatible with GCC.
13586 # ICC 10 doesn't accept -KPIC any more.
13587 lt_prog_compiler_wl_CXX='-Wl,'
13588 lt_prog_compiler_pic_CXX='-fPIC'
13589 lt_prog_compiler_static_CXX='-static'
13590 ;;
13591 pgCC* | pgcpp*)
13592 # Portland Group C++ compiler
13593 lt_prog_compiler_wl_CXX='-Wl,'
13594 lt_prog_compiler_pic_CXX='-fpic'
13595 lt_prog_compiler_static_CXX='-Bstatic'
13596 ;;
13597 cxx*)
13598 # Compaq C++
13599 # Make sure the PIC flag is empty. It appears that all Alpha
13600 # Linux and Compaq Tru64 Unix objects are PIC.
13601 lt_prog_compiler_pic_CXX=
13602 lt_prog_compiler_static_CXX='-non_shared'
13603 ;;
13604 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13605 # IBM XL 8.0, 9.0 on PPC and BlueGene
13606 lt_prog_compiler_wl_CXX='-Wl,'
13607 lt_prog_compiler_pic_CXX='-qpic'
13608 lt_prog_compiler_static_CXX='-qstaticlink'
13609 ;;
13610 *)
13611 case `$CC -V 2>&1 | sed 5q` in
13612 *Sun\ C*)
13613 # Sun C++ 5.9
13614 lt_prog_compiler_pic_CXX='-KPIC'
13615 lt_prog_compiler_static_CXX='-Bstatic'
13616 lt_prog_compiler_wl_CXX='-Qoption ld '
13617 ;;
13618 esac
13619 ;;
13620 esac
13621 ;;
13622 lynxos*)
13623 ;;
13624 m88k*)
13625 ;;
13626 mvs*)
13627 case $cc_basename in
13628 cxx*)
13629 lt_prog_compiler_pic_CXX='-W c,exportall'
13630 ;;
13631 *)
13632 ;;
13633 esac
13634 ;;
13635 netbsd*)
13636 ;;
13637 *qnx* | *nto*)
13638 # QNX uses GNU C++, but need to define -shared option too, otherwise
13639 # it will coredump.
13640 lt_prog_compiler_pic_CXX='-fPIC -shared'
13641 ;;
13642 osf3* | osf4* | osf5*)
13643 case $cc_basename in
13644 KCC*)
13645 lt_prog_compiler_wl_CXX='--backend -Wl,'
13646 ;;
13647 RCC*)
13648 # Rational C++ 2.4.1
13649 lt_prog_compiler_pic_CXX='-pic'
13650 ;;
13651 cxx*)
13652 # Digital/Compaq C++
13653 lt_prog_compiler_wl_CXX='-Wl,'
13654 # Make sure the PIC flag is empty. It appears that all Alpha
13655 # Linux and Compaq Tru64 Unix objects are PIC.
13656 lt_prog_compiler_pic_CXX=
13657 lt_prog_compiler_static_CXX='-non_shared'
13658 ;;
13659 *)
13660 ;;
13661 esac
13662 ;;
13663 psos*)
13664 ;;
13665 solaris*)
13666 case $cc_basename in
13667 CC*)
13668 # Sun C++ 4.2, 5.x and Centerline C++
13669 lt_prog_compiler_pic_CXX='-KPIC'
13670 lt_prog_compiler_static_CXX='-Bstatic'
13671 lt_prog_compiler_wl_CXX='-Qoption ld '
13672 ;;
13673 gcx*)
13674 # Green Hills C++ Compiler
13675 lt_prog_compiler_pic_CXX='-PIC'
13676 ;;
13677 *)
13678 ;;
13679 esac
13680 ;;
13681 sunos4*)
13682 case $cc_basename in
13683 CC*)
13684 # Sun C++ 4.x
13685 lt_prog_compiler_pic_CXX='-pic'
13686 lt_prog_compiler_static_CXX='-Bstatic'
13687 ;;
13688 lcc*)
13689 # Lucid
13690 lt_prog_compiler_pic_CXX='-pic'
13691 ;;
13692 *)
13693 ;;
13694 esac
13695 ;;
13696 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13697 case $cc_basename in
13698 CC*)
13699 lt_prog_compiler_wl_CXX='-Wl,'
13700 lt_prog_compiler_pic_CXX='-KPIC'
13701 lt_prog_compiler_static_CXX='-Bstatic'
13702 ;;
13703 esac
13704 ;;
13705 tandem*)
13706 case $cc_basename in
13707 NCC*)
13708 # NonStop-UX NCC 3.20
13709 lt_prog_compiler_pic_CXX='-KPIC'
13710 ;;
13711 *)
13712 ;;
13713 esac
13714 ;;
13715 vxworks*)
13716 ;;
13717 *)
13718 lt_prog_compiler_can_build_shared_CXX=no
13719 ;;
13720 esac
13721 fi
13722
13723 case $host_os in
13724 # For platforms which do not support PIC, -DPIC is meaningless:
13725 *djgpp*)
13726 lt_prog_compiler_pic_CXX=
13727 ;;
13728 *)
13729 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13730 ;;
13731 esac
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13733 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13734
13735
13736
13737 #
13738 # Check to make sure the PIC flag actually works.
13739 #
13740 if test -n "$lt_prog_compiler_pic_CXX"; then
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13742 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13743 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13744 $as_echo_n "(cached) " >&6
13745 else
13746 lt_cv_prog_compiler_pic_works_CXX=no
13747 ac_outfile=conftest.$ac_objext
13748 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13749 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13750 # Insert the option either (1) after the last *FLAGS variable, or
13751 # (2) before a word containing "conftest.", or (3) at the end.
13752 # Note that $ac_compile itself does not contain backslashes and begins
13753 # with a dollar sign (not a hyphen), so the echo should work correctly.
13754 # The option is referenced via a variable to avoid confusing sed.
13755 lt_compile=`echo "$ac_compile" | $SED \
13756 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13757 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13758 -e 's:$: $lt_compiler_flag:'`
13759 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13760 (eval "$lt_compile" 2>conftest.err)
13761 ac_status=$?
13762 cat conftest.err >&5
13763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13764 if (exit $ac_status) && test -s "$ac_outfile"; then
13765 # The compiler can only warn and ignore the option if not recognized
13766 # So say no if there are warnings other than the usual output.
13767 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13768 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13769 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13770 lt_cv_prog_compiler_pic_works_CXX=yes
13771 fi
13772 fi
13773 $RM conftest*
13774
13775 fi
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13777 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13778
13779 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13780 case $lt_prog_compiler_pic_CXX in
13781 "" | " "*) ;;
13782 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13783 esac
13784 else
13785 lt_prog_compiler_pic_CXX=
13786 lt_prog_compiler_can_build_shared_CXX=no
13787 fi
13788
13789 fi
13790
13791
13792
13793 #
13794 # Check to make sure the static flag actually works.
13795 #
13796 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13798 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13799 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13800 $as_echo_n "(cached) " >&6
13801 else
13802 lt_cv_prog_compiler_static_works_CXX=no
13803 save_LDFLAGS="$LDFLAGS"
13804 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13805 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13806 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13807 # The linker can only warn and ignore the option if not recognized
13808 # So say no if there are warnings
13809 if test -s conftest.err; then
13810 # Append any errors to the config.log.
13811 cat conftest.err 1>&5
13812 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13813 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13814 if diff conftest.exp conftest.er2 >/dev/null; then
13815 lt_cv_prog_compiler_static_works_CXX=yes
13816 fi
13817 else
13818 lt_cv_prog_compiler_static_works_CXX=yes
13819 fi
13820 fi
13821 $RM -r conftest*
13822 LDFLAGS="$save_LDFLAGS"
13823
13824 fi
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13826 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13827
13828 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13829 :
13830 else
13831 lt_prog_compiler_static_CXX=
13832 fi
13833
13834
13835
13836
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13838 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13839 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13840 $as_echo_n "(cached) " >&6
13841 else
13842 lt_cv_prog_compiler_c_o_CXX=no
13843 $RM -r conftest 2>/dev/null
13844 mkdir conftest
13845 cd conftest
13846 mkdir out
13847 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13848
13849 lt_compiler_flag="-o out/conftest2.$ac_objext"
13850 # Insert the option either (1) after the last *FLAGS variable, or
13851 # (2) before a word containing "conftest.", or (3) at the end.
13852 # Note that $ac_compile itself does not contain backslashes and begins
13853 # with a dollar sign (not a hyphen), so the echo should work correctly.
13854 lt_compile=`echo "$ac_compile" | $SED \
13855 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13856 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13857 -e 's:$: $lt_compiler_flag:'`
13858 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13859 (eval "$lt_compile" 2>out/conftest.err)
13860 ac_status=$?
13861 cat out/conftest.err >&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13864 then
13865 # The compiler can only warn and ignore the option if not recognized
13866 # So say no if there are warnings
13867 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13868 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13869 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13870 lt_cv_prog_compiler_c_o_CXX=yes
13871 fi
13872 fi
13873 chmod u+w . 2>&5
13874 $RM conftest*
13875 # SGI C++ compiler will create directory out/ii_files/ for
13876 # template instantiation
13877 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13878 $RM out/* && rmdir out
13879 cd ..
13880 $RM -r conftest
13881 $RM conftest*
13882
13883 fi
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13885 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13886
13887
13888
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13890 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13891 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13892 $as_echo_n "(cached) " >&6
13893 else
13894 lt_cv_prog_compiler_c_o_CXX=no
13895 $RM -r conftest 2>/dev/null
13896 mkdir conftest
13897 cd conftest
13898 mkdir out
13899 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13900
13901 lt_compiler_flag="-o out/conftest2.$ac_objext"
13902 # Insert the option either (1) after the last *FLAGS variable, or
13903 # (2) before a word containing "conftest.", or (3) at the end.
13904 # Note that $ac_compile itself does not contain backslashes and begins
13905 # with a dollar sign (not a hyphen), so the echo should work correctly.
13906 lt_compile=`echo "$ac_compile" | $SED \
13907 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13908 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13909 -e 's:$: $lt_compiler_flag:'`
13910 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13911 (eval "$lt_compile" 2>out/conftest.err)
13912 ac_status=$?
13913 cat out/conftest.err >&5
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13916 then
13917 # The compiler can only warn and ignore the option if not recognized
13918 # So say no if there are warnings
13919 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13920 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13921 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13922 lt_cv_prog_compiler_c_o_CXX=yes
13923 fi
13924 fi
13925 chmod u+w . 2>&5
13926 $RM conftest*
13927 # SGI C++ compiler will create directory out/ii_files/ for
13928 # template instantiation
13929 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13930 $RM out/* && rmdir out
13931 cd ..
13932 $RM -r conftest
13933 $RM conftest*
13934
13935 fi
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13937 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13938
13939
13940
13941
13942 hard_links="nottested"
13943 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13944 # do not overwrite the value of need_locks provided by the user
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13946 $as_echo_n "checking if we can lock with hard links... " >&6; }
13947 hard_links=yes
13948 $RM conftest*
13949 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13950 touch conftest.a
13951 ln conftest.a conftest.b 2>&5 || hard_links=no
13952 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13954 $as_echo "$hard_links" >&6; }
13955 if test "$hard_links" = no; then
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13957 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13958 need_locks=warn
13959 fi
13960 else
13961 need_locks=no
13962 fi
13963
13964
13965
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13967 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13968
13969 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13970 case $host_os in
13971 aix[4-9]*)
13972 # If we're using GNU nm, then we don't want the "-C" option.
13973 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13974 # Also, AIX nm treats weak defined symbols like other global defined
13975 # symbols, whereas GNU nm marks them as "W".
13976 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13977 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'
13978 else
13979 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'
13980 fi
13981 ;;
13982 pw32*)
13983 export_symbols_cmds_CXX="$ltdll_cmds"
13984 ;;
13985 cygwin* | mingw* | cegcc*)
13986 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'
13987 ;;
13988 *)
13989 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13990 ;;
13991 esac
13992 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13993
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13995 $as_echo "$ld_shlibs_CXX" >&6; }
13996 test "$ld_shlibs_CXX" = no && can_build_shared=no
13997
13998 with_gnu_ld_CXX=$with_gnu_ld
13999
14000
14001
14002
14003
14004
14005 #
14006 # Do we need to explicitly link libc?
14007 #
14008 case "x$archive_cmds_need_lc_CXX" in
14009 x|xyes)
14010 # Assume -lc should be added
14011 archive_cmds_need_lc_CXX=yes
14012
14013 if test "$enable_shared" = yes && test "$GCC" = yes; then
14014 case $archive_cmds_CXX in
14015 *'~'*)
14016 # FIXME: we may have to deal with multi-command sequences.
14017 ;;
14018 '$CC '*)
14019 # Test whether the compiler implicitly links with -lc since on some
14020 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14021 # to ld, don't add -lc before -lgcc.
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14023 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14024 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14025 $as_echo_n "(cached) " >&6
14026 else
14027 $RM conftest*
14028 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14029
14030 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14031 (eval $ac_compile) 2>&5
14032 ac_status=$?
14033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14034 test $ac_status = 0; } 2>conftest.err; then
14035 soname=conftest
14036 lib=conftest
14037 libobjs=conftest.$ac_objext
14038 deplibs=
14039 wl=$lt_prog_compiler_wl_CXX
14040 pic_flag=$lt_prog_compiler_pic_CXX
14041 compiler_flags=-v
14042 linker_flags=-v
14043 verstring=
14044 output_objdir=.
14045 libname=conftest
14046 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14047 allow_undefined_flag_CXX=
14048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14049 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14050 ac_status=$?
14051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14052 test $ac_status = 0; }
14053 then
14054 lt_cv_archive_cmds_need_lc_CXX=no
14055 else
14056 lt_cv_archive_cmds_need_lc_CXX=yes
14057 fi
14058 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14059 else
14060 cat conftest.err 1>&5
14061 fi
14062 $RM conftest*
14063
14064 fi
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14066 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14067 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14068 ;;
14069 esac
14070 fi
14071 ;;
14072 esac
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14138 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14139
14140 library_names_spec=
14141 libname_spec='lib$name'
14142 soname_spec=
14143 shrext_cmds=".so"
14144 postinstall_cmds=
14145 postuninstall_cmds=
14146 finish_cmds=
14147 finish_eval=
14148 shlibpath_var=
14149 shlibpath_overrides_runpath=unknown
14150 version_type=none
14151 dynamic_linker="$host_os ld.so"
14152 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14153 need_lib_prefix=unknown
14154 hardcode_into_libs=no
14155
14156 # when you set need_version to no, make sure it does not cause -set_version
14157 # flags to be left without arguments
14158 need_version=unknown
14159
14160 case $host_os in
14161 aix3*)
14162 version_type=linux
14163 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14164 shlibpath_var=LIBPATH
14165
14166 # AIX 3 has no versioning support, so we append a major version to the name.
14167 soname_spec='${libname}${release}${shared_ext}$major'
14168 ;;
14169
14170 aix[4-9]*)
14171 version_type=linux
14172 need_lib_prefix=no
14173 need_version=no
14174 hardcode_into_libs=yes
14175 if test "$host_cpu" = ia64; then
14176 # AIX 5 supports IA64
14177 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14178 shlibpath_var=LD_LIBRARY_PATH
14179 else
14180 # With GCC up to 2.95.x, collect2 would create an import file
14181 # for dependence libraries. The import file would start with
14182 # the line `#! .'. This would cause the generated library to
14183 # depend on `.', always an invalid library. This was fixed in
14184 # development snapshots of GCC prior to 3.0.
14185 case $host_os in
14186 aix4 | aix4.[01] | aix4.[01].*)
14187 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14188 echo ' yes '
14189 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14190 :
14191 else
14192 can_build_shared=no
14193 fi
14194 ;;
14195 esac
14196 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14197 # soname into executable. Probably we can add versioning support to
14198 # collect2, so additional links can be useful in future.
14199 if test "$aix_use_runtimelinking" = yes; then
14200 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14201 # instead of lib<name>.a to let people know that these are not
14202 # typical AIX shared libraries.
14203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14204 else
14205 # We preserve .a as extension for shared libraries through AIX4.2
14206 # and later when we are not doing run time linking.
14207 library_names_spec='${libname}${release}.a $libname.a'
14208 soname_spec='${libname}${release}${shared_ext}$major'
14209 fi
14210 shlibpath_var=LIBPATH
14211 fi
14212 ;;
14213
14214 amigaos*)
14215 case $host_cpu in
14216 powerpc)
14217 # Since July 2007 AmigaOS4 officially supports .so libraries.
14218 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14220 ;;
14221 m68k)
14222 library_names_spec='$libname.ixlibrary $libname.a'
14223 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14224 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'
14225 ;;
14226 esac
14227 ;;
14228
14229 beos*)
14230 library_names_spec='${libname}${shared_ext}'
14231 dynamic_linker="$host_os ld.so"
14232 shlibpath_var=LIBRARY_PATH
14233 ;;
14234
14235 bsdi[45]*)
14236 version_type=linux
14237 need_version=no
14238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14239 soname_spec='${libname}${release}${shared_ext}$major'
14240 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14241 shlibpath_var=LD_LIBRARY_PATH
14242 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14243 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14244 # the default ld.so.conf also contains /usr/contrib/lib and
14245 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14246 # libtool to hard-code these into programs
14247 ;;
14248
14249 cygwin* | mingw* | pw32* | cegcc*)
14250 version_type=windows
14251 shrext_cmds=".dll"
14252 need_version=no
14253 need_lib_prefix=no
14254
14255 case $GCC,$host_os in
14256 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14257 library_names_spec='$libname.dll.a'
14258 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14259 postinstall_cmds='base_file=`basename \${file}`~
14260 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14261 dldir=$destdir/`dirname \$dlpath`~
14262 test -d \$dldir || mkdir -p \$dldir~
14263 $install_prog $dir/$dlname \$dldir/$dlname~
14264 chmod a+x \$dldir/$dlname~
14265 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14266 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14267 fi'
14268 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14269 dlpath=$dir/\$dldll~
14270 $RM \$dlpath'
14271 shlibpath_overrides_runpath=yes
14272
14273 case $host_os in
14274 cygwin*)
14275 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14276 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14277
14278 ;;
14279 mingw* | cegcc*)
14280 # MinGW DLLs use traditional 'lib' prefix
14281 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14282 ;;
14283 pw32*)
14284 # pw32 DLLs use 'pw' prefix rather than 'lib'
14285 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14286 ;;
14287 esac
14288 ;;
14289
14290 *)
14291 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14292 ;;
14293 esac
14294 dynamic_linker='Win32 ld.exe'
14295 # FIXME: first we should search . and the directory the executable is in
14296 shlibpath_var=PATH
14297 ;;
14298
14299 darwin* | rhapsody*)
14300 dynamic_linker="$host_os dyld"
14301 version_type=darwin
14302 need_lib_prefix=no
14303 need_version=no
14304 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14305 soname_spec='${libname}${release}${major}$shared_ext'
14306 shlibpath_overrides_runpath=yes
14307 shlibpath_var=DYLD_LIBRARY_PATH
14308 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14309
14310 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14311 ;;
14312
14313 dgux*)
14314 version_type=linux
14315 need_lib_prefix=no
14316 need_version=no
14317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14318 soname_spec='${libname}${release}${shared_ext}$major'
14319 shlibpath_var=LD_LIBRARY_PATH
14320 ;;
14321
14322 freebsd* | dragonfly*)
14323 # DragonFly does not have aout. When/if they implement a new
14324 # versioning mechanism, adjust this.
14325 if test -x /usr/bin/objformat; then
14326 objformat=`/usr/bin/objformat`
14327 else
14328 case $host_os in
14329 freebsd[23].*) objformat=aout ;;
14330 *) objformat=elf ;;
14331 esac
14332 fi
14333 version_type=freebsd-$objformat
14334 case $version_type in
14335 freebsd-elf*)
14336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14337 need_version=no
14338 need_lib_prefix=no
14339 ;;
14340 freebsd-*)
14341 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14342 need_version=yes
14343 ;;
14344 esac
14345 shlibpath_var=LD_LIBRARY_PATH
14346 case $host_os in
14347 freebsd2.*)
14348 shlibpath_overrides_runpath=yes
14349 ;;
14350 freebsd3.[01]* | freebsdelf3.[01]*)
14351 shlibpath_overrides_runpath=yes
14352 hardcode_into_libs=yes
14353 ;;
14354 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14355 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14356 shlibpath_overrides_runpath=no
14357 hardcode_into_libs=yes
14358 ;;
14359 *) # from 4.6 on, and DragonFly
14360 shlibpath_overrides_runpath=yes
14361 hardcode_into_libs=yes
14362 ;;
14363 esac
14364 ;;
14365
14366 gnu*)
14367 version_type=linux
14368 need_lib_prefix=no
14369 need_version=no
14370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14371 soname_spec='${libname}${release}${shared_ext}$major'
14372 shlibpath_var=LD_LIBRARY_PATH
14373 hardcode_into_libs=yes
14374 ;;
14375
14376 haiku*)
14377 version_type=linux
14378 need_lib_prefix=no
14379 need_version=no
14380 dynamic_linker="$host_os runtime_loader"
14381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14382 soname_spec='${libname}${release}${shared_ext}$major'
14383 shlibpath_var=LIBRARY_PATH
14384 shlibpath_overrides_runpath=yes
14385 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14386 hardcode_into_libs=yes
14387 ;;
14388
14389 hpux9* | hpux10* | hpux11*)
14390 # Give a soname corresponding to the major version so that dld.sl refuses to
14391 # link against other versions.
14392 version_type=sunos
14393 need_lib_prefix=no
14394 need_version=no
14395 case $host_cpu in
14396 ia64*)
14397 shrext_cmds='.so'
14398 hardcode_into_libs=yes
14399 dynamic_linker="$host_os dld.so"
14400 shlibpath_var=LD_LIBRARY_PATH
14401 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14403 soname_spec='${libname}${release}${shared_ext}$major'
14404 if test "X$HPUX_IA64_MODE" = X32; then
14405 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14406 else
14407 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14408 fi
14409 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14410 ;;
14411 hppa*64*)
14412 shrext_cmds='.sl'
14413 hardcode_into_libs=yes
14414 dynamic_linker="$host_os dld.sl"
14415 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14416 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14418 soname_spec='${libname}${release}${shared_ext}$major'
14419 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14420 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14421 ;;
14422 *)
14423 shrext_cmds='.sl'
14424 dynamic_linker="$host_os dld.sl"
14425 shlibpath_var=SHLIB_PATH
14426 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14428 soname_spec='${libname}${release}${shared_ext}$major'
14429 ;;
14430 esac
14431 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14432 postinstall_cmds='chmod 555 $lib'
14433 # or fails outright, so override atomically:
14434 install_override_mode=555
14435 ;;
14436
14437 interix[3-9]*)
14438 version_type=linux
14439 need_lib_prefix=no
14440 need_version=no
14441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14442 soname_spec='${libname}${release}${shared_ext}$major'
14443 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14444 shlibpath_var=LD_LIBRARY_PATH
14445 shlibpath_overrides_runpath=no
14446 hardcode_into_libs=yes
14447 ;;
14448
14449 irix5* | irix6* | nonstopux*)
14450 case $host_os in
14451 nonstopux*) version_type=nonstopux ;;
14452 *)
14453 if test "$lt_cv_prog_gnu_ld" = yes; then
14454 version_type=linux
14455 else
14456 version_type=irix
14457 fi ;;
14458 esac
14459 need_lib_prefix=no
14460 need_version=no
14461 soname_spec='${libname}${release}${shared_ext}$major'
14462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14463 case $host_os in
14464 irix5* | nonstopux*)
14465 libsuff= shlibsuff=
14466 ;;
14467 *)
14468 case $LD in # libtool.m4 will add one of these switches to LD
14469 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14470 libsuff= shlibsuff= libmagic=32-bit;;
14471 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14472 libsuff=32 shlibsuff=N32 libmagic=N32;;
14473 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14474 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14475 *) libsuff= shlibsuff= libmagic=never-match;;
14476 esac
14477 ;;
14478 esac
14479 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14480 shlibpath_overrides_runpath=no
14481 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14482 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14483 hardcode_into_libs=yes
14484 ;;
14485
14486 # No shared lib support for Linux oldld, aout, or coff.
14487 linux*oldld* | linux*aout* | linux*coff*)
14488 dynamic_linker=no
14489 ;;
14490
14491 # This must be Linux ELF.
14492 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14493 version_type=linux
14494 need_lib_prefix=no
14495 need_version=no
14496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14497 soname_spec='${libname}${release}${shared_ext}$major'
14498 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14499 shlibpath_var=LD_LIBRARY_PATH
14500 shlibpath_overrides_runpath=no
14501
14502 # Some binutils ld are patched to set DT_RUNPATH
14503 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14504 $as_echo_n "(cached) " >&6
14505 else
14506 lt_cv_shlibpath_overrides_runpath=no
14507 save_LDFLAGS=$LDFLAGS
14508 save_libdir=$libdir
14509 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14510 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14511 if test x$gcc_no_link = xyes; then
14512 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14513 fi
14514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14515 /* end confdefs.h. */
14516
14517 int
14518 main ()
14519 {
14520
14521 ;
14522 return 0;
14523 }
14524 _ACEOF
14525 if ac_fn_cxx_try_link "$LINENO"; then :
14526 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14527 lt_cv_shlibpath_overrides_runpath=yes
14528 fi
14529 fi
14530 rm -f core conftest.err conftest.$ac_objext \
14531 conftest$ac_exeext conftest.$ac_ext
14532 LDFLAGS=$save_LDFLAGS
14533 libdir=$save_libdir
14534
14535 fi
14536
14537 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14538
14539 # This implies no fast_install, which is unacceptable.
14540 # Some rework will be needed to allow for fast_install
14541 # before this can be enabled.
14542 hardcode_into_libs=yes
14543
14544 # Append ld.so.conf contents to the search path
14545 if test -f /etc/ld.so.conf; then
14546 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' ' '`
14547 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14548 fi
14549
14550 # We used to test for /lib/ld.so.1 and disable shared libraries on
14551 # powerpc, because MkLinux only supported shared libraries with the
14552 # GNU dynamic linker. Since this was broken with cross compilers,
14553 # most powerpc-linux boxes support dynamic linking these days and
14554 # people can always --disable-shared, the test was removed, and we
14555 # assume the GNU/Linux dynamic linker is in use.
14556 dynamic_linker='GNU/Linux ld.so'
14557 ;;
14558
14559 netbsd*)
14560 version_type=sunos
14561 need_lib_prefix=no
14562 need_version=no
14563 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14565 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14566 dynamic_linker='NetBSD (a.out) ld.so'
14567 else
14568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14569 soname_spec='${libname}${release}${shared_ext}$major'
14570 dynamic_linker='NetBSD ld.elf_so'
14571 fi
14572 shlibpath_var=LD_LIBRARY_PATH
14573 shlibpath_overrides_runpath=yes
14574 hardcode_into_libs=yes
14575 ;;
14576
14577 newsos6)
14578 version_type=linux
14579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14580 shlibpath_var=LD_LIBRARY_PATH
14581 shlibpath_overrides_runpath=yes
14582 ;;
14583
14584 *nto* | *qnx*)
14585 version_type=qnx
14586 need_lib_prefix=no
14587 need_version=no
14588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14589 soname_spec='${libname}${release}${shared_ext}$major'
14590 shlibpath_var=LD_LIBRARY_PATH
14591 shlibpath_overrides_runpath=no
14592 hardcode_into_libs=yes
14593 dynamic_linker='ldqnx.so'
14594 ;;
14595
14596 openbsd*)
14597 version_type=sunos
14598 sys_lib_dlsearch_path_spec="/usr/lib"
14599 need_lib_prefix=no
14600 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14601 case $host_os in
14602 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14603 *) need_version=no ;;
14604 esac
14605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14606 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14607 shlibpath_var=LD_LIBRARY_PATH
14608 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14609 case $host_os in
14610 openbsd2.[89] | openbsd2.[89].*)
14611 shlibpath_overrides_runpath=no
14612 ;;
14613 *)
14614 shlibpath_overrides_runpath=yes
14615 ;;
14616 esac
14617 else
14618 shlibpath_overrides_runpath=yes
14619 fi
14620 ;;
14621
14622 os2*)
14623 libname_spec='$name'
14624 shrext_cmds=".dll"
14625 need_lib_prefix=no
14626 library_names_spec='$libname${shared_ext} $libname.a'
14627 dynamic_linker='OS/2 ld.exe'
14628 shlibpath_var=LIBPATH
14629 ;;
14630
14631 osf3* | osf4* | osf5*)
14632 version_type=osf
14633 need_lib_prefix=no
14634 need_version=no
14635 soname_spec='${libname}${release}${shared_ext}$major'
14636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14637 shlibpath_var=LD_LIBRARY_PATH
14638 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14639 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14640 ;;
14641
14642 rdos*)
14643 dynamic_linker=no
14644 ;;
14645
14646 solaris*)
14647 version_type=linux
14648 need_lib_prefix=no
14649 need_version=no
14650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14651 soname_spec='${libname}${release}${shared_ext}$major'
14652 shlibpath_var=LD_LIBRARY_PATH
14653 shlibpath_overrides_runpath=yes
14654 hardcode_into_libs=yes
14655 # ldd complains unless libraries are executable
14656 postinstall_cmds='chmod +x $lib'
14657 ;;
14658
14659 sunos4*)
14660 version_type=sunos
14661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14662 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14663 shlibpath_var=LD_LIBRARY_PATH
14664 shlibpath_overrides_runpath=yes
14665 if test "$with_gnu_ld" = yes; then
14666 need_lib_prefix=no
14667 fi
14668 need_version=yes
14669 ;;
14670
14671 sysv4 | sysv4.3*)
14672 version_type=linux
14673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14674 soname_spec='${libname}${release}${shared_ext}$major'
14675 shlibpath_var=LD_LIBRARY_PATH
14676 case $host_vendor in
14677 sni)
14678 shlibpath_overrides_runpath=no
14679 need_lib_prefix=no
14680 runpath_var=LD_RUN_PATH
14681 ;;
14682 siemens)
14683 need_lib_prefix=no
14684 ;;
14685 motorola)
14686 need_lib_prefix=no
14687 need_version=no
14688 shlibpath_overrides_runpath=no
14689 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14690 ;;
14691 esac
14692 ;;
14693
14694 sysv4*MP*)
14695 if test -d /usr/nec ;then
14696 version_type=linux
14697 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14698 soname_spec='$libname${shared_ext}.$major'
14699 shlibpath_var=LD_LIBRARY_PATH
14700 fi
14701 ;;
14702
14703 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14704 version_type=freebsd-elf
14705 need_lib_prefix=no
14706 need_version=no
14707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14708 soname_spec='${libname}${release}${shared_ext}$major'
14709 shlibpath_var=LD_LIBRARY_PATH
14710 shlibpath_overrides_runpath=yes
14711 hardcode_into_libs=yes
14712 if test "$with_gnu_ld" = yes; then
14713 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14714 else
14715 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14716 case $host_os in
14717 sco3.2v5*)
14718 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14719 ;;
14720 esac
14721 fi
14722 sys_lib_dlsearch_path_spec='/usr/lib'
14723 ;;
14724
14725 tpf*)
14726 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14727 version_type=linux
14728 need_lib_prefix=no
14729 need_version=no
14730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14731 shlibpath_var=LD_LIBRARY_PATH
14732 shlibpath_overrides_runpath=no
14733 hardcode_into_libs=yes
14734 ;;
14735
14736 uts4*)
14737 version_type=linux
14738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14739 soname_spec='${libname}${release}${shared_ext}$major'
14740 shlibpath_var=LD_LIBRARY_PATH
14741 ;;
14742
14743 *)
14744 dynamic_linker=no
14745 ;;
14746 esac
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14748 $as_echo "$dynamic_linker" >&6; }
14749 test "$dynamic_linker" = no && can_build_shared=no
14750
14751 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14752 if test "$GCC" = yes; then
14753 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14754 fi
14755
14756 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14757 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14758 fi
14759 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14760 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14761 fi
14762
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14801 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14802 hardcode_action_CXX=
14803 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14804 test -n "$runpath_var_CXX" ||
14805 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14806
14807 # We can hardcode non-existent directories.
14808 if test "$hardcode_direct_CXX" != no &&
14809 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14810 # have to relink, otherwise we might link with an installed library
14811 # when we should be linking with a yet-to-be-installed one
14812 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14813 test "$hardcode_minus_L_CXX" != no; then
14814 # Linking always hardcodes the temporary library directory.
14815 hardcode_action_CXX=relink
14816 else
14817 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14818 hardcode_action_CXX=immediate
14819 fi
14820 else
14821 # We cannot hardcode anything, or else we can only hardcode existing
14822 # directories.
14823 hardcode_action_CXX=unsupported
14824 fi
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14826 $as_echo "$hardcode_action_CXX" >&6; }
14827
14828 if test "$hardcode_action_CXX" = relink ||
14829 test "$inherit_rpath_CXX" = yes; then
14830 # Fast installation is not supported
14831 enable_fast_install=no
14832 elif test "$shlibpath_overrides_runpath" = yes ||
14833 test "$enable_shared" = no; then
14834 # Fast installation is not necessary
14835 enable_fast_install=needless
14836 fi
14837
14838
14839
14840
14841
14842
14843
14844 fi # test -n "$compiler"
14845
14846 CC=$lt_save_CC
14847 LDCXX=$LD
14848 LD=$lt_save_LD
14849 GCC=$lt_save_GCC
14850 with_gnu_ld=$lt_save_with_gnu_ld
14851 lt_cv_path_LDCXX=$lt_cv_path_LD
14852 lt_cv_path_LD=$lt_save_path_LD
14853 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14854 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14855 fi # test "$_lt_caught_CXX_error" != yes
14856
14857 ac_ext=c
14858 ac_cpp='$CPP $CPPFLAGS'
14859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875 ac_config_commands="$ac_config_commands libtool"
14876
14877
14878
14879
14880 # Only expand once:
14881
14882
14883
14884
14885
14886 case $host in
14887 *-cygwin* | *-mingw*)
14888 # 'host' will be top-level target in the case of a target lib,
14889 # we must compare to with_cross_host to decide if this is a native
14890 # or cross-compiler and select where to install dlls appropriately.
14891 if test -n "$with_cross_host" &&
14892 test x"$with_cross_host" != x"no"; then
14893 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14894 else
14895 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14896 fi
14897 ;;
14898 *)
14899 lt_host_flags=
14900 ;;
14901 esac
14902
14903
14904
14905
14906
14907
14908 # libtool variables for C++ shared and position-independent compiles.
14909 #
14910 # Use glibcxx_lt_pic_flag to designate the automake variable
14911 # used to encapsulate the default libtool approach to creating objects
14912 # with position-independent code. Default: -prefer-pic.
14913 #
14914 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14915 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14916 #
14917 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14918 # creating position-independent objects. This varies with the target
14919 # hardware and operating system, but is often: -DPIC -fPIC.
14920 if test "$enable_shared" = yes; then
14921 glibcxx_lt_pic_flag="-prefer-pic"
14922 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14923 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14924
14925 else
14926 glibcxx_lt_pic_flag=
14927 glibcxx_compiler_pic_flag=
14928 glibcxx_compiler_shared_flag=
14929 fi
14930
14931
14932
14933
14934 # Override the libtool's pic_flag and pic_mode.
14935 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14936 # NB: this impacts --with-pic and --without-pic.
14937 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14938 pic_mode='default'
14939
14940 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14941 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14942
14943 # Possibly disable most of the library.
14944 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14945 ## than just ignoring the results. Faster /and/ more correct, win win.
14946
14947 # Check whether --enable-hosted-libstdcxx was given.
14948 if test "${enable_hosted_libstdcxx+set}" = set; then :
14949 enableval=$enable_hosted_libstdcxx;
14950 else
14951 case "$host" in
14952 arm*-*-symbianelf*)
14953 enable_hosted_libstdcxx=no
14954 ;;
14955 *)
14956 enable_hosted_libstdcxx=yes
14957 ;;
14958 esac
14959 fi
14960
14961 if test "$enable_hosted_libstdcxx" = no; then
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14963 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14964 is_hosted=no
14965 hosted_define=0
14966 enable_abi_check=no
14967 enable_libstdcxx_pch=no
14968 else
14969 is_hosted=yes
14970 hosted_define=1
14971 fi
14972
14973
14974 cat >>confdefs.h <<_ACEOF
14975 #define _GLIBCXX_HOSTED $hosted_define
14976 _ACEOF
14977
14978
14979
14980 # Enable descriptive messages to standard output on termination.
14981
14982 # Check whether --enable-libstdcxx-verbose was given.
14983 if test "${enable_libstdcxx_verbose+set}" = set; then :
14984 enableval=$enable_libstdcxx_verbose;
14985 else
14986 enable_libstdcxx_verbose=yes
14987 fi
14988
14989 if test x"$enable_libstdcxx_verbose" = xyes; then
14990 verbose_define=1
14991 else
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
14993 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
14994 verbose_define=0
14995 fi
14996
14997 cat >>confdefs.h <<_ACEOF
14998 #define _GLIBCXX_VERBOSE $verbose_define
14999 _ACEOF
15000
15001
15002
15003 # Enable compiler support that doesn't require linking.
15004
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15006 $as_echo_n "checking for exception model to use... " >&6; }
15007
15008 ac_ext=cpp
15009 ac_cpp='$CXXCPP $CPPFLAGS'
15010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15013
15014 # Check whether --enable-sjlj-exceptions was given.
15015 if test "${enable_sjlj_exceptions+set}" = set; then :
15016 enableval=$enable_sjlj_exceptions;
15017 case "$enableval" in
15018 yes|no|auto) ;;
15019 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15020 esac
15021
15022 else
15023 enable_sjlj_exceptions=auto
15024 fi
15025
15026
15027
15028 if test $enable_sjlj_exceptions = auto; then
15029 # Botheration. Now we've got to detect the exception model. Link tests
15030 # against libgcc.a are problematic since we've not been given proper -L
15031 # bits for single-tree newlib and libgloss.
15032 #
15033 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15034 cat > conftest.$ac_ext << EOF
15035 #line 15035 "configure"
15036 struct S { ~S(); };
15037 void bar();
15038 void foo()
15039 {
15040 S s;
15041 bar();
15042 }
15043 EOF
15044 old_CXXFLAGS="$CXXFLAGS"
15045 CXXFLAGS=-S
15046 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15047 (eval $ac_compile) 2>&5
15048 ac_status=$?
15049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15050 test $ac_status = 0; }; then
15051 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15052 enable_sjlj_exceptions=yes
15053 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15054 enable_sjlj_exceptions=no
15055 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15056 enable_sjlj_exceptions=no
15057 fi
15058 fi
15059 CXXFLAGS="$old_CXXFLAGS"
15060 rm -f conftest*
15061 fi
15062
15063 # This is a tad weird, for hysterical raisins. We have to map
15064 # enable/disable to two different models.
15065 case $enable_sjlj_exceptions in
15066 yes)
15067
15068 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15069
15070 ac_exception_model_name=sjlj
15071 ;;
15072 no)
15073 ac_exception_model_name="call frame"
15074 ;;
15075 *)
15076 as_fn_error "unable to detect exception model" "$LINENO" 5
15077 ;;
15078 esac
15079 ac_ext=c
15080 ac_cpp='$CPP $CPPFLAGS'
15081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15084
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15086 $as_echo "$ac_exception_model_name" >&6; }
15087
15088
15089 # Check whether --enable-libstdcxx-pch was given.
15090 if test "${enable_libstdcxx_pch+set}" = set; then :
15091 enableval=$enable_libstdcxx_pch;
15092 case "$enableval" in
15093 yes|no) ;;
15094 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15095 esac
15096
15097 else
15098 enable_libstdcxx_pch=$is_hosted
15099 fi
15100
15101
15102 if test $enable_libstdcxx_pch = yes; then
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15104 $as_echo_n "checking for compiler with PCH support... " >&6; }
15105 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15106 $as_echo_n "(cached) " >&6
15107 else
15108 ac_save_CXXFLAGS="$CXXFLAGS"
15109 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15110
15111 ac_ext=cpp
15112 ac_cpp='$CXXCPP $CPPFLAGS'
15113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15116
15117 echo '#include <math.h>' > conftest.h
15118 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15119 -o conftest.h.gch 1>&5 2>&1 &&
15120 echo '#error "pch failed"' > conftest.h &&
15121 echo '#include "conftest.h"' > conftest.cc &&
15122 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15123 then
15124 glibcxx_cv_prog_CXX_pch=yes
15125 else
15126 glibcxx_cv_prog_CXX_pch=no
15127 fi
15128 rm -f conftest*
15129 CXXFLAGS=$ac_save_CXXFLAGS
15130 ac_ext=c
15131 ac_cpp='$CPP $CPPFLAGS'
15132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15135
15136
15137 fi
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15139 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15140 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15141 fi
15142
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15144 $as_echo_n "checking for enabled PCH... " >&6; }
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15146 $as_echo "$enable_libstdcxx_pch" >&6; }
15147
15148
15149 if test $enable_libstdcxx_pch = yes; then
15150 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15151 else
15152 glibcxx_PCHFLAGS=""
15153 fi
15154
15155
15156
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15158 $as_echo_n "checking for thread model used by GCC... " >&6; }
15159 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15161 $as_echo "$target_thread_file" >&6; }
15162
15163
15164
15165 ac_ext=cpp
15166 ac_cpp='$CXXCPP $CPPFLAGS'
15167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15170
15171 old_CXXFLAGS="$CXXFLAGS"
15172
15173 # Do link tests if possible, instead asm tests, limited to some platforms
15174 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15175 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15176 atomic_builtins_link_tests=no
15177 if test x$gcc_no_link != xyes; then
15178 # Can do link tests. Limit to some tested platforms
15179 case "$host" in
15180 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15181 atomic_builtins_link_tests=yes
15182 ;;
15183 esac
15184 fi
15185
15186 if test x$atomic_builtins_link_tests = xyes; then
15187
15188 # Do link tests.
15189
15190 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15191
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15193 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15194 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15195 $as_echo_n "(cached) " >&6
15196 else
15197
15198 if test x$gcc_no_link = xyes; then
15199 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15200 fi
15201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15202 /* end confdefs.h. */
15203
15204 int
15205 main ()
15206 {
15207 typedef bool atomic_type;
15208 atomic_type c1;
15209 atomic_type c2;
15210 atomic_type c3(0);
15211 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15212 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15213 __ATOMIC_RELAXED);
15214 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15215 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15216
15217 ;
15218 return 0;
15219 }
15220 _ACEOF
15221 if ac_fn_cxx_try_link "$LINENO"; then :
15222 glibcxx_cv_atomic_bool=yes
15223 else
15224 glibcxx_cv_atomic_bool=no
15225 fi
15226 rm -f core conftest.err conftest.$ac_objext \
15227 conftest$ac_exeext conftest.$ac_ext
15228
15229 fi
15230
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15232 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15233
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15235 $as_echo_n "checking for atomic builtins for short... " >&6; }
15236 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15237 $as_echo_n "(cached) " >&6
15238 else
15239
15240 if test x$gcc_no_link = xyes; then
15241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15242 fi
15243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15244 /* end confdefs.h. */
15245
15246 int
15247 main ()
15248 {
15249 typedef short atomic_type;
15250 atomic_type c1;
15251 atomic_type c2;
15252 atomic_type c3(0);
15253 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15254 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15255 __ATOMIC_RELAXED);
15256 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15257 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15258
15259 ;
15260 return 0;
15261 }
15262 _ACEOF
15263 if ac_fn_cxx_try_link "$LINENO"; then :
15264 glibcxx_cv_atomic_short=yes
15265 else
15266 glibcxx_cv_atomic_short=no
15267 fi
15268 rm -f core conftest.err conftest.$ac_objext \
15269 conftest$ac_exeext conftest.$ac_ext
15270
15271 fi
15272
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15274 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15275
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15277 $as_echo_n "checking for atomic builtins for int... " >&6; }
15278 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15279 $as_echo_n "(cached) " >&6
15280 else
15281
15282 if test x$gcc_no_link = xyes; then
15283 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15284 fi
15285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15286 /* end confdefs.h. */
15287
15288 int
15289 main ()
15290 {
15291 typedef int atomic_type;
15292 atomic_type c1;
15293 atomic_type c2;
15294 atomic_type c3(0);
15295 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15296 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15297 __ATOMIC_RELAXED);
15298 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15299 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15300
15301 ;
15302 return 0;
15303 }
15304 _ACEOF
15305 if ac_fn_cxx_try_link "$LINENO"; then :
15306 glibcxx_cv_atomic_int=yes
15307 else
15308 glibcxx_cv_atomic_int=no
15309 fi
15310 rm -f core conftest.err conftest.$ac_objext \
15311 conftest$ac_exeext conftest.$ac_ext
15312
15313 fi
15314
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15316 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15317
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15319 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15320 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15321 $as_echo_n "(cached) " >&6
15322 else
15323
15324 if test x$gcc_no_link = xyes; then
15325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15326 fi
15327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15328 /* end confdefs.h. */
15329
15330 int
15331 main ()
15332 {
15333 typedef long long atomic_type;
15334 atomic_type c1;
15335 atomic_type c2;
15336 atomic_type c3(0);
15337 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15338 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15339 __ATOMIC_RELAXED);
15340 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15341 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15342
15343 ;
15344 return 0;
15345 }
15346 _ACEOF
15347 if ac_fn_cxx_try_link "$LINENO"; then :
15348 glibcxx_cv_atomic_long_long=yes
15349 else
15350 glibcxx_cv_atomic_long_long=no
15351 fi
15352 rm -f core conftest.err conftest.$ac_objext \
15353 conftest$ac_exeext conftest.$ac_ext
15354
15355 fi
15356
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15358 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15359
15360 else
15361
15362 # Do asm tests.
15363
15364 # Compile unoptimized.
15365 CXXFLAGS='-O0 -S'
15366
15367 # Fake what AC_TRY_COMPILE does.
15368
15369 cat > conftest.$ac_ext << EOF
15370 #line 15370 "configure"
15371 int main()
15372 {
15373 typedef bool atomic_type;
15374 atomic_type c1;
15375 atomic_type c2;
15376 atomic_type c3(0);
15377 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15378 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15379 __ATOMIC_RELAXED);
15380 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15381 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15382
15383 return 0;
15384 }
15385 EOF
15386
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15388 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15389 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15390 (eval $ac_compile) 2>&5
15391 ac_status=$?
15392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15393 test $ac_status = 0; }; then
15394 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15395 glibcxx_cv_atomic_bool=no
15396 else
15397 glibcxx_cv_atomic_bool=yes
15398 fi
15399 fi
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15401 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15402 rm -f conftest*
15403
15404 cat > conftest.$ac_ext << EOF
15405 #line 15405 "configure"
15406 int main()
15407 {
15408 typedef short atomic_type;
15409 atomic_type c1;
15410 atomic_type c2;
15411 atomic_type c3(0);
15412 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15413 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15414 __ATOMIC_RELAXED);
15415 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15416 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15417
15418 return 0;
15419 }
15420 EOF
15421
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15423 $as_echo_n "checking for atomic builtins for short... " >&6; }
15424 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15425 (eval $ac_compile) 2>&5
15426 ac_status=$?
15427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15428 test $ac_status = 0; }; then
15429 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15430 glibcxx_cv_atomic_short=no
15431 else
15432 glibcxx_cv_atomic_short=yes
15433 fi
15434 fi
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15436 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15437 rm -f conftest*
15438
15439 cat > conftest.$ac_ext << EOF
15440 #line 15440 "configure"
15441 int main()
15442 {
15443 // NB: _Atomic_word not necessarily int.
15444 typedef int atomic_type;
15445 atomic_type c1;
15446 atomic_type c2;
15447 atomic_type c3(0);
15448 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15449 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15450 __ATOMIC_RELAXED);
15451 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15452 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15453
15454 return 0;
15455 }
15456 EOF
15457
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15459 $as_echo_n "checking for atomic builtins for int... " >&6; }
15460 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15461 (eval $ac_compile) 2>&5
15462 ac_status=$?
15463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15464 test $ac_status = 0; }; then
15465 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15466 glibcxx_cv_atomic_int=no
15467 else
15468 glibcxx_cv_atomic_int=yes
15469 fi
15470 fi
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15472 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15473 rm -f conftest*
15474
15475 cat > conftest.$ac_ext << EOF
15476 #line 15476 "configure"
15477 int main()
15478 {
15479 typedef long long atomic_type;
15480 atomic_type c1;
15481 atomic_type c2;
15482 atomic_type c3(0);
15483 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15484 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15485 __ATOMIC_RELAXED);
15486 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15487 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15488
15489 return 0;
15490 }
15491 EOF
15492
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15494 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15495 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15496 (eval $ac_compile) 2>&5
15497 ac_status=$?
15498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15499 test $ac_status = 0; }; then
15500 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15501 glibcxx_cv_atomic_long_long=no
15502 else
15503 glibcxx_cv_atomic_long_long=yes
15504 fi
15505 fi
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15507 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15508 rm -f conftest*
15509
15510 fi
15511
15512 CXXFLAGS="$old_CXXFLAGS"
15513 ac_ext=c
15514 ac_cpp='$CPP $CPPFLAGS'
15515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15518
15519
15520 # Set atomicity_dir to builtins if all but the long long test above passes.
15521 if test $glibcxx_cv_atomic_bool = yes \
15522 && test $glibcxx_cv_atomic_short = yes \
15523 && test $glibcxx_cv_atomic_int = yes; then
15524
15525 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15526
15527 atomicity_dir=cpu/generic/atomicity_builtins
15528 fi
15529
15530 # If still generic, set to mutex.
15531 if test $atomicity_dir = "cpu/generic" ; then
15532 atomicity_dir=cpu/generic/atomicity_mutex
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15534 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15535 if test "x$target_thread_file" = xsingle; then
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15537 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15539 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15540 else
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15542 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15544 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15545 fi
15546 fi
15547
15548
15549
15550
15551 # Fake what AC_TRY_COMPILE does, without linking as this is
15552 # unnecessary for this test.
15553
15554 cat > conftest.$ac_ext << EOF
15555 #line 15555 "configure"
15556 int main()
15557 {
15558 _Decimal32 d1;
15559 _Decimal64 d2;
15560 _Decimal128 d3;
15561 return 0;
15562 }
15563 EOF
15564
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15566 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15567 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15568 (eval $ac_compile) 2>&5
15569 ac_status=$?
15570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15571 test $ac_status = 0; }; then
15572
15573 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15574
15575 enable_dfp=yes
15576 else
15577 enable_dfp=no
15578 fi
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15580 $as_echo "$enable_dfp" >&6; }
15581 rm -f conftest*
15582
15583
15584
15585
15586 ac_ext=cpp
15587 ac_cpp='$CXXCPP $CPPFLAGS'
15588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15591
15592
15593 # Fake what AC_TRY_COMPILE does, without linking as this is
15594 # unnecessary for this test.
15595
15596 cat > conftest.$ac_ext << EOF
15597 #line 15597 "configure"
15598 template<typename T1, typename T2>
15599 struct same
15600 { typedef T2 type; };
15601
15602 template<typename T>
15603 struct same<T, T>;
15604
15605 int main()
15606 {
15607 typename same<long, __int128>::type i1;
15608 typename same<long long, __int128>::type i2;
15609 }
15610 EOF
15611
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15613 $as_echo_n "checking for __int128... " >&6; }
15614 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15615 (eval $ac_compile) 2>&5
15616 ac_status=$?
15617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15618 test $ac_status = 0; }; then
15619
15620 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15621
15622 enable_int128=yes
15623 else
15624 enable_int128=no
15625 fi
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15627 $as_echo "$enable_int128" >&6; }
15628 rm -f conftest*
15629
15630 cat > conftest.$ac_ext << EOF
15631 #line 15631 "configure"
15632 template<typename T1, typename T2>
15633 struct same
15634 { typedef T2 type; };
15635
15636 template<typename T>
15637 struct same<T, T>;
15638
15639 int main()
15640 {
15641 typename same<double, __float128>::type f1;
15642 typename same<long double, __float128>::type f2;
15643 }
15644 EOF
15645
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15647 $as_echo_n "checking for __float128... " >&6; }
15648 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15649 (eval $ac_compile) 2>&5
15650 ac_status=$?
15651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15652 test $ac_status = 0; }; then
15653
15654 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15655
15656 enable_float128=yes
15657 else
15658 enable_float128=no
15659 fi
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15661 $as_echo "$enable_float128" >&6; }
15662 rm -f conftest*
15663
15664 ac_ext=c
15665 ac_cpp='$CPP $CPPFLAGS'
15666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15669
15670
15671
15672 # Checks for compiler support that doesn't require linking.
15673
15674 # All these tests are for C++; save the language and the compiler flags.
15675 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15676 # found in GLIBCXX_CONFIGURE.
15677
15678 ac_ext=cpp
15679 ac_cpp='$CXXCPP $CPPFLAGS'
15680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15683
15684 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15685 ac_save_CXXFLAGS="$CXXFLAGS"
15686
15687 # Check for maintainer-mode bits.
15688 if test x"$USE_MAINTAINER_MODE" = xno; then
15689 WERROR=''
15690 else
15691 WERROR='-Werror'
15692 fi
15693
15694 # Check for -ffunction-sections -fdata-sections
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15696 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15697 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15699 /* end confdefs.h. */
15700 int foo; void bar() { };
15701 int
15702 main ()
15703 {
15704
15705 ;
15706 return 0;
15707 }
15708 _ACEOF
15709 if ac_fn_cxx_try_compile "$LINENO"; then :
15710 ac_fdsections=yes
15711 else
15712 ac_fdsections=no
15713 fi
15714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15715 if test "$ac_test_CXXFLAGS" = set; then
15716 CXXFLAGS="$ac_save_CXXFLAGS"
15717 else
15718 # this is the suspicious part
15719 CXXFLAGS=''
15720 fi
15721 if test x"$ac_fdsections" = x"yes"; then
15722 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15723 fi
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15725 $as_echo "$ac_fdsections" >&6; }
15726
15727 ac_ext=c
15728 ac_cpp='$CPP $CPPFLAGS'
15729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15732
15733
15734
15735
15736
15737 # Enable all the variable C++ runtime options that don't require linking.
15738
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15740 $as_echo_n "checking for underlying I/O to use... " >&6; }
15741 # Check whether --enable-cstdio was given.
15742 if test "${enable_cstdio+set}" = set; then :
15743 enableval=$enable_cstdio;
15744 case "$enableval" in
15745 stdio) ;;
15746 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15747 esac
15748
15749 else
15750 enable_cstdio=stdio
15751 fi
15752
15753
15754
15755 # Now that libio has been removed, you can have any color you want as long
15756 # as it's black. This is one big no-op until other packages are added, but
15757 # showing the framework never hurts.
15758 case ${enable_cstdio} in
15759 stdio)
15760 CSTDIO_H=config/io/c_io_stdio.h
15761 BASIC_FILE_H=config/io/basic_file_stdio.h
15762 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15764 $as_echo "stdio" >&6; }
15765 ;;
15766 esac
15767
15768
15769
15770
15771
15772
15773 # Check whether --enable-clocale was given.
15774 if test "${enable_clocale+set}" = set; then :
15775 enableval=$enable_clocale;
15776 case "$enableval" in
15777 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15778 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15779 esac
15780
15781 else
15782 enable_clocale=auto
15783 fi
15784
15785
15786
15787 # Deal with gettext issues. Default to not using it (=no) until we detect
15788 # support for it later. Let the user turn it off via --e/d, but let that
15789 # default to on for easier handling.
15790 USE_NLS=no
15791 # Check whether --enable-nls was given.
15792 if test "${enable_nls+set}" = set; then :
15793 enableval=$enable_nls;
15794 else
15795 enable_nls=yes
15796 fi
15797
15798
15799 # Either a known package, or "auto"
15800 if test $enable_clocale = no || test $enable_clocale = yes; then
15801 enable_clocale=auto
15802 fi
15803 enable_clocale_flag=$enable_clocale
15804
15805 # Probe for locale model to use if none specified.
15806 # Default to "generic".
15807 if test $enable_clocale_flag = auto; then
15808 case ${target_os} in
15809 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15810 enable_clocale_flag=gnu
15811 ;;
15812 darwin* | freebsd*)
15813 enable_clocale_flag=darwin
15814 ;;
15815 *)
15816 if test x"$with_newlib" = x"yes"; then
15817 enable_clocale_flag=newlib
15818 else
15819 enable_clocale_flag=generic
15820 fi
15821 ;;
15822 esac
15823 fi
15824
15825 # Sanity check model, and test for special functionality.
15826 if test $enable_clocale_flag = gnu; then
15827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15828 /* end confdefs.h. */
15829
15830 #include <features.h>
15831 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15832 _GLIBCXX_ok
15833 #endif
15834
15835 _ACEOF
15836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15837 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15838 enable_clocale_flag=gnu
15839 else
15840 enable_clocale_flag=generic
15841 fi
15842 rm -f conftest*
15843
15844
15845 # Set it to scream when it hurts.
15846 ac_save_CFLAGS="$CFLAGS"
15847 CFLAGS="-Wimplicit-function-declaration -Werror"
15848
15849 # Use strxfrm_l if available.
15850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15851 /* end confdefs.h. */
15852 #define _GNU_SOURCE 1
15853 #include <string.h>
15854 #include <locale.h>
15855 int
15856 main ()
15857 {
15858 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15859 ;
15860 return 0;
15861 }
15862 _ACEOF
15863 if ac_fn_c_try_compile "$LINENO"; then :
15864
15865 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15866
15867 fi
15868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15869
15870 # Use strerror_l if available.
15871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15872 /* end confdefs.h. */
15873 #define _GNU_SOURCE 1
15874 #include <string.h>
15875 #include <locale.h>
15876 int
15877 main ()
15878 {
15879 __locale_t loc; strerror_l(5, loc);
15880 ;
15881 return 0;
15882 }
15883 _ACEOF
15884 if ac_fn_c_try_compile "$LINENO"; then :
15885
15886 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15887
15888 fi
15889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15890
15891 CFLAGS="$ac_save_CFLAGS"
15892 fi
15893
15894 # Perhaps use strerror_r if available, and strerror_l isn't.
15895 ac_save_CFLAGS="$CFLAGS"
15896 CFLAGS="-Wimplicit-function-declaration -Werror"
15897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15898 /* end confdefs.h. */
15899 #define _GNU_SOURCE 1
15900 #include <string.h>
15901 #include <locale.h>
15902 int
15903 main ()
15904 {
15905 char s[128]; strerror_r(5, s, 128);
15906 ;
15907 return 0;
15908 }
15909 _ACEOF
15910 if ac_fn_c_try_compile "$LINENO"; then :
15911
15912 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15913
15914 fi
15915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15916 CFLAGS="$ac_save_CFLAGS"
15917
15918 # Set configure bits for specified locale package
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15920 $as_echo_n "checking for C locale to use... " >&6; }
15921 case ${enable_clocale_flag} in
15922 generic)
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15924 $as_echo "generic" >&6; }
15925
15926 CLOCALE_H=config/locale/generic/c_locale.h
15927 CLOCALE_CC=config/locale/generic/c_locale.cc
15928 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15929 CCOLLATE_CC=config/locale/generic/collate_members.cc
15930 CCTYPE_CC=config/locale/generic/ctype_members.cc
15931 CMESSAGES_H=config/locale/generic/messages_members.h
15932 CMESSAGES_CC=config/locale/generic/messages_members.cc
15933 CMONEY_CC=config/locale/generic/monetary_members.cc
15934 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15935 CTIME_H=config/locale/generic/time_members.h
15936 CTIME_CC=config/locale/generic/time_members.cc
15937 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15938 ;;
15939 darwin)
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15941 $as_echo "darwin or freebsd" >&6; }
15942
15943 CLOCALE_H=config/locale/generic/c_locale.h
15944 CLOCALE_CC=config/locale/generic/c_locale.cc
15945 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15946 CCOLLATE_CC=config/locale/generic/collate_members.cc
15947 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15948 CMESSAGES_H=config/locale/generic/messages_members.h
15949 CMESSAGES_CC=config/locale/generic/messages_members.cc
15950 CMONEY_CC=config/locale/generic/monetary_members.cc
15951 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15952 CTIME_H=config/locale/generic/time_members.h
15953 CTIME_CC=config/locale/generic/time_members.cc
15954 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15955 ;;
15956
15957 gnu)
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15959 $as_echo "gnu" >&6; }
15960
15961 # Declare intention to use gettext, and add support for specific
15962 # languages.
15963 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15964 ALL_LINGUAS="de fr"
15965
15966 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15967 # Extract the first word of "msgfmt", so it can be a program name with args.
15968 set dummy msgfmt; ac_word=$2
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15970 $as_echo_n "checking for $ac_word... " >&6; }
15971 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15972 $as_echo_n "(cached) " >&6
15973 else
15974 if test -n "$check_msgfmt"; then
15975 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15976 else
15977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15978 for as_dir in $PATH
15979 do
15980 IFS=$as_save_IFS
15981 test -z "$as_dir" && as_dir=.
15982 for ac_exec_ext in '' $ac_executable_extensions; do
15983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15984 ac_cv_prog_check_msgfmt="yes"
15985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15986 break 2
15987 fi
15988 done
15989 done
15990 IFS=$as_save_IFS
15991
15992 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15993 fi
15994 fi
15995 check_msgfmt=$ac_cv_prog_check_msgfmt
15996 if test -n "$check_msgfmt"; then
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15998 $as_echo "$check_msgfmt" >&6; }
15999 else
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16001 $as_echo "no" >&6; }
16002 fi
16003
16004
16005 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16006 USE_NLS=yes
16007 fi
16008 # Export the build objects.
16009 for ling in $ALL_LINGUAS; do \
16010 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16011 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16012 done
16013
16014
16015
16016 CLOCALE_H=config/locale/gnu/c_locale.h
16017 CLOCALE_CC=config/locale/gnu/c_locale.cc
16018 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16019 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16020 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16021 CMESSAGES_H=config/locale/gnu/messages_members.h
16022 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16023 CMONEY_CC=config/locale/gnu/monetary_members.cc
16024 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16025 CTIME_H=config/locale/gnu/time_members.h
16026 CTIME_CC=config/locale/gnu/time_members.cc
16027 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16028 ;;
16029 ieee_1003.1-2001)
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16031 $as_echo "IEEE 1003.1" >&6; }
16032
16033 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16034 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16035 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16036 CCOLLATE_CC=config/locale/generic/collate_members.cc
16037 CCTYPE_CC=config/locale/generic/ctype_members.cc
16038 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16039 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16040 CMONEY_CC=config/locale/generic/monetary_members.cc
16041 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16042 CTIME_H=config/locale/generic/time_members.h
16043 CTIME_CC=config/locale/generic/time_members.cc
16044 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16045 ;;
16046 newlib)
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16048 $as_echo "newlib" >&6; }
16049
16050 CLOCALE_H=config/locale/generic/c_locale.h
16051 CLOCALE_CC=config/locale/generic/c_locale.cc
16052 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16053 CCOLLATE_CC=config/locale/generic/collate_members.cc
16054 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16055 CMESSAGES_H=config/locale/generic/messages_members.h
16056 CMESSAGES_CC=config/locale/generic/messages_members.cc
16057 CMONEY_CC=config/locale/generic/monetary_members.cc
16058 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16059 CTIME_H=config/locale/generic/time_members.h
16060 CTIME_CC=config/locale/generic/time_members.cc
16061 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16062 ;;
16063 esac
16064
16065 # This is where the testsuite looks for locale catalogs, using the
16066 # -DLOCALEDIR define during testsuite compilation.
16067 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16068
16069
16070 # A standalone libintl (e.g., GNU libintl) may be in use.
16071 if test $USE_NLS = yes; then
16072 for ac_header in libintl.h
16073 do :
16074 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16075 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16076 cat >>confdefs.h <<_ACEOF
16077 #define HAVE_LIBINTL_H 1
16078 _ACEOF
16079
16080 else
16081 USE_NLS=no
16082 fi
16083
16084 done
16085
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16087 $as_echo_n "checking for library containing gettext... " >&6; }
16088 if test "${ac_cv_search_gettext+set}" = set; then :
16089 $as_echo_n "(cached) " >&6
16090 else
16091 ac_func_search_save_LIBS=$LIBS
16092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16093 /* end confdefs.h. */
16094
16095 /* Override any GCC internal prototype to avoid an error.
16096 Use char because int might match the return type of a GCC
16097 builtin and then its argument prototype would still apply. */
16098 #ifdef __cplusplus
16099 extern "C"
16100 #endif
16101 char gettext ();
16102 int
16103 main ()
16104 {
16105 return gettext ();
16106 ;
16107 return 0;
16108 }
16109 _ACEOF
16110 for ac_lib in '' intl; do
16111 if test -z "$ac_lib"; then
16112 ac_res="none required"
16113 else
16114 ac_res=-l$ac_lib
16115 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16116 fi
16117 if test x$gcc_no_link = xyes; then
16118 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16119 fi
16120 if ac_fn_c_try_link "$LINENO"; then :
16121 ac_cv_search_gettext=$ac_res
16122 fi
16123 rm -f core conftest.err conftest.$ac_objext \
16124 conftest$ac_exeext
16125 if test "${ac_cv_search_gettext+set}" = set; then :
16126 break
16127 fi
16128 done
16129 if test "${ac_cv_search_gettext+set}" = set; then :
16130
16131 else
16132 ac_cv_search_gettext=no
16133 fi
16134 rm conftest.$ac_ext
16135 LIBS=$ac_func_search_save_LIBS
16136 fi
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16138 $as_echo "$ac_cv_search_gettext" >&6; }
16139 ac_res=$ac_cv_search_gettext
16140 if test "$ac_res" != no; then :
16141 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16142
16143 else
16144 USE_NLS=no
16145 fi
16146
16147 fi
16148 if test $USE_NLS = yes; then
16149
16150 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16151
16152 fi
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16170 $as_echo_n "checking for std::allocator base class... " >&6; }
16171 # Check whether --enable-libstdcxx-allocator was given.
16172 if test "${enable_libstdcxx_allocator+set}" = set; then :
16173 enableval=$enable_libstdcxx_allocator;
16174 case "$enableval" in
16175 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16176 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16177 esac
16178
16179 else
16180 enable_libstdcxx_allocator=auto
16181 fi
16182
16183
16184
16185 # If they didn't use this option switch, or if they specified --enable
16186 # with no specific model, we'll have to look for one. If they
16187 # specified --disable (???), do likewise.
16188 if test $enable_libstdcxx_allocator = no ||
16189 test $enable_libstdcxx_allocator = yes;
16190 then
16191 enable_libstdcxx_allocator=auto
16192 fi
16193
16194 # Either a known package, or "auto". Auto implies the default choice
16195 # for a particular platform.
16196 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16197
16198 # Probe for host-specific support if no specific model is specified.
16199 # Default to "new".
16200 if test $enable_libstdcxx_allocator_flag = auto; then
16201 case ${target_os} in
16202 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16203 enable_libstdcxx_allocator_flag=new
16204 ;;
16205 *)
16206 enable_libstdcxx_allocator_flag=new
16207 ;;
16208 esac
16209 fi
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16211 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16212
16213
16214 # Set configure bits for specified locale package
16215 case ${enable_libstdcxx_allocator_flag} in
16216 bitmap)
16217 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16218 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16219 ;;
16220 malloc)
16221 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16222 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16223 ;;
16224 mt)
16225 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16226 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16227 ;;
16228 new)
16229 ALLOCATOR_H=config/allocator/new_allocator_base.h
16230 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16231 ;;
16232 pool)
16233 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16234 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16235 ;;
16236 esac
16237
16238
16239
16240
16241
16242 # Check whether --enable-cheaders was given.
16243 if test "${enable_cheaders+set}" = set; then :
16244 enableval=$enable_cheaders;
16245 case "$enableval" in
16246 c|c_std|c_global) ;;
16247 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16248 esac
16249
16250 else
16251 enable_cheaders=$c_model
16252 fi
16253
16254
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16256 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16257
16258 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16259
16260 # Allow overrides to configure.host here.
16261 if test $enable_cheaders = c_global; then
16262 c_compatibility=yes
16263 fi
16264
16265
16266
16267
16268
16269
16270
16271 # Check whether --enable-long-long was given.
16272 if test "${enable_long_long+set}" = set; then :
16273 enableval=$enable_long_long;
16274 case "$enableval" in
16275 yes|no) ;;
16276 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16277 esac
16278
16279 else
16280 enable_long_long=yes
16281 fi
16282
16283
16284 if test $enable_long_long = yes; then
16285
16286 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16287
16288 fi
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16290 $as_echo_n "checking for enabled long long specializations... " >&6; }
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16292 $as_echo "$enable_long_long" >&6; }
16293
16294
16295 # Check whether --enable-wchar_t was given.
16296 if test "${enable_wchar_t+set}" = set; then :
16297 enableval=$enable_wchar_t;
16298 case "$enableval" in
16299 yes|no) ;;
16300 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16301 esac
16302
16303 else
16304 enable_wchar_t=yes
16305 fi
16306
16307
16308
16309 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16310 for ac_header in wchar.h
16311 do :
16312 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16313 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16314 cat >>confdefs.h <<_ACEOF
16315 #define HAVE_WCHAR_H 1
16316 _ACEOF
16317 ac_has_wchar_h=yes
16318 else
16319 ac_has_wchar_h=no
16320 fi
16321
16322 done
16323
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16325 $as_echo_n "checking for mbstate_t... " >&6; }
16326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16327 /* end confdefs.h. */
16328 #include <wchar.h>
16329 int
16330 main ()
16331 {
16332 mbstate_t teststate;
16333 ;
16334 return 0;
16335 }
16336 _ACEOF
16337 if ac_fn_c_try_compile "$LINENO"; then :
16338 have_mbstate_t=yes
16339 else
16340 have_mbstate_t=no
16341 fi
16342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16344 $as_echo "$have_mbstate_t" >&6; }
16345 if test x"$have_mbstate_t" = xyes; then
16346
16347 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16348
16349 fi
16350
16351 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16352 # ac_has_wchar_h.
16353 for ac_header in wctype.h
16354 do :
16355 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16356 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16357 cat >>confdefs.h <<_ACEOF
16358 #define HAVE_WCTYPE_H 1
16359 _ACEOF
16360 ac_has_wctype_h=yes
16361 else
16362 ac_has_wctype_h=no
16363 fi
16364
16365 done
16366
16367
16368 if test x"$enable_wchar_t" = x"yes"; then
16369
16370
16371 ac_ext=cpp
16372 ac_cpp='$CXXCPP $CPPFLAGS'
16373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16376
16377
16378 if test x"$ac_has_wchar_h" = xyes &&
16379 test x"$ac_has_wctype_h" = xyes; then
16380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16381 /* end confdefs.h. */
16382 #include <wchar.h>
16383 #include <stddef.h>
16384 wint_t i;
16385 long l = WEOF;
16386 long j = WCHAR_MIN;
16387 long k = WCHAR_MAX;
16388 namespace test
16389 {
16390 using ::btowc;
16391 using ::fgetwc;
16392 using ::fgetws;
16393 using ::fputwc;
16394 using ::fputws;
16395 using ::fwide;
16396 using ::fwprintf;
16397 using ::fwscanf;
16398 using ::getwc;
16399 using ::getwchar;
16400 using ::mbrlen;
16401 using ::mbrtowc;
16402 using ::mbsinit;
16403 using ::mbsrtowcs;
16404 using ::putwc;
16405 using ::putwchar;
16406 using ::swprintf;
16407 using ::swscanf;
16408 using ::ungetwc;
16409 using ::vfwprintf;
16410 using ::vswprintf;
16411 using ::vwprintf;
16412 using ::wcrtomb;
16413 using ::wcscat;
16414 using ::wcschr;
16415 using ::wcscmp;
16416 using ::wcscoll;
16417 using ::wcscpy;
16418 using ::wcscspn;
16419 using ::wcsftime;
16420 using ::wcslen;
16421 using ::wcsncat;
16422 using ::wcsncmp;
16423 using ::wcsncpy;
16424 using ::wcspbrk;
16425 using ::wcsrchr;
16426 using ::wcsrtombs;
16427 using ::wcsspn;
16428 using ::wcsstr;
16429 using ::wcstod;
16430 using ::wcstok;
16431 using ::wcstol;
16432 using ::wcstoul;
16433 using ::wcsxfrm;
16434 using ::wctob;
16435 using ::wmemchr;
16436 using ::wmemcmp;
16437 using ::wmemcpy;
16438 using ::wmemmove;
16439 using ::wmemset;
16440 using ::wprintf;
16441 using ::wscanf;
16442 }
16443
16444 int
16445 main ()
16446 {
16447
16448 ;
16449 return 0;
16450 }
16451 _ACEOF
16452 if ac_fn_cxx_try_compile "$LINENO"; then :
16453
16454 else
16455 enable_wchar_t=no
16456 fi
16457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16458 else
16459 enable_wchar_t=no
16460 fi
16461
16462 ac_ext=c
16463 ac_cpp='$CPP $CPPFLAGS'
16464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16467
16468 fi
16469
16470 if test x"$enable_wchar_t" = x"yes"; then
16471
16472 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16473
16474 fi
16475
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16477 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16479 $as_echo "$enable_wchar_t" >&6; }
16480
16481
16482
16483 # Check whether --enable-c99 was given.
16484 if test "${enable_c99+set}" = set; then :
16485 enableval=$enable_c99;
16486 case "$enableval" in
16487 yes|no) ;;
16488 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16489 esac
16490
16491 else
16492 enable_c99=yes
16493 fi
16494
16495
16496
16497 if test x"$enable_c99" = x"yes"; then
16498
16499
16500 ac_ext=cpp
16501 ac_cpp='$CXXCPP $CPPFLAGS'
16502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16505
16506
16507 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16508 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16509 # spuriously enabled.
16510 # Long term, -std=c++0x could be even better, could manage to explicitely
16511 # request C99 facilities to the underlying C headers.
16512 ac_save_CXXFLAGS="$CXXFLAGS"
16513 CXXFLAGS="$CXXFLAGS -std=c++98"
16514 ac_save_LIBS="$LIBS"
16515 ac_save_gcc_no_link="$gcc_no_link"
16516
16517 if test x$gcc_no_link != xyes; then
16518 # Use -fno-exceptions to that the C driver can link these tests without
16519 # hitting undefined references to personality routines.
16520 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16522 $as_echo_n "checking for sin in -lm... " >&6; }
16523 if test "${ac_cv_lib_m_sin+set}" = set; then :
16524 $as_echo_n "(cached) " >&6
16525 else
16526 ac_check_lib_save_LIBS=$LIBS
16527 LIBS="-lm $LIBS"
16528 if test x$gcc_no_link = xyes; then
16529 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16530 fi
16531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16532 /* end confdefs.h. */
16533
16534 /* Override any GCC internal prototype to avoid an error.
16535 Use char because int might match the return type of a GCC
16536 builtin and then its argument prototype would still apply. */
16537 #ifdef __cplusplus
16538 extern "C"
16539 #endif
16540 char sin ();
16541 int
16542 main ()
16543 {
16544 return sin ();
16545 ;
16546 return 0;
16547 }
16548 _ACEOF
16549 if ac_fn_cxx_try_link "$LINENO"; then :
16550 ac_cv_lib_m_sin=yes
16551 else
16552 ac_cv_lib_m_sin=no
16553 fi
16554 rm -f core conftest.err conftest.$ac_objext \
16555 conftest$ac_exeext conftest.$ac_ext
16556 LIBS=$ac_check_lib_save_LIBS
16557 fi
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16559 $as_echo "$ac_cv_lib_m_sin" >&6; }
16560 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16561
16562 LIBS="$LIBS -lm"
16563
16564 else
16565
16566 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16567 gcc_no_link=yes
16568
16569 fi
16570
16571 fi
16572
16573 # Check for the existence of <math.h> functions used if C99 is enabled.
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16575 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16576 if test "${glibcxx_cv_c99_math+set}" = set; then :
16577 $as_echo_n "(cached) " >&6
16578 else
16579
16580 if test x$gcc_no_link = xyes; then
16581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16582 /* end confdefs.h. */
16583 #include <math.h>
16584 volatile double d1, d2;
16585 volatile int i;
16586 int
16587 main ()
16588 {
16589 i = fpclassify(d1);
16590 i = isfinite(d1);
16591 i = isinf(d1);
16592 i = isnan(d1);
16593 i = isnormal(d1);
16594 i = signbit(d1);
16595 i = isgreater(d1, d2);
16596 i = isgreaterequal(d1, d2);
16597 i = isless(d1, d2);
16598 i = islessequal(d1, d2);
16599 i = islessgreater(d1, d2);
16600 i = islessgreater(d1, d2);
16601 i = isunordered(d1, d2);
16602
16603 ;
16604 return 0;
16605 }
16606 _ACEOF
16607 if ac_fn_cxx_try_compile "$LINENO"; then :
16608 glibcxx_cv_c99_math=yes
16609 else
16610 glibcxx_cv_c99_math=no
16611 fi
16612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16613 else
16614 if test x$gcc_no_link = xyes; then
16615 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16616 fi
16617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16618 /* end confdefs.h. */
16619 #include <math.h>
16620 volatile double d1, d2;
16621 volatile int i;
16622 int
16623 main ()
16624 {
16625 i = fpclassify(d1);
16626 i = isfinite(d1);
16627 i = isinf(d1);
16628 i = isnan(d1);
16629 i = isnormal(d1);
16630 i = signbit(d1);
16631 i = isgreater(d1, d2);
16632 i = isgreaterequal(d1, d2);
16633 i = isless(d1, d2);
16634 i = islessequal(d1, d2);
16635 i = islessgreater(d1, d2);
16636 i = islessgreater(d1, d2);
16637 i = isunordered(d1, d2);
16638
16639 ;
16640 return 0;
16641 }
16642 _ACEOF
16643 if ac_fn_cxx_try_link "$LINENO"; then :
16644 glibcxx_cv_c99_math=yes
16645 else
16646 glibcxx_cv_c99_math=no
16647 fi
16648 rm -f core conftest.err conftest.$ac_objext \
16649 conftest$ac_exeext conftest.$ac_ext
16650 fi
16651
16652 fi
16653
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16655 $as_echo "$glibcxx_cv_c99_math" >&6; }
16656 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16657
16658 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16659
16660 fi
16661
16662 # Check for the existence of <complex.h> complex math functions.
16663 # This is necessary even though libstdc++ uses the builtin versions
16664 # of these functions, because if the builtin cannot be used, a reference
16665 # to the library function is emitted.
16666 for ac_header in tgmath.h
16667 do :
16668 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16669 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16670 cat >>confdefs.h <<_ACEOF
16671 #define HAVE_TGMATH_H 1
16672 _ACEOF
16673 ac_has_tgmath_h=yes
16674 else
16675 ac_has_tgmath_h=no
16676 fi
16677
16678 done
16679
16680 for ac_header in complex.h
16681 do :
16682 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16683 if test "x$ac_cv_header_complex_h" = x""yes; then :
16684 cat >>confdefs.h <<_ACEOF
16685 #define HAVE_COMPLEX_H 1
16686 _ACEOF
16687 ac_has_complex_h=yes
16688 else
16689 ac_has_complex_h=no
16690 fi
16691
16692 done
16693
16694 glibcxx_cv_c99_complex=no;
16695 if test x"$ac_has_complex_h" = x"yes"; then
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16697 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16698 if test x$gcc_no_link = xyes; then
16699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16700 /* end confdefs.h. */
16701 #include <complex.h>
16702 typedef __complex__ float float_type;
16703 typedef __complex__ double double_type;
16704 typedef __complex__ long double ld_type;
16705 volatile float_type tmpf;
16706 volatile double_type tmpd;
16707 volatile ld_type tmpld;
16708 volatile float f;
16709 volatile double d;
16710 volatile long double ld;
16711 int
16712 main ()
16713 {
16714 f = cabsf(tmpf);
16715 f = cargf(tmpf);
16716 tmpf = ccosf(tmpf);
16717 tmpf = ccoshf(tmpf);
16718 tmpf = cexpf(tmpf);
16719 tmpf = clogf(tmpf);
16720 tmpf = csinf(tmpf);
16721 tmpf = csinhf(tmpf);
16722 tmpf = csqrtf(tmpf);
16723 tmpf = ctanf(tmpf);
16724 tmpf = ctanhf(tmpf);
16725 tmpf = cpowf(tmpf, tmpf);
16726 tmpf = cprojf(tmpf);
16727 d = cabs(tmpd);
16728 d = carg(tmpd);
16729 tmpd = ccos(tmpd);
16730 tmpd = ccosh(tmpd);
16731 tmpd = cexp(tmpd);
16732 tmpd = clog(tmpd);
16733 tmpd = csin(tmpd);
16734 tmpd = csinh(tmpd);
16735 tmpd = csqrt(tmpd);
16736 tmpd = ctan(tmpd);
16737 tmpd = ctanh(tmpd);
16738 tmpd = cpow(tmpd, tmpd);
16739 tmpd = cproj(tmpd);
16740 ld = cabsl(tmpld);
16741 ld = cargl(tmpld);
16742 tmpld = ccosl(tmpld);
16743 tmpld = ccoshl(tmpld);
16744 tmpld = cexpl(tmpld);
16745 tmpld = clogl(tmpld);
16746 tmpld = csinl(tmpld);
16747 tmpld = csinhl(tmpld);
16748 tmpld = csqrtl(tmpld);
16749 tmpld = ctanl(tmpld);
16750 tmpld = ctanhl(tmpld);
16751 tmpld = cpowl(tmpld, tmpld);
16752 tmpld = cprojl(tmpld);
16753
16754 ;
16755 return 0;
16756 }
16757 _ACEOF
16758 if ac_fn_cxx_try_compile "$LINENO"; then :
16759 glibcxx_cv_c99_complex=yes
16760 else
16761 glibcxx_cv_c99_complex=no
16762 fi
16763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16764 else
16765 if test x$gcc_no_link = xyes; then
16766 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16767 fi
16768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16769 /* end confdefs.h. */
16770 #include <complex.h>
16771 typedef __complex__ float float_type;
16772 typedef __complex__ double double_type;
16773 typedef __complex__ long double ld_type;
16774 volatile float_type tmpf;
16775 volatile double_type tmpd;
16776 volatile ld_type tmpld;
16777 volatile float f;
16778 volatile double d;
16779 volatile long double ld;
16780 int
16781 main ()
16782 {
16783 f = cabsf(tmpf);
16784 f = cargf(tmpf);
16785 tmpf = ccosf(tmpf);
16786 tmpf = ccoshf(tmpf);
16787 tmpf = cexpf(tmpf);
16788 tmpf = clogf(tmpf);
16789 tmpf = csinf(tmpf);
16790 tmpf = csinhf(tmpf);
16791 tmpf = csqrtf(tmpf);
16792 tmpf = ctanf(tmpf);
16793 tmpf = ctanhf(tmpf);
16794 tmpf = cpowf(tmpf, tmpf);
16795 tmpf = cprojf(tmpf);
16796 d = cabs(tmpd);
16797 d = carg(tmpd);
16798 tmpd = ccos(tmpd);
16799 tmpd = ccosh(tmpd);
16800 tmpd = cexp(tmpd);
16801 tmpd = clog(tmpd);
16802 tmpd = csin(tmpd);
16803 tmpd = csinh(tmpd);
16804 tmpd = csqrt(tmpd);
16805 tmpd = ctan(tmpd);
16806 tmpd = ctanh(tmpd);
16807 tmpd = cpow(tmpd, tmpd);
16808 tmpd = cproj(tmpd);
16809 ld = cabsl(tmpld);
16810 ld = cargl(tmpld);
16811 tmpld = ccosl(tmpld);
16812 tmpld = ccoshl(tmpld);
16813 tmpld = cexpl(tmpld);
16814 tmpld = clogl(tmpld);
16815 tmpld = csinl(tmpld);
16816 tmpld = csinhl(tmpld);
16817 tmpld = csqrtl(tmpld);
16818 tmpld = ctanl(tmpld);
16819 tmpld = ctanhl(tmpld);
16820 tmpld = cpowl(tmpld, tmpld);
16821 tmpld = cprojl(tmpld);
16822
16823 ;
16824 return 0;
16825 }
16826 _ACEOF
16827 if ac_fn_cxx_try_link "$LINENO"; then :
16828 glibcxx_cv_c99_complex=yes
16829 else
16830 glibcxx_cv_c99_complex=no
16831 fi
16832 rm -f core conftest.err conftest.$ac_objext \
16833 conftest$ac_exeext conftest.$ac_ext
16834 fi
16835 fi
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16837 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16838 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16839
16840 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16841
16842 fi
16843
16844 # Check for the existence in <stdio.h> of vscanf, et. al.
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16846 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16847 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16848 $as_echo_n "(cached) " >&6
16849 else
16850
16851 if test x$gcc_no_link = xyes; then
16852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16853 /* end confdefs.h. */
16854 #include <stdio.h>
16855 #include <stdarg.h>
16856 void foo(char* fmt, ...)
16857 {
16858 va_list args; va_start(args, fmt);
16859 vfscanf(stderr, "%i", args);
16860 vscanf("%i", args);
16861 vsnprintf(fmt, 0, "%i", args);
16862 vsscanf(fmt, "%i", args);
16863 }
16864 int
16865 main ()
16866 {
16867 snprintf("12", 0, "%i");
16868 ;
16869 return 0;
16870 }
16871 _ACEOF
16872 if ac_fn_cxx_try_compile "$LINENO"; then :
16873 glibcxx_cv_c99_stdio=yes
16874 else
16875 glibcxx_cv_c99_stdio=no
16876 fi
16877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16878 else
16879 if test x$gcc_no_link = xyes; then
16880 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16881 fi
16882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16883 /* end confdefs.h. */
16884 #include <stdio.h>
16885 #include <stdarg.h>
16886 void foo(char* fmt, ...)
16887 {
16888 va_list args; va_start(args, fmt);
16889 vfscanf(stderr, "%i", args);
16890 vscanf("%i", args);
16891 vsnprintf(fmt, 0, "%i", args);
16892 vsscanf(fmt, "%i", args);
16893 }
16894 int
16895 main ()
16896 {
16897 snprintf("12", 0, "%i");
16898 ;
16899 return 0;
16900 }
16901 _ACEOF
16902 if ac_fn_cxx_try_link "$LINENO"; then :
16903 glibcxx_cv_c99_stdio=yes
16904 else
16905 glibcxx_cv_c99_stdio=no
16906 fi
16907 rm -f core conftest.err conftest.$ac_objext \
16908 conftest$ac_exeext conftest.$ac_ext
16909 fi
16910
16911 fi
16912
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16914 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16915
16916 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16918 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16919 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16920 $as_echo_n "(cached) " >&6
16921 else
16922
16923 if test x$gcc_no_link = xyes; then
16924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16925 /* end confdefs.h. */
16926 #include <stdlib.h>
16927 volatile float f;
16928 volatile long double ld;
16929 volatile unsigned long long ll;
16930 lldiv_t mydivt;
16931 int
16932 main ()
16933 {
16934 char* tmp;
16935 f = strtof("gnu", &tmp);
16936 ld = strtold("gnu", &tmp);
16937 ll = strtoll("gnu", &tmp, 10);
16938 ll = strtoull("gnu", &tmp, 10);
16939 ll = llabs(10);
16940 mydivt = lldiv(10,1);
16941 ll = mydivt.quot;
16942 ll = mydivt.rem;
16943 ll = atoll("10");
16944 _Exit(0);
16945
16946 ;
16947 return 0;
16948 }
16949 _ACEOF
16950 if ac_fn_cxx_try_compile "$LINENO"; then :
16951 glibcxx_cv_c99_stdlib=yes
16952 else
16953 glibcxx_cv_c99_stdlib=no
16954 fi
16955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16956 else
16957 if test x$gcc_no_link = xyes; then
16958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16959 fi
16960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16961 /* end confdefs.h. */
16962 #include <stdlib.h>
16963 volatile float f;
16964 volatile long double ld;
16965 volatile unsigned long long ll;
16966 lldiv_t mydivt;
16967 int
16968 main ()
16969 {
16970 char* tmp;
16971 f = strtof("gnu", &tmp);
16972 ld = strtold("gnu", &tmp);
16973 ll = strtoll("gnu", &tmp, 10);
16974 ll = strtoull("gnu", &tmp, 10);
16975 ll = llabs(10);
16976 mydivt = lldiv(10,1);
16977 ll = mydivt.quot;
16978 ll = mydivt.rem;
16979 ll = atoll("10");
16980 _Exit(0);
16981
16982 ;
16983 return 0;
16984 }
16985 _ACEOF
16986 if ac_fn_cxx_try_link "$LINENO"; then :
16987 glibcxx_cv_c99_stdlib=yes
16988 else
16989 glibcxx_cv_c99_stdlib=no
16990 fi
16991 rm -f core conftest.err conftest.$ac_objext \
16992 conftest$ac_exeext conftest.$ac_ext
16993 fi
16994
16995 fi
16996
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16998 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16999
17000 # Check for the existence in <wchar.h> of wcstold, etc.
17001 glibcxx_cv_c99_wchar=no;
17002 if test x"$ac_has_wchar_h" = xyes &&
17003 test x"$ac_has_wctype_h" = xyes; then
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17005 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17007 /* end confdefs.h. */
17008 #include <wchar.h>
17009 namespace test
17010 {
17011 using ::wcstold;
17012 using ::wcstoll;
17013 using ::wcstoull;
17014 }
17015
17016 int
17017 main ()
17018 {
17019
17020 ;
17021 return 0;
17022 }
17023 _ACEOF
17024 if ac_fn_cxx_try_compile "$LINENO"; then :
17025 glibcxx_cv_c99_wchar=yes
17026 else
17027 glibcxx_cv_c99_wchar=no
17028 fi
17029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17030
17031 # Checks for wide character functions that may not be present.
17032 # Injection of these is wrapped with guard macros.
17033 # NB: only put functions here, instead of immediately above, if
17034 # absolutely necessary.
17035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17036 /* end confdefs.h. */
17037 #include <wchar.h>
17038 namespace test { using ::vfwscanf; }
17039 int
17040 main ()
17041 {
17042
17043 ;
17044 return 0;
17045 }
17046 _ACEOF
17047 if ac_fn_cxx_try_compile "$LINENO"; then :
17048
17049 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17050
17051 fi
17052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17053
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <wchar.h>
17057 namespace test { using ::vswscanf; }
17058 int
17059 main ()
17060 {
17061
17062 ;
17063 return 0;
17064 }
17065 _ACEOF
17066 if ac_fn_cxx_try_compile "$LINENO"; then :
17067
17068 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17069
17070 fi
17071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17072
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17075 #include <wchar.h>
17076 namespace test { using ::vwscanf; }
17077 int
17078 main ()
17079 {
17080
17081 ;
17082 return 0;
17083 }
17084 _ACEOF
17085 if ac_fn_cxx_try_compile "$LINENO"; then :
17086
17087 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17088
17089 fi
17090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17091
17092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h. */
17094 #include <wchar.h>
17095 namespace test { using ::wcstof; }
17096 int
17097 main ()
17098 {
17099
17100 ;
17101 return 0;
17102 }
17103 _ACEOF
17104 if ac_fn_cxx_try_compile "$LINENO"; then :
17105
17106 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17107
17108 fi
17109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17110
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17113 #include <wctype.h>
17114 int
17115 main ()
17116 {
17117 wint_t t; int i = iswblank(t);
17118 ;
17119 return 0;
17120 }
17121 _ACEOF
17122 if ac_fn_cxx_try_compile "$LINENO"; then :
17123
17124 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17125
17126 fi
17127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17128
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17130 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17131 fi
17132
17133 # Option parsed, now set things appropriately.
17134 if test x"$glibcxx_cv_c99_math" = x"no" ||
17135 test x"$glibcxx_cv_c99_complex" = x"no" ||
17136 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17137 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17138 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17139 enable_c99=no;
17140 else
17141
17142 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17143
17144 fi
17145
17146 gcc_no_link="$ac_save_gcc_no_link"
17147 LIBS="$ac_save_LIBS"
17148 CXXFLAGS="$ac_save_CXXFLAGS"
17149 ac_ext=c
17150 ac_cpp='$CPP $CPPFLAGS'
17151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17154
17155 fi
17156
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17158 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17160 $as_echo "$enable_c99" >&6; }
17161
17162
17163 # Check whether --enable-concept-checks was given.
17164 if test "${enable_concept_checks+set}" = set; then :
17165 enableval=$enable_concept_checks;
17166 case "$enableval" in
17167 yes|no) ;;
17168 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17169 esac
17170
17171 else
17172 enable_concept_checks=no
17173 fi
17174
17175
17176 if test $enable_concept_checks = yes; then
17177
17178 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17179
17180 fi
17181
17182
17183 # Check whether --enable-libstdcxx-debug-flags was given.
17184 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17185 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17186 xno | x) enable_libstdcxx_debug_flags= ;;
17187 x-*) ;;
17188 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17189 esac
17190 else
17191 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17192 fi
17193
17194
17195
17196 # Option parsed, now set things appropriately
17197 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17198
17199
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17201 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17202
17203
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17205 $as_echo_n "checking for additional debug build... " >&6; }
17206 # Check whether --enable-libstdcxx-debug was given.
17207 if test "${enable_libstdcxx_debug+set}" = set; then :
17208 enableval=$enable_libstdcxx_debug;
17209 case "$enableval" in
17210 yes|no) ;;
17211 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17212 esac
17213
17214 else
17215 enable_libstdcxx_debug=no
17216 fi
17217
17218
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17220 $as_echo "$enable_libstdcxx_debug" >&6; }
17221
17222
17223
17224
17225 enable_parallel=no;
17226
17227 # See if configured libgomp/omp.h exists. (libgomp may be in
17228 # noconfigdirs but not explicitly disabled.)
17229 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17230 enable_parallel=yes;
17231 else
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17233 $as_echo "$as_me: target-libgomp not built" >&6;}
17234 fi
17235
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17237 $as_echo_n "checking for parallel mode support... " >&6; }
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17239 $as_echo "$enable_parallel" >&6; }
17240
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17242 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17243 # Check whether --enable-cxx-flags was given.
17244 if test "${enable_cxx_flags+set}" = set; then :
17245 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17246 xno | x) enable_cxx_flags= ;;
17247 x-*) ;;
17248 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17249 esac
17250 else
17251 enable_cxx_flags=
17252 fi
17253
17254
17255
17256 # Run through flags (either default or command-line) and set anything
17257 # extra (e.g., #defines) that must accompany particular g++ options.
17258 if test -n "$enable_cxx_flags"; then
17259 for f in $enable_cxx_flags; do
17260 case "$f" in
17261 -fhonor-std) ;;
17262 -*) ;;
17263 *) # and we're trying to pass /what/ exactly?
17264 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17265 esac
17266 done
17267 fi
17268
17269 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17271 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17272
17273
17274
17275 # Check whether --enable-fully-dynamic-string was given.
17276 if test "${enable_fully_dynamic_string+set}" = set; then :
17277 enableval=$enable_fully_dynamic_string;
17278 case "$enableval" in
17279 yes|no) ;;
17280 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17281 esac
17282
17283 else
17284 enable_fully_dynamic_string=no
17285 fi
17286
17287
17288 if test $enable_fully_dynamic_string = yes; then
17289 enable_fully_dynamic_string_def=1
17290 else
17291 enable_fully_dynamic_string_def=0
17292 fi
17293
17294 cat >>confdefs.h <<_ACEOF
17295 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17296 _ACEOF
17297
17298
17299
17300
17301 # Check whether --enable-extern-template was given.
17302 if test "${enable_extern_template+set}" = set; then :
17303 enableval=$enable_extern_template;
17304 case "$enableval" in
17305 yes|no) ;;
17306 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17307 esac
17308
17309 else
17310 enable_extern_template=yes
17311 fi
17312
17313
17314
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17316 $as_echo_n "checking for extern template support... " >&6; }
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17318 $as_echo "$enable_extern_template" >&6; }
17319
17320
17321
17322
17323
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17325 $as_echo_n "checking for custom python install directory... " >&6; }
17326
17327 # Check whether --with-python-dir was given.
17328 if test "${with_python_dir+set}" = set; then :
17329 withval=$with_python_dir; with_python_dir=$withval
17330 else
17331 with_python_dir="no"
17332 fi
17333
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17335 $as_echo "${with_python_dir}" >&6; }
17336
17337 # Needed for installing Python modules during make install.
17338 python_mod_dir="${with_python_dir}"
17339
17340
17341
17342
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17344 $as_echo_n "checking for -Werror... " >&6; }
17345 # Check whether --enable-werror was given.
17346 if test "${enable_werror+set}" = set; then :
17347 enableval=$enable_werror;
17348 case "$enableval" in
17349 yes|no) ;;
17350 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17351 esac
17352
17353 else
17354 enable_werror=yes
17355 fi
17356
17357
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17359 $as_echo "$enable_werror" >&6; }
17360
17361
17362
17363 # Checks for operating systems support that doesn't require linking.
17364
17365
17366
17367 ac_ext=cpp
17368 ac_cpp='$CXXCPP $CPPFLAGS'
17369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17372
17373
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17375 $as_echo_n "checking for gets declaration... " >&6; }
17376 if test "${glibcxx_cv_gets+set}" = set; then :
17377 $as_echo_n "(cached) " >&6
17378 else
17379
17380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17381 /* end confdefs.h. */
17382 #include <stdio.h>
17383 namespace test
17384 {
17385 using ::gets;
17386 }
17387
17388 _ACEOF
17389 if ac_fn_cxx_try_compile "$LINENO"; then :
17390 glibcxx_cv_gets=yes
17391 else
17392 glibcxx_cv_gets=no
17393
17394 fi
17395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17396 fi
17397
17398
17399 if test $glibcxx_cv_gets = yes; then
17400
17401 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17402
17403 fi
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17405 $as_echo "$glibcxx_cv_gets" >&6; }
17406
17407 ac_ext=c
17408 ac_cpp='$CPP $CPPFLAGS'
17409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17412
17413
17414
17415
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17417 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17418 if test "${glibcxx_cv_system_error1+set}" = set; then :
17419 $as_echo_n "(cached) " >&6
17420 else
17421
17422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17423 /* end confdefs.h. */
17424 #include <errno.h>
17425 int
17426 main ()
17427 {
17428 int i = EOWNERDEAD;
17429 ;
17430 return 0;
17431 }
17432 _ACEOF
17433 if ac_fn_c_try_compile "$LINENO"; then :
17434 glibcxx_cv_system_error1=yes
17435 else
17436 glibcxx_cv_system_error1=no
17437 fi
17438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17439
17440 fi
17441
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17443 $as_echo "$glibcxx_cv_system_error1" >&6; }
17444 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17445
17446 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17447
17448 fi
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17450 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17451 if test "${glibcxx_cv_system_error2+set}" = set; then :
17452 $as_echo_n "(cached) " >&6
17453 else
17454
17455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17456 /* end confdefs.h. */
17457 #include <errno.h>
17458 int
17459 main ()
17460 {
17461 int i = ENOTRECOVERABLE;
17462 ;
17463 return 0;
17464 }
17465 _ACEOF
17466 if ac_fn_c_try_compile "$LINENO"; then :
17467 glibcxx_cv_system_error2=yes
17468 else
17469 glibcxx_cv_system_error2=no
17470 fi
17471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17472
17473 fi
17474
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17476 $as_echo "$glibcxx_cv_system_error2" >&6; }
17477 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17478
17479 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17480
17481 fi
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17483 $as_echo_n "checking for ENOLINK... " >&6; }
17484 if test "${glibcxx_cv_system_error3+set}" = set; then :
17485 $as_echo_n "(cached) " >&6
17486 else
17487
17488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17489 /* end confdefs.h. */
17490 #include <errno.h>
17491 int
17492 main ()
17493 {
17494 int i = ENOLINK;
17495 ;
17496 return 0;
17497 }
17498 _ACEOF
17499 if ac_fn_c_try_compile "$LINENO"; then :
17500 glibcxx_cv_system_error3=yes
17501 else
17502 glibcxx_cv_system_error3=no
17503 fi
17504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17505
17506 fi
17507
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17509 $as_echo "$glibcxx_cv_system_error3" >&6; }
17510 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17511
17512 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17513
17514 fi
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17516 $as_echo_n "checking for EPROTO... " >&6; }
17517 if test "${glibcxx_cv_system_error4+set}" = set; then :
17518 $as_echo_n "(cached) " >&6
17519 else
17520
17521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17522 /* end confdefs.h. */
17523 #include <errno.h>
17524 int
17525 main ()
17526 {
17527 int i = EPROTO;
17528 ;
17529 return 0;
17530 }
17531 _ACEOF
17532 if ac_fn_c_try_compile "$LINENO"; then :
17533 glibcxx_cv_system_error4=yes
17534 else
17535 glibcxx_cv_system_error4=no
17536 fi
17537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17538
17539 fi
17540
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17542 $as_echo "$glibcxx_cv_system_error4" >&6; }
17543 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17544
17545 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17546
17547 fi
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17549 $as_echo_n "checking for ENODATA... " >&6; }
17550 if test "${glibcxx_cv_system_error5+set}" = set; then :
17551 $as_echo_n "(cached) " >&6
17552 else
17553
17554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17556 #include <errno.h>
17557 int
17558 main ()
17559 {
17560 int i = ENODATA;
17561 ;
17562 return 0;
17563 }
17564 _ACEOF
17565 if ac_fn_c_try_compile "$LINENO"; then :
17566 glibcxx_cv_system_error5=yes
17567 else
17568 glibcxx_cv_system_error5=no
17569 fi
17570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17571
17572 fi
17573
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17575 $as_echo "$glibcxx_cv_system_error5" >&6; }
17576 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17577
17578 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17579
17580 fi
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17582 $as_echo_n "checking for ENOSR... " >&6; }
17583 if test "${glibcxx_cv_system_error6+set}" = set; then :
17584 $as_echo_n "(cached) " >&6
17585 else
17586
17587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17588 /* end confdefs.h. */
17589 #include <errno.h>
17590 int
17591 main ()
17592 {
17593 int i = ENOSR;
17594 ;
17595 return 0;
17596 }
17597 _ACEOF
17598 if ac_fn_c_try_compile "$LINENO"; then :
17599 glibcxx_cv_system_error6=yes
17600 else
17601 glibcxx_cv_system_error6=no
17602 fi
17603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17604
17605 fi
17606
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17608 $as_echo "$glibcxx_cv_system_error6" >&6; }
17609 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17610
17611 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17612
17613 fi
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17615 $as_echo_n "checking for ENOSTR... " >&6; }
17616 if test "${glibcxx_cv_system_error7+set}" = set; then :
17617 $as_echo_n "(cached) " >&6
17618 else
17619
17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17622 #include <errno.h>
17623 int
17624 main ()
17625 {
17626 int i = ENOSTR;
17627 ;
17628 return 0;
17629 }
17630 _ACEOF
17631 if ac_fn_c_try_compile "$LINENO"; then :
17632 glibcxx_cv_system_error7=yes
17633 else
17634 glibcxx_cv_system_error7=no
17635 fi
17636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17637
17638 fi
17639
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17641 $as_echo "$glibcxx_cv_system_error7" >&6; }
17642 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17643
17644 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17645
17646 fi
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17648 $as_echo_n "checking for ETIME... " >&6; }
17649 if test "${glibcxx_cv_system_error8+set}" = set; then :
17650 $as_echo_n "(cached) " >&6
17651 else
17652
17653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17654 /* end confdefs.h. */
17655 #include <errno.h>
17656 int
17657 main ()
17658 {
17659 int i = ETIME;
17660 ;
17661 return 0;
17662 }
17663 _ACEOF
17664 if ac_fn_c_try_compile "$LINENO"; then :
17665 glibcxx_cv_system_error8=yes
17666 else
17667 glibcxx_cv_system_error8=no
17668 fi
17669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17670
17671 fi
17672
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17674 $as_echo "$glibcxx_cv_system_error8" >&6; }
17675 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17676
17677 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17678
17679 fi
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17681 $as_echo_n "checking for EBADMSG... " >&6; }
17682 if test "${glibcxx_cv_system_error9+set}" = set; then :
17683 $as_echo_n "(cached) " >&6
17684 else
17685
17686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17687 /* end confdefs.h. */
17688 #include <errno.h>
17689 int
17690 main ()
17691 {
17692 int i = EBADMSG;
17693 ;
17694 return 0;
17695 }
17696 _ACEOF
17697 if ac_fn_c_try_compile "$LINENO"; then :
17698 glibcxx_cv_system_error9=yes
17699 else
17700 glibcxx_cv_system_error9=no
17701 fi
17702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17703
17704 fi
17705
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17707 $as_echo "$glibcxx_cv_system_error9" >&6; }
17708 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17709
17710 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17711
17712 fi
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17714 $as_echo_n "checking for ECANCELED... " >&6; }
17715 if test "${glibcxx_cv_system_error10+set}" = set; then :
17716 $as_echo_n "(cached) " >&6
17717 else
17718
17719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h. */
17721 #include <errno.h>
17722 int
17723 main ()
17724 {
17725 int i = ECANCELED;
17726 ;
17727 return 0;
17728 }
17729 _ACEOF
17730 if ac_fn_c_try_compile "$LINENO"; then :
17731 glibcxx_cv_system_error10=yes
17732 else
17733 glibcxx_cv_system_error10=no
17734 fi
17735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17736
17737 fi
17738
17739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17740 $as_echo "$glibcxx_cv_system_error10" >&6; }
17741 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17742
17743 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17744
17745 fi
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17747 $as_echo_n "checking for EOVERFLOW... " >&6; }
17748 if test "${glibcxx_cv_system_error11+set}" = set; then :
17749 $as_echo_n "(cached) " >&6
17750 else
17751
17752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17754 #include <errno.h>
17755 int
17756 main ()
17757 {
17758 int i = EOVERFLOW;
17759 ;
17760 return 0;
17761 }
17762 _ACEOF
17763 if ac_fn_c_try_compile "$LINENO"; then :
17764 glibcxx_cv_system_error11=yes
17765 else
17766 glibcxx_cv_system_error11=no
17767 fi
17768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17769
17770 fi
17771
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17773 $as_echo "$glibcxx_cv_system_error11" >&6; }
17774 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17775
17776 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17777
17778 fi
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17780 $as_echo_n "checking for ENOTSUP... " >&6; }
17781 if test "${glibcxx_cv_system_error12+set}" = set; then :
17782 $as_echo_n "(cached) " >&6
17783 else
17784
17785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17786 /* end confdefs.h. */
17787 #include <errno.h>
17788 int
17789 main ()
17790 {
17791 int i = ENOTSUP;
17792 ;
17793 return 0;
17794 }
17795 _ACEOF
17796 if ac_fn_c_try_compile "$LINENO"; then :
17797 glibcxx_cv_system_error12=yes
17798 else
17799 glibcxx_cv_system_error12=no
17800 fi
17801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17802
17803 fi
17804
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17806 $as_echo "$glibcxx_cv_system_error12" >&6; }
17807 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17808
17809 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17810
17811 fi
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17813 $as_echo_n "checking for EIDRM... " >&6; }
17814 if test "${glibcxx_cv_system_error13+set}" = set; then :
17815 $as_echo_n "(cached) " >&6
17816 else
17817
17818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17819 /* end confdefs.h. */
17820 #include <errno.h>
17821 int
17822 main ()
17823 {
17824 int i = EIDRM;
17825 ;
17826 return 0;
17827 }
17828 _ACEOF
17829 if ac_fn_c_try_compile "$LINENO"; then :
17830 glibcxx_cv_system_error13=yes
17831 else
17832 glibcxx_cv_system_error13=no
17833 fi
17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17835
17836 fi
17837
17838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17839 $as_echo "$glibcxx_cv_system_error13" >&6; }
17840 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17841
17842 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17843
17844 fi
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17846 $as_echo_n "checking for ETXTBSY... " >&6; }
17847 if test "${glibcxx_cv_system_error14+set}" = set; then :
17848 $as_echo_n "(cached) " >&6
17849 else
17850
17851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17852 /* end confdefs.h. */
17853 #include <errno.h>
17854 int
17855 main ()
17856 {
17857 int i = ETXTBSY;
17858 ;
17859 return 0;
17860 }
17861 _ACEOF
17862 if ac_fn_c_try_compile "$LINENO"; then :
17863 glibcxx_cv_system_error14=yes
17864 else
17865 glibcxx_cv_system_error14=no
17866 fi
17867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17868
17869 fi
17870
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17872 $as_echo "$glibcxx_cv_system_error14" >&6; }
17873 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17874
17875 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17876
17877 fi
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17879 $as_echo_n "checking for ECHILD... " >&6; }
17880 if test "${glibcxx_cv_system_error15+set}" = set; then :
17881 $as_echo_n "(cached) " >&6
17882 else
17883
17884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17885 /* end confdefs.h. */
17886 #include <errno.h>
17887 int
17888 main ()
17889 {
17890 int i = ECHILD;
17891 ;
17892 return 0;
17893 }
17894 _ACEOF
17895 if ac_fn_c_try_compile "$LINENO"; then :
17896 glibcxx_cv_system_error15=yes
17897 else
17898 glibcxx_cv_system_error15=no
17899 fi
17900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17901
17902 fi
17903
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17905 $as_echo "$glibcxx_cv_system_error15" >&6; }
17906 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17907
17908 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17909
17910 fi
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17912 $as_echo_n "checking for ENOSPC... " >&6; }
17913 if test "${glibcxx_cv_system_error16+set}" = set; then :
17914 $as_echo_n "(cached) " >&6
17915 else
17916
17917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17918 /* end confdefs.h. */
17919 #include <errno.h>
17920 int
17921 main ()
17922 {
17923 int i = ENOSPC;
17924 ;
17925 return 0;
17926 }
17927 _ACEOF
17928 if ac_fn_c_try_compile "$LINENO"; then :
17929 glibcxx_cv_system_error16=yes
17930 else
17931 glibcxx_cv_system_error16=no
17932 fi
17933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17934
17935 fi
17936
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17938 $as_echo "$glibcxx_cv_system_error16" >&6; }
17939 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17940
17941 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17942
17943 fi
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17945 $as_echo_n "checking for EPERM... " >&6; }
17946 if test "${glibcxx_cv_system_error17+set}" = set; then :
17947 $as_echo_n "(cached) " >&6
17948 else
17949
17950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17951 /* end confdefs.h. */
17952 #include <errno.h>
17953 int
17954 main ()
17955 {
17956 int i = EPERM;
17957 ;
17958 return 0;
17959 }
17960 _ACEOF
17961 if ac_fn_c_try_compile "$LINENO"; then :
17962 glibcxx_cv_system_error17=yes
17963 else
17964 glibcxx_cv_system_error17=no
17965 fi
17966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17967
17968 fi
17969
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17971 $as_echo "$glibcxx_cv_system_error17" >&6; }
17972 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17973
17974 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17975
17976 fi
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17978 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17979 if test "${glibcxx_cv_system_error18+set}" = set; then :
17980 $as_echo_n "(cached) " >&6
17981 else
17982
17983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17984 /* end confdefs.h. */
17985 #include <errno.h>
17986 int
17987 main ()
17988 {
17989 int i = ETIMEDOUT;
17990 ;
17991 return 0;
17992 }
17993 _ACEOF
17994 if ac_fn_c_try_compile "$LINENO"; then :
17995 glibcxx_cv_system_error18=yes
17996 else
17997 glibcxx_cv_system_error18=no
17998 fi
17999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18000
18001 fi
18002
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18004 $as_echo "$glibcxx_cv_system_error18" >&6; }
18005 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18006
18007 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18008
18009 fi
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18011 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18012 if test "${glibcxx_cv_system_error19+set}" = set; then :
18013 $as_echo_n "(cached) " >&6
18014 else
18015
18016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18017 /* end confdefs.h. */
18018 #include <errno.h>
18019 int
18020 main ()
18021 {
18022 int i = EWOULDBLOCK;
18023 ;
18024 return 0;
18025 }
18026 _ACEOF
18027 if ac_fn_c_try_compile "$LINENO"; then :
18028 glibcxx_cv_system_error19=yes
18029 else
18030 glibcxx_cv_system_error19=no
18031 fi
18032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18033
18034 fi
18035
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18037 $as_echo "$glibcxx_cv_system_error19" >&6; }
18038 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18039
18040 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18041
18042 fi
18043
18044
18045
18046 # For the streamoff typedef.
18047
18048
18049
18050 ac_ext=cpp
18051 ac_cpp='$CXXCPP $CPPFLAGS'
18052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18055
18056
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18058 $as_echo_n "checking for int64_t... " >&6; }
18059 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18060 $as_echo_n "(cached) " >&6
18061 else
18062
18063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18064 /* end confdefs.h. */
18065 #include <stdint.h>
18066 int
18067 main ()
18068 {
18069 int64_t var;
18070 ;
18071 return 0;
18072 }
18073 _ACEOF
18074 if ac_fn_cxx_try_compile "$LINENO"; then :
18075 glibcxx_cv_INT64_T=yes
18076 else
18077 glibcxx_cv_INT64_T=no
18078 fi
18079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18080
18081 fi
18082
18083
18084 if test $glibcxx_cv_INT64_T = yes; then
18085
18086 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18087
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18089 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18090
18091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18092 $as_echo_n "checking for int64_t as long... " >&6; }
18093 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18094 $as_echo_n "(cached) " >&6
18095 else
18096
18097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18098 /* end confdefs.h. */
18099 #include <stdint.h>
18100 template<typename, typename> struct same { enum { value = -1 }; };
18101 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18102 int array[same<int64_t, long>::value];
18103 int
18104 main ()
18105 {
18106
18107 ;
18108 return 0;
18109 }
18110 _ACEOF
18111 if ac_fn_cxx_try_compile "$LINENO"; then :
18112 glibcxx_cv_int64_t_long=yes
18113 else
18114 glibcxx_cv_int64_t_long=no
18115 fi
18116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18117
18118 fi
18119
18120
18121 if test $glibcxx_cv_int64_t_long = yes; then
18122
18123 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18124
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18126 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18127 fi
18128
18129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18130 $as_echo_n "checking for int64_t as long long... " >&6; }
18131 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18132 $as_echo_n "(cached) " >&6
18133 else
18134
18135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18136 /* end confdefs.h. */
18137 #include <stdint.h>
18138 template<typename, typename> struct same { enum { value = -1 }; };
18139 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18140 int array[same<int64_t, long long>::value];
18141 int
18142 main ()
18143 {
18144
18145 ;
18146 return 0;
18147 }
18148 _ACEOF
18149 if ac_fn_cxx_try_compile "$LINENO"; then :
18150 glibcxx_cv_int64_t_long_long=yes
18151 else
18152 glibcxx_cv_int64_t_long_long=no
18153 fi
18154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18155
18156 fi
18157
18158
18159 if test $glibcxx_cv_int64_t_long_long = yes; then
18160
18161 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18162
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18164 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18165 fi
18166 fi
18167
18168 ac_ext=c
18169 ac_cpp='$CPP $CPPFLAGS'
18170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18173
18174
18175
18176 # For LFS support.
18177
18178
18179 ac_ext=cpp
18180 ac_cpp='$CXXCPP $CPPFLAGS'
18181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18184
18185 ac_save_CXXFLAGS="$CXXFLAGS"
18186 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18188 $as_echo_n "checking for LFS support... " >&6; }
18189 if test "${glibcxx_cv_LFS+set}" = set; then :
18190 $as_echo_n "(cached) " >&6
18191 else
18192
18193 if test x$gcc_no_link = xyes; then
18194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18195 /* end confdefs.h. */
18196 #include <unistd.h>
18197 #include <stdio.h>
18198 #include <sys/stat.h>
18199
18200 int
18201 main ()
18202 {
18203 FILE* fp;
18204 fopen64("t", "w");
18205 fseeko64(fp, 0, SEEK_CUR);
18206 ftello64(fp);
18207 lseek64(1, 0, SEEK_CUR);
18208 struct stat64 buf;
18209 fstat64(1, &buf);
18210 ;
18211 return 0;
18212 }
18213 _ACEOF
18214 if ac_fn_cxx_try_compile "$LINENO"; then :
18215 glibcxx_cv_LFS=yes
18216 else
18217 glibcxx_cv_LFS=no
18218 fi
18219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18220 else
18221 if test x$gcc_no_link = xyes; then
18222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18223 fi
18224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18225 /* end confdefs.h. */
18226 #include <unistd.h>
18227 #include <stdio.h>
18228 #include <sys/stat.h>
18229
18230 int
18231 main ()
18232 {
18233 FILE* fp;
18234 fopen64("t", "w");
18235 fseeko64(fp, 0, SEEK_CUR);
18236 ftello64(fp);
18237 lseek64(1, 0, SEEK_CUR);
18238 struct stat64 buf;
18239 fstat64(1, &buf);
18240 ;
18241 return 0;
18242 }
18243 _ACEOF
18244 if ac_fn_cxx_try_link "$LINENO"; then :
18245 glibcxx_cv_LFS=yes
18246 else
18247 glibcxx_cv_LFS=no
18248 fi
18249 rm -f core conftest.err conftest.$ac_objext \
18250 conftest$ac_exeext conftest.$ac_ext
18251 fi
18252
18253 fi
18254
18255 if test $glibcxx_cv_LFS = yes; then
18256
18257 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18258
18259 fi
18260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18261 $as_echo "$glibcxx_cv_LFS" >&6; }
18262 CXXFLAGS="$ac_save_CXXFLAGS"
18263 ac_ext=c
18264 ac_cpp='$CPP $CPPFLAGS'
18265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18268
18269
18270
18271 # For showmanyc_helper().
18272 for ac_header in sys/ioctl.h sys/filio.h
18273 do :
18274 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18275 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18276 eval as_val=\$$as_ac_Header
18277 if test "x$as_val" = x""yes; then :
18278 cat >>confdefs.h <<_ACEOF
18279 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18280 _ACEOF
18281
18282 fi
18283
18284 done
18285
18286
18287
18288
18289 ac_ext=cpp
18290 ac_cpp='$CXXCPP $CPPFLAGS'
18291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18294
18295 ac_save_CXXFLAGS="$CXXFLAGS"
18296 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18297
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18299 $as_echo_n "checking for poll... " >&6; }
18300 if test "${glibcxx_cv_POLL+set}" = set; then :
18301 $as_echo_n "(cached) " >&6
18302 else
18303
18304 if test x$gcc_no_link = xyes; then
18305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18306 /* end confdefs.h. */
18307 #include <poll.h>
18308 int
18309 main ()
18310 {
18311 struct pollfd pfd[1];
18312 pfd[0].events = POLLIN;
18313 poll(pfd, 1, 0);
18314 ;
18315 return 0;
18316 }
18317 _ACEOF
18318 if ac_fn_cxx_try_compile "$LINENO"; then :
18319 glibcxx_cv_POLL=yes
18320 else
18321 glibcxx_cv_POLL=no
18322 fi
18323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18324 else
18325 if test x$gcc_no_link = xyes; then
18326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18327 fi
18328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18329 /* end confdefs.h. */
18330 #include <poll.h>
18331 int
18332 main ()
18333 {
18334 struct pollfd pfd[1];
18335 pfd[0].events = POLLIN;
18336 poll(pfd, 1, 0);
18337 ;
18338 return 0;
18339 }
18340 _ACEOF
18341 if ac_fn_cxx_try_link "$LINENO"; then :
18342 glibcxx_cv_POLL=yes
18343 else
18344 glibcxx_cv_POLL=no
18345 fi
18346 rm -f core conftest.err conftest.$ac_objext \
18347 conftest$ac_exeext conftest.$ac_ext
18348 fi
18349
18350 fi
18351
18352 if test $glibcxx_cv_POLL = yes; then
18353
18354 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18355
18356 fi
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18358 $as_echo "$glibcxx_cv_POLL" >&6; }
18359
18360 CXXFLAGS="$ac_save_CXXFLAGS"
18361 ac_ext=c
18362 ac_cpp='$CPP $CPPFLAGS'
18363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18366
18367
18368
18369
18370
18371 ac_ext=cpp
18372 ac_cpp='$CXXCPP $CPPFLAGS'
18373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18376
18377 ac_save_CXXFLAGS="$CXXFLAGS"
18378 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18379
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18381 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18382 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18383 $as_echo_n "(cached) " >&6
18384 else
18385
18386 if test x$gcc_no_link = xyes; then
18387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18388 /* end confdefs.h. */
18389 #include <sys/stat.h>
18390 int
18391 main ()
18392 {
18393 struct stat buffer;
18394 fstat(0, &buffer);
18395 S_ISREG(buffer.st_mode);
18396 ;
18397 return 0;
18398 }
18399 _ACEOF
18400 if ac_fn_cxx_try_compile "$LINENO"; then :
18401 glibcxx_cv_S_ISREG=yes
18402 else
18403 glibcxx_cv_S_ISREG=no
18404 fi
18405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18406 else
18407 if test x$gcc_no_link = xyes; then
18408 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18409 fi
18410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18411 /* end confdefs.h. */
18412 #include <sys/stat.h>
18413 int
18414 main ()
18415 {
18416 struct stat buffer;
18417 fstat(0, &buffer);
18418 S_ISREG(buffer.st_mode);
18419 ;
18420 return 0;
18421 }
18422 _ACEOF
18423 if ac_fn_cxx_try_link "$LINENO"; then :
18424 glibcxx_cv_S_ISREG=yes
18425 else
18426 glibcxx_cv_S_ISREG=no
18427 fi
18428 rm -f core conftest.err conftest.$ac_objext \
18429 conftest$ac_exeext conftest.$ac_ext
18430 fi
18431
18432 fi
18433
18434 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18435 $as_echo_n "(cached) " >&6
18436 else
18437
18438 if test x$gcc_no_link = xyes; then
18439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18440 /* end confdefs.h. */
18441 #include <sys/stat.h>
18442 int
18443 main ()
18444 {
18445 struct stat buffer;
18446 fstat(0, &buffer);
18447 S_IFREG & buffer.st_mode;
18448 ;
18449 return 0;
18450 }
18451 _ACEOF
18452 if ac_fn_cxx_try_compile "$LINENO"; then :
18453 glibcxx_cv_S_IFREG=yes
18454 else
18455 glibcxx_cv_S_IFREG=no
18456 fi
18457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18458 else
18459 if test x$gcc_no_link = xyes; then
18460 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18461 fi
18462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18463 /* end confdefs.h. */
18464 #include <sys/stat.h>
18465 int
18466 main ()
18467 {
18468 struct stat buffer;
18469 fstat(0, &buffer);
18470 S_IFREG & buffer.st_mode;
18471 ;
18472 return 0;
18473 }
18474 _ACEOF
18475 if ac_fn_cxx_try_link "$LINENO"; then :
18476 glibcxx_cv_S_IFREG=yes
18477 else
18478 glibcxx_cv_S_IFREG=no
18479 fi
18480 rm -f core conftest.err conftest.$ac_objext \
18481 conftest$ac_exeext conftest.$ac_ext
18482 fi
18483
18484 fi
18485
18486 res=no
18487 if test $glibcxx_cv_S_ISREG = yes; then
18488
18489 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18490
18491 res=S_ISREG
18492 elif test $glibcxx_cv_S_IFREG = yes; then
18493
18494 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18495
18496 res=S_IFREG
18497 fi
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18499 $as_echo "$res" >&6; }
18500
18501 CXXFLAGS="$ac_save_CXXFLAGS"
18502 ac_ext=c
18503 ac_cpp='$CPP $CPPFLAGS'
18504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18507
18508
18509
18510 # For xsputn_2().
18511 for ac_header in sys/uio.h
18512 do :
18513 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18514 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18515 cat >>confdefs.h <<_ACEOF
18516 #define HAVE_SYS_UIO_H 1
18517 _ACEOF
18518
18519 fi
18520
18521 done
18522
18523
18524
18525
18526 ac_ext=cpp
18527 ac_cpp='$CXXCPP $CPPFLAGS'
18528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18531
18532 ac_save_CXXFLAGS="$CXXFLAGS"
18533 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18534
18535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18536 $as_echo_n "checking for writev... " >&6; }
18537 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18538 $as_echo_n "(cached) " >&6
18539 else
18540
18541 if test x$gcc_no_link = xyes; then
18542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18543 /* end confdefs.h. */
18544 #include <sys/uio.h>
18545 int
18546 main ()
18547 {
18548 struct iovec iov[2];
18549 writev(0, iov, 0);
18550 ;
18551 return 0;
18552 }
18553 _ACEOF
18554 if ac_fn_cxx_try_compile "$LINENO"; then :
18555 glibcxx_cv_WRITEV=yes
18556 else
18557 glibcxx_cv_WRITEV=no
18558 fi
18559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18560 else
18561 if test x$gcc_no_link = xyes; then
18562 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18563 fi
18564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18565 /* end confdefs.h. */
18566 #include <sys/uio.h>
18567 int
18568 main ()
18569 {
18570 struct iovec iov[2];
18571 writev(0, iov, 0);
18572 ;
18573 return 0;
18574 }
18575 _ACEOF
18576 if ac_fn_cxx_try_link "$LINENO"; then :
18577 glibcxx_cv_WRITEV=yes
18578 else
18579 glibcxx_cv_WRITEV=no
18580 fi
18581 rm -f core conftest.err conftest.$ac_objext \
18582 conftest$ac_exeext conftest.$ac_ext
18583 fi
18584
18585 fi
18586
18587 if test $glibcxx_cv_WRITEV = yes; then
18588
18589 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18590
18591 fi
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18593 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18594
18595 CXXFLAGS="$ac_save_CXXFLAGS"
18596 ac_ext=c
18597 ac_cpp='$CPP $CPPFLAGS'
18598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18601
18602
18603
18604 # For C99 support to TR1.
18605
18606
18607
18608 ac_ext=cpp
18609 ac_cpp='$CXXCPP $CPPFLAGS'
18610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18613
18614
18615 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18616 # undefined and fake C99 facilities may be spuriously enabled.
18617 ac_save_CXXFLAGS="$CXXFLAGS"
18618 CXXFLAGS="$CXXFLAGS -std=c++98"
18619
18620 # Check for the existence of <complex.h> complex math functions used
18621 # by tr1/complex.
18622 for ac_header in complex.h
18623 do :
18624 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18625 if test "x$ac_cv_header_complex_h" = x""yes; then :
18626 cat >>confdefs.h <<_ACEOF
18627 #define HAVE_COMPLEX_H 1
18628 _ACEOF
18629 ac_has_complex_h=yes
18630 else
18631 ac_has_complex_h=no
18632 fi
18633
18634 done
18635
18636 ac_c99_complex_tr1=no;
18637 if test x"$ac_has_complex_h" = x"yes"; then
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18639 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18641 /* end confdefs.h. */
18642 #include <complex.h>
18643 int
18644 main ()
18645 {
18646 typedef __complex__ float float_type; float_type tmpf;
18647 cacosf(tmpf);
18648 casinf(tmpf);
18649 catanf(tmpf);
18650 cacoshf(tmpf);
18651 casinhf(tmpf);
18652 catanhf(tmpf);
18653 typedef __complex__ double double_type; double_type tmpd;
18654 cacos(tmpd);
18655 casin(tmpd);
18656 catan(tmpd);
18657 cacosh(tmpd);
18658 casinh(tmpd);
18659 catanh(tmpd);
18660 typedef __complex__ long double ld_type; ld_type tmpld;
18661 cacosl(tmpld);
18662 casinl(tmpld);
18663 catanl(tmpld);
18664 cacoshl(tmpld);
18665 casinhl(tmpld);
18666 catanhl(tmpld);
18667
18668 ;
18669 return 0;
18670 }
18671 _ACEOF
18672 if ac_fn_cxx_try_compile "$LINENO"; then :
18673 ac_c99_complex_tr1=yes
18674 else
18675 ac_c99_complex_tr1=no
18676 fi
18677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18678 fi
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18680 $as_echo "$ac_c99_complex_tr1" >&6; }
18681 if test x"$ac_c99_complex_tr1" = x"yes"; then
18682
18683 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18684
18685 fi
18686
18687 # Check for the existence of <ctype.h> functions.
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18689 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18690 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18691 $as_echo_n "(cached) " >&6
18692 else
18693
18694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18695 /* end confdefs.h. */
18696 #include <ctype.h>
18697 int
18698 main ()
18699 {
18700 int ch;
18701 int ret;
18702 ret = isblank(ch);
18703
18704 ;
18705 return 0;
18706 }
18707 _ACEOF
18708 if ac_fn_cxx_try_compile "$LINENO"; then :
18709 glibcxx_cv_c99_ctype_tr1=yes
18710 else
18711 glibcxx_cv_c99_ctype_tr1=no
18712 fi
18713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18714
18715 fi
18716
18717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18718 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18719 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18720
18721 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18722
18723 fi
18724
18725 # Check for the existence of <fenv.h> functions.
18726 for ac_header in fenv.h
18727 do :
18728 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18729 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18730 cat >>confdefs.h <<_ACEOF
18731 #define HAVE_FENV_H 1
18732 _ACEOF
18733 ac_has_fenv_h=yes
18734 else
18735 ac_has_fenv_h=no
18736 fi
18737
18738 done
18739
18740 ac_c99_fenv_tr1=no;
18741 if test x"$ac_has_fenv_h" = x"yes"; then
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18743 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18745 /* end confdefs.h. */
18746 #include <fenv.h>
18747 int
18748 main ()
18749 {
18750 int except, mode;
18751 fexcept_t* pflag;
18752 fenv_t* penv;
18753 int ret;
18754 ret = feclearexcept(except);
18755 ret = fegetexceptflag(pflag, except);
18756 ret = feraiseexcept(except);
18757 ret = fesetexceptflag(pflag, except);
18758 ret = fetestexcept(except);
18759 ret = fegetround();
18760 ret = fesetround(mode);
18761 ret = fegetenv(penv);
18762 ret = feholdexcept(penv);
18763 ret = fesetenv(penv);
18764 ret = feupdateenv(penv);
18765
18766 ;
18767 return 0;
18768 }
18769 _ACEOF
18770 if ac_fn_cxx_try_compile "$LINENO"; then :
18771 ac_c99_fenv_tr1=yes
18772 else
18773 ac_c99_fenv_tr1=no
18774 fi
18775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18776 fi
18777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18778 $as_echo "$ac_c99_fenv_tr1" >&6; }
18779 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18780
18781 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18782
18783 fi
18784
18785 # Check for the existence of <stdint.h> types.
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18787 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18788 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18789 $as_echo_n "(cached) " >&6
18790 else
18791
18792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18793 /* end confdefs.h. */
18794 #define __STDC_LIMIT_MACROS
18795 #define __STDC_CONSTANT_MACROS
18796 #include <stdint.h>
18797 int
18798 main ()
18799 {
18800 typedef int8_t my_int8_t;
18801 my_int8_t i8 = INT8_MIN;
18802 i8 = INT8_MAX;
18803 typedef int16_t my_int16_t;
18804 my_int16_t i16 = INT16_MIN;
18805 i16 = INT16_MAX;
18806 typedef int32_t my_int32_t;
18807 my_int32_t i32 = INT32_MIN;
18808 i32 = INT32_MAX;
18809 typedef int64_t my_int64_t;
18810 my_int64_t i64 = INT64_MIN;
18811 i64 = INT64_MAX;
18812 typedef int_fast8_t my_int_fast8_t;
18813 my_int_fast8_t if8 = INT_FAST8_MIN;
18814 if8 = INT_FAST8_MAX;
18815 typedef int_fast16_t my_int_fast16_t;
18816 my_int_fast16_t if16 = INT_FAST16_MIN;
18817 if16 = INT_FAST16_MAX;
18818 typedef int_fast32_t my_int_fast32_t;
18819 my_int_fast32_t if32 = INT_FAST32_MIN;
18820 if32 = INT_FAST32_MAX;
18821 typedef int_fast64_t my_int_fast64_t;
18822 my_int_fast64_t if64 = INT_FAST64_MIN;
18823 if64 = INT_FAST64_MAX;
18824 typedef int_least8_t my_int_least8_t;
18825 my_int_least8_t il8 = INT_LEAST8_MIN;
18826 il8 = INT_LEAST8_MAX;
18827 typedef int_least16_t my_int_least16_t;
18828 my_int_least16_t il16 = INT_LEAST16_MIN;
18829 il16 = INT_LEAST16_MAX;
18830 typedef int_least32_t my_int_least32_t;
18831 my_int_least32_t il32 = INT_LEAST32_MIN;
18832 il32 = INT_LEAST32_MAX;
18833 typedef int_least64_t my_int_least64_t;
18834 my_int_least64_t il64 = INT_LEAST64_MIN;
18835 il64 = INT_LEAST64_MAX;
18836 typedef intmax_t my_intmax_t;
18837 my_intmax_t im = INTMAX_MAX;
18838 im = INTMAX_MIN;
18839 typedef intptr_t my_intptr_t;
18840 my_intptr_t ip = INTPTR_MAX;
18841 ip = INTPTR_MIN;
18842 typedef uint8_t my_uint8_t;
18843 my_uint8_t ui8 = UINT8_MAX;
18844 ui8 = UINT8_MAX;
18845 typedef uint16_t my_uint16_t;
18846 my_uint16_t ui16 = UINT16_MAX;
18847 ui16 = UINT16_MAX;
18848 typedef uint32_t my_uint32_t;
18849 my_uint32_t ui32 = UINT32_MAX;
18850 ui32 = UINT32_MAX;
18851 typedef uint64_t my_uint64_t;
18852 my_uint64_t ui64 = UINT64_MAX;
18853 ui64 = UINT64_MAX;
18854 typedef uint_fast8_t my_uint_fast8_t;
18855 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18856 uif8 = UINT_FAST8_MAX;
18857 typedef uint_fast16_t my_uint_fast16_t;
18858 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18859 uif16 = UINT_FAST16_MAX;
18860 typedef uint_fast32_t my_uint_fast32_t;
18861 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18862 uif32 = UINT_FAST32_MAX;
18863 typedef uint_fast64_t my_uint_fast64_t;
18864 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18865 uif64 = UINT_FAST64_MAX;
18866 typedef uint_least8_t my_uint_least8_t;
18867 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18868 uil8 = UINT_LEAST8_MAX;
18869 typedef uint_least16_t my_uint_least16_t;
18870 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18871 uil16 = UINT_LEAST16_MAX;
18872 typedef uint_least32_t my_uint_least32_t;
18873 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18874 uil32 = UINT_LEAST32_MAX;
18875 typedef uint_least64_t my_uint_least64_t;
18876 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18877 uil64 = UINT_LEAST64_MAX;
18878 typedef uintmax_t my_uintmax_t;
18879 my_uintmax_t uim = UINTMAX_MAX;
18880 uim = UINTMAX_MAX;
18881 typedef uintptr_t my_uintptr_t;
18882 my_uintptr_t uip = UINTPTR_MAX;
18883 uip = UINTPTR_MAX;
18884
18885 ;
18886 return 0;
18887 }
18888 _ACEOF
18889 if ac_fn_cxx_try_compile "$LINENO"; then :
18890 glibcxx_cv_c99_stdint_tr1=yes
18891 else
18892 glibcxx_cv_c99_stdint_tr1=no
18893 fi
18894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18895
18896 fi
18897
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18899 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18900 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18901
18902 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18903
18904 fi
18905
18906 # Check for the existence of <math.h> functions.
18907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18908 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18909 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18910 $as_echo_n "(cached) " >&6
18911 else
18912
18913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18914 /* end confdefs.h. */
18915 #include <math.h>
18916 int
18917 main ()
18918 {
18919 typedef double_t my_double_t;
18920 typedef float_t my_float_t;
18921 acosh(0.0);
18922 acoshf(0.0f);
18923 acoshl(0.0l);
18924 asinh(0.0);
18925 asinhf(0.0f);
18926 asinhl(0.0l);
18927 atanh(0.0);
18928 atanhf(0.0f);
18929 atanhl(0.0l);
18930 cbrt(0.0);
18931 cbrtf(0.0f);
18932 cbrtl(0.0l);
18933 copysign(0.0, 0.0);
18934 copysignf(0.0f, 0.0f);
18935 copysignl(0.0l, 0.0l);
18936 erf(0.0);
18937 erff(0.0f);
18938 erfl(0.0l);
18939 erfc(0.0);
18940 erfcf(0.0f);
18941 erfcl(0.0l);
18942 exp2(0.0);
18943 exp2f(0.0f);
18944 exp2l(0.0l);
18945 expm1(0.0);
18946 expm1f(0.0f);
18947 expm1l(0.0l);
18948 fdim(0.0, 0.0);
18949 fdimf(0.0f, 0.0f);
18950 fdiml(0.0l, 0.0l);
18951 fma(0.0, 0.0, 0.0);
18952 fmaf(0.0f, 0.0f, 0.0f);
18953 fmal(0.0l, 0.0l, 0.0l);
18954 fmax(0.0, 0.0);
18955 fmaxf(0.0f, 0.0f);
18956 fmaxl(0.0l, 0.0l);
18957 fmin(0.0, 0.0);
18958 fminf(0.0f, 0.0f);
18959 fminl(0.0l, 0.0l);
18960 hypot(0.0, 0.0);
18961 hypotf(0.0f, 0.0f);
18962 hypotl(0.0l, 0.0l);
18963 ilogb(0.0);
18964 ilogbf(0.0f);
18965 ilogbl(0.0l);
18966 lgamma(0.0);
18967 lgammaf(0.0f);
18968 lgammal(0.0l);
18969 llrint(0.0);
18970 llrintf(0.0f);
18971 llrintl(0.0l);
18972 llround(0.0);
18973 llroundf(0.0f);
18974 llroundl(0.0l);
18975 log1p(0.0);
18976 log1pf(0.0f);
18977 log1pl(0.0l);
18978 log2(0.0);
18979 log2f(0.0f);
18980 log2l(0.0l);
18981 logb(0.0);
18982 logbf(0.0f);
18983 logbl(0.0l);
18984 lrint(0.0);
18985 lrintf(0.0f);
18986 lrintl(0.0l);
18987 lround(0.0);
18988 lroundf(0.0f);
18989 lroundl(0.0l);
18990 nan(0);
18991 nanf(0);
18992 nanl(0);
18993 nearbyint(0.0);
18994 nearbyintf(0.0f);
18995 nearbyintl(0.0l);
18996 nextafter(0.0, 0.0);
18997 nextafterf(0.0f, 0.0f);
18998 nextafterl(0.0l, 0.0l);
18999 nexttoward(0.0, 0.0);
19000 nexttowardf(0.0f, 0.0f);
19001 nexttowardl(0.0l, 0.0l);
19002 remainder(0.0, 0.0);
19003 remainderf(0.0f, 0.0f);
19004 remainderl(0.0l, 0.0l);
19005 remquo(0.0, 0.0, 0);
19006 remquof(0.0f, 0.0f, 0);
19007 remquol(0.0l, 0.0l, 0);
19008 rint(0.0);
19009 rintf(0.0f);
19010 rintl(0.0l);
19011 round(0.0);
19012 roundf(0.0f);
19013 roundl(0.0l);
19014 scalbln(0.0, 0l);
19015 scalblnf(0.0f, 0l);
19016 scalblnl(0.0l, 0l);
19017 scalbn(0.0, 0);
19018 scalbnf(0.0f, 0);
19019 scalbnl(0.0l, 0);
19020 tgamma(0.0);
19021 tgammaf(0.0f);
19022 tgammal(0.0l);
19023 trunc(0.0);
19024 truncf(0.0f);
19025 truncl(0.0l);
19026
19027 ;
19028 return 0;
19029 }
19030 _ACEOF
19031 if ac_fn_cxx_try_compile "$LINENO"; then :
19032 glibcxx_cv_c99_math_tr1=yes
19033 else
19034 glibcxx_cv_c99_math_tr1=no
19035 fi
19036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19037
19038 fi
19039
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19041 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19042 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19043
19044 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19045
19046 fi
19047
19048 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19049 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19050 ac_c99_inttypes_tr1=no;
19051 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19053 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19055 /* end confdefs.h. */
19056 #include <inttypes.h>
19057 int
19058 main ()
19059 {
19060 intmax_t i, numer, denom, base;
19061 const char* s;
19062 char** endptr;
19063 intmax_t ret = imaxabs(i);
19064 imaxdiv_t dret = imaxdiv(numer, denom);
19065 ret = strtoimax(s, endptr, base);
19066 uintmax_t uret = strtoumax(s, endptr, base);
19067
19068 ;
19069 return 0;
19070 }
19071 _ACEOF
19072 if ac_fn_cxx_try_compile "$LINENO"; then :
19073 ac_c99_inttypes_tr1=yes
19074 else
19075 ac_c99_inttypes_tr1=no
19076 fi
19077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19078 fi
19079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19080 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19081 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19082
19083 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19084
19085 fi
19086
19087 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19088 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19089 ac_c99_inttypes_wchar_t_tr1=no;
19090 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19092 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19094 /* end confdefs.h. */
19095 #include <inttypes.h>
19096 int
19097 main ()
19098 {
19099 intmax_t base;
19100 const wchar_t* s;
19101 wchar_t** endptr;
19102 intmax_t ret = wcstoimax(s, endptr, base);
19103 uintmax_t uret = wcstoumax(s, endptr, base);
19104
19105 ;
19106 return 0;
19107 }
19108 _ACEOF
19109 if ac_fn_cxx_try_compile "$LINENO"; then :
19110 ac_c99_inttypes_wchar_t_tr1=yes
19111 else
19112 ac_c99_inttypes_wchar_t_tr1=no
19113 fi
19114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19115 fi
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19117 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19118 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19119
19120 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19121
19122 fi
19123
19124 # Check for the existence of the <stdbool.h> header.
19125 for ac_header in stdbool.h
19126 do :
19127 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19128 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19129 cat >>confdefs.h <<_ACEOF
19130 #define HAVE_STDBOOL_H 1
19131 _ACEOF
19132
19133 fi
19134
19135 done
19136
19137
19138 # Check for the existence of the <stdalign.h> header.
19139 for ac_header in stdalign.h
19140 do :
19141 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19142 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19143 cat >>confdefs.h <<_ACEOF
19144 #define HAVE_STDALIGN_H 1
19145 _ACEOF
19146
19147 fi
19148
19149 done
19150
19151
19152 CXXFLAGS="$ac_save_CXXFLAGS"
19153 ac_ext=c
19154 ac_cpp='$CPP $CPPFLAGS'
19155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19158
19159
19160
19161 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19162
19163
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19165 $as_echo_n "checking for the value of EOF... " >&6; }
19166 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19167 $as_echo_n "(cached) " >&6
19168 else
19169
19170 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19171
19172 else
19173 as_fn_error "computing EOF failed" "$LINENO" 5
19174 fi
19175
19176
19177 fi
19178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19179 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19180
19181 cat >>confdefs.h <<_ACEOF
19182 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19183 _ACEOF
19184
19185
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19187 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19188 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19189 $as_echo_n "(cached) " >&6
19190 else
19191
19192 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19193
19194 else
19195 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19196 fi
19197
19198
19199 fi
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19201 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19202
19203 cat >>confdefs.h <<_ACEOF
19204 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19205 _ACEOF
19206
19207
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19209 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19210 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19211 $as_echo_n "(cached) " >&6
19212 else
19213
19214 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19215
19216 else
19217 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19218 fi
19219
19220
19221 fi
19222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19223 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19224
19225 cat >>confdefs.h <<_ACEOF
19226 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19227 _ACEOF
19228
19229
19230
19231 # For gettimeofday support.
19232
19233
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19235 $as_echo_n "checking for gettimeofday... " >&6; }
19236
19237
19238 ac_ext=cpp
19239 ac_cpp='$CXXCPP $CPPFLAGS'
19240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19243
19244 ac_save_CXXFLAGS="$CXXFLAGS"
19245 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19246
19247 ac_has_gettimeofday=no;
19248 for ac_header in sys/time.h
19249 do :
19250 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19251 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19252 cat >>confdefs.h <<_ACEOF
19253 #define HAVE_SYS_TIME_H 1
19254 _ACEOF
19255 ac_has_sys_time_h=yes
19256 else
19257 ac_has_sys_time_h=no
19258 fi
19259
19260 done
19261
19262 if test x"$ac_has_sys_time_h" = x"yes"; then
19263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19264 $as_echo_n "checking for gettimeofday... " >&6; }
19265 if test x$gcc_no_link = xyes; then
19266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19267 /* end confdefs.h. */
19268 #include <sys/time.h>
19269 int
19270 main ()
19271 {
19272 timeval tv; gettimeofday(&tv, 0);
19273 ;
19274 return 0;
19275 }
19276 _ACEOF
19277 if ac_fn_cxx_try_compile "$LINENO"; then :
19278 ac_has_gettimeofday=yes
19279 else
19280 ac_has_gettimeofday=no
19281 fi
19282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19283 else
19284 if test x$gcc_no_link = xyes; then
19285 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19286 fi
19287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19288 /* end confdefs.h. */
19289 #include <sys/time.h>
19290 int
19291 main ()
19292 {
19293 timeval tv; gettimeofday(&tv, 0);
19294 ;
19295 return 0;
19296 }
19297 _ACEOF
19298 if ac_fn_cxx_try_link "$LINENO"; then :
19299 ac_has_gettimeofday=yes
19300 else
19301 ac_has_gettimeofday=no
19302 fi
19303 rm -f core conftest.err conftest.$ac_objext \
19304 conftest$ac_exeext conftest.$ac_ext
19305 fi
19306
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19308 $as_echo "$ac_has_gettimeofday" >&6; }
19309 fi
19310
19311 if test x"$ac_has_gettimeofday" = x"yes"; then
19312
19313 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19314
19315 fi
19316
19317 CXXFLAGS="$ac_save_CXXFLAGS"
19318 ac_ext=c
19319 ac_cpp='$CPP $CPPFLAGS'
19320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19323
19324
19325
19326 # For clock_gettime, nanosleep and sched_yield support.
19327 # NB: The default is [no], because otherwise it requires linking.
19328
19329
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19331 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19332 # Check whether --enable-libstdcxx-time was given.
19333 if test "${enable_libstdcxx_time+set}" = set; then :
19334 enableval=$enable_libstdcxx_time;
19335 case "$enableval" in
19336 yes|no|rt) ;;
19337 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19338 esac
19339
19340 else
19341 enable_libstdcxx_time=no
19342 fi
19343
19344
19345
19346
19347 ac_ext=cpp
19348 ac_cpp='$CXXCPP $CPPFLAGS'
19349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19352
19353 ac_save_CXXFLAGS="$CXXFLAGS"
19354 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19355 ac_save_LIBS="$LIBS"
19356
19357 ac_has_clock_monotonic=no
19358 ac_has_clock_realtime=no
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19360 $as_echo "$enable_libstdcxx_time" >&6; }
19361
19362 if test x"$enable_libstdcxx_time" != x"no"; then
19363
19364 if test x"$enable_libstdcxx_time" = x"rt"; then
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19366 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19367 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19368 $as_echo_n "(cached) " >&6
19369 else
19370 ac_func_search_save_LIBS=$LIBS
19371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19372 /* end confdefs.h. */
19373
19374 /* Override any GCC internal prototype to avoid an error.
19375 Use char because int might match the return type of a GCC
19376 builtin and then its argument prototype would still apply. */
19377 #ifdef __cplusplus
19378 extern "C"
19379 #endif
19380 char clock_gettime ();
19381 int
19382 main ()
19383 {
19384 return clock_gettime ();
19385 ;
19386 return 0;
19387 }
19388 _ACEOF
19389 for ac_lib in '' rt posix4; do
19390 if test -z "$ac_lib"; then
19391 ac_res="none required"
19392 else
19393 ac_res=-l$ac_lib
19394 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19395 fi
19396 if test x$gcc_no_link = xyes; then
19397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19398 fi
19399 if ac_fn_cxx_try_link "$LINENO"; then :
19400 ac_cv_search_clock_gettime=$ac_res
19401 fi
19402 rm -f core conftest.err conftest.$ac_objext \
19403 conftest$ac_exeext
19404 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19405 break
19406 fi
19407 done
19408 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19409
19410 else
19411 ac_cv_search_clock_gettime=no
19412 fi
19413 rm conftest.$ac_ext
19414 LIBS=$ac_func_search_save_LIBS
19415 fi
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19417 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19418 ac_res=$ac_cv_search_clock_gettime
19419 if test "$ac_res" != no; then :
19420 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19421
19422 fi
19423
19424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19425 $as_echo_n "checking for library containing nanosleep... " >&6; }
19426 if test "${ac_cv_search_nanosleep+set}" = set; then :
19427 $as_echo_n "(cached) " >&6
19428 else
19429 ac_func_search_save_LIBS=$LIBS
19430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19431 /* end confdefs.h. */
19432
19433 /* Override any GCC internal prototype to avoid an error.
19434 Use char because int might match the return type of a GCC
19435 builtin and then its argument prototype would still apply. */
19436 #ifdef __cplusplus
19437 extern "C"
19438 #endif
19439 char nanosleep ();
19440 int
19441 main ()
19442 {
19443 return nanosleep ();
19444 ;
19445 return 0;
19446 }
19447 _ACEOF
19448 for ac_lib in '' rt posix4; do
19449 if test -z "$ac_lib"; then
19450 ac_res="none required"
19451 else
19452 ac_res=-l$ac_lib
19453 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19454 fi
19455 if test x$gcc_no_link = xyes; then
19456 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19457 fi
19458 if ac_fn_cxx_try_link "$LINENO"; then :
19459 ac_cv_search_nanosleep=$ac_res
19460 fi
19461 rm -f core conftest.err conftest.$ac_objext \
19462 conftest$ac_exeext
19463 if test "${ac_cv_search_nanosleep+set}" = set; then :
19464 break
19465 fi
19466 done
19467 if test "${ac_cv_search_nanosleep+set}" = set; then :
19468
19469 else
19470 ac_cv_search_nanosleep=no
19471 fi
19472 rm conftest.$ac_ext
19473 LIBS=$ac_func_search_save_LIBS
19474 fi
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19476 $as_echo "$ac_cv_search_nanosleep" >&6; }
19477 ac_res=$ac_cv_search_nanosleep
19478 if test "$ac_res" != no; then :
19479 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19480
19481 fi
19482
19483 else
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19485 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19486 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19487 $as_echo_n "(cached) " >&6
19488 else
19489 ac_func_search_save_LIBS=$LIBS
19490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19491 /* end confdefs.h. */
19492
19493 /* Override any GCC internal prototype to avoid an error.
19494 Use char because int might match the return type of a GCC
19495 builtin and then its argument prototype would still apply. */
19496 #ifdef __cplusplus
19497 extern "C"
19498 #endif
19499 char clock_gettime ();
19500 int
19501 main ()
19502 {
19503 return clock_gettime ();
19504 ;
19505 return 0;
19506 }
19507 _ACEOF
19508 for ac_lib in '' posix4; do
19509 if test -z "$ac_lib"; then
19510 ac_res="none required"
19511 else
19512 ac_res=-l$ac_lib
19513 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19514 fi
19515 if test x$gcc_no_link = xyes; then
19516 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19517 fi
19518 if ac_fn_cxx_try_link "$LINENO"; then :
19519 ac_cv_search_clock_gettime=$ac_res
19520 fi
19521 rm -f core conftest.err conftest.$ac_objext \
19522 conftest$ac_exeext
19523 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19524 break
19525 fi
19526 done
19527 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19528
19529 else
19530 ac_cv_search_clock_gettime=no
19531 fi
19532 rm conftest.$ac_ext
19533 LIBS=$ac_func_search_save_LIBS
19534 fi
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19536 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19537 ac_res=$ac_cv_search_clock_gettime
19538 if test "$ac_res" != no; then :
19539 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19540
19541 fi
19542
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19544 $as_echo_n "checking for library containing nanosleep... " >&6; }
19545 if test "${ac_cv_search_nanosleep+set}" = set; then :
19546 $as_echo_n "(cached) " >&6
19547 else
19548 ac_func_search_save_LIBS=$LIBS
19549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19550 /* end confdefs.h. */
19551
19552 /* Override any GCC internal prototype to avoid an error.
19553 Use char because int might match the return type of a GCC
19554 builtin and then its argument prototype would still apply. */
19555 #ifdef __cplusplus
19556 extern "C"
19557 #endif
19558 char nanosleep ();
19559 int
19560 main ()
19561 {
19562 return nanosleep ();
19563 ;
19564 return 0;
19565 }
19566 _ACEOF
19567 for ac_lib in '' posix4; do
19568 if test -z "$ac_lib"; then
19569 ac_res="none required"
19570 else
19571 ac_res=-l$ac_lib
19572 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19573 fi
19574 if test x$gcc_no_link = xyes; then
19575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19576 fi
19577 if ac_fn_cxx_try_link "$LINENO"; then :
19578 ac_cv_search_nanosleep=$ac_res
19579 fi
19580 rm -f core conftest.err conftest.$ac_objext \
19581 conftest$ac_exeext
19582 if test "${ac_cv_search_nanosleep+set}" = set; then :
19583 break
19584 fi
19585 done
19586 if test "${ac_cv_search_nanosleep+set}" = set; then :
19587
19588 else
19589 ac_cv_search_nanosleep=no
19590 fi
19591 rm conftest.$ac_ext
19592 LIBS=$ac_func_search_save_LIBS
19593 fi
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19595 $as_echo "$ac_cv_search_nanosleep" >&6; }
19596 ac_res=$ac_cv_search_nanosleep
19597 if test "$ac_res" != no; then :
19598 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19599
19600 fi
19601
19602 fi
19603
19604 case "$ac_cv_search_clock_gettime" in
19605 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19606 ;;
19607 esac
19608 case "$ac_cv_search_nanosleep" in
19609 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19610 ;;
19611 esac
19612
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19614 $as_echo_n "checking for library containing sched_yield... " >&6; }
19615 if test "${ac_cv_search_sched_yield+set}" = set; then :
19616 $as_echo_n "(cached) " >&6
19617 else
19618 ac_func_search_save_LIBS=$LIBS
19619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19620 /* end confdefs.h. */
19621
19622 /* Override any GCC internal prototype to avoid an error.
19623 Use char because int might match the return type of a GCC
19624 builtin and then its argument prototype would still apply. */
19625 #ifdef __cplusplus
19626 extern "C"
19627 #endif
19628 char sched_yield ();
19629 int
19630 main ()
19631 {
19632 return sched_yield ();
19633 ;
19634 return 0;
19635 }
19636 _ACEOF
19637 for ac_lib in '' rt posix4; do
19638 if test -z "$ac_lib"; then
19639 ac_res="none required"
19640 else
19641 ac_res=-l$ac_lib
19642 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19643 fi
19644 if test x$gcc_no_link = xyes; then
19645 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19646 fi
19647 if ac_fn_cxx_try_link "$LINENO"; then :
19648 ac_cv_search_sched_yield=$ac_res
19649 fi
19650 rm -f core conftest.err conftest.$ac_objext \
19651 conftest$ac_exeext
19652 if test "${ac_cv_search_sched_yield+set}" = set; then :
19653 break
19654 fi
19655 done
19656 if test "${ac_cv_search_sched_yield+set}" = set; then :
19657
19658 else
19659 ac_cv_search_sched_yield=no
19660 fi
19661 rm conftest.$ac_ext
19662 LIBS=$ac_func_search_save_LIBS
19663 fi
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19665 $as_echo "$ac_cv_search_sched_yield" >&6; }
19666 ac_res=$ac_cv_search_sched_yield
19667 if test "$ac_res" != no; then :
19668 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19669
19670 fi
19671
19672
19673 case "$ac_cv_search_sched_yield" in
19674 -lposix4*)
19675 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19676
19677 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19678
19679 ;;
19680 -lrt*)
19681 if test x"$enable_libstdcxx_time" = x"rt"; then
19682 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19683
19684 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19685
19686 fi
19687 ;;
19688 *)
19689
19690 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19691
19692 ;;
19693 esac
19694
19695 for ac_header in unistd.h
19696 do :
19697 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19698 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19699 cat >>confdefs.h <<_ACEOF
19700 #define HAVE_UNISTD_H 1
19701 _ACEOF
19702 ac_has_unistd_h=yes
19703 else
19704 ac_has_unistd_h=no
19705 fi
19706
19707 done
19708
19709
19710 if test x"$ac_has_unistd_h" = x"yes"; then
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19712 $as_echo_n "checking for monotonic clock... " >&6; }
19713 if test x$gcc_no_link = xyes; then
19714 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19715 fi
19716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19717 /* end confdefs.h. */
19718 #include <unistd.h>
19719 #include <time.h>
19720
19721 int
19722 main ()
19723 {
19724 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19725 timespec tp;
19726 #endif
19727 clock_gettime(CLOCK_MONOTONIC, &tp);
19728
19729 ;
19730 return 0;
19731 }
19732 _ACEOF
19733 if ac_fn_cxx_try_link "$LINENO"; then :
19734 ac_has_clock_monotonic=yes
19735 else
19736 ac_has_clock_monotonic=no
19737 fi
19738 rm -f core conftest.err conftest.$ac_objext \
19739 conftest$ac_exeext conftest.$ac_ext
19740
19741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19742 $as_echo "$ac_has_clock_monotonic" >&6; }
19743
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19745 $as_echo_n "checking for realtime clock... " >&6; }
19746 if test x$gcc_no_link = xyes; then
19747 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19748 fi
19749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19750 /* end confdefs.h. */
19751 #include <unistd.h>
19752 #include <time.h>
19753
19754 int
19755 main ()
19756 {
19757 #if _POSIX_TIMERS > 0
19758 timespec tp;
19759 #endif
19760 clock_gettime(CLOCK_REALTIME, &tp);
19761
19762 ;
19763 return 0;
19764 }
19765 _ACEOF
19766 if ac_fn_cxx_try_link "$LINENO"; then :
19767 ac_has_clock_realtime=yes
19768 else
19769 ac_has_clock_realtime=no
19770 fi
19771 rm -f core conftest.err conftest.$ac_objext \
19772 conftest$ac_exeext conftest.$ac_ext
19773
19774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19775 $as_echo "$ac_has_clock_realtime" >&6; }
19776
19777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19778 $as_echo_n "checking for nanosleep... " >&6; }
19779 if test x$gcc_no_link = xyes; then
19780 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19781 fi
19782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19783 /* end confdefs.h. */
19784 #include <unistd.h>
19785 #include <time.h>
19786
19787 int
19788 main ()
19789 {
19790 #if _POSIX_TIMERS > 0
19791 timespec tp;
19792 #endif
19793 nanosleep(&tp, 0);
19794
19795 ;
19796 return 0;
19797 }
19798 _ACEOF
19799 if ac_fn_cxx_try_link "$LINENO"; then :
19800 ac_has_nanosleep=yes
19801 else
19802 ac_has_nanosleep=no
19803 fi
19804 rm -f core conftest.err conftest.$ac_objext \
19805 conftest$ac_exeext conftest.$ac_ext
19806
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19808 $as_echo "$ac_has_nanosleep" >&6; }
19809 fi
19810 fi
19811
19812 if test x"$ac_has_clock_monotonic" = x"yes"; then
19813
19814 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19815
19816 fi
19817
19818 if test x"$ac_has_clock_realtime" = x"yes"; then
19819
19820 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19821
19822 fi
19823
19824 if test x"$ac_has_nanosleep" = x"yes"; then
19825
19826 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19827
19828 fi
19829
19830
19831
19832 CXXFLAGS="$ac_save_CXXFLAGS"
19833 LIBS="$ac_save_LIBS"
19834 ac_ext=c
19835 ac_cpp='$CPP $CPPFLAGS'
19836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19839
19840
19841
19842
19843 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19844 if test "x$ac_cv_header_locale_h" = x""yes; then :
19845
19846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19847 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19848 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19849 $as_echo_n "(cached) " >&6
19850 else
19851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19852 /* end confdefs.h. */
19853 #include <locale.h>
19854 int
19855 main ()
19856 {
19857 return LC_MESSAGES
19858 ;
19859 return 0;
19860 }
19861 _ACEOF
19862 if ac_fn_c_try_compile "$LINENO"; then :
19863 ac_cv_val_LC_MESSAGES=yes
19864 else
19865 ac_cv_val_LC_MESSAGES=no
19866 fi
19867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19868 fi
19869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19870 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19871 if test $ac_cv_val_LC_MESSAGES = yes; then
19872
19873 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19874
19875 fi
19876
19877 fi
19878
19879
19880
19881
19882 # For hardware_concurrency
19883 for ac_header in sys/sysinfo.h
19884 do :
19885 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19886 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19887 cat >>confdefs.h <<_ACEOF
19888 #define HAVE_SYS_SYSINFO_H 1
19889 _ACEOF
19890
19891 fi
19892
19893 done
19894
19895
19896
19897
19898 ac_ext=cpp
19899 ac_cpp='$CXXCPP $CPPFLAGS'
19900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19903
19904 ac_save_CXXFLAGS="$CXXFLAGS"
19905 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19906
19907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19908 $as_echo_n "checking for get_nprocs... " >&6; }
19909 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19910 $as_echo_n "(cached) " >&6
19911 else
19912
19913 if test x$gcc_no_link = xyes; then
19914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19915 /* end confdefs.h. */
19916 #include <sys/sysinfo.h>
19917 int
19918 main ()
19919 {
19920 int n = get_nprocs();
19921 ;
19922 return 0;
19923 }
19924 _ACEOF
19925 if ac_fn_cxx_try_compile "$LINENO"; then :
19926 glibcxx_cv_GET_NPROCS=yes
19927 else
19928 glibcxx_cv_GET_NPROCS=no
19929 fi
19930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19931 else
19932 if test x$gcc_no_link = xyes; then
19933 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19934 fi
19935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19936 /* end confdefs.h. */
19937 #include <sys/sysinfo.h>
19938 int
19939 main ()
19940 {
19941 int n = get_nprocs();
19942 ;
19943 return 0;
19944 }
19945 _ACEOF
19946 if ac_fn_cxx_try_link "$LINENO"; then :
19947 glibcxx_cv_GET_NPROCS=yes
19948 else
19949 glibcxx_cv_GET_NPROCS=no
19950 fi
19951 rm -f core conftest.err conftest.$ac_objext \
19952 conftest$ac_exeext conftest.$ac_ext
19953 fi
19954
19955 fi
19956
19957 if test $glibcxx_cv_GET_NPROCS = yes; then
19958
19959 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
19960
19961 fi
19962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
19963 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
19964
19965 CXXFLAGS="$ac_save_CXXFLAGS"
19966 ac_ext=c
19967 ac_cpp='$CPP $CPPFLAGS'
19968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19971
19972
19973 for ac_header in unistd.h
19974 do :
19975 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19976 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19977 cat >>confdefs.h <<_ACEOF
19978 #define HAVE_UNISTD_H 1
19979 _ACEOF
19980
19981 fi
19982
19983 done
19984
19985
19986
19987
19988 ac_ext=cpp
19989 ac_cpp='$CXXCPP $CPPFLAGS'
19990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19993
19994 ac_save_CXXFLAGS="$CXXFLAGS"
19995 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19996
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
19998 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
19999 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20000 $as_echo_n "(cached) " >&6
20001 else
20002
20003 if test x$gcc_no_link = xyes; then
20004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20005 /* end confdefs.h. */
20006 #include <unistd.h>
20007 int
20008 main ()
20009 {
20010 int n = sysconf(_SC_NPROCESSORS_ONLN);
20011 ;
20012 return 0;
20013 }
20014 _ACEOF
20015 if ac_fn_cxx_try_compile "$LINENO"; then :
20016 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20017 else
20018 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20019 fi
20020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20021 else
20022 if test x$gcc_no_link = xyes; then
20023 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20024 fi
20025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20026 /* end confdefs.h. */
20027 #include <unistd.h>
20028 int
20029 main ()
20030 {
20031 int n = sysconf(_SC_NPROCESSORS_ONLN);
20032 ;
20033 return 0;
20034 }
20035 _ACEOF
20036 if ac_fn_cxx_try_link "$LINENO"; then :
20037 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20038 else
20039 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20040 fi
20041 rm -f core conftest.err conftest.$ac_objext \
20042 conftest$ac_exeext conftest.$ac_ext
20043 fi
20044
20045 fi
20046
20047 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20048
20049 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20050
20051 fi
20052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20053 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20054
20055 CXXFLAGS="$ac_save_CXXFLAGS"
20056 ac_ext=c
20057 ac_cpp='$CPP $CPPFLAGS'
20058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20061
20062
20063
20064
20065
20066 ac_ext=cpp
20067 ac_cpp='$CXXCPP $CPPFLAGS'
20068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20071
20072 ac_save_CXXFLAGS="$CXXFLAGS"
20073 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20074
20075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20076 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20077 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20078 $as_echo_n "(cached) " >&6
20079 else
20080
20081 if test x$gcc_no_link = xyes; then
20082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20083 /* end confdefs.h. */
20084 #include <unistd.h>
20085 int
20086 main ()
20087 {
20088 int n = sysconf(_SC_NPROC_ONLN);
20089 ;
20090 return 0;
20091 }
20092 _ACEOF
20093 if ac_fn_cxx_try_compile "$LINENO"; then :
20094 glibcxx_cv_SC_NPROC_ONLN=yes
20095 else
20096 glibcxx_cv_SC_NPROC_ONLN=no
20097 fi
20098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20099 else
20100 if test x$gcc_no_link = xyes; then
20101 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20102 fi
20103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20104 /* end confdefs.h. */
20105 #include <unistd.h>
20106 int
20107 main ()
20108 {
20109 int n = sysconf(_SC_NPROC_ONLN);
20110 ;
20111 return 0;
20112 }
20113 _ACEOF
20114 if ac_fn_cxx_try_link "$LINENO"; then :
20115 glibcxx_cv_SC_NPROC_ONLN=yes
20116 else
20117 glibcxx_cv_SC_NPROC_ONLN=no
20118 fi
20119 rm -f core conftest.err conftest.$ac_objext \
20120 conftest$ac_exeext conftest.$ac_ext
20121 fi
20122
20123 fi
20124
20125 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20126
20127 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20128
20129 fi
20130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20131 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20132
20133 CXXFLAGS="$ac_save_CXXFLAGS"
20134 ac_ext=c
20135 ac_cpp='$CPP $CPPFLAGS'
20136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20139
20140
20141
20142
20143
20144 ac_ext=cpp
20145 ac_cpp='$CXXCPP $CPPFLAGS'
20146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20149
20150 ac_save_CXXFLAGS="$CXXFLAGS"
20151 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20152
20153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20154 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20155 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20156 $as_echo_n "(cached) " >&6
20157 else
20158
20159 if test x$gcc_no_link = xyes; then
20160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20161 /* end confdefs.h. */
20162 #include <pthread.h>
20163 int
20164 main ()
20165 {
20166 int n = pthread_num_processors_np();
20167 ;
20168 return 0;
20169 }
20170 _ACEOF
20171 if ac_fn_cxx_try_compile "$LINENO"; then :
20172 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20173 else
20174 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20175 fi
20176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20177 else
20178 if test x$gcc_no_link = xyes; then
20179 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20180 fi
20181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20182 /* end confdefs.h. */
20183 #include <pthread.h>
20184 int
20185 main ()
20186 {
20187 int n = pthread_num_processors_np();
20188 ;
20189 return 0;
20190 }
20191 _ACEOF
20192 if ac_fn_cxx_try_link "$LINENO"; then :
20193 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20194 else
20195 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20196 fi
20197 rm -f core conftest.err conftest.$ac_objext \
20198 conftest$ac_exeext conftest.$ac_ext
20199 fi
20200
20201 fi
20202
20203 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20204
20205 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20206
20207 fi
20208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20209 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20210
20211 CXXFLAGS="$ac_save_CXXFLAGS"
20212 ac_ext=c
20213 ac_cpp='$CPP $CPPFLAGS'
20214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20217
20218
20219
20220
20221
20222 ac_ext=cpp
20223 ac_cpp='$CXXCPP $CPPFLAGS'
20224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20227
20228 ac_save_CXXFLAGS="$CXXFLAGS"
20229 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20230
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20232 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20233 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20234 $as_echo_n "(cached) " >&6
20235 else
20236
20237 if test x$gcc_no_link = xyes; then
20238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20239 /* end confdefs.h. */
20240
20241 #include <stddef.h>
20242 #include <sys/sysctl.h>
20243
20244 int
20245 main ()
20246 {
20247
20248 int count;
20249 size_t size = sizeof(count);
20250 int mib[] = { CTL_HW, HW_NCPU };
20251 sysctl(mib, 2, &count, &size, NULL, 0);
20252
20253 ;
20254 return 0;
20255 }
20256 _ACEOF
20257 if ac_fn_cxx_try_compile "$LINENO"; then :
20258 glibcxx_cv_SYSCTL_HW_NCPU=yes
20259 else
20260 glibcxx_cv_SYSCTL_HW_NCPU=no
20261 fi
20262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20263 else
20264 if test x$gcc_no_link = xyes; then
20265 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20266 fi
20267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20268 /* end confdefs.h. */
20269
20270 #include <stddef.h>
20271 #include <sys/sysctl.h>
20272
20273 int
20274 main ()
20275 {
20276
20277 int count;
20278 size_t size = sizeof(count);
20279 int mib[] = { CTL_HW, HW_NCPU };
20280 sysctl(mib, 2, &count, &size, NULL, 0);
20281
20282 ;
20283 return 0;
20284 }
20285 _ACEOF
20286 if ac_fn_cxx_try_link "$LINENO"; then :
20287 glibcxx_cv_SYSCTL_HW_NCPU=yes
20288 else
20289 glibcxx_cv_SYSCTL_HW_NCPU=no
20290 fi
20291 rm -f core conftest.err conftest.$ac_objext \
20292 conftest$ac_exeext conftest.$ac_ext
20293 fi
20294
20295 fi
20296
20297 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20298
20299 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20300
20301 fi
20302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20303 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20304
20305 CXXFLAGS="$ac_save_CXXFLAGS"
20306 ac_ext=c
20307 ac_cpp='$CPP $CPPFLAGS'
20308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20311
20312
20313
20314 # Check for available headers.
20315 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20316 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20317 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20318 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20319 wchar.h wctype.h
20320 do :
20321 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20322 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20323 eval as_val=\$$as_ac_Header
20324 if test "x$as_val" = x""yes; then :
20325 cat >>confdefs.h <<_ACEOF
20326 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20327 _ACEOF
20328
20329 fi
20330
20331 done
20332
20333
20334 # Only do link tests if native. Else, hardcode.
20335 if $GLIBCXX_IS_NATIVE; then
20336
20337 # We can do more elaborate tests that assume a working linker.
20338 CANADIAN=no
20339
20340
20341
20342 # Check whether --with-gnu-ld was given.
20343 if test "${with_gnu_ld+set}" = set; then :
20344 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20345 else
20346 with_gnu_ld=no
20347 fi
20348
20349 ac_prog=ld
20350 if test "$GCC" = yes; then
20351 # Check if gcc -print-prog-name=ld gives a path.
20352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20353 $as_echo_n "checking for ld used by $CC... " >&6; }
20354 case $host in
20355 *-*-mingw*)
20356 # gcc leaves a trailing carriage return which upsets mingw
20357 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20358 *)
20359 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20360 esac
20361 case $ac_prog in
20362 # Accept absolute paths.
20363 [\\/]* | ?:[\\/]*)
20364 re_direlt='/[^/][^/]*/\.\./'
20365 # Canonicalize the pathname of ld
20366 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20367 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20368 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20369 done
20370 test -z "$LD" && LD="$ac_prog"
20371 ;;
20372 "")
20373 # If it fails, then pretend we aren't using GCC.
20374 ac_prog=ld
20375 ;;
20376 *)
20377 # If it is relative, then search for the first ld in PATH.
20378 with_gnu_ld=unknown
20379 ;;
20380 esac
20381 elif test "$with_gnu_ld" = yes; then
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20383 $as_echo_n "checking for GNU ld... " >&6; }
20384 else
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20386 $as_echo_n "checking for non-GNU ld... " >&6; }
20387 fi
20388 if test "${lt_cv_path_LD+set}" = set; then :
20389 $as_echo_n "(cached) " >&6
20390 else
20391 if test -z "$LD"; then
20392 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20393 for ac_dir in $PATH; do
20394 IFS="$lt_save_ifs"
20395 test -z "$ac_dir" && ac_dir=.
20396 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20397 lt_cv_path_LD="$ac_dir/$ac_prog"
20398 # Check to see if the program is GNU ld. I'd rather use --version,
20399 # but apparently some variants of GNU ld only accept -v.
20400 # Break only if it was the GNU/non-GNU ld that we prefer.
20401 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20402 *GNU* | *'with BFD'*)
20403 test "$with_gnu_ld" != no && break
20404 ;;
20405 *)
20406 test "$with_gnu_ld" != yes && break
20407 ;;
20408 esac
20409 fi
20410 done
20411 IFS="$lt_save_ifs"
20412 else
20413 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20414 fi
20415 fi
20416
20417 LD="$lt_cv_path_LD"
20418 if test -n "$LD"; then
20419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20420 $as_echo "$LD" >&6; }
20421 else
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20423 $as_echo "no" >&6; }
20424 fi
20425 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20427 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20428 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20429 $as_echo_n "(cached) " >&6
20430 else
20431 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20432 case `$LD -v 2>&1 </dev/null` in
20433 *GNU* | *'with BFD'*)
20434 lt_cv_prog_gnu_ld=yes
20435 ;;
20436 *)
20437 lt_cv_prog_gnu_ld=no
20438 ;;
20439 esac
20440 fi
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20442 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20443 with_gnu_ld=$lt_cv_prog_gnu_ld
20444
20445
20446
20447
20448
20449
20450
20451 # If we're not using GNU ld, then there's no point in even trying these
20452 # tests. Check for that first. We should have already tested for gld
20453 # by now (in libtool), but require it now just to be safe...
20454 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20455 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20456
20457
20458
20459 # The name set by libtool depends on the version of libtool. Shame on us
20460 # for depending on an impl detail, but c'est la vie. Older versions used
20461 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20462 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20463 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20464 # set (hence we're using an older libtool), then set it.
20465 if test x${with_gnu_ld+set} != xset; then
20466 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20467 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20468 with_gnu_ld=no
20469 else
20470 with_gnu_ld=$ac_cv_prog_gnu_ld
20471 fi
20472 fi
20473
20474 # Start by getting the version number. I think the libtool test already
20475 # does some of this, but throws away the result.
20476 glibcxx_ld_is_gold=no
20477 if test x"$with_gnu_ld" = x"yes"; then
20478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20479 $as_echo_n "checking for ld version... " >&6; }
20480
20481 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20482 glibcxx_ld_is_gold=yes
20483 fi
20484 ldver=`$LD --version 2>/dev/null |
20485 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'`
20486
20487 glibcxx_gnu_ld_version=`echo $ldver | \
20488 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20490 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20491 fi
20492
20493 # Set --gc-sections.
20494 glibcxx_have_gc_sections=no
20495 if test "$glibcxx_ld_is_gold" = "yes"; then
20496 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20497 glibcxx_have_gc_sections=yes
20498 fi
20499 else
20500 glibcxx_gcsections_min_ld=21602
20501 if test x"$with_gnu_ld" = x"yes" &&
20502 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20503 glibcxx_have_gc_sections=yes
20504 fi
20505 fi
20506 if test "$glibcxx_have_gc_sections" = "yes"; then
20507 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20508 # NB: This flag only works reliably after 2.16.1. Configure tests
20509 # for this are difficult, so hard wire a value that should work.
20510
20511 ac_test_CFLAGS="${CFLAGS+set}"
20512 ac_save_CFLAGS="$CFLAGS"
20513 CFLAGS='-Wl,--gc-sections'
20514
20515 # Check for -Wl,--gc-sections
20516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20517 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20518 if test x$gcc_no_link = xyes; then
20519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20520 fi
20521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20522 /* end confdefs.h. */
20523 int one(void) { return 1; }
20524 int two(void) { return 2; }
20525
20526 int
20527 main ()
20528 {
20529 two();
20530 ;
20531 return 0;
20532 }
20533 _ACEOF
20534 if ac_fn_c_try_link "$LINENO"; then :
20535 ac_gcsections=yes
20536 else
20537 ac_gcsections=no
20538 fi
20539 rm -f core conftest.err conftest.$ac_objext \
20540 conftest$ac_exeext conftest.$ac_ext
20541 if test "$ac_gcsections" = "yes"; then
20542 rm -f conftest.c
20543 touch conftest.c
20544 if $CC -c conftest.c; then
20545 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20546 grep "Warning: gc-sections option ignored" > /dev/null; then
20547 ac_gcsections=no
20548 fi
20549 fi
20550 rm -f conftest.c conftest.o conftest
20551 fi
20552 if test "$ac_gcsections" = "yes"; then
20553 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20554 fi
20555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20556 $as_echo "$ac_gcsections" >&6; }
20557
20558 if test "$ac_test_CFLAGS" = set; then
20559 CFLAGS="$ac_save_CFLAGS"
20560 else
20561 # this is the suspicious part
20562 CFLAGS=''
20563 fi
20564 fi
20565
20566 # Set -z,relro.
20567 # Note this is only for shared objects.
20568 ac_ld_relro=no
20569 if test x"$with_gnu_ld" = x"yes"; then
20570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20571 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20572 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20573 if test -n "$cxx_z_relo"; then
20574 OPT_LDFLAGS="-Wl,-z,relro"
20575 ac_ld_relro=yes
20576 fi
20577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20578 $as_echo "$ac_ld_relro" >&6; }
20579 fi
20580
20581 # Set linker optimization flags.
20582 if test x"$with_gnu_ld" = x"yes"; then
20583 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20584 fi
20585
20586
20587
20588
20589
20590 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20591 ac_save_CXXFLAGS="$CXXFLAGS"
20592 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20593
20594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20595 $as_echo_n "checking for sin in -lm... " >&6; }
20596 if test "${ac_cv_lib_m_sin+set}" = set; then :
20597 $as_echo_n "(cached) " >&6
20598 else
20599 ac_check_lib_save_LIBS=$LIBS
20600 LIBS="-lm $LIBS"
20601 if test x$gcc_no_link = xyes; then
20602 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20603 fi
20604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20605 /* end confdefs.h. */
20606
20607 /* Override any GCC internal prototype to avoid an error.
20608 Use char because int might match the return type of a GCC
20609 builtin and then its argument prototype would still apply. */
20610 #ifdef __cplusplus
20611 extern "C"
20612 #endif
20613 char sin ();
20614 int
20615 main ()
20616 {
20617 return sin ();
20618 ;
20619 return 0;
20620 }
20621 _ACEOF
20622 if ac_fn_c_try_link "$LINENO"; then :
20623 ac_cv_lib_m_sin=yes
20624 else
20625 ac_cv_lib_m_sin=no
20626 fi
20627 rm -f core conftest.err conftest.$ac_objext \
20628 conftest$ac_exeext conftest.$ac_ext
20629 LIBS=$ac_check_lib_save_LIBS
20630 fi
20631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20632 $as_echo "$ac_cv_lib_m_sin" >&6; }
20633 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20634 libm="-lm"
20635 fi
20636
20637 ac_save_LIBS="$LIBS"
20638 LIBS="$LIBS $libm"
20639
20640
20641
20642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20643 $as_echo_n "checking for isinf declaration... " >&6; }
20644 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20645 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20646 $as_echo_n "(cached) " >&6
20647 else
20648
20649
20650 ac_ext=cpp
20651 ac_cpp='$CXXCPP $CPPFLAGS'
20652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20655
20656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20657 /* end confdefs.h. */
20658 #include <math.h>
20659 #ifdef HAVE_IEEEFP_H
20660 #include <ieeefp.h>
20661 #endif
20662
20663 int
20664 main ()
20665 {
20666 isinf(0);
20667 ;
20668 return 0;
20669 }
20670 _ACEOF
20671 if ac_fn_cxx_try_compile "$LINENO"; then :
20672 glibcxx_cv_func_isinf_use=yes
20673 else
20674 glibcxx_cv_func_isinf_use=no
20675 fi
20676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20677 ac_ext=c
20678 ac_cpp='$CPP $CPPFLAGS'
20679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20682
20683
20684 fi
20685
20686 fi
20687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20688 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20689
20690 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20691 for ac_func in isinf
20692 do :
20693 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20694 if test "x$ac_cv_func_isinf" = x""yes; then :
20695 cat >>confdefs.h <<_ACEOF
20696 #define HAVE_ISINF 1
20697 _ACEOF
20698
20699 fi
20700 done
20701
20702 else
20703
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20705 $as_echo_n "checking for _isinf declaration... " >&6; }
20706 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20707 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20708 $as_echo_n "(cached) " >&6
20709 else
20710
20711
20712 ac_ext=cpp
20713 ac_cpp='$CXXCPP $CPPFLAGS'
20714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20717
20718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20719 /* end confdefs.h. */
20720 #include <math.h>
20721 #ifdef HAVE_IEEEFP_H
20722 #include <ieeefp.h>
20723 #endif
20724
20725 int
20726 main ()
20727 {
20728 _isinf(0);
20729 ;
20730 return 0;
20731 }
20732 _ACEOF
20733 if ac_fn_cxx_try_compile "$LINENO"; then :
20734 glibcxx_cv_func__isinf_use=yes
20735 else
20736 glibcxx_cv_func__isinf_use=no
20737 fi
20738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20739 ac_ext=c
20740 ac_cpp='$CPP $CPPFLAGS'
20741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20744
20745
20746 fi
20747
20748 fi
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20750 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20751
20752 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20753 for ac_func in _isinf
20754 do :
20755 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20756 if test "x$ac_cv_func__isinf" = x""yes; then :
20757 cat >>confdefs.h <<_ACEOF
20758 #define HAVE__ISINF 1
20759 _ACEOF
20760
20761 fi
20762 done
20763
20764 fi
20765 fi
20766
20767
20768
20769
20770
20771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20772 $as_echo_n "checking for isnan declaration... " >&6; }
20773 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20774 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20775 $as_echo_n "(cached) " >&6
20776 else
20777
20778
20779 ac_ext=cpp
20780 ac_cpp='$CXXCPP $CPPFLAGS'
20781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20784
20785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20786 /* end confdefs.h. */
20787 #include <math.h>
20788 #ifdef HAVE_IEEEFP_H
20789 #include <ieeefp.h>
20790 #endif
20791
20792 int
20793 main ()
20794 {
20795 isnan(0);
20796 ;
20797 return 0;
20798 }
20799 _ACEOF
20800 if ac_fn_cxx_try_compile "$LINENO"; then :
20801 glibcxx_cv_func_isnan_use=yes
20802 else
20803 glibcxx_cv_func_isnan_use=no
20804 fi
20805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20806 ac_ext=c
20807 ac_cpp='$CPP $CPPFLAGS'
20808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20811
20812
20813 fi
20814
20815 fi
20816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20817 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20818
20819 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20820 for ac_func in isnan
20821 do :
20822 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20823 if test "x$ac_cv_func_isnan" = x""yes; then :
20824 cat >>confdefs.h <<_ACEOF
20825 #define HAVE_ISNAN 1
20826 _ACEOF
20827
20828 fi
20829 done
20830
20831 else
20832
20833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20834 $as_echo_n "checking for _isnan declaration... " >&6; }
20835 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20836 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20837 $as_echo_n "(cached) " >&6
20838 else
20839
20840
20841 ac_ext=cpp
20842 ac_cpp='$CXXCPP $CPPFLAGS'
20843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20846
20847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20848 /* end confdefs.h. */
20849 #include <math.h>
20850 #ifdef HAVE_IEEEFP_H
20851 #include <ieeefp.h>
20852 #endif
20853
20854 int
20855 main ()
20856 {
20857 _isnan(0);
20858 ;
20859 return 0;
20860 }
20861 _ACEOF
20862 if ac_fn_cxx_try_compile "$LINENO"; then :
20863 glibcxx_cv_func__isnan_use=yes
20864 else
20865 glibcxx_cv_func__isnan_use=no
20866 fi
20867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20868 ac_ext=c
20869 ac_cpp='$CPP $CPPFLAGS'
20870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20873
20874
20875 fi
20876
20877 fi
20878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20879 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20880
20881 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20882 for ac_func in _isnan
20883 do :
20884 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20885 if test "x$ac_cv_func__isnan" = x""yes; then :
20886 cat >>confdefs.h <<_ACEOF
20887 #define HAVE__ISNAN 1
20888 _ACEOF
20889
20890 fi
20891 done
20892
20893 fi
20894 fi
20895
20896
20897
20898
20899
20900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20901 $as_echo_n "checking for finite declaration... " >&6; }
20902 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20903 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20904 $as_echo_n "(cached) " >&6
20905 else
20906
20907
20908 ac_ext=cpp
20909 ac_cpp='$CXXCPP $CPPFLAGS'
20910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20913
20914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20915 /* end confdefs.h. */
20916 #include <math.h>
20917 #ifdef HAVE_IEEEFP_H
20918 #include <ieeefp.h>
20919 #endif
20920
20921 int
20922 main ()
20923 {
20924 finite(0);
20925 ;
20926 return 0;
20927 }
20928 _ACEOF
20929 if ac_fn_cxx_try_compile "$LINENO"; then :
20930 glibcxx_cv_func_finite_use=yes
20931 else
20932 glibcxx_cv_func_finite_use=no
20933 fi
20934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20935 ac_ext=c
20936 ac_cpp='$CPP $CPPFLAGS'
20937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20940
20941
20942 fi
20943
20944 fi
20945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20946 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20947
20948 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20949 for ac_func in finite
20950 do :
20951 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20952 if test "x$ac_cv_func_finite" = x""yes; then :
20953 cat >>confdefs.h <<_ACEOF
20954 #define HAVE_FINITE 1
20955 _ACEOF
20956
20957 fi
20958 done
20959
20960 else
20961
20962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20963 $as_echo_n "checking for _finite declaration... " >&6; }
20964 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20965 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20966 $as_echo_n "(cached) " >&6
20967 else
20968
20969
20970 ac_ext=cpp
20971 ac_cpp='$CXXCPP $CPPFLAGS'
20972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20975
20976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20977 /* end confdefs.h. */
20978 #include <math.h>
20979 #ifdef HAVE_IEEEFP_H
20980 #include <ieeefp.h>
20981 #endif
20982
20983 int
20984 main ()
20985 {
20986 _finite(0);
20987 ;
20988 return 0;
20989 }
20990 _ACEOF
20991 if ac_fn_cxx_try_compile "$LINENO"; then :
20992 glibcxx_cv_func__finite_use=yes
20993 else
20994 glibcxx_cv_func__finite_use=no
20995 fi
20996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20997 ac_ext=c
20998 ac_cpp='$CPP $CPPFLAGS'
20999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21002
21003
21004 fi
21005
21006 fi
21007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21008 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21009
21010 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21011 for ac_func in _finite
21012 do :
21013 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21014 if test "x$ac_cv_func__finite" = x""yes; then :
21015 cat >>confdefs.h <<_ACEOF
21016 #define HAVE__FINITE 1
21017 _ACEOF
21018
21019 fi
21020 done
21021
21022 fi
21023 fi
21024
21025
21026
21027
21028
21029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21030 $as_echo_n "checking for sincos declaration... " >&6; }
21031 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21032 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21033 $as_echo_n "(cached) " >&6
21034 else
21035
21036
21037 ac_ext=cpp
21038 ac_cpp='$CXXCPP $CPPFLAGS'
21039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21042
21043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21044 /* end confdefs.h. */
21045 #include <math.h>
21046 int
21047 main ()
21048 {
21049 sincos(0, 0, 0);
21050 ;
21051 return 0;
21052 }
21053 _ACEOF
21054 if ac_fn_cxx_try_compile "$LINENO"; then :
21055 glibcxx_cv_func_sincos_use=yes
21056 else
21057 glibcxx_cv_func_sincos_use=no
21058 fi
21059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21060 ac_ext=c
21061 ac_cpp='$CPP $CPPFLAGS'
21062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21065
21066
21067 fi
21068
21069 fi
21070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21071 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21072
21073 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21074 for ac_func in sincos
21075 do :
21076 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21077 if test "x$ac_cv_func_sincos" = x""yes; then :
21078 cat >>confdefs.h <<_ACEOF
21079 #define HAVE_SINCOS 1
21080 _ACEOF
21081
21082 fi
21083 done
21084
21085 else
21086
21087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21088 $as_echo_n "checking for _sincos declaration... " >&6; }
21089 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21090 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21091 $as_echo_n "(cached) " >&6
21092 else
21093
21094
21095 ac_ext=cpp
21096 ac_cpp='$CXXCPP $CPPFLAGS'
21097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21100
21101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21102 /* end confdefs.h. */
21103 #include <math.h>
21104 int
21105 main ()
21106 {
21107 _sincos(0, 0, 0);
21108 ;
21109 return 0;
21110 }
21111 _ACEOF
21112 if ac_fn_cxx_try_compile "$LINENO"; then :
21113 glibcxx_cv_func__sincos_use=yes
21114 else
21115 glibcxx_cv_func__sincos_use=no
21116 fi
21117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21118 ac_ext=c
21119 ac_cpp='$CPP $CPPFLAGS'
21120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21123
21124
21125 fi
21126
21127 fi
21128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21129 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21130
21131 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21132 for ac_func in _sincos
21133 do :
21134 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21135 if test "x$ac_cv_func__sincos" = x""yes; then :
21136 cat >>confdefs.h <<_ACEOF
21137 #define HAVE__SINCOS 1
21138 _ACEOF
21139
21140 fi
21141 done
21142
21143 fi
21144 fi
21145
21146
21147
21148
21149
21150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21151 $as_echo_n "checking for fpclass declaration... " >&6; }
21152 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21153 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21154 $as_echo_n "(cached) " >&6
21155 else
21156
21157
21158 ac_ext=cpp
21159 ac_cpp='$CXXCPP $CPPFLAGS'
21160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21163
21164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21165 /* end confdefs.h. */
21166 #include <math.h>
21167 #ifdef HAVE_IEEEFP_H
21168 #include <ieeefp.h>
21169 #endif
21170
21171 int
21172 main ()
21173 {
21174 fpclass(0);
21175 ;
21176 return 0;
21177 }
21178 _ACEOF
21179 if ac_fn_cxx_try_compile "$LINENO"; then :
21180 glibcxx_cv_func_fpclass_use=yes
21181 else
21182 glibcxx_cv_func_fpclass_use=no
21183 fi
21184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21185 ac_ext=c
21186 ac_cpp='$CPP $CPPFLAGS'
21187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21190
21191
21192 fi
21193
21194 fi
21195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21196 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21197
21198 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21199 for ac_func in fpclass
21200 do :
21201 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21202 if test "x$ac_cv_func_fpclass" = x""yes; then :
21203 cat >>confdefs.h <<_ACEOF
21204 #define HAVE_FPCLASS 1
21205 _ACEOF
21206
21207 fi
21208 done
21209
21210 else
21211
21212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21213 $as_echo_n "checking for _fpclass declaration... " >&6; }
21214 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21215 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21216 $as_echo_n "(cached) " >&6
21217 else
21218
21219
21220 ac_ext=cpp
21221 ac_cpp='$CXXCPP $CPPFLAGS'
21222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21225
21226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21227 /* end confdefs.h. */
21228 #include <math.h>
21229 #ifdef HAVE_IEEEFP_H
21230 #include <ieeefp.h>
21231 #endif
21232
21233 int
21234 main ()
21235 {
21236 _fpclass(0);
21237 ;
21238 return 0;
21239 }
21240 _ACEOF
21241 if ac_fn_cxx_try_compile "$LINENO"; then :
21242 glibcxx_cv_func__fpclass_use=yes
21243 else
21244 glibcxx_cv_func__fpclass_use=no
21245 fi
21246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21247 ac_ext=c
21248 ac_cpp='$CPP $CPPFLAGS'
21249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21252
21253
21254 fi
21255
21256 fi
21257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21258 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21259
21260 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21261 for ac_func in _fpclass
21262 do :
21263 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21264 if test "x$ac_cv_func__fpclass" = x""yes; then :
21265 cat >>confdefs.h <<_ACEOF
21266 #define HAVE__FPCLASS 1
21267 _ACEOF
21268
21269 fi
21270 done
21271
21272 fi
21273 fi
21274
21275
21276
21277
21278
21279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21280 $as_echo_n "checking for qfpclass declaration... " >&6; }
21281 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21282 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21283 $as_echo_n "(cached) " >&6
21284 else
21285
21286
21287 ac_ext=cpp
21288 ac_cpp='$CXXCPP $CPPFLAGS'
21289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21292
21293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21294 /* end confdefs.h. */
21295 #include <math.h>
21296 #ifdef HAVE_IEEEFP_H
21297 #include <ieeefp.h>
21298 #endif
21299
21300 int
21301 main ()
21302 {
21303 qfpclass(0);
21304 ;
21305 return 0;
21306 }
21307 _ACEOF
21308 if ac_fn_cxx_try_compile "$LINENO"; then :
21309 glibcxx_cv_func_qfpclass_use=yes
21310 else
21311 glibcxx_cv_func_qfpclass_use=no
21312 fi
21313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21314 ac_ext=c
21315 ac_cpp='$CPP $CPPFLAGS'
21316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21319
21320
21321 fi
21322
21323 fi
21324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21325 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21326
21327 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21328 for ac_func in qfpclass
21329 do :
21330 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21331 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21332 cat >>confdefs.h <<_ACEOF
21333 #define HAVE_QFPCLASS 1
21334 _ACEOF
21335
21336 fi
21337 done
21338
21339 else
21340
21341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21342 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21343 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21344 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21345 $as_echo_n "(cached) " >&6
21346 else
21347
21348
21349 ac_ext=cpp
21350 ac_cpp='$CXXCPP $CPPFLAGS'
21351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21354
21355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21356 /* end confdefs.h. */
21357 #include <math.h>
21358 #ifdef HAVE_IEEEFP_H
21359 #include <ieeefp.h>
21360 #endif
21361
21362 int
21363 main ()
21364 {
21365 _qfpclass(0);
21366 ;
21367 return 0;
21368 }
21369 _ACEOF
21370 if ac_fn_cxx_try_compile "$LINENO"; then :
21371 glibcxx_cv_func__qfpclass_use=yes
21372 else
21373 glibcxx_cv_func__qfpclass_use=no
21374 fi
21375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21376 ac_ext=c
21377 ac_cpp='$CPP $CPPFLAGS'
21378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21381
21382
21383 fi
21384
21385 fi
21386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21387 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21388
21389 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21390 for ac_func in _qfpclass
21391 do :
21392 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21393 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21394 cat >>confdefs.h <<_ACEOF
21395 #define HAVE__QFPCLASS 1
21396 _ACEOF
21397
21398 fi
21399 done
21400
21401 fi
21402 fi
21403
21404
21405
21406
21407
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21409 $as_echo_n "checking for hypot declaration... " >&6; }
21410 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21411 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21412 $as_echo_n "(cached) " >&6
21413 else
21414
21415
21416 ac_ext=cpp
21417 ac_cpp='$CXXCPP $CPPFLAGS'
21418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21421
21422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21423 /* end confdefs.h. */
21424 #include <math.h>
21425 int
21426 main ()
21427 {
21428 hypot(0, 0);
21429 ;
21430 return 0;
21431 }
21432 _ACEOF
21433 if ac_fn_cxx_try_compile "$LINENO"; then :
21434 glibcxx_cv_func_hypot_use=yes
21435 else
21436 glibcxx_cv_func_hypot_use=no
21437 fi
21438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21439 ac_ext=c
21440 ac_cpp='$CPP $CPPFLAGS'
21441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21444
21445
21446 fi
21447
21448 fi
21449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21450 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21451
21452 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21453 for ac_func in hypot
21454 do :
21455 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21456 if test "x$ac_cv_func_hypot" = x""yes; then :
21457 cat >>confdefs.h <<_ACEOF
21458 #define HAVE_HYPOT 1
21459 _ACEOF
21460
21461 fi
21462 done
21463
21464 else
21465
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21467 $as_echo_n "checking for _hypot declaration... " >&6; }
21468 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21469 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21470 $as_echo_n "(cached) " >&6
21471 else
21472
21473
21474 ac_ext=cpp
21475 ac_cpp='$CXXCPP $CPPFLAGS'
21476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21479
21480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21481 /* end confdefs.h. */
21482 #include <math.h>
21483 int
21484 main ()
21485 {
21486 _hypot(0, 0);
21487 ;
21488 return 0;
21489 }
21490 _ACEOF
21491 if ac_fn_cxx_try_compile "$LINENO"; then :
21492 glibcxx_cv_func__hypot_use=yes
21493 else
21494 glibcxx_cv_func__hypot_use=no
21495 fi
21496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21497 ac_ext=c
21498 ac_cpp='$CPP $CPPFLAGS'
21499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21502
21503
21504 fi
21505
21506 fi
21507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21508 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21509
21510 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21511 for ac_func in _hypot
21512 do :
21513 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21514 if test "x$ac_cv_func__hypot" = x""yes; then :
21515 cat >>confdefs.h <<_ACEOF
21516 #define HAVE__HYPOT 1
21517 _ACEOF
21518
21519 fi
21520 done
21521
21522 fi
21523 fi
21524
21525
21526
21527
21528
21529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21530 $as_echo_n "checking for float trig functions... " >&6; }
21531 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21532 $as_echo_n "(cached) " >&6
21533 else
21534
21535
21536 ac_ext=cpp
21537 ac_cpp='$CXXCPP $CPPFLAGS'
21538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21541
21542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21543 /* end confdefs.h. */
21544 #include <math.h>
21545 int
21546 main ()
21547 {
21548 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21549 ;
21550 return 0;
21551 }
21552 _ACEOF
21553 if ac_fn_cxx_try_compile "$LINENO"; then :
21554 glibcxx_cv_func_float_trig_use=yes
21555 else
21556 glibcxx_cv_func_float_trig_use=no
21557 fi
21558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21559 ac_ext=c
21560 ac_cpp='$CPP $CPPFLAGS'
21561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21564
21565 fi
21566
21567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21568 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21569 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21570 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21571 do :
21572 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21573 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21574 eval as_val=\$$as_ac_var
21575 if test "x$as_val" = x""yes; then :
21576 cat >>confdefs.h <<_ACEOF
21577 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21578 _ACEOF
21579
21580 fi
21581 done
21582
21583 else
21584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21585 $as_echo_n "checking for _float trig functions... " >&6; }
21586 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21587 $as_echo_n "(cached) " >&6
21588 else
21589
21590
21591 ac_ext=cpp
21592 ac_cpp='$CXXCPP $CPPFLAGS'
21593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21596
21597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21598 /* end confdefs.h. */
21599 #include <math.h>
21600 int
21601 main ()
21602 {
21603 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21604 ;
21605 return 0;
21606 }
21607 _ACEOF
21608 if ac_fn_cxx_try_compile "$LINENO"; then :
21609 glibcxx_cv_func__float_trig_use=yes
21610 else
21611 glibcxx_cv_func__float_trig_use=no
21612 fi
21613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21614 ac_ext=c
21615 ac_cpp='$CPP $CPPFLAGS'
21616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21619
21620 fi
21621
21622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21623 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21624 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21625 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21626 do :
21627 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21628 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21629 eval as_val=\$$as_ac_var
21630 if test "x$as_val" = x""yes; then :
21631 cat >>confdefs.h <<_ACEOF
21632 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21633 _ACEOF
21634
21635 fi
21636 done
21637
21638 fi
21639 fi
21640
21641
21642
21643
21644
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21646 $as_echo_n "checking for float round functions... " >&6; }
21647 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21648 $as_echo_n "(cached) " >&6
21649 else
21650
21651
21652 ac_ext=cpp
21653 ac_cpp='$CXXCPP $CPPFLAGS'
21654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21657
21658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21659 /* end confdefs.h. */
21660 #include <math.h>
21661 int
21662 main ()
21663 {
21664 ceilf (0); floorf (0);
21665 ;
21666 return 0;
21667 }
21668 _ACEOF
21669 if ac_fn_cxx_try_compile "$LINENO"; then :
21670 glibcxx_cv_func_float_round_use=yes
21671 else
21672 glibcxx_cv_func_float_round_use=no
21673 fi
21674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21675 ac_ext=c
21676 ac_cpp='$CPP $CPPFLAGS'
21677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21680
21681 fi
21682
21683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21684 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21685 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21686 for ac_func in ceilf floorf
21687 do :
21688 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21689 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21690 eval as_val=\$$as_ac_var
21691 if test "x$as_val" = x""yes; then :
21692 cat >>confdefs.h <<_ACEOF
21693 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21694 _ACEOF
21695
21696 fi
21697 done
21698
21699 else
21700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21701 $as_echo_n "checking for _float round functions... " >&6; }
21702 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21703 $as_echo_n "(cached) " >&6
21704 else
21705
21706
21707 ac_ext=cpp
21708 ac_cpp='$CXXCPP $CPPFLAGS'
21709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21712
21713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21714 /* end confdefs.h. */
21715 #include <math.h>
21716 int
21717 main ()
21718 {
21719 _ceilf (0); _floorf (0);
21720 ;
21721 return 0;
21722 }
21723 _ACEOF
21724 if ac_fn_cxx_try_compile "$LINENO"; then :
21725 glibcxx_cv_func__float_round_use=yes
21726 else
21727 glibcxx_cv_func__float_round_use=no
21728 fi
21729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21730 ac_ext=c
21731 ac_cpp='$CPP $CPPFLAGS'
21732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21735
21736 fi
21737
21738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21739 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21740 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21741 for ac_func in _ceilf _floorf
21742 do :
21743 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21744 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21745 eval as_val=\$$as_ac_var
21746 if test "x$as_val" = x""yes; then :
21747 cat >>confdefs.h <<_ACEOF
21748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21749 _ACEOF
21750
21751 fi
21752 done
21753
21754 fi
21755 fi
21756
21757
21758
21759
21760
21761
21762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21763 $as_echo_n "checking for expf declaration... " >&6; }
21764 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21765 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21766 $as_echo_n "(cached) " >&6
21767 else
21768
21769
21770 ac_ext=cpp
21771 ac_cpp='$CXXCPP $CPPFLAGS'
21772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21775
21776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21777 /* end confdefs.h. */
21778 #include <math.h>
21779 #ifdef HAVE_IEEEFP_H
21780 #include <ieeefp.h>
21781 #endif
21782
21783 int
21784 main ()
21785 {
21786 expf(0);
21787 ;
21788 return 0;
21789 }
21790 _ACEOF
21791 if ac_fn_cxx_try_compile "$LINENO"; then :
21792 glibcxx_cv_func_expf_use=yes
21793 else
21794 glibcxx_cv_func_expf_use=no
21795 fi
21796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21797 ac_ext=c
21798 ac_cpp='$CPP $CPPFLAGS'
21799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21802
21803
21804 fi
21805
21806 fi
21807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21808 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21809
21810 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21811 for ac_func in expf
21812 do :
21813 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21814 if test "x$ac_cv_func_expf" = x""yes; then :
21815 cat >>confdefs.h <<_ACEOF
21816 #define HAVE_EXPF 1
21817 _ACEOF
21818
21819 fi
21820 done
21821
21822 else
21823
21824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21825 $as_echo_n "checking for _expf declaration... " >&6; }
21826 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21827 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21828 $as_echo_n "(cached) " >&6
21829 else
21830
21831
21832 ac_ext=cpp
21833 ac_cpp='$CXXCPP $CPPFLAGS'
21834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21837
21838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21839 /* end confdefs.h. */
21840 #include <math.h>
21841 #ifdef HAVE_IEEEFP_H
21842 #include <ieeefp.h>
21843 #endif
21844
21845 int
21846 main ()
21847 {
21848 _expf(0);
21849 ;
21850 return 0;
21851 }
21852 _ACEOF
21853 if ac_fn_cxx_try_compile "$LINENO"; then :
21854 glibcxx_cv_func__expf_use=yes
21855 else
21856 glibcxx_cv_func__expf_use=no
21857 fi
21858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21859 ac_ext=c
21860 ac_cpp='$CPP $CPPFLAGS'
21861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21864
21865
21866 fi
21867
21868 fi
21869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21870 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21871
21872 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21873 for ac_func in _expf
21874 do :
21875 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21876 if test "x$ac_cv_func__expf" = x""yes; then :
21877 cat >>confdefs.h <<_ACEOF
21878 #define HAVE__EXPF 1
21879 _ACEOF
21880
21881 fi
21882 done
21883
21884 fi
21885 fi
21886
21887
21888
21889
21890
21891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21892 $as_echo_n "checking for isnanf declaration... " >&6; }
21893 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21894 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21895 $as_echo_n "(cached) " >&6
21896 else
21897
21898
21899 ac_ext=cpp
21900 ac_cpp='$CXXCPP $CPPFLAGS'
21901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21904
21905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21906 /* end confdefs.h. */
21907 #include <math.h>
21908 #ifdef HAVE_IEEEFP_H
21909 #include <ieeefp.h>
21910 #endif
21911
21912 int
21913 main ()
21914 {
21915 isnanf(0);
21916 ;
21917 return 0;
21918 }
21919 _ACEOF
21920 if ac_fn_cxx_try_compile "$LINENO"; then :
21921 glibcxx_cv_func_isnanf_use=yes
21922 else
21923 glibcxx_cv_func_isnanf_use=no
21924 fi
21925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21926 ac_ext=c
21927 ac_cpp='$CPP $CPPFLAGS'
21928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21931
21932
21933 fi
21934
21935 fi
21936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21937 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21938
21939 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21940 for ac_func in isnanf
21941 do :
21942 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21943 if test "x$ac_cv_func_isnanf" = x""yes; then :
21944 cat >>confdefs.h <<_ACEOF
21945 #define HAVE_ISNANF 1
21946 _ACEOF
21947
21948 fi
21949 done
21950
21951 else
21952
21953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21954 $as_echo_n "checking for _isnanf declaration... " >&6; }
21955 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21956 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21957 $as_echo_n "(cached) " >&6
21958 else
21959
21960
21961 ac_ext=cpp
21962 ac_cpp='$CXXCPP $CPPFLAGS'
21963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21966
21967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21968 /* end confdefs.h. */
21969 #include <math.h>
21970 #ifdef HAVE_IEEEFP_H
21971 #include <ieeefp.h>
21972 #endif
21973
21974 int
21975 main ()
21976 {
21977 _isnanf(0);
21978 ;
21979 return 0;
21980 }
21981 _ACEOF
21982 if ac_fn_cxx_try_compile "$LINENO"; then :
21983 glibcxx_cv_func__isnanf_use=yes
21984 else
21985 glibcxx_cv_func__isnanf_use=no
21986 fi
21987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21988 ac_ext=c
21989 ac_cpp='$CPP $CPPFLAGS'
21990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21993
21994
21995 fi
21996
21997 fi
21998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21999 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22000
22001 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22002 for ac_func in _isnanf
22003 do :
22004 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22005 if test "x$ac_cv_func__isnanf" = x""yes; then :
22006 cat >>confdefs.h <<_ACEOF
22007 #define HAVE__ISNANF 1
22008 _ACEOF
22009
22010 fi
22011 done
22012
22013 fi
22014 fi
22015
22016
22017
22018
22019
22020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22021 $as_echo_n "checking for isinff declaration... " >&6; }
22022 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22023 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22024 $as_echo_n "(cached) " >&6
22025 else
22026
22027
22028 ac_ext=cpp
22029 ac_cpp='$CXXCPP $CPPFLAGS'
22030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22033
22034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22035 /* end confdefs.h. */
22036 #include <math.h>
22037 #ifdef HAVE_IEEEFP_H
22038 #include <ieeefp.h>
22039 #endif
22040
22041 int
22042 main ()
22043 {
22044 isinff(0);
22045 ;
22046 return 0;
22047 }
22048 _ACEOF
22049 if ac_fn_cxx_try_compile "$LINENO"; then :
22050 glibcxx_cv_func_isinff_use=yes
22051 else
22052 glibcxx_cv_func_isinff_use=no
22053 fi
22054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22055 ac_ext=c
22056 ac_cpp='$CPP $CPPFLAGS'
22057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22060
22061
22062 fi
22063
22064 fi
22065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22066 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22067
22068 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22069 for ac_func in isinff
22070 do :
22071 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22072 if test "x$ac_cv_func_isinff" = x""yes; then :
22073 cat >>confdefs.h <<_ACEOF
22074 #define HAVE_ISINFF 1
22075 _ACEOF
22076
22077 fi
22078 done
22079
22080 else
22081
22082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22083 $as_echo_n "checking for _isinff declaration... " >&6; }
22084 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22085 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22086 $as_echo_n "(cached) " >&6
22087 else
22088
22089
22090 ac_ext=cpp
22091 ac_cpp='$CXXCPP $CPPFLAGS'
22092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22095
22096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22097 /* end confdefs.h. */
22098 #include <math.h>
22099 #ifdef HAVE_IEEEFP_H
22100 #include <ieeefp.h>
22101 #endif
22102
22103 int
22104 main ()
22105 {
22106 _isinff(0);
22107 ;
22108 return 0;
22109 }
22110 _ACEOF
22111 if ac_fn_cxx_try_compile "$LINENO"; then :
22112 glibcxx_cv_func__isinff_use=yes
22113 else
22114 glibcxx_cv_func__isinff_use=no
22115 fi
22116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22117 ac_ext=c
22118 ac_cpp='$CPP $CPPFLAGS'
22119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22122
22123
22124 fi
22125
22126 fi
22127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22128 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22129
22130 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22131 for ac_func in _isinff
22132 do :
22133 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22134 if test "x$ac_cv_func__isinff" = x""yes; then :
22135 cat >>confdefs.h <<_ACEOF
22136 #define HAVE__ISINFF 1
22137 _ACEOF
22138
22139 fi
22140 done
22141
22142 fi
22143 fi
22144
22145
22146
22147
22148
22149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22150 $as_echo_n "checking for atan2f declaration... " >&6; }
22151 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22152 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22153 $as_echo_n "(cached) " >&6
22154 else
22155
22156
22157 ac_ext=cpp
22158 ac_cpp='$CXXCPP $CPPFLAGS'
22159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22162
22163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22164 /* end confdefs.h. */
22165 #include <math.h>
22166 int
22167 main ()
22168 {
22169 atan2f(0, 0);
22170 ;
22171 return 0;
22172 }
22173 _ACEOF
22174 if ac_fn_cxx_try_compile "$LINENO"; then :
22175 glibcxx_cv_func_atan2f_use=yes
22176 else
22177 glibcxx_cv_func_atan2f_use=no
22178 fi
22179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22180 ac_ext=c
22181 ac_cpp='$CPP $CPPFLAGS'
22182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22185
22186
22187 fi
22188
22189 fi
22190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22191 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22192
22193 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22194 for ac_func in atan2f
22195 do :
22196 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22197 if test "x$ac_cv_func_atan2f" = x""yes; then :
22198 cat >>confdefs.h <<_ACEOF
22199 #define HAVE_ATAN2F 1
22200 _ACEOF
22201
22202 fi
22203 done
22204
22205 else
22206
22207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22208 $as_echo_n "checking for _atan2f declaration... " >&6; }
22209 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22210 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22211 $as_echo_n "(cached) " >&6
22212 else
22213
22214
22215 ac_ext=cpp
22216 ac_cpp='$CXXCPP $CPPFLAGS'
22217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22220
22221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22222 /* end confdefs.h. */
22223 #include <math.h>
22224 int
22225 main ()
22226 {
22227 _atan2f(0, 0);
22228 ;
22229 return 0;
22230 }
22231 _ACEOF
22232 if ac_fn_cxx_try_compile "$LINENO"; then :
22233 glibcxx_cv_func__atan2f_use=yes
22234 else
22235 glibcxx_cv_func__atan2f_use=no
22236 fi
22237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22238 ac_ext=c
22239 ac_cpp='$CPP $CPPFLAGS'
22240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22243
22244
22245 fi
22246
22247 fi
22248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22249 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22250
22251 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22252 for ac_func in _atan2f
22253 do :
22254 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22255 if test "x$ac_cv_func__atan2f" = x""yes; then :
22256 cat >>confdefs.h <<_ACEOF
22257 #define HAVE__ATAN2F 1
22258 _ACEOF
22259
22260 fi
22261 done
22262
22263 fi
22264 fi
22265
22266
22267
22268
22269
22270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22271 $as_echo_n "checking for fabsf declaration... " >&6; }
22272 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22273 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22274 $as_echo_n "(cached) " >&6
22275 else
22276
22277
22278 ac_ext=cpp
22279 ac_cpp='$CXXCPP $CPPFLAGS'
22280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22283
22284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22285 /* end confdefs.h. */
22286 #include <math.h>
22287 #ifdef HAVE_IEEEFP_H
22288 #include <ieeefp.h>
22289 #endif
22290
22291 int
22292 main ()
22293 {
22294 fabsf(0);
22295 ;
22296 return 0;
22297 }
22298 _ACEOF
22299 if ac_fn_cxx_try_compile "$LINENO"; then :
22300 glibcxx_cv_func_fabsf_use=yes
22301 else
22302 glibcxx_cv_func_fabsf_use=no
22303 fi
22304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22305 ac_ext=c
22306 ac_cpp='$CPP $CPPFLAGS'
22307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22310
22311
22312 fi
22313
22314 fi
22315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22316 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22317
22318 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22319 for ac_func in fabsf
22320 do :
22321 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22322 if test "x$ac_cv_func_fabsf" = x""yes; then :
22323 cat >>confdefs.h <<_ACEOF
22324 #define HAVE_FABSF 1
22325 _ACEOF
22326
22327 fi
22328 done
22329
22330 else
22331
22332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22333 $as_echo_n "checking for _fabsf declaration... " >&6; }
22334 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22335 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22336 $as_echo_n "(cached) " >&6
22337 else
22338
22339
22340 ac_ext=cpp
22341 ac_cpp='$CXXCPP $CPPFLAGS'
22342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22345
22346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22347 /* end confdefs.h. */
22348 #include <math.h>
22349 #ifdef HAVE_IEEEFP_H
22350 #include <ieeefp.h>
22351 #endif
22352
22353 int
22354 main ()
22355 {
22356 _fabsf(0);
22357 ;
22358 return 0;
22359 }
22360 _ACEOF
22361 if ac_fn_cxx_try_compile "$LINENO"; then :
22362 glibcxx_cv_func__fabsf_use=yes
22363 else
22364 glibcxx_cv_func__fabsf_use=no
22365 fi
22366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22367 ac_ext=c
22368 ac_cpp='$CPP $CPPFLAGS'
22369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22372
22373
22374 fi
22375
22376 fi
22377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22378 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22379
22380 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22381 for ac_func in _fabsf
22382 do :
22383 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22384 if test "x$ac_cv_func__fabsf" = x""yes; then :
22385 cat >>confdefs.h <<_ACEOF
22386 #define HAVE__FABSF 1
22387 _ACEOF
22388
22389 fi
22390 done
22391
22392 fi
22393 fi
22394
22395
22396
22397
22398
22399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22400 $as_echo_n "checking for fmodf declaration... " >&6; }
22401 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22402 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22403 $as_echo_n "(cached) " >&6
22404 else
22405
22406
22407 ac_ext=cpp
22408 ac_cpp='$CXXCPP $CPPFLAGS'
22409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22412
22413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22414 /* end confdefs.h. */
22415 #include <math.h>
22416 int
22417 main ()
22418 {
22419 fmodf(0, 0);
22420 ;
22421 return 0;
22422 }
22423 _ACEOF
22424 if ac_fn_cxx_try_compile "$LINENO"; then :
22425 glibcxx_cv_func_fmodf_use=yes
22426 else
22427 glibcxx_cv_func_fmodf_use=no
22428 fi
22429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22430 ac_ext=c
22431 ac_cpp='$CPP $CPPFLAGS'
22432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22435
22436
22437 fi
22438
22439 fi
22440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22441 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22442
22443 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22444 for ac_func in fmodf
22445 do :
22446 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22447 if test "x$ac_cv_func_fmodf" = x""yes; then :
22448 cat >>confdefs.h <<_ACEOF
22449 #define HAVE_FMODF 1
22450 _ACEOF
22451
22452 fi
22453 done
22454
22455 else
22456
22457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22458 $as_echo_n "checking for _fmodf declaration... " >&6; }
22459 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22460 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22461 $as_echo_n "(cached) " >&6
22462 else
22463
22464
22465 ac_ext=cpp
22466 ac_cpp='$CXXCPP $CPPFLAGS'
22467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22470
22471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22472 /* end confdefs.h. */
22473 #include <math.h>
22474 int
22475 main ()
22476 {
22477 _fmodf(0, 0);
22478 ;
22479 return 0;
22480 }
22481 _ACEOF
22482 if ac_fn_cxx_try_compile "$LINENO"; then :
22483 glibcxx_cv_func__fmodf_use=yes
22484 else
22485 glibcxx_cv_func__fmodf_use=no
22486 fi
22487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22488 ac_ext=c
22489 ac_cpp='$CPP $CPPFLAGS'
22490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22493
22494
22495 fi
22496
22497 fi
22498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22499 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22500
22501 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22502 for ac_func in _fmodf
22503 do :
22504 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22505 if test "x$ac_cv_func__fmodf" = x""yes; then :
22506 cat >>confdefs.h <<_ACEOF
22507 #define HAVE__FMODF 1
22508 _ACEOF
22509
22510 fi
22511 done
22512
22513 fi
22514 fi
22515
22516
22517
22518
22519
22520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22521 $as_echo_n "checking for frexpf declaration... " >&6; }
22522 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22523 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22524 $as_echo_n "(cached) " >&6
22525 else
22526
22527
22528 ac_ext=cpp
22529 ac_cpp='$CXXCPP $CPPFLAGS'
22530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22533
22534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22535 /* end confdefs.h. */
22536 #include <math.h>
22537 int
22538 main ()
22539 {
22540 frexpf(0, 0);
22541 ;
22542 return 0;
22543 }
22544 _ACEOF
22545 if ac_fn_cxx_try_compile "$LINENO"; then :
22546 glibcxx_cv_func_frexpf_use=yes
22547 else
22548 glibcxx_cv_func_frexpf_use=no
22549 fi
22550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22551 ac_ext=c
22552 ac_cpp='$CPP $CPPFLAGS'
22553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22556
22557
22558 fi
22559
22560 fi
22561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22562 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22563
22564 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22565 for ac_func in frexpf
22566 do :
22567 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22568 if test "x$ac_cv_func_frexpf" = x""yes; then :
22569 cat >>confdefs.h <<_ACEOF
22570 #define HAVE_FREXPF 1
22571 _ACEOF
22572
22573 fi
22574 done
22575
22576 else
22577
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22579 $as_echo_n "checking for _frexpf declaration... " >&6; }
22580 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22581 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22582 $as_echo_n "(cached) " >&6
22583 else
22584
22585
22586 ac_ext=cpp
22587 ac_cpp='$CXXCPP $CPPFLAGS'
22588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22591
22592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22593 /* end confdefs.h. */
22594 #include <math.h>
22595 int
22596 main ()
22597 {
22598 _frexpf(0, 0);
22599 ;
22600 return 0;
22601 }
22602 _ACEOF
22603 if ac_fn_cxx_try_compile "$LINENO"; then :
22604 glibcxx_cv_func__frexpf_use=yes
22605 else
22606 glibcxx_cv_func__frexpf_use=no
22607 fi
22608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22609 ac_ext=c
22610 ac_cpp='$CPP $CPPFLAGS'
22611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22614
22615
22616 fi
22617
22618 fi
22619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22620 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22621
22622 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22623 for ac_func in _frexpf
22624 do :
22625 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22626 if test "x$ac_cv_func__frexpf" = x""yes; then :
22627 cat >>confdefs.h <<_ACEOF
22628 #define HAVE__FREXPF 1
22629 _ACEOF
22630
22631 fi
22632 done
22633
22634 fi
22635 fi
22636
22637
22638
22639
22640
22641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22642 $as_echo_n "checking for hypotf declaration... " >&6; }
22643 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22644 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22645 $as_echo_n "(cached) " >&6
22646 else
22647
22648
22649 ac_ext=cpp
22650 ac_cpp='$CXXCPP $CPPFLAGS'
22651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22654
22655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22656 /* end confdefs.h. */
22657 #include <math.h>
22658 int
22659 main ()
22660 {
22661 hypotf(0, 0);
22662 ;
22663 return 0;
22664 }
22665 _ACEOF
22666 if ac_fn_cxx_try_compile "$LINENO"; then :
22667 glibcxx_cv_func_hypotf_use=yes
22668 else
22669 glibcxx_cv_func_hypotf_use=no
22670 fi
22671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22672 ac_ext=c
22673 ac_cpp='$CPP $CPPFLAGS'
22674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22677
22678
22679 fi
22680
22681 fi
22682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22683 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22684
22685 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22686 for ac_func in hypotf
22687 do :
22688 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22689 if test "x$ac_cv_func_hypotf" = x""yes; then :
22690 cat >>confdefs.h <<_ACEOF
22691 #define HAVE_HYPOTF 1
22692 _ACEOF
22693
22694 fi
22695 done
22696
22697 else
22698
22699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22700 $as_echo_n "checking for _hypotf declaration... " >&6; }
22701 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22702 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22703 $as_echo_n "(cached) " >&6
22704 else
22705
22706
22707 ac_ext=cpp
22708 ac_cpp='$CXXCPP $CPPFLAGS'
22709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22712
22713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22714 /* end confdefs.h. */
22715 #include <math.h>
22716 int
22717 main ()
22718 {
22719 _hypotf(0, 0);
22720 ;
22721 return 0;
22722 }
22723 _ACEOF
22724 if ac_fn_cxx_try_compile "$LINENO"; then :
22725 glibcxx_cv_func__hypotf_use=yes
22726 else
22727 glibcxx_cv_func__hypotf_use=no
22728 fi
22729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22730 ac_ext=c
22731 ac_cpp='$CPP $CPPFLAGS'
22732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22735
22736
22737 fi
22738
22739 fi
22740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22741 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22742
22743 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22744 for ac_func in _hypotf
22745 do :
22746 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22747 if test "x$ac_cv_func__hypotf" = x""yes; then :
22748 cat >>confdefs.h <<_ACEOF
22749 #define HAVE__HYPOTF 1
22750 _ACEOF
22751
22752 fi
22753 done
22754
22755 fi
22756 fi
22757
22758
22759
22760
22761
22762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22763 $as_echo_n "checking for ldexpf declaration... " >&6; }
22764 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22765 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22766 $as_echo_n "(cached) " >&6
22767 else
22768
22769
22770 ac_ext=cpp
22771 ac_cpp='$CXXCPP $CPPFLAGS'
22772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22775
22776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22777 /* end confdefs.h. */
22778 #include <math.h>
22779 int
22780 main ()
22781 {
22782 ldexpf(0, 0);
22783 ;
22784 return 0;
22785 }
22786 _ACEOF
22787 if ac_fn_cxx_try_compile "$LINENO"; then :
22788 glibcxx_cv_func_ldexpf_use=yes
22789 else
22790 glibcxx_cv_func_ldexpf_use=no
22791 fi
22792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22793 ac_ext=c
22794 ac_cpp='$CPP $CPPFLAGS'
22795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22798
22799
22800 fi
22801
22802 fi
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22804 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22805
22806 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22807 for ac_func in ldexpf
22808 do :
22809 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22810 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22811 cat >>confdefs.h <<_ACEOF
22812 #define HAVE_LDEXPF 1
22813 _ACEOF
22814
22815 fi
22816 done
22817
22818 else
22819
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22821 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22822 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22823 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22824 $as_echo_n "(cached) " >&6
22825 else
22826
22827
22828 ac_ext=cpp
22829 ac_cpp='$CXXCPP $CPPFLAGS'
22830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22833
22834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22835 /* end confdefs.h. */
22836 #include <math.h>
22837 int
22838 main ()
22839 {
22840 _ldexpf(0, 0);
22841 ;
22842 return 0;
22843 }
22844 _ACEOF
22845 if ac_fn_cxx_try_compile "$LINENO"; then :
22846 glibcxx_cv_func__ldexpf_use=yes
22847 else
22848 glibcxx_cv_func__ldexpf_use=no
22849 fi
22850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22851 ac_ext=c
22852 ac_cpp='$CPP $CPPFLAGS'
22853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22856
22857
22858 fi
22859
22860 fi
22861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22862 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22863
22864 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22865 for ac_func in _ldexpf
22866 do :
22867 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22868 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22869 cat >>confdefs.h <<_ACEOF
22870 #define HAVE__LDEXPF 1
22871 _ACEOF
22872
22873 fi
22874 done
22875
22876 fi
22877 fi
22878
22879
22880
22881
22882
22883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22884 $as_echo_n "checking for logf declaration... " >&6; }
22885 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22886 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22887 $as_echo_n "(cached) " >&6
22888 else
22889
22890
22891 ac_ext=cpp
22892 ac_cpp='$CXXCPP $CPPFLAGS'
22893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22896
22897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22898 /* end confdefs.h. */
22899 #include <math.h>
22900 #ifdef HAVE_IEEEFP_H
22901 #include <ieeefp.h>
22902 #endif
22903
22904 int
22905 main ()
22906 {
22907 logf(0);
22908 ;
22909 return 0;
22910 }
22911 _ACEOF
22912 if ac_fn_cxx_try_compile "$LINENO"; then :
22913 glibcxx_cv_func_logf_use=yes
22914 else
22915 glibcxx_cv_func_logf_use=no
22916 fi
22917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22918 ac_ext=c
22919 ac_cpp='$CPP $CPPFLAGS'
22920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22923
22924
22925 fi
22926
22927 fi
22928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22929 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22930
22931 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22932 for ac_func in logf
22933 do :
22934 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22935 if test "x$ac_cv_func_logf" = x""yes; then :
22936 cat >>confdefs.h <<_ACEOF
22937 #define HAVE_LOGF 1
22938 _ACEOF
22939
22940 fi
22941 done
22942
22943 else
22944
22945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22946 $as_echo_n "checking for _logf declaration... " >&6; }
22947 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22948 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22949 $as_echo_n "(cached) " >&6
22950 else
22951
22952
22953 ac_ext=cpp
22954 ac_cpp='$CXXCPP $CPPFLAGS'
22955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22958
22959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22960 /* end confdefs.h. */
22961 #include <math.h>
22962 #ifdef HAVE_IEEEFP_H
22963 #include <ieeefp.h>
22964 #endif
22965
22966 int
22967 main ()
22968 {
22969 _logf(0);
22970 ;
22971 return 0;
22972 }
22973 _ACEOF
22974 if ac_fn_cxx_try_compile "$LINENO"; then :
22975 glibcxx_cv_func__logf_use=yes
22976 else
22977 glibcxx_cv_func__logf_use=no
22978 fi
22979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22980 ac_ext=c
22981 ac_cpp='$CPP $CPPFLAGS'
22982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22985
22986
22987 fi
22988
22989 fi
22990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22991 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22992
22993 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22994 for ac_func in _logf
22995 do :
22996 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22997 if test "x$ac_cv_func__logf" = x""yes; then :
22998 cat >>confdefs.h <<_ACEOF
22999 #define HAVE__LOGF 1
23000 _ACEOF
23001
23002 fi
23003 done
23004
23005 fi
23006 fi
23007
23008
23009
23010
23011
23012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23013 $as_echo_n "checking for log10f declaration... " >&6; }
23014 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23015 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23016 $as_echo_n "(cached) " >&6
23017 else
23018
23019
23020 ac_ext=cpp
23021 ac_cpp='$CXXCPP $CPPFLAGS'
23022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23025
23026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23027 /* end confdefs.h. */
23028 #include <math.h>
23029 #ifdef HAVE_IEEEFP_H
23030 #include <ieeefp.h>
23031 #endif
23032
23033 int
23034 main ()
23035 {
23036 log10f(0);
23037 ;
23038 return 0;
23039 }
23040 _ACEOF
23041 if ac_fn_cxx_try_compile "$LINENO"; then :
23042 glibcxx_cv_func_log10f_use=yes
23043 else
23044 glibcxx_cv_func_log10f_use=no
23045 fi
23046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23047 ac_ext=c
23048 ac_cpp='$CPP $CPPFLAGS'
23049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23052
23053
23054 fi
23055
23056 fi
23057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23058 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23059
23060 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23061 for ac_func in log10f
23062 do :
23063 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23064 if test "x$ac_cv_func_log10f" = x""yes; then :
23065 cat >>confdefs.h <<_ACEOF
23066 #define HAVE_LOG10F 1
23067 _ACEOF
23068
23069 fi
23070 done
23071
23072 else
23073
23074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23075 $as_echo_n "checking for _log10f declaration... " >&6; }
23076 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23077 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23078 $as_echo_n "(cached) " >&6
23079 else
23080
23081
23082 ac_ext=cpp
23083 ac_cpp='$CXXCPP $CPPFLAGS'
23084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23087
23088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23089 /* end confdefs.h. */
23090 #include <math.h>
23091 #ifdef HAVE_IEEEFP_H
23092 #include <ieeefp.h>
23093 #endif
23094
23095 int
23096 main ()
23097 {
23098 _log10f(0);
23099 ;
23100 return 0;
23101 }
23102 _ACEOF
23103 if ac_fn_cxx_try_compile "$LINENO"; then :
23104 glibcxx_cv_func__log10f_use=yes
23105 else
23106 glibcxx_cv_func__log10f_use=no
23107 fi
23108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23109 ac_ext=c
23110 ac_cpp='$CPP $CPPFLAGS'
23111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23114
23115
23116 fi
23117
23118 fi
23119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23120 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23121
23122 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23123 for ac_func in _log10f
23124 do :
23125 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23126 if test "x$ac_cv_func__log10f" = x""yes; then :
23127 cat >>confdefs.h <<_ACEOF
23128 #define HAVE__LOG10F 1
23129 _ACEOF
23130
23131 fi
23132 done
23133
23134 fi
23135 fi
23136
23137
23138
23139
23140
23141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23142 $as_echo_n "checking for modff declaration... " >&6; }
23143 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23144 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23145 $as_echo_n "(cached) " >&6
23146 else
23147
23148
23149 ac_ext=cpp
23150 ac_cpp='$CXXCPP $CPPFLAGS'
23151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23154
23155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23156 /* end confdefs.h. */
23157 #include <math.h>
23158 int
23159 main ()
23160 {
23161 modff(0, 0);
23162 ;
23163 return 0;
23164 }
23165 _ACEOF
23166 if ac_fn_cxx_try_compile "$LINENO"; then :
23167 glibcxx_cv_func_modff_use=yes
23168 else
23169 glibcxx_cv_func_modff_use=no
23170 fi
23171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23172 ac_ext=c
23173 ac_cpp='$CPP $CPPFLAGS'
23174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23177
23178
23179 fi
23180
23181 fi
23182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23183 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23184
23185 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23186 for ac_func in modff
23187 do :
23188 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23189 if test "x$ac_cv_func_modff" = x""yes; then :
23190 cat >>confdefs.h <<_ACEOF
23191 #define HAVE_MODFF 1
23192 _ACEOF
23193
23194 fi
23195 done
23196
23197 else
23198
23199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23200 $as_echo_n "checking for _modff declaration... " >&6; }
23201 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23202 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23203 $as_echo_n "(cached) " >&6
23204 else
23205
23206
23207 ac_ext=cpp
23208 ac_cpp='$CXXCPP $CPPFLAGS'
23209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23212
23213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23214 /* end confdefs.h. */
23215 #include <math.h>
23216 int
23217 main ()
23218 {
23219 _modff(0, 0);
23220 ;
23221 return 0;
23222 }
23223 _ACEOF
23224 if ac_fn_cxx_try_compile "$LINENO"; then :
23225 glibcxx_cv_func__modff_use=yes
23226 else
23227 glibcxx_cv_func__modff_use=no
23228 fi
23229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23230 ac_ext=c
23231 ac_cpp='$CPP $CPPFLAGS'
23232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23235
23236
23237 fi
23238
23239 fi
23240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23241 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23242
23243 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23244 for ac_func in _modff
23245 do :
23246 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23247 if test "x$ac_cv_func__modff" = x""yes; then :
23248 cat >>confdefs.h <<_ACEOF
23249 #define HAVE__MODFF 1
23250 _ACEOF
23251
23252 fi
23253 done
23254
23255 fi
23256 fi
23257
23258
23259
23260
23261
23262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23263 $as_echo_n "checking for modf declaration... " >&6; }
23264 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23265 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23266 $as_echo_n "(cached) " >&6
23267 else
23268
23269
23270 ac_ext=cpp
23271 ac_cpp='$CXXCPP $CPPFLAGS'
23272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23275
23276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23277 /* end confdefs.h. */
23278 #include <math.h>
23279 int
23280 main ()
23281 {
23282 modf(0, 0);
23283 ;
23284 return 0;
23285 }
23286 _ACEOF
23287 if ac_fn_cxx_try_compile "$LINENO"; then :
23288 glibcxx_cv_func_modf_use=yes
23289 else
23290 glibcxx_cv_func_modf_use=no
23291 fi
23292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23293 ac_ext=c
23294 ac_cpp='$CPP $CPPFLAGS'
23295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23298
23299
23300 fi
23301
23302 fi
23303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23304 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23305
23306 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23307 for ac_func in modf
23308 do :
23309 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23310 if test "x$ac_cv_func_modf" = x""yes; then :
23311 cat >>confdefs.h <<_ACEOF
23312 #define HAVE_MODF 1
23313 _ACEOF
23314
23315 fi
23316 done
23317
23318 else
23319
23320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23321 $as_echo_n "checking for _modf declaration... " >&6; }
23322 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23323 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23324 $as_echo_n "(cached) " >&6
23325 else
23326
23327
23328 ac_ext=cpp
23329 ac_cpp='$CXXCPP $CPPFLAGS'
23330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23333
23334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23335 /* end confdefs.h. */
23336 #include <math.h>
23337 int
23338 main ()
23339 {
23340 _modf(0, 0);
23341 ;
23342 return 0;
23343 }
23344 _ACEOF
23345 if ac_fn_cxx_try_compile "$LINENO"; then :
23346 glibcxx_cv_func__modf_use=yes
23347 else
23348 glibcxx_cv_func__modf_use=no
23349 fi
23350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23351 ac_ext=c
23352 ac_cpp='$CPP $CPPFLAGS'
23353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23356
23357
23358 fi
23359
23360 fi
23361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23362 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23363
23364 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23365 for ac_func in _modf
23366 do :
23367 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23368 if test "x$ac_cv_func__modf" = x""yes; then :
23369 cat >>confdefs.h <<_ACEOF
23370 #define HAVE__MODF 1
23371 _ACEOF
23372
23373 fi
23374 done
23375
23376 fi
23377 fi
23378
23379
23380
23381
23382
23383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23384 $as_echo_n "checking for powf declaration... " >&6; }
23385 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23386 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23387 $as_echo_n "(cached) " >&6
23388 else
23389
23390
23391 ac_ext=cpp
23392 ac_cpp='$CXXCPP $CPPFLAGS'
23393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23396
23397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23398 /* end confdefs.h. */
23399 #include <math.h>
23400 int
23401 main ()
23402 {
23403 powf(0, 0);
23404 ;
23405 return 0;
23406 }
23407 _ACEOF
23408 if ac_fn_cxx_try_compile "$LINENO"; then :
23409 glibcxx_cv_func_powf_use=yes
23410 else
23411 glibcxx_cv_func_powf_use=no
23412 fi
23413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23414 ac_ext=c
23415 ac_cpp='$CPP $CPPFLAGS'
23416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23419
23420
23421 fi
23422
23423 fi
23424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23425 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23426
23427 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23428 for ac_func in powf
23429 do :
23430 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23431 if test "x$ac_cv_func_powf" = x""yes; then :
23432 cat >>confdefs.h <<_ACEOF
23433 #define HAVE_POWF 1
23434 _ACEOF
23435
23436 fi
23437 done
23438
23439 else
23440
23441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23442 $as_echo_n "checking for _powf declaration... " >&6; }
23443 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23444 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23445 $as_echo_n "(cached) " >&6
23446 else
23447
23448
23449 ac_ext=cpp
23450 ac_cpp='$CXXCPP $CPPFLAGS'
23451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23454
23455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23456 /* end confdefs.h. */
23457 #include <math.h>
23458 int
23459 main ()
23460 {
23461 _powf(0, 0);
23462 ;
23463 return 0;
23464 }
23465 _ACEOF
23466 if ac_fn_cxx_try_compile "$LINENO"; then :
23467 glibcxx_cv_func__powf_use=yes
23468 else
23469 glibcxx_cv_func__powf_use=no
23470 fi
23471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23472 ac_ext=c
23473 ac_cpp='$CPP $CPPFLAGS'
23474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23477
23478
23479 fi
23480
23481 fi
23482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23483 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23484
23485 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23486 for ac_func in _powf
23487 do :
23488 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23489 if test "x$ac_cv_func__powf" = x""yes; then :
23490 cat >>confdefs.h <<_ACEOF
23491 #define HAVE__POWF 1
23492 _ACEOF
23493
23494 fi
23495 done
23496
23497 fi
23498 fi
23499
23500
23501
23502
23503
23504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23505 $as_echo_n "checking for sqrtf declaration... " >&6; }
23506 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23507 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23508 $as_echo_n "(cached) " >&6
23509 else
23510
23511
23512 ac_ext=cpp
23513 ac_cpp='$CXXCPP $CPPFLAGS'
23514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23517
23518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23519 /* end confdefs.h. */
23520 #include <math.h>
23521 #ifdef HAVE_IEEEFP_H
23522 #include <ieeefp.h>
23523 #endif
23524
23525 int
23526 main ()
23527 {
23528 sqrtf(0);
23529 ;
23530 return 0;
23531 }
23532 _ACEOF
23533 if ac_fn_cxx_try_compile "$LINENO"; then :
23534 glibcxx_cv_func_sqrtf_use=yes
23535 else
23536 glibcxx_cv_func_sqrtf_use=no
23537 fi
23538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23539 ac_ext=c
23540 ac_cpp='$CPP $CPPFLAGS'
23541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23544
23545
23546 fi
23547
23548 fi
23549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23550 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23551
23552 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23553 for ac_func in sqrtf
23554 do :
23555 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23556 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23557 cat >>confdefs.h <<_ACEOF
23558 #define HAVE_SQRTF 1
23559 _ACEOF
23560
23561 fi
23562 done
23563
23564 else
23565
23566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23567 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23568 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23569 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23570 $as_echo_n "(cached) " >&6
23571 else
23572
23573
23574 ac_ext=cpp
23575 ac_cpp='$CXXCPP $CPPFLAGS'
23576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23579
23580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23581 /* end confdefs.h. */
23582 #include <math.h>
23583 #ifdef HAVE_IEEEFP_H
23584 #include <ieeefp.h>
23585 #endif
23586
23587 int
23588 main ()
23589 {
23590 _sqrtf(0);
23591 ;
23592 return 0;
23593 }
23594 _ACEOF
23595 if ac_fn_cxx_try_compile "$LINENO"; then :
23596 glibcxx_cv_func__sqrtf_use=yes
23597 else
23598 glibcxx_cv_func__sqrtf_use=no
23599 fi
23600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23601 ac_ext=c
23602 ac_cpp='$CPP $CPPFLAGS'
23603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23606
23607
23608 fi
23609
23610 fi
23611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23612 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23613
23614 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23615 for ac_func in _sqrtf
23616 do :
23617 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23618 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23619 cat >>confdefs.h <<_ACEOF
23620 #define HAVE__SQRTF 1
23621 _ACEOF
23622
23623 fi
23624 done
23625
23626 fi
23627 fi
23628
23629
23630
23631
23632
23633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23634 $as_echo_n "checking for sincosf declaration... " >&6; }
23635 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23636 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23637 $as_echo_n "(cached) " >&6
23638 else
23639
23640
23641 ac_ext=cpp
23642 ac_cpp='$CXXCPP $CPPFLAGS'
23643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23646
23647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23648 /* end confdefs.h. */
23649 #include <math.h>
23650 int
23651 main ()
23652 {
23653 sincosf(0, 0, 0);
23654 ;
23655 return 0;
23656 }
23657 _ACEOF
23658 if ac_fn_cxx_try_compile "$LINENO"; then :
23659 glibcxx_cv_func_sincosf_use=yes
23660 else
23661 glibcxx_cv_func_sincosf_use=no
23662 fi
23663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23664 ac_ext=c
23665 ac_cpp='$CPP $CPPFLAGS'
23666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23669
23670
23671 fi
23672
23673 fi
23674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23675 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23676
23677 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23678 for ac_func in sincosf
23679 do :
23680 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23681 if test "x$ac_cv_func_sincosf" = x""yes; then :
23682 cat >>confdefs.h <<_ACEOF
23683 #define HAVE_SINCOSF 1
23684 _ACEOF
23685
23686 fi
23687 done
23688
23689 else
23690
23691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23692 $as_echo_n "checking for _sincosf declaration... " >&6; }
23693 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23694 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23695 $as_echo_n "(cached) " >&6
23696 else
23697
23698
23699 ac_ext=cpp
23700 ac_cpp='$CXXCPP $CPPFLAGS'
23701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23704
23705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23706 /* end confdefs.h. */
23707 #include <math.h>
23708 int
23709 main ()
23710 {
23711 _sincosf(0, 0, 0);
23712 ;
23713 return 0;
23714 }
23715 _ACEOF
23716 if ac_fn_cxx_try_compile "$LINENO"; then :
23717 glibcxx_cv_func__sincosf_use=yes
23718 else
23719 glibcxx_cv_func__sincosf_use=no
23720 fi
23721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23722 ac_ext=c
23723 ac_cpp='$CPP $CPPFLAGS'
23724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23727
23728
23729 fi
23730
23731 fi
23732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23733 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23734
23735 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23736 for ac_func in _sincosf
23737 do :
23738 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23739 if test "x$ac_cv_func__sincosf" = x""yes; then :
23740 cat >>confdefs.h <<_ACEOF
23741 #define HAVE__SINCOSF 1
23742 _ACEOF
23743
23744 fi
23745 done
23746
23747 fi
23748 fi
23749
23750
23751
23752
23753
23754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23755 $as_echo_n "checking for finitef declaration... " >&6; }
23756 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23757 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23758 $as_echo_n "(cached) " >&6
23759 else
23760
23761
23762 ac_ext=cpp
23763 ac_cpp='$CXXCPP $CPPFLAGS'
23764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23767
23768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23769 /* end confdefs.h. */
23770 #include <math.h>
23771 #ifdef HAVE_IEEEFP_H
23772 #include <ieeefp.h>
23773 #endif
23774
23775 int
23776 main ()
23777 {
23778 finitef(0);
23779 ;
23780 return 0;
23781 }
23782 _ACEOF
23783 if ac_fn_cxx_try_compile "$LINENO"; then :
23784 glibcxx_cv_func_finitef_use=yes
23785 else
23786 glibcxx_cv_func_finitef_use=no
23787 fi
23788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23789 ac_ext=c
23790 ac_cpp='$CPP $CPPFLAGS'
23791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23794
23795
23796 fi
23797
23798 fi
23799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23800 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23801
23802 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23803 for ac_func in finitef
23804 do :
23805 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23806 if test "x$ac_cv_func_finitef" = x""yes; then :
23807 cat >>confdefs.h <<_ACEOF
23808 #define HAVE_FINITEF 1
23809 _ACEOF
23810
23811 fi
23812 done
23813
23814 else
23815
23816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23817 $as_echo_n "checking for _finitef declaration... " >&6; }
23818 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23819 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23820 $as_echo_n "(cached) " >&6
23821 else
23822
23823
23824 ac_ext=cpp
23825 ac_cpp='$CXXCPP $CPPFLAGS'
23826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23829
23830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23831 /* end confdefs.h. */
23832 #include <math.h>
23833 #ifdef HAVE_IEEEFP_H
23834 #include <ieeefp.h>
23835 #endif
23836
23837 int
23838 main ()
23839 {
23840 _finitef(0);
23841 ;
23842 return 0;
23843 }
23844 _ACEOF
23845 if ac_fn_cxx_try_compile "$LINENO"; then :
23846 glibcxx_cv_func__finitef_use=yes
23847 else
23848 glibcxx_cv_func__finitef_use=no
23849 fi
23850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23851 ac_ext=c
23852 ac_cpp='$CPP $CPPFLAGS'
23853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23856
23857
23858 fi
23859
23860 fi
23861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23862 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23863
23864 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23865 for ac_func in _finitef
23866 do :
23867 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23868 if test "x$ac_cv_func__finitef" = x""yes; then :
23869 cat >>confdefs.h <<_ACEOF
23870 #define HAVE__FINITEF 1
23871 _ACEOF
23872
23873 fi
23874 done
23875
23876 fi
23877 fi
23878
23879
23880
23881
23882
23883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23884 $as_echo_n "checking for long double trig functions... " >&6; }
23885 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23886 $as_echo_n "(cached) " >&6
23887 else
23888
23889
23890 ac_ext=cpp
23891 ac_cpp='$CXXCPP $CPPFLAGS'
23892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23895
23896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23897 /* end confdefs.h. */
23898 #include <math.h>
23899 int
23900 main ()
23901 {
23902 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23903 ;
23904 return 0;
23905 }
23906 _ACEOF
23907 if ac_fn_cxx_try_compile "$LINENO"; then :
23908 glibcxx_cv_func_long_double_trig_use=yes
23909 else
23910 glibcxx_cv_func_long_double_trig_use=no
23911 fi
23912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23913 ac_ext=c
23914 ac_cpp='$CPP $CPPFLAGS'
23915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23918
23919 fi
23920
23921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23922 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23923 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23924 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23925 do :
23926 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23927 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23928 eval as_val=\$$as_ac_var
23929 if test "x$as_val" = x""yes; then :
23930 cat >>confdefs.h <<_ACEOF
23931 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23932 _ACEOF
23933
23934 fi
23935 done
23936
23937 else
23938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23939 $as_echo_n "checking for _long double trig functions... " >&6; }
23940 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23941 $as_echo_n "(cached) " >&6
23942 else
23943
23944
23945 ac_ext=cpp
23946 ac_cpp='$CXXCPP $CPPFLAGS'
23947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23950
23951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23952 /* end confdefs.h. */
23953 #include <math.h>
23954 int
23955 main ()
23956 {
23957 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23958 ;
23959 return 0;
23960 }
23961 _ACEOF
23962 if ac_fn_cxx_try_compile "$LINENO"; then :
23963 glibcxx_cv_func__long_double_trig_use=yes
23964 else
23965 glibcxx_cv_func__long_double_trig_use=no
23966 fi
23967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23968 ac_ext=c
23969 ac_cpp='$CPP $CPPFLAGS'
23970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23973
23974 fi
23975
23976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23977 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23978 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23979 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23980 do :
23981 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23982 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23983 eval as_val=\$$as_ac_var
23984 if test "x$as_val" = x""yes; then :
23985 cat >>confdefs.h <<_ACEOF
23986 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23987 _ACEOF
23988
23989 fi
23990 done
23991
23992 fi
23993 fi
23994
23995
23996
23997
23998
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24000 $as_echo_n "checking for long double round functions... " >&6; }
24001 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24002 $as_echo_n "(cached) " >&6
24003 else
24004
24005
24006 ac_ext=cpp
24007 ac_cpp='$CXXCPP $CPPFLAGS'
24008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24011
24012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24013 /* end confdefs.h. */
24014 #include <math.h>
24015 int
24016 main ()
24017 {
24018 ceill (0); floorl (0);
24019 ;
24020 return 0;
24021 }
24022 _ACEOF
24023 if ac_fn_cxx_try_compile "$LINENO"; then :
24024 glibcxx_cv_func_long_double_round_use=yes
24025 else
24026 glibcxx_cv_func_long_double_round_use=no
24027 fi
24028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24029 ac_ext=c
24030 ac_cpp='$CPP $CPPFLAGS'
24031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24034
24035 fi
24036
24037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24038 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24039 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24040 for ac_func in ceill floorl
24041 do :
24042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24043 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24044 eval as_val=\$$as_ac_var
24045 if test "x$as_val" = x""yes; then :
24046 cat >>confdefs.h <<_ACEOF
24047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24048 _ACEOF
24049
24050 fi
24051 done
24052
24053 else
24054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24055 $as_echo_n "checking for _long double round functions... " >&6; }
24056 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24057 $as_echo_n "(cached) " >&6
24058 else
24059
24060
24061 ac_ext=cpp
24062 ac_cpp='$CXXCPP $CPPFLAGS'
24063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24066
24067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24068 /* end confdefs.h. */
24069 #include <math.h>
24070 int
24071 main ()
24072 {
24073 _ceill (0); _floorl (0);
24074 ;
24075 return 0;
24076 }
24077 _ACEOF
24078 if ac_fn_cxx_try_compile "$LINENO"; then :
24079 glibcxx_cv_func__long_double_round_use=yes
24080 else
24081 glibcxx_cv_func__long_double_round_use=no
24082 fi
24083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24084 ac_ext=c
24085 ac_cpp='$CPP $CPPFLAGS'
24086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24089
24090 fi
24091
24092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24093 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24094 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24095 for ac_func in _ceill _floorl
24096 do :
24097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24099 eval as_val=\$$as_ac_var
24100 if test "x$as_val" = x""yes; then :
24101 cat >>confdefs.h <<_ACEOF
24102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24103 _ACEOF
24104
24105 fi
24106 done
24107
24108 fi
24109 fi
24110
24111
24112
24113
24114
24115
24116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24117 $as_echo_n "checking for isnanl declaration... " >&6; }
24118 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24119 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24120 $as_echo_n "(cached) " >&6
24121 else
24122
24123
24124 ac_ext=cpp
24125 ac_cpp='$CXXCPP $CPPFLAGS'
24126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24129
24130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24131 /* end confdefs.h. */
24132 #include <math.h>
24133 #ifdef HAVE_IEEEFP_H
24134 #include <ieeefp.h>
24135 #endif
24136
24137 int
24138 main ()
24139 {
24140 isnanl(0);
24141 ;
24142 return 0;
24143 }
24144 _ACEOF
24145 if ac_fn_cxx_try_compile "$LINENO"; then :
24146 glibcxx_cv_func_isnanl_use=yes
24147 else
24148 glibcxx_cv_func_isnanl_use=no
24149 fi
24150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24151 ac_ext=c
24152 ac_cpp='$CPP $CPPFLAGS'
24153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24156
24157
24158 fi
24159
24160 fi
24161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24162 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24163
24164 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24165 for ac_func in isnanl
24166 do :
24167 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24168 if test "x$ac_cv_func_isnanl" = x""yes; then :
24169 cat >>confdefs.h <<_ACEOF
24170 #define HAVE_ISNANL 1
24171 _ACEOF
24172
24173 fi
24174 done
24175
24176 else
24177
24178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24179 $as_echo_n "checking for _isnanl declaration... " >&6; }
24180 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24181 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24182 $as_echo_n "(cached) " >&6
24183 else
24184
24185
24186 ac_ext=cpp
24187 ac_cpp='$CXXCPP $CPPFLAGS'
24188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24191
24192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24193 /* end confdefs.h. */
24194 #include <math.h>
24195 #ifdef HAVE_IEEEFP_H
24196 #include <ieeefp.h>
24197 #endif
24198
24199 int
24200 main ()
24201 {
24202 _isnanl(0);
24203 ;
24204 return 0;
24205 }
24206 _ACEOF
24207 if ac_fn_cxx_try_compile "$LINENO"; then :
24208 glibcxx_cv_func__isnanl_use=yes
24209 else
24210 glibcxx_cv_func__isnanl_use=no
24211 fi
24212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24213 ac_ext=c
24214 ac_cpp='$CPP $CPPFLAGS'
24215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24218
24219
24220 fi
24221
24222 fi
24223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24224 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24225
24226 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24227 for ac_func in _isnanl
24228 do :
24229 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24230 if test "x$ac_cv_func__isnanl" = x""yes; then :
24231 cat >>confdefs.h <<_ACEOF
24232 #define HAVE__ISNANL 1
24233 _ACEOF
24234
24235 fi
24236 done
24237
24238 fi
24239 fi
24240
24241
24242
24243
24244
24245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24246 $as_echo_n "checking for isinfl declaration... " >&6; }
24247 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24248 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24249 $as_echo_n "(cached) " >&6
24250 else
24251
24252
24253 ac_ext=cpp
24254 ac_cpp='$CXXCPP $CPPFLAGS'
24255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24258
24259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24260 /* end confdefs.h. */
24261 #include <math.h>
24262 #ifdef HAVE_IEEEFP_H
24263 #include <ieeefp.h>
24264 #endif
24265
24266 int
24267 main ()
24268 {
24269 isinfl(0);
24270 ;
24271 return 0;
24272 }
24273 _ACEOF
24274 if ac_fn_cxx_try_compile "$LINENO"; then :
24275 glibcxx_cv_func_isinfl_use=yes
24276 else
24277 glibcxx_cv_func_isinfl_use=no
24278 fi
24279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24280 ac_ext=c
24281 ac_cpp='$CPP $CPPFLAGS'
24282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24285
24286
24287 fi
24288
24289 fi
24290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24291 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24292
24293 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24294 for ac_func in isinfl
24295 do :
24296 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24297 if test "x$ac_cv_func_isinfl" = x""yes; then :
24298 cat >>confdefs.h <<_ACEOF
24299 #define HAVE_ISINFL 1
24300 _ACEOF
24301
24302 fi
24303 done
24304
24305 else
24306
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24308 $as_echo_n "checking for _isinfl declaration... " >&6; }
24309 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24310 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24311 $as_echo_n "(cached) " >&6
24312 else
24313
24314
24315 ac_ext=cpp
24316 ac_cpp='$CXXCPP $CPPFLAGS'
24317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24320
24321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24322 /* end confdefs.h. */
24323 #include <math.h>
24324 #ifdef HAVE_IEEEFP_H
24325 #include <ieeefp.h>
24326 #endif
24327
24328 int
24329 main ()
24330 {
24331 _isinfl(0);
24332 ;
24333 return 0;
24334 }
24335 _ACEOF
24336 if ac_fn_cxx_try_compile "$LINENO"; then :
24337 glibcxx_cv_func__isinfl_use=yes
24338 else
24339 glibcxx_cv_func__isinfl_use=no
24340 fi
24341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24342 ac_ext=c
24343 ac_cpp='$CPP $CPPFLAGS'
24344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24347
24348
24349 fi
24350
24351 fi
24352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24353 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24354
24355 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24356 for ac_func in _isinfl
24357 do :
24358 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24359 if test "x$ac_cv_func__isinfl" = x""yes; then :
24360 cat >>confdefs.h <<_ACEOF
24361 #define HAVE__ISINFL 1
24362 _ACEOF
24363
24364 fi
24365 done
24366
24367 fi
24368 fi
24369
24370
24371
24372
24373
24374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24375 $as_echo_n "checking for atan2l declaration... " >&6; }
24376 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24377 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24378 $as_echo_n "(cached) " >&6
24379 else
24380
24381
24382 ac_ext=cpp
24383 ac_cpp='$CXXCPP $CPPFLAGS'
24384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24387
24388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24389 /* end confdefs.h. */
24390 #include <math.h>
24391 int
24392 main ()
24393 {
24394 atan2l(0, 0);
24395 ;
24396 return 0;
24397 }
24398 _ACEOF
24399 if ac_fn_cxx_try_compile "$LINENO"; then :
24400 glibcxx_cv_func_atan2l_use=yes
24401 else
24402 glibcxx_cv_func_atan2l_use=no
24403 fi
24404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24405 ac_ext=c
24406 ac_cpp='$CPP $CPPFLAGS'
24407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24410
24411
24412 fi
24413
24414 fi
24415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24416 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24417
24418 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24419 for ac_func in atan2l
24420 do :
24421 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24422 if test "x$ac_cv_func_atan2l" = x""yes; then :
24423 cat >>confdefs.h <<_ACEOF
24424 #define HAVE_ATAN2L 1
24425 _ACEOF
24426
24427 fi
24428 done
24429
24430 else
24431
24432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24433 $as_echo_n "checking for _atan2l declaration... " >&6; }
24434 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24435 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24436 $as_echo_n "(cached) " >&6
24437 else
24438
24439
24440 ac_ext=cpp
24441 ac_cpp='$CXXCPP $CPPFLAGS'
24442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24445
24446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24447 /* end confdefs.h. */
24448 #include <math.h>
24449 int
24450 main ()
24451 {
24452 _atan2l(0, 0);
24453 ;
24454 return 0;
24455 }
24456 _ACEOF
24457 if ac_fn_cxx_try_compile "$LINENO"; then :
24458 glibcxx_cv_func__atan2l_use=yes
24459 else
24460 glibcxx_cv_func__atan2l_use=no
24461 fi
24462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24463 ac_ext=c
24464 ac_cpp='$CPP $CPPFLAGS'
24465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24468
24469
24470 fi
24471
24472 fi
24473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24474 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24475
24476 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24477 for ac_func in _atan2l
24478 do :
24479 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24480 if test "x$ac_cv_func__atan2l" = x""yes; then :
24481 cat >>confdefs.h <<_ACEOF
24482 #define HAVE__ATAN2L 1
24483 _ACEOF
24484
24485 fi
24486 done
24487
24488 fi
24489 fi
24490
24491
24492
24493
24494
24495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24496 $as_echo_n "checking for expl declaration... " >&6; }
24497 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24498 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24499 $as_echo_n "(cached) " >&6
24500 else
24501
24502
24503 ac_ext=cpp
24504 ac_cpp='$CXXCPP $CPPFLAGS'
24505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24508
24509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24510 /* end confdefs.h. */
24511 #include <math.h>
24512 #ifdef HAVE_IEEEFP_H
24513 #include <ieeefp.h>
24514 #endif
24515
24516 int
24517 main ()
24518 {
24519 expl(0);
24520 ;
24521 return 0;
24522 }
24523 _ACEOF
24524 if ac_fn_cxx_try_compile "$LINENO"; then :
24525 glibcxx_cv_func_expl_use=yes
24526 else
24527 glibcxx_cv_func_expl_use=no
24528 fi
24529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24530 ac_ext=c
24531 ac_cpp='$CPP $CPPFLAGS'
24532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24535
24536
24537 fi
24538
24539 fi
24540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24541 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24542
24543 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24544 for ac_func in expl
24545 do :
24546 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24547 if test "x$ac_cv_func_expl" = x""yes; then :
24548 cat >>confdefs.h <<_ACEOF
24549 #define HAVE_EXPL 1
24550 _ACEOF
24551
24552 fi
24553 done
24554
24555 else
24556
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24558 $as_echo_n "checking for _expl declaration... " >&6; }
24559 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24560 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24561 $as_echo_n "(cached) " >&6
24562 else
24563
24564
24565 ac_ext=cpp
24566 ac_cpp='$CXXCPP $CPPFLAGS'
24567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24570
24571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24572 /* end confdefs.h. */
24573 #include <math.h>
24574 #ifdef HAVE_IEEEFP_H
24575 #include <ieeefp.h>
24576 #endif
24577
24578 int
24579 main ()
24580 {
24581 _expl(0);
24582 ;
24583 return 0;
24584 }
24585 _ACEOF
24586 if ac_fn_cxx_try_compile "$LINENO"; then :
24587 glibcxx_cv_func__expl_use=yes
24588 else
24589 glibcxx_cv_func__expl_use=no
24590 fi
24591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24592 ac_ext=c
24593 ac_cpp='$CPP $CPPFLAGS'
24594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24597
24598
24599 fi
24600
24601 fi
24602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24603 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24604
24605 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24606 for ac_func in _expl
24607 do :
24608 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24609 if test "x$ac_cv_func__expl" = x""yes; then :
24610 cat >>confdefs.h <<_ACEOF
24611 #define HAVE__EXPL 1
24612 _ACEOF
24613
24614 fi
24615 done
24616
24617 fi
24618 fi
24619
24620
24621
24622
24623
24624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24625 $as_echo_n "checking for fabsl declaration... " >&6; }
24626 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24627 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24628 $as_echo_n "(cached) " >&6
24629 else
24630
24631
24632 ac_ext=cpp
24633 ac_cpp='$CXXCPP $CPPFLAGS'
24634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24637
24638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24639 /* end confdefs.h. */
24640 #include <math.h>
24641 #ifdef HAVE_IEEEFP_H
24642 #include <ieeefp.h>
24643 #endif
24644
24645 int
24646 main ()
24647 {
24648 fabsl(0);
24649 ;
24650 return 0;
24651 }
24652 _ACEOF
24653 if ac_fn_cxx_try_compile "$LINENO"; then :
24654 glibcxx_cv_func_fabsl_use=yes
24655 else
24656 glibcxx_cv_func_fabsl_use=no
24657 fi
24658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24659 ac_ext=c
24660 ac_cpp='$CPP $CPPFLAGS'
24661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24664
24665
24666 fi
24667
24668 fi
24669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24670 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24671
24672 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24673 for ac_func in fabsl
24674 do :
24675 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24676 if test "x$ac_cv_func_fabsl" = x""yes; then :
24677 cat >>confdefs.h <<_ACEOF
24678 #define HAVE_FABSL 1
24679 _ACEOF
24680
24681 fi
24682 done
24683
24684 else
24685
24686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24687 $as_echo_n "checking for _fabsl declaration... " >&6; }
24688 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24689 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24690 $as_echo_n "(cached) " >&6
24691 else
24692
24693
24694 ac_ext=cpp
24695 ac_cpp='$CXXCPP $CPPFLAGS'
24696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24699
24700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24701 /* end confdefs.h. */
24702 #include <math.h>
24703 #ifdef HAVE_IEEEFP_H
24704 #include <ieeefp.h>
24705 #endif
24706
24707 int
24708 main ()
24709 {
24710 _fabsl(0);
24711 ;
24712 return 0;
24713 }
24714 _ACEOF
24715 if ac_fn_cxx_try_compile "$LINENO"; then :
24716 glibcxx_cv_func__fabsl_use=yes
24717 else
24718 glibcxx_cv_func__fabsl_use=no
24719 fi
24720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24721 ac_ext=c
24722 ac_cpp='$CPP $CPPFLAGS'
24723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24726
24727
24728 fi
24729
24730 fi
24731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24732 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24733
24734 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24735 for ac_func in _fabsl
24736 do :
24737 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24738 if test "x$ac_cv_func__fabsl" = x""yes; then :
24739 cat >>confdefs.h <<_ACEOF
24740 #define HAVE__FABSL 1
24741 _ACEOF
24742
24743 fi
24744 done
24745
24746 fi
24747 fi
24748
24749
24750
24751
24752
24753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24754 $as_echo_n "checking for fmodl declaration... " >&6; }
24755 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24756 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24757 $as_echo_n "(cached) " >&6
24758 else
24759
24760
24761 ac_ext=cpp
24762 ac_cpp='$CXXCPP $CPPFLAGS'
24763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24766
24767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24768 /* end confdefs.h. */
24769 #include <math.h>
24770 int
24771 main ()
24772 {
24773 fmodl(0, 0);
24774 ;
24775 return 0;
24776 }
24777 _ACEOF
24778 if ac_fn_cxx_try_compile "$LINENO"; then :
24779 glibcxx_cv_func_fmodl_use=yes
24780 else
24781 glibcxx_cv_func_fmodl_use=no
24782 fi
24783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24784 ac_ext=c
24785 ac_cpp='$CPP $CPPFLAGS'
24786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24789
24790
24791 fi
24792
24793 fi
24794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24795 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24796
24797 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24798 for ac_func in fmodl
24799 do :
24800 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24801 if test "x$ac_cv_func_fmodl" = x""yes; then :
24802 cat >>confdefs.h <<_ACEOF
24803 #define HAVE_FMODL 1
24804 _ACEOF
24805
24806 fi
24807 done
24808
24809 else
24810
24811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24812 $as_echo_n "checking for _fmodl declaration... " >&6; }
24813 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24814 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24815 $as_echo_n "(cached) " >&6
24816 else
24817
24818
24819 ac_ext=cpp
24820 ac_cpp='$CXXCPP $CPPFLAGS'
24821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24824
24825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24826 /* end confdefs.h. */
24827 #include <math.h>
24828 int
24829 main ()
24830 {
24831 _fmodl(0, 0);
24832 ;
24833 return 0;
24834 }
24835 _ACEOF
24836 if ac_fn_cxx_try_compile "$LINENO"; then :
24837 glibcxx_cv_func__fmodl_use=yes
24838 else
24839 glibcxx_cv_func__fmodl_use=no
24840 fi
24841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24842 ac_ext=c
24843 ac_cpp='$CPP $CPPFLAGS'
24844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24847
24848
24849 fi
24850
24851 fi
24852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24853 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24854
24855 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24856 for ac_func in _fmodl
24857 do :
24858 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24859 if test "x$ac_cv_func__fmodl" = x""yes; then :
24860 cat >>confdefs.h <<_ACEOF
24861 #define HAVE__FMODL 1
24862 _ACEOF
24863
24864 fi
24865 done
24866
24867 fi
24868 fi
24869
24870
24871
24872
24873
24874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24875 $as_echo_n "checking for frexpl declaration... " >&6; }
24876 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24877 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24878 $as_echo_n "(cached) " >&6
24879 else
24880
24881
24882 ac_ext=cpp
24883 ac_cpp='$CXXCPP $CPPFLAGS'
24884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24887
24888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24889 /* end confdefs.h. */
24890 #include <math.h>
24891 int
24892 main ()
24893 {
24894 frexpl(0, 0);
24895 ;
24896 return 0;
24897 }
24898 _ACEOF
24899 if ac_fn_cxx_try_compile "$LINENO"; then :
24900 glibcxx_cv_func_frexpl_use=yes
24901 else
24902 glibcxx_cv_func_frexpl_use=no
24903 fi
24904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24905 ac_ext=c
24906 ac_cpp='$CPP $CPPFLAGS'
24907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24910
24911
24912 fi
24913
24914 fi
24915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24916 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24917
24918 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24919 for ac_func in frexpl
24920 do :
24921 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24922 if test "x$ac_cv_func_frexpl" = x""yes; then :
24923 cat >>confdefs.h <<_ACEOF
24924 #define HAVE_FREXPL 1
24925 _ACEOF
24926
24927 fi
24928 done
24929
24930 else
24931
24932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24933 $as_echo_n "checking for _frexpl declaration... " >&6; }
24934 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24935 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24936 $as_echo_n "(cached) " >&6
24937 else
24938
24939
24940 ac_ext=cpp
24941 ac_cpp='$CXXCPP $CPPFLAGS'
24942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24945
24946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24947 /* end confdefs.h. */
24948 #include <math.h>
24949 int
24950 main ()
24951 {
24952 _frexpl(0, 0);
24953 ;
24954 return 0;
24955 }
24956 _ACEOF
24957 if ac_fn_cxx_try_compile "$LINENO"; then :
24958 glibcxx_cv_func__frexpl_use=yes
24959 else
24960 glibcxx_cv_func__frexpl_use=no
24961 fi
24962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24963 ac_ext=c
24964 ac_cpp='$CPP $CPPFLAGS'
24965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24968
24969
24970 fi
24971
24972 fi
24973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24974 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24975
24976 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24977 for ac_func in _frexpl
24978 do :
24979 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24980 if test "x$ac_cv_func__frexpl" = x""yes; then :
24981 cat >>confdefs.h <<_ACEOF
24982 #define HAVE__FREXPL 1
24983 _ACEOF
24984
24985 fi
24986 done
24987
24988 fi
24989 fi
24990
24991
24992
24993
24994
24995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24996 $as_echo_n "checking for hypotl declaration... " >&6; }
24997 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24998 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24999 $as_echo_n "(cached) " >&6
25000 else
25001
25002
25003 ac_ext=cpp
25004 ac_cpp='$CXXCPP $CPPFLAGS'
25005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25008
25009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25010 /* end confdefs.h. */
25011 #include <math.h>
25012 int
25013 main ()
25014 {
25015 hypotl(0, 0);
25016 ;
25017 return 0;
25018 }
25019 _ACEOF
25020 if ac_fn_cxx_try_compile "$LINENO"; then :
25021 glibcxx_cv_func_hypotl_use=yes
25022 else
25023 glibcxx_cv_func_hypotl_use=no
25024 fi
25025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25026 ac_ext=c
25027 ac_cpp='$CPP $CPPFLAGS'
25028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25031
25032
25033 fi
25034
25035 fi
25036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25037 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25038
25039 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25040 for ac_func in hypotl
25041 do :
25042 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25043 if test "x$ac_cv_func_hypotl" = x""yes; then :
25044 cat >>confdefs.h <<_ACEOF
25045 #define HAVE_HYPOTL 1
25046 _ACEOF
25047
25048 fi
25049 done
25050
25051 else
25052
25053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25054 $as_echo_n "checking for _hypotl declaration... " >&6; }
25055 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25056 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25057 $as_echo_n "(cached) " >&6
25058 else
25059
25060
25061 ac_ext=cpp
25062 ac_cpp='$CXXCPP $CPPFLAGS'
25063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25066
25067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25068 /* end confdefs.h. */
25069 #include <math.h>
25070 int
25071 main ()
25072 {
25073 _hypotl(0, 0);
25074 ;
25075 return 0;
25076 }
25077 _ACEOF
25078 if ac_fn_cxx_try_compile "$LINENO"; then :
25079 glibcxx_cv_func__hypotl_use=yes
25080 else
25081 glibcxx_cv_func__hypotl_use=no
25082 fi
25083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25084 ac_ext=c
25085 ac_cpp='$CPP $CPPFLAGS'
25086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25089
25090
25091 fi
25092
25093 fi
25094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25095 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25096
25097 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25098 for ac_func in _hypotl
25099 do :
25100 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25101 if test "x$ac_cv_func__hypotl" = x""yes; then :
25102 cat >>confdefs.h <<_ACEOF
25103 #define HAVE__HYPOTL 1
25104 _ACEOF
25105
25106 fi
25107 done
25108
25109 fi
25110 fi
25111
25112
25113
25114
25115
25116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25117 $as_echo_n "checking for ldexpl declaration... " >&6; }
25118 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25119 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25120 $as_echo_n "(cached) " >&6
25121 else
25122
25123
25124 ac_ext=cpp
25125 ac_cpp='$CXXCPP $CPPFLAGS'
25126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25129
25130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25131 /* end confdefs.h. */
25132 #include <math.h>
25133 int
25134 main ()
25135 {
25136 ldexpl(0, 0);
25137 ;
25138 return 0;
25139 }
25140 _ACEOF
25141 if ac_fn_cxx_try_compile "$LINENO"; then :
25142 glibcxx_cv_func_ldexpl_use=yes
25143 else
25144 glibcxx_cv_func_ldexpl_use=no
25145 fi
25146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25147 ac_ext=c
25148 ac_cpp='$CPP $CPPFLAGS'
25149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25152
25153
25154 fi
25155
25156 fi
25157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25158 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25159
25160 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25161 for ac_func in ldexpl
25162 do :
25163 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25164 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25165 cat >>confdefs.h <<_ACEOF
25166 #define HAVE_LDEXPL 1
25167 _ACEOF
25168
25169 fi
25170 done
25171
25172 else
25173
25174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25175 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25176 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25177 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25178 $as_echo_n "(cached) " >&6
25179 else
25180
25181
25182 ac_ext=cpp
25183 ac_cpp='$CXXCPP $CPPFLAGS'
25184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25187
25188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25189 /* end confdefs.h. */
25190 #include <math.h>
25191 int
25192 main ()
25193 {
25194 _ldexpl(0, 0);
25195 ;
25196 return 0;
25197 }
25198 _ACEOF
25199 if ac_fn_cxx_try_compile "$LINENO"; then :
25200 glibcxx_cv_func__ldexpl_use=yes
25201 else
25202 glibcxx_cv_func__ldexpl_use=no
25203 fi
25204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25205 ac_ext=c
25206 ac_cpp='$CPP $CPPFLAGS'
25207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25210
25211
25212 fi
25213
25214 fi
25215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25216 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25217
25218 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25219 for ac_func in _ldexpl
25220 do :
25221 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25222 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25223 cat >>confdefs.h <<_ACEOF
25224 #define HAVE__LDEXPL 1
25225 _ACEOF
25226
25227 fi
25228 done
25229
25230 fi
25231 fi
25232
25233
25234
25235
25236
25237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25238 $as_echo_n "checking for logl declaration... " >&6; }
25239 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25240 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25241 $as_echo_n "(cached) " >&6
25242 else
25243
25244
25245 ac_ext=cpp
25246 ac_cpp='$CXXCPP $CPPFLAGS'
25247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25250
25251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25252 /* end confdefs.h. */
25253 #include <math.h>
25254 #ifdef HAVE_IEEEFP_H
25255 #include <ieeefp.h>
25256 #endif
25257
25258 int
25259 main ()
25260 {
25261 logl(0);
25262 ;
25263 return 0;
25264 }
25265 _ACEOF
25266 if ac_fn_cxx_try_compile "$LINENO"; then :
25267 glibcxx_cv_func_logl_use=yes
25268 else
25269 glibcxx_cv_func_logl_use=no
25270 fi
25271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25272 ac_ext=c
25273 ac_cpp='$CPP $CPPFLAGS'
25274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25277
25278
25279 fi
25280
25281 fi
25282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25283 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25284
25285 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25286 for ac_func in logl
25287 do :
25288 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25289 if test "x$ac_cv_func_logl" = x""yes; then :
25290 cat >>confdefs.h <<_ACEOF
25291 #define HAVE_LOGL 1
25292 _ACEOF
25293
25294 fi
25295 done
25296
25297 else
25298
25299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25300 $as_echo_n "checking for _logl declaration... " >&6; }
25301 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25302 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25303 $as_echo_n "(cached) " >&6
25304 else
25305
25306
25307 ac_ext=cpp
25308 ac_cpp='$CXXCPP $CPPFLAGS'
25309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25312
25313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25314 /* end confdefs.h. */
25315 #include <math.h>
25316 #ifdef HAVE_IEEEFP_H
25317 #include <ieeefp.h>
25318 #endif
25319
25320 int
25321 main ()
25322 {
25323 _logl(0);
25324 ;
25325 return 0;
25326 }
25327 _ACEOF
25328 if ac_fn_cxx_try_compile "$LINENO"; then :
25329 glibcxx_cv_func__logl_use=yes
25330 else
25331 glibcxx_cv_func__logl_use=no
25332 fi
25333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25334 ac_ext=c
25335 ac_cpp='$CPP $CPPFLAGS'
25336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25339
25340
25341 fi
25342
25343 fi
25344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25345 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25346
25347 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25348 for ac_func in _logl
25349 do :
25350 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25351 if test "x$ac_cv_func__logl" = x""yes; then :
25352 cat >>confdefs.h <<_ACEOF
25353 #define HAVE__LOGL 1
25354 _ACEOF
25355
25356 fi
25357 done
25358
25359 fi
25360 fi
25361
25362
25363
25364
25365
25366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25367 $as_echo_n "checking for log10l declaration... " >&6; }
25368 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25369 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25370 $as_echo_n "(cached) " >&6
25371 else
25372
25373
25374 ac_ext=cpp
25375 ac_cpp='$CXXCPP $CPPFLAGS'
25376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25379
25380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25381 /* end confdefs.h. */
25382 #include <math.h>
25383 #ifdef HAVE_IEEEFP_H
25384 #include <ieeefp.h>
25385 #endif
25386
25387 int
25388 main ()
25389 {
25390 log10l(0);
25391 ;
25392 return 0;
25393 }
25394 _ACEOF
25395 if ac_fn_cxx_try_compile "$LINENO"; then :
25396 glibcxx_cv_func_log10l_use=yes
25397 else
25398 glibcxx_cv_func_log10l_use=no
25399 fi
25400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25401 ac_ext=c
25402 ac_cpp='$CPP $CPPFLAGS'
25403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25406
25407
25408 fi
25409
25410 fi
25411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25412 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25413
25414 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25415 for ac_func in log10l
25416 do :
25417 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25418 if test "x$ac_cv_func_log10l" = x""yes; then :
25419 cat >>confdefs.h <<_ACEOF
25420 #define HAVE_LOG10L 1
25421 _ACEOF
25422
25423 fi
25424 done
25425
25426 else
25427
25428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25429 $as_echo_n "checking for _log10l declaration... " >&6; }
25430 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25431 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25432 $as_echo_n "(cached) " >&6
25433 else
25434
25435
25436 ac_ext=cpp
25437 ac_cpp='$CXXCPP $CPPFLAGS'
25438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25441
25442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25443 /* end confdefs.h. */
25444 #include <math.h>
25445 #ifdef HAVE_IEEEFP_H
25446 #include <ieeefp.h>
25447 #endif
25448
25449 int
25450 main ()
25451 {
25452 _log10l(0);
25453 ;
25454 return 0;
25455 }
25456 _ACEOF
25457 if ac_fn_cxx_try_compile "$LINENO"; then :
25458 glibcxx_cv_func__log10l_use=yes
25459 else
25460 glibcxx_cv_func__log10l_use=no
25461 fi
25462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25463 ac_ext=c
25464 ac_cpp='$CPP $CPPFLAGS'
25465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25468
25469
25470 fi
25471
25472 fi
25473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25474 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25475
25476 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25477 for ac_func in _log10l
25478 do :
25479 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25480 if test "x$ac_cv_func__log10l" = x""yes; then :
25481 cat >>confdefs.h <<_ACEOF
25482 #define HAVE__LOG10L 1
25483 _ACEOF
25484
25485 fi
25486 done
25487
25488 fi
25489 fi
25490
25491
25492
25493
25494
25495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25496 $as_echo_n "checking for modfl declaration... " >&6; }
25497 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25498 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25499 $as_echo_n "(cached) " >&6
25500 else
25501
25502
25503 ac_ext=cpp
25504 ac_cpp='$CXXCPP $CPPFLAGS'
25505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25508
25509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25510 /* end confdefs.h. */
25511 #include <math.h>
25512 int
25513 main ()
25514 {
25515 modfl(0, 0);
25516 ;
25517 return 0;
25518 }
25519 _ACEOF
25520 if ac_fn_cxx_try_compile "$LINENO"; then :
25521 glibcxx_cv_func_modfl_use=yes
25522 else
25523 glibcxx_cv_func_modfl_use=no
25524 fi
25525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25526 ac_ext=c
25527 ac_cpp='$CPP $CPPFLAGS'
25528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25531
25532
25533 fi
25534
25535 fi
25536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25537 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25538
25539 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25540 for ac_func in modfl
25541 do :
25542 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25543 if test "x$ac_cv_func_modfl" = x""yes; then :
25544 cat >>confdefs.h <<_ACEOF
25545 #define HAVE_MODFL 1
25546 _ACEOF
25547
25548 fi
25549 done
25550
25551 else
25552
25553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25554 $as_echo_n "checking for _modfl declaration... " >&6; }
25555 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25556 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25557 $as_echo_n "(cached) " >&6
25558 else
25559
25560
25561 ac_ext=cpp
25562 ac_cpp='$CXXCPP $CPPFLAGS'
25563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25566
25567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25568 /* end confdefs.h. */
25569 #include <math.h>
25570 int
25571 main ()
25572 {
25573 _modfl(0, 0);
25574 ;
25575 return 0;
25576 }
25577 _ACEOF
25578 if ac_fn_cxx_try_compile "$LINENO"; then :
25579 glibcxx_cv_func__modfl_use=yes
25580 else
25581 glibcxx_cv_func__modfl_use=no
25582 fi
25583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25584 ac_ext=c
25585 ac_cpp='$CPP $CPPFLAGS'
25586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25589
25590
25591 fi
25592
25593 fi
25594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25595 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25596
25597 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25598 for ac_func in _modfl
25599 do :
25600 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25601 if test "x$ac_cv_func__modfl" = x""yes; then :
25602 cat >>confdefs.h <<_ACEOF
25603 #define HAVE__MODFL 1
25604 _ACEOF
25605
25606 fi
25607 done
25608
25609 fi
25610 fi
25611
25612
25613
25614
25615
25616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25617 $as_echo_n "checking for powl declaration... " >&6; }
25618 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25619 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25620 $as_echo_n "(cached) " >&6
25621 else
25622
25623
25624 ac_ext=cpp
25625 ac_cpp='$CXXCPP $CPPFLAGS'
25626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25629
25630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25631 /* end confdefs.h. */
25632 #include <math.h>
25633 int
25634 main ()
25635 {
25636 powl(0, 0);
25637 ;
25638 return 0;
25639 }
25640 _ACEOF
25641 if ac_fn_cxx_try_compile "$LINENO"; then :
25642 glibcxx_cv_func_powl_use=yes
25643 else
25644 glibcxx_cv_func_powl_use=no
25645 fi
25646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25647 ac_ext=c
25648 ac_cpp='$CPP $CPPFLAGS'
25649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25652
25653
25654 fi
25655
25656 fi
25657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25658 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25659
25660 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25661 for ac_func in powl
25662 do :
25663 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25664 if test "x$ac_cv_func_powl" = x""yes; then :
25665 cat >>confdefs.h <<_ACEOF
25666 #define HAVE_POWL 1
25667 _ACEOF
25668
25669 fi
25670 done
25671
25672 else
25673
25674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25675 $as_echo_n "checking for _powl declaration... " >&6; }
25676 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25677 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25678 $as_echo_n "(cached) " >&6
25679 else
25680
25681
25682 ac_ext=cpp
25683 ac_cpp='$CXXCPP $CPPFLAGS'
25684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25687
25688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25689 /* end confdefs.h. */
25690 #include <math.h>
25691 int
25692 main ()
25693 {
25694 _powl(0, 0);
25695 ;
25696 return 0;
25697 }
25698 _ACEOF
25699 if ac_fn_cxx_try_compile "$LINENO"; then :
25700 glibcxx_cv_func__powl_use=yes
25701 else
25702 glibcxx_cv_func__powl_use=no
25703 fi
25704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25705 ac_ext=c
25706 ac_cpp='$CPP $CPPFLAGS'
25707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25710
25711
25712 fi
25713
25714 fi
25715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25716 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25717
25718 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25719 for ac_func in _powl
25720 do :
25721 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25722 if test "x$ac_cv_func__powl" = x""yes; then :
25723 cat >>confdefs.h <<_ACEOF
25724 #define HAVE__POWL 1
25725 _ACEOF
25726
25727 fi
25728 done
25729
25730 fi
25731 fi
25732
25733
25734
25735
25736
25737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25738 $as_echo_n "checking for sqrtl declaration... " >&6; }
25739 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25740 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25741 $as_echo_n "(cached) " >&6
25742 else
25743
25744
25745 ac_ext=cpp
25746 ac_cpp='$CXXCPP $CPPFLAGS'
25747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25750
25751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25752 /* end confdefs.h. */
25753 #include <math.h>
25754 #ifdef HAVE_IEEEFP_H
25755 #include <ieeefp.h>
25756 #endif
25757
25758 int
25759 main ()
25760 {
25761 sqrtl(0);
25762 ;
25763 return 0;
25764 }
25765 _ACEOF
25766 if ac_fn_cxx_try_compile "$LINENO"; then :
25767 glibcxx_cv_func_sqrtl_use=yes
25768 else
25769 glibcxx_cv_func_sqrtl_use=no
25770 fi
25771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25772 ac_ext=c
25773 ac_cpp='$CPP $CPPFLAGS'
25774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25777
25778
25779 fi
25780
25781 fi
25782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25783 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25784
25785 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25786 for ac_func in sqrtl
25787 do :
25788 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25789 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25790 cat >>confdefs.h <<_ACEOF
25791 #define HAVE_SQRTL 1
25792 _ACEOF
25793
25794 fi
25795 done
25796
25797 else
25798
25799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25800 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25801 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25802 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25803 $as_echo_n "(cached) " >&6
25804 else
25805
25806
25807 ac_ext=cpp
25808 ac_cpp='$CXXCPP $CPPFLAGS'
25809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25812
25813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25814 /* end confdefs.h. */
25815 #include <math.h>
25816 #ifdef HAVE_IEEEFP_H
25817 #include <ieeefp.h>
25818 #endif
25819
25820 int
25821 main ()
25822 {
25823 _sqrtl(0);
25824 ;
25825 return 0;
25826 }
25827 _ACEOF
25828 if ac_fn_cxx_try_compile "$LINENO"; then :
25829 glibcxx_cv_func__sqrtl_use=yes
25830 else
25831 glibcxx_cv_func__sqrtl_use=no
25832 fi
25833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25834 ac_ext=c
25835 ac_cpp='$CPP $CPPFLAGS'
25836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25839
25840
25841 fi
25842
25843 fi
25844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25845 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25846
25847 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25848 for ac_func in _sqrtl
25849 do :
25850 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25851 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25852 cat >>confdefs.h <<_ACEOF
25853 #define HAVE__SQRTL 1
25854 _ACEOF
25855
25856 fi
25857 done
25858
25859 fi
25860 fi
25861
25862
25863
25864
25865
25866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25867 $as_echo_n "checking for sincosl declaration... " >&6; }
25868 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25869 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25870 $as_echo_n "(cached) " >&6
25871 else
25872
25873
25874 ac_ext=cpp
25875 ac_cpp='$CXXCPP $CPPFLAGS'
25876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25879
25880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25881 /* end confdefs.h. */
25882 #include <math.h>
25883 int
25884 main ()
25885 {
25886 sincosl(0, 0, 0);
25887 ;
25888 return 0;
25889 }
25890 _ACEOF
25891 if ac_fn_cxx_try_compile "$LINENO"; then :
25892 glibcxx_cv_func_sincosl_use=yes
25893 else
25894 glibcxx_cv_func_sincosl_use=no
25895 fi
25896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25897 ac_ext=c
25898 ac_cpp='$CPP $CPPFLAGS'
25899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25902
25903
25904 fi
25905
25906 fi
25907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25908 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25909
25910 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25911 for ac_func in sincosl
25912 do :
25913 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25914 if test "x$ac_cv_func_sincosl" = x""yes; then :
25915 cat >>confdefs.h <<_ACEOF
25916 #define HAVE_SINCOSL 1
25917 _ACEOF
25918
25919 fi
25920 done
25921
25922 else
25923
25924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25925 $as_echo_n "checking for _sincosl declaration... " >&6; }
25926 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25927 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25928 $as_echo_n "(cached) " >&6
25929 else
25930
25931
25932 ac_ext=cpp
25933 ac_cpp='$CXXCPP $CPPFLAGS'
25934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25937
25938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25939 /* end confdefs.h. */
25940 #include <math.h>
25941 int
25942 main ()
25943 {
25944 _sincosl(0, 0, 0);
25945 ;
25946 return 0;
25947 }
25948 _ACEOF
25949 if ac_fn_cxx_try_compile "$LINENO"; then :
25950 glibcxx_cv_func__sincosl_use=yes
25951 else
25952 glibcxx_cv_func__sincosl_use=no
25953 fi
25954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25955 ac_ext=c
25956 ac_cpp='$CPP $CPPFLAGS'
25957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25960
25961
25962 fi
25963
25964 fi
25965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25966 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25967
25968 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25969 for ac_func in _sincosl
25970 do :
25971 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25972 if test "x$ac_cv_func__sincosl" = x""yes; then :
25973 cat >>confdefs.h <<_ACEOF
25974 #define HAVE__SINCOSL 1
25975 _ACEOF
25976
25977 fi
25978 done
25979
25980 fi
25981 fi
25982
25983
25984
25985
25986
25987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25988 $as_echo_n "checking for finitel declaration... " >&6; }
25989 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25990 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25991 $as_echo_n "(cached) " >&6
25992 else
25993
25994
25995 ac_ext=cpp
25996 ac_cpp='$CXXCPP $CPPFLAGS'
25997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26000
26001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26002 /* end confdefs.h. */
26003 #include <math.h>
26004 #ifdef HAVE_IEEEFP_H
26005 #include <ieeefp.h>
26006 #endif
26007
26008 int
26009 main ()
26010 {
26011 finitel(0);
26012 ;
26013 return 0;
26014 }
26015 _ACEOF
26016 if ac_fn_cxx_try_compile "$LINENO"; then :
26017 glibcxx_cv_func_finitel_use=yes
26018 else
26019 glibcxx_cv_func_finitel_use=no
26020 fi
26021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26022 ac_ext=c
26023 ac_cpp='$CPP $CPPFLAGS'
26024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26027
26028
26029 fi
26030
26031 fi
26032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26033 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26034
26035 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26036 for ac_func in finitel
26037 do :
26038 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26039 if test "x$ac_cv_func_finitel" = x""yes; then :
26040 cat >>confdefs.h <<_ACEOF
26041 #define HAVE_FINITEL 1
26042 _ACEOF
26043
26044 fi
26045 done
26046
26047 else
26048
26049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26050 $as_echo_n "checking for _finitel declaration... " >&6; }
26051 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26052 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26053 $as_echo_n "(cached) " >&6
26054 else
26055
26056
26057 ac_ext=cpp
26058 ac_cpp='$CXXCPP $CPPFLAGS'
26059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26062
26063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26064 /* end confdefs.h. */
26065 #include <math.h>
26066 #ifdef HAVE_IEEEFP_H
26067 #include <ieeefp.h>
26068 #endif
26069
26070 int
26071 main ()
26072 {
26073 _finitel(0);
26074 ;
26075 return 0;
26076 }
26077 _ACEOF
26078 if ac_fn_cxx_try_compile "$LINENO"; then :
26079 glibcxx_cv_func__finitel_use=yes
26080 else
26081 glibcxx_cv_func__finitel_use=no
26082 fi
26083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26084 ac_ext=c
26085 ac_cpp='$CPP $CPPFLAGS'
26086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26089
26090
26091 fi
26092
26093 fi
26094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26095 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26096
26097 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26098 for ac_func in _finitel
26099 do :
26100 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26101 if test "x$ac_cv_func__finitel" = x""yes; then :
26102 cat >>confdefs.h <<_ACEOF
26103 #define HAVE__FINITEL 1
26104 _ACEOF
26105
26106 fi
26107 done
26108
26109 fi
26110 fi
26111
26112
26113
26114
26115 LIBS="$ac_save_LIBS"
26116 CXXFLAGS="$ac_save_CXXFLAGS"
26117
26118
26119 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26120 ac_save_CXXFLAGS="$CXXFLAGS"
26121 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26122
26123
26124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26125 $as_echo_n "checking for strtold declaration... " >&6; }
26126 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26127 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26128 $as_echo_n "(cached) " >&6
26129 else
26130
26131
26132 ac_ext=cpp
26133 ac_cpp='$CXXCPP $CPPFLAGS'
26134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26137
26138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26139 /* end confdefs.h. */
26140 #include <stdlib.h>
26141 int
26142 main ()
26143 {
26144 strtold(0, 0);
26145 ;
26146 return 0;
26147 }
26148 _ACEOF
26149 if ac_fn_cxx_try_compile "$LINENO"; then :
26150 glibcxx_cv_func_strtold_use=yes
26151 else
26152 glibcxx_cv_func_strtold_use=no
26153 fi
26154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26155 ac_ext=c
26156 ac_cpp='$CPP $CPPFLAGS'
26157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26160
26161
26162 fi
26163
26164 fi
26165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26166 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26167 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26168 for ac_func in strtold
26169 do :
26170 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26171 if test "x$ac_cv_func_strtold" = x""yes; then :
26172 cat >>confdefs.h <<_ACEOF
26173 #define HAVE_STRTOLD 1
26174 _ACEOF
26175
26176 fi
26177 done
26178
26179 fi
26180
26181
26182
26183
26184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26185 $as_echo_n "checking for strtof declaration... " >&6; }
26186 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26187 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26188 $as_echo_n "(cached) " >&6
26189 else
26190
26191
26192 ac_ext=cpp
26193 ac_cpp='$CXXCPP $CPPFLAGS'
26194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26197
26198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26199 /* end confdefs.h. */
26200 #include <stdlib.h>
26201 int
26202 main ()
26203 {
26204 strtof(0, 0);
26205 ;
26206 return 0;
26207 }
26208 _ACEOF
26209 if ac_fn_cxx_try_compile "$LINENO"; then :
26210 glibcxx_cv_func_strtof_use=yes
26211 else
26212 glibcxx_cv_func_strtof_use=no
26213 fi
26214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26215 ac_ext=c
26216 ac_cpp='$CPP $CPPFLAGS'
26217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26220
26221
26222 fi
26223
26224 fi
26225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26226 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26227 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26228 for ac_func in strtof
26229 do :
26230 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26231 if test "x$ac_cv_func_strtof" = x""yes; then :
26232 cat >>confdefs.h <<_ACEOF
26233 #define HAVE_STRTOF 1
26234 _ACEOF
26235
26236 fi
26237 done
26238
26239 fi
26240
26241
26242
26243
26244 CXXFLAGS="$ac_save_CXXFLAGS"
26245
26246
26247 # For /dev/random and /dev/urandom for TR1.
26248
26249
26250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26251 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26252 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26253 $as_echo_n "(cached) " >&6
26254 else
26255
26256 if test -r /dev/random && test -r /dev/urandom; then
26257 glibcxx_cv_random_tr1=yes;
26258 else
26259 glibcxx_cv_random_tr1=no;
26260 fi
26261
26262 fi
26263
26264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26265 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26266
26267 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26268
26269 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26270
26271 fi
26272
26273
26274
26275 # For TLS support.
26276
26277
26278 # Check whether --enable-tls was given.
26279 if test "${enable_tls+set}" = set; then :
26280 enableval=$enable_tls;
26281 case "$enableval" in
26282 yes|no) ;;
26283 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26284 esac
26285
26286 else
26287 enable_tls=yes
26288 fi
26289
26290
26291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26292 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26293 if test "${gcc_cv_have_tls+set}" = set; then :
26294 $as_echo_n "(cached) " >&6
26295 else
26296
26297 if test "$cross_compiling" = yes; then :
26298 if test x$gcc_no_link = xyes; then
26299 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26300 fi
26301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26302 /* end confdefs.h. */
26303 __thread int a; int b; int main() { return a = b; }
26304 _ACEOF
26305 if ac_fn_c_try_link "$LINENO"; then :
26306 chktls_save_LDFLAGS="$LDFLAGS"
26307 case $host in
26308 *-*-linux*)
26309 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26310 ;;
26311 esac
26312 chktls_save_CFLAGS="$CFLAGS"
26313 CFLAGS="-fPIC $CFLAGS"
26314 if test x$gcc_no_link = xyes; then
26315 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26316 fi
26317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26318 /* end confdefs.h. */
26319 int f() { return 0; }
26320 _ACEOF
26321 if ac_fn_c_try_link "$LINENO"; then :
26322 if test x$gcc_no_link = xyes; then
26323 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26324 fi
26325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26326 /* end confdefs.h. */
26327 __thread int a; int b; int f() { return a = b; }
26328 _ACEOF
26329 if ac_fn_c_try_link "$LINENO"; then :
26330 gcc_cv_have_tls=yes
26331 else
26332 gcc_cv_have_tls=no
26333 fi
26334 rm -f core conftest.err conftest.$ac_objext \
26335 conftest$ac_exeext conftest.$ac_ext
26336 else
26337 gcc_cv_have_tls=yes
26338 fi
26339 rm -f core conftest.err conftest.$ac_objext \
26340 conftest$ac_exeext conftest.$ac_ext
26341 CFLAGS="$chktls_save_CFLAGS"
26342 LDFLAGS="$chktls_save_LDFLAGS"
26343 else
26344 gcc_cv_have_tls=no
26345 fi
26346 rm -f core conftest.err conftest.$ac_objext \
26347 conftest$ac_exeext conftest.$ac_ext
26348
26349
26350 else
26351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26352 /* end confdefs.h. */
26353 __thread int a; int b; int main() { return a = b; }
26354 _ACEOF
26355 if ac_fn_c_try_run "$LINENO"; then :
26356 chktls_save_LDFLAGS="$LDFLAGS"
26357 LDFLAGS="-static $LDFLAGS"
26358 if test x$gcc_no_link = xyes; then
26359 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26360 fi
26361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26362 /* end confdefs.h. */
26363 int main() { return 0; }
26364 _ACEOF
26365 if ac_fn_c_try_link "$LINENO"; then :
26366 if test "$cross_compiling" = yes; then :
26367 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26369 as_fn_error "cannot run test program while cross compiling
26370 See \`config.log' for more details." "$LINENO" 5; }
26371 else
26372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26373 /* end confdefs.h. */
26374 __thread int a; int b; int main() { return a = b; }
26375 _ACEOF
26376 if ac_fn_c_try_run "$LINENO"; then :
26377 gcc_cv_have_tls=yes
26378 else
26379 gcc_cv_have_tls=no
26380 fi
26381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26382 conftest.$ac_objext conftest.beam conftest.$ac_ext
26383 fi
26384
26385 else
26386 gcc_cv_have_tls=yes
26387 fi
26388 rm -f core conftest.err conftest.$ac_objext \
26389 conftest$ac_exeext conftest.$ac_ext
26390 LDFLAGS="$chktls_save_LDFLAGS"
26391 if test $gcc_cv_have_tls = yes; then
26392 chktls_save_CFLAGS="$CFLAGS"
26393 thread_CFLAGS=failed
26394 for flag in '' '-pthread' '-lpthread'; do
26395 CFLAGS="$flag $chktls_save_CFLAGS"
26396 if test x$gcc_no_link = xyes; then
26397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26398 fi
26399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26400 /* end confdefs.h. */
26401 #include <pthread.h>
26402 void *g(void *d) { return NULL; }
26403 int
26404 main ()
26405 {
26406 pthread_t t; pthread_create(&t,NULL,g,NULL);
26407 ;
26408 return 0;
26409 }
26410 _ACEOF
26411 if ac_fn_c_try_link "$LINENO"; then :
26412 thread_CFLAGS="$flag"
26413 fi
26414 rm -f core conftest.err conftest.$ac_objext \
26415 conftest$ac_exeext conftest.$ac_ext
26416 if test "X$thread_CFLAGS" != Xfailed; then
26417 break
26418 fi
26419 done
26420 CFLAGS="$chktls_save_CFLAGS"
26421 if test "X$thread_CFLAGS" != Xfailed; then
26422 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26423 if test "$cross_compiling" = yes; then :
26424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26426 as_fn_error "cannot run test program while cross compiling
26427 See \`config.log' for more details." "$LINENO" 5; }
26428 else
26429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26430 /* end confdefs.h. */
26431 #include <pthread.h>
26432 __thread int a;
26433 static int *volatile a_in_other_thread;
26434 static void *
26435 thread_func (void *arg)
26436 {
26437 a_in_other_thread = &a;
26438 return (void *)0;
26439 }
26440 int
26441 main ()
26442 {
26443 pthread_t thread;
26444 void *thread_retval;
26445 int *volatile a_in_main_thread;
26446 a_in_main_thread = &a;
26447 if (pthread_create (&thread, (pthread_attr_t *)0,
26448 thread_func, (void *)0))
26449 return 0;
26450 if (pthread_join (thread, &thread_retval))
26451 return 0;
26452 return (a_in_other_thread == a_in_main_thread);
26453 ;
26454 return 0;
26455 }
26456 _ACEOF
26457 if ac_fn_c_try_run "$LINENO"; then :
26458 gcc_cv_have_tls=yes
26459 else
26460 gcc_cv_have_tls=no
26461 fi
26462 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26463 conftest.$ac_objext conftest.beam conftest.$ac_ext
26464 fi
26465
26466 CFLAGS="$chktls_save_CFLAGS"
26467 fi
26468 fi
26469 else
26470 gcc_cv_have_tls=no
26471 fi
26472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26473 conftest.$ac_objext conftest.beam conftest.$ac_ext
26474 fi
26475
26476 fi
26477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26478 $as_echo "$gcc_cv_have_tls" >&6; }
26479 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26480
26481 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26482
26483 fi
26484
26485 # For iconv support.
26486
26487 if test "X$prefix" = "XNONE"; then
26488 acl_final_prefix="$ac_default_prefix"
26489 else
26490 acl_final_prefix="$prefix"
26491 fi
26492 if test "X$exec_prefix" = "XNONE"; then
26493 acl_final_exec_prefix='${prefix}'
26494 else
26495 acl_final_exec_prefix="$exec_prefix"
26496 fi
26497 acl_save_prefix="$prefix"
26498 prefix="$acl_final_prefix"
26499 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26500 prefix="$acl_save_prefix"
26501
26502
26503 # Check whether --with-gnu-ld was given.
26504 if test "${with_gnu_ld+set}" = set; then :
26505 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26506 else
26507 with_gnu_ld=no
26508 fi
26509
26510 # Prepare PATH_SEPARATOR.
26511 # The user is always right.
26512 if test "${PATH_SEPARATOR+set}" != set; then
26513 echo "#! /bin/sh" >conf$$.sh
26514 echo "exit 0" >>conf$$.sh
26515 chmod +x conf$$.sh
26516 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26517 PATH_SEPARATOR=';'
26518 else
26519 PATH_SEPARATOR=:
26520 fi
26521 rm -f conf$$.sh
26522 fi
26523 ac_prog=ld
26524 if test "$GCC" = yes; then
26525 # Check if gcc -print-prog-name=ld gives a path.
26526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26527 $as_echo_n "checking for ld used by GCC... " >&6; }
26528 case $host in
26529 *-*-mingw*)
26530 # gcc leaves a trailing carriage return which upsets mingw
26531 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26532 *)
26533 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26534 esac
26535 case $ac_prog in
26536 # Accept absolute paths.
26537 [\\/]* | [A-Za-z]:[\\/]*)
26538 re_direlt='/[^/][^/]*/\.\./'
26539 # Canonicalize the path of ld
26540 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26541 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26542 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26543 done
26544 test -z "$LD" && LD="$ac_prog"
26545 ;;
26546 "")
26547 # If it fails, then pretend we aren't using GCC.
26548 ac_prog=ld
26549 ;;
26550 *)
26551 # If it is relative, then search for the first ld in PATH.
26552 with_gnu_ld=unknown
26553 ;;
26554 esac
26555 elif test "$with_gnu_ld" = yes; then
26556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26557 $as_echo_n "checking for GNU ld... " >&6; }
26558 else
26559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26560 $as_echo_n "checking for non-GNU ld... " >&6; }
26561 fi
26562 if test "${acl_cv_path_LD+set}" = set; then :
26563 $as_echo_n "(cached) " >&6
26564 else
26565 if test -z "$LD"; then
26566 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26567 for ac_dir in $PATH; do
26568 test -z "$ac_dir" && ac_dir=.
26569 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26570 acl_cv_path_LD="$ac_dir/$ac_prog"
26571 # Check to see if the program is GNU ld. I'd rather use --version,
26572 # but apparently some GNU ld's only accept -v.
26573 # Break only if it was the GNU/non-GNU ld that we prefer.
26574 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26575 test "$with_gnu_ld" != no && break
26576 else
26577 test "$with_gnu_ld" != yes && break
26578 fi
26579 fi
26580 done
26581 IFS="$ac_save_ifs"
26582 else
26583 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26584 fi
26585 fi
26586
26587 LD="$acl_cv_path_LD"
26588 if test -n "$LD"; then
26589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26590 $as_echo "$LD" >&6; }
26591 else
26592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26593 $as_echo "no" >&6; }
26594 fi
26595 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26597 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26598 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26599 $as_echo_n "(cached) " >&6
26600 else
26601 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26602 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26603 acl_cv_prog_gnu_ld=yes
26604 else
26605 acl_cv_prog_gnu_ld=no
26606 fi
26607 fi
26608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26609 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26610 with_gnu_ld=$acl_cv_prog_gnu_ld
26611
26612
26613
26614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26615 $as_echo_n "checking for shared library run path origin... " >&6; }
26616 if test "${acl_cv_rpath+set}" = set; then :
26617 $as_echo_n "(cached) " >&6
26618 else
26619
26620 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26621 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26622 . ./conftest.sh
26623 rm -f ./conftest.sh
26624 acl_cv_rpath=done
26625
26626 fi
26627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26628 $as_echo "$acl_cv_rpath" >&6; }
26629 wl="$acl_cv_wl"
26630 libext="$acl_cv_libext"
26631 shlibext="$acl_cv_shlibext"
26632 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26633 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26634 hardcode_direct="$acl_cv_hardcode_direct"
26635 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26636 # Check whether --enable-rpath was given.
26637 if test "${enable_rpath+set}" = set; then :
26638 enableval=$enable_rpath; :
26639 else
26640 enable_rpath=yes
26641 fi
26642
26643
26644
26645
26646
26647
26648
26649
26650 use_additional=yes
26651
26652 acl_save_prefix="$prefix"
26653 prefix="$acl_final_prefix"
26654 acl_save_exec_prefix="$exec_prefix"
26655 exec_prefix="$acl_final_exec_prefix"
26656
26657 eval additional_includedir=\"$includedir\"
26658 eval additional_libdir=\"$libdir\"
26659
26660 exec_prefix="$acl_save_exec_prefix"
26661 prefix="$acl_save_prefix"
26662
26663
26664 # Check whether --with-libiconv-prefix was given.
26665 if test "${with_libiconv_prefix+set}" = set; then :
26666 withval=$with_libiconv_prefix;
26667 if test "X$withval" = "Xno"; then
26668 use_additional=no
26669 else
26670 if test "X$withval" = "X"; then
26671
26672 acl_save_prefix="$prefix"
26673 prefix="$acl_final_prefix"
26674 acl_save_exec_prefix="$exec_prefix"
26675 exec_prefix="$acl_final_exec_prefix"
26676
26677 eval additional_includedir=\"$includedir\"
26678 eval additional_libdir=\"$libdir\"
26679
26680 exec_prefix="$acl_save_exec_prefix"
26681 prefix="$acl_save_prefix"
26682
26683 else
26684 additional_includedir="$withval/include"
26685 additional_libdir="$withval/lib"
26686 fi
26687 fi
26688
26689 fi
26690
26691 LIBICONV=
26692 LTLIBICONV=
26693 INCICONV=
26694 rpathdirs=
26695 ltrpathdirs=
26696 names_already_handled=
26697 names_next_round='iconv '
26698 while test -n "$names_next_round"; do
26699 names_this_round="$names_next_round"
26700 names_next_round=
26701 for name in $names_this_round; do
26702 already_handled=
26703 for n in $names_already_handled; do
26704 if test "$n" = "$name"; then
26705 already_handled=yes
26706 break
26707 fi
26708 done
26709 if test -z "$already_handled"; then
26710 names_already_handled="$names_already_handled $name"
26711 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26712 eval value=\"\$HAVE_LIB$uppername\"
26713 if test -n "$value"; then
26714 if test "$value" = yes; then
26715 eval value=\"\$LIB$uppername\"
26716 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26717 eval value=\"\$LTLIB$uppername\"
26718 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26719 else
26720 :
26721 fi
26722 else
26723 found_dir=
26724 found_la=
26725 found_so=
26726 found_a=
26727 if test $use_additional = yes; then
26728 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26729 found_dir="$additional_libdir"
26730 found_so="$additional_libdir/lib$name.$shlibext"
26731 if test -f "$additional_libdir/lib$name.la"; then
26732 found_la="$additional_libdir/lib$name.la"
26733 fi
26734 else
26735 if test -f "$additional_libdir/lib$name.$libext"; then
26736 found_dir="$additional_libdir"
26737 found_a="$additional_libdir/lib$name.$libext"
26738 if test -f "$additional_libdir/lib$name.la"; then
26739 found_la="$additional_libdir/lib$name.la"
26740 fi
26741 fi
26742 fi
26743 fi
26744 if test "X$found_dir" = "X"; then
26745 for x in $LDFLAGS $LTLIBICONV; do
26746
26747 acl_save_prefix="$prefix"
26748 prefix="$acl_final_prefix"
26749 acl_save_exec_prefix="$exec_prefix"
26750 exec_prefix="$acl_final_exec_prefix"
26751 eval x=\"$x\"
26752 exec_prefix="$acl_save_exec_prefix"
26753 prefix="$acl_save_prefix"
26754
26755 case "$x" in
26756 -L*)
26757 dir=`echo "X$x" | sed -e 's/^X-L//'`
26758 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26759 found_dir="$dir"
26760 found_so="$dir/lib$name.$shlibext"
26761 if test -f "$dir/lib$name.la"; then
26762 found_la="$dir/lib$name.la"
26763 fi
26764 else
26765 if test -f "$dir/lib$name.$libext"; then
26766 found_dir="$dir"
26767 found_a="$dir/lib$name.$libext"
26768 if test -f "$dir/lib$name.la"; then
26769 found_la="$dir/lib$name.la"
26770 fi
26771 fi
26772 fi
26773 ;;
26774 esac
26775 if test "X$found_dir" != "X"; then
26776 break
26777 fi
26778 done
26779 fi
26780 if test "X$found_dir" != "X"; then
26781 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26782 if test "X$found_so" != "X"; then
26783 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26784 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26785 else
26786 haveit=
26787 for x in $ltrpathdirs; do
26788 if test "X$x" = "X$found_dir"; then
26789 haveit=yes
26790 break
26791 fi
26792 done
26793 if test -z "$haveit"; then
26794 ltrpathdirs="$ltrpathdirs $found_dir"
26795 fi
26796 if test "$hardcode_direct" = yes; then
26797 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26798 else
26799 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26800 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26801 haveit=
26802 for x in $rpathdirs; do
26803 if test "X$x" = "X$found_dir"; then
26804 haveit=yes
26805 break
26806 fi
26807 done
26808 if test -z "$haveit"; then
26809 rpathdirs="$rpathdirs $found_dir"
26810 fi
26811 else
26812 haveit=
26813 for x in $LDFLAGS $LIBICONV; do
26814
26815 acl_save_prefix="$prefix"
26816 prefix="$acl_final_prefix"
26817 acl_save_exec_prefix="$exec_prefix"
26818 exec_prefix="$acl_final_exec_prefix"
26819 eval x=\"$x\"
26820 exec_prefix="$acl_save_exec_prefix"
26821 prefix="$acl_save_prefix"
26822
26823 if test "X$x" = "X-L$found_dir"; then
26824 haveit=yes
26825 break
26826 fi
26827 done
26828 if test -z "$haveit"; then
26829 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26830 fi
26831 if test "$hardcode_minus_L" != no; then
26832 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26833 else
26834 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26835 fi
26836 fi
26837 fi
26838 fi
26839 else
26840 if test "X$found_a" != "X"; then
26841 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26842 else
26843 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26844 fi
26845 fi
26846 additional_includedir=
26847 case "$found_dir" in
26848 */lib | */lib/)
26849 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26850 additional_includedir="$basedir/include"
26851 ;;
26852 esac
26853 if test "X$additional_includedir" != "X"; then
26854 if test "X$additional_includedir" != "X/usr/include"; then
26855 haveit=
26856 if test "X$additional_includedir" = "X/usr/local/include"; then
26857 if test -n "$GCC"; then
26858 case $host_os in
26859 linux*) haveit=yes;;
26860 esac
26861 fi
26862 fi
26863 if test -z "$haveit"; then
26864 for x in $CPPFLAGS $INCICONV; do
26865
26866 acl_save_prefix="$prefix"
26867 prefix="$acl_final_prefix"
26868 acl_save_exec_prefix="$exec_prefix"
26869 exec_prefix="$acl_final_exec_prefix"
26870 eval x=\"$x\"
26871 exec_prefix="$acl_save_exec_prefix"
26872 prefix="$acl_save_prefix"
26873
26874 if test "X$x" = "X-I$additional_includedir"; then
26875 haveit=yes
26876 break
26877 fi
26878 done
26879 if test -z "$haveit"; then
26880 if test -d "$additional_includedir"; then
26881 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26882 fi
26883 fi
26884 fi
26885 fi
26886 fi
26887 if test -n "$found_la"; then
26888 save_libdir="$libdir"
26889 case "$found_la" in
26890 */* | *\\*) . "$found_la" ;;
26891 *) . "./$found_la" ;;
26892 esac
26893 libdir="$save_libdir"
26894 for dep in $dependency_libs; do
26895 case "$dep" in
26896 -L*)
26897 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26898 if test "X$additional_libdir" != "X/usr/lib"; then
26899 haveit=
26900 if test "X$additional_libdir" = "X/usr/local/lib"; then
26901 if test -n "$GCC"; then
26902 case $host_os in
26903 linux*) haveit=yes;;
26904 esac
26905 fi
26906 fi
26907 if test -z "$haveit"; then
26908 haveit=
26909 for x in $LDFLAGS $LIBICONV; do
26910
26911 acl_save_prefix="$prefix"
26912 prefix="$acl_final_prefix"
26913 acl_save_exec_prefix="$exec_prefix"
26914 exec_prefix="$acl_final_exec_prefix"
26915 eval x=\"$x\"
26916 exec_prefix="$acl_save_exec_prefix"
26917 prefix="$acl_save_prefix"
26918
26919 if test "X$x" = "X-L$additional_libdir"; then
26920 haveit=yes
26921 break
26922 fi
26923 done
26924 if test -z "$haveit"; then
26925 if test -d "$additional_libdir"; then
26926 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26927 fi
26928 fi
26929 haveit=
26930 for x in $LDFLAGS $LTLIBICONV; do
26931
26932 acl_save_prefix="$prefix"
26933 prefix="$acl_final_prefix"
26934 acl_save_exec_prefix="$exec_prefix"
26935 exec_prefix="$acl_final_exec_prefix"
26936 eval x=\"$x\"
26937 exec_prefix="$acl_save_exec_prefix"
26938 prefix="$acl_save_prefix"
26939
26940 if test "X$x" = "X-L$additional_libdir"; then
26941 haveit=yes
26942 break
26943 fi
26944 done
26945 if test -z "$haveit"; then
26946 if test -d "$additional_libdir"; then
26947 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26948 fi
26949 fi
26950 fi
26951 fi
26952 ;;
26953 -R*)
26954 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26955 if test "$enable_rpath" != no; then
26956 haveit=
26957 for x in $rpathdirs; do
26958 if test "X$x" = "X$dir"; then
26959 haveit=yes
26960 break
26961 fi
26962 done
26963 if test -z "$haveit"; then
26964 rpathdirs="$rpathdirs $dir"
26965 fi
26966 haveit=
26967 for x in $ltrpathdirs; do
26968 if test "X$x" = "X$dir"; then
26969 haveit=yes
26970 break
26971 fi
26972 done
26973 if test -z "$haveit"; then
26974 ltrpathdirs="$ltrpathdirs $dir"
26975 fi
26976 fi
26977 ;;
26978 -l*)
26979 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26980 ;;
26981 *.la)
26982 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26983 ;;
26984 *)
26985 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26986 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26987 ;;
26988 esac
26989 done
26990 fi
26991 else
26992 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26993 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26994 fi
26995 fi
26996 fi
26997 done
26998 done
26999 if test "X$rpathdirs" != "X"; then
27000 if test -n "$hardcode_libdir_separator"; then
27001 alldirs=
27002 for found_dir in $rpathdirs; do
27003 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27004 done
27005 acl_save_libdir="$libdir"
27006 libdir="$alldirs"
27007 eval flag=\"$hardcode_libdir_flag_spec\"
27008 libdir="$acl_save_libdir"
27009 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27010 else
27011 for found_dir in $rpathdirs; do
27012 acl_save_libdir="$libdir"
27013 libdir="$found_dir"
27014 eval flag=\"$hardcode_libdir_flag_spec\"
27015 libdir="$acl_save_libdir"
27016 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27017 done
27018 fi
27019 fi
27020 if test "X$ltrpathdirs" != "X"; then
27021 for found_dir in $ltrpathdirs; do
27022 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27023 done
27024 fi
27025
27026
27027
27028
27029
27030
27031
27032 am_save_CPPFLAGS="$CPPFLAGS"
27033
27034 for element in $INCICONV; do
27035 haveit=
27036 for x in $CPPFLAGS; do
27037
27038 acl_save_prefix="$prefix"
27039 prefix="$acl_final_prefix"
27040 acl_save_exec_prefix="$exec_prefix"
27041 exec_prefix="$acl_final_exec_prefix"
27042 eval x=\"$x\"
27043 exec_prefix="$acl_save_exec_prefix"
27044 prefix="$acl_save_prefix"
27045
27046 if test "X$x" = "X$element"; then
27047 haveit=yes
27048 break
27049 fi
27050 done
27051 if test -z "$haveit"; then
27052 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27053 fi
27054 done
27055
27056
27057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27058 $as_echo_n "checking for iconv... " >&6; }
27059 if test "${am_cv_func_iconv+set}" = set; then :
27060 $as_echo_n "(cached) " >&6
27061 else
27062
27063 am_cv_func_iconv="no, consider installing GNU libiconv"
27064 am_cv_lib_iconv=no
27065 if test x$gcc_no_link = xyes; then
27066 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27067 fi
27068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27069 /* end confdefs.h. */
27070 #include <stdlib.h>
27071 #include <iconv.h>
27072 int
27073 main ()
27074 {
27075 iconv_t cd = iconv_open("","");
27076 iconv(cd,NULL,NULL,NULL,NULL);
27077 iconv_close(cd);
27078 ;
27079 return 0;
27080 }
27081 _ACEOF
27082 if ac_fn_c_try_link "$LINENO"; then :
27083 am_cv_func_iconv=yes
27084 fi
27085 rm -f core conftest.err conftest.$ac_objext \
27086 conftest$ac_exeext conftest.$ac_ext
27087 if test "$am_cv_func_iconv" != yes; then
27088 am_save_LIBS="$LIBS"
27089 LIBS="$LIBS $LIBICONV"
27090 if test x$gcc_no_link = xyes; then
27091 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27092 fi
27093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27094 /* end confdefs.h. */
27095 #include <stdlib.h>
27096 #include <iconv.h>
27097 int
27098 main ()
27099 {
27100 iconv_t cd = iconv_open("","");
27101 iconv(cd,NULL,NULL,NULL,NULL);
27102 iconv_close(cd);
27103 ;
27104 return 0;
27105 }
27106 _ACEOF
27107 if ac_fn_c_try_link "$LINENO"; then :
27108 am_cv_lib_iconv=yes
27109 am_cv_func_iconv=yes
27110 fi
27111 rm -f core conftest.err conftest.$ac_objext \
27112 conftest$ac_exeext conftest.$ac_ext
27113 LIBS="$am_save_LIBS"
27114 fi
27115
27116 fi
27117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27118 $as_echo "$am_cv_func_iconv" >&6; }
27119 if test "$am_cv_func_iconv" = yes; then
27120
27121 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27122
27123 fi
27124 if test "$am_cv_lib_iconv" = yes; then
27125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27126 $as_echo_n "checking how to link with libiconv... " >&6; }
27127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27128 $as_echo "$LIBICONV" >&6; }
27129 else
27130 CPPFLAGS="$am_save_CPPFLAGS"
27131 LIBICONV=
27132 LTLIBICONV=
27133 fi
27134
27135
27136
27137 if test "$am_cv_func_iconv" = yes; then
27138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27139 $as_echo_n "checking for iconv declaration... " >&6; }
27140 if test "${am_cv_proto_iconv+set}" = set; then :
27141 $as_echo_n "(cached) " >&6
27142 else
27143
27144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27145 /* end confdefs.h. */
27146
27147 #include <stdlib.h>
27148 #include <iconv.h>
27149 extern
27150 #ifdef __cplusplus
27151 "C"
27152 #endif
27153 #if defined(__STDC__) || defined(__cplusplus)
27154 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27155 #else
27156 size_t iconv();
27157 #endif
27158
27159 int
27160 main ()
27161 {
27162
27163 ;
27164 return 0;
27165 }
27166 _ACEOF
27167 if ac_fn_c_try_compile "$LINENO"; then :
27168 am_cv_proto_iconv_arg1=""
27169 else
27170 am_cv_proto_iconv_arg1="const"
27171 fi
27172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27173 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);"
27174 fi
27175
27176 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27178 }$am_cv_proto_iconv" >&5
27179 $as_echo "${ac_t:-
27180 }$am_cv_proto_iconv" >&6; }
27181
27182 cat >>confdefs.h <<_ACEOF
27183 #define ICONV_CONST $am_cv_proto_iconv_arg1
27184 _ACEOF
27185
27186 fi
27187
27188
27189 else
27190
27191 # This lets us hard-code the functionality we know we'll have in the cross
27192 # target environment. "Let" is a sugar-coated word placed on an especially
27193 # dull and tedious hack, actually.
27194 #
27195 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27196 # that involve linking, can't be used:
27197 # "cannot open sim-crt0.o"
27198 # "cannot open crt0.o"
27199 # etc. All this is because there currently exists no unified, consistent
27200 # way for top level CC information to be passed down to target directories:
27201 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27202 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27203 # crosses can be removed.
27204
27205 # If Canadian cross, then don't pick up tools from the build directory.
27206 # Used only in GLIBCXX_EXPORT_INCLUDES.
27207 if test -n "$with_cross_host" &&
27208 test x"$build_alias" != x"$with_cross_host" &&
27209 test x"$build" != x"$target";
27210 then
27211 CANADIAN=yes
27212 else
27213 CANADIAN=no
27214 fi
27215
27216 # Construct crosses by hand, eliminating bits that need ld...
27217 # GLIBCXX_CHECK_MATH_SUPPORT
27218
27219 # First, test for "known" system libraries. We may be using newlib even
27220 # on a hosted environment.
27221 if test "x${with_newlib}" = "xyes"; then
27222 os_include_dir="os/newlib"
27223 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27224
27225
27226 # GLIBCXX_CHECK_STDLIB_SUPPORT
27227 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27228
27229
27230 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27231
27232 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27233
27234 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27235
27236 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27237
27238 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27239
27240 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27241
27242 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27243
27244 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27245
27246 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27247
27248 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27249
27250 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27251
27252 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27253
27254 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27255
27256 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27257
27258 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27259
27260 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27261
27262 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27263
27264 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27265
27266 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27267
27268 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27269
27270 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27271
27272 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27273
27274
27275 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27276
27277 else
27278
27279 # Base decisions on target environment.
27280 case "${host}" in
27281 arm*-*-symbianelf*)
27282 # This is a freestanding configuration; there is nothing to do here.
27283 ;;
27284
27285 mips*-sde-elf*)
27286 # These definitions are for the SDE C library rather than newlib.
27287 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27288
27289
27290 # All these tests are for C++; save the language and the compiler flags.
27291 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27292 # found in GLIBCXX_CONFIGURE.
27293
27294 ac_ext=cpp
27295 ac_cpp='$CXXCPP $CPPFLAGS'
27296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27299
27300 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27301 ac_save_CXXFLAGS="$CXXFLAGS"
27302
27303 # Check for maintainer-mode bits.
27304 if test x"$USE_MAINTAINER_MODE" = xno; then
27305 WERROR=''
27306 else
27307 WERROR='-Werror'
27308 fi
27309
27310 # Check for -ffunction-sections -fdata-sections
27311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27312 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27313 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27315 /* end confdefs.h. */
27316 int foo; void bar() { };
27317 int
27318 main ()
27319 {
27320
27321 ;
27322 return 0;
27323 }
27324 _ACEOF
27325 if ac_fn_cxx_try_compile "$LINENO"; then :
27326 ac_fdsections=yes
27327 else
27328 ac_fdsections=no
27329 fi
27330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27331 if test "$ac_test_CXXFLAGS" = set; then
27332 CXXFLAGS="$ac_save_CXXFLAGS"
27333 else
27334 # this is the suspicious part
27335 CXXFLAGS=''
27336 fi
27337 if test x"$ac_fdsections" = x"yes"; then
27338 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27339 fi
27340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27341 $as_echo "$ac_fdsections" >&6; }
27342
27343 ac_ext=c
27344 ac_cpp='$CPP $CPPFLAGS'
27345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27348
27349
27350
27351
27352
27353 # If we're not using GNU ld, then there's no point in even trying these
27354 # tests. Check for that first. We should have already tested for gld
27355 # by now (in libtool), but require it now just to be safe...
27356 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27357 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27358
27359
27360
27361 # The name set by libtool depends on the version of libtool. Shame on us
27362 # for depending on an impl detail, but c'est la vie. Older versions used
27363 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27364 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27365 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27366 # set (hence we're using an older libtool), then set it.
27367 if test x${with_gnu_ld+set} != xset; then
27368 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27369 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27370 with_gnu_ld=no
27371 else
27372 with_gnu_ld=$ac_cv_prog_gnu_ld
27373 fi
27374 fi
27375
27376 # Start by getting the version number. I think the libtool test already
27377 # does some of this, but throws away the result.
27378 glibcxx_ld_is_gold=no
27379 if test x"$with_gnu_ld" = x"yes"; then
27380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27381 $as_echo_n "checking for ld version... " >&6; }
27382
27383 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27384 glibcxx_ld_is_gold=yes
27385 fi
27386 ldver=`$LD --version 2>/dev/null |
27387 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'`
27388
27389 glibcxx_gnu_ld_version=`echo $ldver | \
27390 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27392 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27393 fi
27394
27395 # Set --gc-sections.
27396 glibcxx_have_gc_sections=no
27397 if test "$glibcxx_ld_is_gold" = "yes"; then
27398 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27399 glibcxx_have_gc_sections=yes
27400 fi
27401 else
27402 glibcxx_gcsections_min_ld=21602
27403 if test x"$with_gnu_ld" = x"yes" &&
27404 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27405 glibcxx_have_gc_sections=yes
27406 fi
27407 fi
27408 if test "$glibcxx_have_gc_sections" = "yes"; then
27409 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27410 # NB: This flag only works reliably after 2.16.1. Configure tests
27411 # for this are difficult, so hard wire a value that should work.
27412
27413 ac_test_CFLAGS="${CFLAGS+set}"
27414 ac_save_CFLAGS="$CFLAGS"
27415 CFLAGS='-Wl,--gc-sections'
27416
27417 # Check for -Wl,--gc-sections
27418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27419 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27420 if test x$gcc_no_link = xyes; then
27421 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27422 fi
27423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27424 /* end confdefs.h. */
27425 int one(void) { return 1; }
27426 int two(void) { return 2; }
27427
27428 int
27429 main ()
27430 {
27431 two();
27432 ;
27433 return 0;
27434 }
27435 _ACEOF
27436 if ac_fn_c_try_link "$LINENO"; then :
27437 ac_gcsections=yes
27438 else
27439 ac_gcsections=no
27440 fi
27441 rm -f core conftest.err conftest.$ac_objext \
27442 conftest$ac_exeext conftest.$ac_ext
27443 if test "$ac_gcsections" = "yes"; then
27444 rm -f conftest.c
27445 touch conftest.c
27446 if $CC -c conftest.c; then
27447 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27448 grep "Warning: gc-sections option ignored" > /dev/null; then
27449 ac_gcsections=no
27450 fi
27451 fi
27452 rm -f conftest.c conftest.o conftest
27453 fi
27454 if test "$ac_gcsections" = "yes"; then
27455 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27456 fi
27457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27458 $as_echo "$ac_gcsections" >&6; }
27459
27460 if test "$ac_test_CFLAGS" = set; then
27461 CFLAGS="$ac_save_CFLAGS"
27462 else
27463 # this is the suspicious part
27464 CFLAGS=''
27465 fi
27466 fi
27467
27468 # Set -z,relro.
27469 # Note this is only for shared objects.
27470 ac_ld_relro=no
27471 if test x"$with_gnu_ld" = x"yes"; then
27472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27473 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27474 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27475 if test -n "$cxx_z_relo"; then
27476 OPT_LDFLAGS="-Wl,-z,relro"
27477 ac_ld_relro=yes
27478 fi
27479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27480 $as_echo "$ac_ld_relro" >&6; }
27481 fi
27482
27483 # Set linker optimization flags.
27484 if test x"$with_gnu_ld" = x"yes"; then
27485 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27486 fi
27487
27488
27489
27490
27491
27492 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27493 ac_save_CXXFLAGS="$CXXFLAGS"
27494 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27495
27496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27497 $as_echo_n "checking for sin in -lm... " >&6; }
27498 if test "${ac_cv_lib_m_sin+set}" = set; then :
27499 $as_echo_n "(cached) " >&6
27500 else
27501 ac_check_lib_save_LIBS=$LIBS
27502 LIBS="-lm $LIBS"
27503 if test x$gcc_no_link = xyes; then
27504 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27505 fi
27506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27507 /* end confdefs.h. */
27508
27509 /* Override any GCC internal prototype to avoid an error.
27510 Use char because int might match the return type of a GCC
27511 builtin and then its argument prototype would still apply. */
27512 #ifdef __cplusplus
27513 extern "C"
27514 #endif
27515 char sin ();
27516 int
27517 main ()
27518 {
27519 return sin ();
27520 ;
27521 return 0;
27522 }
27523 _ACEOF
27524 if ac_fn_c_try_link "$LINENO"; then :
27525 ac_cv_lib_m_sin=yes
27526 else
27527 ac_cv_lib_m_sin=no
27528 fi
27529 rm -f core conftest.err conftest.$ac_objext \
27530 conftest$ac_exeext conftest.$ac_ext
27531 LIBS=$ac_check_lib_save_LIBS
27532 fi
27533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27534 $as_echo "$ac_cv_lib_m_sin" >&6; }
27535 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27536 libm="-lm"
27537 fi
27538
27539 ac_save_LIBS="$LIBS"
27540 LIBS="$LIBS $libm"
27541
27542
27543
27544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27545 $as_echo_n "checking for isinf declaration... " >&6; }
27546 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27547 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27548 $as_echo_n "(cached) " >&6
27549 else
27550
27551
27552 ac_ext=cpp
27553 ac_cpp='$CXXCPP $CPPFLAGS'
27554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27557
27558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27559 /* end confdefs.h. */
27560 #include <math.h>
27561 #ifdef HAVE_IEEEFP_H
27562 #include <ieeefp.h>
27563 #endif
27564
27565 int
27566 main ()
27567 {
27568 isinf(0);
27569 ;
27570 return 0;
27571 }
27572 _ACEOF
27573 if ac_fn_cxx_try_compile "$LINENO"; then :
27574 glibcxx_cv_func_isinf_use=yes
27575 else
27576 glibcxx_cv_func_isinf_use=no
27577 fi
27578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27579 ac_ext=c
27580 ac_cpp='$CPP $CPPFLAGS'
27581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27584
27585
27586 fi
27587
27588 fi
27589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27590 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27591
27592 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27593 for ac_func in isinf
27594 do :
27595 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27596 if test "x$ac_cv_func_isinf" = x""yes; then :
27597 cat >>confdefs.h <<_ACEOF
27598 #define HAVE_ISINF 1
27599 _ACEOF
27600
27601 fi
27602 done
27603
27604 else
27605
27606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27607 $as_echo_n "checking for _isinf declaration... " >&6; }
27608 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27609 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27610 $as_echo_n "(cached) " >&6
27611 else
27612
27613
27614 ac_ext=cpp
27615 ac_cpp='$CXXCPP $CPPFLAGS'
27616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27619
27620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27621 /* end confdefs.h. */
27622 #include <math.h>
27623 #ifdef HAVE_IEEEFP_H
27624 #include <ieeefp.h>
27625 #endif
27626
27627 int
27628 main ()
27629 {
27630 _isinf(0);
27631 ;
27632 return 0;
27633 }
27634 _ACEOF
27635 if ac_fn_cxx_try_compile "$LINENO"; then :
27636 glibcxx_cv_func__isinf_use=yes
27637 else
27638 glibcxx_cv_func__isinf_use=no
27639 fi
27640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27641 ac_ext=c
27642 ac_cpp='$CPP $CPPFLAGS'
27643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27646
27647
27648 fi
27649
27650 fi
27651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27652 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27653
27654 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27655 for ac_func in _isinf
27656 do :
27657 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27658 if test "x$ac_cv_func__isinf" = x""yes; then :
27659 cat >>confdefs.h <<_ACEOF
27660 #define HAVE__ISINF 1
27661 _ACEOF
27662
27663 fi
27664 done
27665
27666 fi
27667 fi
27668
27669
27670
27671
27672
27673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27674 $as_echo_n "checking for isnan declaration... " >&6; }
27675 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27676 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27677 $as_echo_n "(cached) " >&6
27678 else
27679
27680
27681 ac_ext=cpp
27682 ac_cpp='$CXXCPP $CPPFLAGS'
27683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27686
27687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27688 /* end confdefs.h. */
27689 #include <math.h>
27690 #ifdef HAVE_IEEEFP_H
27691 #include <ieeefp.h>
27692 #endif
27693
27694 int
27695 main ()
27696 {
27697 isnan(0);
27698 ;
27699 return 0;
27700 }
27701 _ACEOF
27702 if ac_fn_cxx_try_compile "$LINENO"; then :
27703 glibcxx_cv_func_isnan_use=yes
27704 else
27705 glibcxx_cv_func_isnan_use=no
27706 fi
27707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27708 ac_ext=c
27709 ac_cpp='$CPP $CPPFLAGS'
27710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27713
27714
27715 fi
27716
27717 fi
27718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27719 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27720
27721 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27722 for ac_func in isnan
27723 do :
27724 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27725 if test "x$ac_cv_func_isnan" = x""yes; then :
27726 cat >>confdefs.h <<_ACEOF
27727 #define HAVE_ISNAN 1
27728 _ACEOF
27729
27730 fi
27731 done
27732
27733 else
27734
27735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27736 $as_echo_n "checking for _isnan declaration... " >&6; }
27737 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27738 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27739 $as_echo_n "(cached) " >&6
27740 else
27741
27742
27743 ac_ext=cpp
27744 ac_cpp='$CXXCPP $CPPFLAGS'
27745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27748
27749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27750 /* end confdefs.h. */
27751 #include <math.h>
27752 #ifdef HAVE_IEEEFP_H
27753 #include <ieeefp.h>
27754 #endif
27755
27756 int
27757 main ()
27758 {
27759 _isnan(0);
27760 ;
27761 return 0;
27762 }
27763 _ACEOF
27764 if ac_fn_cxx_try_compile "$LINENO"; then :
27765 glibcxx_cv_func__isnan_use=yes
27766 else
27767 glibcxx_cv_func__isnan_use=no
27768 fi
27769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27770 ac_ext=c
27771 ac_cpp='$CPP $CPPFLAGS'
27772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27775
27776
27777 fi
27778
27779 fi
27780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27781 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27782
27783 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27784 for ac_func in _isnan
27785 do :
27786 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27787 if test "x$ac_cv_func__isnan" = x""yes; then :
27788 cat >>confdefs.h <<_ACEOF
27789 #define HAVE__ISNAN 1
27790 _ACEOF
27791
27792 fi
27793 done
27794
27795 fi
27796 fi
27797
27798
27799
27800
27801
27802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27803 $as_echo_n "checking for finite declaration... " >&6; }
27804 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27805 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27806 $as_echo_n "(cached) " >&6
27807 else
27808
27809
27810 ac_ext=cpp
27811 ac_cpp='$CXXCPP $CPPFLAGS'
27812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27815
27816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27817 /* end confdefs.h. */
27818 #include <math.h>
27819 #ifdef HAVE_IEEEFP_H
27820 #include <ieeefp.h>
27821 #endif
27822
27823 int
27824 main ()
27825 {
27826 finite(0);
27827 ;
27828 return 0;
27829 }
27830 _ACEOF
27831 if ac_fn_cxx_try_compile "$LINENO"; then :
27832 glibcxx_cv_func_finite_use=yes
27833 else
27834 glibcxx_cv_func_finite_use=no
27835 fi
27836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27837 ac_ext=c
27838 ac_cpp='$CPP $CPPFLAGS'
27839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27842
27843
27844 fi
27845
27846 fi
27847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27848 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27849
27850 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27851 for ac_func in finite
27852 do :
27853 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27854 if test "x$ac_cv_func_finite" = x""yes; then :
27855 cat >>confdefs.h <<_ACEOF
27856 #define HAVE_FINITE 1
27857 _ACEOF
27858
27859 fi
27860 done
27861
27862 else
27863
27864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27865 $as_echo_n "checking for _finite declaration... " >&6; }
27866 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27867 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27868 $as_echo_n "(cached) " >&6
27869 else
27870
27871
27872 ac_ext=cpp
27873 ac_cpp='$CXXCPP $CPPFLAGS'
27874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27877
27878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27879 /* end confdefs.h. */
27880 #include <math.h>
27881 #ifdef HAVE_IEEEFP_H
27882 #include <ieeefp.h>
27883 #endif
27884
27885 int
27886 main ()
27887 {
27888 _finite(0);
27889 ;
27890 return 0;
27891 }
27892 _ACEOF
27893 if ac_fn_cxx_try_compile "$LINENO"; then :
27894 glibcxx_cv_func__finite_use=yes
27895 else
27896 glibcxx_cv_func__finite_use=no
27897 fi
27898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27899 ac_ext=c
27900 ac_cpp='$CPP $CPPFLAGS'
27901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27904
27905
27906 fi
27907
27908 fi
27909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27910 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27911
27912 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27913 for ac_func in _finite
27914 do :
27915 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27916 if test "x$ac_cv_func__finite" = x""yes; then :
27917 cat >>confdefs.h <<_ACEOF
27918 #define HAVE__FINITE 1
27919 _ACEOF
27920
27921 fi
27922 done
27923
27924 fi
27925 fi
27926
27927
27928
27929
27930
27931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27932 $as_echo_n "checking for sincos declaration... " >&6; }
27933 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27934 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27935 $as_echo_n "(cached) " >&6
27936 else
27937
27938
27939 ac_ext=cpp
27940 ac_cpp='$CXXCPP $CPPFLAGS'
27941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27944
27945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27946 /* end confdefs.h. */
27947 #include <math.h>
27948 int
27949 main ()
27950 {
27951 sincos(0, 0, 0);
27952 ;
27953 return 0;
27954 }
27955 _ACEOF
27956 if ac_fn_cxx_try_compile "$LINENO"; then :
27957 glibcxx_cv_func_sincos_use=yes
27958 else
27959 glibcxx_cv_func_sincos_use=no
27960 fi
27961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27962 ac_ext=c
27963 ac_cpp='$CPP $CPPFLAGS'
27964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27967
27968
27969 fi
27970
27971 fi
27972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27973 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27974
27975 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27976 for ac_func in sincos
27977 do :
27978 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27979 if test "x$ac_cv_func_sincos" = x""yes; then :
27980 cat >>confdefs.h <<_ACEOF
27981 #define HAVE_SINCOS 1
27982 _ACEOF
27983
27984 fi
27985 done
27986
27987 else
27988
27989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27990 $as_echo_n "checking for _sincos declaration... " >&6; }
27991 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27992 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27993 $as_echo_n "(cached) " >&6
27994 else
27995
27996
27997 ac_ext=cpp
27998 ac_cpp='$CXXCPP $CPPFLAGS'
27999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28002
28003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28004 /* end confdefs.h. */
28005 #include <math.h>
28006 int
28007 main ()
28008 {
28009 _sincos(0, 0, 0);
28010 ;
28011 return 0;
28012 }
28013 _ACEOF
28014 if ac_fn_cxx_try_compile "$LINENO"; then :
28015 glibcxx_cv_func__sincos_use=yes
28016 else
28017 glibcxx_cv_func__sincos_use=no
28018 fi
28019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28020 ac_ext=c
28021 ac_cpp='$CPP $CPPFLAGS'
28022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28025
28026
28027 fi
28028
28029 fi
28030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28031 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28032
28033 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28034 for ac_func in _sincos
28035 do :
28036 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28037 if test "x$ac_cv_func__sincos" = x""yes; then :
28038 cat >>confdefs.h <<_ACEOF
28039 #define HAVE__SINCOS 1
28040 _ACEOF
28041
28042 fi
28043 done
28044
28045 fi
28046 fi
28047
28048
28049
28050
28051
28052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28053 $as_echo_n "checking for fpclass declaration... " >&6; }
28054 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28055 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28056 $as_echo_n "(cached) " >&6
28057 else
28058
28059
28060 ac_ext=cpp
28061 ac_cpp='$CXXCPP $CPPFLAGS'
28062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28065
28066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28067 /* end confdefs.h. */
28068 #include <math.h>
28069 #ifdef HAVE_IEEEFP_H
28070 #include <ieeefp.h>
28071 #endif
28072
28073 int
28074 main ()
28075 {
28076 fpclass(0);
28077 ;
28078 return 0;
28079 }
28080 _ACEOF
28081 if ac_fn_cxx_try_compile "$LINENO"; then :
28082 glibcxx_cv_func_fpclass_use=yes
28083 else
28084 glibcxx_cv_func_fpclass_use=no
28085 fi
28086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28087 ac_ext=c
28088 ac_cpp='$CPP $CPPFLAGS'
28089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28092
28093
28094 fi
28095
28096 fi
28097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28098 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28099
28100 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28101 for ac_func in fpclass
28102 do :
28103 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28104 if test "x$ac_cv_func_fpclass" = x""yes; then :
28105 cat >>confdefs.h <<_ACEOF
28106 #define HAVE_FPCLASS 1
28107 _ACEOF
28108
28109 fi
28110 done
28111
28112 else
28113
28114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28115 $as_echo_n "checking for _fpclass declaration... " >&6; }
28116 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28117 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28118 $as_echo_n "(cached) " >&6
28119 else
28120
28121
28122 ac_ext=cpp
28123 ac_cpp='$CXXCPP $CPPFLAGS'
28124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28127
28128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28129 /* end confdefs.h. */
28130 #include <math.h>
28131 #ifdef HAVE_IEEEFP_H
28132 #include <ieeefp.h>
28133 #endif
28134
28135 int
28136 main ()
28137 {
28138 _fpclass(0);
28139 ;
28140 return 0;
28141 }
28142 _ACEOF
28143 if ac_fn_cxx_try_compile "$LINENO"; then :
28144 glibcxx_cv_func__fpclass_use=yes
28145 else
28146 glibcxx_cv_func__fpclass_use=no
28147 fi
28148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28149 ac_ext=c
28150 ac_cpp='$CPP $CPPFLAGS'
28151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28154
28155
28156 fi
28157
28158 fi
28159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28160 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28161
28162 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28163 for ac_func in _fpclass
28164 do :
28165 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28166 if test "x$ac_cv_func__fpclass" = x""yes; then :
28167 cat >>confdefs.h <<_ACEOF
28168 #define HAVE__FPCLASS 1
28169 _ACEOF
28170
28171 fi
28172 done
28173
28174 fi
28175 fi
28176
28177
28178
28179
28180
28181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28182 $as_echo_n "checking for qfpclass declaration... " >&6; }
28183 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28184 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28185 $as_echo_n "(cached) " >&6
28186 else
28187
28188
28189 ac_ext=cpp
28190 ac_cpp='$CXXCPP $CPPFLAGS'
28191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28194
28195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28196 /* end confdefs.h. */
28197 #include <math.h>
28198 #ifdef HAVE_IEEEFP_H
28199 #include <ieeefp.h>
28200 #endif
28201
28202 int
28203 main ()
28204 {
28205 qfpclass(0);
28206 ;
28207 return 0;
28208 }
28209 _ACEOF
28210 if ac_fn_cxx_try_compile "$LINENO"; then :
28211 glibcxx_cv_func_qfpclass_use=yes
28212 else
28213 glibcxx_cv_func_qfpclass_use=no
28214 fi
28215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28216 ac_ext=c
28217 ac_cpp='$CPP $CPPFLAGS'
28218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28221
28222
28223 fi
28224
28225 fi
28226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28227 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28228
28229 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28230 for ac_func in qfpclass
28231 do :
28232 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28233 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28234 cat >>confdefs.h <<_ACEOF
28235 #define HAVE_QFPCLASS 1
28236 _ACEOF
28237
28238 fi
28239 done
28240
28241 else
28242
28243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28244 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28245 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28246 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28247 $as_echo_n "(cached) " >&6
28248 else
28249
28250
28251 ac_ext=cpp
28252 ac_cpp='$CXXCPP $CPPFLAGS'
28253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28256
28257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28258 /* end confdefs.h. */
28259 #include <math.h>
28260 #ifdef HAVE_IEEEFP_H
28261 #include <ieeefp.h>
28262 #endif
28263
28264 int
28265 main ()
28266 {
28267 _qfpclass(0);
28268 ;
28269 return 0;
28270 }
28271 _ACEOF
28272 if ac_fn_cxx_try_compile "$LINENO"; then :
28273 glibcxx_cv_func__qfpclass_use=yes
28274 else
28275 glibcxx_cv_func__qfpclass_use=no
28276 fi
28277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28278 ac_ext=c
28279 ac_cpp='$CPP $CPPFLAGS'
28280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28283
28284
28285 fi
28286
28287 fi
28288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28289 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28290
28291 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28292 for ac_func in _qfpclass
28293 do :
28294 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28295 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28296 cat >>confdefs.h <<_ACEOF
28297 #define HAVE__QFPCLASS 1
28298 _ACEOF
28299
28300 fi
28301 done
28302
28303 fi
28304 fi
28305
28306
28307
28308
28309
28310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28311 $as_echo_n "checking for hypot declaration... " >&6; }
28312 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28313 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28314 $as_echo_n "(cached) " >&6
28315 else
28316
28317
28318 ac_ext=cpp
28319 ac_cpp='$CXXCPP $CPPFLAGS'
28320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28323
28324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28325 /* end confdefs.h. */
28326 #include <math.h>
28327 int
28328 main ()
28329 {
28330 hypot(0, 0);
28331 ;
28332 return 0;
28333 }
28334 _ACEOF
28335 if ac_fn_cxx_try_compile "$LINENO"; then :
28336 glibcxx_cv_func_hypot_use=yes
28337 else
28338 glibcxx_cv_func_hypot_use=no
28339 fi
28340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28341 ac_ext=c
28342 ac_cpp='$CPP $CPPFLAGS'
28343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28346
28347
28348 fi
28349
28350 fi
28351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28352 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28353
28354 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28355 for ac_func in hypot
28356 do :
28357 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28358 if test "x$ac_cv_func_hypot" = x""yes; then :
28359 cat >>confdefs.h <<_ACEOF
28360 #define HAVE_HYPOT 1
28361 _ACEOF
28362
28363 fi
28364 done
28365
28366 else
28367
28368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28369 $as_echo_n "checking for _hypot declaration... " >&6; }
28370 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28371 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28372 $as_echo_n "(cached) " >&6
28373 else
28374
28375
28376 ac_ext=cpp
28377 ac_cpp='$CXXCPP $CPPFLAGS'
28378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28381
28382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28383 /* end confdefs.h. */
28384 #include <math.h>
28385 int
28386 main ()
28387 {
28388 _hypot(0, 0);
28389 ;
28390 return 0;
28391 }
28392 _ACEOF
28393 if ac_fn_cxx_try_compile "$LINENO"; then :
28394 glibcxx_cv_func__hypot_use=yes
28395 else
28396 glibcxx_cv_func__hypot_use=no
28397 fi
28398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28399 ac_ext=c
28400 ac_cpp='$CPP $CPPFLAGS'
28401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28404
28405
28406 fi
28407
28408 fi
28409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28410 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28411
28412 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28413 for ac_func in _hypot
28414 do :
28415 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28416 if test "x$ac_cv_func__hypot" = x""yes; then :
28417 cat >>confdefs.h <<_ACEOF
28418 #define HAVE__HYPOT 1
28419 _ACEOF
28420
28421 fi
28422 done
28423
28424 fi
28425 fi
28426
28427
28428
28429
28430
28431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28432 $as_echo_n "checking for float trig functions... " >&6; }
28433 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28434 $as_echo_n "(cached) " >&6
28435 else
28436
28437
28438 ac_ext=cpp
28439 ac_cpp='$CXXCPP $CPPFLAGS'
28440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28443
28444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28445 /* end confdefs.h. */
28446 #include <math.h>
28447 int
28448 main ()
28449 {
28450 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28451 ;
28452 return 0;
28453 }
28454 _ACEOF
28455 if ac_fn_cxx_try_compile "$LINENO"; then :
28456 glibcxx_cv_func_float_trig_use=yes
28457 else
28458 glibcxx_cv_func_float_trig_use=no
28459 fi
28460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28461 ac_ext=c
28462 ac_cpp='$CPP $CPPFLAGS'
28463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28466
28467 fi
28468
28469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28470 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28471 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28472 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28473 do :
28474 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28475 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28476 eval as_val=\$$as_ac_var
28477 if test "x$as_val" = x""yes; then :
28478 cat >>confdefs.h <<_ACEOF
28479 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28480 _ACEOF
28481
28482 fi
28483 done
28484
28485 else
28486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28487 $as_echo_n "checking for _float trig functions... " >&6; }
28488 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28489 $as_echo_n "(cached) " >&6
28490 else
28491
28492
28493 ac_ext=cpp
28494 ac_cpp='$CXXCPP $CPPFLAGS'
28495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28498
28499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28500 /* end confdefs.h. */
28501 #include <math.h>
28502 int
28503 main ()
28504 {
28505 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28506 ;
28507 return 0;
28508 }
28509 _ACEOF
28510 if ac_fn_cxx_try_compile "$LINENO"; then :
28511 glibcxx_cv_func__float_trig_use=yes
28512 else
28513 glibcxx_cv_func__float_trig_use=no
28514 fi
28515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28516 ac_ext=c
28517 ac_cpp='$CPP $CPPFLAGS'
28518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28521
28522 fi
28523
28524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28525 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28526 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28527 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28528 do :
28529 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28530 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28531 eval as_val=\$$as_ac_var
28532 if test "x$as_val" = x""yes; then :
28533 cat >>confdefs.h <<_ACEOF
28534 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28535 _ACEOF
28536
28537 fi
28538 done
28539
28540 fi
28541 fi
28542
28543
28544
28545
28546
28547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28548 $as_echo_n "checking for float round functions... " >&6; }
28549 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28550 $as_echo_n "(cached) " >&6
28551 else
28552
28553
28554 ac_ext=cpp
28555 ac_cpp='$CXXCPP $CPPFLAGS'
28556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28559
28560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28561 /* end confdefs.h. */
28562 #include <math.h>
28563 int
28564 main ()
28565 {
28566 ceilf (0); floorf (0);
28567 ;
28568 return 0;
28569 }
28570 _ACEOF
28571 if ac_fn_cxx_try_compile "$LINENO"; then :
28572 glibcxx_cv_func_float_round_use=yes
28573 else
28574 glibcxx_cv_func_float_round_use=no
28575 fi
28576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28577 ac_ext=c
28578 ac_cpp='$CPP $CPPFLAGS'
28579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28582
28583 fi
28584
28585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28586 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28587 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28588 for ac_func in ceilf floorf
28589 do :
28590 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28591 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28592 eval as_val=\$$as_ac_var
28593 if test "x$as_val" = x""yes; then :
28594 cat >>confdefs.h <<_ACEOF
28595 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28596 _ACEOF
28597
28598 fi
28599 done
28600
28601 else
28602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28603 $as_echo_n "checking for _float round functions... " >&6; }
28604 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28605 $as_echo_n "(cached) " >&6
28606 else
28607
28608
28609 ac_ext=cpp
28610 ac_cpp='$CXXCPP $CPPFLAGS'
28611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28614
28615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28616 /* end confdefs.h. */
28617 #include <math.h>
28618 int
28619 main ()
28620 {
28621 _ceilf (0); _floorf (0);
28622 ;
28623 return 0;
28624 }
28625 _ACEOF
28626 if ac_fn_cxx_try_compile "$LINENO"; then :
28627 glibcxx_cv_func__float_round_use=yes
28628 else
28629 glibcxx_cv_func__float_round_use=no
28630 fi
28631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28632 ac_ext=c
28633 ac_cpp='$CPP $CPPFLAGS'
28634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28637
28638 fi
28639
28640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28641 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28642 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28643 for ac_func in _ceilf _floorf
28644 do :
28645 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28646 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28647 eval as_val=\$$as_ac_var
28648 if test "x$as_val" = x""yes; then :
28649 cat >>confdefs.h <<_ACEOF
28650 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28651 _ACEOF
28652
28653 fi
28654 done
28655
28656 fi
28657 fi
28658
28659
28660
28661
28662
28663
28664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28665 $as_echo_n "checking for expf declaration... " >&6; }
28666 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28667 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28668 $as_echo_n "(cached) " >&6
28669 else
28670
28671
28672 ac_ext=cpp
28673 ac_cpp='$CXXCPP $CPPFLAGS'
28674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28677
28678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28679 /* end confdefs.h. */
28680 #include <math.h>
28681 #ifdef HAVE_IEEEFP_H
28682 #include <ieeefp.h>
28683 #endif
28684
28685 int
28686 main ()
28687 {
28688 expf(0);
28689 ;
28690 return 0;
28691 }
28692 _ACEOF
28693 if ac_fn_cxx_try_compile "$LINENO"; then :
28694 glibcxx_cv_func_expf_use=yes
28695 else
28696 glibcxx_cv_func_expf_use=no
28697 fi
28698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28699 ac_ext=c
28700 ac_cpp='$CPP $CPPFLAGS'
28701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28704
28705
28706 fi
28707
28708 fi
28709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28710 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28711
28712 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28713 for ac_func in expf
28714 do :
28715 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28716 if test "x$ac_cv_func_expf" = x""yes; then :
28717 cat >>confdefs.h <<_ACEOF
28718 #define HAVE_EXPF 1
28719 _ACEOF
28720
28721 fi
28722 done
28723
28724 else
28725
28726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28727 $as_echo_n "checking for _expf declaration... " >&6; }
28728 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28729 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28730 $as_echo_n "(cached) " >&6
28731 else
28732
28733
28734 ac_ext=cpp
28735 ac_cpp='$CXXCPP $CPPFLAGS'
28736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28739
28740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28741 /* end confdefs.h. */
28742 #include <math.h>
28743 #ifdef HAVE_IEEEFP_H
28744 #include <ieeefp.h>
28745 #endif
28746
28747 int
28748 main ()
28749 {
28750 _expf(0);
28751 ;
28752 return 0;
28753 }
28754 _ACEOF
28755 if ac_fn_cxx_try_compile "$LINENO"; then :
28756 glibcxx_cv_func__expf_use=yes
28757 else
28758 glibcxx_cv_func__expf_use=no
28759 fi
28760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28761 ac_ext=c
28762 ac_cpp='$CPP $CPPFLAGS'
28763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28766
28767
28768 fi
28769
28770 fi
28771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28772 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28773
28774 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28775 for ac_func in _expf
28776 do :
28777 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28778 if test "x$ac_cv_func__expf" = x""yes; then :
28779 cat >>confdefs.h <<_ACEOF
28780 #define HAVE__EXPF 1
28781 _ACEOF
28782
28783 fi
28784 done
28785
28786 fi
28787 fi
28788
28789
28790
28791
28792
28793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28794 $as_echo_n "checking for isnanf declaration... " >&6; }
28795 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28796 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28797 $as_echo_n "(cached) " >&6
28798 else
28799
28800
28801 ac_ext=cpp
28802 ac_cpp='$CXXCPP $CPPFLAGS'
28803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28806
28807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28808 /* end confdefs.h. */
28809 #include <math.h>
28810 #ifdef HAVE_IEEEFP_H
28811 #include <ieeefp.h>
28812 #endif
28813
28814 int
28815 main ()
28816 {
28817 isnanf(0);
28818 ;
28819 return 0;
28820 }
28821 _ACEOF
28822 if ac_fn_cxx_try_compile "$LINENO"; then :
28823 glibcxx_cv_func_isnanf_use=yes
28824 else
28825 glibcxx_cv_func_isnanf_use=no
28826 fi
28827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28828 ac_ext=c
28829 ac_cpp='$CPP $CPPFLAGS'
28830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28833
28834
28835 fi
28836
28837 fi
28838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28839 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28840
28841 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28842 for ac_func in isnanf
28843 do :
28844 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28845 if test "x$ac_cv_func_isnanf" = x""yes; then :
28846 cat >>confdefs.h <<_ACEOF
28847 #define HAVE_ISNANF 1
28848 _ACEOF
28849
28850 fi
28851 done
28852
28853 else
28854
28855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28856 $as_echo_n "checking for _isnanf declaration... " >&6; }
28857 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28858 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28859 $as_echo_n "(cached) " >&6
28860 else
28861
28862
28863 ac_ext=cpp
28864 ac_cpp='$CXXCPP $CPPFLAGS'
28865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28868
28869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28870 /* end confdefs.h. */
28871 #include <math.h>
28872 #ifdef HAVE_IEEEFP_H
28873 #include <ieeefp.h>
28874 #endif
28875
28876 int
28877 main ()
28878 {
28879 _isnanf(0);
28880 ;
28881 return 0;
28882 }
28883 _ACEOF
28884 if ac_fn_cxx_try_compile "$LINENO"; then :
28885 glibcxx_cv_func__isnanf_use=yes
28886 else
28887 glibcxx_cv_func__isnanf_use=no
28888 fi
28889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28890 ac_ext=c
28891 ac_cpp='$CPP $CPPFLAGS'
28892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28895
28896
28897 fi
28898
28899 fi
28900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28901 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28902
28903 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28904 for ac_func in _isnanf
28905 do :
28906 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28907 if test "x$ac_cv_func__isnanf" = x""yes; then :
28908 cat >>confdefs.h <<_ACEOF
28909 #define HAVE__ISNANF 1
28910 _ACEOF
28911
28912 fi
28913 done
28914
28915 fi
28916 fi
28917
28918
28919
28920
28921
28922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28923 $as_echo_n "checking for isinff declaration... " >&6; }
28924 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28925 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28926 $as_echo_n "(cached) " >&6
28927 else
28928
28929
28930 ac_ext=cpp
28931 ac_cpp='$CXXCPP $CPPFLAGS'
28932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28935
28936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28937 /* end confdefs.h. */
28938 #include <math.h>
28939 #ifdef HAVE_IEEEFP_H
28940 #include <ieeefp.h>
28941 #endif
28942
28943 int
28944 main ()
28945 {
28946 isinff(0);
28947 ;
28948 return 0;
28949 }
28950 _ACEOF
28951 if ac_fn_cxx_try_compile "$LINENO"; then :
28952 glibcxx_cv_func_isinff_use=yes
28953 else
28954 glibcxx_cv_func_isinff_use=no
28955 fi
28956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28957 ac_ext=c
28958 ac_cpp='$CPP $CPPFLAGS'
28959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28962
28963
28964 fi
28965
28966 fi
28967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28968 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28969
28970 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28971 for ac_func in isinff
28972 do :
28973 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28974 if test "x$ac_cv_func_isinff" = x""yes; then :
28975 cat >>confdefs.h <<_ACEOF
28976 #define HAVE_ISINFF 1
28977 _ACEOF
28978
28979 fi
28980 done
28981
28982 else
28983
28984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28985 $as_echo_n "checking for _isinff declaration... " >&6; }
28986 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28987 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28988 $as_echo_n "(cached) " >&6
28989 else
28990
28991
28992 ac_ext=cpp
28993 ac_cpp='$CXXCPP $CPPFLAGS'
28994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28997
28998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28999 /* end confdefs.h. */
29000 #include <math.h>
29001 #ifdef HAVE_IEEEFP_H
29002 #include <ieeefp.h>
29003 #endif
29004
29005 int
29006 main ()
29007 {
29008 _isinff(0);
29009 ;
29010 return 0;
29011 }
29012 _ACEOF
29013 if ac_fn_cxx_try_compile "$LINENO"; then :
29014 glibcxx_cv_func__isinff_use=yes
29015 else
29016 glibcxx_cv_func__isinff_use=no
29017 fi
29018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29019 ac_ext=c
29020 ac_cpp='$CPP $CPPFLAGS'
29021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29024
29025
29026 fi
29027
29028 fi
29029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29030 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29031
29032 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29033 for ac_func in _isinff
29034 do :
29035 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29036 if test "x$ac_cv_func__isinff" = x""yes; then :
29037 cat >>confdefs.h <<_ACEOF
29038 #define HAVE__ISINFF 1
29039 _ACEOF
29040
29041 fi
29042 done
29043
29044 fi
29045 fi
29046
29047
29048
29049
29050
29051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29052 $as_echo_n "checking for atan2f declaration... " >&6; }
29053 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29054 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29055 $as_echo_n "(cached) " >&6
29056 else
29057
29058
29059 ac_ext=cpp
29060 ac_cpp='$CXXCPP $CPPFLAGS'
29061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29064
29065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29066 /* end confdefs.h. */
29067 #include <math.h>
29068 int
29069 main ()
29070 {
29071 atan2f(0, 0);
29072 ;
29073 return 0;
29074 }
29075 _ACEOF
29076 if ac_fn_cxx_try_compile "$LINENO"; then :
29077 glibcxx_cv_func_atan2f_use=yes
29078 else
29079 glibcxx_cv_func_atan2f_use=no
29080 fi
29081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29082 ac_ext=c
29083 ac_cpp='$CPP $CPPFLAGS'
29084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29087
29088
29089 fi
29090
29091 fi
29092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29093 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29094
29095 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29096 for ac_func in atan2f
29097 do :
29098 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29099 if test "x$ac_cv_func_atan2f" = x""yes; then :
29100 cat >>confdefs.h <<_ACEOF
29101 #define HAVE_ATAN2F 1
29102 _ACEOF
29103
29104 fi
29105 done
29106
29107 else
29108
29109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29110 $as_echo_n "checking for _atan2f declaration... " >&6; }
29111 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29112 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29113 $as_echo_n "(cached) " >&6
29114 else
29115
29116
29117 ac_ext=cpp
29118 ac_cpp='$CXXCPP $CPPFLAGS'
29119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29122
29123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29124 /* end confdefs.h. */
29125 #include <math.h>
29126 int
29127 main ()
29128 {
29129 _atan2f(0, 0);
29130 ;
29131 return 0;
29132 }
29133 _ACEOF
29134 if ac_fn_cxx_try_compile "$LINENO"; then :
29135 glibcxx_cv_func__atan2f_use=yes
29136 else
29137 glibcxx_cv_func__atan2f_use=no
29138 fi
29139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29140 ac_ext=c
29141 ac_cpp='$CPP $CPPFLAGS'
29142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29145
29146
29147 fi
29148
29149 fi
29150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29151 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29152
29153 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29154 for ac_func in _atan2f
29155 do :
29156 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29157 if test "x$ac_cv_func__atan2f" = x""yes; then :
29158 cat >>confdefs.h <<_ACEOF
29159 #define HAVE__ATAN2F 1
29160 _ACEOF
29161
29162 fi
29163 done
29164
29165 fi
29166 fi
29167
29168
29169
29170
29171
29172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29173 $as_echo_n "checking for fabsf declaration... " >&6; }
29174 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29175 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29176 $as_echo_n "(cached) " >&6
29177 else
29178
29179
29180 ac_ext=cpp
29181 ac_cpp='$CXXCPP $CPPFLAGS'
29182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29185
29186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29187 /* end confdefs.h. */
29188 #include <math.h>
29189 #ifdef HAVE_IEEEFP_H
29190 #include <ieeefp.h>
29191 #endif
29192
29193 int
29194 main ()
29195 {
29196 fabsf(0);
29197 ;
29198 return 0;
29199 }
29200 _ACEOF
29201 if ac_fn_cxx_try_compile "$LINENO"; then :
29202 glibcxx_cv_func_fabsf_use=yes
29203 else
29204 glibcxx_cv_func_fabsf_use=no
29205 fi
29206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29207 ac_ext=c
29208 ac_cpp='$CPP $CPPFLAGS'
29209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29212
29213
29214 fi
29215
29216 fi
29217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29218 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29219
29220 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29221 for ac_func in fabsf
29222 do :
29223 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29224 if test "x$ac_cv_func_fabsf" = x""yes; then :
29225 cat >>confdefs.h <<_ACEOF
29226 #define HAVE_FABSF 1
29227 _ACEOF
29228
29229 fi
29230 done
29231
29232 else
29233
29234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29235 $as_echo_n "checking for _fabsf declaration... " >&6; }
29236 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29237 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29238 $as_echo_n "(cached) " >&6
29239 else
29240
29241
29242 ac_ext=cpp
29243 ac_cpp='$CXXCPP $CPPFLAGS'
29244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29247
29248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29249 /* end confdefs.h. */
29250 #include <math.h>
29251 #ifdef HAVE_IEEEFP_H
29252 #include <ieeefp.h>
29253 #endif
29254
29255 int
29256 main ()
29257 {
29258 _fabsf(0);
29259 ;
29260 return 0;
29261 }
29262 _ACEOF
29263 if ac_fn_cxx_try_compile "$LINENO"; then :
29264 glibcxx_cv_func__fabsf_use=yes
29265 else
29266 glibcxx_cv_func__fabsf_use=no
29267 fi
29268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29269 ac_ext=c
29270 ac_cpp='$CPP $CPPFLAGS'
29271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29274
29275
29276 fi
29277
29278 fi
29279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29280 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29281
29282 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29283 for ac_func in _fabsf
29284 do :
29285 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29286 if test "x$ac_cv_func__fabsf" = x""yes; then :
29287 cat >>confdefs.h <<_ACEOF
29288 #define HAVE__FABSF 1
29289 _ACEOF
29290
29291 fi
29292 done
29293
29294 fi
29295 fi
29296
29297
29298
29299
29300
29301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29302 $as_echo_n "checking for fmodf declaration... " >&6; }
29303 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29304 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29305 $as_echo_n "(cached) " >&6
29306 else
29307
29308
29309 ac_ext=cpp
29310 ac_cpp='$CXXCPP $CPPFLAGS'
29311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29314
29315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29316 /* end confdefs.h. */
29317 #include <math.h>
29318 int
29319 main ()
29320 {
29321 fmodf(0, 0);
29322 ;
29323 return 0;
29324 }
29325 _ACEOF
29326 if ac_fn_cxx_try_compile "$LINENO"; then :
29327 glibcxx_cv_func_fmodf_use=yes
29328 else
29329 glibcxx_cv_func_fmodf_use=no
29330 fi
29331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29332 ac_ext=c
29333 ac_cpp='$CPP $CPPFLAGS'
29334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29337
29338
29339 fi
29340
29341 fi
29342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29343 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29344
29345 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29346 for ac_func in fmodf
29347 do :
29348 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29349 if test "x$ac_cv_func_fmodf" = x""yes; then :
29350 cat >>confdefs.h <<_ACEOF
29351 #define HAVE_FMODF 1
29352 _ACEOF
29353
29354 fi
29355 done
29356
29357 else
29358
29359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29360 $as_echo_n "checking for _fmodf declaration... " >&6; }
29361 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29362 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29363 $as_echo_n "(cached) " >&6
29364 else
29365
29366
29367 ac_ext=cpp
29368 ac_cpp='$CXXCPP $CPPFLAGS'
29369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29372
29373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29374 /* end confdefs.h. */
29375 #include <math.h>
29376 int
29377 main ()
29378 {
29379 _fmodf(0, 0);
29380 ;
29381 return 0;
29382 }
29383 _ACEOF
29384 if ac_fn_cxx_try_compile "$LINENO"; then :
29385 glibcxx_cv_func__fmodf_use=yes
29386 else
29387 glibcxx_cv_func__fmodf_use=no
29388 fi
29389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29390 ac_ext=c
29391 ac_cpp='$CPP $CPPFLAGS'
29392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29395
29396
29397 fi
29398
29399 fi
29400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29401 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29402
29403 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29404 for ac_func in _fmodf
29405 do :
29406 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29407 if test "x$ac_cv_func__fmodf" = x""yes; then :
29408 cat >>confdefs.h <<_ACEOF
29409 #define HAVE__FMODF 1
29410 _ACEOF
29411
29412 fi
29413 done
29414
29415 fi
29416 fi
29417
29418
29419
29420
29421
29422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29423 $as_echo_n "checking for frexpf declaration... " >&6; }
29424 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29425 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29426 $as_echo_n "(cached) " >&6
29427 else
29428
29429
29430 ac_ext=cpp
29431 ac_cpp='$CXXCPP $CPPFLAGS'
29432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29435
29436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29437 /* end confdefs.h. */
29438 #include <math.h>
29439 int
29440 main ()
29441 {
29442 frexpf(0, 0);
29443 ;
29444 return 0;
29445 }
29446 _ACEOF
29447 if ac_fn_cxx_try_compile "$LINENO"; then :
29448 glibcxx_cv_func_frexpf_use=yes
29449 else
29450 glibcxx_cv_func_frexpf_use=no
29451 fi
29452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29453 ac_ext=c
29454 ac_cpp='$CPP $CPPFLAGS'
29455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29458
29459
29460 fi
29461
29462 fi
29463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29464 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29465
29466 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29467 for ac_func in frexpf
29468 do :
29469 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29470 if test "x$ac_cv_func_frexpf" = x""yes; then :
29471 cat >>confdefs.h <<_ACEOF
29472 #define HAVE_FREXPF 1
29473 _ACEOF
29474
29475 fi
29476 done
29477
29478 else
29479
29480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29481 $as_echo_n "checking for _frexpf declaration... " >&6; }
29482 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29483 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29484 $as_echo_n "(cached) " >&6
29485 else
29486
29487
29488 ac_ext=cpp
29489 ac_cpp='$CXXCPP $CPPFLAGS'
29490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29493
29494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29495 /* end confdefs.h. */
29496 #include <math.h>
29497 int
29498 main ()
29499 {
29500 _frexpf(0, 0);
29501 ;
29502 return 0;
29503 }
29504 _ACEOF
29505 if ac_fn_cxx_try_compile "$LINENO"; then :
29506 glibcxx_cv_func__frexpf_use=yes
29507 else
29508 glibcxx_cv_func__frexpf_use=no
29509 fi
29510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29511 ac_ext=c
29512 ac_cpp='$CPP $CPPFLAGS'
29513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29516
29517
29518 fi
29519
29520 fi
29521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29522 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29523
29524 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29525 for ac_func in _frexpf
29526 do :
29527 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29528 if test "x$ac_cv_func__frexpf" = x""yes; then :
29529 cat >>confdefs.h <<_ACEOF
29530 #define HAVE__FREXPF 1
29531 _ACEOF
29532
29533 fi
29534 done
29535
29536 fi
29537 fi
29538
29539
29540
29541
29542
29543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29544 $as_echo_n "checking for hypotf declaration... " >&6; }
29545 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29546 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29547 $as_echo_n "(cached) " >&6
29548 else
29549
29550
29551 ac_ext=cpp
29552 ac_cpp='$CXXCPP $CPPFLAGS'
29553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29556
29557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29558 /* end confdefs.h. */
29559 #include <math.h>
29560 int
29561 main ()
29562 {
29563 hypotf(0, 0);
29564 ;
29565 return 0;
29566 }
29567 _ACEOF
29568 if ac_fn_cxx_try_compile "$LINENO"; then :
29569 glibcxx_cv_func_hypotf_use=yes
29570 else
29571 glibcxx_cv_func_hypotf_use=no
29572 fi
29573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29574 ac_ext=c
29575 ac_cpp='$CPP $CPPFLAGS'
29576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29579
29580
29581 fi
29582
29583 fi
29584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29585 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29586
29587 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29588 for ac_func in hypotf
29589 do :
29590 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29591 if test "x$ac_cv_func_hypotf" = x""yes; then :
29592 cat >>confdefs.h <<_ACEOF
29593 #define HAVE_HYPOTF 1
29594 _ACEOF
29595
29596 fi
29597 done
29598
29599 else
29600
29601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29602 $as_echo_n "checking for _hypotf declaration... " >&6; }
29603 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29604 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29605 $as_echo_n "(cached) " >&6
29606 else
29607
29608
29609 ac_ext=cpp
29610 ac_cpp='$CXXCPP $CPPFLAGS'
29611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29614
29615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29616 /* end confdefs.h. */
29617 #include <math.h>
29618 int
29619 main ()
29620 {
29621 _hypotf(0, 0);
29622 ;
29623 return 0;
29624 }
29625 _ACEOF
29626 if ac_fn_cxx_try_compile "$LINENO"; then :
29627 glibcxx_cv_func__hypotf_use=yes
29628 else
29629 glibcxx_cv_func__hypotf_use=no
29630 fi
29631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29632 ac_ext=c
29633 ac_cpp='$CPP $CPPFLAGS'
29634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29637
29638
29639 fi
29640
29641 fi
29642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29643 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29644
29645 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29646 for ac_func in _hypotf
29647 do :
29648 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29649 if test "x$ac_cv_func__hypotf" = x""yes; then :
29650 cat >>confdefs.h <<_ACEOF
29651 #define HAVE__HYPOTF 1
29652 _ACEOF
29653
29654 fi
29655 done
29656
29657 fi
29658 fi
29659
29660
29661
29662
29663
29664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29665 $as_echo_n "checking for ldexpf declaration... " >&6; }
29666 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29667 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29668 $as_echo_n "(cached) " >&6
29669 else
29670
29671
29672 ac_ext=cpp
29673 ac_cpp='$CXXCPP $CPPFLAGS'
29674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29677
29678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29679 /* end confdefs.h. */
29680 #include <math.h>
29681 int
29682 main ()
29683 {
29684 ldexpf(0, 0);
29685 ;
29686 return 0;
29687 }
29688 _ACEOF
29689 if ac_fn_cxx_try_compile "$LINENO"; then :
29690 glibcxx_cv_func_ldexpf_use=yes
29691 else
29692 glibcxx_cv_func_ldexpf_use=no
29693 fi
29694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29695 ac_ext=c
29696 ac_cpp='$CPP $CPPFLAGS'
29697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29700
29701
29702 fi
29703
29704 fi
29705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29706 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29707
29708 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29709 for ac_func in ldexpf
29710 do :
29711 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29712 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29713 cat >>confdefs.h <<_ACEOF
29714 #define HAVE_LDEXPF 1
29715 _ACEOF
29716
29717 fi
29718 done
29719
29720 else
29721
29722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29723 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29724 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29725 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29726 $as_echo_n "(cached) " >&6
29727 else
29728
29729
29730 ac_ext=cpp
29731 ac_cpp='$CXXCPP $CPPFLAGS'
29732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29735
29736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29737 /* end confdefs.h. */
29738 #include <math.h>
29739 int
29740 main ()
29741 {
29742 _ldexpf(0, 0);
29743 ;
29744 return 0;
29745 }
29746 _ACEOF
29747 if ac_fn_cxx_try_compile "$LINENO"; then :
29748 glibcxx_cv_func__ldexpf_use=yes
29749 else
29750 glibcxx_cv_func__ldexpf_use=no
29751 fi
29752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29753 ac_ext=c
29754 ac_cpp='$CPP $CPPFLAGS'
29755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29758
29759
29760 fi
29761
29762 fi
29763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29764 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29765
29766 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29767 for ac_func in _ldexpf
29768 do :
29769 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29770 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29771 cat >>confdefs.h <<_ACEOF
29772 #define HAVE__LDEXPF 1
29773 _ACEOF
29774
29775 fi
29776 done
29777
29778 fi
29779 fi
29780
29781
29782
29783
29784
29785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29786 $as_echo_n "checking for logf declaration... " >&6; }
29787 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29788 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29789 $as_echo_n "(cached) " >&6
29790 else
29791
29792
29793 ac_ext=cpp
29794 ac_cpp='$CXXCPP $CPPFLAGS'
29795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29798
29799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29800 /* end confdefs.h. */
29801 #include <math.h>
29802 #ifdef HAVE_IEEEFP_H
29803 #include <ieeefp.h>
29804 #endif
29805
29806 int
29807 main ()
29808 {
29809 logf(0);
29810 ;
29811 return 0;
29812 }
29813 _ACEOF
29814 if ac_fn_cxx_try_compile "$LINENO"; then :
29815 glibcxx_cv_func_logf_use=yes
29816 else
29817 glibcxx_cv_func_logf_use=no
29818 fi
29819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29820 ac_ext=c
29821 ac_cpp='$CPP $CPPFLAGS'
29822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29825
29826
29827 fi
29828
29829 fi
29830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29831 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29832
29833 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29834 for ac_func in logf
29835 do :
29836 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29837 if test "x$ac_cv_func_logf" = x""yes; then :
29838 cat >>confdefs.h <<_ACEOF
29839 #define HAVE_LOGF 1
29840 _ACEOF
29841
29842 fi
29843 done
29844
29845 else
29846
29847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29848 $as_echo_n "checking for _logf declaration... " >&6; }
29849 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29850 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29851 $as_echo_n "(cached) " >&6
29852 else
29853
29854
29855 ac_ext=cpp
29856 ac_cpp='$CXXCPP $CPPFLAGS'
29857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29860
29861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29862 /* end confdefs.h. */
29863 #include <math.h>
29864 #ifdef HAVE_IEEEFP_H
29865 #include <ieeefp.h>
29866 #endif
29867
29868 int
29869 main ()
29870 {
29871 _logf(0);
29872 ;
29873 return 0;
29874 }
29875 _ACEOF
29876 if ac_fn_cxx_try_compile "$LINENO"; then :
29877 glibcxx_cv_func__logf_use=yes
29878 else
29879 glibcxx_cv_func__logf_use=no
29880 fi
29881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29882 ac_ext=c
29883 ac_cpp='$CPP $CPPFLAGS'
29884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29887
29888
29889 fi
29890
29891 fi
29892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29893 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29894
29895 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29896 for ac_func in _logf
29897 do :
29898 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29899 if test "x$ac_cv_func__logf" = x""yes; then :
29900 cat >>confdefs.h <<_ACEOF
29901 #define HAVE__LOGF 1
29902 _ACEOF
29903
29904 fi
29905 done
29906
29907 fi
29908 fi
29909
29910
29911
29912
29913
29914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29915 $as_echo_n "checking for log10f declaration... " >&6; }
29916 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29917 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29918 $as_echo_n "(cached) " >&6
29919 else
29920
29921
29922 ac_ext=cpp
29923 ac_cpp='$CXXCPP $CPPFLAGS'
29924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29927
29928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29929 /* end confdefs.h. */
29930 #include <math.h>
29931 #ifdef HAVE_IEEEFP_H
29932 #include <ieeefp.h>
29933 #endif
29934
29935 int
29936 main ()
29937 {
29938 log10f(0);
29939 ;
29940 return 0;
29941 }
29942 _ACEOF
29943 if ac_fn_cxx_try_compile "$LINENO"; then :
29944 glibcxx_cv_func_log10f_use=yes
29945 else
29946 glibcxx_cv_func_log10f_use=no
29947 fi
29948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29949 ac_ext=c
29950 ac_cpp='$CPP $CPPFLAGS'
29951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29954
29955
29956 fi
29957
29958 fi
29959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29960 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29961
29962 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29963 for ac_func in log10f
29964 do :
29965 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29966 if test "x$ac_cv_func_log10f" = x""yes; then :
29967 cat >>confdefs.h <<_ACEOF
29968 #define HAVE_LOG10F 1
29969 _ACEOF
29970
29971 fi
29972 done
29973
29974 else
29975
29976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29977 $as_echo_n "checking for _log10f declaration... " >&6; }
29978 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29979 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29980 $as_echo_n "(cached) " >&6
29981 else
29982
29983
29984 ac_ext=cpp
29985 ac_cpp='$CXXCPP $CPPFLAGS'
29986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29989
29990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29991 /* end confdefs.h. */
29992 #include <math.h>
29993 #ifdef HAVE_IEEEFP_H
29994 #include <ieeefp.h>
29995 #endif
29996
29997 int
29998 main ()
29999 {
30000 _log10f(0);
30001 ;
30002 return 0;
30003 }
30004 _ACEOF
30005 if ac_fn_cxx_try_compile "$LINENO"; then :
30006 glibcxx_cv_func__log10f_use=yes
30007 else
30008 glibcxx_cv_func__log10f_use=no
30009 fi
30010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30011 ac_ext=c
30012 ac_cpp='$CPP $CPPFLAGS'
30013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30016
30017
30018 fi
30019
30020 fi
30021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30022 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30023
30024 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30025 for ac_func in _log10f
30026 do :
30027 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30028 if test "x$ac_cv_func__log10f" = x""yes; then :
30029 cat >>confdefs.h <<_ACEOF
30030 #define HAVE__LOG10F 1
30031 _ACEOF
30032
30033 fi
30034 done
30035
30036 fi
30037 fi
30038
30039
30040
30041
30042
30043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30044 $as_echo_n "checking for modff declaration... " >&6; }
30045 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30046 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30047 $as_echo_n "(cached) " >&6
30048 else
30049
30050
30051 ac_ext=cpp
30052 ac_cpp='$CXXCPP $CPPFLAGS'
30053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30056
30057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30058 /* end confdefs.h. */
30059 #include <math.h>
30060 int
30061 main ()
30062 {
30063 modff(0, 0);
30064 ;
30065 return 0;
30066 }
30067 _ACEOF
30068 if ac_fn_cxx_try_compile "$LINENO"; then :
30069 glibcxx_cv_func_modff_use=yes
30070 else
30071 glibcxx_cv_func_modff_use=no
30072 fi
30073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30074 ac_ext=c
30075 ac_cpp='$CPP $CPPFLAGS'
30076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30079
30080
30081 fi
30082
30083 fi
30084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30085 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30086
30087 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30088 for ac_func in modff
30089 do :
30090 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30091 if test "x$ac_cv_func_modff" = x""yes; then :
30092 cat >>confdefs.h <<_ACEOF
30093 #define HAVE_MODFF 1
30094 _ACEOF
30095
30096 fi
30097 done
30098
30099 else
30100
30101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30102 $as_echo_n "checking for _modff declaration... " >&6; }
30103 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30104 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30105 $as_echo_n "(cached) " >&6
30106 else
30107
30108
30109 ac_ext=cpp
30110 ac_cpp='$CXXCPP $CPPFLAGS'
30111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30114
30115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30116 /* end confdefs.h. */
30117 #include <math.h>
30118 int
30119 main ()
30120 {
30121 _modff(0, 0);
30122 ;
30123 return 0;
30124 }
30125 _ACEOF
30126 if ac_fn_cxx_try_compile "$LINENO"; then :
30127 glibcxx_cv_func__modff_use=yes
30128 else
30129 glibcxx_cv_func__modff_use=no
30130 fi
30131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30132 ac_ext=c
30133 ac_cpp='$CPP $CPPFLAGS'
30134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30137
30138
30139 fi
30140
30141 fi
30142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30143 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30144
30145 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30146 for ac_func in _modff
30147 do :
30148 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30149 if test "x$ac_cv_func__modff" = x""yes; then :
30150 cat >>confdefs.h <<_ACEOF
30151 #define HAVE__MODFF 1
30152 _ACEOF
30153
30154 fi
30155 done
30156
30157 fi
30158 fi
30159
30160
30161
30162
30163
30164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30165 $as_echo_n "checking for modf declaration... " >&6; }
30166 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30167 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30168 $as_echo_n "(cached) " >&6
30169 else
30170
30171
30172 ac_ext=cpp
30173 ac_cpp='$CXXCPP $CPPFLAGS'
30174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30177
30178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30179 /* end confdefs.h. */
30180 #include <math.h>
30181 int
30182 main ()
30183 {
30184 modf(0, 0);
30185 ;
30186 return 0;
30187 }
30188 _ACEOF
30189 if ac_fn_cxx_try_compile "$LINENO"; then :
30190 glibcxx_cv_func_modf_use=yes
30191 else
30192 glibcxx_cv_func_modf_use=no
30193 fi
30194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30195 ac_ext=c
30196 ac_cpp='$CPP $CPPFLAGS'
30197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30200
30201
30202 fi
30203
30204 fi
30205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30206 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30207
30208 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30209 for ac_func in modf
30210 do :
30211 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30212 if test "x$ac_cv_func_modf" = x""yes; then :
30213 cat >>confdefs.h <<_ACEOF
30214 #define HAVE_MODF 1
30215 _ACEOF
30216
30217 fi
30218 done
30219
30220 else
30221
30222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30223 $as_echo_n "checking for _modf declaration... " >&6; }
30224 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30225 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30226 $as_echo_n "(cached) " >&6
30227 else
30228
30229
30230 ac_ext=cpp
30231 ac_cpp='$CXXCPP $CPPFLAGS'
30232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30235
30236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30237 /* end confdefs.h. */
30238 #include <math.h>
30239 int
30240 main ()
30241 {
30242 _modf(0, 0);
30243 ;
30244 return 0;
30245 }
30246 _ACEOF
30247 if ac_fn_cxx_try_compile "$LINENO"; then :
30248 glibcxx_cv_func__modf_use=yes
30249 else
30250 glibcxx_cv_func__modf_use=no
30251 fi
30252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30253 ac_ext=c
30254 ac_cpp='$CPP $CPPFLAGS'
30255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30258
30259
30260 fi
30261
30262 fi
30263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30264 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30265
30266 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30267 for ac_func in _modf
30268 do :
30269 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30270 if test "x$ac_cv_func__modf" = x""yes; then :
30271 cat >>confdefs.h <<_ACEOF
30272 #define HAVE__MODF 1
30273 _ACEOF
30274
30275 fi
30276 done
30277
30278 fi
30279 fi
30280
30281
30282
30283
30284
30285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30286 $as_echo_n "checking for powf declaration... " >&6; }
30287 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30288 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30289 $as_echo_n "(cached) " >&6
30290 else
30291
30292
30293 ac_ext=cpp
30294 ac_cpp='$CXXCPP $CPPFLAGS'
30295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30298
30299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30300 /* end confdefs.h. */
30301 #include <math.h>
30302 int
30303 main ()
30304 {
30305 powf(0, 0);
30306 ;
30307 return 0;
30308 }
30309 _ACEOF
30310 if ac_fn_cxx_try_compile "$LINENO"; then :
30311 glibcxx_cv_func_powf_use=yes
30312 else
30313 glibcxx_cv_func_powf_use=no
30314 fi
30315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30316 ac_ext=c
30317 ac_cpp='$CPP $CPPFLAGS'
30318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30321
30322
30323 fi
30324
30325 fi
30326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30327 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30328
30329 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30330 for ac_func in powf
30331 do :
30332 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30333 if test "x$ac_cv_func_powf" = x""yes; then :
30334 cat >>confdefs.h <<_ACEOF
30335 #define HAVE_POWF 1
30336 _ACEOF
30337
30338 fi
30339 done
30340
30341 else
30342
30343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30344 $as_echo_n "checking for _powf declaration... " >&6; }
30345 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30346 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30347 $as_echo_n "(cached) " >&6
30348 else
30349
30350
30351 ac_ext=cpp
30352 ac_cpp='$CXXCPP $CPPFLAGS'
30353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30356
30357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30358 /* end confdefs.h. */
30359 #include <math.h>
30360 int
30361 main ()
30362 {
30363 _powf(0, 0);
30364 ;
30365 return 0;
30366 }
30367 _ACEOF
30368 if ac_fn_cxx_try_compile "$LINENO"; then :
30369 glibcxx_cv_func__powf_use=yes
30370 else
30371 glibcxx_cv_func__powf_use=no
30372 fi
30373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30374 ac_ext=c
30375 ac_cpp='$CPP $CPPFLAGS'
30376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30379
30380
30381 fi
30382
30383 fi
30384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30385 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30386
30387 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30388 for ac_func in _powf
30389 do :
30390 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30391 if test "x$ac_cv_func__powf" = x""yes; then :
30392 cat >>confdefs.h <<_ACEOF
30393 #define HAVE__POWF 1
30394 _ACEOF
30395
30396 fi
30397 done
30398
30399 fi
30400 fi
30401
30402
30403
30404
30405
30406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30407 $as_echo_n "checking for sqrtf declaration... " >&6; }
30408 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30409 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30410 $as_echo_n "(cached) " >&6
30411 else
30412
30413
30414 ac_ext=cpp
30415 ac_cpp='$CXXCPP $CPPFLAGS'
30416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30419
30420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30421 /* end confdefs.h. */
30422 #include <math.h>
30423 #ifdef HAVE_IEEEFP_H
30424 #include <ieeefp.h>
30425 #endif
30426
30427 int
30428 main ()
30429 {
30430 sqrtf(0);
30431 ;
30432 return 0;
30433 }
30434 _ACEOF
30435 if ac_fn_cxx_try_compile "$LINENO"; then :
30436 glibcxx_cv_func_sqrtf_use=yes
30437 else
30438 glibcxx_cv_func_sqrtf_use=no
30439 fi
30440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30441 ac_ext=c
30442 ac_cpp='$CPP $CPPFLAGS'
30443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30446
30447
30448 fi
30449
30450 fi
30451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30452 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30453
30454 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30455 for ac_func in sqrtf
30456 do :
30457 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30458 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30459 cat >>confdefs.h <<_ACEOF
30460 #define HAVE_SQRTF 1
30461 _ACEOF
30462
30463 fi
30464 done
30465
30466 else
30467
30468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30469 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30470 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30471 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30472 $as_echo_n "(cached) " >&6
30473 else
30474
30475
30476 ac_ext=cpp
30477 ac_cpp='$CXXCPP $CPPFLAGS'
30478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30481
30482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30483 /* end confdefs.h. */
30484 #include <math.h>
30485 #ifdef HAVE_IEEEFP_H
30486 #include <ieeefp.h>
30487 #endif
30488
30489 int
30490 main ()
30491 {
30492 _sqrtf(0);
30493 ;
30494 return 0;
30495 }
30496 _ACEOF
30497 if ac_fn_cxx_try_compile "$LINENO"; then :
30498 glibcxx_cv_func__sqrtf_use=yes
30499 else
30500 glibcxx_cv_func__sqrtf_use=no
30501 fi
30502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30503 ac_ext=c
30504 ac_cpp='$CPP $CPPFLAGS'
30505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30508
30509
30510 fi
30511
30512 fi
30513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30514 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30515
30516 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30517 for ac_func in _sqrtf
30518 do :
30519 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30520 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30521 cat >>confdefs.h <<_ACEOF
30522 #define HAVE__SQRTF 1
30523 _ACEOF
30524
30525 fi
30526 done
30527
30528 fi
30529 fi
30530
30531
30532
30533
30534
30535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30536 $as_echo_n "checking for sincosf declaration... " >&6; }
30537 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30538 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30539 $as_echo_n "(cached) " >&6
30540 else
30541
30542
30543 ac_ext=cpp
30544 ac_cpp='$CXXCPP $CPPFLAGS'
30545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30548
30549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30550 /* end confdefs.h. */
30551 #include <math.h>
30552 int
30553 main ()
30554 {
30555 sincosf(0, 0, 0);
30556 ;
30557 return 0;
30558 }
30559 _ACEOF
30560 if ac_fn_cxx_try_compile "$LINENO"; then :
30561 glibcxx_cv_func_sincosf_use=yes
30562 else
30563 glibcxx_cv_func_sincosf_use=no
30564 fi
30565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30566 ac_ext=c
30567 ac_cpp='$CPP $CPPFLAGS'
30568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30571
30572
30573 fi
30574
30575 fi
30576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30577 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30578
30579 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30580 for ac_func in sincosf
30581 do :
30582 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30583 if test "x$ac_cv_func_sincosf" = x""yes; then :
30584 cat >>confdefs.h <<_ACEOF
30585 #define HAVE_SINCOSF 1
30586 _ACEOF
30587
30588 fi
30589 done
30590
30591 else
30592
30593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30594 $as_echo_n "checking for _sincosf declaration... " >&6; }
30595 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30596 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30597 $as_echo_n "(cached) " >&6
30598 else
30599
30600
30601 ac_ext=cpp
30602 ac_cpp='$CXXCPP $CPPFLAGS'
30603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30606
30607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30608 /* end confdefs.h. */
30609 #include <math.h>
30610 int
30611 main ()
30612 {
30613 _sincosf(0, 0, 0);
30614 ;
30615 return 0;
30616 }
30617 _ACEOF
30618 if ac_fn_cxx_try_compile "$LINENO"; then :
30619 glibcxx_cv_func__sincosf_use=yes
30620 else
30621 glibcxx_cv_func__sincosf_use=no
30622 fi
30623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30624 ac_ext=c
30625 ac_cpp='$CPP $CPPFLAGS'
30626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30629
30630
30631 fi
30632
30633 fi
30634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30635 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30636
30637 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30638 for ac_func in _sincosf
30639 do :
30640 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30641 if test "x$ac_cv_func__sincosf" = x""yes; then :
30642 cat >>confdefs.h <<_ACEOF
30643 #define HAVE__SINCOSF 1
30644 _ACEOF
30645
30646 fi
30647 done
30648
30649 fi
30650 fi
30651
30652
30653
30654
30655
30656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30657 $as_echo_n "checking for finitef declaration... " >&6; }
30658 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30659 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30660 $as_echo_n "(cached) " >&6
30661 else
30662
30663
30664 ac_ext=cpp
30665 ac_cpp='$CXXCPP $CPPFLAGS'
30666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30669
30670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30671 /* end confdefs.h. */
30672 #include <math.h>
30673 #ifdef HAVE_IEEEFP_H
30674 #include <ieeefp.h>
30675 #endif
30676
30677 int
30678 main ()
30679 {
30680 finitef(0);
30681 ;
30682 return 0;
30683 }
30684 _ACEOF
30685 if ac_fn_cxx_try_compile "$LINENO"; then :
30686 glibcxx_cv_func_finitef_use=yes
30687 else
30688 glibcxx_cv_func_finitef_use=no
30689 fi
30690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30691 ac_ext=c
30692 ac_cpp='$CPP $CPPFLAGS'
30693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30696
30697
30698 fi
30699
30700 fi
30701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30702 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30703
30704 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30705 for ac_func in finitef
30706 do :
30707 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30708 if test "x$ac_cv_func_finitef" = x""yes; then :
30709 cat >>confdefs.h <<_ACEOF
30710 #define HAVE_FINITEF 1
30711 _ACEOF
30712
30713 fi
30714 done
30715
30716 else
30717
30718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30719 $as_echo_n "checking for _finitef declaration... " >&6; }
30720 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30721 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30722 $as_echo_n "(cached) " >&6
30723 else
30724
30725
30726 ac_ext=cpp
30727 ac_cpp='$CXXCPP $CPPFLAGS'
30728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30731
30732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30733 /* end confdefs.h. */
30734 #include <math.h>
30735 #ifdef HAVE_IEEEFP_H
30736 #include <ieeefp.h>
30737 #endif
30738
30739 int
30740 main ()
30741 {
30742 _finitef(0);
30743 ;
30744 return 0;
30745 }
30746 _ACEOF
30747 if ac_fn_cxx_try_compile "$LINENO"; then :
30748 glibcxx_cv_func__finitef_use=yes
30749 else
30750 glibcxx_cv_func__finitef_use=no
30751 fi
30752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30753 ac_ext=c
30754 ac_cpp='$CPP $CPPFLAGS'
30755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30758
30759
30760 fi
30761
30762 fi
30763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30764 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30765
30766 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30767 for ac_func in _finitef
30768 do :
30769 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30770 if test "x$ac_cv_func__finitef" = x""yes; then :
30771 cat >>confdefs.h <<_ACEOF
30772 #define HAVE__FINITEF 1
30773 _ACEOF
30774
30775 fi
30776 done
30777
30778 fi
30779 fi
30780
30781
30782
30783
30784
30785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30786 $as_echo_n "checking for long double trig functions... " >&6; }
30787 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30788 $as_echo_n "(cached) " >&6
30789 else
30790
30791
30792 ac_ext=cpp
30793 ac_cpp='$CXXCPP $CPPFLAGS'
30794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30797
30798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30799 /* end confdefs.h. */
30800 #include <math.h>
30801 int
30802 main ()
30803 {
30804 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30805 ;
30806 return 0;
30807 }
30808 _ACEOF
30809 if ac_fn_cxx_try_compile "$LINENO"; then :
30810 glibcxx_cv_func_long_double_trig_use=yes
30811 else
30812 glibcxx_cv_func_long_double_trig_use=no
30813 fi
30814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30815 ac_ext=c
30816 ac_cpp='$CPP $CPPFLAGS'
30817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30820
30821 fi
30822
30823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30824 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30825 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30826 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30827 do :
30828 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30829 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30830 eval as_val=\$$as_ac_var
30831 if test "x$as_val" = x""yes; then :
30832 cat >>confdefs.h <<_ACEOF
30833 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30834 _ACEOF
30835
30836 fi
30837 done
30838
30839 else
30840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30841 $as_echo_n "checking for _long double trig functions... " >&6; }
30842 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30843 $as_echo_n "(cached) " >&6
30844 else
30845
30846
30847 ac_ext=cpp
30848 ac_cpp='$CXXCPP $CPPFLAGS'
30849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30852
30853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30854 /* end confdefs.h. */
30855 #include <math.h>
30856 int
30857 main ()
30858 {
30859 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30860 ;
30861 return 0;
30862 }
30863 _ACEOF
30864 if ac_fn_cxx_try_compile "$LINENO"; then :
30865 glibcxx_cv_func__long_double_trig_use=yes
30866 else
30867 glibcxx_cv_func__long_double_trig_use=no
30868 fi
30869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30870 ac_ext=c
30871 ac_cpp='$CPP $CPPFLAGS'
30872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30875
30876 fi
30877
30878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30879 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30880 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30881 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30882 do :
30883 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30884 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30885 eval as_val=\$$as_ac_var
30886 if test "x$as_val" = x""yes; then :
30887 cat >>confdefs.h <<_ACEOF
30888 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30889 _ACEOF
30890
30891 fi
30892 done
30893
30894 fi
30895 fi
30896
30897
30898
30899
30900
30901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30902 $as_echo_n "checking for long double round functions... " >&6; }
30903 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30904 $as_echo_n "(cached) " >&6
30905 else
30906
30907
30908 ac_ext=cpp
30909 ac_cpp='$CXXCPP $CPPFLAGS'
30910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30913
30914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30915 /* end confdefs.h. */
30916 #include <math.h>
30917 int
30918 main ()
30919 {
30920 ceill (0); floorl (0);
30921 ;
30922 return 0;
30923 }
30924 _ACEOF
30925 if ac_fn_cxx_try_compile "$LINENO"; then :
30926 glibcxx_cv_func_long_double_round_use=yes
30927 else
30928 glibcxx_cv_func_long_double_round_use=no
30929 fi
30930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30931 ac_ext=c
30932 ac_cpp='$CPP $CPPFLAGS'
30933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30936
30937 fi
30938
30939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30940 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30941 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30942 for ac_func in ceill floorl
30943 do :
30944 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30945 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30946 eval as_val=\$$as_ac_var
30947 if test "x$as_val" = x""yes; then :
30948 cat >>confdefs.h <<_ACEOF
30949 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30950 _ACEOF
30951
30952 fi
30953 done
30954
30955 else
30956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30957 $as_echo_n "checking for _long double round functions... " >&6; }
30958 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30959 $as_echo_n "(cached) " >&6
30960 else
30961
30962
30963 ac_ext=cpp
30964 ac_cpp='$CXXCPP $CPPFLAGS'
30965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30968
30969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30970 /* end confdefs.h. */
30971 #include <math.h>
30972 int
30973 main ()
30974 {
30975 _ceill (0); _floorl (0);
30976 ;
30977 return 0;
30978 }
30979 _ACEOF
30980 if ac_fn_cxx_try_compile "$LINENO"; then :
30981 glibcxx_cv_func__long_double_round_use=yes
30982 else
30983 glibcxx_cv_func__long_double_round_use=no
30984 fi
30985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30986 ac_ext=c
30987 ac_cpp='$CPP $CPPFLAGS'
30988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30991
30992 fi
30993
30994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30995 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30996 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30997 for ac_func in _ceill _floorl
30998 do :
30999 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31000 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31001 eval as_val=\$$as_ac_var
31002 if test "x$as_val" = x""yes; then :
31003 cat >>confdefs.h <<_ACEOF
31004 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31005 _ACEOF
31006
31007 fi
31008 done
31009
31010 fi
31011 fi
31012
31013
31014
31015
31016
31017
31018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31019 $as_echo_n "checking for isnanl declaration... " >&6; }
31020 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31021 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31022 $as_echo_n "(cached) " >&6
31023 else
31024
31025
31026 ac_ext=cpp
31027 ac_cpp='$CXXCPP $CPPFLAGS'
31028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31031
31032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31033 /* end confdefs.h. */
31034 #include <math.h>
31035 #ifdef HAVE_IEEEFP_H
31036 #include <ieeefp.h>
31037 #endif
31038
31039 int
31040 main ()
31041 {
31042 isnanl(0);
31043 ;
31044 return 0;
31045 }
31046 _ACEOF
31047 if ac_fn_cxx_try_compile "$LINENO"; then :
31048 glibcxx_cv_func_isnanl_use=yes
31049 else
31050 glibcxx_cv_func_isnanl_use=no
31051 fi
31052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31053 ac_ext=c
31054 ac_cpp='$CPP $CPPFLAGS'
31055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31058
31059
31060 fi
31061
31062 fi
31063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31064 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31065
31066 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31067 for ac_func in isnanl
31068 do :
31069 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31070 if test "x$ac_cv_func_isnanl" = x""yes; then :
31071 cat >>confdefs.h <<_ACEOF
31072 #define HAVE_ISNANL 1
31073 _ACEOF
31074
31075 fi
31076 done
31077
31078 else
31079
31080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31081 $as_echo_n "checking for _isnanl declaration... " >&6; }
31082 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31083 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31084 $as_echo_n "(cached) " >&6
31085 else
31086
31087
31088 ac_ext=cpp
31089 ac_cpp='$CXXCPP $CPPFLAGS'
31090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31093
31094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31095 /* end confdefs.h. */
31096 #include <math.h>
31097 #ifdef HAVE_IEEEFP_H
31098 #include <ieeefp.h>
31099 #endif
31100
31101 int
31102 main ()
31103 {
31104 _isnanl(0);
31105 ;
31106 return 0;
31107 }
31108 _ACEOF
31109 if ac_fn_cxx_try_compile "$LINENO"; then :
31110 glibcxx_cv_func__isnanl_use=yes
31111 else
31112 glibcxx_cv_func__isnanl_use=no
31113 fi
31114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31115 ac_ext=c
31116 ac_cpp='$CPP $CPPFLAGS'
31117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31120
31121
31122 fi
31123
31124 fi
31125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31126 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31127
31128 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31129 for ac_func in _isnanl
31130 do :
31131 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31132 if test "x$ac_cv_func__isnanl" = x""yes; then :
31133 cat >>confdefs.h <<_ACEOF
31134 #define HAVE__ISNANL 1
31135 _ACEOF
31136
31137 fi
31138 done
31139
31140 fi
31141 fi
31142
31143
31144
31145
31146
31147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31148 $as_echo_n "checking for isinfl declaration... " >&6; }
31149 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31150 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31151 $as_echo_n "(cached) " >&6
31152 else
31153
31154
31155 ac_ext=cpp
31156 ac_cpp='$CXXCPP $CPPFLAGS'
31157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31160
31161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31162 /* end confdefs.h. */
31163 #include <math.h>
31164 #ifdef HAVE_IEEEFP_H
31165 #include <ieeefp.h>
31166 #endif
31167
31168 int
31169 main ()
31170 {
31171 isinfl(0);
31172 ;
31173 return 0;
31174 }
31175 _ACEOF
31176 if ac_fn_cxx_try_compile "$LINENO"; then :
31177 glibcxx_cv_func_isinfl_use=yes
31178 else
31179 glibcxx_cv_func_isinfl_use=no
31180 fi
31181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31182 ac_ext=c
31183 ac_cpp='$CPP $CPPFLAGS'
31184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31187
31188
31189 fi
31190
31191 fi
31192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31193 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31194
31195 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31196 for ac_func in isinfl
31197 do :
31198 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31199 if test "x$ac_cv_func_isinfl" = x""yes; then :
31200 cat >>confdefs.h <<_ACEOF
31201 #define HAVE_ISINFL 1
31202 _ACEOF
31203
31204 fi
31205 done
31206
31207 else
31208
31209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31210 $as_echo_n "checking for _isinfl declaration... " >&6; }
31211 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31212 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31213 $as_echo_n "(cached) " >&6
31214 else
31215
31216
31217 ac_ext=cpp
31218 ac_cpp='$CXXCPP $CPPFLAGS'
31219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31222
31223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31224 /* end confdefs.h. */
31225 #include <math.h>
31226 #ifdef HAVE_IEEEFP_H
31227 #include <ieeefp.h>
31228 #endif
31229
31230 int
31231 main ()
31232 {
31233 _isinfl(0);
31234 ;
31235 return 0;
31236 }
31237 _ACEOF
31238 if ac_fn_cxx_try_compile "$LINENO"; then :
31239 glibcxx_cv_func__isinfl_use=yes
31240 else
31241 glibcxx_cv_func__isinfl_use=no
31242 fi
31243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31244 ac_ext=c
31245 ac_cpp='$CPP $CPPFLAGS'
31246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31249
31250
31251 fi
31252
31253 fi
31254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31255 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31256
31257 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31258 for ac_func in _isinfl
31259 do :
31260 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31261 if test "x$ac_cv_func__isinfl" = x""yes; then :
31262 cat >>confdefs.h <<_ACEOF
31263 #define HAVE__ISINFL 1
31264 _ACEOF
31265
31266 fi
31267 done
31268
31269 fi
31270 fi
31271
31272
31273
31274
31275
31276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31277 $as_echo_n "checking for atan2l declaration... " >&6; }
31278 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31279 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31280 $as_echo_n "(cached) " >&6
31281 else
31282
31283
31284 ac_ext=cpp
31285 ac_cpp='$CXXCPP $CPPFLAGS'
31286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31289
31290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31291 /* end confdefs.h. */
31292 #include <math.h>
31293 int
31294 main ()
31295 {
31296 atan2l(0, 0);
31297 ;
31298 return 0;
31299 }
31300 _ACEOF
31301 if ac_fn_cxx_try_compile "$LINENO"; then :
31302 glibcxx_cv_func_atan2l_use=yes
31303 else
31304 glibcxx_cv_func_atan2l_use=no
31305 fi
31306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31307 ac_ext=c
31308 ac_cpp='$CPP $CPPFLAGS'
31309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31312
31313
31314 fi
31315
31316 fi
31317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31318 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31319
31320 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31321 for ac_func in atan2l
31322 do :
31323 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31324 if test "x$ac_cv_func_atan2l" = x""yes; then :
31325 cat >>confdefs.h <<_ACEOF
31326 #define HAVE_ATAN2L 1
31327 _ACEOF
31328
31329 fi
31330 done
31331
31332 else
31333
31334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31335 $as_echo_n "checking for _atan2l declaration... " >&6; }
31336 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31337 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31338 $as_echo_n "(cached) " >&6
31339 else
31340
31341
31342 ac_ext=cpp
31343 ac_cpp='$CXXCPP $CPPFLAGS'
31344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31347
31348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31349 /* end confdefs.h. */
31350 #include <math.h>
31351 int
31352 main ()
31353 {
31354 _atan2l(0, 0);
31355 ;
31356 return 0;
31357 }
31358 _ACEOF
31359 if ac_fn_cxx_try_compile "$LINENO"; then :
31360 glibcxx_cv_func__atan2l_use=yes
31361 else
31362 glibcxx_cv_func__atan2l_use=no
31363 fi
31364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31365 ac_ext=c
31366 ac_cpp='$CPP $CPPFLAGS'
31367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31370
31371
31372 fi
31373
31374 fi
31375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31376 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31377
31378 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31379 for ac_func in _atan2l
31380 do :
31381 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31382 if test "x$ac_cv_func__atan2l" = x""yes; then :
31383 cat >>confdefs.h <<_ACEOF
31384 #define HAVE__ATAN2L 1
31385 _ACEOF
31386
31387 fi
31388 done
31389
31390 fi
31391 fi
31392
31393
31394
31395
31396
31397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31398 $as_echo_n "checking for expl declaration... " >&6; }
31399 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31400 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31401 $as_echo_n "(cached) " >&6
31402 else
31403
31404
31405 ac_ext=cpp
31406 ac_cpp='$CXXCPP $CPPFLAGS'
31407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31410
31411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31412 /* end confdefs.h. */
31413 #include <math.h>
31414 #ifdef HAVE_IEEEFP_H
31415 #include <ieeefp.h>
31416 #endif
31417
31418 int
31419 main ()
31420 {
31421 expl(0);
31422 ;
31423 return 0;
31424 }
31425 _ACEOF
31426 if ac_fn_cxx_try_compile "$LINENO"; then :
31427 glibcxx_cv_func_expl_use=yes
31428 else
31429 glibcxx_cv_func_expl_use=no
31430 fi
31431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31432 ac_ext=c
31433 ac_cpp='$CPP $CPPFLAGS'
31434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31437
31438
31439 fi
31440
31441 fi
31442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31443 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31444
31445 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31446 for ac_func in expl
31447 do :
31448 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31449 if test "x$ac_cv_func_expl" = x""yes; then :
31450 cat >>confdefs.h <<_ACEOF
31451 #define HAVE_EXPL 1
31452 _ACEOF
31453
31454 fi
31455 done
31456
31457 else
31458
31459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31460 $as_echo_n "checking for _expl declaration... " >&6; }
31461 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31462 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31463 $as_echo_n "(cached) " >&6
31464 else
31465
31466
31467 ac_ext=cpp
31468 ac_cpp='$CXXCPP $CPPFLAGS'
31469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31472
31473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31474 /* end confdefs.h. */
31475 #include <math.h>
31476 #ifdef HAVE_IEEEFP_H
31477 #include <ieeefp.h>
31478 #endif
31479
31480 int
31481 main ()
31482 {
31483 _expl(0);
31484 ;
31485 return 0;
31486 }
31487 _ACEOF
31488 if ac_fn_cxx_try_compile "$LINENO"; then :
31489 glibcxx_cv_func__expl_use=yes
31490 else
31491 glibcxx_cv_func__expl_use=no
31492 fi
31493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31494 ac_ext=c
31495 ac_cpp='$CPP $CPPFLAGS'
31496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31499
31500
31501 fi
31502
31503 fi
31504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31505 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31506
31507 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31508 for ac_func in _expl
31509 do :
31510 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31511 if test "x$ac_cv_func__expl" = x""yes; then :
31512 cat >>confdefs.h <<_ACEOF
31513 #define HAVE__EXPL 1
31514 _ACEOF
31515
31516 fi
31517 done
31518
31519 fi
31520 fi
31521
31522
31523
31524
31525
31526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31527 $as_echo_n "checking for fabsl declaration... " >&6; }
31528 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31529 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31530 $as_echo_n "(cached) " >&6
31531 else
31532
31533
31534 ac_ext=cpp
31535 ac_cpp='$CXXCPP $CPPFLAGS'
31536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31539
31540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31541 /* end confdefs.h. */
31542 #include <math.h>
31543 #ifdef HAVE_IEEEFP_H
31544 #include <ieeefp.h>
31545 #endif
31546
31547 int
31548 main ()
31549 {
31550 fabsl(0);
31551 ;
31552 return 0;
31553 }
31554 _ACEOF
31555 if ac_fn_cxx_try_compile "$LINENO"; then :
31556 glibcxx_cv_func_fabsl_use=yes
31557 else
31558 glibcxx_cv_func_fabsl_use=no
31559 fi
31560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31561 ac_ext=c
31562 ac_cpp='$CPP $CPPFLAGS'
31563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31566
31567
31568 fi
31569
31570 fi
31571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31572 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31573
31574 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31575 for ac_func in fabsl
31576 do :
31577 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31578 if test "x$ac_cv_func_fabsl" = x""yes; then :
31579 cat >>confdefs.h <<_ACEOF
31580 #define HAVE_FABSL 1
31581 _ACEOF
31582
31583 fi
31584 done
31585
31586 else
31587
31588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31589 $as_echo_n "checking for _fabsl declaration... " >&6; }
31590 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31591 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31592 $as_echo_n "(cached) " >&6
31593 else
31594
31595
31596 ac_ext=cpp
31597 ac_cpp='$CXXCPP $CPPFLAGS'
31598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31601
31602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31603 /* end confdefs.h. */
31604 #include <math.h>
31605 #ifdef HAVE_IEEEFP_H
31606 #include <ieeefp.h>
31607 #endif
31608
31609 int
31610 main ()
31611 {
31612 _fabsl(0);
31613 ;
31614 return 0;
31615 }
31616 _ACEOF
31617 if ac_fn_cxx_try_compile "$LINENO"; then :
31618 glibcxx_cv_func__fabsl_use=yes
31619 else
31620 glibcxx_cv_func__fabsl_use=no
31621 fi
31622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31623 ac_ext=c
31624 ac_cpp='$CPP $CPPFLAGS'
31625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31628
31629
31630 fi
31631
31632 fi
31633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31634 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31635
31636 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31637 for ac_func in _fabsl
31638 do :
31639 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31640 if test "x$ac_cv_func__fabsl" = x""yes; then :
31641 cat >>confdefs.h <<_ACEOF
31642 #define HAVE__FABSL 1
31643 _ACEOF
31644
31645 fi
31646 done
31647
31648 fi
31649 fi
31650
31651
31652
31653
31654
31655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31656 $as_echo_n "checking for fmodl declaration... " >&6; }
31657 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31658 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31659 $as_echo_n "(cached) " >&6
31660 else
31661
31662
31663 ac_ext=cpp
31664 ac_cpp='$CXXCPP $CPPFLAGS'
31665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31668
31669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31670 /* end confdefs.h. */
31671 #include <math.h>
31672 int
31673 main ()
31674 {
31675 fmodl(0, 0);
31676 ;
31677 return 0;
31678 }
31679 _ACEOF
31680 if ac_fn_cxx_try_compile "$LINENO"; then :
31681 glibcxx_cv_func_fmodl_use=yes
31682 else
31683 glibcxx_cv_func_fmodl_use=no
31684 fi
31685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31686 ac_ext=c
31687 ac_cpp='$CPP $CPPFLAGS'
31688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31691
31692
31693 fi
31694
31695 fi
31696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31697 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31698
31699 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31700 for ac_func in fmodl
31701 do :
31702 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31703 if test "x$ac_cv_func_fmodl" = x""yes; then :
31704 cat >>confdefs.h <<_ACEOF
31705 #define HAVE_FMODL 1
31706 _ACEOF
31707
31708 fi
31709 done
31710
31711 else
31712
31713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31714 $as_echo_n "checking for _fmodl declaration... " >&6; }
31715 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31716 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31717 $as_echo_n "(cached) " >&6
31718 else
31719
31720
31721 ac_ext=cpp
31722 ac_cpp='$CXXCPP $CPPFLAGS'
31723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31726
31727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31728 /* end confdefs.h. */
31729 #include <math.h>
31730 int
31731 main ()
31732 {
31733 _fmodl(0, 0);
31734 ;
31735 return 0;
31736 }
31737 _ACEOF
31738 if ac_fn_cxx_try_compile "$LINENO"; then :
31739 glibcxx_cv_func__fmodl_use=yes
31740 else
31741 glibcxx_cv_func__fmodl_use=no
31742 fi
31743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31744 ac_ext=c
31745 ac_cpp='$CPP $CPPFLAGS'
31746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31749
31750
31751 fi
31752
31753 fi
31754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31755 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31756
31757 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31758 for ac_func in _fmodl
31759 do :
31760 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31761 if test "x$ac_cv_func__fmodl" = x""yes; then :
31762 cat >>confdefs.h <<_ACEOF
31763 #define HAVE__FMODL 1
31764 _ACEOF
31765
31766 fi
31767 done
31768
31769 fi
31770 fi
31771
31772
31773
31774
31775
31776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31777 $as_echo_n "checking for frexpl declaration... " >&6; }
31778 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31779 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31780 $as_echo_n "(cached) " >&6
31781 else
31782
31783
31784 ac_ext=cpp
31785 ac_cpp='$CXXCPP $CPPFLAGS'
31786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31789
31790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31791 /* end confdefs.h. */
31792 #include <math.h>
31793 int
31794 main ()
31795 {
31796 frexpl(0, 0);
31797 ;
31798 return 0;
31799 }
31800 _ACEOF
31801 if ac_fn_cxx_try_compile "$LINENO"; then :
31802 glibcxx_cv_func_frexpl_use=yes
31803 else
31804 glibcxx_cv_func_frexpl_use=no
31805 fi
31806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31807 ac_ext=c
31808 ac_cpp='$CPP $CPPFLAGS'
31809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31812
31813
31814 fi
31815
31816 fi
31817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31818 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31819
31820 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31821 for ac_func in frexpl
31822 do :
31823 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31824 if test "x$ac_cv_func_frexpl" = x""yes; then :
31825 cat >>confdefs.h <<_ACEOF
31826 #define HAVE_FREXPL 1
31827 _ACEOF
31828
31829 fi
31830 done
31831
31832 else
31833
31834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31835 $as_echo_n "checking for _frexpl declaration... " >&6; }
31836 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31837 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31838 $as_echo_n "(cached) " >&6
31839 else
31840
31841
31842 ac_ext=cpp
31843 ac_cpp='$CXXCPP $CPPFLAGS'
31844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31847
31848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31849 /* end confdefs.h. */
31850 #include <math.h>
31851 int
31852 main ()
31853 {
31854 _frexpl(0, 0);
31855 ;
31856 return 0;
31857 }
31858 _ACEOF
31859 if ac_fn_cxx_try_compile "$LINENO"; then :
31860 glibcxx_cv_func__frexpl_use=yes
31861 else
31862 glibcxx_cv_func__frexpl_use=no
31863 fi
31864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31865 ac_ext=c
31866 ac_cpp='$CPP $CPPFLAGS'
31867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31870
31871
31872 fi
31873
31874 fi
31875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31876 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31877
31878 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31879 for ac_func in _frexpl
31880 do :
31881 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31882 if test "x$ac_cv_func__frexpl" = x""yes; then :
31883 cat >>confdefs.h <<_ACEOF
31884 #define HAVE__FREXPL 1
31885 _ACEOF
31886
31887 fi
31888 done
31889
31890 fi
31891 fi
31892
31893
31894
31895
31896
31897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31898 $as_echo_n "checking for hypotl declaration... " >&6; }
31899 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31900 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31901 $as_echo_n "(cached) " >&6
31902 else
31903
31904
31905 ac_ext=cpp
31906 ac_cpp='$CXXCPP $CPPFLAGS'
31907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31910
31911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31912 /* end confdefs.h. */
31913 #include <math.h>
31914 int
31915 main ()
31916 {
31917 hypotl(0, 0);
31918 ;
31919 return 0;
31920 }
31921 _ACEOF
31922 if ac_fn_cxx_try_compile "$LINENO"; then :
31923 glibcxx_cv_func_hypotl_use=yes
31924 else
31925 glibcxx_cv_func_hypotl_use=no
31926 fi
31927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31928 ac_ext=c
31929 ac_cpp='$CPP $CPPFLAGS'
31930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31933
31934
31935 fi
31936
31937 fi
31938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31939 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31940
31941 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31942 for ac_func in hypotl
31943 do :
31944 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31945 if test "x$ac_cv_func_hypotl" = x""yes; then :
31946 cat >>confdefs.h <<_ACEOF
31947 #define HAVE_HYPOTL 1
31948 _ACEOF
31949
31950 fi
31951 done
31952
31953 else
31954
31955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31956 $as_echo_n "checking for _hypotl declaration... " >&6; }
31957 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31958 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31959 $as_echo_n "(cached) " >&6
31960 else
31961
31962
31963 ac_ext=cpp
31964 ac_cpp='$CXXCPP $CPPFLAGS'
31965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31968
31969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31970 /* end confdefs.h. */
31971 #include <math.h>
31972 int
31973 main ()
31974 {
31975 _hypotl(0, 0);
31976 ;
31977 return 0;
31978 }
31979 _ACEOF
31980 if ac_fn_cxx_try_compile "$LINENO"; then :
31981 glibcxx_cv_func__hypotl_use=yes
31982 else
31983 glibcxx_cv_func__hypotl_use=no
31984 fi
31985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31986 ac_ext=c
31987 ac_cpp='$CPP $CPPFLAGS'
31988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31991
31992
31993 fi
31994
31995 fi
31996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31997 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31998
31999 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32000 for ac_func in _hypotl
32001 do :
32002 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32003 if test "x$ac_cv_func__hypotl" = x""yes; then :
32004 cat >>confdefs.h <<_ACEOF
32005 #define HAVE__HYPOTL 1
32006 _ACEOF
32007
32008 fi
32009 done
32010
32011 fi
32012 fi
32013
32014
32015
32016
32017
32018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32019 $as_echo_n "checking for ldexpl declaration... " >&6; }
32020 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32021 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32022 $as_echo_n "(cached) " >&6
32023 else
32024
32025
32026 ac_ext=cpp
32027 ac_cpp='$CXXCPP $CPPFLAGS'
32028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32031
32032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32033 /* end confdefs.h. */
32034 #include <math.h>
32035 int
32036 main ()
32037 {
32038 ldexpl(0, 0);
32039 ;
32040 return 0;
32041 }
32042 _ACEOF
32043 if ac_fn_cxx_try_compile "$LINENO"; then :
32044 glibcxx_cv_func_ldexpl_use=yes
32045 else
32046 glibcxx_cv_func_ldexpl_use=no
32047 fi
32048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32049 ac_ext=c
32050 ac_cpp='$CPP $CPPFLAGS'
32051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32054
32055
32056 fi
32057
32058 fi
32059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32060 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32061
32062 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32063 for ac_func in ldexpl
32064 do :
32065 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32066 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32067 cat >>confdefs.h <<_ACEOF
32068 #define HAVE_LDEXPL 1
32069 _ACEOF
32070
32071 fi
32072 done
32073
32074 else
32075
32076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32077 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32078 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32079 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32080 $as_echo_n "(cached) " >&6
32081 else
32082
32083
32084 ac_ext=cpp
32085 ac_cpp='$CXXCPP $CPPFLAGS'
32086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32089
32090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32091 /* end confdefs.h. */
32092 #include <math.h>
32093 int
32094 main ()
32095 {
32096 _ldexpl(0, 0);
32097 ;
32098 return 0;
32099 }
32100 _ACEOF
32101 if ac_fn_cxx_try_compile "$LINENO"; then :
32102 glibcxx_cv_func__ldexpl_use=yes
32103 else
32104 glibcxx_cv_func__ldexpl_use=no
32105 fi
32106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32107 ac_ext=c
32108 ac_cpp='$CPP $CPPFLAGS'
32109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32112
32113
32114 fi
32115
32116 fi
32117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32118 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32119
32120 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32121 for ac_func in _ldexpl
32122 do :
32123 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32124 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32125 cat >>confdefs.h <<_ACEOF
32126 #define HAVE__LDEXPL 1
32127 _ACEOF
32128
32129 fi
32130 done
32131
32132 fi
32133 fi
32134
32135
32136
32137
32138
32139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32140 $as_echo_n "checking for logl declaration... " >&6; }
32141 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32142 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32143 $as_echo_n "(cached) " >&6
32144 else
32145
32146
32147 ac_ext=cpp
32148 ac_cpp='$CXXCPP $CPPFLAGS'
32149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32152
32153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32154 /* end confdefs.h. */
32155 #include <math.h>
32156 #ifdef HAVE_IEEEFP_H
32157 #include <ieeefp.h>
32158 #endif
32159
32160 int
32161 main ()
32162 {
32163 logl(0);
32164 ;
32165 return 0;
32166 }
32167 _ACEOF
32168 if ac_fn_cxx_try_compile "$LINENO"; then :
32169 glibcxx_cv_func_logl_use=yes
32170 else
32171 glibcxx_cv_func_logl_use=no
32172 fi
32173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32174 ac_ext=c
32175 ac_cpp='$CPP $CPPFLAGS'
32176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32179
32180
32181 fi
32182
32183 fi
32184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32185 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32186
32187 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32188 for ac_func in logl
32189 do :
32190 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32191 if test "x$ac_cv_func_logl" = x""yes; then :
32192 cat >>confdefs.h <<_ACEOF
32193 #define HAVE_LOGL 1
32194 _ACEOF
32195
32196 fi
32197 done
32198
32199 else
32200
32201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32202 $as_echo_n "checking for _logl declaration... " >&6; }
32203 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32204 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32205 $as_echo_n "(cached) " >&6
32206 else
32207
32208
32209 ac_ext=cpp
32210 ac_cpp='$CXXCPP $CPPFLAGS'
32211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32214
32215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32216 /* end confdefs.h. */
32217 #include <math.h>
32218 #ifdef HAVE_IEEEFP_H
32219 #include <ieeefp.h>
32220 #endif
32221
32222 int
32223 main ()
32224 {
32225 _logl(0);
32226 ;
32227 return 0;
32228 }
32229 _ACEOF
32230 if ac_fn_cxx_try_compile "$LINENO"; then :
32231 glibcxx_cv_func__logl_use=yes
32232 else
32233 glibcxx_cv_func__logl_use=no
32234 fi
32235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32236 ac_ext=c
32237 ac_cpp='$CPP $CPPFLAGS'
32238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32241
32242
32243 fi
32244
32245 fi
32246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32247 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32248
32249 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32250 for ac_func in _logl
32251 do :
32252 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32253 if test "x$ac_cv_func__logl" = x""yes; then :
32254 cat >>confdefs.h <<_ACEOF
32255 #define HAVE__LOGL 1
32256 _ACEOF
32257
32258 fi
32259 done
32260
32261 fi
32262 fi
32263
32264
32265
32266
32267
32268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32269 $as_echo_n "checking for log10l declaration... " >&6; }
32270 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32271 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32272 $as_echo_n "(cached) " >&6
32273 else
32274
32275
32276 ac_ext=cpp
32277 ac_cpp='$CXXCPP $CPPFLAGS'
32278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32281
32282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32283 /* end confdefs.h. */
32284 #include <math.h>
32285 #ifdef HAVE_IEEEFP_H
32286 #include <ieeefp.h>
32287 #endif
32288
32289 int
32290 main ()
32291 {
32292 log10l(0);
32293 ;
32294 return 0;
32295 }
32296 _ACEOF
32297 if ac_fn_cxx_try_compile "$LINENO"; then :
32298 glibcxx_cv_func_log10l_use=yes
32299 else
32300 glibcxx_cv_func_log10l_use=no
32301 fi
32302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32303 ac_ext=c
32304 ac_cpp='$CPP $CPPFLAGS'
32305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32308
32309
32310 fi
32311
32312 fi
32313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32314 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32315
32316 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32317 for ac_func in log10l
32318 do :
32319 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32320 if test "x$ac_cv_func_log10l" = x""yes; then :
32321 cat >>confdefs.h <<_ACEOF
32322 #define HAVE_LOG10L 1
32323 _ACEOF
32324
32325 fi
32326 done
32327
32328 else
32329
32330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32331 $as_echo_n "checking for _log10l declaration... " >&6; }
32332 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32333 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32334 $as_echo_n "(cached) " >&6
32335 else
32336
32337
32338 ac_ext=cpp
32339 ac_cpp='$CXXCPP $CPPFLAGS'
32340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32343
32344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32345 /* end confdefs.h. */
32346 #include <math.h>
32347 #ifdef HAVE_IEEEFP_H
32348 #include <ieeefp.h>
32349 #endif
32350
32351 int
32352 main ()
32353 {
32354 _log10l(0);
32355 ;
32356 return 0;
32357 }
32358 _ACEOF
32359 if ac_fn_cxx_try_compile "$LINENO"; then :
32360 glibcxx_cv_func__log10l_use=yes
32361 else
32362 glibcxx_cv_func__log10l_use=no
32363 fi
32364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32365 ac_ext=c
32366 ac_cpp='$CPP $CPPFLAGS'
32367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32370
32371
32372 fi
32373
32374 fi
32375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32376 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32377
32378 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32379 for ac_func in _log10l
32380 do :
32381 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32382 if test "x$ac_cv_func__log10l" = x""yes; then :
32383 cat >>confdefs.h <<_ACEOF
32384 #define HAVE__LOG10L 1
32385 _ACEOF
32386
32387 fi
32388 done
32389
32390 fi
32391 fi
32392
32393
32394
32395
32396
32397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32398 $as_echo_n "checking for modfl declaration... " >&6; }
32399 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32400 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32401 $as_echo_n "(cached) " >&6
32402 else
32403
32404
32405 ac_ext=cpp
32406 ac_cpp='$CXXCPP $CPPFLAGS'
32407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32410
32411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32412 /* end confdefs.h. */
32413 #include <math.h>
32414 int
32415 main ()
32416 {
32417 modfl(0, 0);
32418 ;
32419 return 0;
32420 }
32421 _ACEOF
32422 if ac_fn_cxx_try_compile "$LINENO"; then :
32423 glibcxx_cv_func_modfl_use=yes
32424 else
32425 glibcxx_cv_func_modfl_use=no
32426 fi
32427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32428 ac_ext=c
32429 ac_cpp='$CPP $CPPFLAGS'
32430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32433
32434
32435 fi
32436
32437 fi
32438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32439 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32440
32441 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32442 for ac_func in modfl
32443 do :
32444 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32445 if test "x$ac_cv_func_modfl" = x""yes; then :
32446 cat >>confdefs.h <<_ACEOF
32447 #define HAVE_MODFL 1
32448 _ACEOF
32449
32450 fi
32451 done
32452
32453 else
32454
32455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32456 $as_echo_n "checking for _modfl declaration... " >&6; }
32457 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32458 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32459 $as_echo_n "(cached) " >&6
32460 else
32461
32462
32463 ac_ext=cpp
32464 ac_cpp='$CXXCPP $CPPFLAGS'
32465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32468
32469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32470 /* end confdefs.h. */
32471 #include <math.h>
32472 int
32473 main ()
32474 {
32475 _modfl(0, 0);
32476 ;
32477 return 0;
32478 }
32479 _ACEOF
32480 if ac_fn_cxx_try_compile "$LINENO"; then :
32481 glibcxx_cv_func__modfl_use=yes
32482 else
32483 glibcxx_cv_func__modfl_use=no
32484 fi
32485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32486 ac_ext=c
32487 ac_cpp='$CPP $CPPFLAGS'
32488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32491
32492
32493 fi
32494
32495 fi
32496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32497 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32498
32499 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32500 for ac_func in _modfl
32501 do :
32502 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32503 if test "x$ac_cv_func__modfl" = x""yes; then :
32504 cat >>confdefs.h <<_ACEOF
32505 #define HAVE__MODFL 1
32506 _ACEOF
32507
32508 fi
32509 done
32510
32511 fi
32512 fi
32513
32514
32515
32516
32517
32518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32519 $as_echo_n "checking for powl declaration... " >&6; }
32520 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32521 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32522 $as_echo_n "(cached) " >&6
32523 else
32524
32525
32526 ac_ext=cpp
32527 ac_cpp='$CXXCPP $CPPFLAGS'
32528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32531
32532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32533 /* end confdefs.h. */
32534 #include <math.h>
32535 int
32536 main ()
32537 {
32538 powl(0, 0);
32539 ;
32540 return 0;
32541 }
32542 _ACEOF
32543 if ac_fn_cxx_try_compile "$LINENO"; then :
32544 glibcxx_cv_func_powl_use=yes
32545 else
32546 glibcxx_cv_func_powl_use=no
32547 fi
32548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32549 ac_ext=c
32550 ac_cpp='$CPP $CPPFLAGS'
32551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32554
32555
32556 fi
32557
32558 fi
32559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32560 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32561
32562 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32563 for ac_func in powl
32564 do :
32565 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32566 if test "x$ac_cv_func_powl" = x""yes; then :
32567 cat >>confdefs.h <<_ACEOF
32568 #define HAVE_POWL 1
32569 _ACEOF
32570
32571 fi
32572 done
32573
32574 else
32575
32576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32577 $as_echo_n "checking for _powl declaration... " >&6; }
32578 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32579 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32580 $as_echo_n "(cached) " >&6
32581 else
32582
32583
32584 ac_ext=cpp
32585 ac_cpp='$CXXCPP $CPPFLAGS'
32586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32589
32590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32591 /* end confdefs.h. */
32592 #include <math.h>
32593 int
32594 main ()
32595 {
32596 _powl(0, 0);
32597 ;
32598 return 0;
32599 }
32600 _ACEOF
32601 if ac_fn_cxx_try_compile "$LINENO"; then :
32602 glibcxx_cv_func__powl_use=yes
32603 else
32604 glibcxx_cv_func__powl_use=no
32605 fi
32606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32607 ac_ext=c
32608 ac_cpp='$CPP $CPPFLAGS'
32609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32612
32613
32614 fi
32615
32616 fi
32617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32618 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32619
32620 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32621 for ac_func in _powl
32622 do :
32623 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32624 if test "x$ac_cv_func__powl" = x""yes; then :
32625 cat >>confdefs.h <<_ACEOF
32626 #define HAVE__POWL 1
32627 _ACEOF
32628
32629 fi
32630 done
32631
32632 fi
32633 fi
32634
32635
32636
32637
32638
32639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32640 $as_echo_n "checking for sqrtl declaration... " >&6; }
32641 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32642 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32643 $as_echo_n "(cached) " >&6
32644 else
32645
32646
32647 ac_ext=cpp
32648 ac_cpp='$CXXCPP $CPPFLAGS'
32649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32652
32653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32654 /* end confdefs.h. */
32655 #include <math.h>
32656 #ifdef HAVE_IEEEFP_H
32657 #include <ieeefp.h>
32658 #endif
32659
32660 int
32661 main ()
32662 {
32663 sqrtl(0);
32664 ;
32665 return 0;
32666 }
32667 _ACEOF
32668 if ac_fn_cxx_try_compile "$LINENO"; then :
32669 glibcxx_cv_func_sqrtl_use=yes
32670 else
32671 glibcxx_cv_func_sqrtl_use=no
32672 fi
32673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32674 ac_ext=c
32675 ac_cpp='$CPP $CPPFLAGS'
32676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32679
32680
32681 fi
32682
32683 fi
32684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32685 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32686
32687 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32688 for ac_func in sqrtl
32689 do :
32690 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32691 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32692 cat >>confdefs.h <<_ACEOF
32693 #define HAVE_SQRTL 1
32694 _ACEOF
32695
32696 fi
32697 done
32698
32699 else
32700
32701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32702 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32703 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32704 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32705 $as_echo_n "(cached) " >&6
32706 else
32707
32708
32709 ac_ext=cpp
32710 ac_cpp='$CXXCPP $CPPFLAGS'
32711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32714
32715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32716 /* end confdefs.h. */
32717 #include <math.h>
32718 #ifdef HAVE_IEEEFP_H
32719 #include <ieeefp.h>
32720 #endif
32721
32722 int
32723 main ()
32724 {
32725 _sqrtl(0);
32726 ;
32727 return 0;
32728 }
32729 _ACEOF
32730 if ac_fn_cxx_try_compile "$LINENO"; then :
32731 glibcxx_cv_func__sqrtl_use=yes
32732 else
32733 glibcxx_cv_func__sqrtl_use=no
32734 fi
32735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32736 ac_ext=c
32737 ac_cpp='$CPP $CPPFLAGS'
32738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32741
32742
32743 fi
32744
32745 fi
32746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32747 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32748
32749 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32750 for ac_func in _sqrtl
32751 do :
32752 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32753 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32754 cat >>confdefs.h <<_ACEOF
32755 #define HAVE__SQRTL 1
32756 _ACEOF
32757
32758 fi
32759 done
32760
32761 fi
32762 fi
32763
32764
32765
32766
32767
32768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32769 $as_echo_n "checking for sincosl declaration... " >&6; }
32770 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32771 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32772 $as_echo_n "(cached) " >&6
32773 else
32774
32775
32776 ac_ext=cpp
32777 ac_cpp='$CXXCPP $CPPFLAGS'
32778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32781
32782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32783 /* end confdefs.h. */
32784 #include <math.h>
32785 int
32786 main ()
32787 {
32788 sincosl(0, 0, 0);
32789 ;
32790 return 0;
32791 }
32792 _ACEOF
32793 if ac_fn_cxx_try_compile "$LINENO"; then :
32794 glibcxx_cv_func_sincosl_use=yes
32795 else
32796 glibcxx_cv_func_sincosl_use=no
32797 fi
32798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32799 ac_ext=c
32800 ac_cpp='$CPP $CPPFLAGS'
32801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32804
32805
32806 fi
32807
32808 fi
32809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32810 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32811
32812 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32813 for ac_func in sincosl
32814 do :
32815 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32816 if test "x$ac_cv_func_sincosl" = x""yes; then :
32817 cat >>confdefs.h <<_ACEOF
32818 #define HAVE_SINCOSL 1
32819 _ACEOF
32820
32821 fi
32822 done
32823
32824 else
32825
32826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32827 $as_echo_n "checking for _sincosl declaration... " >&6; }
32828 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32829 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32830 $as_echo_n "(cached) " >&6
32831 else
32832
32833
32834 ac_ext=cpp
32835 ac_cpp='$CXXCPP $CPPFLAGS'
32836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32839
32840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32841 /* end confdefs.h. */
32842 #include <math.h>
32843 int
32844 main ()
32845 {
32846 _sincosl(0, 0, 0);
32847 ;
32848 return 0;
32849 }
32850 _ACEOF
32851 if ac_fn_cxx_try_compile "$LINENO"; then :
32852 glibcxx_cv_func__sincosl_use=yes
32853 else
32854 glibcxx_cv_func__sincosl_use=no
32855 fi
32856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32857 ac_ext=c
32858 ac_cpp='$CPP $CPPFLAGS'
32859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32862
32863
32864 fi
32865
32866 fi
32867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32868 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32869
32870 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32871 for ac_func in _sincosl
32872 do :
32873 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32874 if test "x$ac_cv_func__sincosl" = x""yes; then :
32875 cat >>confdefs.h <<_ACEOF
32876 #define HAVE__SINCOSL 1
32877 _ACEOF
32878
32879 fi
32880 done
32881
32882 fi
32883 fi
32884
32885
32886
32887
32888
32889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32890 $as_echo_n "checking for finitel declaration... " >&6; }
32891 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32892 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32893 $as_echo_n "(cached) " >&6
32894 else
32895
32896
32897 ac_ext=cpp
32898 ac_cpp='$CXXCPP $CPPFLAGS'
32899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32902
32903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32904 /* end confdefs.h. */
32905 #include <math.h>
32906 #ifdef HAVE_IEEEFP_H
32907 #include <ieeefp.h>
32908 #endif
32909
32910 int
32911 main ()
32912 {
32913 finitel(0);
32914 ;
32915 return 0;
32916 }
32917 _ACEOF
32918 if ac_fn_cxx_try_compile "$LINENO"; then :
32919 glibcxx_cv_func_finitel_use=yes
32920 else
32921 glibcxx_cv_func_finitel_use=no
32922 fi
32923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32924 ac_ext=c
32925 ac_cpp='$CPP $CPPFLAGS'
32926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32929
32930
32931 fi
32932
32933 fi
32934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32935 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32936
32937 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32938 for ac_func in finitel
32939 do :
32940 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32941 if test "x$ac_cv_func_finitel" = x""yes; then :
32942 cat >>confdefs.h <<_ACEOF
32943 #define HAVE_FINITEL 1
32944 _ACEOF
32945
32946 fi
32947 done
32948
32949 else
32950
32951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32952 $as_echo_n "checking for _finitel declaration... " >&6; }
32953 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32954 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32955 $as_echo_n "(cached) " >&6
32956 else
32957
32958
32959 ac_ext=cpp
32960 ac_cpp='$CXXCPP $CPPFLAGS'
32961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32964
32965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32966 /* end confdefs.h. */
32967 #include <math.h>
32968 #ifdef HAVE_IEEEFP_H
32969 #include <ieeefp.h>
32970 #endif
32971
32972 int
32973 main ()
32974 {
32975 _finitel(0);
32976 ;
32977 return 0;
32978 }
32979 _ACEOF
32980 if ac_fn_cxx_try_compile "$LINENO"; then :
32981 glibcxx_cv_func__finitel_use=yes
32982 else
32983 glibcxx_cv_func__finitel_use=no
32984 fi
32985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32986 ac_ext=c
32987 ac_cpp='$CPP $CPPFLAGS'
32988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32991
32992
32993 fi
32994
32995 fi
32996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32997 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32998
32999 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33000 for ac_func in _finitel
33001 do :
33002 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33003 if test "x$ac_cv_func__finitel" = x""yes; then :
33004 cat >>confdefs.h <<_ACEOF
33005 #define HAVE__FINITEL 1
33006 _ACEOF
33007
33008 fi
33009 done
33010
33011 fi
33012 fi
33013
33014
33015
33016
33017 LIBS="$ac_save_LIBS"
33018 CXXFLAGS="$ac_save_CXXFLAGS"
33019
33020
33021 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33022 ac_save_CXXFLAGS="$CXXFLAGS"
33023 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33024
33025
33026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33027 $as_echo_n "checking for strtold declaration... " >&6; }
33028 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33029 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33030 $as_echo_n "(cached) " >&6
33031 else
33032
33033
33034 ac_ext=cpp
33035 ac_cpp='$CXXCPP $CPPFLAGS'
33036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33039
33040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33041 /* end confdefs.h. */
33042 #include <stdlib.h>
33043 int
33044 main ()
33045 {
33046 strtold(0, 0);
33047 ;
33048 return 0;
33049 }
33050 _ACEOF
33051 if ac_fn_cxx_try_compile "$LINENO"; then :
33052 glibcxx_cv_func_strtold_use=yes
33053 else
33054 glibcxx_cv_func_strtold_use=no
33055 fi
33056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33057 ac_ext=c
33058 ac_cpp='$CPP $CPPFLAGS'
33059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33062
33063
33064 fi
33065
33066 fi
33067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33068 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33069 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33070 for ac_func in strtold
33071 do :
33072 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33073 if test "x$ac_cv_func_strtold" = x""yes; then :
33074 cat >>confdefs.h <<_ACEOF
33075 #define HAVE_STRTOLD 1
33076 _ACEOF
33077
33078 fi
33079 done
33080
33081 fi
33082
33083
33084
33085
33086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33087 $as_echo_n "checking for strtof declaration... " >&6; }
33088 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33089 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33090 $as_echo_n "(cached) " >&6
33091 else
33092
33093
33094 ac_ext=cpp
33095 ac_cpp='$CXXCPP $CPPFLAGS'
33096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33099
33100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33101 /* end confdefs.h. */
33102 #include <stdlib.h>
33103 int
33104 main ()
33105 {
33106 strtof(0, 0);
33107 ;
33108 return 0;
33109 }
33110 _ACEOF
33111 if ac_fn_cxx_try_compile "$LINENO"; then :
33112 glibcxx_cv_func_strtof_use=yes
33113 else
33114 glibcxx_cv_func_strtof_use=no
33115 fi
33116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33117 ac_ext=c
33118 ac_cpp='$CPP $CPPFLAGS'
33119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33122
33123
33124 fi
33125
33126 fi
33127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33128 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33129 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33130 for ac_func in strtof
33131 do :
33132 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33133 if test "x$ac_cv_func_strtof" = x""yes; then :
33134 cat >>confdefs.h <<_ACEOF
33135 #define HAVE_STRTOF 1
33136 _ACEOF
33137
33138 fi
33139 done
33140
33141 fi
33142
33143
33144
33145
33146 CXXFLAGS="$ac_save_CXXFLAGS"
33147
33148
33149 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33150
33151 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33152
33153 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33154
33155 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33156
33157
33158 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33159
33160 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33161
33162 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33163
33164 ;;
33165
33166 *-aix*)
33167
33168 # If we're not using GNU ld, then there's no point in even trying these
33169 # tests. Check for that first. We should have already tested for gld
33170 # by now (in libtool), but require it now just to be safe...
33171 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33172 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33173
33174
33175
33176 # The name set by libtool depends on the version of libtool. Shame on us
33177 # for depending on an impl detail, but c'est la vie. Older versions used
33178 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33179 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33180 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33181 # set (hence we're using an older libtool), then set it.
33182 if test x${with_gnu_ld+set} != xset; then
33183 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33184 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33185 with_gnu_ld=no
33186 else
33187 with_gnu_ld=$ac_cv_prog_gnu_ld
33188 fi
33189 fi
33190
33191 # Start by getting the version number. I think the libtool test already
33192 # does some of this, but throws away the result.
33193 glibcxx_ld_is_gold=no
33194 if test x"$with_gnu_ld" = x"yes"; then
33195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33196 $as_echo_n "checking for ld version... " >&6; }
33197
33198 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33199 glibcxx_ld_is_gold=yes
33200 fi
33201 ldver=`$LD --version 2>/dev/null |
33202 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'`
33203
33204 glibcxx_gnu_ld_version=`echo $ldver | \
33205 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33207 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33208 fi
33209
33210 # Set --gc-sections.
33211 glibcxx_have_gc_sections=no
33212 if test "$glibcxx_ld_is_gold" = "yes"; then
33213 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33214 glibcxx_have_gc_sections=yes
33215 fi
33216 else
33217 glibcxx_gcsections_min_ld=21602
33218 if test x"$with_gnu_ld" = x"yes" &&
33219 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33220 glibcxx_have_gc_sections=yes
33221 fi
33222 fi
33223 if test "$glibcxx_have_gc_sections" = "yes"; then
33224 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33225 # NB: This flag only works reliably after 2.16.1. Configure tests
33226 # for this are difficult, so hard wire a value that should work.
33227
33228 ac_test_CFLAGS="${CFLAGS+set}"
33229 ac_save_CFLAGS="$CFLAGS"
33230 CFLAGS='-Wl,--gc-sections'
33231
33232 # Check for -Wl,--gc-sections
33233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33234 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33235 if test x$gcc_no_link = xyes; then
33236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33237 fi
33238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33239 /* end confdefs.h. */
33240 int one(void) { return 1; }
33241 int two(void) { return 2; }
33242
33243 int
33244 main ()
33245 {
33246 two();
33247 ;
33248 return 0;
33249 }
33250 _ACEOF
33251 if ac_fn_c_try_link "$LINENO"; then :
33252 ac_gcsections=yes
33253 else
33254 ac_gcsections=no
33255 fi
33256 rm -f core conftest.err conftest.$ac_objext \
33257 conftest$ac_exeext conftest.$ac_ext
33258 if test "$ac_gcsections" = "yes"; then
33259 rm -f conftest.c
33260 touch conftest.c
33261 if $CC -c conftest.c; then
33262 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33263 grep "Warning: gc-sections option ignored" > /dev/null; then
33264 ac_gcsections=no
33265 fi
33266 fi
33267 rm -f conftest.c conftest.o conftest
33268 fi
33269 if test "$ac_gcsections" = "yes"; then
33270 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33271 fi
33272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33273 $as_echo "$ac_gcsections" >&6; }
33274
33275 if test "$ac_test_CFLAGS" = set; then
33276 CFLAGS="$ac_save_CFLAGS"
33277 else
33278 # this is the suspicious part
33279 CFLAGS=''
33280 fi
33281 fi
33282
33283 # Set -z,relro.
33284 # Note this is only for shared objects.
33285 ac_ld_relro=no
33286 if test x"$with_gnu_ld" = x"yes"; then
33287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33288 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33289 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33290 if test -n "$cxx_z_relo"; then
33291 OPT_LDFLAGS="-Wl,-z,relro"
33292 ac_ld_relro=yes
33293 fi
33294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33295 $as_echo "$ac_ld_relro" >&6; }
33296 fi
33297
33298 # Set linker optimization flags.
33299 if test x"$with_gnu_ld" = x"yes"; then
33300 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33301 fi
33302
33303
33304
33305
33306
33307 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33308 ac_save_CXXFLAGS="$CXXFLAGS"
33309 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33310
33311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33312 $as_echo_n "checking for sin in -lm... " >&6; }
33313 if test "${ac_cv_lib_m_sin+set}" = set; then :
33314 $as_echo_n "(cached) " >&6
33315 else
33316 ac_check_lib_save_LIBS=$LIBS
33317 LIBS="-lm $LIBS"
33318 if test x$gcc_no_link = xyes; then
33319 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33320 fi
33321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33322 /* end confdefs.h. */
33323
33324 /* Override any GCC internal prototype to avoid an error.
33325 Use char because int might match the return type of a GCC
33326 builtin and then its argument prototype would still apply. */
33327 #ifdef __cplusplus
33328 extern "C"
33329 #endif
33330 char sin ();
33331 int
33332 main ()
33333 {
33334 return sin ();
33335 ;
33336 return 0;
33337 }
33338 _ACEOF
33339 if ac_fn_c_try_link "$LINENO"; then :
33340 ac_cv_lib_m_sin=yes
33341 else
33342 ac_cv_lib_m_sin=no
33343 fi
33344 rm -f core conftest.err conftest.$ac_objext \
33345 conftest$ac_exeext conftest.$ac_ext
33346 LIBS=$ac_check_lib_save_LIBS
33347 fi
33348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33349 $as_echo "$ac_cv_lib_m_sin" >&6; }
33350 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33351 libm="-lm"
33352 fi
33353
33354 ac_save_LIBS="$LIBS"
33355 LIBS="$LIBS $libm"
33356
33357
33358
33359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33360 $as_echo_n "checking for isinf declaration... " >&6; }
33361 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33362 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33363 $as_echo_n "(cached) " >&6
33364 else
33365
33366
33367 ac_ext=cpp
33368 ac_cpp='$CXXCPP $CPPFLAGS'
33369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33372
33373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33374 /* end confdefs.h. */
33375 #include <math.h>
33376 #ifdef HAVE_IEEEFP_H
33377 #include <ieeefp.h>
33378 #endif
33379
33380 int
33381 main ()
33382 {
33383 isinf(0);
33384 ;
33385 return 0;
33386 }
33387 _ACEOF
33388 if ac_fn_cxx_try_compile "$LINENO"; then :
33389 glibcxx_cv_func_isinf_use=yes
33390 else
33391 glibcxx_cv_func_isinf_use=no
33392 fi
33393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33394 ac_ext=c
33395 ac_cpp='$CPP $CPPFLAGS'
33396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33399
33400
33401 fi
33402
33403 fi
33404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33405 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33406
33407 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33408 for ac_func in isinf
33409 do :
33410 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33411 if test "x$ac_cv_func_isinf" = x""yes; then :
33412 cat >>confdefs.h <<_ACEOF
33413 #define HAVE_ISINF 1
33414 _ACEOF
33415
33416 fi
33417 done
33418
33419 else
33420
33421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33422 $as_echo_n "checking for _isinf declaration... " >&6; }
33423 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33424 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33425 $as_echo_n "(cached) " >&6
33426 else
33427
33428
33429 ac_ext=cpp
33430 ac_cpp='$CXXCPP $CPPFLAGS'
33431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33434
33435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33436 /* end confdefs.h. */
33437 #include <math.h>
33438 #ifdef HAVE_IEEEFP_H
33439 #include <ieeefp.h>
33440 #endif
33441
33442 int
33443 main ()
33444 {
33445 _isinf(0);
33446 ;
33447 return 0;
33448 }
33449 _ACEOF
33450 if ac_fn_cxx_try_compile "$LINENO"; then :
33451 glibcxx_cv_func__isinf_use=yes
33452 else
33453 glibcxx_cv_func__isinf_use=no
33454 fi
33455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33456 ac_ext=c
33457 ac_cpp='$CPP $CPPFLAGS'
33458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33461
33462
33463 fi
33464
33465 fi
33466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33467 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33468
33469 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33470 for ac_func in _isinf
33471 do :
33472 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33473 if test "x$ac_cv_func__isinf" = x""yes; then :
33474 cat >>confdefs.h <<_ACEOF
33475 #define HAVE__ISINF 1
33476 _ACEOF
33477
33478 fi
33479 done
33480
33481 fi
33482 fi
33483
33484
33485
33486
33487
33488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33489 $as_echo_n "checking for isnan declaration... " >&6; }
33490 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33491 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33492 $as_echo_n "(cached) " >&6
33493 else
33494
33495
33496 ac_ext=cpp
33497 ac_cpp='$CXXCPP $CPPFLAGS'
33498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33501
33502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33503 /* end confdefs.h. */
33504 #include <math.h>
33505 #ifdef HAVE_IEEEFP_H
33506 #include <ieeefp.h>
33507 #endif
33508
33509 int
33510 main ()
33511 {
33512 isnan(0);
33513 ;
33514 return 0;
33515 }
33516 _ACEOF
33517 if ac_fn_cxx_try_compile "$LINENO"; then :
33518 glibcxx_cv_func_isnan_use=yes
33519 else
33520 glibcxx_cv_func_isnan_use=no
33521 fi
33522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33523 ac_ext=c
33524 ac_cpp='$CPP $CPPFLAGS'
33525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33528
33529
33530 fi
33531
33532 fi
33533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33534 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33535
33536 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33537 for ac_func in isnan
33538 do :
33539 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33540 if test "x$ac_cv_func_isnan" = x""yes; then :
33541 cat >>confdefs.h <<_ACEOF
33542 #define HAVE_ISNAN 1
33543 _ACEOF
33544
33545 fi
33546 done
33547
33548 else
33549
33550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33551 $as_echo_n "checking for _isnan declaration... " >&6; }
33552 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33553 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33554 $as_echo_n "(cached) " >&6
33555 else
33556
33557
33558 ac_ext=cpp
33559 ac_cpp='$CXXCPP $CPPFLAGS'
33560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33563
33564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33565 /* end confdefs.h. */
33566 #include <math.h>
33567 #ifdef HAVE_IEEEFP_H
33568 #include <ieeefp.h>
33569 #endif
33570
33571 int
33572 main ()
33573 {
33574 _isnan(0);
33575 ;
33576 return 0;
33577 }
33578 _ACEOF
33579 if ac_fn_cxx_try_compile "$LINENO"; then :
33580 glibcxx_cv_func__isnan_use=yes
33581 else
33582 glibcxx_cv_func__isnan_use=no
33583 fi
33584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33585 ac_ext=c
33586 ac_cpp='$CPP $CPPFLAGS'
33587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33590
33591
33592 fi
33593
33594 fi
33595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33596 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33597
33598 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33599 for ac_func in _isnan
33600 do :
33601 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33602 if test "x$ac_cv_func__isnan" = x""yes; then :
33603 cat >>confdefs.h <<_ACEOF
33604 #define HAVE__ISNAN 1
33605 _ACEOF
33606
33607 fi
33608 done
33609
33610 fi
33611 fi
33612
33613
33614
33615
33616
33617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33618 $as_echo_n "checking for finite declaration... " >&6; }
33619 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33620 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33621 $as_echo_n "(cached) " >&6
33622 else
33623
33624
33625 ac_ext=cpp
33626 ac_cpp='$CXXCPP $CPPFLAGS'
33627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33630
33631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33632 /* end confdefs.h. */
33633 #include <math.h>
33634 #ifdef HAVE_IEEEFP_H
33635 #include <ieeefp.h>
33636 #endif
33637
33638 int
33639 main ()
33640 {
33641 finite(0);
33642 ;
33643 return 0;
33644 }
33645 _ACEOF
33646 if ac_fn_cxx_try_compile "$LINENO"; then :
33647 glibcxx_cv_func_finite_use=yes
33648 else
33649 glibcxx_cv_func_finite_use=no
33650 fi
33651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33652 ac_ext=c
33653 ac_cpp='$CPP $CPPFLAGS'
33654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33657
33658
33659 fi
33660
33661 fi
33662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33663 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33664
33665 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33666 for ac_func in finite
33667 do :
33668 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33669 if test "x$ac_cv_func_finite" = x""yes; then :
33670 cat >>confdefs.h <<_ACEOF
33671 #define HAVE_FINITE 1
33672 _ACEOF
33673
33674 fi
33675 done
33676
33677 else
33678
33679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33680 $as_echo_n "checking for _finite declaration... " >&6; }
33681 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33682 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33683 $as_echo_n "(cached) " >&6
33684 else
33685
33686
33687 ac_ext=cpp
33688 ac_cpp='$CXXCPP $CPPFLAGS'
33689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33692
33693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33694 /* end confdefs.h. */
33695 #include <math.h>
33696 #ifdef HAVE_IEEEFP_H
33697 #include <ieeefp.h>
33698 #endif
33699
33700 int
33701 main ()
33702 {
33703 _finite(0);
33704 ;
33705 return 0;
33706 }
33707 _ACEOF
33708 if ac_fn_cxx_try_compile "$LINENO"; then :
33709 glibcxx_cv_func__finite_use=yes
33710 else
33711 glibcxx_cv_func__finite_use=no
33712 fi
33713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33714 ac_ext=c
33715 ac_cpp='$CPP $CPPFLAGS'
33716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33719
33720
33721 fi
33722
33723 fi
33724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33725 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33726
33727 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33728 for ac_func in _finite
33729 do :
33730 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33731 if test "x$ac_cv_func__finite" = x""yes; then :
33732 cat >>confdefs.h <<_ACEOF
33733 #define HAVE__FINITE 1
33734 _ACEOF
33735
33736 fi
33737 done
33738
33739 fi
33740 fi
33741
33742
33743
33744
33745
33746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33747 $as_echo_n "checking for sincos declaration... " >&6; }
33748 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33749 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33750 $as_echo_n "(cached) " >&6
33751 else
33752
33753
33754 ac_ext=cpp
33755 ac_cpp='$CXXCPP $CPPFLAGS'
33756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33759
33760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33761 /* end confdefs.h. */
33762 #include <math.h>
33763 int
33764 main ()
33765 {
33766 sincos(0, 0, 0);
33767 ;
33768 return 0;
33769 }
33770 _ACEOF
33771 if ac_fn_cxx_try_compile "$LINENO"; then :
33772 glibcxx_cv_func_sincos_use=yes
33773 else
33774 glibcxx_cv_func_sincos_use=no
33775 fi
33776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33777 ac_ext=c
33778 ac_cpp='$CPP $CPPFLAGS'
33779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33782
33783
33784 fi
33785
33786 fi
33787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33788 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33789
33790 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33791 for ac_func in sincos
33792 do :
33793 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33794 if test "x$ac_cv_func_sincos" = x""yes; then :
33795 cat >>confdefs.h <<_ACEOF
33796 #define HAVE_SINCOS 1
33797 _ACEOF
33798
33799 fi
33800 done
33801
33802 else
33803
33804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33805 $as_echo_n "checking for _sincos declaration... " >&6; }
33806 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33807 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33808 $as_echo_n "(cached) " >&6
33809 else
33810
33811
33812 ac_ext=cpp
33813 ac_cpp='$CXXCPP $CPPFLAGS'
33814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33817
33818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33819 /* end confdefs.h. */
33820 #include <math.h>
33821 int
33822 main ()
33823 {
33824 _sincos(0, 0, 0);
33825 ;
33826 return 0;
33827 }
33828 _ACEOF
33829 if ac_fn_cxx_try_compile "$LINENO"; then :
33830 glibcxx_cv_func__sincos_use=yes
33831 else
33832 glibcxx_cv_func__sincos_use=no
33833 fi
33834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33835 ac_ext=c
33836 ac_cpp='$CPP $CPPFLAGS'
33837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33840
33841
33842 fi
33843
33844 fi
33845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33846 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33847
33848 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33849 for ac_func in _sincos
33850 do :
33851 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33852 if test "x$ac_cv_func__sincos" = x""yes; then :
33853 cat >>confdefs.h <<_ACEOF
33854 #define HAVE__SINCOS 1
33855 _ACEOF
33856
33857 fi
33858 done
33859
33860 fi
33861 fi
33862
33863
33864
33865
33866
33867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33868 $as_echo_n "checking for fpclass declaration... " >&6; }
33869 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33870 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33871 $as_echo_n "(cached) " >&6
33872 else
33873
33874
33875 ac_ext=cpp
33876 ac_cpp='$CXXCPP $CPPFLAGS'
33877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33880
33881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33882 /* end confdefs.h. */
33883 #include <math.h>
33884 #ifdef HAVE_IEEEFP_H
33885 #include <ieeefp.h>
33886 #endif
33887
33888 int
33889 main ()
33890 {
33891 fpclass(0);
33892 ;
33893 return 0;
33894 }
33895 _ACEOF
33896 if ac_fn_cxx_try_compile "$LINENO"; then :
33897 glibcxx_cv_func_fpclass_use=yes
33898 else
33899 glibcxx_cv_func_fpclass_use=no
33900 fi
33901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33902 ac_ext=c
33903 ac_cpp='$CPP $CPPFLAGS'
33904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33907
33908
33909 fi
33910
33911 fi
33912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33913 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33914
33915 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33916 for ac_func in fpclass
33917 do :
33918 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33919 if test "x$ac_cv_func_fpclass" = x""yes; then :
33920 cat >>confdefs.h <<_ACEOF
33921 #define HAVE_FPCLASS 1
33922 _ACEOF
33923
33924 fi
33925 done
33926
33927 else
33928
33929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33930 $as_echo_n "checking for _fpclass declaration... " >&6; }
33931 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33932 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33933 $as_echo_n "(cached) " >&6
33934 else
33935
33936
33937 ac_ext=cpp
33938 ac_cpp='$CXXCPP $CPPFLAGS'
33939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33942
33943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33944 /* end confdefs.h. */
33945 #include <math.h>
33946 #ifdef HAVE_IEEEFP_H
33947 #include <ieeefp.h>
33948 #endif
33949
33950 int
33951 main ()
33952 {
33953 _fpclass(0);
33954 ;
33955 return 0;
33956 }
33957 _ACEOF
33958 if ac_fn_cxx_try_compile "$LINENO"; then :
33959 glibcxx_cv_func__fpclass_use=yes
33960 else
33961 glibcxx_cv_func__fpclass_use=no
33962 fi
33963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33964 ac_ext=c
33965 ac_cpp='$CPP $CPPFLAGS'
33966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33969
33970
33971 fi
33972
33973 fi
33974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33975 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33976
33977 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33978 for ac_func in _fpclass
33979 do :
33980 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33981 if test "x$ac_cv_func__fpclass" = x""yes; then :
33982 cat >>confdefs.h <<_ACEOF
33983 #define HAVE__FPCLASS 1
33984 _ACEOF
33985
33986 fi
33987 done
33988
33989 fi
33990 fi
33991
33992
33993
33994
33995
33996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33997 $as_echo_n "checking for qfpclass declaration... " >&6; }
33998 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33999 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34000 $as_echo_n "(cached) " >&6
34001 else
34002
34003
34004 ac_ext=cpp
34005 ac_cpp='$CXXCPP $CPPFLAGS'
34006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34009
34010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34011 /* end confdefs.h. */
34012 #include <math.h>
34013 #ifdef HAVE_IEEEFP_H
34014 #include <ieeefp.h>
34015 #endif
34016
34017 int
34018 main ()
34019 {
34020 qfpclass(0);
34021 ;
34022 return 0;
34023 }
34024 _ACEOF
34025 if ac_fn_cxx_try_compile "$LINENO"; then :
34026 glibcxx_cv_func_qfpclass_use=yes
34027 else
34028 glibcxx_cv_func_qfpclass_use=no
34029 fi
34030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34031 ac_ext=c
34032 ac_cpp='$CPP $CPPFLAGS'
34033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34036
34037
34038 fi
34039
34040 fi
34041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34042 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34043
34044 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34045 for ac_func in qfpclass
34046 do :
34047 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34048 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34049 cat >>confdefs.h <<_ACEOF
34050 #define HAVE_QFPCLASS 1
34051 _ACEOF
34052
34053 fi
34054 done
34055
34056 else
34057
34058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34059 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34060 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34061 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34062 $as_echo_n "(cached) " >&6
34063 else
34064
34065
34066 ac_ext=cpp
34067 ac_cpp='$CXXCPP $CPPFLAGS'
34068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34071
34072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34073 /* end confdefs.h. */
34074 #include <math.h>
34075 #ifdef HAVE_IEEEFP_H
34076 #include <ieeefp.h>
34077 #endif
34078
34079 int
34080 main ()
34081 {
34082 _qfpclass(0);
34083 ;
34084 return 0;
34085 }
34086 _ACEOF
34087 if ac_fn_cxx_try_compile "$LINENO"; then :
34088 glibcxx_cv_func__qfpclass_use=yes
34089 else
34090 glibcxx_cv_func__qfpclass_use=no
34091 fi
34092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34093 ac_ext=c
34094 ac_cpp='$CPP $CPPFLAGS'
34095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34098
34099
34100 fi
34101
34102 fi
34103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34104 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34105
34106 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34107 for ac_func in _qfpclass
34108 do :
34109 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34110 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34111 cat >>confdefs.h <<_ACEOF
34112 #define HAVE__QFPCLASS 1
34113 _ACEOF
34114
34115 fi
34116 done
34117
34118 fi
34119 fi
34120
34121
34122
34123
34124
34125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34126 $as_echo_n "checking for hypot declaration... " >&6; }
34127 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34128 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34129 $as_echo_n "(cached) " >&6
34130 else
34131
34132
34133 ac_ext=cpp
34134 ac_cpp='$CXXCPP $CPPFLAGS'
34135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34138
34139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34140 /* end confdefs.h. */
34141 #include <math.h>
34142 int
34143 main ()
34144 {
34145 hypot(0, 0);
34146 ;
34147 return 0;
34148 }
34149 _ACEOF
34150 if ac_fn_cxx_try_compile "$LINENO"; then :
34151 glibcxx_cv_func_hypot_use=yes
34152 else
34153 glibcxx_cv_func_hypot_use=no
34154 fi
34155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34156 ac_ext=c
34157 ac_cpp='$CPP $CPPFLAGS'
34158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34161
34162
34163 fi
34164
34165 fi
34166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34167 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34168
34169 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34170 for ac_func in hypot
34171 do :
34172 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34173 if test "x$ac_cv_func_hypot" = x""yes; then :
34174 cat >>confdefs.h <<_ACEOF
34175 #define HAVE_HYPOT 1
34176 _ACEOF
34177
34178 fi
34179 done
34180
34181 else
34182
34183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34184 $as_echo_n "checking for _hypot declaration... " >&6; }
34185 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34186 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34187 $as_echo_n "(cached) " >&6
34188 else
34189
34190
34191 ac_ext=cpp
34192 ac_cpp='$CXXCPP $CPPFLAGS'
34193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34196
34197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34198 /* end confdefs.h. */
34199 #include <math.h>
34200 int
34201 main ()
34202 {
34203 _hypot(0, 0);
34204 ;
34205 return 0;
34206 }
34207 _ACEOF
34208 if ac_fn_cxx_try_compile "$LINENO"; then :
34209 glibcxx_cv_func__hypot_use=yes
34210 else
34211 glibcxx_cv_func__hypot_use=no
34212 fi
34213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34214 ac_ext=c
34215 ac_cpp='$CPP $CPPFLAGS'
34216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34219
34220
34221 fi
34222
34223 fi
34224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34225 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34226
34227 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34228 for ac_func in _hypot
34229 do :
34230 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34231 if test "x$ac_cv_func__hypot" = x""yes; then :
34232 cat >>confdefs.h <<_ACEOF
34233 #define HAVE__HYPOT 1
34234 _ACEOF
34235
34236 fi
34237 done
34238
34239 fi
34240 fi
34241
34242
34243
34244
34245
34246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34247 $as_echo_n "checking for float trig functions... " >&6; }
34248 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34249 $as_echo_n "(cached) " >&6
34250 else
34251
34252
34253 ac_ext=cpp
34254 ac_cpp='$CXXCPP $CPPFLAGS'
34255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34258
34259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34260 /* end confdefs.h. */
34261 #include <math.h>
34262 int
34263 main ()
34264 {
34265 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34266 ;
34267 return 0;
34268 }
34269 _ACEOF
34270 if ac_fn_cxx_try_compile "$LINENO"; then :
34271 glibcxx_cv_func_float_trig_use=yes
34272 else
34273 glibcxx_cv_func_float_trig_use=no
34274 fi
34275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34276 ac_ext=c
34277 ac_cpp='$CPP $CPPFLAGS'
34278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34281
34282 fi
34283
34284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34285 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34286 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34287 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34288 do :
34289 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34290 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34291 eval as_val=\$$as_ac_var
34292 if test "x$as_val" = x""yes; then :
34293 cat >>confdefs.h <<_ACEOF
34294 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34295 _ACEOF
34296
34297 fi
34298 done
34299
34300 else
34301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34302 $as_echo_n "checking for _float trig functions... " >&6; }
34303 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34304 $as_echo_n "(cached) " >&6
34305 else
34306
34307
34308 ac_ext=cpp
34309 ac_cpp='$CXXCPP $CPPFLAGS'
34310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34313
34314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34315 /* end confdefs.h. */
34316 #include <math.h>
34317 int
34318 main ()
34319 {
34320 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34321 ;
34322 return 0;
34323 }
34324 _ACEOF
34325 if ac_fn_cxx_try_compile "$LINENO"; then :
34326 glibcxx_cv_func__float_trig_use=yes
34327 else
34328 glibcxx_cv_func__float_trig_use=no
34329 fi
34330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34331 ac_ext=c
34332 ac_cpp='$CPP $CPPFLAGS'
34333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34336
34337 fi
34338
34339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34340 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34341 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34342 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34343 do :
34344 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34345 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34346 eval as_val=\$$as_ac_var
34347 if test "x$as_val" = x""yes; then :
34348 cat >>confdefs.h <<_ACEOF
34349 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34350 _ACEOF
34351
34352 fi
34353 done
34354
34355 fi
34356 fi
34357
34358
34359
34360
34361
34362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34363 $as_echo_n "checking for float round functions... " >&6; }
34364 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34365 $as_echo_n "(cached) " >&6
34366 else
34367
34368
34369 ac_ext=cpp
34370 ac_cpp='$CXXCPP $CPPFLAGS'
34371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34374
34375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34376 /* end confdefs.h. */
34377 #include <math.h>
34378 int
34379 main ()
34380 {
34381 ceilf (0); floorf (0);
34382 ;
34383 return 0;
34384 }
34385 _ACEOF
34386 if ac_fn_cxx_try_compile "$LINENO"; then :
34387 glibcxx_cv_func_float_round_use=yes
34388 else
34389 glibcxx_cv_func_float_round_use=no
34390 fi
34391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34392 ac_ext=c
34393 ac_cpp='$CPP $CPPFLAGS'
34394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34397
34398 fi
34399
34400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34401 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34402 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34403 for ac_func in ceilf floorf
34404 do :
34405 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34406 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34407 eval as_val=\$$as_ac_var
34408 if test "x$as_val" = x""yes; then :
34409 cat >>confdefs.h <<_ACEOF
34410 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34411 _ACEOF
34412
34413 fi
34414 done
34415
34416 else
34417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34418 $as_echo_n "checking for _float round functions... " >&6; }
34419 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34420 $as_echo_n "(cached) " >&6
34421 else
34422
34423
34424 ac_ext=cpp
34425 ac_cpp='$CXXCPP $CPPFLAGS'
34426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34429
34430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34431 /* end confdefs.h. */
34432 #include <math.h>
34433 int
34434 main ()
34435 {
34436 _ceilf (0); _floorf (0);
34437 ;
34438 return 0;
34439 }
34440 _ACEOF
34441 if ac_fn_cxx_try_compile "$LINENO"; then :
34442 glibcxx_cv_func__float_round_use=yes
34443 else
34444 glibcxx_cv_func__float_round_use=no
34445 fi
34446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34447 ac_ext=c
34448 ac_cpp='$CPP $CPPFLAGS'
34449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34452
34453 fi
34454
34455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34456 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34457 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34458 for ac_func in _ceilf _floorf
34459 do :
34460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34462 eval as_val=\$$as_ac_var
34463 if test "x$as_val" = x""yes; then :
34464 cat >>confdefs.h <<_ACEOF
34465 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34466 _ACEOF
34467
34468 fi
34469 done
34470
34471 fi
34472 fi
34473
34474
34475
34476
34477
34478
34479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34480 $as_echo_n "checking for expf declaration... " >&6; }
34481 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34482 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34483 $as_echo_n "(cached) " >&6
34484 else
34485
34486
34487 ac_ext=cpp
34488 ac_cpp='$CXXCPP $CPPFLAGS'
34489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34492
34493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34494 /* end confdefs.h. */
34495 #include <math.h>
34496 #ifdef HAVE_IEEEFP_H
34497 #include <ieeefp.h>
34498 #endif
34499
34500 int
34501 main ()
34502 {
34503 expf(0);
34504 ;
34505 return 0;
34506 }
34507 _ACEOF
34508 if ac_fn_cxx_try_compile "$LINENO"; then :
34509 glibcxx_cv_func_expf_use=yes
34510 else
34511 glibcxx_cv_func_expf_use=no
34512 fi
34513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34514 ac_ext=c
34515 ac_cpp='$CPP $CPPFLAGS'
34516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34519
34520
34521 fi
34522
34523 fi
34524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34525 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34526
34527 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34528 for ac_func in expf
34529 do :
34530 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34531 if test "x$ac_cv_func_expf" = x""yes; then :
34532 cat >>confdefs.h <<_ACEOF
34533 #define HAVE_EXPF 1
34534 _ACEOF
34535
34536 fi
34537 done
34538
34539 else
34540
34541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34542 $as_echo_n "checking for _expf declaration... " >&6; }
34543 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34544 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34545 $as_echo_n "(cached) " >&6
34546 else
34547
34548
34549 ac_ext=cpp
34550 ac_cpp='$CXXCPP $CPPFLAGS'
34551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34554
34555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34556 /* end confdefs.h. */
34557 #include <math.h>
34558 #ifdef HAVE_IEEEFP_H
34559 #include <ieeefp.h>
34560 #endif
34561
34562 int
34563 main ()
34564 {
34565 _expf(0);
34566 ;
34567 return 0;
34568 }
34569 _ACEOF
34570 if ac_fn_cxx_try_compile "$LINENO"; then :
34571 glibcxx_cv_func__expf_use=yes
34572 else
34573 glibcxx_cv_func__expf_use=no
34574 fi
34575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34576 ac_ext=c
34577 ac_cpp='$CPP $CPPFLAGS'
34578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34581
34582
34583 fi
34584
34585 fi
34586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34587 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34588
34589 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34590 for ac_func in _expf
34591 do :
34592 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34593 if test "x$ac_cv_func__expf" = x""yes; then :
34594 cat >>confdefs.h <<_ACEOF
34595 #define HAVE__EXPF 1
34596 _ACEOF
34597
34598 fi
34599 done
34600
34601 fi
34602 fi
34603
34604
34605
34606
34607
34608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34609 $as_echo_n "checking for isnanf declaration... " >&6; }
34610 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34611 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34612 $as_echo_n "(cached) " >&6
34613 else
34614
34615
34616 ac_ext=cpp
34617 ac_cpp='$CXXCPP $CPPFLAGS'
34618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34621
34622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34623 /* end confdefs.h. */
34624 #include <math.h>
34625 #ifdef HAVE_IEEEFP_H
34626 #include <ieeefp.h>
34627 #endif
34628
34629 int
34630 main ()
34631 {
34632 isnanf(0);
34633 ;
34634 return 0;
34635 }
34636 _ACEOF
34637 if ac_fn_cxx_try_compile "$LINENO"; then :
34638 glibcxx_cv_func_isnanf_use=yes
34639 else
34640 glibcxx_cv_func_isnanf_use=no
34641 fi
34642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34643 ac_ext=c
34644 ac_cpp='$CPP $CPPFLAGS'
34645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34648
34649
34650 fi
34651
34652 fi
34653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34654 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34655
34656 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34657 for ac_func in isnanf
34658 do :
34659 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34660 if test "x$ac_cv_func_isnanf" = x""yes; then :
34661 cat >>confdefs.h <<_ACEOF
34662 #define HAVE_ISNANF 1
34663 _ACEOF
34664
34665 fi
34666 done
34667
34668 else
34669
34670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34671 $as_echo_n "checking for _isnanf declaration... " >&6; }
34672 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34673 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34674 $as_echo_n "(cached) " >&6
34675 else
34676
34677
34678 ac_ext=cpp
34679 ac_cpp='$CXXCPP $CPPFLAGS'
34680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34683
34684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34685 /* end confdefs.h. */
34686 #include <math.h>
34687 #ifdef HAVE_IEEEFP_H
34688 #include <ieeefp.h>
34689 #endif
34690
34691 int
34692 main ()
34693 {
34694 _isnanf(0);
34695 ;
34696 return 0;
34697 }
34698 _ACEOF
34699 if ac_fn_cxx_try_compile "$LINENO"; then :
34700 glibcxx_cv_func__isnanf_use=yes
34701 else
34702 glibcxx_cv_func__isnanf_use=no
34703 fi
34704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34705 ac_ext=c
34706 ac_cpp='$CPP $CPPFLAGS'
34707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34710
34711
34712 fi
34713
34714 fi
34715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34716 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34717
34718 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34719 for ac_func in _isnanf
34720 do :
34721 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34722 if test "x$ac_cv_func__isnanf" = x""yes; then :
34723 cat >>confdefs.h <<_ACEOF
34724 #define HAVE__ISNANF 1
34725 _ACEOF
34726
34727 fi
34728 done
34729
34730 fi
34731 fi
34732
34733
34734
34735
34736
34737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34738 $as_echo_n "checking for isinff declaration... " >&6; }
34739 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34740 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34741 $as_echo_n "(cached) " >&6
34742 else
34743
34744
34745 ac_ext=cpp
34746 ac_cpp='$CXXCPP $CPPFLAGS'
34747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34750
34751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34752 /* end confdefs.h. */
34753 #include <math.h>
34754 #ifdef HAVE_IEEEFP_H
34755 #include <ieeefp.h>
34756 #endif
34757
34758 int
34759 main ()
34760 {
34761 isinff(0);
34762 ;
34763 return 0;
34764 }
34765 _ACEOF
34766 if ac_fn_cxx_try_compile "$LINENO"; then :
34767 glibcxx_cv_func_isinff_use=yes
34768 else
34769 glibcxx_cv_func_isinff_use=no
34770 fi
34771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34772 ac_ext=c
34773 ac_cpp='$CPP $CPPFLAGS'
34774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34777
34778
34779 fi
34780
34781 fi
34782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34783 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34784
34785 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34786 for ac_func in isinff
34787 do :
34788 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34789 if test "x$ac_cv_func_isinff" = x""yes; then :
34790 cat >>confdefs.h <<_ACEOF
34791 #define HAVE_ISINFF 1
34792 _ACEOF
34793
34794 fi
34795 done
34796
34797 else
34798
34799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34800 $as_echo_n "checking for _isinff declaration... " >&6; }
34801 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34802 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34803 $as_echo_n "(cached) " >&6
34804 else
34805
34806
34807 ac_ext=cpp
34808 ac_cpp='$CXXCPP $CPPFLAGS'
34809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34812
34813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34814 /* end confdefs.h. */
34815 #include <math.h>
34816 #ifdef HAVE_IEEEFP_H
34817 #include <ieeefp.h>
34818 #endif
34819
34820 int
34821 main ()
34822 {
34823 _isinff(0);
34824 ;
34825 return 0;
34826 }
34827 _ACEOF
34828 if ac_fn_cxx_try_compile "$LINENO"; then :
34829 glibcxx_cv_func__isinff_use=yes
34830 else
34831 glibcxx_cv_func__isinff_use=no
34832 fi
34833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34834 ac_ext=c
34835 ac_cpp='$CPP $CPPFLAGS'
34836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34839
34840
34841 fi
34842
34843 fi
34844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34845 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34846
34847 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34848 for ac_func in _isinff
34849 do :
34850 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34851 if test "x$ac_cv_func__isinff" = x""yes; then :
34852 cat >>confdefs.h <<_ACEOF
34853 #define HAVE__ISINFF 1
34854 _ACEOF
34855
34856 fi
34857 done
34858
34859 fi
34860 fi
34861
34862
34863
34864
34865
34866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34867 $as_echo_n "checking for atan2f declaration... " >&6; }
34868 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34869 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34870 $as_echo_n "(cached) " >&6
34871 else
34872
34873
34874 ac_ext=cpp
34875 ac_cpp='$CXXCPP $CPPFLAGS'
34876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34879
34880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34881 /* end confdefs.h. */
34882 #include <math.h>
34883 int
34884 main ()
34885 {
34886 atan2f(0, 0);
34887 ;
34888 return 0;
34889 }
34890 _ACEOF
34891 if ac_fn_cxx_try_compile "$LINENO"; then :
34892 glibcxx_cv_func_atan2f_use=yes
34893 else
34894 glibcxx_cv_func_atan2f_use=no
34895 fi
34896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34897 ac_ext=c
34898 ac_cpp='$CPP $CPPFLAGS'
34899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34902
34903
34904 fi
34905
34906 fi
34907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34908 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34909
34910 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34911 for ac_func in atan2f
34912 do :
34913 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34914 if test "x$ac_cv_func_atan2f" = x""yes; then :
34915 cat >>confdefs.h <<_ACEOF
34916 #define HAVE_ATAN2F 1
34917 _ACEOF
34918
34919 fi
34920 done
34921
34922 else
34923
34924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34925 $as_echo_n "checking for _atan2f declaration... " >&6; }
34926 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34927 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34928 $as_echo_n "(cached) " >&6
34929 else
34930
34931
34932 ac_ext=cpp
34933 ac_cpp='$CXXCPP $CPPFLAGS'
34934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34937
34938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34939 /* end confdefs.h. */
34940 #include <math.h>
34941 int
34942 main ()
34943 {
34944 _atan2f(0, 0);
34945 ;
34946 return 0;
34947 }
34948 _ACEOF
34949 if ac_fn_cxx_try_compile "$LINENO"; then :
34950 glibcxx_cv_func__atan2f_use=yes
34951 else
34952 glibcxx_cv_func__atan2f_use=no
34953 fi
34954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34955 ac_ext=c
34956 ac_cpp='$CPP $CPPFLAGS'
34957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34960
34961
34962 fi
34963
34964 fi
34965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34966 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34967
34968 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34969 for ac_func in _atan2f
34970 do :
34971 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34972 if test "x$ac_cv_func__atan2f" = x""yes; then :
34973 cat >>confdefs.h <<_ACEOF
34974 #define HAVE__ATAN2F 1
34975 _ACEOF
34976
34977 fi
34978 done
34979
34980 fi
34981 fi
34982
34983
34984
34985
34986
34987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34988 $as_echo_n "checking for fabsf declaration... " >&6; }
34989 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34990 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34991 $as_echo_n "(cached) " >&6
34992 else
34993
34994
34995 ac_ext=cpp
34996 ac_cpp='$CXXCPP $CPPFLAGS'
34997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35000
35001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35002 /* end confdefs.h. */
35003 #include <math.h>
35004 #ifdef HAVE_IEEEFP_H
35005 #include <ieeefp.h>
35006 #endif
35007
35008 int
35009 main ()
35010 {
35011 fabsf(0);
35012 ;
35013 return 0;
35014 }
35015 _ACEOF
35016 if ac_fn_cxx_try_compile "$LINENO"; then :
35017 glibcxx_cv_func_fabsf_use=yes
35018 else
35019 glibcxx_cv_func_fabsf_use=no
35020 fi
35021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35022 ac_ext=c
35023 ac_cpp='$CPP $CPPFLAGS'
35024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35027
35028
35029 fi
35030
35031 fi
35032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35033 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35034
35035 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35036 for ac_func in fabsf
35037 do :
35038 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35039 if test "x$ac_cv_func_fabsf" = x""yes; then :
35040 cat >>confdefs.h <<_ACEOF
35041 #define HAVE_FABSF 1
35042 _ACEOF
35043
35044 fi
35045 done
35046
35047 else
35048
35049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35050 $as_echo_n "checking for _fabsf declaration... " >&6; }
35051 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35052 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35053 $as_echo_n "(cached) " >&6
35054 else
35055
35056
35057 ac_ext=cpp
35058 ac_cpp='$CXXCPP $CPPFLAGS'
35059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35062
35063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35064 /* end confdefs.h. */
35065 #include <math.h>
35066 #ifdef HAVE_IEEEFP_H
35067 #include <ieeefp.h>
35068 #endif
35069
35070 int
35071 main ()
35072 {
35073 _fabsf(0);
35074 ;
35075 return 0;
35076 }
35077 _ACEOF
35078 if ac_fn_cxx_try_compile "$LINENO"; then :
35079 glibcxx_cv_func__fabsf_use=yes
35080 else
35081 glibcxx_cv_func__fabsf_use=no
35082 fi
35083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35084 ac_ext=c
35085 ac_cpp='$CPP $CPPFLAGS'
35086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35089
35090
35091 fi
35092
35093 fi
35094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35095 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35096
35097 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35098 for ac_func in _fabsf
35099 do :
35100 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35101 if test "x$ac_cv_func__fabsf" = x""yes; then :
35102 cat >>confdefs.h <<_ACEOF
35103 #define HAVE__FABSF 1
35104 _ACEOF
35105
35106 fi
35107 done
35108
35109 fi
35110 fi
35111
35112
35113
35114
35115
35116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35117 $as_echo_n "checking for fmodf declaration... " >&6; }
35118 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35119 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35120 $as_echo_n "(cached) " >&6
35121 else
35122
35123
35124 ac_ext=cpp
35125 ac_cpp='$CXXCPP $CPPFLAGS'
35126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35129
35130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35131 /* end confdefs.h. */
35132 #include <math.h>
35133 int
35134 main ()
35135 {
35136 fmodf(0, 0);
35137 ;
35138 return 0;
35139 }
35140 _ACEOF
35141 if ac_fn_cxx_try_compile "$LINENO"; then :
35142 glibcxx_cv_func_fmodf_use=yes
35143 else
35144 glibcxx_cv_func_fmodf_use=no
35145 fi
35146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35147 ac_ext=c
35148 ac_cpp='$CPP $CPPFLAGS'
35149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35152
35153
35154 fi
35155
35156 fi
35157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35158 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35159
35160 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35161 for ac_func in fmodf
35162 do :
35163 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35164 if test "x$ac_cv_func_fmodf" = x""yes; then :
35165 cat >>confdefs.h <<_ACEOF
35166 #define HAVE_FMODF 1
35167 _ACEOF
35168
35169 fi
35170 done
35171
35172 else
35173
35174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35175 $as_echo_n "checking for _fmodf declaration... " >&6; }
35176 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35177 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35178 $as_echo_n "(cached) " >&6
35179 else
35180
35181
35182 ac_ext=cpp
35183 ac_cpp='$CXXCPP $CPPFLAGS'
35184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35187
35188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35189 /* end confdefs.h. */
35190 #include <math.h>
35191 int
35192 main ()
35193 {
35194 _fmodf(0, 0);
35195 ;
35196 return 0;
35197 }
35198 _ACEOF
35199 if ac_fn_cxx_try_compile "$LINENO"; then :
35200 glibcxx_cv_func__fmodf_use=yes
35201 else
35202 glibcxx_cv_func__fmodf_use=no
35203 fi
35204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35205 ac_ext=c
35206 ac_cpp='$CPP $CPPFLAGS'
35207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35210
35211
35212 fi
35213
35214 fi
35215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35216 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35217
35218 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35219 for ac_func in _fmodf
35220 do :
35221 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35222 if test "x$ac_cv_func__fmodf" = x""yes; then :
35223 cat >>confdefs.h <<_ACEOF
35224 #define HAVE__FMODF 1
35225 _ACEOF
35226
35227 fi
35228 done
35229
35230 fi
35231 fi
35232
35233
35234
35235
35236
35237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35238 $as_echo_n "checking for frexpf declaration... " >&6; }
35239 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35240 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35241 $as_echo_n "(cached) " >&6
35242 else
35243
35244
35245 ac_ext=cpp
35246 ac_cpp='$CXXCPP $CPPFLAGS'
35247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35250
35251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35252 /* end confdefs.h. */
35253 #include <math.h>
35254 int
35255 main ()
35256 {
35257 frexpf(0, 0);
35258 ;
35259 return 0;
35260 }
35261 _ACEOF
35262 if ac_fn_cxx_try_compile "$LINENO"; then :
35263 glibcxx_cv_func_frexpf_use=yes
35264 else
35265 glibcxx_cv_func_frexpf_use=no
35266 fi
35267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35268 ac_ext=c
35269 ac_cpp='$CPP $CPPFLAGS'
35270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35273
35274
35275 fi
35276
35277 fi
35278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35279 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35280
35281 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35282 for ac_func in frexpf
35283 do :
35284 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35285 if test "x$ac_cv_func_frexpf" = x""yes; then :
35286 cat >>confdefs.h <<_ACEOF
35287 #define HAVE_FREXPF 1
35288 _ACEOF
35289
35290 fi
35291 done
35292
35293 else
35294
35295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35296 $as_echo_n "checking for _frexpf declaration... " >&6; }
35297 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35298 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35299 $as_echo_n "(cached) " >&6
35300 else
35301
35302
35303 ac_ext=cpp
35304 ac_cpp='$CXXCPP $CPPFLAGS'
35305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35308
35309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35310 /* end confdefs.h. */
35311 #include <math.h>
35312 int
35313 main ()
35314 {
35315 _frexpf(0, 0);
35316 ;
35317 return 0;
35318 }
35319 _ACEOF
35320 if ac_fn_cxx_try_compile "$LINENO"; then :
35321 glibcxx_cv_func__frexpf_use=yes
35322 else
35323 glibcxx_cv_func__frexpf_use=no
35324 fi
35325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35326 ac_ext=c
35327 ac_cpp='$CPP $CPPFLAGS'
35328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35331
35332
35333 fi
35334
35335 fi
35336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35337 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35338
35339 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35340 for ac_func in _frexpf
35341 do :
35342 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35343 if test "x$ac_cv_func__frexpf" = x""yes; then :
35344 cat >>confdefs.h <<_ACEOF
35345 #define HAVE__FREXPF 1
35346 _ACEOF
35347
35348 fi
35349 done
35350
35351 fi
35352 fi
35353
35354
35355
35356
35357
35358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35359 $as_echo_n "checking for hypotf declaration... " >&6; }
35360 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35361 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35362 $as_echo_n "(cached) " >&6
35363 else
35364
35365
35366 ac_ext=cpp
35367 ac_cpp='$CXXCPP $CPPFLAGS'
35368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35371
35372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35373 /* end confdefs.h. */
35374 #include <math.h>
35375 int
35376 main ()
35377 {
35378 hypotf(0, 0);
35379 ;
35380 return 0;
35381 }
35382 _ACEOF
35383 if ac_fn_cxx_try_compile "$LINENO"; then :
35384 glibcxx_cv_func_hypotf_use=yes
35385 else
35386 glibcxx_cv_func_hypotf_use=no
35387 fi
35388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35389 ac_ext=c
35390 ac_cpp='$CPP $CPPFLAGS'
35391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35394
35395
35396 fi
35397
35398 fi
35399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35400 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35401
35402 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35403 for ac_func in hypotf
35404 do :
35405 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35406 if test "x$ac_cv_func_hypotf" = x""yes; then :
35407 cat >>confdefs.h <<_ACEOF
35408 #define HAVE_HYPOTF 1
35409 _ACEOF
35410
35411 fi
35412 done
35413
35414 else
35415
35416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35417 $as_echo_n "checking for _hypotf declaration... " >&6; }
35418 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35419 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35420 $as_echo_n "(cached) " >&6
35421 else
35422
35423
35424 ac_ext=cpp
35425 ac_cpp='$CXXCPP $CPPFLAGS'
35426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35429
35430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35431 /* end confdefs.h. */
35432 #include <math.h>
35433 int
35434 main ()
35435 {
35436 _hypotf(0, 0);
35437 ;
35438 return 0;
35439 }
35440 _ACEOF
35441 if ac_fn_cxx_try_compile "$LINENO"; then :
35442 glibcxx_cv_func__hypotf_use=yes
35443 else
35444 glibcxx_cv_func__hypotf_use=no
35445 fi
35446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35447 ac_ext=c
35448 ac_cpp='$CPP $CPPFLAGS'
35449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35452
35453
35454 fi
35455
35456 fi
35457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35458 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35459
35460 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35461 for ac_func in _hypotf
35462 do :
35463 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35464 if test "x$ac_cv_func__hypotf" = x""yes; then :
35465 cat >>confdefs.h <<_ACEOF
35466 #define HAVE__HYPOTF 1
35467 _ACEOF
35468
35469 fi
35470 done
35471
35472 fi
35473 fi
35474
35475
35476
35477
35478
35479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35480 $as_echo_n "checking for ldexpf declaration... " >&6; }
35481 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35482 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35483 $as_echo_n "(cached) " >&6
35484 else
35485
35486
35487 ac_ext=cpp
35488 ac_cpp='$CXXCPP $CPPFLAGS'
35489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35492
35493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35494 /* end confdefs.h. */
35495 #include <math.h>
35496 int
35497 main ()
35498 {
35499 ldexpf(0, 0);
35500 ;
35501 return 0;
35502 }
35503 _ACEOF
35504 if ac_fn_cxx_try_compile "$LINENO"; then :
35505 glibcxx_cv_func_ldexpf_use=yes
35506 else
35507 glibcxx_cv_func_ldexpf_use=no
35508 fi
35509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35510 ac_ext=c
35511 ac_cpp='$CPP $CPPFLAGS'
35512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35515
35516
35517 fi
35518
35519 fi
35520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35521 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35522
35523 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35524 for ac_func in ldexpf
35525 do :
35526 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35527 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35528 cat >>confdefs.h <<_ACEOF
35529 #define HAVE_LDEXPF 1
35530 _ACEOF
35531
35532 fi
35533 done
35534
35535 else
35536
35537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35538 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35539 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35540 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35541 $as_echo_n "(cached) " >&6
35542 else
35543
35544
35545 ac_ext=cpp
35546 ac_cpp='$CXXCPP $CPPFLAGS'
35547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35550
35551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35552 /* end confdefs.h. */
35553 #include <math.h>
35554 int
35555 main ()
35556 {
35557 _ldexpf(0, 0);
35558 ;
35559 return 0;
35560 }
35561 _ACEOF
35562 if ac_fn_cxx_try_compile "$LINENO"; then :
35563 glibcxx_cv_func__ldexpf_use=yes
35564 else
35565 glibcxx_cv_func__ldexpf_use=no
35566 fi
35567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35568 ac_ext=c
35569 ac_cpp='$CPP $CPPFLAGS'
35570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35573
35574
35575 fi
35576
35577 fi
35578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35579 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35580
35581 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35582 for ac_func in _ldexpf
35583 do :
35584 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35585 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35586 cat >>confdefs.h <<_ACEOF
35587 #define HAVE__LDEXPF 1
35588 _ACEOF
35589
35590 fi
35591 done
35592
35593 fi
35594 fi
35595
35596
35597
35598
35599
35600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35601 $as_echo_n "checking for logf declaration... " >&6; }
35602 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35603 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35604 $as_echo_n "(cached) " >&6
35605 else
35606
35607
35608 ac_ext=cpp
35609 ac_cpp='$CXXCPP $CPPFLAGS'
35610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35613
35614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35615 /* end confdefs.h. */
35616 #include <math.h>
35617 #ifdef HAVE_IEEEFP_H
35618 #include <ieeefp.h>
35619 #endif
35620
35621 int
35622 main ()
35623 {
35624 logf(0);
35625 ;
35626 return 0;
35627 }
35628 _ACEOF
35629 if ac_fn_cxx_try_compile "$LINENO"; then :
35630 glibcxx_cv_func_logf_use=yes
35631 else
35632 glibcxx_cv_func_logf_use=no
35633 fi
35634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35635 ac_ext=c
35636 ac_cpp='$CPP $CPPFLAGS'
35637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35640
35641
35642 fi
35643
35644 fi
35645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35646 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35647
35648 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35649 for ac_func in logf
35650 do :
35651 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35652 if test "x$ac_cv_func_logf" = x""yes; then :
35653 cat >>confdefs.h <<_ACEOF
35654 #define HAVE_LOGF 1
35655 _ACEOF
35656
35657 fi
35658 done
35659
35660 else
35661
35662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35663 $as_echo_n "checking for _logf declaration... " >&6; }
35664 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35665 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35666 $as_echo_n "(cached) " >&6
35667 else
35668
35669
35670 ac_ext=cpp
35671 ac_cpp='$CXXCPP $CPPFLAGS'
35672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35675
35676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35677 /* end confdefs.h. */
35678 #include <math.h>
35679 #ifdef HAVE_IEEEFP_H
35680 #include <ieeefp.h>
35681 #endif
35682
35683 int
35684 main ()
35685 {
35686 _logf(0);
35687 ;
35688 return 0;
35689 }
35690 _ACEOF
35691 if ac_fn_cxx_try_compile "$LINENO"; then :
35692 glibcxx_cv_func__logf_use=yes
35693 else
35694 glibcxx_cv_func__logf_use=no
35695 fi
35696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35697 ac_ext=c
35698 ac_cpp='$CPP $CPPFLAGS'
35699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35702
35703
35704 fi
35705
35706 fi
35707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35708 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35709
35710 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35711 for ac_func in _logf
35712 do :
35713 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35714 if test "x$ac_cv_func__logf" = x""yes; then :
35715 cat >>confdefs.h <<_ACEOF
35716 #define HAVE__LOGF 1
35717 _ACEOF
35718
35719 fi
35720 done
35721
35722 fi
35723 fi
35724
35725
35726
35727
35728
35729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35730 $as_echo_n "checking for log10f declaration... " >&6; }
35731 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35732 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35733 $as_echo_n "(cached) " >&6
35734 else
35735
35736
35737 ac_ext=cpp
35738 ac_cpp='$CXXCPP $CPPFLAGS'
35739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35742
35743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35744 /* end confdefs.h. */
35745 #include <math.h>
35746 #ifdef HAVE_IEEEFP_H
35747 #include <ieeefp.h>
35748 #endif
35749
35750 int
35751 main ()
35752 {
35753 log10f(0);
35754 ;
35755 return 0;
35756 }
35757 _ACEOF
35758 if ac_fn_cxx_try_compile "$LINENO"; then :
35759 glibcxx_cv_func_log10f_use=yes
35760 else
35761 glibcxx_cv_func_log10f_use=no
35762 fi
35763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35764 ac_ext=c
35765 ac_cpp='$CPP $CPPFLAGS'
35766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35769
35770
35771 fi
35772
35773 fi
35774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35775 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35776
35777 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35778 for ac_func in log10f
35779 do :
35780 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35781 if test "x$ac_cv_func_log10f" = x""yes; then :
35782 cat >>confdefs.h <<_ACEOF
35783 #define HAVE_LOG10F 1
35784 _ACEOF
35785
35786 fi
35787 done
35788
35789 else
35790
35791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35792 $as_echo_n "checking for _log10f declaration... " >&6; }
35793 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35794 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35795 $as_echo_n "(cached) " >&6
35796 else
35797
35798
35799 ac_ext=cpp
35800 ac_cpp='$CXXCPP $CPPFLAGS'
35801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35804
35805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35806 /* end confdefs.h. */
35807 #include <math.h>
35808 #ifdef HAVE_IEEEFP_H
35809 #include <ieeefp.h>
35810 #endif
35811
35812 int
35813 main ()
35814 {
35815 _log10f(0);
35816 ;
35817 return 0;
35818 }
35819 _ACEOF
35820 if ac_fn_cxx_try_compile "$LINENO"; then :
35821 glibcxx_cv_func__log10f_use=yes
35822 else
35823 glibcxx_cv_func__log10f_use=no
35824 fi
35825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35826 ac_ext=c
35827 ac_cpp='$CPP $CPPFLAGS'
35828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35831
35832
35833 fi
35834
35835 fi
35836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35837 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35838
35839 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35840 for ac_func in _log10f
35841 do :
35842 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35843 if test "x$ac_cv_func__log10f" = x""yes; then :
35844 cat >>confdefs.h <<_ACEOF
35845 #define HAVE__LOG10F 1
35846 _ACEOF
35847
35848 fi
35849 done
35850
35851 fi
35852 fi
35853
35854
35855
35856
35857
35858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35859 $as_echo_n "checking for modff declaration... " >&6; }
35860 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35861 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35862 $as_echo_n "(cached) " >&6
35863 else
35864
35865
35866 ac_ext=cpp
35867 ac_cpp='$CXXCPP $CPPFLAGS'
35868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35871
35872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35873 /* end confdefs.h. */
35874 #include <math.h>
35875 int
35876 main ()
35877 {
35878 modff(0, 0);
35879 ;
35880 return 0;
35881 }
35882 _ACEOF
35883 if ac_fn_cxx_try_compile "$LINENO"; then :
35884 glibcxx_cv_func_modff_use=yes
35885 else
35886 glibcxx_cv_func_modff_use=no
35887 fi
35888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35889 ac_ext=c
35890 ac_cpp='$CPP $CPPFLAGS'
35891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35894
35895
35896 fi
35897
35898 fi
35899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35900 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35901
35902 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35903 for ac_func in modff
35904 do :
35905 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35906 if test "x$ac_cv_func_modff" = x""yes; then :
35907 cat >>confdefs.h <<_ACEOF
35908 #define HAVE_MODFF 1
35909 _ACEOF
35910
35911 fi
35912 done
35913
35914 else
35915
35916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35917 $as_echo_n "checking for _modff declaration... " >&6; }
35918 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35919 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35920 $as_echo_n "(cached) " >&6
35921 else
35922
35923
35924 ac_ext=cpp
35925 ac_cpp='$CXXCPP $CPPFLAGS'
35926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35929
35930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35931 /* end confdefs.h. */
35932 #include <math.h>
35933 int
35934 main ()
35935 {
35936 _modff(0, 0);
35937 ;
35938 return 0;
35939 }
35940 _ACEOF
35941 if ac_fn_cxx_try_compile "$LINENO"; then :
35942 glibcxx_cv_func__modff_use=yes
35943 else
35944 glibcxx_cv_func__modff_use=no
35945 fi
35946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35947 ac_ext=c
35948 ac_cpp='$CPP $CPPFLAGS'
35949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35952
35953
35954 fi
35955
35956 fi
35957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35958 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35959
35960 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35961 for ac_func in _modff
35962 do :
35963 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35964 if test "x$ac_cv_func__modff" = x""yes; then :
35965 cat >>confdefs.h <<_ACEOF
35966 #define HAVE__MODFF 1
35967 _ACEOF
35968
35969 fi
35970 done
35971
35972 fi
35973 fi
35974
35975
35976
35977
35978
35979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35980 $as_echo_n "checking for modf declaration... " >&6; }
35981 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35982 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35983 $as_echo_n "(cached) " >&6
35984 else
35985
35986
35987 ac_ext=cpp
35988 ac_cpp='$CXXCPP $CPPFLAGS'
35989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35992
35993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35994 /* end confdefs.h. */
35995 #include <math.h>
35996 int
35997 main ()
35998 {
35999 modf(0, 0);
36000 ;
36001 return 0;
36002 }
36003 _ACEOF
36004 if ac_fn_cxx_try_compile "$LINENO"; then :
36005 glibcxx_cv_func_modf_use=yes
36006 else
36007 glibcxx_cv_func_modf_use=no
36008 fi
36009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36010 ac_ext=c
36011 ac_cpp='$CPP $CPPFLAGS'
36012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36015
36016
36017 fi
36018
36019 fi
36020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36021 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36022
36023 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36024 for ac_func in modf
36025 do :
36026 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36027 if test "x$ac_cv_func_modf" = x""yes; then :
36028 cat >>confdefs.h <<_ACEOF
36029 #define HAVE_MODF 1
36030 _ACEOF
36031
36032 fi
36033 done
36034
36035 else
36036
36037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36038 $as_echo_n "checking for _modf declaration... " >&6; }
36039 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36040 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36041 $as_echo_n "(cached) " >&6
36042 else
36043
36044
36045 ac_ext=cpp
36046 ac_cpp='$CXXCPP $CPPFLAGS'
36047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36050
36051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36052 /* end confdefs.h. */
36053 #include <math.h>
36054 int
36055 main ()
36056 {
36057 _modf(0, 0);
36058 ;
36059 return 0;
36060 }
36061 _ACEOF
36062 if ac_fn_cxx_try_compile "$LINENO"; then :
36063 glibcxx_cv_func__modf_use=yes
36064 else
36065 glibcxx_cv_func__modf_use=no
36066 fi
36067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36068 ac_ext=c
36069 ac_cpp='$CPP $CPPFLAGS'
36070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36073
36074
36075 fi
36076
36077 fi
36078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36079 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36080
36081 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36082 for ac_func in _modf
36083 do :
36084 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36085 if test "x$ac_cv_func__modf" = x""yes; then :
36086 cat >>confdefs.h <<_ACEOF
36087 #define HAVE__MODF 1
36088 _ACEOF
36089
36090 fi
36091 done
36092
36093 fi
36094 fi
36095
36096
36097
36098
36099
36100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36101 $as_echo_n "checking for powf declaration... " >&6; }
36102 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36103 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36104 $as_echo_n "(cached) " >&6
36105 else
36106
36107
36108 ac_ext=cpp
36109 ac_cpp='$CXXCPP $CPPFLAGS'
36110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36113
36114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36115 /* end confdefs.h. */
36116 #include <math.h>
36117 int
36118 main ()
36119 {
36120 powf(0, 0);
36121 ;
36122 return 0;
36123 }
36124 _ACEOF
36125 if ac_fn_cxx_try_compile "$LINENO"; then :
36126 glibcxx_cv_func_powf_use=yes
36127 else
36128 glibcxx_cv_func_powf_use=no
36129 fi
36130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36131 ac_ext=c
36132 ac_cpp='$CPP $CPPFLAGS'
36133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36136
36137
36138 fi
36139
36140 fi
36141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36142 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36143
36144 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36145 for ac_func in powf
36146 do :
36147 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36148 if test "x$ac_cv_func_powf" = x""yes; then :
36149 cat >>confdefs.h <<_ACEOF
36150 #define HAVE_POWF 1
36151 _ACEOF
36152
36153 fi
36154 done
36155
36156 else
36157
36158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36159 $as_echo_n "checking for _powf declaration... " >&6; }
36160 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36161 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36162 $as_echo_n "(cached) " >&6
36163 else
36164
36165
36166 ac_ext=cpp
36167 ac_cpp='$CXXCPP $CPPFLAGS'
36168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36171
36172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36173 /* end confdefs.h. */
36174 #include <math.h>
36175 int
36176 main ()
36177 {
36178 _powf(0, 0);
36179 ;
36180 return 0;
36181 }
36182 _ACEOF
36183 if ac_fn_cxx_try_compile "$LINENO"; then :
36184 glibcxx_cv_func__powf_use=yes
36185 else
36186 glibcxx_cv_func__powf_use=no
36187 fi
36188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36189 ac_ext=c
36190 ac_cpp='$CPP $CPPFLAGS'
36191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36194
36195
36196 fi
36197
36198 fi
36199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36200 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36201
36202 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36203 for ac_func in _powf
36204 do :
36205 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36206 if test "x$ac_cv_func__powf" = x""yes; then :
36207 cat >>confdefs.h <<_ACEOF
36208 #define HAVE__POWF 1
36209 _ACEOF
36210
36211 fi
36212 done
36213
36214 fi
36215 fi
36216
36217
36218
36219
36220
36221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36222 $as_echo_n "checking for sqrtf declaration... " >&6; }
36223 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36224 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36225 $as_echo_n "(cached) " >&6
36226 else
36227
36228
36229 ac_ext=cpp
36230 ac_cpp='$CXXCPP $CPPFLAGS'
36231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36234
36235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36236 /* end confdefs.h. */
36237 #include <math.h>
36238 #ifdef HAVE_IEEEFP_H
36239 #include <ieeefp.h>
36240 #endif
36241
36242 int
36243 main ()
36244 {
36245 sqrtf(0);
36246 ;
36247 return 0;
36248 }
36249 _ACEOF
36250 if ac_fn_cxx_try_compile "$LINENO"; then :
36251 glibcxx_cv_func_sqrtf_use=yes
36252 else
36253 glibcxx_cv_func_sqrtf_use=no
36254 fi
36255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36256 ac_ext=c
36257 ac_cpp='$CPP $CPPFLAGS'
36258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36261
36262
36263 fi
36264
36265 fi
36266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36267 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36268
36269 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36270 for ac_func in sqrtf
36271 do :
36272 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36273 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36274 cat >>confdefs.h <<_ACEOF
36275 #define HAVE_SQRTF 1
36276 _ACEOF
36277
36278 fi
36279 done
36280
36281 else
36282
36283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36284 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36285 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36286 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36287 $as_echo_n "(cached) " >&6
36288 else
36289
36290
36291 ac_ext=cpp
36292 ac_cpp='$CXXCPP $CPPFLAGS'
36293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36296
36297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36298 /* end confdefs.h. */
36299 #include <math.h>
36300 #ifdef HAVE_IEEEFP_H
36301 #include <ieeefp.h>
36302 #endif
36303
36304 int
36305 main ()
36306 {
36307 _sqrtf(0);
36308 ;
36309 return 0;
36310 }
36311 _ACEOF
36312 if ac_fn_cxx_try_compile "$LINENO"; then :
36313 glibcxx_cv_func__sqrtf_use=yes
36314 else
36315 glibcxx_cv_func__sqrtf_use=no
36316 fi
36317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36318 ac_ext=c
36319 ac_cpp='$CPP $CPPFLAGS'
36320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36323
36324
36325 fi
36326
36327 fi
36328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36329 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36330
36331 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36332 for ac_func in _sqrtf
36333 do :
36334 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36335 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36336 cat >>confdefs.h <<_ACEOF
36337 #define HAVE__SQRTF 1
36338 _ACEOF
36339
36340 fi
36341 done
36342
36343 fi
36344 fi
36345
36346
36347
36348
36349
36350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36351 $as_echo_n "checking for sincosf declaration... " >&6; }
36352 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36353 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36354 $as_echo_n "(cached) " >&6
36355 else
36356
36357
36358 ac_ext=cpp
36359 ac_cpp='$CXXCPP $CPPFLAGS'
36360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36363
36364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36365 /* end confdefs.h. */
36366 #include <math.h>
36367 int
36368 main ()
36369 {
36370 sincosf(0, 0, 0);
36371 ;
36372 return 0;
36373 }
36374 _ACEOF
36375 if ac_fn_cxx_try_compile "$LINENO"; then :
36376 glibcxx_cv_func_sincosf_use=yes
36377 else
36378 glibcxx_cv_func_sincosf_use=no
36379 fi
36380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36381 ac_ext=c
36382 ac_cpp='$CPP $CPPFLAGS'
36383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36386
36387
36388 fi
36389
36390 fi
36391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36392 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36393
36394 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36395 for ac_func in sincosf
36396 do :
36397 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36398 if test "x$ac_cv_func_sincosf" = x""yes; then :
36399 cat >>confdefs.h <<_ACEOF
36400 #define HAVE_SINCOSF 1
36401 _ACEOF
36402
36403 fi
36404 done
36405
36406 else
36407
36408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36409 $as_echo_n "checking for _sincosf declaration... " >&6; }
36410 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36411 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36412 $as_echo_n "(cached) " >&6
36413 else
36414
36415
36416 ac_ext=cpp
36417 ac_cpp='$CXXCPP $CPPFLAGS'
36418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36421
36422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36423 /* end confdefs.h. */
36424 #include <math.h>
36425 int
36426 main ()
36427 {
36428 _sincosf(0, 0, 0);
36429 ;
36430 return 0;
36431 }
36432 _ACEOF
36433 if ac_fn_cxx_try_compile "$LINENO"; then :
36434 glibcxx_cv_func__sincosf_use=yes
36435 else
36436 glibcxx_cv_func__sincosf_use=no
36437 fi
36438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36439 ac_ext=c
36440 ac_cpp='$CPP $CPPFLAGS'
36441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36444
36445
36446 fi
36447
36448 fi
36449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36450 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36451
36452 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36453 for ac_func in _sincosf
36454 do :
36455 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36456 if test "x$ac_cv_func__sincosf" = x""yes; then :
36457 cat >>confdefs.h <<_ACEOF
36458 #define HAVE__SINCOSF 1
36459 _ACEOF
36460
36461 fi
36462 done
36463
36464 fi
36465 fi
36466
36467
36468
36469
36470
36471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36472 $as_echo_n "checking for finitef declaration... " >&6; }
36473 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36474 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36475 $as_echo_n "(cached) " >&6
36476 else
36477
36478
36479 ac_ext=cpp
36480 ac_cpp='$CXXCPP $CPPFLAGS'
36481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36484
36485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36486 /* end confdefs.h. */
36487 #include <math.h>
36488 #ifdef HAVE_IEEEFP_H
36489 #include <ieeefp.h>
36490 #endif
36491
36492 int
36493 main ()
36494 {
36495 finitef(0);
36496 ;
36497 return 0;
36498 }
36499 _ACEOF
36500 if ac_fn_cxx_try_compile "$LINENO"; then :
36501 glibcxx_cv_func_finitef_use=yes
36502 else
36503 glibcxx_cv_func_finitef_use=no
36504 fi
36505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36506 ac_ext=c
36507 ac_cpp='$CPP $CPPFLAGS'
36508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36511
36512
36513 fi
36514
36515 fi
36516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36517 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36518
36519 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36520 for ac_func in finitef
36521 do :
36522 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36523 if test "x$ac_cv_func_finitef" = x""yes; then :
36524 cat >>confdefs.h <<_ACEOF
36525 #define HAVE_FINITEF 1
36526 _ACEOF
36527
36528 fi
36529 done
36530
36531 else
36532
36533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36534 $as_echo_n "checking for _finitef declaration... " >&6; }
36535 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36536 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36537 $as_echo_n "(cached) " >&6
36538 else
36539
36540
36541 ac_ext=cpp
36542 ac_cpp='$CXXCPP $CPPFLAGS'
36543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36546
36547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36548 /* end confdefs.h. */
36549 #include <math.h>
36550 #ifdef HAVE_IEEEFP_H
36551 #include <ieeefp.h>
36552 #endif
36553
36554 int
36555 main ()
36556 {
36557 _finitef(0);
36558 ;
36559 return 0;
36560 }
36561 _ACEOF
36562 if ac_fn_cxx_try_compile "$LINENO"; then :
36563 glibcxx_cv_func__finitef_use=yes
36564 else
36565 glibcxx_cv_func__finitef_use=no
36566 fi
36567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36568 ac_ext=c
36569 ac_cpp='$CPP $CPPFLAGS'
36570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36573
36574
36575 fi
36576
36577 fi
36578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36579 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36580
36581 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36582 for ac_func in _finitef
36583 do :
36584 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36585 if test "x$ac_cv_func__finitef" = x""yes; then :
36586 cat >>confdefs.h <<_ACEOF
36587 #define HAVE__FINITEF 1
36588 _ACEOF
36589
36590 fi
36591 done
36592
36593 fi
36594 fi
36595
36596
36597
36598
36599
36600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36601 $as_echo_n "checking for long double trig functions... " >&6; }
36602 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36603 $as_echo_n "(cached) " >&6
36604 else
36605
36606
36607 ac_ext=cpp
36608 ac_cpp='$CXXCPP $CPPFLAGS'
36609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36612
36613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36614 /* end confdefs.h. */
36615 #include <math.h>
36616 int
36617 main ()
36618 {
36619 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36620 ;
36621 return 0;
36622 }
36623 _ACEOF
36624 if ac_fn_cxx_try_compile "$LINENO"; then :
36625 glibcxx_cv_func_long_double_trig_use=yes
36626 else
36627 glibcxx_cv_func_long_double_trig_use=no
36628 fi
36629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36630 ac_ext=c
36631 ac_cpp='$CPP $CPPFLAGS'
36632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36635
36636 fi
36637
36638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36639 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36640 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36641 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36642 do :
36643 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36644 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36645 eval as_val=\$$as_ac_var
36646 if test "x$as_val" = x""yes; then :
36647 cat >>confdefs.h <<_ACEOF
36648 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36649 _ACEOF
36650
36651 fi
36652 done
36653
36654 else
36655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36656 $as_echo_n "checking for _long double trig functions... " >&6; }
36657 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36658 $as_echo_n "(cached) " >&6
36659 else
36660
36661
36662 ac_ext=cpp
36663 ac_cpp='$CXXCPP $CPPFLAGS'
36664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36667
36668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36669 /* end confdefs.h. */
36670 #include <math.h>
36671 int
36672 main ()
36673 {
36674 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36675 ;
36676 return 0;
36677 }
36678 _ACEOF
36679 if ac_fn_cxx_try_compile "$LINENO"; then :
36680 glibcxx_cv_func__long_double_trig_use=yes
36681 else
36682 glibcxx_cv_func__long_double_trig_use=no
36683 fi
36684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36685 ac_ext=c
36686 ac_cpp='$CPP $CPPFLAGS'
36687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36690
36691 fi
36692
36693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36694 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36695 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36696 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36697 do :
36698 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36699 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36700 eval as_val=\$$as_ac_var
36701 if test "x$as_val" = x""yes; then :
36702 cat >>confdefs.h <<_ACEOF
36703 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36704 _ACEOF
36705
36706 fi
36707 done
36708
36709 fi
36710 fi
36711
36712
36713
36714
36715
36716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36717 $as_echo_n "checking for long double round functions... " >&6; }
36718 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36719 $as_echo_n "(cached) " >&6
36720 else
36721
36722
36723 ac_ext=cpp
36724 ac_cpp='$CXXCPP $CPPFLAGS'
36725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36728
36729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36730 /* end confdefs.h. */
36731 #include <math.h>
36732 int
36733 main ()
36734 {
36735 ceill (0); floorl (0);
36736 ;
36737 return 0;
36738 }
36739 _ACEOF
36740 if ac_fn_cxx_try_compile "$LINENO"; then :
36741 glibcxx_cv_func_long_double_round_use=yes
36742 else
36743 glibcxx_cv_func_long_double_round_use=no
36744 fi
36745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36746 ac_ext=c
36747 ac_cpp='$CPP $CPPFLAGS'
36748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36751
36752 fi
36753
36754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36755 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36756 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36757 for ac_func in ceill floorl
36758 do :
36759 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36760 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36761 eval as_val=\$$as_ac_var
36762 if test "x$as_val" = x""yes; then :
36763 cat >>confdefs.h <<_ACEOF
36764 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36765 _ACEOF
36766
36767 fi
36768 done
36769
36770 else
36771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36772 $as_echo_n "checking for _long double round functions... " >&6; }
36773 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36774 $as_echo_n "(cached) " >&6
36775 else
36776
36777
36778 ac_ext=cpp
36779 ac_cpp='$CXXCPP $CPPFLAGS'
36780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36783
36784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36785 /* end confdefs.h. */
36786 #include <math.h>
36787 int
36788 main ()
36789 {
36790 _ceill (0); _floorl (0);
36791 ;
36792 return 0;
36793 }
36794 _ACEOF
36795 if ac_fn_cxx_try_compile "$LINENO"; then :
36796 glibcxx_cv_func__long_double_round_use=yes
36797 else
36798 glibcxx_cv_func__long_double_round_use=no
36799 fi
36800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36801 ac_ext=c
36802 ac_cpp='$CPP $CPPFLAGS'
36803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36806
36807 fi
36808
36809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36810 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36811 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36812 for ac_func in _ceill _floorl
36813 do :
36814 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36815 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36816 eval as_val=\$$as_ac_var
36817 if test "x$as_val" = x""yes; then :
36818 cat >>confdefs.h <<_ACEOF
36819 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36820 _ACEOF
36821
36822 fi
36823 done
36824
36825 fi
36826 fi
36827
36828
36829
36830
36831
36832
36833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36834 $as_echo_n "checking for isnanl declaration... " >&6; }
36835 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36836 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36837 $as_echo_n "(cached) " >&6
36838 else
36839
36840
36841 ac_ext=cpp
36842 ac_cpp='$CXXCPP $CPPFLAGS'
36843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36846
36847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36848 /* end confdefs.h. */
36849 #include <math.h>
36850 #ifdef HAVE_IEEEFP_H
36851 #include <ieeefp.h>
36852 #endif
36853
36854 int
36855 main ()
36856 {
36857 isnanl(0);
36858 ;
36859 return 0;
36860 }
36861 _ACEOF
36862 if ac_fn_cxx_try_compile "$LINENO"; then :
36863 glibcxx_cv_func_isnanl_use=yes
36864 else
36865 glibcxx_cv_func_isnanl_use=no
36866 fi
36867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36868 ac_ext=c
36869 ac_cpp='$CPP $CPPFLAGS'
36870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36873
36874
36875 fi
36876
36877 fi
36878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36879 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36880
36881 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36882 for ac_func in isnanl
36883 do :
36884 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36885 if test "x$ac_cv_func_isnanl" = x""yes; then :
36886 cat >>confdefs.h <<_ACEOF
36887 #define HAVE_ISNANL 1
36888 _ACEOF
36889
36890 fi
36891 done
36892
36893 else
36894
36895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36896 $as_echo_n "checking for _isnanl declaration... " >&6; }
36897 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36898 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36899 $as_echo_n "(cached) " >&6
36900 else
36901
36902
36903 ac_ext=cpp
36904 ac_cpp='$CXXCPP $CPPFLAGS'
36905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36908
36909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36910 /* end confdefs.h. */
36911 #include <math.h>
36912 #ifdef HAVE_IEEEFP_H
36913 #include <ieeefp.h>
36914 #endif
36915
36916 int
36917 main ()
36918 {
36919 _isnanl(0);
36920 ;
36921 return 0;
36922 }
36923 _ACEOF
36924 if ac_fn_cxx_try_compile "$LINENO"; then :
36925 glibcxx_cv_func__isnanl_use=yes
36926 else
36927 glibcxx_cv_func__isnanl_use=no
36928 fi
36929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36930 ac_ext=c
36931 ac_cpp='$CPP $CPPFLAGS'
36932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36935
36936
36937 fi
36938
36939 fi
36940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36941 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36942
36943 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36944 for ac_func in _isnanl
36945 do :
36946 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36947 if test "x$ac_cv_func__isnanl" = x""yes; then :
36948 cat >>confdefs.h <<_ACEOF
36949 #define HAVE__ISNANL 1
36950 _ACEOF
36951
36952 fi
36953 done
36954
36955 fi
36956 fi
36957
36958
36959
36960
36961
36962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36963 $as_echo_n "checking for isinfl declaration... " >&6; }
36964 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36965 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36966 $as_echo_n "(cached) " >&6
36967 else
36968
36969
36970 ac_ext=cpp
36971 ac_cpp='$CXXCPP $CPPFLAGS'
36972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36975
36976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36977 /* end confdefs.h. */
36978 #include <math.h>
36979 #ifdef HAVE_IEEEFP_H
36980 #include <ieeefp.h>
36981 #endif
36982
36983 int
36984 main ()
36985 {
36986 isinfl(0);
36987 ;
36988 return 0;
36989 }
36990 _ACEOF
36991 if ac_fn_cxx_try_compile "$LINENO"; then :
36992 glibcxx_cv_func_isinfl_use=yes
36993 else
36994 glibcxx_cv_func_isinfl_use=no
36995 fi
36996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36997 ac_ext=c
36998 ac_cpp='$CPP $CPPFLAGS'
36999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37002
37003
37004 fi
37005
37006 fi
37007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37008 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37009
37010 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37011 for ac_func in isinfl
37012 do :
37013 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37014 if test "x$ac_cv_func_isinfl" = x""yes; then :
37015 cat >>confdefs.h <<_ACEOF
37016 #define HAVE_ISINFL 1
37017 _ACEOF
37018
37019 fi
37020 done
37021
37022 else
37023
37024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37025 $as_echo_n "checking for _isinfl declaration... " >&6; }
37026 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37027 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37028 $as_echo_n "(cached) " >&6
37029 else
37030
37031
37032 ac_ext=cpp
37033 ac_cpp='$CXXCPP $CPPFLAGS'
37034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37037
37038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37039 /* end confdefs.h. */
37040 #include <math.h>
37041 #ifdef HAVE_IEEEFP_H
37042 #include <ieeefp.h>
37043 #endif
37044
37045 int
37046 main ()
37047 {
37048 _isinfl(0);
37049 ;
37050 return 0;
37051 }
37052 _ACEOF
37053 if ac_fn_cxx_try_compile "$LINENO"; then :
37054 glibcxx_cv_func__isinfl_use=yes
37055 else
37056 glibcxx_cv_func__isinfl_use=no
37057 fi
37058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37059 ac_ext=c
37060 ac_cpp='$CPP $CPPFLAGS'
37061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37064
37065
37066 fi
37067
37068 fi
37069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37070 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37071
37072 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37073 for ac_func in _isinfl
37074 do :
37075 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37076 if test "x$ac_cv_func__isinfl" = x""yes; then :
37077 cat >>confdefs.h <<_ACEOF
37078 #define HAVE__ISINFL 1
37079 _ACEOF
37080
37081 fi
37082 done
37083
37084 fi
37085 fi
37086
37087
37088
37089
37090
37091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37092 $as_echo_n "checking for atan2l declaration... " >&6; }
37093 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37094 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37095 $as_echo_n "(cached) " >&6
37096 else
37097
37098
37099 ac_ext=cpp
37100 ac_cpp='$CXXCPP $CPPFLAGS'
37101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37104
37105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37106 /* end confdefs.h. */
37107 #include <math.h>
37108 int
37109 main ()
37110 {
37111 atan2l(0, 0);
37112 ;
37113 return 0;
37114 }
37115 _ACEOF
37116 if ac_fn_cxx_try_compile "$LINENO"; then :
37117 glibcxx_cv_func_atan2l_use=yes
37118 else
37119 glibcxx_cv_func_atan2l_use=no
37120 fi
37121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37122 ac_ext=c
37123 ac_cpp='$CPP $CPPFLAGS'
37124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37127
37128
37129 fi
37130
37131 fi
37132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37133 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37134
37135 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37136 for ac_func in atan2l
37137 do :
37138 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37139 if test "x$ac_cv_func_atan2l" = x""yes; then :
37140 cat >>confdefs.h <<_ACEOF
37141 #define HAVE_ATAN2L 1
37142 _ACEOF
37143
37144 fi
37145 done
37146
37147 else
37148
37149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37150 $as_echo_n "checking for _atan2l declaration... " >&6; }
37151 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37152 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37153 $as_echo_n "(cached) " >&6
37154 else
37155
37156
37157 ac_ext=cpp
37158 ac_cpp='$CXXCPP $CPPFLAGS'
37159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37162
37163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37164 /* end confdefs.h. */
37165 #include <math.h>
37166 int
37167 main ()
37168 {
37169 _atan2l(0, 0);
37170 ;
37171 return 0;
37172 }
37173 _ACEOF
37174 if ac_fn_cxx_try_compile "$LINENO"; then :
37175 glibcxx_cv_func__atan2l_use=yes
37176 else
37177 glibcxx_cv_func__atan2l_use=no
37178 fi
37179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37180 ac_ext=c
37181 ac_cpp='$CPP $CPPFLAGS'
37182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37185
37186
37187 fi
37188
37189 fi
37190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37191 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37192
37193 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37194 for ac_func in _atan2l
37195 do :
37196 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37197 if test "x$ac_cv_func__atan2l" = x""yes; then :
37198 cat >>confdefs.h <<_ACEOF
37199 #define HAVE__ATAN2L 1
37200 _ACEOF
37201
37202 fi
37203 done
37204
37205 fi
37206 fi
37207
37208
37209
37210
37211
37212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37213 $as_echo_n "checking for expl declaration... " >&6; }
37214 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37215 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37216 $as_echo_n "(cached) " >&6
37217 else
37218
37219
37220 ac_ext=cpp
37221 ac_cpp='$CXXCPP $CPPFLAGS'
37222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37225
37226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37227 /* end confdefs.h. */
37228 #include <math.h>
37229 #ifdef HAVE_IEEEFP_H
37230 #include <ieeefp.h>
37231 #endif
37232
37233 int
37234 main ()
37235 {
37236 expl(0);
37237 ;
37238 return 0;
37239 }
37240 _ACEOF
37241 if ac_fn_cxx_try_compile "$LINENO"; then :
37242 glibcxx_cv_func_expl_use=yes
37243 else
37244 glibcxx_cv_func_expl_use=no
37245 fi
37246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37247 ac_ext=c
37248 ac_cpp='$CPP $CPPFLAGS'
37249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37252
37253
37254 fi
37255
37256 fi
37257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37258 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37259
37260 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37261 for ac_func in expl
37262 do :
37263 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37264 if test "x$ac_cv_func_expl" = x""yes; then :
37265 cat >>confdefs.h <<_ACEOF
37266 #define HAVE_EXPL 1
37267 _ACEOF
37268
37269 fi
37270 done
37271
37272 else
37273
37274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37275 $as_echo_n "checking for _expl declaration... " >&6; }
37276 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37277 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37278 $as_echo_n "(cached) " >&6
37279 else
37280
37281
37282 ac_ext=cpp
37283 ac_cpp='$CXXCPP $CPPFLAGS'
37284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37287
37288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37289 /* end confdefs.h. */
37290 #include <math.h>
37291 #ifdef HAVE_IEEEFP_H
37292 #include <ieeefp.h>
37293 #endif
37294
37295 int
37296 main ()
37297 {
37298 _expl(0);
37299 ;
37300 return 0;
37301 }
37302 _ACEOF
37303 if ac_fn_cxx_try_compile "$LINENO"; then :
37304 glibcxx_cv_func__expl_use=yes
37305 else
37306 glibcxx_cv_func__expl_use=no
37307 fi
37308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37309 ac_ext=c
37310 ac_cpp='$CPP $CPPFLAGS'
37311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37314
37315
37316 fi
37317
37318 fi
37319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37320 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37321
37322 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37323 for ac_func in _expl
37324 do :
37325 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37326 if test "x$ac_cv_func__expl" = x""yes; then :
37327 cat >>confdefs.h <<_ACEOF
37328 #define HAVE__EXPL 1
37329 _ACEOF
37330
37331 fi
37332 done
37333
37334 fi
37335 fi
37336
37337
37338
37339
37340
37341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37342 $as_echo_n "checking for fabsl declaration... " >&6; }
37343 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37344 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37345 $as_echo_n "(cached) " >&6
37346 else
37347
37348
37349 ac_ext=cpp
37350 ac_cpp='$CXXCPP $CPPFLAGS'
37351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37354
37355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37356 /* end confdefs.h. */
37357 #include <math.h>
37358 #ifdef HAVE_IEEEFP_H
37359 #include <ieeefp.h>
37360 #endif
37361
37362 int
37363 main ()
37364 {
37365 fabsl(0);
37366 ;
37367 return 0;
37368 }
37369 _ACEOF
37370 if ac_fn_cxx_try_compile "$LINENO"; then :
37371 glibcxx_cv_func_fabsl_use=yes
37372 else
37373 glibcxx_cv_func_fabsl_use=no
37374 fi
37375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37376 ac_ext=c
37377 ac_cpp='$CPP $CPPFLAGS'
37378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37381
37382
37383 fi
37384
37385 fi
37386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37387 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37388
37389 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37390 for ac_func in fabsl
37391 do :
37392 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37393 if test "x$ac_cv_func_fabsl" = x""yes; then :
37394 cat >>confdefs.h <<_ACEOF
37395 #define HAVE_FABSL 1
37396 _ACEOF
37397
37398 fi
37399 done
37400
37401 else
37402
37403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37404 $as_echo_n "checking for _fabsl declaration... " >&6; }
37405 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37406 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37407 $as_echo_n "(cached) " >&6
37408 else
37409
37410
37411 ac_ext=cpp
37412 ac_cpp='$CXXCPP $CPPFLAGS'
37413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37416
37417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37418 /* end confdefs.h. */
37419 #include <math.h>
37420 #ifdef HAVE_IEEEFP_H
37421 #include <ieeefp.h>
37422 #endif
37423
37424 int
37425 main ()
37426 {
37427 _fabsl(0);
37428 ;
37429 return 0;
37430 }
37431 _ACEOF
37432 if ac_fn_cxx_try_compile "$LINENO"; then :
37433 glibcxx_cv_func__fabsl_use=yes
37434 else
37435 glibcxx_cv_func__fabsl_use=no
37436 fi
37437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37438 ac_ext=c
37439 ac_cpp='$CPP $CPPFLAGS'
37440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37443
37444
37445 fi
37446
37447 fi
37448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37449 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37450
37451 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37452 for ac_func in _fabsl
37453 do :
37454 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37455 if test "x$ac_cv_func__fabsl" = x""yes; then :
37456 cat >>confdefs.h <<_ACEOF
37457 #define HAVE__FABSL 1
37458 _ACEOF
37459
37460 fi
37461 done
37462
37463 fi
37464 fi
37465
37466
37467
37468
37469
37470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37471 $as_echo_n "checking for fmodl declaration... " >&6; }
37472 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37473 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37474 $as_echo_n "(cached) " >&6
37475 else
37476
37477
37478 ac_ext=cpp
37479 ac_cpp='$CXXCPP $CPPFLAGS'
37480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37483
37484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37485 /* end confdefs.h. */
37486 #include <math.h>
37487 int
37488 main ()
37489 {
37490 fmodl(0, 0);
37491 ;
37492 return 0;
37493 }
37494 _ACEOF
37495 if ac_fn_cxx_try_compile "$LINENO"; then :
37496 glibcxx_cv_func_fmodl_use=yes
37497 else
37498 glibcxx_cv_func_fmodl_use=no
37499 fi
37500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37501 ac_ext=c
37502 ac_cpp='$CPP $CPPFLAGS'
37503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37506
37507
37508 fi
37509
37510 fi
37511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37512 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37513
37514 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37515 for ac_func in fmodl
37516 do :
37517 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37518 if test "x$ac_cv_func_fmodl" = x""yes; then :
37519 cat >>confdefs.h <<_ACEOF
37520 #define HAVE_FMODL 1
37521 _ACEOF
37522
37523 fi
37524 done
37525
37526 else
37527
37528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37529 $as_echo_n "checking for _fmodl declaration... " >&6; }
37530 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37531 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37532 $as_echo_n "(cached) " >&6
37533 else
37534
37535
37536 ac_ext=cpp
37537 ac_cpp='$CXXCPP $CPPFLAGS'
37538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37541
37542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37543 /* end confdefs.h. */
37544 #include <math.h>
37545 int
37546 main ()
37547 {
37548 _fmodl(0, 0);
37549 ;
37550 return 0;
37551 }
37552 _ACEOF
37553 if ac_fn_cxx_try_compile "$LINENO"; then :
37554 glibcxx_cv_func__fmodl_use=yes
37555 else
37556 glibcxx_cv_func__fmodl_use=no
37557 fi
37558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37559 ac_ext=c
37560 ac_cpp='$CPP $CPPFLAGS'
37561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37564
37565
37566 fi
37567
37568 fi
37569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37570 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37571
37572 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37573 for ac_func in _fmodl
37574 do :
37575 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37576 if test "x$ac_cv_func__fmodl" = x""yes; then :
37577 cat >>confdefs.h <<_ACEOF
37578 #define HAVE__FMODL 1
37579 _ACEOF
37580
37581 fi
37582 done
37583
37584 fi
37585 fi
37586
37587
37588
37589
37590
37591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37592 $as_echo_n "checking for frexpl declaration... " >&6; }
37593 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37594 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37595 $as_echo_n "(cached) " >&6
37596 else
37597
37598
37599 ac_ext=cpp
37600 ac_cpp='$CXXCPP $CPPFLAGS'
37601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37604
37605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37606 /* end confdefs.h. */
37607 #include <math.h>
37608 int
37609 main ()
37610 {
37611 frexpl(0, 0);
37612 ;
37613 return 0;
37614 }
37615 _ACEOF
37616 if ac_fn_cxx_try_compile "$LINENO"; then :
37617 glibcxx_cv_func_frexpl_use=yes
37618 else
37619 glibcxx_cv_func_frexpl_use=no
37620 fi
37621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37622 ac_ext=c
37623 ac_cpp='$CPP $CPPFLAGS'
37624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37627
37628
37629 fi
37630
37631 fi
37632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37633 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37634
37635 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37636 for ac_func in frexpl
37637 do :
37638 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37639 if test "x$ac_cv_func_frexpl" = x""yes; then :
37640 cat >>confdefs.h <<_ACEOF
37641 #define HAVE_FREXPL 1
37642 _ACEOF
37643
37644 fi
37645 done
37646
37647 else
37648
37649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37650 $as_echo_n "checking for _frexpl declaration... " >&6; }
37651 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37652 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37653 $as_echo_n "(cached) " >&6
37654 else
37655
37656
37657 ac_ext=cpp
37658 ac_cpp='$CXXCPP $CPPFLAGS'
37659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37662
37663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37664 /* end confdefs.h. */
37665 #include <math.h>
37666 int
37667 main ()
37668 {
37669 _frexpl(0, 0);
37670 ;
37671 return 0;
37672 }
37673 _ACEOF
37674 if ac_fn_cxx_try_compile "$LINENO"; then :
37675 glibcxx_cv_func__frexpl_use=yes
37676 else
37677 glibcxx_cv_func__frexpl_use=no
37678 fi
37679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37680 ac_ext=c
37681 ac_cpp='$CPP $CPPFLAGS'
37682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37685
37686
37687 fi
37688
37689 fi
37690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37691 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37692
37693 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37694 for ac_func in _frexpl
37695 do :
37696 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37697 if test "x$ac_cv_func__frexpl" = x""yes; then :
37698 cat >>confdefs.h <<_ACEOF
37699 #define HAVE__FREXPL 1
37700 _ACEOF
37701
37702 fi
37703 done
37704
37705 fi
37706 fi
37707
37708
37709
37710
37711
37712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37713 $as_echo_n "checking for hypotl declaration... " >&6; }
37714 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37715 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37716 $as_echo_n "(cached) " >&6
37717 else
37718
37719
37720 ac_ext=cpp
37721 ac_cpp='$CXXCPP $CPPFLAGS'
37722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37725
37726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37727 /* end confdefs.h. */
37728 #include <math.h>
37729 int
37730 main ()
37731 {
37732 hypotl(0, 0);
37733 ;
37734 return 0;
37735 }
37736 _ACEOF
37737 if ac_fn_cxx_try_compile "$LINENO"; then :
37738 glibcxx_cv_func_hypotl_use=yes
37739 else
37740 glibcxx_cv_func_hypotl_use=no
37741 fi
37742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37743 ac_ext=c
37744 ac_cpp='$CPP $CPPFLAGS'
37745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37748
37749
37750 fi
37751
37752 fi
37753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37754 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37755
37756 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37757 for ac_func in hypotl
37758 do :
37759 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37760 if test "x$ac_cv_func_hypotl" = x""yes; then :
37761 cat >>confdefs.h <<_ACEOF
37762 #define HAVE_HYPOTL 1
37763 _ACEOF
37764
37765 fi
37766 done
37767
37768 else
37769
37770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37771 $as_echo_n "checking for _hypotl declaration... " >&6; }
37772 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37773 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37774 $as_echo_n "(cached) " >&6
37775 else
37776
37777
37778 ac_ext=cpp
37779 ac_cpp='$CXXCPP $CPPFLAGS'
37780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37783
37784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37785 /* end confdefs.h. */
37786 #include <math.h>
37787 int
37788 main ()
37789 {
37790 _hypotl(0, 0);
37791 ;
37792 return 0;
37793 }
37794 _ACEOF
37795 if ac_fn_cxx_try_compile "$LINENO"; then :
37796 glibcxx_cv_func__hypotl_use=yes
37797 else
37798 glibcxx_cv_func__hypotl_use=no
37799 fi
37800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37801 ac_ext=c
37802 ac_cpp='$CPP $CPPFLAGS'
37803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37806
37807
37808 fi
37809
37810 fi
37811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37812 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37813
37814 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37815 for ac_func in _hypotl
37816 do :
37817 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37818 if test "x$ac_cv_func__hypotl" = x""yes; then :
37819 cat >>confdefs.h <<_ACEOF
37820 #define HAVE__HYPOTL 1
37821 _ACEOF
37822
37823 fi
37824 done
37825
37826 fi
37827 fi
37828
37829
37830
37831
37832
37833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37834 $as_echo_n "checking for ldexpl declaration... " >&6; }
37835 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37836 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37837 $as_echo_n "(cached) " >&6
37838 else
37839
37840
37841 ac_ext=cpp
37842 ac_cpp='$CXXCPP $CPPFLAGS'
37843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37846
37847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37848 /* end confdefs.h. */
37849 #include <math.h>
37850 int
37851 main ()
37852 {
37853 ldexpl(0, 0);
37854 ;
37855 return 0;
37856 }
37857 _ACEOF
37858 if ac_fn_cxx_try_compile "$LINENO"; then :
37859 glibcxx_cv_func_ldexpl_use=yes
37860 else
37861 glibcxx_cv_func_ldexpl_use=no
37862 fi
37863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37864 ac_ext=c
37865 ac_cpp='$CPP $CPPFLAGS'
37866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37869
37870
37871 fi
37872
37873 fi
37874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37875 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37876
37877 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37878 for ac_func in ldexpl
37879 do :
37880 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37881 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37882 cat >>confdefs.h <<_ACEOF
37883 #define HAVE_LDEXPL 1
37884 _ACEOF
37885
37886 fi
37887 done
37888
37889 else
37890
37891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37892 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37893 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37894 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37895 $as_echo_n "(cached) " >&6
37896 else
37897
37898
37899 ac_ext=cpp
37900 ac_cpp='$CXXCPP $CPPFLAGS'
37901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37904
37905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37906 /* end confdefs.h. */
37907 #include <math.h>
37908 int
37909 main ()
37910 {
37911 _ldexpl(0, 0);
37912 ;
37913 return 0;
37914 }
37915 _ACEOF
37916 if ac_fn_cxx_try_compile "$LINENO"; then :
37917 glibcxx_cv_func__ldexpl_use=yes
37918 else
37919 glibcxx_cv_func__ldexpl_use=no
37920 fi
37921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37922 ac_ext=c
37923 ac_cpp='$CPP $CPPFLAGS'
37924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37927
37928
37929 fi
37930
37931 fi
37932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37933 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37934
37935 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37936 for ac_func in _ldexpl
37937 do :
37938 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37939 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37940 cat >>confdefs.h <<_ACEOF
37941 #define HAVE__LDEXPL 1
37942 _ACEOF
37943
37944 fi
37945 done
37946
37947 fi
37948 fi
37949
37950
37951
37952
37953
37954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37955 $as_echo_n "checking for logl declaration... " >&6; }
37956 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37957 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37958 $as_echo_n "(cached) " >&6
37959 else
37960
37961
37962 ac_ext=cpp
37963 ac_cpp='$CXXCPP $CPPFLAGS'
37964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37967
37968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37969 /* end confdefs.h. */
37970 #include <math.h>
37971 #ifdef HAVE_IEEEFP_H
37972 #include <ieeefp.h>
37973 #endif
37974
37975 int
37976 main ()
37977 {
37978 logl(0);
37979 ;
37980 return 0;
37981 }
37982 _ACEOF
37983 if ac_fn_cxx_try_compile "$LINENO"; then :
37984 glibcxx_cv_func_logl_use=yes
37985 else
37986 glibcxx_cv_func_logl_use=no
37987 fi
37988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37989 ac_ext=c
37990 ac_cpp='$CPP $CPPFLAGS'
37991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37994
37995
37996 fi
37997
37998 fi
37999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38000 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38001
38002 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38003 for ac_func in logl
38004 do :
38005 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38006 if test "x$ac_cv_func_logl" = x""yes; then :
38007 cat >>confdefs.h <<_ACEOF
38008 #define HAVE_LOGL 1
38009 _ACEOF
38010
38011 fi
38012 done
38013
38014 else
38015
38016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38017 $as_echo_n "checking for _logl declaration... " >&6; }
38018 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38019 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38020 $as_echo_n "(cached) " >&6
38021 else
38022
38023
38024 ac_ext=cpp
38025 ac_cpp='$CXXCPP $CPPFLAGS'
38026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38029
38030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38031 /* end confdefs.h. */
38032 #include <math.h>
38033 #ifdef HAVE_IEEEFP_H
38034 #include <ieeefp.h>
38035 #endif
38036
38037 int
38038 main ()
38039 {
38040 _logl(0);
38041 ;
38042 return 0;
38043 }
38044 _ACEOF
38045 if ac_fn_cxx_try_compile "$LINENO"; then :
38046 glibcxx_cv_func__logl_use=yes
38047 else
38048 glibcxx_cv_func__logl_use=no
38049 fi
38050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38051 ac_ext=c
38052 ac_cpp='$CPP $CPPFLAGS'
38053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38056
38057
38058 fi
38059
38060 fi
38061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38062 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38063
38064 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38065 for ac_func in _logl
38066 do :
38067 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38068 if test "x$ac_cv_func__logl" = x""yes; then :
38069 cat >>confdefs.h <<_ACEOF
38070 #define HAVE__LOGL 1
38071 _ACEOF
38072
38073 fi
38074 done
38075
38076 fi
38077 fi
38078
38079
38080
38081
38082
38083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38084 $as_echo_n "checking for log10l declaration... " >&6; }
38085 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38086 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38087 $as_echo_n "(cached) " >&6
38088 else
38089
38090
38091 ac_ext=cpp
38092 ac_cpp='$CXXCPP $CPPFLAGS'
38093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38096
38097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38098 /* end confdefs.h. */
38099 #include <math.h>
38100 #ifdef HAVE_IEEEFP_H
38101 #include <ieeefp.h>
38102 #endif
38103
38104 int
38105 main ()
38106 {
38107 log10l(0);
38108 ;
38109 return 0;
38110 }
38111 _ACEOF
38112 if ac_fn_cxx_try_compile "$LINENO"; then :
38113 glibcxx_cv_func_log10l_use=yes
38114 else
38115 glibcxx_cv_func_log10l_use=no
38116 fi
38117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38118 ac_ext=c
38119 ac_cpp='$CPP $CPPFLAGS'
38120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38123
38124
38125 fi
38126
38127 fi
38128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38129 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38130
38131 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38132 for ac_func in log10l
38133 do :
38134 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38135 if test "x$ac_cv_func_log10l" = x""yes; then :
38136 cat >>confdefs.h <<_ACEOF
38137 #define HAVE_LOG10L 1
38138 _ACEOF
38139
38140 fi
38141 done
38142
38143 else
38144
38145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38146 $as_echo_n "checking for _log10l declaration... " >&6; }
38147 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38148 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38149 $as_echo_n "(cached) " >&6
38150 else
38151
38152
38153 ac_ext=cpp
38154 ac_cpp='$CXXCPP $CPPFLAGS'
38155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38158
38159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38160 /* end confdefs.h. */
38161 #include <math.h>
38162 #ifdef HAVE_IEEEFP_H
38163 #include <ieeefp.h>
38164 #endif
38165
38166 int
38167 main ()
38168 {
38169 _log10l(0);
38170 ;
38171 return 0;
38172 }
38173 _ACEOF
38174 if ac_fn_cxx_try_compile "$LINENO"; then :
38175 glibcxx_cv_func__log10l_use=yes
38176 else
38177 glibcxx_cv_func__log10l_use=no
38178 fi
38179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38180 ac_ext=c
38181 ac_cpp='$CPP $CPPFLAGS'
38182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38185
38186
38187 fi
38188
38189 fi
38190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38191 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38192
38193 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38194 for ac_func in _log10l
38195 do :
38196 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38197 if test "x$ac_cv_func__log10l" = x""yes; then :
38198 cat >>confdefs.h <<_ACEOF
38199 #define HAVE__LOG10L 1
38200 _ACEOF
38201
38202 fi
38203 done
38204
38205 fi
38206 fi
38207
38208
38209
38210
38211
38212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38213 $as_echo_n "checking for modfl declaration... " >&6; }
38214 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38215 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38216 $as_echo_n "(cached) " >&6
38217 else
38218
38219
38220 ac_ext=cpp
38221 ac_cpp='$CXXCPP $CPPFLAGS'
38222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38225
38226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38227 /* end confdefs.h. */
38228 #include <math.h>
38229 int
38230 main ()
38231 {
38232 modfl(0, 0);
38233 ;
38234 return 0;
38235 }
38236 _ACEOF
38237 if ac_fn_cxx_try_compile "$LINENO"; then :
38238 glibcxx_cv_func_modfl_use=yes
38239 else
38240 glibcxx_cv_func_modfl_use=no
38241 fi
38242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38243 ac_ext=c
38244 ac_cpp='$CPP $CPPFLAGS'
38245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38248
38249
38250 fi
38251
38252 fi
38253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38254 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38255
38256 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38257 for ac_func in modfl
38258 do :
38259 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38260 if test "x$ac_cv_func_modfl" = x""yes; then :
38261 cat >>confdefs.h <<_ACEOF
38262 #define HAVE_MODFL 1
38263 _ACEOF
38264
38265 fi
38266 done
38267
38268 else
38269
38270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38271 $as_echo_n "checking for _modfl declaration... " >&6; }
38272 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38273 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38274 $as_echo_n "(cached) " >&6
38275 else
38276
38277
38278 ac_ext=cpp
38279 ac_cpp='$CXXCPP $CPPFLAGS'
38280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38283
38284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38285 /* end confdefs.h. */
38286 #include <math.h>
38287 int
38288 main ()
38289 {
38290 _modfl(0, 0);
38291 ;
38292 return 0;
38293 }
38294 _ACEOF
38295 if ac_fn_cxx_try_compile "$LINENO"; then :
38296 glibcxx_cv_func__modfl_use=yes
38297 else
38298 glibcxx_cv_func__modfl_use=no
38299 fi
38300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38301 ac_ext=c
38302 ac_cpp='$CPP $CPPFLAGS'
38303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38306
38307
38308 fi
38309
38310 fi
38311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38312 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38313
38314 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38315 for ac_func in _modfl
38316 do :
38317 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38318 if test "x$ac_cv_func__modfl" = x""yes; then :
38319 cat >>confdefs.h <<_ACEOF
38320 #define HAVE__MODFL 1
38321 _ACEOF
38322
38323 fi
38324 done
38325
38326 fi
38327 fi
38328
38329
38330
38331
38332
38333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38334 $as_echo_n "checking for powl declaration... " >&6; }
38335 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38336 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38337 $as_echo_n "(cached) " >&6
38338 else
38339
38340
38341 ac_ext=cpp
38342 ac_cpp='$CXXCPP $CPPFLAGS'
38343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38346
38347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38348 /* end confdefs.h. */
38349 #include <math.h>
38350 int
38351 main ()
38352 {
38353 powl(0, 0);
38354 ;
38355 return 0;
38356 }
38357 _ACEOF
38358 if ac_fn_cxx_try_compile "$LINENO"; then :
38359 glibcxx_cv_func_powl_use=yes
38360 else
38361 glibcxx_cv_func_powl_use=no
38362 fi
38363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38364 ac_ext=c
38365 ac_cpp='$CPP $CPPFLAGS'
38366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38369
38370
38371 fi
38372
38373 fi
38374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38375 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38376
38377 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38378 for ac_func in powl
38379 do :
38380 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38381 if test "x$ac_cv_func_powl" = x""yes; then :
38382 cat >>confdefs.h <<_ACEOF
38383 #define HAVE_POWL 1
38384 _ACEOF
38385
38386 fi
38387 done
38388
38389 else
38390
38391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38392 $as_echo_n "checking for _powl declaration... " >&6; }
38393 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38394 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38395 $as_echo_n "(cached) " >&6
38396 else
38397
38398
38399 ac_ext=cpp
38400 ac_cpp='$CXXCPP $CPPFLAGS'
38401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38404
38405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38406 /* end confdefs.h. */
38407 #include <math.h>
38408 int
38409 main ()
38410 {
38411 _powl(0, 0);
38412 ;
38413 return 0;
38414 }
38415 _ACEOF
38416 if ac_fn_cxx_try_compile "$LINENO"; then :
38417 glibcxx_cv_func__powl_use=yes
38418 else
38419 glibcxx_cv_func__powl_use=no
38420 fi
38421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38422 ac_ext=c
38423 ac_cpp='$CPP $CPPFLAGS'
38424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38427
38428
38429 fi
38430
38431 fi
38432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38433 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38434
38435 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38436 for ac_func in _powl
38437 do :
38438 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38439 if test "x$ac_cv_func__powl" = x""yes; then :
38440 cat >>confdefs.h <<_ACEOF
38441 #define HAVE__POWL 1
38442 _ACEOF
38443
38444 fi
38445 done
38446
38447 fi
38448 fi
38449
38450
38451
38452
38453
38454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38455 $as_echo_n "checking for sqrtl declaration... " >&6; }
38456 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38457 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38458 $as_echo_n "(cached) " >&6
38459 else
38460
38461
38462 ac_ext=cpp
38463 ac_cpp='$CXXCPP $CPPFLAGS'
38464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38467
38468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38469 /* end confdefs.h. */
38470 #include <math.h>
38471 #ifdef HAVE_IEEEFP_H
38472 #include <ieeefp.h>
38473 #endif
38474
38475 int
38476 main ()
38477 {
38478 sqrtl(0);
38479 ;
38480 return 0;
38481 }
38482 _ACEOF
38483 if ac_fn_cxx_try_compile "$LINENO"; then :
38484 glibcxx_cv_func_sqrtl_use=yes
38485 else
38486 glibcxx_cv_func_sqrtl_use=no
38487 fi
38488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38489 ac_ext=c
38490 ac_cpp='$CPP $CPPFLAGS'
38491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38494
38495
38496 fi
38497
38498 fi
38499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38500 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38501
38502 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38503 for ac_func in sqrtl
38504 do :
38505 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38506 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38507 cat >>confdefs.h <<_ACEOF
38508 #define HAVE_SQRTL 1
38509 _ACEOF
38510
38511 fi
38512 done
38513
38514 else
38515
38516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38517 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38518 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38519 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38520 $as_echo_n "(cached) " >&6
38521 else
38522
38523
38524 ac_ext=cpp
38525 ac_cpp='$CXXCPP $CPPFLAGS'
38526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38529
38530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38531 /* end confdefs.h. */
38532 #include <math.h>
38533 #ifdef HAVE_IEEEFP_H
38534 #include <ieeefp.h>
38535 #endif
38536
38537 int
38538 main ()
38539 {
38540 _sqrtl(0);
38541 ;
38542 return 0;
38543 }
38544 _ACEOF
38545 if ac_fn_cxx_try_compile "$LINENO"; then :
38546 glibcxx_cv_func__sqrtl_use=yes
38547 else
38548 glibcxx_cv_func__sqrtl_use=no
38549 fi
38550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38551 ac_ext=c
38552 ac_cpp='$CPP $CPPFLAGS'
38553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38556
38557
38558 fi
38559
38560 fi
38561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38562 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38563
38564 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38565 for ac_func in _sqrtl
38566 do :
38567 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38568 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38569 cat >>confdefs.h <<_ACEOF
38570 #define HAVE__SQRTL 1
38571 _ACEOF
38572
38573 fi
38574 done
38575
38576 fi
38577 fi
38578
38579
38580
38581
38582
38583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38584 $as_echo_n "checking for sincosl declaration... " >&6; }
38585 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38586 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38587 $as_echo_n "(cached) " >&6
38588 else
38589
38590
38591 ac_ext=cpp
38592 ac_cpp='$CXXCPP $CPPFLAGS'
38593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38596
38597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38598 /* end confdefs.h. */
38599 #include <math.h>
38600 int
38601 main ()
38602 {
38603 sincosl(0, 0, 0);
38604 ;
38605 return 0;
38606 }
38607 _ACEOF
38608 if ac_fn_cxx_try_compile "$LINENO"; then :
38609 glibcxx_cv_func_sincosl_use=yes
38610 else
38611 glibcxx_cv_func_sincosl_use=no
38612 fi
38613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38614 ac_ext=c
38615 ac_cpp='$CPP $CPPFLAGS'
38616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38619
38620
38621 fi
38622
38623 fi
38624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38625 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38626
38627 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38628 for ac_func in sincosl
38629 do :
38630 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38631 if test "x$ac_cv_func_sincosl" = x""yes; then :
38632 cat >>confdefs.h <<_ACEOF
38633 #define HAVE_SINCOSL 1
38634 _ACEOF
38635
38636 fi
38637 done
38638
38639 else
38640
38641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38642 $as_echo_n "checking for _sincosl declaration... " >&6; }
38643 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38644 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38645 $as_echo_n "(cached) " >&6
38646 else
38647
38648
38649 ac_ext=cpp
38650 ac_cpp='$CXXCPP $CPPFLAGS'
38651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38654
38655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38656 /* end confdefs.h. */
38657 #include <math.h>
38658 int
38659 main ()
38660 {
38661 _sincosl(0, 0, 0);
38662 ;
38663 return 0;
38664 }
38665 _ACEOF
38666 if ac_fn_cxx_try_compile "$LINENO"; then :
38667 glibcxx_cv_func__sincosl_use=yes
38668 else
38669 glibcxx_cv_func__sincosl_use=no
38670 fi
38671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38672 ac_ext=c
38673 ac_cpp='$CPP $CPPFLAGS'
38674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38677
38678
38679 fi
38680
38681 fi
38682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38683 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38684
38685 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38686 for ac_func in _sincosl
38687 do :
38688 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38689 if test "x$ac_cv_func__sincosl" = x""yes; then :
38690 cat >>confdefs.h <<_ACEOF
38691 #define HAVE__SINCOSL 1
38692 _ACEOF
38693
38694 fi
38695 done
38696
38697 fi
38698 fi
38699
38700
38701
38702
38703
38704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38705 $as_echo_n "checking for finitel declaration... " >&6; }
38706 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38707 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38708 $as_echo_n "(cached) " >&6
38709 else
38710
38711
38712 ac_ext=cpp
38713 ac_cpp='$CXXCPP $CPPFLAGS'
38714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38717
38718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38719 /* end confdefs.h. */
38720 #include <math.h>
38721 #ifdef HAVE_IEEEFP_H
38722 #include <ieeefp.h>
38723 #endif
38724
38725 int
38726 main ()
38727 {
38728 finitel(0);
38729 ;
38730 return 0;
38731 }
38732 _ACEOF
38733 if ac_fn_cxx_try_compile "$LINENO"; then :
38734 glibcxx_cv_func_finitel_use=yes
38735 else
38736 glibcxx_cv_func_finitel_use=no
38737 fi
38738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38739 ac_ext=c
38740 ac_cpp='$CPP $CPPFLAGS'
38741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38744
38745
38746 fi
38747
38748 fi
38749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38750 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38751
38752 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38753 for ac_func in finitel
38754 do :
38755 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38756 if test "x$ac_cv_func_finitel" = x""yes; then :
38757 cat >>confdefs.h <<_ACEOF
38758 #define HAVE_FINITEL 1
38759 _ACEOF
38760
38761 fi
38762 done
38763
38764 else
38765
38766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38767 $as_echo_n "checking for _finitel declaration... " >&6; }
38768 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38769 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38770 $as_echo_n "(cached) " >&6
38771 else
38772
38773
38774 ac_ext=cpp
38775 ac_cpp='$CXXCPP $CPPFLAGS'
38776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38779
38780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38781 /* end confdefs.h. */
38782 #include <math.h>
38783 #ifdef HAVE_IEEEFP_H
38784 #include <ieeefp.h>
38785 #endif
38786
38787 int
38788 main ()
38789 {
38790 _finitel(0);
38791 ;
38792 return 0;
38793 }
38794 _ACEOF
38795 if ac_fn_cxx_try_compile "$LINENO"; then :
38796 glibcxx_cv_func__finitel_use=yes
38797 else
38798 glibcxx_cv_func__finitel_use=no
38799 fi
38800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38801 ac_ext=c
38802 ac_cpp='$CPP $CPPFLAGS'
38803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38806
38807
38808 fi
38809
38810 fi
38811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38812 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38813
38814 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38815 for ac_func in _finitel
38816 do :
38817 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38818 if test "x$ac_cv_func__finitel" = x""yes; then :
38819 cat >>confdefs.h <<_ACEOF
38820 #define HAVE__FINITEL 1
38821 _ACEOF
38822
38823 fi
38824 done
38825
38826 fi
38827 fi
38828
38829
38830
38831
38832 LIBS="$ac_save_LIBS"
38833 CXXFLAGS="$ac_save_CXXFLAGS"
38834
38835
38836 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38837 ac_save_CXXFLAGS="$CXXFLAGS"
38838 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38839
38840
38841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38842 $as_echo_n "checking for strtold declaration... " >&6; }
38843 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38844 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38845 $as_echo_n "(cached) " >&6
38846 else
38847
38848
38849 ac_ext=cpp
38850 ac_cpp='$CXXCPP $CPPFLAGS'
38851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38854
38855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38856 /* end confdefs.h. */
38857 #include <stdlib.h>
38858 int
38859 main ()
38860 {
38861 strtold(0, 0);
38862 ;
38863 return 0;
38864 }
38865 _ACEOF
38866 if ac_fn_cxx_try_compile "$LINENO"; then :
38867 glibcxx_cv_func_strtold_use=yes
38868 else
38869 glibcxx_cv_func_strtold_use=no
38870 fi
38871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38872 ac_ext=c
38873 ac_cpp='$CPP $CPPFLAGS'
38874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38877
38878
38879 fi
38880
38881 fi
38882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38883 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38884 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38885 for ac_func in strtold
38886 do :
38887 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38888 if test "x$ac_cv_func_strtold" = x""yes; then :
38889 cat >>confdefs.h <<_ACEOF
38890 #define HAVE_STRTOLD 1
38891 _ACEOF
38892
38893 fi
38894 done
38895
38896 fi
38897
38898
38899
38900
38901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38902 $as_echo_n "checking for strtof declaration... " >&6; }
38903 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38904 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38905 $as_echo_n "(cached) " >&6
38906 else
38907
38908
38909 ac_ext=cpp
38910 ac_cpp='$CXXCPP $CPPFLAGS'
38911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38914
38915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38916 /* end confdefs.h. */
38917 #include <stdlib.h>
38918 int
38919 main ()
38920 {
38921 strtof(0, 0);
38922 ;
38923 return 0;
38924 }
38925 _ACEOF
38926 if ac_fn_cxx_try_compile "$LINENO"; then :
38927 glibcxx_cv_func_strtof_use=yes
38928 else
38929 glibcxx_cv_func_strtof_use=no
38930 fi
38931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38932 ac_ext=c
38933 ac_cpp='$CPP $CPPFLAGS'
38934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38937
38938
38939 fi
38940
38941 fi
38942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38943 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38944 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38945 for ac_func in strtof
38946 do :
38947 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38948 if test "x$ac_cv_func_strtof" = x""yes; then :
38949 cat >>confdefs.h <<_ACEOF
38950 #define HAVE_STRTOF 1
38951 _ACEOF
38952
38953 fi
38954 done
38955
38956 fi
38957
38958
38959
38960
38961 CXXFLAGS="$ac_save_CXXFLAGS"
38962
38963 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38964
38965 # We don't yet support AIX's TLS ABI.
38966 #GCC_CHECK_TLS
38967
38968
38969
38970
38971
38972 am_save_CPPFLAGS="$CPPFLAGS"
38973
38974 for element in $INCICONV; do
38975 haveit=
38976 for x in $CPPFLAGS; do
38977
38978 acl_save_prefix="$prefix"
38979 prefix="$acl_final_prefix"
38980 acl_save_exec_prefix="$exec_prefix"
38981 exec_prefix="$acl_final_exec_prefix"
38982 eval x=\"$x\"
38983 exec_prefix="$acl_save_exec_prefix"
38984 prefix="$acl_save_prefix"
38985
38986 if test "X$x" = "X$element"; then
38987 haveit=yes
38988 break
38989 fi
38990 done
38991 if test -z "$haveit"; then
38992 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38993 fi
38994 done
38995
38996
38997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38998 $as_echo_n "checking for iconv... " >&6; }
38999 if test "${am_cv_func_iconv+set}" = set; then :
39000 $as_echo_n "(cached) " >&6
39001 else
39002
39003 am_cv_func_iconv="no, consider installing GNU libiconv"
39004 am_cv_lib_iconv=no
39005 if test x$gcc_no_link = xyes; then
39006 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39007 fi
39008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39009 /* end confdefs.h. */
39010 #include <stdlib.h>
39011 #include <iconv.h>
39012 int
39013 main ()
39014 {
39015 iconv_t cd = iconv_open("","");
39016 iconv(cd,NULL,NULL,NULL,NULL);
39017 iconv_close(cd);
39018 ;
39019 return 0;
39020 }
39021 _ACEOF
39022 if ac_fn_c_try_link "$LINENO"; then :
39023 am_cv_func_iconv=yes
39024 fi
39025 rm -f core conftest.err conftest.$ac_objext \
39026 conftest$ac_exeext conftest.$ac_ext
39027 if test "$am_cv_func_iconv" != yes; then
39028 am_save_LIBS="$LIBS"
39029 LIBS="$LIBS $LIBICONV"
39030 if test x$gcc_no_link = xyes; then
39031 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39032 fi
39033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39034 /* end confdefs.h. */
39035 #include <stdlib.h>
39036 #include <iconv.h>
39037 int
39038 main ()
39039 {
39040 iconv_t cd = iconv_open("","");
39041 iconv(cd,NULL,NULL,NULL,NULL);
39042 iconv_close(cd);
39043 ;
39044 return 0;
39045 }
39046 _ACEOF
39047 if ac_fn_c_try_link "$LINENO"; then :
39048 am_cv_lib_iconv=yes
39049 am_cv_func_iconv=yes
39050 fi
39051 rm -f core conftest.err conftest.$ac_objext \
39052 conftest$ac_exeext conftest.$ac_ext
39053 LIBS="$am_save_LIBS"
39054 fi
39055
39056 fi
39057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39058 $as_echo "$am_cv_func_iconv" >&6; }
39059 if test "$am_cv_func_iconv" = yes; then
39060
39061 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39062
39063 fi
39064 if test "$am_cv_lib_iconv" = yes; then
39065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39066 $as_echo_n "checking how to link with libiconv... " >&6; }
39067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39068 $as_echo "$LIBICONV" >&6; }
39069 else
39070 CPPFLAGS="$am_save_CPPFLAGS"
39071 LIBICONV=
39072 LTLIBICONV=
39073 fi
39074
39075
39076
39077 if test "$am_cv_func_iconv" = yes; then
39078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39079 $as_echo_n "checking for iconv declaration... " >&6; }
39080 if test "${am_cv_proto_iconv+set}" = set; then :
39081 $as_echo_n "(cached) " >&6
39082 else
39083
39084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39085 /* end confdefs.h. */
39086
39087 #include <stdlib.h>
39088 #include <iconv.h>
39089 extern
39090 #ifdef __cplusplus
39091 "C"
39092 #endif
39093 #if defined(__STDC__) || defined(__cplusplus)
39094 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39095 #else
39096 size_t iconv();
39097 #endif
39098
39099 int
39100 main ()
39101 {
39102
39103 ;
39104 return 0;
39105 }
39106 _ACEOF
39107 if ac_fn_c_try_compile "$LINENO"; then :
39108 am_cv_proto_iconv_arg1=""
39109 else
39110 am_cv_proto_iconv_arg1="const"
39111 fi
39112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39113 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);"
39114 fi
39115
39116 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39118 }$am_cv_proto_iconv" >&5
39119 $as_echo "${ac_t:-
39120 }$am_cv_proto_iconv" >&6; }
39121
39122 cat >>confdefs.h <<_ACEOF
39123 #define ICONV_CONST $am_cv_proto_iconv_arg1
39124 _ACEOF
39125
39126 fi
39127
39128 ;;
39129
39130 *-darwin*)
39131 # Darwin versions vary, but the linker should work in a cross environment,
39132 # so we just check for all the features here.
39133 # Check for available headers.
39134
39135 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39136
39137 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39138 ac_save_CXXFLAGS="$CXXFLAGS"
39139 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39140
39141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39142 $as_echo_n "checking for sin in -lm... " >&6; }
39143 if test "${ac_cv_lib_m_sin+set}" = set; then :
39144 $as_echo_n "(cached) " >&6
39145 else
39146 ac_check_lib_save_LIBS=$LIBS
39147 LIBS="-lm $LIBS"
39148 if test x$gcc_no_link = xyes; then
39149 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39150 fi
39151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39152 /* end confdefs.h. */
39153
39154 /* Override any GCC internal prototype to avoid an error.
39155 Use char because int might match the return type of a GCC
39156 builtin and then its argument prototype would still apply. */
39157 #ifdef __cplusplus
39158 extern "C"
39159 #endif
39160 char sin ();
39161 int
39162 main ()
39163 {
39164 return sin ();
39165 ;
39166 return 0;
39167 }
39168 _ACEOF
39169 if ac_fn_c_try_link "$LINENO"; then :
39170 ac_cv_lib_m_sin=yes
39171 else
39172 ac_cv_lib_m_sin=no
39173 fi
39174 rm -f core conftest.err conftest.$ac_objext \
39175 conftest$ac_exeext conftest.$ac_ext
39176 LIBS=$ac_check_lib_save_LIBS
39177 fi
39178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39179 $as_echo "$ac_cv_lib_m_sin" >&6; }
39180 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39181 libm="-lm"
39182 fi
39183
39184 ac_save_LIBS="$LIBS"
39185 LIBS="$LIBS $libm"
39186
39187
39188
39189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39190 $as_echo_n "checking for isinf declaration... " >&6; }
39191 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39192 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39193 $as_echo_n "(cached) " >&6
39194 else
39195
39196
39197 ac_ext=cpp
39198 ac_cpp='$CXXCPP $CPPFLAGS'
39199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39202
39203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39204 /* end confdefs.h. */
39205 #include <math.h>
39206 #ifdef HAVE_IEEEFP_H
39207 #include <ieeefp.h>
39208 #endif
39209
39210 int
39211 main ()
39212 {
39213 isinf(0);
39214 ;
39215 return 0;
39216 }
39217 _ACEOF
39218 if ac_fn_cxx_try_compile "$LINENO"; then :
39219 glibcxx_cv_func_isinf_use=yes
39220 else
39221 glibcxx_cv_func_isinf_use=no
39222 fi
39223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39224 ac_ext=c
39225 ac_cpp='$CPP $CPPFLAGS'
39226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39229
39230
39231 fi
39232
39233 fi
39234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39235 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39236
39237 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39238 for ac_func in isinf
39239 do :
39240 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39241 if test "x$ac_cv_func_isinf" = x""yes; then :
39242 cat >>confdefs.h <<_ACEOF
39243 #define HAVE_ISINF 1
39244 _ACEOF
39245
39246 fi
39247 done
39248
39249 else
39250
39251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39252 $as_echo_n "checking for _isinf declaration... " >&6; }
39253 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39254 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39255 $as_echo_n "(cached) " >&6
39256 else
39257
39258
39259 ac_ext=cpp
39260 ac_cpp='$CXXCPP $CPPFLAGS'
39261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39264
39265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39266 /* end confdefs.h. */
39267 #include <math.h>
39268 #ifdef HAVE_IEEEFP_H
39269 #include <ieeefp.h>
39270 #endif
39271
39272 int
39273 main ()
39274 {
39275 _isinf(0);
39276 ;
39277 return 0;
39278 }
39279 _ACEOF
39280 if ac_fn_cxx_try_compile "$LINENO"; then :
39281 glibcxx_cv_func__isinf_use=yes
39282 else
39283 glibcxx_cv_func__isinf_use=no
39284 fi
39285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39286 ac_ext=c
39287 ac_cpp='$CPP $CPPFLAGS'
39288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39291
39292
39293 fi
39294
39295 fi
39296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39297 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39298
39299 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39300 for ac_func in _isinf
39301 do :
39302 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39303 if test "x$ac_cv_func__isinf" = x""yes; then :
39304 cat >>confdefs.h <<_ACEOF
39305 #define HAVE__ISINF 1
39306 _ACEOF
39307
39308 fi
39309 done
39310
39311 fi
39312 fi
39313
39314
39315
39316
39317
39318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39319 $as_echo_n "checking for isnan declaration... " >&6; }
39320 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39321 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39322 $as_echo_n "(cached) " >&6
39323 else
39324
39325
39326 ac_ext=cpp
39327 ac_cpp='$CXXCPP $CPPFLAGS'
39328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39331
39332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39333 /* end confdefs.h. */
39334 #include <math.h>
39335 #ifdef HAVE_IEEEFP_H
39336 #include <ieeefp.h>
39337 #endif
39338
39339 int
39340 main ()
39341 {
39342 isnan(0);
39343 ;
39344 return 0;
39345 }
39346 _ACEOF
39347 if ac_fn_cxx_try_compile "$LINENO"; then :
39348 glibcxx_cv_func_isnan_use=yes
39349 else
39350 glibcxx_cv_func_isnan_use=no
39351 fi
39352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39353 ac_ext=c
39354 ac_cpp='$CPP $CPPFLAGS'
39355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39358
39359
39360 fi
39361
39362 fi
39363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39364 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39365
39366 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39367 for ac_func in isnan
39368 do :
39369 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39370 if test "x$ac_cv_func_isnan" = x""yes; then :
39371 cat >>confdefs.h <<_ACEOF
39372 #define HAVE_ISNAN 1
39373 _ACEOF
39374
39375 fi
39376 done
39377
39378 else
39379
39380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39381 $as_echo_n "checking for _isnan declaration... " >&6; }
39382 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39383 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39384 $as_echo_n "(cached) " >&6
39385 else
39386
39387
39388 ac_ext=cpp
39389 ac_cpp='$CXXCPP $CPPFLAGS'
39390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39393
39394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39395 /* end confdefs.h. */
39396 #include <math.h>
39397 #ifdef HAVE_IEEEFP_H
39398 #include <ieeefp.h>
39399 #endif
39400
39401 int
39402 main ()
39403 {
39404 _isnan(0);
39405 ;
39406 return 0;
39407 }
39408 _ACEOF
39409 if ac_fn_cxx_try_compile "$LINENO"; then :
39410 glibcxx_cv_func__isnan_use=yes
39411 else
39412 glibcxx_cv_func__isnan_use=no
39413 fi
39414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39415 ac_ext=c
39416 ac_cpp='$CPP $CPPFLAGS'
39417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39420
39421
39422 fi
39423
39424 fi
39425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39426 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39427
39428 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39429 for ac_func in _isnan
39430 do :
39431 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39432 if test "x$ac_cv_func__isnan" = x""yes; then :
39433 cat >>confdefs.h <<_ACEOF
39434 #define HAVE__ISNAN 1
39435 _ACEOF
39436
39437 fi
39438 done
39439
39440 fi
39441 fi
39442
39443
39444
39445
39446
39447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39448 $as_echo_n "checking for finite declaration... " >&6; }
39449 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39450 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39451 $as_echo_n "(cached) " >&6
39452 else
39453
39454
39455 ac_ext=cpp
39456 ac_cpp='$CXXCPP $CPPFLAGS'
39457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39460
39461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39462 /* end confdefs.h. */
39463 #include <math.h>
39464 #ifdef HAVE_IEEEFP_H
39465 #include <ieeefp.h>
39466 #endif
39467
39468 int
39469 main ()
39470 {
39471 finite(0);
39472 ;
39473 return 0;
39474 }
39475 _ACEOF
39476 if ac_fn_cxx_try_compile "$LINENO"; then :
39477 glibcxx_cv_func_finite_use=yes
39478 else
39479 glibcxx_cv_func_finite_use=no
39480 fi
39481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39482 ac_ext=c
39483 ac_cpp='$CPP $CPPFLAGS'
39484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39487
39488
39489 fi
39490
39491 fi
39492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39493 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39494
39495 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39496 for ac_func in finite
39497 do :
39498 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39499 if test "x$ac_cv_func_finite" = x""yes; then :
39500 cat >>confdefs.h <<_ACEOF
39501 #define HAVE_FINITE 1
39502 _ACEOF
39503
39504 fi
39505 done
39506
39507 else
39508
39509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39510 $as_echo_n "checking for _finite declaration... " >&6; }
39511 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39512 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39513 $as_echo_n "(cached) " >&6
39514 else
39515
39516
39517 ac_ext=cpp
39518 ac_cpp='$CXXCPP $CPPFLAGS'
39519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39522
39523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39524 /* end confdefs.h. */
39525 #include <math.h>
39526 #ifdef HAVE_IEEEFP_H
39527 #include <ieeefp.h>
39528 #endif
39529
39530 int
39531 main ()
39532 {
39533 _finite(0);
39534 ;
39535 return 0;
39536 }
39537 _ACEOF
39538 if ac_fn_cxx_try_compile "$LINENO"; then :
39539 glibcxx_cv_func__finite_use=yes
39540 else
39541 glibcxx_cv_func__finite_use=no
39542 fi
39543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39544 ac_ext=c
39545 ac_cpp='$CPP $CPPFLAGS'
39546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39549
39550
39551 fi
39552
39553 fi
39554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39555 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39556
39557 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39558 for ac_func in _finite
39559 do :
39560 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39561 if test "x$ac_cv_func__finite" = x""yes; then :
39562 cat >>confdefs.h <<_ACEOF
39563 #define HAVE__FINITE 1
39564 _ACEOF
39565
39566 fi
39567 done
39568
39569 fi
39570 fi
39571
39572
39573
39574
39575
39576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39577 $as_echo_n "checking for sincos declaration... " >&6; }
39578 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39579 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39580 $as_echo_n "(cached) " >&6
39581 else
39582
39583
39584 ac_ext=cpp
39585 ac_cpp='$CXXCPP $CPPFLAGS'
39586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39589
39590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39591 /* end confdefs.h. */
39592 #include <math.h>
39593 int
39594 main ()
39595 {
39596 sincos(0, 0, 0);
39597 ;
39598 return 0;
39599 }
39600 _ACEOF
39601 if ac_fn_cxx_try_compile "$LINENO"; then :
39602 glibcxx_cv_func_sincos_use=yes
39603 else
39604 glibcxx_cv_func_sincos_use=no
39605 fi
39606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39607 ac_ext=c
39608 ac_cpp='$CPP $CPPFLAGS'
39609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39612
39613
39614 fi
39615
39616 fi
39617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39618 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39619
39620 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39621 for ac_func in sincos
39622 do :
39623 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39624 if test "x$ac_cv_func_sincos" = x""yes; then :
39625 cat >>confdefs.h <<_ACEOF
39626 #define HAVE_SINCOS 1
39627 _ACEOF
39628
39629 fi
39630 done
39631
39632 else
39633
39634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39635 $as_echo_n "checking for _sincos declaration... " >&6; }
39636 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39637 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39638 $as_echo_n "(cached) " >&6
39639 else
39640
39641
39642 ac_ext=cpp
39643 ac_cpp='$CXXCPP $CPPFLAGS'
39644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39647
39648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39649 /* end confdefs.h. */
39650 #include <math.h>
39651 int
39652 main ()
39653 {
39654 _sincos(0, 0, 0);
39655 ;
39656 return 0;
39657 }
39658 _ACEOF
39659 if ac_fn_cxx_try_compile "$LINENO"; then :
39660 glibcxx_cv_func__sincos_use=yes
39661 else
39662 glibcxx_cv_func__sincos_use=no
39663 fi
39664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39665 ac_ext=c
39666 ac_cpp='$CPP $CPPFLAGS'
39667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39670
39671
39672 fi
39673
39674 fi
39675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39676 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39677
39678 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39679 for ac_func in _sincos
39680 do :
39681 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39682 if test "x$ac_cv_func__sincos" = x""yes; then :
39683 cat >>confdefs.h <<_ACEOF
39684 #define HAVE__SINCOS 1
39685 _ACEOF
39686
39687 fi
39688 done
39689
39690 fi
39691 fi
39692
39693
39694
39695
39696
39697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39698 $as_echo_n "checking for fpclass declaration... " >&6; }
39699 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39700 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39701 $as_echo_n "(cached) " >&6
39702 else
39703
39704
39705 ac_ext=cpp
39706 ac_cpp='$CXXCPP $CPPFLAGS'
39707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39710
39711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39712 /* end confdefs.h. */
39713 #include <math.h>
39714 #ifdef HAVE_IEEEFP_H
39715 #include <ieeefp.h>
39716 #endif
39717
39718 int
39719 main ()
39720 {
39721 fpclass(0);
39722 ;
39723 return 0;
39724 }
39725 _ACEOF
39726 if ac_fn_cxx_try_compile "$LINENO"; then :
39727 glibcxx_cv_func_fpclass_use=yes
39728 else
39729 glibcxx_cv_func_fpclass_use=no
39730 fi
39731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39732 ac_ext=c
39733 ac_cpp='$CPP $CPPFLAGS'
39734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39737
39738
39739 fi
39740
39741 fi
39742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39743 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39744
39745 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39746 for ac_func in fpclass
39747 do :
39748 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39749 if test "x$ac_cv_func_fpclass" = x""yes; then :
39750 cat >>confdefs.h <<_ACEOF
39751 #define HAVE_FPCLASS 1
39752 _ACEOF
39753
39754 fi
39755 done
39756
39757 else
39758
39759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39760 $as_echo_n "checking for _fpclass declaration... " >&6; }
39761 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39762 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39763 $as_echo_n "(cached) " >&6
39764 else
39765
39766
39767 ac_ext=cpp
39768 ac_cpp='$CXXCPP $CPPFLAGS'
39769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39772
39773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39774 /* end confdefs.h. */
39775 #include <math.h>
39776 #ifdef HAVE_IEEEFP_H
39777 #include <ieeefp.h>
39778 #endif
39779
39780 int
39781 main ()
39782 {
39783 _fpclass(0);
39784 ;
39785 return 0;
39786 }
39787 _ACEOF
39788 if ac_fn_cxx_try_compile "$LINENO"; then :
39789 glibcxx_cv_func__fpclass_use=yes
39790 else
39791 glibcxx_cv_func__fpclass_use=no
39792 fi
39793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39794 ac_ext=c
39795 ac_cpp='$CPP $CPPFLAGS'
39796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39799
39800
39801 fi
39802
39803 fi
39804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39805 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39806
39807 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39808 for ac_func in _fpclass
39809 do :
39810 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39811 if test "x$ac_cv_func__fpclass" = x""yes; then :
39812 cat >>confdefs.h <<_ACEOF
39813 #define HAVE__FPCLASS 1
39814 _ACEOF
39815
39816 fi
39817 done
39818
39819 fi
39820 fi
39821
39822
39823
39824
39825
39826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39827 $as_echo_n "checking for qfpclass declaration... " >&6; }
39828 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39829 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39830 $as_echo_n "(cached) " >&6
39831 else
39832
39833
39834 ac_ext=cpp
39835 ac_cpp='$CXXCPP $CPPFLAGS'
39836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39839
39840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39841 /* end confdefs.h. */
39842 #include <math.h>
39843 #ifdef HAVE_IEEEFP_H
39844 #include <ieeefp.h>
39845 #endif
39846
39847 int
39848 main ()
39849 {
39850 qfpclass(0);
39851 ;
39852 return 0;
39853 }
39854 _ACEOF
39855 if ac_fn_cxx_try_compile "$LINENO"; then :
39856 glibcxx_cv_func_qfpclass_use=yes
39857 else
39858 glibcxx_cv_func_qfpclass_use=no
39859 fi
39860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39861 ac_ext=c
39862 ac_cpp='$CPP $CPPFLAGS'
39863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39866
39867
39868 fi
39869
39870 fi
39871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39872 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39873
39874 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39875 for ac_func in qfpclass
39876 do :
39877 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39878 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39879 cat >>confdefs.h <<_ACEOF
39880 #define HAVE_QFPCLASS 1
39881 _ACEOF
39882
39883 fi
39884 done
39885
39886 else
39887
39888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39889 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39890 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39891 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39892 $as_echo_n "(cached) " >&6
39893 else
39894
39895
39896 ac_ext=cpp
39897 ac_cpp='$CXXCPP $CPPFLAGS'
39898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39901
39902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39903 /* end confdefs.h. */
39904 #include <math.h>
39905 #ifdef HAVE_IEEEFP_H
39906 #include <ieeefp.h>
39907 #endif
39908
39909 int
39910 main ()
39911 {
39912 _qfpclass(0);
39913 ;
39914 return 0;
39915 }
39916 _ACEOF
39917 if ac_fn_cxx_try_compile "$LINENO"; then :
39918 glibcxx_cv_func__qfpclass_use=yes
39919 else
39920 glibcxx_cv_func__qfpclass_use=no
39921 fi
39922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39923 ac_ext=c
39924 ac_cpp='$CPP $CPPFLAGS'
39925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39928
39929
39930 fi
39931
39932 fi
39933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39934 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39935
39936 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39937 for ac_func in _qfpclass
39938 do :
39939 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39940 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39941 cat >>confdefs.h <<_ACEOF
39942 #define HAVE__QFPCLASS 1
39943 _ACEOF
39944
39945 fi
39946 done
39947
39948 fi
39949 fi
39950
39951
39952
39953
39954
39955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39956 $as_echo_n "checking for hypot declaration... " >&6; }
39957 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39958 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39959 $as_echo_n "(cached) " >&6
39960 else
39961
39962
39963 ac_ext=cpp
39964 ac_cpp='$CXXCPP $CPPFLAGS'
39965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39968
39969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39970 /* end confdefs.h. */
39971 #include <math.h>
39972 int
39973 main ()
39974 {
39975 hypot(0, 0);
39976 ;
39977 return 0;
39978 }
39979 _ACEOF
39980 if ac_fn_cxx_try_compile "$LINENO"; then :
39981 glibcxx_cv_func_hypot_use=yes
39982 else
39983 glibcxx_cv_func_hypot_use=no
39984 fi
39985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39986 ac_ext=c
39987 ac_cpp='$CPP $CPPFLAGS'
39988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39991
39992
39993 fi
39994
39995 fi
39996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39997 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39998
39999 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40000 for ac_func in hypot
40001 do :
40002 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40003 if test "x$ac_cv_func_hypot" = x""yes; then :
40004 cat >>confdefs.h <<_ACEOF
40005 #define HAVE_HYPOT 1
40006 _ACEOF
40007
40008 fi
40009 done
40010
40011 else
40012
40013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40014 $as_echo_n "checking for _hypot declaration... " >&6; }
40015 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40016 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40017 $as_echo_n "(cached) " >&6
40018 else
40019
40020
40021 ac_ext=cpp
40022 ac_cpp='$CXXCPP $CPPFLAGS'
40023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40026
40027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40028 /* end confdefs.h. */
40029 #include <math.h>
40030 int
40031 main ()
40032 {
40033 _hypot(0, 0);
40034 ;
40035 return 0;
40036 }
40037 _ACEOF
40038 if ac_fn_cxx_try_compile "$LINENO"; then :
40039 glibcxx_cv_func__hypot_use=yes
40040 else
40041 glibcxx_cv_func__hypot_use=no
40042 fi
40043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40044 ac_ext=c
40045 ac_cpp='$CPP $CPPFLAGS'
40046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40049
40050
40051 fi
40052
40053 fi
40054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40055 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40056
40057 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40058 for ac_func in _hypot
40059 do :
40060 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40061 if test "x$ac_cv_func__hypot" = x""yes; then :
40062 cat >>confdefs.h <<_ACEOF
40063 #define HAVE__HYPOT 1
40064 _ACEOF
40065
40066 fi
40067 done
40068
40069 fi
40070 fi
40071
40072
40073
40074
40075
40076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40077 $as_echo_n "checking for float trig functions... " >&6; }
40078 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40079 $as_echo_n "(cached) " >&6
40080 else
40081
40082
40083 ac_ext=cpp
40084 ac_cpp='$CXXCPP $CPPFLAGS'
40085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40088
40089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40090 /* end confdefs.h. */
40091 #include <math.h>
40092 int
40093 main ()
40094 {
40095 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40096 ;
40097 return 0;
40098 }
40099 _ACEOF
40100 if ac_fn_cxx_try_compile "$LINENO"; then :
40101 glibcxx_cv_func_float_trig_use=yes
40102 else
40103 glibcxx_cv_func_float_trig_use=no
40104 fi
40105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40106 ac_ext=c
40107 ac_cpp='$CPP $CPPFLAGS'
40108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40111
40112 fi
40113
40114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40115 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40116 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40117 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40118 do :
40119 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40121 eval as_val=\$$as_ac_var
40122 if test "x$as_val" = x""yes; then :
40123 cat >>confdefs.h <<_ACEOF
40124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40125 _ACEOF
40126
40127 fi
40128 done
40129
40130 else
40131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40132 $as_echo_n "checking for _float trig functions... " >&6; }
40133 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40134 $as_echo_n "(cached) " >&6
40135 else
40136
40137
40138 ac_ext=cpp
40139 ac_cpp='$CXXCPP $CPPFLAGS'
40140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40143
40144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40145 /* end confdefs.h. */
40146 #include <math.h>
40147 int
40148 main ()
40149 {
40150 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40151 ;
40152 return 0;
40153 }
40154 _ACEOF
40155 if ac_fn_cxx_try_compile "$LINENO"; then :
40156 glibcxx_cv_func__float_trig_use=yes
40157 else
40158 glibcxx_cv_func__float_trig_use=no
40159 fi
40160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40161 ac_ext=c
40162 ac_cpp='$CPP $CPPFLAGS'
40163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40166
40167 fi
40168
40169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40170 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40171 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40172 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40173 do :
40174 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40175 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40176 eval as_val=\$$as_ac_var
40177 if test "x$as_val" = x""yes; then :
40178 cat >>confdefs.h <<_ACEOF
40179 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40180 _ACEOF
40181
40182 fi
40183 done
40184
40185 fi
40186 fi
40187
40188
40189
40190
40191
40192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40193 $as_echo_n "checking for float round functions... " >&6; }
40194 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40195 $as_echo_n "(cached) " >&6
40196 else
40197
40198
40199 ac_ext=cpp
40200 ac_cpp='$CXXCPP $CPPFLAGS'
40201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40204
40205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40206 /* end confdefs.h. */
40207 #include <math.h>
40208 int
40209 main ()
40210 {
40211 ceilf (0); floorf (0);
40212 ;
40213 return 0;
40214 }
40215 _ACEOF
40216 if ac_fn_cxx_try_compile "$LINENO"; then :
40217 glibcxx_cv_func_float_round_use=yes
40218 else
40219 glibcxx_cv_func_float_round_use=no
40220 fi
40221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40222 ac_ext=c
40223 ac_cpp='$CPP $CPPFLAGS'
40224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40227
40228 fi
40229
40230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40231 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40232 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40233 for ac_func in ceilf floorf
40234 do :
40235 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40236 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40237 eval as_val=\$$as_ac_var
40238 if test "x$as_val" = x""yes; then :
40239 cat >>confdefs.h <<_ACEOF
40240 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40241 _ACEOF
40242
40243 fi
40244 done
40245
40246 else
40247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40248 $as_echo_n "checking for _float round functions... " >&6; }
40249 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40250 $as_echo_n "(cached) " >&6
40251 else
40252
40253
40254 ac_ext=cpp
40255 ac_cpp='$CXXCPP $CPPFLAGS'
40256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40259
40260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40261 /* end confdefs.h. */
40262 #include <math.h>
40263 int
40264 main ()
40265 {
40266 _ceilf (0); _floorf (0);
40267 ;
40268 return 0;
40269 }
40270 _ACEOF
40271 if ac_fn_cxx_try_compile "$LINENO"; then :
40272 glibcxx_cv_func__float_round_use=yes
40273 else
40274 glibcxx_cv_func__float_round_use=no
40275 fi
40276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40277 ac_ext=c
40278 ac_cpp='$CPP $CPPFLAGS'
40279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40282
40283 fi
40284
40285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40286 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40287 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40288 for ac_func in _ceilf _floorf
40289 do :
40290 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40291 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40292 eval as_val=\$$as_ac_var
40293 if test "x$as_val" = x""yes; then :
40294 cat >>confdefs.h <<_ACEOF
40295 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40296 _ACEOF
40297
40298 fi
40299 done
40300
40301 fi
40302 fi
40303
40304
40305
40306
40307
40308
40309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40310 $as_echo_n "checking for expf declaration... " >&6; }
40311 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40312 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40313 $as_echo_n "(cached) " >&6
40314 else
40315
40316
40317 ac_ext=cpp
40318 ac_cpp='$CXXCPP $CPPFLAGS'
40319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40322
40323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40324 /* end confdefs.h. */
40325 #include <math.h>
40326 #ifdef HAVE_IEEEFP_H
40327 #include <ieeefp.h>
40328 #endif
40329
40330 int
40331 main ()
40332 {
40333 expf(0);
40334 ;
40335 return 0;
40336 }
40337 _ACEOF
40338 if ac_fn_cxx_try_compile "$LINENO"; then :
40339 glibcxx_cv_func_expf_use=yes
40340 else
40341 glibcxx_cv_func_expf_use=no
40342 fi
40343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40344 ac_ext=c
40345 ac_cpp='$CPP $CPPFLAGS'
40346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40349
40350
40351 fi
40352
40353 fi
40354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40355 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40356
40357 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40358 for ac_func in expf
40359 do :
40360 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40361 if test "x$ac_cv_func_expf" = x""yes; then :
40362 cat >>confdefs.h <<_ACEOF
40363 #define HAVE_EXPF 1
40364 _ACEOF
40365
40366 fi
40367 done
40368
40369 else
40370
40371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40372 $as_echo_n "checking for _expf declaration... " >&6; }
40373 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40374 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40375 $as_echo_n "(cached) " >&6
40376 else
40377
40378
40379 ac_ext=cpp
40380 ac_cpp='$CXXCPP $CPPFLAGS'
40381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40384
40385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40386 /* end confdefs.h. */
40387 #include <math.h>
40388 #ifdef HAVE_IEEEFP_H
40389 #include <ieeefp.h>
40390 #endif
40391
40392 int
40393 main ()
40394 {
40395 _expf(0);
40396 ;
40397 return 0;
40398 }
40399 _ACEOF
40400 if ac_fn_cxx_try_compile "$LINENO"; then :
40401 glibcxx_cv_func__expf_use=yes
40402 else
40403 glibcxx_cv_func__expf_use=no
40404 fi
40405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40406 ac_ext=c
40407 ac_cpp='$CPP $CPPFLAGS'
40408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40411
40412
40413 fi
40414
40415 fi
40416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40417 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40418
40419 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40420 for ac_func in _expf
40421 do :
40422 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40423 if test "x$ac_cv_func__expf" = x""yes; then :
40424 cat >>confdefs.h <<_ACEOF
40425 #define HAVE__EXPF 1
40426 _ACEOF
40427
40428 fi
40429 done
40430
40431 fi
40432 fi
40433
40434
40435
40436
40437
40438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40439 $as_echo_n "checking for isnanf declaration... " >&6; }
40440 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40441 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40442 $as_echo_n "(cached) " >&6
40443 else
40444
40445
40446 ac_ext=cpp
40447 ac_cpp='$CXXCPP $CPPFLAGS'
40448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40451
40452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40453 /* end confdefs.h. */
40454 #include <math.h>
40455 #ifdef HAVE_IEEEFP_H
40456 #include <ieeefp.h>
40457 #endif
40458
40459 int
40460 main ()
40461 {
40462 isnanf(0);
40463 ;
40464 return 0;
40465 }
40466 _ACEOF
40467 if ac_fn_cxx_try_compile "$LINENO"; then :
40468 glibcxx_cv_func_isnanf_use=yes
40469 else
40470 glibcxx_cv_func_isnanf_use=no
40471 fi
40472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40473 ac_ext=c
40474 ac_cpp='$CPP $CPPFLAGS'
40475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40478
40479
40480 fi
40481
40482 fi
40483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40484 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40485
40486 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40487 for ac_func in isnanf
40488 do :
40489 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40490 if test "x$ac_cv_func_isnanf" = x""yes; then :
40491 cat >>confdefs.h <<_ACEOF
40492 #define HAVE_ISNANF 1
40493 _ACEOF
40494
40495 fi
40496 done
40497
40498 else
40499
40500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40501 $as_echo_n "checking for _isnanf declaration... " >&6; }
40502 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40503 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40504 $as_echo_n "(cached) " >&6
40505 else
40506
40507
40508 ac_ext=cpp
40509 ac_cpp='$CXXCPP $CPPFLAGS'
40510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40513
40514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40515 /* end confdefs.h. */
40516 #include <math.h>
40517 #ifdef HAVE_IEEEFP_H
40518 #include <ieeefp.h>
40519 #endif
40520
40521 int
40522 main ()
40523 {
40524 _isnanf(0);
40525 ;
40526 return 0;
40527 }
40528 _ACEOF
40529 if ac_fn_cxx_try_compile "$LINENO"; then :
40530 glibcxx_cv_func__isnanf_use=yes
40531 else
40532 glibcxx_cv_func__isnanf_use=no
40533 fi
40534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40535 ac_ext=c
40536 ac_cpp='$CPP $CPPFLAGS'
40537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40540
40541
40542 fi
40543
40544 fi
40545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40546 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40547
40548 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40549 for ac_func in _isnanf
40550 do :
40551 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40552 if test "x$ac_cv_func__isnanf" = x""yes; then :
40553 cat >>confdefs.h <<_ACEOF
40554 #define HAVE__ISNANF 1
40555 _ACEOF
40556
40557 fi
40558 done
40559
40560 fi
40561 fi
40562
40563
40564
40565
40566
40567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40568 $as_echo_n "checking for isinff declaration... " >&6; }
40569 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40570 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40571 $as_echo_n "(cached) " >&6
40572 else
40573
40574
40575 ac_ext=cpp
40576 ac_cpp='$CXXCPP $CPPFLAGS'
40577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40580
40581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40582 /* end confdefs.h. */
40583 #include <math.h>
40584 #ifdef HAVE_IEEEFP_H
40585 #include <ieeefp.h>
40586 #endif
40587
40588 int
40589 main ()
40590 {
40591 isinff(0);
40592 ;
40593 return 0;
40594 }
40595 _ACEOF
40596 if ac_fn_cxx_try_compile "$LINENO"; then :
40597 glibcxx_cv_func_isinff_use=yes
40598 else
40599 glibcxx_cv_func_isinff_use=no
40600 fi
40601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40602 ac_ext=c
40603 ac_cpp='$CPP $CPPFLAGS'
40604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40607
40608
40609 fi
40610
40611 fi
40612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40613 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40614
40615 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40616 for ac_func in isinff
40617 do :
40618 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40619 if test "x$ac_cv_func_isinff" = x""yes; then :
40620 cat >>confdefs.h <<_ACEOF
40621 #define HAVE_ISINFF 1
40622 _ACEOF
40623
40624 fi
40625 done
40626
40627 else
40628
40629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40630 $as_echo_n "checking for _isinff declaration... " >&6; }
40631 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40632 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40633 $as_echo_n "(cached) " >&6
40634 else
40635
40636
40637 ac_ext=cpp
40638 ac_cpp='$CXXCPP $CPPFLAGS'
40639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40642
40643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40644 /* end confdefs.h. */
40645 #include <math.h>
40646 #ifdef HAVE_IEEEFP_H
40647 #include <ieeefp.h>
40648 #endif
40649
40650 int
40651 main ()
40652 {
40653 _isinff(0);
40654 ;
40655 return 0;
40656 }
40657 _ACEOF
40658 if ac_fn_cxx_try_compile "$LINENO"; then :
40659 glibcxx_cv_func__isinff_use=yes
40660 else
40661 glibcxx_cv_func__isinff_use=no
40662 fi
40663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40664 ac_ext=c
40665 ac_cpp='$CPP $CPPFLAGS'
40666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40669
40670
40671 fi
40672
40673 fi
40674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40675 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40676
40677 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40678 for ac_func in _isinff
40679 do :
40680 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40681 if test "x$ac_cv_func__isinff" = x""yes; then :
40682 cat >>confdefs.h <<_ACEOF
40683 #define HAVE__ISINFF 1
40684 _ACEOF
40685
40686 fi
40687 done
40688
40689 fi
40690 fi
40691
40692
40693
40694
40695
40696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40697 $as_echo_n "checking for atan2f declaration... " >&6; }
40698 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40699 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40700 $as_echo_n "(cached) " >&6
40701 else
40702
40703
40704 ac_ext=cpp
40705 ac_cpp='$CXXCPP $CPPFLAGS'
40706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40709
40710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40711 /* end confdefs.h. */
40712 #include <math.h>
40713 int
40714 main ()
40715 {
40716 atan2f(0, 0);
40717 ;
40718 return 0;
40719 }
40720 _ACEOF
40721 if ac_fn_cxx_try_compile "$LINENO"; then :
40722 glibcxx_cv_func_atan2f_use=yes
40723 else
40724 glibcxx_cv_func_atan2f_use=no
40725 fi
40726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40727 ac_ext=c
40728 ac_cpp='$CPP $CPPFLAGS'
40729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40732
40733
40734 fi
40735
40736 fi
40737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40738 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40739
40740 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40741 for ac_func in atan2f
40742 do :
40743 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40744 if test "x$ac_cv_func_atan2f" = x""yes; then :
40745 cat >>confdefs.h <<_ACEOF
40746 #define HAVE_ATAN2F 1
40747 _ACEOF
40748
40749 fi
40750 done
40751
40752 else
40753
40754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40755 $as_echo_n "checking for _atan2f declaration... " >&6; }
40756 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40757 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40758 $as_echo_n "(cached) " >&6
40759 else
40760
40761
40762 ac_ext=cpp
40763 ac_cpp='$CXXCPP $CPPFLAGS'
40764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40767
40768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40769 /* end confdefs.h. */
40770 #include <math.h>
40771 int
40772 main ()
40773 {
40774 _atan2f(0, 0);
40775 ;
40776 return 0;
40777 }
40778 _ACEOF
40779 if ac_fn_cxx_try_compile "$LINENO"; then :
40780 glibcxx_cv_func__atan2f_use=yes
40781 else
40782 glibcxx_cv_func__atan2f_use=no
40783 fi
40784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40785 ac_ext=c
40786 ac_cpp='$CPP $CPPFLAGS'
40787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40790
40791
40792 fi
40793
40794 fi
40795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40796 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40797
40798 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40799 for ac_func in _atan2f
40800 do :
40801 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40802 if test "x$ac_cv_func__atan2f" = x""yes; then :
40803 cat >>confdefs.h <<_ACEOF
40804 #define HAVE__ATAN2F 1
40805 _ACEOF
40806
40807 fi
40808 done
40809
40810 fi
40811 fi
40812
40813
40814
40815
40816
40817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40818 $as_echo_n "checking for fabsf declaration... " >&6; }
40819 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40820 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40821 $as_echo_n "(cached) " >&6
40822 else
40823
40824
40825 ac_ext=cpp
40826 ac_cpp='$CXXCPP $CPPFLAGS'
40827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40830
40831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40832 /* end confdefs.h. */
40833 #include <math.h>
40834 #ifdef HAVE_IEEEFP_H
40835 #include <ieeefp.h>
40836 #endif
40837
40838 int
40839 main ()
40840 {
40841 fabsf(0);
40842 ;
40843 return 0;
40844 }
40845 _ACEOF
40846 if ac_fn_cxx_try_compile "$LINENO"; then :
40847 glibcxx_cv_func_fabsf_use=yes
40848 else
40849 glibcxx_cv_func_fabsf_use=no
40850 fi
40851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40852 ac_ext=c
40853 ac_cpp='$CPP $CPPFLAGS'
40854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40857
40858
40859 fi
40860
40861 fi
40862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40863 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40864
40865 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40866 for ac_func in fabsf
40867 do :
40868 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40869 if test "x$ac_cv_func_fabsf" = x""yes; then :
40870 cat >>confdefs.h <<_ACEOF
40871 #define HAVE_FABSF 1
40872 _ACEOF
40873
40874 fi
40875 done
40876
40877 else
40878
40879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40880 $as_echo_n "checking for _fabsf declaration... " >&6; }
40881 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40882 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40883 $as_echo_n "(cached) " >&6
40884 else
40885
40886
40887 ac_ext=cpp
40888 ac_cpp='$CXXCPP $CPPFLAGS'
40889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40892
40893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40894 /* end confdefs.h. */
40895 #include <math.h>
40896 #ifdef HAVE_IEEEFP_H
40897 #include <ieeefp.h>
40898 #endif
40899
40900 int
40901 main ()
40902 {
40903 _fabsf(0);
40904 ;
40905 return 0;
40906 }
40907 _ACEOF
40908 if ac_fn_cxx_try_compile "$LINENO"; then :
40909 glibcxx_cv_func__fabsf_use=yes
40910 else
40911 glibcxx_cv_func__fabsf_use=no
40912 fi
40913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40914 ac_ext=c
40915 ac_cpp='$CPP $CPPFLAGS'
40916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40919
40920
40921 fi
40922
40923 fi
40924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40925 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40926
40927 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40928 for ac_func in _fabsf
40929 do :
40930 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40931 if test "x$ac_cv_func__fabsf" = x""yes; then :
40932 cat >>confdefs.h <<_ACEOF
40933 #define HAVE__FABSF 1
40934 _ACEOF
40935
40936 fi
40937 done
40938
40939 fi
40940 fi
40941
40942
40943
40944
40945
40946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40947 $as_echo_n "checking for fmodf declaration... " >&6; }
40948 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40949 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40950 $as_echo_n "(cached) " >&6
40951 else
40952
40953
40954 ac_ext=cpp
40955 ac_cpp='$CXXCPP $CPPFLAGS'
40956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40959
40960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40961 /* end confdefs.h. */
40962 #include <math.h>
40963 int
40964 main ()
40965 {
40966 fmodf(0, 0);
40967 ;
40968 return 0;
40969 }
40970 _ACEOF
40971 if ac_fn_cxx_try_compile "$LINENO"; then :
40972 glibcxx_cv_func_fmodf_use=yes
40973 else
40974 glibcxx_cv_func_fmodf_use=no
40975 fi
40976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40977 ac_ext=c
40978 ac_cpp='$CPP $CPPFLAGS'
40979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40982
40983
40984 fi
40985
40986 fi
40987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40988 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40989
40990 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40991 for ac_func in fmodf
40992 do :
40993 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40994 if test "x$ac_cv_func_fmodf" = x""yes; then :
40995 cat >>confdefs.h <<_ACEOF
40996 #define HAVE_FMODF 1
40997 _ACEOF
40998
40999 fi
41000 done
41001
41002 else
41003
41004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41005 $as_echo_n "checking for _fmodf declaration... " >&6; }
41006 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41007 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41008 $as_echo_n "(cached) " >&6
41009 else
41010
41011
41012 ac_ext=cpp
41013 ac_cpp='$CXXCPP $CPPFLAGS'
41014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41017
41018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41019 /* end confdefs.h. */
41020 #include <math.h>
41021 int
41022 main ()
41023 {
41024 _fmodf(0, 0);
41025 ;
41026 return 0;
41027 }
41028 _ACEOF
41029 if ac_fn_cxx_try_compile "$LINENO"; then :
41030 glibcxx_cv_func__fmodf_use=yes
41031 else
41032 glibcxx_cv_func__fmodf_use=no
41033 fi
41034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41035 ac_ext=c
41036 ac_cpp='$CPP $CPPFLAGS'
41037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41040
41041
41042 fi
41043
41044 fi
41045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41046 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41047
41048 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41049 for ac_func in _fmodf
41050 do :
41051 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41052 if test "x$ac_cv_func__fmodf" = x""yes; then :
41053 cat >>confdefs.h <<_ACEOF
41054 #define HAVE__FMODF 1
41055 _ACEOF
41056
41057 fi
41058 done
41059
41060 fi
41061 fi
41062
41063
41064
41065
41066
41067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41068 $as_echo_n "checking for frexpf declaration... " >&6; }
41069 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41070 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41071 $as_echo_n "(cached) " >&6
41072 else
41073
41074
41075 ac_ext=cpp
41076 ac_cpp='$CXXCPP $CPPFLAGS'
41077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41080
41081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41082 /* end confdefs.h. */
41083 #include <math.h>
41084 int
41085 main ()
41086 {
41087 frexpf(0, 0);
41088 ;
41089 return 0;
41090 }
41091 _ACEOF
41092 if ac_fn_cxx_try_compile "$LINENO"; then :
41093 glibcxx_cv_func_frexpf_use=yes
41094 else
41095 glibcxx_cv_func_frexpf_use=no
41096 fi
41097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41098 ac_ext=c
41099 ac_cpp='$CPP $CPPFLAGS'
41100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41103
41104
41105 fi
41106
41107 fi
41108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41109 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41110
41111 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41112 for ac_func in frexpf
41113 do :
41114 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41115 if test "x$ac_cv_func_frexpf" = x""yes; then :
41116 cat >>confdefs.h <<_ACEOF
41117 #define HAVE_FREXPF 1
41118 _ACEOF
41119
41120 fi
41121 done
41122
41123 else
41124
41125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41126 $as_echo_n "checking for _frexpf declaration... " >&6; }
41127 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41128 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41129 $as_echo_n "(cached) " >&6
41130 else
41131
41132
41133 ac_ext=cpp
41134 ac_cpp='$CXXCPP $CPPFLAGS'
41135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41138
41139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41140 /* end confdefs.h. */
41141 #include <math.h>
41142 int
41143 main ()
41144 {
41145 _frexpf(0, 0);
41146 ;
41147 return 0;
41148 }
41149 _ACEOF
41150 if ac_fn_cxx_try_compile "$LINENO"; then :
41151 glibcxx_cv_func__frexpf_use=yes
41152 else
41153 glibcxx_cv_func__frexpf_use=no
41154 fi
41155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41156 ac_ext=c
41157 ac_cpp='$CPP $CPPFLAGS'
41158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41161
41162
41163 fi
41164
41165 fi
41166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41167 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41168
41169 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41170 for ac_func in _frexpf
41171 do :
41172 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41173 if test "x$ac_cv_func__frexpf" = x""yes; then :
41174 cat >>confdefs.h <<_ACEOF
41175 #define HAVE__FREXPF 1
41176 _ACEOF
41177
41178 fi
41179 done
41180
41181 fi
41182 fi
41183
41184
41185
41186
41187
41188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41189 $as_echo_n "checking for hypotf declaration... " >&6; }
41190 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41191 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41192 $as_echo_n "(cached) " >&6
41193 else
41194
41195
41196 ac_ext=cpp
41197 ac_cpp='$CXXCPP $CPPFLAGS'
41198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41201
41202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41203 /* end confdefs.h. */
41204 #include <math.h>
41205 int
41206 main ()
41207 {
41208 hypotf(0, 0);
41209 ;
41210 return 0;
41211 }
41212 _ACEOF
41213 if ac_fn_cxx_try_compile "$LINENO"; then :
41214 glibcxx_cv_func_hypotf_use=yes
41215 else
41216 glibcxx_cv_func_hypotf_use=no
41217 fi
41218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41219 ac_ext=c
41220 ac_cpp='$CPP $CPPFLAGS'
41221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41224
41225
41226 fi
41227
41228 fi
41229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41230 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41231
41232 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41233 for ac_func in hypotf
41234 do :
41235 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41236 if test "x$ac_cv_func_hypotf" = x""yes; then :
41237 cat >>confdefs.h <<_ACEOF
41238 #define HAVE_HYPOTF 1
41239 _ACEOF
41240
41241 fi
41242 done
41243
41244 else
41245
41246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41247 $as_echo_n "checking for _hypotf declaration... " >&6; }
41248 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41249 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41250 $as_echo_n "(cached) " >&6
41251 else
41252
41253
41254 ac_ext=cpp
41255 ac_cpp='$CXXCPP $CPPFLAGS'
41256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41259
41260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41261 /* end confdefs.h. */
41262 #include <math.h>
41263 int
41264 main ()
41265 {
41266 _hypotf(0, 0);
41267 ;
41268 return 0;
41269 }
41270 _ACEOF
41271 if ac_fn_cxx_try_compile "$LINENO"; then :
41272 glibcxx_cv_func__hypotf_use=yes
41273 else
41274 glibcxx_cv_func__hypotf_use=no
41275 fi
41276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41277 ac_ext=c
41278 ac_cpp='$CPP $CPPFLAGS'
41279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41282
41283
41284 fi
41285
41286 fi
41287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41288 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41289
41290 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41291 for ac_func in _hypotf
41292 do :
41293 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41294 if test "x$ac_cv_func__hypotf" = x""yes; then :
41295 cat >>confdefs.h <<_ACEOF
41296 #define HAVE__HYPOTF 1
41297 _ACEOF
41298
41299 fi
41300 done
41301
41302 fi
41303 fi
41304
41305
41306
41307
41308
41309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41310 $as_echo_n "checking for ldexpf declaration... " >&6; }
41311 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41312 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41313 $as_echo_n "(cached) " >&6
41314 else
41315
41316
41317 ac_ext=cpp
41318 ac_cpp='$CXXCPP $CPPFLAGS'
41319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41322
41323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41324 /* end confdefs.h. */
41325 #include <math.h>
41326 int
41327 main ()
41328 {
41329 ldexpf(0, 0);
41330 ;
41331 return 0;
41332 }
41333 _ACEOF
41334 if ac_fn_cxx_try_compile "$LINENO"; then :
41335 glibcxx_cv_func_ldexpf_use=yes
41336 else
41337 glibcxx_cv_func_ldexpf_use=no
41338 fi
41339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41340 ac_ext=c
41341 ac_cpp='$CPP $CPPFLAGS'
41342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41345
41346
41347 fi
41348
41349 fi
41350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41351 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41352
41353 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41354 for ac_func in ldexpf
41355 do :
41356 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41357 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41358 cat >>confdefs.h <<_ACEOF
41359 #define HAVE_LDEXPF 1
41360 _ACEOF
41361
41362 fi
41363 done
41364
41365 else
41366
41367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41368 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41369 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41370 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41371 $as_echo_n "(cached) " >&6
41372 else
41373
41374
41375 ac_ext=cpp
41376 ac_cpp='$CXXCPP $CPPFLAGS'
41377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41380
41381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41382 /* end confdefs.h. */
41383 #include <math.h>
41384 int
41385 main ()
41386 {
41387 _ldexpf(0, 0);
41388 ;
41389 return 0;
41390 }
41391 _ACEOF
41392 if ac_fn_cxx_try_compile "$LINENO"; then :
41393 glibcxx_cv_func__ldexpf_use=yes
41394 else
41395 glibcxx_cv_func__ldexpf_use=no
41396 fi
41397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41398 ac_ext=c
41399 ac_cpp='$CPP $CPPFLAGS'
41400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41403
41404
41405 fi
41406
41407 fi
41408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41409 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41410
41411 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41412 for ac_func in _ldexpf
41413 do :
41414 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41415 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41416 cat >>confdefs.h <<_ACEOF
41417 #define HAVE__LDEXPF 1
41418 _ACEOF
41419
41420 fi
41421 done
41422
41423 fi
41424 fi
41425
41426
41427
41428
41429
41430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41431 $as_echo_n "checking for logf declaration... " >&6; }
41432 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41433 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41434 $as_echo_n "(cached) " >&6
41435 else
41436
41437
41438 ac_ext=cpp
41439 ac_cpp='$CXXCPP $CPPFLAGS'
41440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41443
41444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41445 /* end confdefs.h. */
41446 #include <math.h>
41447 #ifdef HAVE_IEEEFP_H
41448 #include <ieeefp.h>
41449 #endif
41450
41451 int
41452 main ()
41453 {
41454 logf(0);
41455 ;
41456 return 0;
41457 }
41458 _ACEOF
41459 if ac_fn_cxx_try_compile "$LINENO"; then :
41460 glibcxx_cv_func_logf_use=yes
41461 else
41462 glibcxx_cv_func_logf_use=no
41463 fi
41464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41465 ac_ext=c
41466 ac_cpp='$CPP $CPPFLAGS'
41467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41470
41471
41472 fi
41473
41474 fi
41475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41476 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41477
41478 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41479 for ac_func in logf
41480 do :
41481 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41482 if test "x$ac_cv_func_logf" = x""yes; then :
41483 cat >>confdefs.h <<_ACEOF
41484 #define HAVE_LOGF 1
41485 _ACEOF
41486
41487 fi
41488 done
41489
41490 else
41491
41492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41493 $as_echo_n "checking for _logf declaration... " >&6; }
41494 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41495 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41496 $as_echo_n "(cached) " >&6
41497 else
41498
41499
41500 ac_ext=cpp
41501 ac_cpp='$CXXCPP $CPPFLAGS'
41502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41505
41506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41507 /* end confdefs.h. */
41508 #include <math.h>
41509 #ifdef HAVE_IEEEFP_H
41510 #include <ieeefp.h>
41511 #endif
41512
41513 int
41514 main ()
41515 {
41516 _logf(0);
41517 ;
41518 return 0;
41519 }
41520 _ACEOF
41521 if ac_fn_cxx_try_compile "$LINENO"; then :
41522 glibcxx_cv_func__logf_use=yes
41523 else
41524 glibcxx_cv_func__logf_use=no
41525 fi
41526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41527 ac_ext=c
41528 ac_cpp='$CPP $CPPFLAGS'
41529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41532
41533
41534 fi
41535
41536 fi
41537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41538 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41539
41540 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41541 for ac_func in _logf
41542 do :
41543 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41544 if test "x$ac_cv_func__logf" = x""yes; then :
41545 cat >>confdefs.h <<_ACEOF
41546 #define HAVE__LOGF 1
41547 _ACEOF
41548
41549 fi
41550 done
41551
41552 fi
41553 fi
41554
41555
41556
41557
41558
41559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41560 $as_echo_n "checking for log10f declaration... " >&6; }
41561 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41562 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41563 $as_echo_n "(cached) " >&6
41564 else
41565
41566
41567 ac_ext=cpp
41568 ac_cpp='$CXXCPP $CPPFLAGS'
41569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41572
41573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41574 /* end confdefs.h. */
41575 #include <math.h>
41576 #ifdef HAVE_IEEEFP_H
41577 #include <ieeefp.h>
41578 #endif
41579
41580 int
41581 main ()
41582 {
41583 log10f(0);
41584 ;
41585 return 0;
41586 }
41587 _ACEOF
41588 if ac_fn_cxx_try_compile "$LINENO"; then :
41589 glibcxx_cv_func_log10f_use=yes
41590 else
41591 glibcxx_cv_func_log10f_use=no
41592 fi
41593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41594 ac_ext=c
41595 ac_cpp='$CPP $CPPFLAGS'
41596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41599
41600
41601 fi
41602
41603 fi
41604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41605 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41606
41607 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41608 for ac_func in log10f
41609 do :
41610 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41611 if test "x$ac_cv_func_log10f" = x""yes; then :
41612 cat >>confdefs.h <<_ACEOF
41613 #define HAVE_LOG10F 1
41614 _ACEOF
41615
41616 fi
41617 done
41618
41619 else
41620
41621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41622 $as_echo_n "checking for _log10f declaration... " >&6; }
41623 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41624 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41625 $as_echo_n "(cached) " >&6
41626 else
41627
41628
41629 ac_ext=cpp
41630 ac_cpp='$CXXCPP $CPPFLAGS'
41631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41634
41635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41636 /* end confdefs.h. */
41637 #include <math.h>
41638 #ifdef HAVE_IEEEFP_H
41639 #include <ieeefp.h>
41640 #endif
41641
41642 int
41643 main ()
41644 {
41645 _log10f(0);
41646 ;
41647 return 0;
41648 }
41649 _ACEOF
41650 if ac_fn_cxx_try_compile "$LINENO"; then :
41651 glibcxx_cv_func__log10f_use=yes
41652 else
41653 glibcxx_cv_func__log10f_use=no
41654 fi
41655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41656 ac_ext=c
41657 ac_cpp='$CPP $CPPFLAGS'
41658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41661
41662
41663 fi
41664
41665 fi
41666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41667 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41668
41669 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41670 for ac_func in _log10f
41671 do :
41672 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41673 if test "x$ac_cv_func__log10f" = x""yes; then :
41674 cat >>confdefs.h <<_ACEOF
41675 #define HAVE__LOG10F 1
41676 _ACEOF
41677
41678 fi
41679 done
41680
41681 fi
41682 fi
41683
41684
41685
41686
41687
41688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41689 $as_echo_n "checking for modff declaration... " >&6; }
41690 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41691 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41692 $as_echo_n "(cached) " >&6
41693 else
41694
41695
41696 ac_ext=cpp
41697 ac_cpp='$CXXCPP $CPPFLAGS'
41698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41701
41702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41703 /* end confdefs.h. */
41704 #include <math.h>
41705 int
41706 main ()
41707 {
41708 modff(0, 0);
41709 ;
41710 return 0;
41711 }
41712 _ACEOF
41713 if ac_fn_cxx_try_compile "$LINENO"; then :
41714 glibcxx_cv_func_modff_use=yes
41715 else
41716 glibcxx_cv_func_modff_use=no
41717 fi
41718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41719 ac_ext=c
41720 ac_cpp='$CPP $CPPFLAGS'
41721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41724
41725
41726 fi
41727
41728 fi
41729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41730 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41731
41732 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41733 for ac_func in modff
41734 do :
41735 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41736 if test "x$ac_cv_func_modff" = x""yes; then :
41737 cat >>confdefs.h <<_ACEOF
41738 #define HAVE_MODFF 1
41739 _ACEOF
41740
41741 fi
41742 done
41743
41744 else
41745
41746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41747 $as_echo_n "checking for _modff declaration... " >&6; }
41748 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41749 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41750 $as_echo_n "(cached) " >&6
41751 else
41752
41753
41754 ac_ext=cpp
41755 ac_cpp='$CXXCPP $CPPFLAGS'
41756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41759
41760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41761 /* end confdefs.h. */
41762 #include <math.h>
41763 int
41764 main ()
41765 {
41766 _modff(0, 0);
41767 ;
41768 return 0;
41769 }
41770 _ACEOF
41771 if ac_fn_cxx_try_compile "$LINENO"; then :
41772 glibcxx_cv_func__modff_use=yes
41773 else
41774 glibcxx_cv_func__modff_use=no
41775 fi
41776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41777 ac_ext=c
41778 ac_cpp='$CPP $CPPFLAGS'
41779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41782
41783
41784 fi
41785
41786 fi
41787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41788 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41789
41790 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41791 for ac_func in _modff
41792 do :
41793 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41794 if test "x$ac_cv_func__modff" = x""yes; then :
41795 cat >>confdefs.h <<_ACEOF
41796 #define HAVE__MODFF 1
41797 _ACEOF
41798
41799 fi
41800 done
41801
41802 fi
41803 fi
41804
41805
41806
41807
41808
41809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41810 $as_echo_n "checking for modf declaration... " >&6; }
41811 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41812 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41813 $as_echo_n "(cached) " >&6
41814 else
41815
41816
41817 ac_ext=cpp
41818 ac_cpp='$CXXCPP $CPPFLAGS'
41819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41822
41823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41824 /* end confdefs.h. */
41825 #include <math.h>
41826 int
41827 main ()
41828 {
41829 modf(0, 0);
41830 ;
41831 return 0;
41832 }
41833 _ACEOF
41834 if ac_fn_cxx_try_compile "$LINENO"; then :
41835 glibcxx_cv_func_modf_use=yes
41836 else
41837 glibcxx_cv_func_modf_use=no
41838 fi
41839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41840 ac_ext=c
41841 ac_cpp='$CPP $CPPFLAGS'
41842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41845
41846
41847 fi
41848
41849 fi
41850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41851 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41852
41853 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41854 for ac_func in modf
41855 do :
41856 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41857 if test "x$ac_cv_func_modf" = x""yes; then :
41858 cat >>confdefs.h <<_ACEOF
41859 #define HAVE_MODF 1
41860 _ACEOF
41861
41862 fi
41863 done
41864
41865 else
41866
41867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41868 $as_echo_n "checking for _modf declaration... " >&6; }
41869 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41870 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41871 $as_echo_n "(cached) " >&6
41872 else
41873
41874
41875 ac_ext=cpp
41876 ac_cpp='$CXXCPP $CPPFLAGS'
41877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41880
41881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41882 /* end confdefs.h. */
41883 #include <math.h>
41884 int
41885 main ()
41886 {
41887 _modf(0, 0);
41888 ;
41889 return 0;
41890 }
41891 _ACEOF
41892 if ac_fn_cxx_try_compile "$LINENO"; then :
41893 glibcxx_cv_func__modf_use=yes
41894 else
41895 glibcxx_cv_func__modf_use=no
41896 fi
41897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41898 ac_ext=c
41899 ac_cpp='$CPP $CPPFLAGS'
41900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41903
41904
41905 fi
41906
41907 fi
41908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41909 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41910
41911 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41912 for ac_func in _modf
41913 do :
41914 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41915 if test "x$ac_cv_func__modf" = x""yes; then :
41916 cat >>confdefs.h <<_ACEOF
41917 #define HAVE__MODF 1
41918 _ACEOF
41919
41920 fi
41921 done
41922
41923 fi
41924 fi
41925
41926
41927
41928
41929
41930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41931 $as_echo_n "checking for powf declaration... " >&6; }
41932 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41933 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41934 $as_echo_n "(cached) " >&6
41935 else
41936
41937
41938 ac_ext=cpp
41939 ac_cpp='$CXXCPP $CPPFLAGS'
41940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41943
41944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41945 /* end confdefs.h. */
41946 #include <math.h>
41947 int
41948 main ()
41949 {
41950 powf(0, 0);
41951 ;
41952 return 0;
41953 }
41954 _ACEOF
41955 if ac_fn_cxx_try_compile "$LINENO"; then :
41956 glibcxx_cv_func_powf_use=yes
41957 else
41958 glibcxx_cv_func_powf_use=no
41959 fi
41960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41961 ac_ext=c
41962 ac_cpp='$CPP $CPPFLAGS'
41963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41966
41967
41968 fi
41969
41970 fi
41971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41972 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41973
41974 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41975 for ac_func in powf
41976 do :
41977 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41978 if test "x$ac_cv_func_powf" = x""yes; then :
41979 cat >>confdefs.h <<_ACEOF
41980 #define HAVE_POWF 1
41981 _ACEOF
41982
41983 fi
41984 done
41985
41986 else
41987
41988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41989 $as_echo_n "checking for _powf declaration... " >&6; }
41990 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41991 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41992 $as_echo_n "(cached) " >&6
41993 else
41994
41995
41996 ac_ext=cpp
41997 ac_cpp='$CXXCPP $CPPFLAGS'
41998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42001
42002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42003 /* end confdefs.h. */
42004 #include <math.h>
42005 int
42006 main ()
42007 {
42008 _powf(0, 0);
42009 ;
42010 return 0;
42011 }
42012 _ACEOF
42013 if ac_fn_cxx_try_compile "$LINENO"; then :
42014 glibcxx_cv_func__powf_use=yes
42015 else
42016 glibcxx_cv_func__powf_use=no
42017 fi
42018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42019 ac_ext=c
42020 ac_cpp='$CPP $CPPFLAGS'
42021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42024
42025
42026 fi
42027
42028 fi
42029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42030 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42031
42032 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42033 for ac_func in _powf
42034 do :
42035 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42036 if test "x$ac_cv_func__powf" = x""yes; then :
42037 cat >>confdefs.h <<_ACEOF
42038 #define HAVE__POWF 1
42039 _ACEOF
42040
42041 fi
42042 done
42043
42044 fi
42045 fi
42046
42047
42048
42049
42050
42051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42052 $as_echo_n "checking for sqrtf declaration... " >&6; }
42053 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42054 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42055 $as_echo_n "(cached) " >&6
42056 else
42057
42058
42059 ac_ext=cpp
42060 ac_cpp='$CXXCPP $CPPFLAGS'
42061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42064
42065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42066 /* end confdefs.h. */
42067 #include <math.h>
42068 #ifdef HAVE_IEEEFP_H
42069 #include <ieeefp.h>
42070 #endif
42071
42072 int
42073 main ()
42074 {
42075 sqrtf(0);
42076 ;
42077 return 0;
42078 }
42079 _ACEOF
42080 if ac_fn_cxx_try_compile "$LINENO"; then :
42081 glibcxx_cv_func_sqrtf_use=yes
42082 else
42083 glibcxx_cv_func_sqrtf_use=no
42084 fi
42085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42086 ac_ext=c
42087 ac_cpp='$CPP $CPPFLAGS'
42088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42091
42092
42093 fi
42094
42095 fi
42096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42097 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42098
42099 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42100 for ac_func in sqrtf
42101 do :
42102 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42103 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42104 cat >>confdefs.h <<_ACEOF
42105 #define HAVE_SQRTF 1
42106 _ACEOF
42107
42108 fi
42109 done
42110
42111 else
42112
42113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42114 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42115 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42116 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42117 $as_echo_n "(cached) " >&6
42118 else
42119
42120
42121 ac_ext=cpp
42122 ac_cpp='$CXXCPP $CPPFLAGS'
42123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42126
42127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42128 /* end confdefs.h. */
42129 #include <math.h>
42130 #ifdef HAVE_IEEEFP_H
42131 #include <ieeefp.h>
42132 #endif
42133
42134 int
42135 main ()
42136 {
42137 _sqrtf(0);
42138 ;
42139 return 0;
42140 }
42141 _ACEOF
42142 if ac_fn_cxx_try_compile "$LINENO"; then :
42143 glibcxx_cv_func__sqrtf_use=yes
42144 else
42145 glibcxx_cv_func__sqrtf_use=no
42146 fi
42147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42148 ac_ext=c
42149 ac_cpp='$CPP $CPPFLAGS'
42150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42153
42154
42155 fi
42156
42157 fi
42158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42159 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42160
42161 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42162 for ac_func in _sqrtf
42163 do :
42164 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42165 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42166 cat >>confdefs.h <<_ACEOF
42167 #define HAVE__SQRTF 1
42168 _ACEOF
42169
42170 fi
42171 done
42172
42173 fi
42174 fi
42175
42176
42177
42178
42179
42180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42181 $as_echo_n "checking for sincosf declaration... " >&6; }
42182 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42183 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42184 $as_echo_n "(cached) " >&6
42185 else
42186
42187
42188 ac_ext=cpp
42189 ac_cpp='$CXXCPP $CPPFLAGS'
42190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42193
42194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42195 /* end confdefs.h. */
42196 #include <math.h>
42197 int
42198 main ()
42199 {
42200 sincosf(0, 0, 0);
42201 ;
42202 return 0;
42203 }
42204 _ACEOF
42205 if ac_fn_cxx_try_compile "$LINENO"; then :
42206 glibcxx_cv_func_sincosf_use=yes
42207 else
42208 glibcxx_cv_func_sincosf_use=no
42209 fi
42210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42211 ac_ext=c
42212 ac_cpp='$CPP $CPPFLAGS'
42213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42216
42217
42218 fi
42219
42220 fi
42221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42222 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42223
42224 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42225 for ac_func in sincosf
42226 do :
42227 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42228 if test "x$ac_cv_func_sincosf" = x""yes; then :
42229 cat >>confdefs.h <<_ACEOF
42230 #define HAVE_SINCOSF 1
42231 _ACEOF
42232
42233 fi
42234 done
42235
42236 else
42237
42238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42239 $as_echo_n "checking for _sincosf declaration... " >&6; }
42240 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42241 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42242 $as_echo_n "(cached) " >&6
42243 else
42244
42245
42246 ac_ext=cpp
42247 ac_cpp='$CXXCPP $CPPFLAGS'
42248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42251
42252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42253 /* end confdefs.h. */
42254 #include <math.h>
42255 int
42256 main ()
42257 {
42258 _sincosf(0, 0, 0);
42259 ;
42260 return 0;
42261 }
42262 _ACEOF
42263 if ac_fn_cxx_try_compile "$LINENO"; then :
42264 glibcxx_cv_func__sincosf_use=yes
42265 else
42266 glibcxx_cv_func__sincosf_use=no
42267 fi
42268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42269 ac_ext=c
42270 ac_cpp='$CPP $CPPFLAGS'
42271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42274
42275
42276 fi
42277
42278 fi
42279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42280 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42281
42282 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42283 for ac_func in _sincosf
42284 do :
42285 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42286 if test "x$ac_cv_func__sincosf" = x""yes; then :
42287 cat >>confdefs.h <<_ACEOF
42288 #define HAVE__SINCOSF 1
42289 _ACEOF
42290
42291 fi
42292 done
42293
42294 fi
42295 fi
42296
42297
42298
42299
42300
42301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42302 $as_echo_n "checking for finitef declaration... " >&6; }
42303 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42304 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42305 $as_echo_n "(cached) " >&6
42306 else
42307
42308
42309 ac_ext=cpp
42310 ac_cpp='$CXXCPP $CPPFLAGS'
42311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42314
42315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42316 /* end confdefs.h. */
42317 #include <math.h>
42318 #ifdef HAVE_IEEEFP_H
42319 #include <ieeefp.h>
42320 #endif
42321
42322 int
42323 main ()
42324 {
42325 finitef(0);
42326 ;
42327 return 0;
42328 }
42329 _ACEOF
42330 if ac_fn_cxx_try_compile "$LINENO"; then :
42331 glibcxx_cv_func_finitef_use=yes
42332 else
42333 glibcxx_cv_func_finitef_use=no
42334 fi
42335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42336 ac_ext=c
42337 ac_cpp='$CPP $CPPFLAGS'
42338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42341
42342
42343 fi
42344
42345 fi
42346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42347 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42348
42349 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42350 for ac_func in finitef
42351 do :
42352 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42353 if test "x$ac_cv_func_finitef" = x""yes; then :
42354 cat >>confdefs.h <<_ACEOF
42355 #define HAVE_FINITEF 1
42356 _ACEOF
42357
42358 fi
42359 done
42360
42361 else
42362
42363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42364 $as_echo_n "checking for _finitef declaration... " >&6; }
42365 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42366 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42367 $as_echo_n "(cached) " >&6
42368 else
42369
42370
42371 ac_ext=cpp
42372 ac_cpp='$CXXCPP $CPPFLAGS'
42373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42376
42377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42378 /* end confdefs.h. */
42379 #include <math.h>
42380 #ifdef HAVE_IEEEFP_H
42381 #include <ieeefp.h>
42382 #endif
42383
42384 int
42385 main ()
42386 {
42387 _finitef(0);
42388 ;
42389 return 0;
42390 }
42391 _ACEOF
42392 if ac_fn_cxx_try_compile "$LINENO"; then :
42393 glibcxx_cv_func__finitef_use=yes
42394 else
42395 glibcxx_cv_func__finitef_use=no
42396 fi
42397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42398 ac_ext=c
42399 ac_cpp='$CPP $CPPFLAGS'
42400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42403
42404
42405 fi
42406
42407 fi
42408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42409 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42410
42411 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42412 for ac_func in _finitef
42413 do :
42414 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42415 if test "x$ac_cv_func__finitef" = x""yes; then :
42416 cat >>confdefs.h <<_ACEOF
42417 #define HAVE__FINITEF 1
42418 _ACEOF
42419
42420 fi
42421 done
42422
42423 fi
42424 fi
42425
42426
42427
42428
42429
42430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42431 $as_echo_n "checking for long double trig functions... " >&6; }
42432 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42433 $as_echo_n "(cached) " >&6
42434 else
42435
42436
42437 ac_ext=cpp
42438 ac_cpp='$CXXCPP $CPPFLAGS'
42439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42442
42443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42444 /* end confdefs.h. */
42445 #include <math.h>
42446 int
42447 main ()
42448 {
42449 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42450 ;
42451 return 0;
42452 }
42453 _ACEOF
42454 if ac_fn_cxx_try_compile "$LINENO"; then :
42455 glibcxx_cv_func_long_double_trig_use=yes
42456 else
42457 glibcxx_cv_func_long_double_trig_use=no
42458 fi
42459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42460 ac_ext=c
42461 ac_cpp='$CPP $CPPFLAGS'
42462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42465
42466 fi
42467
42468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42469 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42470 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42471 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42472 do :
42473 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42474 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42475 eval as_val=\$$as_ac_var
42476 if test "x$as_val" = x""yes; then :
42477 cat >>confdefs.h <<_ACEOF
42478 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42479 _ACEOF
42480
42481 fi
42482 done
42483
42484 else
42485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42486 $as_echo_n "checking for _long double trig functions... " >&6; }
42487 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42488 $as_echo_n "(cached) " >&6
42489 else
42490
42491
42492 ac_ext=cpp
42493 ac_cpp='$CXXCPP $CPPFLAGS'
42494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42497
42498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42499 /* end confdefs.h. */
42500 #include <math.h>
42501 int
42502 main ()
42503 {
42504 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42505 ;
42506 return 0;
42507 }
42508 _ACEOF
42509 if ac_fn_cxx_try_compile "$LINENO"; then :
42510 glibcxx_cv_func__long_double_trig_use=yes
42511 else
42512 glibcxx_cv_func__long_double_trig_use=no
42513 fi
42514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42515 ac_ext=c
42516 ac_cpp='$CPP $CPPFLAGS'
42517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42520
42521 fi
42522
42523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42524 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42525 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42526 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42527 do :
42528 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42529 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42530 eval as_val=\$$as_ac_var
42531 if test "x$as_val" = x""yes; then :
42532 cat >>confdefs.h <<_ACEOF
42533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42534 _ACEOF
42535
42536 fi
42537 done
42538
42539 fi
42540 fi
42541
42542
42543
42544
42545
42546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42547 $as_echo_n "checking for long double round functions... " >&6; }
42548 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42549 $as_echo_n "(cached) " >&6
42550 else
42551
42552
42553 ac_ext=cpp
42554 ac_cpp='$CXXCPP $CPPFLAGS'
42555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42558
42559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42560 /* end confdefs.h. */
42561 #include <math.h>
42562 int
42563 main ()
42564 {
42565 ceill (0); floorl (0);
42566 ;
42567 return 0;
42568 }
42569 _ACEOF
42570 if ac_fn_cxx_try_compile "$LINENO"; then :
42571 glibcxx_cv_func_long_double_round_use=yes
42572 else
42573 glibcxx_cv_func_long_double_round_use=no
42574 fi
42575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42576 ac_ext=c
42577 ac_cpp='$CPP $CPPFLAGS'
42578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42581
42582 fi
42583
42584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42585 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42586 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42587 for ac_func in ceill floorl
42588 do :
42589 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42590 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42591 eval as_val=\$$as_ac_var
42592 if test "x$as_val" = x""yes; then :
42593 cat >>confdefs.h <<_ACEOF
42594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42595 _ACEOF
42596
42597 fi
42598 done
42599
42600 else
42601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42602 $as_echo_n "checking for _long double round functions... " >&6; }
42603 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42604 $as_echo_n "(cached) " >&6
42605 else
42606
42607
42608 ac_ext=cpp
42609 ac_cpp='$CXXCPP $CPPFLAGS'
42610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42613
42614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42615 /* end confdefs.h. */
42616 #include <math.h>
42617 int
42618 main ()
42619 {
42620 _ceill (0); _floorl (0);
42621 ;
42622 return 0;
42623 }
42624 _ACEOF
42625 if ac_fn_cxx_try_compile "$LINENO"; then :
42626 glibcxx_cv_func__long_double_round_use=yes
42627 else
42628 glibcxx_cv_func__long_double_round_use=no
42629 fi
42630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42631 ac_ext=c
42632 ac_cpp='$CPP $CPPFLAGS'
42633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42636
42637 fi
42638
42639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42640 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42641 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42642 for ac_func in _ceill _floorl
42643 do :
42644 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42645 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42646 eval as_val=\$$as_ac_var
42647 if test "x$as_val" = x""yes; then :
42648 cat >>confdefs.h <<_ACEOF
42649 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42650 _ACEOF
42651
42652 fi
42653 done
42654
42655 fi
42656 fi
42657
42658
42659
42660
42661
42662
42663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42664 $as_echo_n "checking for isnanl declaration... " >&6; }
42665 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42666 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42667 $as_echo_n "(cached) " >&6
42668 else
42669
42670
42671 ac_ext=cpp
42672 ac_cpp='$CXXCPP $CPPFLAGS'
42673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42676
42677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42678 /* end confdefs.h. */
42679 #include <math.h>
42680 #ifdef HAVE_IEEEFP_H
42681 #include <ieeefp.h>
42682 #endif
42683
42684 int
42685 main ()
42686 {
42687 isnanl(0);
42688 ;
42689 return 0;
42690 }
42691 _ACEOF
42692 if ac_fn_cxx_try_compile "$LINENO"; then :
42693 glibcxx_cv_func_isnanl_use=yes
42694 else
42695 glibcxx_cv_func_isnanl_use=no
42696 fi
42697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42698 ac_ext=c
42699 ac_cpp='$CPP $CPPFLAGS'
42700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42703
42704
42705 fi
42706
42707 fi
42708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42709 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42710
42711 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42712 for ac_func in isnanl
42713 do :
42714 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42715 if test "x$ac_cv_func_isnanl" = x""yes; then :
42716 cat >>confdefs.h <<_ACEOF
42717 #define HAVE_ISNANL 1
42718 _ACEOF
42719
42720 fi
42721 done
42722
42723 else
42724
42725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42726 $as_echo_n "checking for _isnanl declaration... " >&6; }
42727 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42728 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42729 $as_echo_n "(cached) " >&6
42730 else
42731
42732
42733 ac_ext=cpp
42734 ac_cpp='$CXXCPP $CPPFLAGS'
42735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42738
42739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42740 /* end confdefs.h. */
42741 #include <math.h>
42742 #ifdef HAVE_IEEEFP_H
42743 #include <ieeefp.h>
42744 #endif
42745
42746 int
42747 main ()
42748 {
42749 _isnanl(0);
42750 ;
42751 return 0;
42752 }
42753 _ACEOF
42754 if ac_fn_cxx_try_compile "$LINENO"; then :
42755 glibcxx_cv_func__isnanl_use=yes
42756 else
42757 glibcxx_cv_func__isnanl_use=no
42758 fi
42759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42760 ac_ext=c
42761 ac_cpp='$CPP $CPPFLAGS'
42762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42765
42766
42767 fi
42768
42769 fi
42770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42771 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42772
42773 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42774 for ac_func in _isnanl
42775 do :
42776 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42777 if test "x$ac_cv_func__isnanl" = x""yes; then :
42778 cat >>confdefs.h <<_ACEOF
42779 #define HAVE__ISNANL 1
42780 _ACEOF
42781
42782 fi
42783 done
42784
42785 fi
42786 fi
42787
42788
42789
42790
42791
42792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42793 $as_echo_n "checking for isinfl declaration... " >&6; }
42794 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42795 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42796 $as_echo_n "(cached) " >&6
42797 else
42798
42799
42800 ac_ext=cpp
42801 ac_cpp='$CXXCPP $CPPFLAGS'
42802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42805
42806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42807 /* end confdefs.h. */
42808 #include <math.h>
42809 #ifdef HAVE_IEEEFP_H
42810 #include <ieeefp.h>
42811 #endif
42812
42813 int
42814 main ()
42815 {
42816 isinfl(0);
42817 ;
42818 return 0;
42819 }
42820 _ACEOF
42821 if ac_fn_cxx_try_compile "$LINENO"; then :
42822 glibcxx_cv_func_isinfl_use=yes
42823 else
42824 glibcxx_cv_func_isinfl_use=no
42825 fi
42826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42827 ac_ext=c
42828 ac_cpp='$CPP $CPPFLAGS'
42829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42832
42833
42834 fi
42835
42836 fi
42837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42838 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42839
42840 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42841 for ac_func in isinfl
42842 do :
42843 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42844 if test "x$ac_cv_func_isinfl" = x""yes; then :
42845 cat >>confdefs.h <<_ACEOF
42846 #define HAVE_ISINFL 1
42847 _ACEOF
42848
42849 fi
42850 done
42851
42852 else
42853
42854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42855 $as_echo_n "checking for _isinfl declaration... " >&6; }
42856 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42857 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42858 $as_echo_n "(cached) " >&6
42859 else
42860
42861
42862 ac_ext=cpp
42863 ac_cpp='$CXXCPP $CPPFLAGS'
42864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42867
42868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42869 /* end confdefs.h. */
42870 #include <math.h>
42871 #ifdef HAVE_IEEEFP_H
42872 #include <ieeefp.h>
42873 #endif
42874
42875 int
42876 main ()
42877 {
42878 _isinfl(0);
42879 ;
42880 return 0;
42881 }
42882 _ACEOF
42883 if ac_fn_cxx_try_compile "$LINENO"; then :
42884 glibcxx_cv_func__isinfl_use=yes
42885 else
42886 glibcxx_cv_func__isinfl_use=no
42887 fi
42888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42889 ac_ext=c
42890 ac_cpp='$CPP $CPPFLAGS'
42891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42894
42895
42896 fi
42897
42898 fi
42899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42900 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42901
42902 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42903 for ac_func in _isinfl
42904 do :
42905 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42906 if test "x$ac_cv_func__isinfl" = x""yes; then :
42907 cat >>confdefs.h <<_ACEOF
42908 #define HAVE__ISINFL 1
42909 _ACEOF
42910
42911 fi
42912 done
42913
42914 fi
42915 fi
42916
42917
42918
42919
42920
42921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42922 $as_echo_n "checking for atan2l declaration... " >&6; }
42923 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42924 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42925 $as_echo_n "(cached) " >&6
42926 else
42927
42928
42929 ac_ext=cpp
42930 ac_cpp='$CXXCPP $CPPFLAGS'
42931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42934
42935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42936 /* end confdefs.h. */
42937 #include <math.h>
42938 int
42939 main ()
42940 {
42941 atan2l(0, 0);
42942 ;
42943 return 0;
42944 }
42945 _ACEOF
42946 if ac_fn_cxx_try_compile "$LINENO"; then :
42947 glibcxx_cv_func_atan2l_use=yes
42948 else
42949 glibcxx_cv_func_atan2l_use=no
42950 fi
42951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42952 ac_ext=c
42953 ac_cpp='$CPP $CPPFLAGS'
42954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42957
42958
42959 fi
42960
42961 fi
42962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42963 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42964
42965 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42966 for ac_func in atan2l
42967 do :
42968 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42969 if test "x$ac_cv_func_atan2l" = x""yes; then :
42970 cat >>confdefs.h <<_ACEOF
42971 #define HAVE_ATAN2L 1
42972 _ACEOF
42973
42974 fi
42975 done
42976
42977 else
42978
42979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42980 $as_echo_n "checking for _atan2l declaration... " >&6; }
42981 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42982 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42983 $as_echo_n "(cached) " >&6
42984 else
42985
42986
42987 ac_ext=cpp
42988 ac_cpp='$CXXCPP $CPPFLAGS'
42989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42992
42993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42994 /* end confdefs.h. */
42995 #include <math.h>
42996 int
42997 main ()
42998 {
42999 _atan2l(0, 0);
43000 ;
43001 return 0;
43002 }
43003 _ACEOF
43004 if ac_fn_cxx_try_compile "$LINENO"; then :
43005 glibcxx_cv_func__atan2l_use=yes
43006 else
43007 glibcxx_cv_func__atan2l_use=no
43008 fi
43009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43010 ac_ext=c
43011 ac_cpp='$CPP $CPPFLAGS'
43012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43015
43016
43017 fi
43018
43019 fi
43020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43021 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43022
43023 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43024 for ac_func in _atan2l
43025 do :
43026 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43027 if test "x$ac_cv_func__atan2l" = x""yes; then :
43028 cat >>confdefs.h <<_ACEOF
43029 #define HAVE__ATAN2L 1
43030 _ACEOF
43031
43032 fi
43033 done
43034
43035 fi
43036 fi
43037
43038
43039
43040
43041
43042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43043 $as_echo_n "checking for expl declaration... " >&6; }
43044 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43045 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43046 $as_echo_n "(cached) " >&6
43047 else
43048
43049
43050 ac_ext=cpp
43051 ac_cpp='$CXXCPP $CPPFLAGS'
43052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43055
43056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43057 /* end confdefs.h. */
43058 #include <math.h>
43059 #ifdef HAVE_IEEEFP_H
43060 #include <ieeefp.h>
43061 #endif
43062
43063 int
43064 main ()
43065 {
43066 expl(0);
43067 ;
43068 return 0;
43069 }
43070 _ACEOF
43071 if ac_fn_cxx_try_compile "$LINENO"; then :
43072 glibcxx_cv_func_expl_use=yes
43073 else
43074 glibcxx_cv_func_expl_use=no
43075 fi
43076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43077 ac_ext=c
43078 ac_cpp='$CPP $CPPFLAGS'
43079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43082
43083
43084 fi
43085
43086 fi
43087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43088 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43089
43090 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43091 for ac_func in expl
43092 do :
43093 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43094 if test "x$ac_cv_func_expl" = x""yes; then :
43095 cat >>confdefs.h <<_ACEOF
43096 #define HAVE_EXPL 1
43097 _ACEOF
43098
43099 fi
43100 done
43101
43102 else
43103
43104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43105 $as_echo_n "checking for _expl declaration... " >&6; }
43106 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43107 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43108 $as_echo_n "(cached) " >&6
43109 else
43110
43111
43112 ac_ext=cpp
43113 ac_cpp='$CXXCPP $CPPFLAGS'
43114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43117
43118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43119 /* end confdefs.h. */
43120 #include <math.h>
43121 #ifdef HAVE_IEEEFP_H
43122 #include <ieeefp.h>
43123 #endif
43124
43125 int
43126 main ()
43127 {
43128 _expl(0);
43129 ;
43130 return 0;
43131 }
43132 _ACEOF
43133 if ac_fn_cxx_try_compile "$LINENO"; then :
43134 glibcxx_cv_func__expl_use=yes
43135 else
43136 glibcxx_cv_func__expl_use=no
43137 fi
43138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43139 ac_ext=c
43140 ac_cpp='$CPP $CPPFLAGS'
43141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43144
43145
43146 fi
43147
43148 fi
43149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43150 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43151
43152 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43153 for ac_func in _expl
43154 do :
43155 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43156 if test "x$ac_cv_func__expl" = x""yes; then :
43157 cat >>confdefs.h <<_ACEOF
43158 #define HAVE__EXPL 1
43159 _ACEOF
43160
43161 fi
43162 done
43163
43164 fi
43165 fi
43166
43167
43168
43169
43170
43171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43172 $as_echo_n "checking for fabsl declaration... " >&6; }
43173 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43174 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43175 $as_echo_n "(cached) " >&6
43176 else
43177
43178
43179 ac_ext=cpp
43180 ac_cpp='$CXXCPP $CPPFLAGS'
43181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43184
43185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43186 /* end confdefs.h. */
43187 #include <math.h>
43188 #ifdef HAVE_IEEEFP_H
43189 #include <ieeefp.h>
43190 #endif
43191
43192 int
43193 main ()
43194 {
43195 fabsl(0);
43196 ;
43197 return 0;
43198 }
43199 _ACEOF
43200 if ac_fn_cxx_try_compile "$LINENO"; then :
43201 glibcxx_cv_func_fabsl_use=yes
43202 else
43203 glibcxx_cv_func_fabsl_use=no
43204 fi
43205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43206 ac_ext=c
43207 ac_cpp='$CPP $CPPFLAGS'
43208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43211
43212
43213 fi
43214
43215 fi
43216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43217 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43218
43219 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43220 for ac_func in fabsl
43221 do :
43222 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43223 if test "x$ac_cv_func_fabsl" = x""yes; then :
43224 cat >>confdefs.h <<_ACEOF
43225 #define HAVE_FABSL 1
43226 _ACEOF
43227
43228 fi
43229 done
43230
43231 else
43232
43233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43234 $as_echo_n "checking for _fabsl declaration... " >&6; }
43235 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43236 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43237 $as_echo_n "(cached) " >&6
43238 else
43239
43240
43241 ac_ext=cpp
43242 ac_cpp='$CXXCPP $CPPFLAGS'
43243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43246
43247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43248 /* end confdefs.h. */
43249 #include <math.h>
43250 #ifdef HAVE_IEEEFP_H
43251 #include <ieeefp.h>
43252 #endif
43253
43254 int
43255 main ()
43256 {
43257 _fabsl(0);
43258 ;
43259 return 0;
43260 }
43261 _ACEOF
43262 if ac_fn_cxx_try_compile "$LINENO"; then :
43263 glibcxx_cv_func__fabsl_use=yes
43264 else
43265 glibcxx_cv_func__fabsl_use=no
43266 fi
43267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43268 ac_ext=c
43269 ac_cpp='$CPP $CPPFLAGS'
43270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43273
43274
43275 fi
43276
43277 fi
43278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43279 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43280
43281 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43282 for ac_func in _fabsl
43283 do :
43284 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43285 if test "x$ac_cv_func__fabsl" = x""yes; then :
43286 cat >>confdefs.h <<_ACEOF
43287 #define HAVE__FABSL 1
43288 _ACEOF
43289
43290 fi
43291 done
43292
43293 fi
43294 fi
43295
43296
43297
43298
43299
43300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43301 $as_echo_n "checking for fmodl declaration... " >&6; }
43302 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43303 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43304 $as_echo_n "(cached) " >&6
43305 else
43306
43307
43308 ac_ext=cpp
43309 ac_cpp='$CXXCPP $CPPFLAGS'
43310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43313
43314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43315 /* end confdefs.h. */
43316 #include <math.h>
43317 int
43318 main ()
43319 {
43320 fmodl(0, 0);
43321 ;
43322 return 0;
43323 }
43324 _ACEOF
43325 if ac_fn_cxx_try_compile "$LINENO"; then :
43326 glibcxx_cv_func_fmodl_use=yes
43327 else
43328 glibcxx_cv_func_fmodl_use=no
43329 fi
43330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43331 ac_ext=c
43332 ac_cpp='$CPP $CPPFLAGS'
43333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43336
43337
43338 fi
43339
43340 fi
43341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43342 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43343
43344 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43345 for ac_func in fmodl
43346 do :
43347 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43348 if test "x$ac_cv_func_fmodl" = x""yes; then :
43349 cat >>confdefs.h <<_ACEOF
43350 #define HAVE_FMODL 1
43351 _ACEOF
43352
43353 fi
43354 done
43355
43356 else
43357
43358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43359 $as_echo_n "checking for _fmodl declaration... " >&6; }
43360 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43361 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43362 $as_echo_n "(cached) " >&6
43363 else
43364
43365
43366 ac_ext=cpp
43367 ac_cpp='$CXXCPP $CPPFLAGS'
43368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43371
43372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43373 /* end confdefs.h. */
43374 #include <math.h>
43375 int
43376 main ()
43377 {
43378 _fmodl(0, 0);
43379 ;
43380 return 0;
43381 }
43382 _ACEOF
43383 if ac_fn_cxx_try_compile "$LINENO"; then :
43384 glibcxx_cv_func__fmodl_use=yes
43385 else
43386 glibcxx_cv_func__fmodl_use=no
43387 fi
43388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43389 ac_ext=c
43390 ac_cpp='$CPP $CPPFLAGS'
43391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43394
43395
43396 fi
43397
43398 fi
43399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43400 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43401
43402 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43403 for ac_func in _fmodl
43404 do :
43405 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43406 if test "x$ac_cv_func__fmodl" = x""yes; then :
43407 cat >>confdefs.h <<_ACEOF
43408 #define HAVE__FMODL 1
43409 _ACEOF
43410
43411 fi
43412 done
43413
43414 fi
43415 fi
43416
43417
43418
43419
43420
43421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43422 $as_echo_n "checking for frexpl declaration... " >&6; }
43423 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43424 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43425 $as_echo_n "(cached) " >&6
43426 else
43427
43428
43429 ac_ext=cpp
43430 ac_cpp='$CXXCPP $CPPFLAGS'
43431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43434
43435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43436 /* end confdefs.h. */
43437 #include <math.h>
43438 int
43439 main ()
43440 {
43441 frexpl(0, 0);
43442 ;
43443 return 0;
43444 }
43445 _ACEOF
43446 if ac_fn_cxx_try_compile "$LINENO"; then :
43447 glibcxx_cv_func_frexpl_use=yes
43448 else
43449 glibcxx_cv_func_frexpl_use=no
43450 fi
43451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43452 ac_ext=c
43453 ac_cpp='$CPP $CPPFLAGS'
43454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43457
43458
43459 fi
43460
43461 fi
43462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43463 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43464
43465 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43466 for ac_func in frexpl
43467 do :
43468 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43469 if test "x$ac_cv_func_frexpl" = x""yes; then :
43470 cat >>confdefs.h <<_ACEOF
43471 #define HAVE_FREXPL 1
43472 _ACEOF
43473
43474 fi
43475 done
43476
43477 else
43478
43479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43480 $as_echo_n "checking for _frexpl declaration... " >&6; }
43481 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43482 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43483 $as_echo_n "(cached) " >&6
43484 else
43485
43486
43487 ac_ext=cpp
43488 ac_cpp='$CXXCPP $CPPFLAGS'
43489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43492
43493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43494 /* end confdefs.h. */
43495 #include <math.h>
43496 int
43497 main ()
43498 {
43499 _frexpl(0, 0);
43500 ;
43501 return 0;
43502 }
43503 _ACEOF
43504 if ac_fn_cxx_try_compile "$LINENO"; then :
43505 glibcxx_cv_func__frexpl_use=yes
43506 else
43507 glibcxx_cv_func__frexpl_use=no
43508 fi
43509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43510 ac_ext=c
43511 ac_cpp='$CPP $CPPFLAGS'
43512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43515
43516
43517 fi
43518
43519 fi
43520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43521 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43522
43523 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43524 for ac_func in _frexpl
43525 do :
43526 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43527 if test "x$ac_cv_func__frexpl" = x""yes; then :
43528 cat >>confdefs.h <<_ACEOF
43529 #define HAVE__FREXPL 1
43530 _ACEOF
43531
43532 fi
43533 done
43534
43535 fi
43536 fi
43537
43538
43539
43540
43541
43542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43543 $as_echo_n "checking for hypotl declaration... " >&6; }
43544 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43545 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43546 $as_echo_n "(cached) " >&6
43547 else
43548
43549
43550 ac_ext=cpp
43551 ac_cpp='$CXXCPP $CPPFLAGS'
43552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43555
43556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43557 /* end confdefs.h. */
43558 #include <math.h>
43559 int
43560 main ()
43561 {
43562 hypotl(0, 0);
43563 ;
43564 return 0;
43565 }
43566 _ACEOF
43567 if ac_fn_cxx_try_compile "$LINENO"; then :
43568 glibcxx_cv_func_hypotl_use=yes
43569 else
43570 glibcxx_cv_func_hypotl_use=no
43571 fi
43572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43573 ac_ext=c
43574 ac_cpp='$CPP $CPPFLAGS'
43575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43578
43579
43580 fi
43581
43582 fi
43583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43584 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43585
43586 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43587 for ac_func in hypotl
43588 do :
43589 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43590 if test "x$ac_cv_func_hypotl" = x""yes; then :
43591 cat >>confdefs.h <<_ACEOF
43592 #define HAVE_HYPOTL 1
43593 _ACEOF
43594
43595 fi
43596 done
43597
43598 else
43599
43600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43601 $as_echo_n "checking for _hypotl declaration... " >&6; }
43602 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43603 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43604 $as_echo_n "(cached) " >&6
43605 else
43606
43607
43608 ac_ext=cpp
43609 ac_cpp='$CXXCPP $CPPFLAGS'
43610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43613
43614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43615 /* end confdefs.h. */
43616 #include <math.h>
43617 int
43618 main ()
43619 {
43620 _hypotl(0, 0);
43621 ;
43622 return 0;
43623 }
43624 _ACEOF
43625 if ac_fn_cxx_try_compile "$LINENO"; then :
43626 glibcxx_cv_func__hypotl_use=yes
43627 else
43628 glibcxx_cv_func__hypotl_use=no
43629 fi
43630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43631 ac_ext=c
43632 ac_cpp='$CPP $CPPFLAGS'
43633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43636
43637
43638 fi
43639
43640 fi
43641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43642 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43643
43644 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43645 for ac_func in _hypotl
43646 do :
43647 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43648 if test "x$ac_cv_func__hypotl" = x""yes; then :
43649 cat >>confdefs.h <<_ACEOF
43650 #define HAVE__HYPOTL 1
43651 _ACEOF
43652
43653 fi
43654 done
43655
43656 fi
43657 fi
43658
43659
43660
43661
43662
43663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43664 $as_echo_n "checking for ldexpl declaration... " >&6; }
43665 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43666 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43667 $as_echo_n "(cached) " >&6
43668 else
43669
43670
43671 ac_ext=cpp
43672 ac_cpp='$CXXCPP $CPPFLAGS'
43673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43676
43677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43678 /* end confdefs.h. */
43679 #include <math.h>
43680 int
43681 main ()
43682 {
43683 ldexpl(0, 0);
43684 ;
43685 return 0;
43686 }
43687 _ACEOF
43688 if ac_fn_cxx_try_compile "$LINENO"; then :
43689 glibcxx_cv_func_ldexpl_use=yes
43690 else
43691 glibcxx_cv_func_ldexpl_use=no
43692 fi
43693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43694 ac_ext=c
43695 ac_cpp='$CPP $CPPFLAGS'
43696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43699
43700
43701 fi
43702
43703 fi
43704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43705 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43706
43707 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43708 for ac_func in ldexpl
43709 do :
43710 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43711 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43712 cat >>confdefs.h <<_ACEOF
43713 #define HAVE_LDEXPL 1
43714 _ACEOF
43715
43716 fi
43717 done
43718
43719 else
43720
43721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43722 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43723 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43724 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43725 $as_echo_n "(cached) " >&6
43726 else
43727
43728
43729 ac_ext=cpp
43730 ac_cpp='$CXXCPP $CPPFLAGS'
43731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43734
43735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43736 /* end confdefs.h. */
43737 #include <math.h>
43738 int
43739 main ()
43740 {
43741 _ldexpl(0, 0);
43742 ;
43743 return 0;
43744 }
43745 _ACEOF
43746 if ac_fn_cxx_try_compile "$LINENO"; then :
43747 glibcxx_cv_func__ldexpl_use=yes
43748 else
43749 glibcxx_cv_func__ldexpl_use=no
43750 fi
43751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43752 ac_ext=c
43753 ac_cpp='$CPP $CPPFLAGS'
43754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43757
43758
43759 fi
43760
43761 fi
43762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43763 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43764
43765 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43766 for ac_func in _ldexpl
43767 do :
43768 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43769 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43770 cat >>confdefs.h <<_ACEOF
43771 #define HAVE__LDEXPL 1
43772 _ACEOF
43773
43774 fi
43775 done
43776
43777 fi
43778 fi
43779
43780
43781
43782
43783
43784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43785 $as_echo_n "checking for logl declaration... " >&6; }
43786 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43787 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43788 $as_echo_n "(cached) " >&6
43789 else
43790
43791
43792 ac_ext=cpp
43793 ac_cpp='$CXXCPP $CPPFLAGS'
43794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43797
43798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43799 /* end confdefs.h. */
43800 #include <math.h>
43801 #ifdef HAVE_IEEEFP_H
43802 #include <ieeefp.h>
43803 #endif
43804
43805 int
43806 main ()
43807 {
43808 logl(0);
43809 ;
43810 return 0;
43811 }
43812 _ACEOF
43813 if ac_fn_cxx_try_compile "$LINENO"; then :
43814 glibcxx_cv_func_logl_use=yes
43815 else
43816 glibcxx_cv_func_logl_use=no
43817 fi
43818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43819 ac_ext=c
43820 ac_cpp='$CPP $CPPFLAGS'
43821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43824
43825
43826 fi
43827
43828 fi
43829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43830 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43831
43832 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43833 for ac_func in logl
43834 do :
43835 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43836 if test "x$ac_cv_func_logl" = x""yes; then :
43837 cat >>confdefs.h <<_ACEOF
43838 #define HAVE_LOGL 1
43839 _ACEOF
43840
43841 fi
43842 done
43843
43844 else
43845
43846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43847 $as_echo_n "checking for _logl declaration... " >&6; }
43848 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43849 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43850 $as_echo_n "(cached) " >&6
43851 else
43852
43853
43854 ac_ext=cpp
43855 ac_cpp='$CXXCPP $CPPFLAGS'
43856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43859
43860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43861 /* end confdefs.h. */
43862 #include <math.h>
43863 #ifdef HAVE_IEEEFP_H
43864 #include <ieeefp.h>
43865 #endif
43866
43867 int
43868 main ()
43869 {
43870 _logl(0);
43871 ;
43872 return 0;
43873 }
43874 _ACEOF
43875 if ac_fn_cxx_try_compile "$LINENO"; then :
43876 glibcxx_cv_func__logl_use=yes
43877 else
43878 glibcxx_cv_func__logl_use=no
43879 fi
43880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43881 ac_ext=c
43882 ac_cpp='$CPP $CPPFLAGS'
43883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43886
43887
43888 fi
43889
43890 fi
43891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43892 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43893
43894 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43895 for ac_func in _logl
43896 do :
43897 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43898 if test "x$ac_cv_func__logl" = x""yes; then :
43899 cat >>confdefs.h <<_ACEOF
43900 #define HAVE__LOGL 1
43901 _ACEOF
43902
43903 fi
43904 done
43905
43906 fi
43907 fi
43908
43909
43910
43911
43912
43913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43914 $as_echo_n "checking for log10l declaration... " >&6; }
43915 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43916 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43917 $as_echo_n "(cached) " >&6
43918 else
43919
43920
43921 ac_ext=cpp
43922 ac_cpp='$CXXCPP $CPPFLAGS'
43923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43926
43927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43928 /* end confdefs.h. */
43929 #include <math.h>
43930 #ifdef HAVE_IEEEFP_H
43931 #include <ieeefp.h>
43932 #endif
43933
43934 int
43935 main ()
43936 {
43937 log10l(0);
43938 ;
43939 return 0;
43940 }
43941 _ACEOF
43942 if ac_fn_cxx_try_compile "$LINENO"; then :
43943 glibcxx_cv_func_log10l_use=yes
43944 else
43945 glibcxx_cv_func_log10l_use=no
43946 fi
43947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43948 ac_ext=c
43949 ac_cpp='$CPP $CPPFLAGS'
43950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43953
43954
43955 fi
43956
43957 fi
43958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43959 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43960
43961 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43962 for ac_func in log10l
43963 do :
43964 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43965 if test "x$ac_cv_func_log10l" = x""yes; then :
43966 cat >>confdefs.h <<_ACEOF
43967 #define HAVE_LOG10L 1
43968 _ACEOF
43969
43970 fi
43971 done
43972
43973 else
43974
43975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43976 $as_echo_n "checking for _log10l declaration... " >&6; }
43977 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43978 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43979 $as_echo_n "(cached) " >&6
43980 else
43981
43982
43983 ac_ext=cpp
43984 ac_cpp='$CXXCPP $CPPFLAGS'
43985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43988
43989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43990 /* end confdefs.h. */
43991 #include <math.h>
43992 #ifdef HAVE_IEEEFP_H
43993 #include <ieeefp.h>
43994 #endif
43995
43996 int
43997 main ()
43998 {
43999 _log10l(0);
44000 ;
44001 return 0;
44002 }
44003 _ACEOF
44004 if ac_fn_cxx_try_compile "$LINENO"; then :
44005 glibcxx_cv_func__log10l_use=yes
44006 else
44007 glibcxx_cv_func__log10l_use=no
44008 fi
44009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44010 ac_ext=c
44011 ac_cpp='$CPP $CPPFLAGS'
44012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44015
44016
44017 fi
44018
44019 fi
44020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44021 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44022
44023 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44024 for ac_func in _log10l
44025 do :
44026 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44027 if test "x$ac_cv_func__log10l" = x""yes; then :
44028 cat >>confdefs.h <<_ACEOF
44029 #define HAVE__LOG10L 1
44030 _ACEOF
44031
44032 fi
44033 done
44034
44035 fi
44036 fi
44037
44038
44039
44040
44041
44042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44043 $as_echo_n "checking for modfl declaration... " >&6; }
44044 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44045 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44046 $as_echo_n "(cached) " >&6
44047 else
44048
44049
44050 ac_ext=cpp
44051 ac_cpp='$CXXCPP $CPPFLAGS'
44052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44055
44056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44057 /* end confdefs.h. */
44058 #include <math.h>
44059 int
44060 main ()
44061 {
44062 modfl(0, 0);
44063 ;
44064 return 0;
44065 }
44066 _ACEOF
44067 if ac_fn_cxx_try_compile "$LINENO"; then :
44068 glibcxx_cv_func_modfl_use=yes
44069 else
44070 glibcxx_cv_func_modfl_use=no
44071 fi
44072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44073 ac_ext=c
44074 ac_cpp='$CPP $CPPFLAGS'
44075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44078
44079
44080 fi
44081
44082 fi
44083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44084 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44085
44086 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44087 for ac_func in modfl
44088 do :
44089 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44090 if test "x$ac_cv_func_modfl" = x""yes; then :
44091 cat >>confdefs.h <<_ACEOF
44092 #define HAVE_MODFL 1
44093 _ACEOF
44094
44095 fi
44096 done
44097
44098 else
44099
44100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44101 $as_echo_n "checking for _modfl declaration... " >&6; }
44102 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44103 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44104 $as_echo_n "(cached) " >&6
44105 else
44106
44107
44108 ac_ext=cpp
44109 ac_cpp='$CXXCPP $CPPFLAGS'
44110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44113
44114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44115 /* end confdefs.h. */
44116 #include <math.h>
44117 int
44118 main ()
44119 {
44120 _modfl(0, 0);
44121 ;
44122 return 0;
44123 }
44124 _ACEOF
44125 if ac_fn_cxx_try_compile "$LINENO"; then :
44126 glibcxx_cv_func__modfl_use=yes
44127 else
44128 glibcxx_cv_func__modfl_use=no
44129 fi
44130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44131 ac_ext=c
44132 ac_cpp='$CPP $CPPFLAGS'
44133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44136
44137
44138 fi
44139
44140 fi
44141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44142 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44143
44144 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44145 for ac_func in _modfl
44146 do :
44147 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44148 if test "x$ac_cv_func__modfl" = x""yes; then :
44149 cat >>confdefs.h <<_ACEOF
44150 #define HAVE__MODFL 1
44151 _ACEOF
44152
44153 fi
44154 done
44155
44156 fi
44157 fi
44158
44159
44160
44161
44162
44163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44164 $as_echo_n "checking for powl declaration... " >&6; }
44165 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44166 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44167 $as_echo_n "(cached) " >&6
44168 else
44169
44170
44171 ac_ext=cpp
44172 ac_cpp='$CXXCPP $CPPFLAGS'
44173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44176
44177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44178 /* end confdefs.h. */
44179 #include <math.h>
44180 int
44181 main ()
44182 {
44183 powl(0, 0);
44184 ;
44185 return 0;
44186 }
44187 _ACEOF
44188 if ac_fn_cxx_try_compile "$LINENO"; then :
44189 glibcxx_cv_func_powl_use=yes
44190 else
44191 glibcxx_cv_func_powl_use=no
44192 fi
44193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44194 ac_ext=c
44195 ac_cpp='$CPP $CPPFLAGS'
44196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44199
44200
44201 fi
44202
44203 fi
44204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44205 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44206
44207 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44208 for ac_func in powl
44209 do :
44210 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44211 if test "x$ac_cv_func_powl" = x""yes; then :
44212 cat >>confdefs.h <<_ACEOF
44213 #define HAVE_POWL 1
44214 _ACEOF
44215
44216 fi
44217 done
44218
44219 else
44220
44221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44222 $as_echo_n "checking for _powl declaration... " >&6; }
44223 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44224 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44225 $as_echo_n "(cached) " >&6
44226 else
44227
44228
44229 ac_ext=cpp
44230 ac_cpp='$CXXCPP $CPPFLAGS'
44231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44234
44235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44236 /* end confdefs.h. */
44237 #include <math.h>
44238 int
44239 main ()
44240 {
44241 _powl(0, 0);
44242 ;
44243 return 0;
44244 }
44245 _ACEOF
44246 if ac_fn_cxx_try_compile "$LINENO"; then :
44247 glibcxx_cv_func__powl_use=yes
44248 else
44249 glibcxx_cv_func__powl_use=no
44250 fi
44251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44252 ac_ext=c
44253 ac_cpp='$CPP $CPPFLAGS'
44254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44257
44258
44259 fi
44260
44261 fi
44262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44263 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44264
44265 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44266 for ac_func in _powl
44267 do :
44268 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44269 if test "x$ac_cv_func__powl" = x""yes; then :
44270 cat >>confdefs.h <<_ACEOF
44271 #define HAVE__POWL 1
44272 _ACEOF
44273
44274 fi
44275 done
44276
44277 fi
44278 fi
44279
44280
44281
44282
44283
44284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44285 $as_echo_n "checking for sqrtl declaration... " >&6; }
44286 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44287 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44288 $as_echo_n "(cached) " >&6
44289 else
44290
44291
44292 ac_ext=cpp
44293 ac_cpp='$CXXCPP $CPPFLAGS'
44294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44297
44298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44299 /* end confdefs.h. */
44300 #include <math.h>
44301 #ifdef HAVE_IEEEFP_H
44302 #include <ieeefp.h>
44303 #endif
44304
44305 int
44306 main ()
44307 {
44308 sqrtl(0);
44309 ;
44310 return 0;
44311 }
44312 _ACEOF
44313 if ac_fn_cxx_try_compile "$LINENO"; then :
44314 glibcxx_cv_func_sqrtl_use=yes
44315 else
44316 glibcxx_cv_func_sqrtl_use=no
44317 fi
44318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44319 ac_ext=c
44320 ac_cpp='$CPP $CPPFLAGS'
44321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44324
44325
44326 fi
44327
44328 fi
44329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44330 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44331
44332 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44333 for ac_func in sqrtl
44334 do :
44335 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44336 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44337 cat >>confdefs.h <<_ACEOF
44338 #define HAVE_SQRTL 1
44339 _ACEOF
44340
44341 fi
44342 done
44343
44344 else
44345
44346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44347 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44348 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44349 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44350 $as_echo_n "(cached) " >&6
44351 else
44352
44353
44354 ac_ext=cpp
44355 ac_cpp='$CXXCPP $CPPFLAGS'
44356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44359
44360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44361 /* end confdefs.h. */
44362 #include <math.h>
44363 #ifdef HAVE_IEEEFP_H
44364 #include <ieeefp.h>
44365 #endif
44366
44367 int
44368 main ()
44369 {
44370 _sqrtl(0);
44371 ;
44372 return 0;
44373 }
44374 _ACEOF
44375 if ac_fn_cxx_try_compile "$LINENO"; then :
44376 glibcxx_cv_func__sqrtl_use=yes
44377 else
44378 glibcxx_cv_func__sqrtl_use=no
44379 fi
44380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44381 ac_ext=c
44382 ac_cpp='$CPP $CPPFLAGS'
44383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44386
44387
44388 fi
44389
44390 fi
44391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44392 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44393
44394 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44395 for ac_func in _sqrtl
44396 do :
44397 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44398 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44399 cat >>confdefs.h <<_ACEOF
44400 #define HAVE__SQRTL 1
44401 _ACEOF
44402
44403 fi
44404 done
44405
44406 fi
44407 fi
44408
44409
44410
44411
44412
44413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44414 $as_echo_n "checking for sincosl declaration... " >&6; }
44415 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44416 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44417 $as_echo_n "(cached) " >&6
44418 else
44419
44420
44421 ac_ext=cpp
44422 ac_cpp='$CXXCPP $CPPFLAGS'
44423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44426
44427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44428 /* end confdefs.h. */
44429 #include <math.h>
44430 int
44431 main ()
44432 {
44433 sincosl(0, 0, 0);
44434 ;
44435 return 0;
44436 }
44437 _ACEOF
44438 if ac_fn_cxx_try_compile "$LINENO"; then :
44439 glibcxx_cv_func_sincosl_use=yes
44440 else
44441 glibcxx_cv_func_sincosl_use=no
44442 fi
44443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44444 ac_ext=c
44445 ac_cpp='$CPP $CPPFLAGS'
44446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44449
44450
44451 fi
44452
44453 fi
44454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44455 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44456
44457 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44458 for ac_func in sincosl
44459 do :
44460 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44461 if test "x$ac_cv_func_sincosl" = x""yes; then :
44462 cat >>confdefs.h <<_ACEOF
44463 #define HAVE_SINCOSL 1
44464 _ACEOF
44465
44466 fi
44467 done
44468
44469 else
44470
44471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44472 $as_echo_n "checking for _sincosl declaration... " >&6; }
44473 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44474 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44475 $as_echo_n "(cached) " >&6
44476 else
44477
44478
44479 ac_ext=cpp
44480 ac_cpp='$CXXCPP $CPPFLAGS'
44481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44484
44485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44486 /* end confdefs.h. */
44487 #include <math.h>
44488 int
44489 main ()
44490 {
44491 _sincosl(0, 0, 0);
44492 ;
44493 return 0;
44494 }
44495 _ACEOF
44496 if ac_fn_cxx_try_compile "$LINENO"; then :
44497 glibcxx_cv_func__sincosl_use=yes
44498 else
44499 glibcxx_cv_func__sincosl_use=no
44500 fi
44501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44502 ac_ext=c
44503 ac_cpp='$CPP $CPPFLAGS'
44504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44507
44508
44509 fi
44510
44511 fi
44512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44513 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44514
44515 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44516 for ac_func in _sincosl
44517 do :
44518 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44519 if test "x$ac_cv_func__sincosl" = x""yes; then :
44520 cat >>confdefs.h <<_ACEOF
44521 #define HAVE__SINCOSL 1
44522 _ACEOF
44523
44524 fi
44525 done
44526
44527 fi
44528 fi
44529
44530
44531
44532
44533
44534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44535 $as_echo_n "checking for finitel declaration... " >&6; }
44536 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44537 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44538 $as_echo_n "(cached) " >&6
44539 else
44540
44541
44542 ac_ext=cpp
44543 ac_cpp='$CXXCPP $CPPFLAGS'
44544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44547
44548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44549 /* end confdefs.h. */
44550 #include <math.h>
44551 #ifdef HAVE_IEEEFP_H
44552 #include <ieeefp.h>
44553 #endif
44554
44555 int
44556 main ()
44557 {
44558 finitel(0);
44559 ;
44560 return 0;
44561 }
44562 _ACEOF
44563 if ac_fn_cxx_try_compile "$LINENO"; then :
44564 glibcxx_cv_func_finitel_use=yes
44565 else
44566 glibcxx_cv_func_finitel_use=no
44567 fi
44568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44569 ac_ext=c
44570 ac_cpp='$CPP $CPPFLAGS'
44571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44574
44575
44576 fi
44577
44578 fi
44579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44580 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44581
44582 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44583 for ac_func in finitel
44584 do :
44585 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44586 if test "x$ac_cv_func_finitel" = x""yes; then :
44587 cat >>confdefs.h <<_ACEOF
44588 #define HAVE_FINITEL 1
44589 _ACEOF
44590
44591 fi
44592 done
44593
44594 else
44595
44596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44597 $as_echo_n "checking for _finitel declaration... " >&6; }
44598 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44599 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44600 $as_echo_n "(cached) " >&6
44601 else
44602
44603
44604 ac_ext=cpp
44605 ac_cpp='$CXXCPP $CPPFLAGS'
44606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44609
44610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44611 /* end confdefs.h. */
44612 #include <math.h>
44613 #ifdef HAVE_IEEEFP_H
44614 #include <ieeefp.h>
44615 #endif
44616
44617 int
44618 main ()
44619 {
44620 _finitel(0);
44621 ;
44622 return 0;
44623 }
44624 _ACEOF
44625 if ac_fn_cxx_try_compile "$LINENO"; then :
44626 glibcxx_cv_func__finitel_use=yes
44627 else
44628 glibcxx_cv_func__finitel_use=no
44629 fi
44630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44631 ac_ext=c
44632 ac_cpp='$CPP $CPPFLAGS'
44633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44636
44637
44638 fi
44639
44640 fi
44641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44642 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44643
44644 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44645 for ac_func in _finitel
44646 do :
44647 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44648 if test "x$ac_cv_func__finitel" = x""yes; then :
44649 cat >>confdefs.h <<_ACEOF
44650 #define HAVE__FINITEL 1
44651 _ACEOF
44652
44653 fi
44654 done
44655
44656 fi
44657 fi
44658
44659
44660
44661
44662 LIBS="$ac_save_LIBS"
44663 CXXFLAGS="$ac_save_CXXFLAGS"
44664
44665
44666 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44667 ac_save_CXXFLAGS="$CXXFLAGS"
44668 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44669
44670
44671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44672 $as_echo_n "checking for strtold declaration... " >&6; }
44673 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44674 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44675 $as_echo_n "(cached) " >&6
44676 else
44677
44678
44679 ac_ext=cpp
44680 ac_cpp='$CXXCPP $CPPFLAGS'
44681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44684
44685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44686 /* end confdefs.h. */
44687 #include <stdlib.h>
44688 int
44689 main ()
44690 {
44691 strtold(0, 0);
44692 ;
44693 return 0;
44694 }
44695 _ACEOF
44696 if ac_fn_cxx_try_compile "$LINENO"; then :
44697 glibcxx_cv_func_strtold_use=yes
44698 else
44699 glibcxx_cv_func_strtold_use=no
44700 fi
44701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44702 ac_ext=c
44703 ac_cpp='$CPP $CPPFLAGS'
44704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44707
44708
44709 fi
44710
44711 fi
44712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44713 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44714 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44715 for ac_func in strtold
44716 do :
44717 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44718 if test "x$ac_cv_func_strtold" = x""yes; then :
44719 cat >>confdefs.h <<_ACEOF
44720 #define HAVE_STRTOLD 1
44721 _ACEOF
44722
44723 fi
44724 done
44725
44726 fi
44727
44728
44729
44730
44731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44732 $as_echo_n "checking for strtof declaration... " >&6; }
44733 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44734 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44735 $as_echo_n "(cached) " >&6
44736 else
44737
44738
44739 ac_ext=cpp
44740 ac_cpp='$CXXCPP $CPPFLAGS'
44741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44744
44745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44746 /* end confdefs.h. */
44747 #include <stdlib.h>
44748 int
44749 main ()
44750 {
44751 strtof(0, 0);
44752 ;
44753 return 0;
44754 }
44755 _ACEOF
44756 if ac_fn_cxx_try_compile "$LINENO"; then :
44757 glibcxx_cv_func_strtof_use=yes
44758 else
44759 glibcxx_cv_func_strtof_use=no
44760 fi
44761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44762 ac_ext=c
44763 ac_cpp='$CPP $CPPFLAGS'
44764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44767
44768
44769 fi
44770
44771 fi
44772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44773 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44774 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44775 for ac_func in strtof
44776 do :
44777 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44778 if test "x$ac_cv_func_strtof" = x""yes; then :
44779 cat >>confdefs.h <<_ACEOF
44780 #define HAVE_STRTOF 1
44781 _ACEOF
44782
44783 fi
44784 done
44785
44786 fi
44787
44788
44789
44790
44791 CXXFLAGS="$ac_save_CXXFLAGS"
44792
44793 ;;
44794
44795 *djgpp)
44796 # GLIBCXX_CHECK_MATH_SUPPORT
44797 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44798
44799 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44800
44801 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44802
44803 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44804
44805 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44806
44807 ;;
44808
44809 *-freebsd*)
44810 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44811
44812
44813 # If we're not using GNU ld, then there's no point in even trying these
44814 # tests. Check for that first. We should have already tested for gld
44815 # by now (in libtool), but require it now just to be safe...
44816 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44817 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44818
44819
44820
44821 # The name set by libtool depends on the version of libtool. Shame on us
44822 # for depending on an impl detail, but c'est la vie. Older versions used
44823 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44824 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44825 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44826 # set (hence we're using an older libtool), then set it.
44827 if test x${with_gnu_ld+set} != xset; then
44828 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44829 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44830 with_gnu_ld=no
44831 else
44832 with_gnu_ld=$ac_cv_prog_gnu_ld
44833 fi
44834 fi
44835
44836 # Start by getting the version number. I think the libtool test already
44837 # does some of this, but throws away the result.
44838 glibcxx_ld_is_gold=no
44839 if test x"$with_gnu_ld" = x"yes"; then
44840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44841 $as_echo_n "checking for ld version... " >&6; }
44842
44843 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44844 glibcxx_ld_is_gold=yes
44845 fi
44846 ldver=`$LD --version 2>/dev/null |
44847 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'`
44848
44849 glibcxx_gnu_ld_version=`echo $ldver | \
44850 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44852 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44853 fi
44854
44855 # Set --gc-sections.
44856 glibcxx_have_gc_sections=no
44857 if test "$glibcxx_ld_is_gold" = "yes"; then
44858 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44859 glibcxx_have_gc_sections=yes
44860 fi
44861 else
44862 glibcxx_gcsections_min_ld=21602
44863 if test x"$with_gnu_ld" = x"yes" &&
44864 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44865 glibcxx_have_gc_sections=yes
44866 fi
44867 fi
44868 if test "$glibcxx_have_gc_sections" = "yes"; then
44869 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44870 # NB: This flag only works reliably after 2.16.1. Configure tests
44871 # for this are difficult, so hard wire a value that should work.
44872
44873 ac_test_CFLAGS="${CFLAGS+set}"
44874 ac_save_CFLAGS="$CFLAGS"
44875 CFLAGS='-Wl,--gc-sections'
44876
44877 # Check for -Wl,--gc-sections
44878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44879 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44880 if test x$gcc_no_link = xyes; then
44881 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44882 fi
44883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44884 /* end confdefs.h. */
44885 int one(void) { return 1; }
44886 int two(void) { return 2; }
44887
44888 int
44889 main ()
44890 {
44891 two();
44892 ;
44893 return 0;
44894 }
44895 _ACEOF
44896 if ac_fn_c_try_link "$LINENO"; then :
44897 ac_gcsections=yes
44898 else
44899 ac_gcsections=no
44900 fi
44901 rm -f core conftest.err conftest.$ac_objext \
44902 conftest$ac_exeext conftest.$ac_ext
44903 if test "$ac_gcsections" = "yes"; then
44904 rm -f conftest.c
44905 touch conftest.c
44906 if $CC -c conftest.c; then
44907 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44908 grep "Warning: gc-sections option ignored" > /dev/null; then
44909 ac_gcsections=no
44910 fi
44911 fi
44912 rm -f conftest.c conftest.o conftest
44913 fi
44914 if test "$ac_gcsections" = "yes"; then
44915 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44916 fi
44917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44918 $as_echo "$ac_gcsections" >&6; }
44919
44920 if test "$ac_test_CFLAGS" = set; then
44921 CFLAGS="$ac_save_CFLAGS"
44922 else
44923 # this is the suspicious part
44924 CFLAGS=''
44925 fi
44926 fi
44927
44928 # Set -z,relro.
44929 # Note this is only for shared objects.
44930 ac_ld_relro=no
44931 if test x"$with_gnu_ld" = x"yes"; then
44932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44933 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44934 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44935 if test -n "$cxx_z_relo"; then
44936 OPT_LDFLAGS="-Wl,-z,relro"
44937 ac_ld_relro=yes
44938 fi
44939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44940 $as_echo "$ac_ld_relro" >&6; }
44941 fi
44942
44943 # Set linker optimization flags.
44944 if test x"$with_gnu_ld" = x"yes"; then
44945 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44946 fi
44947
44948
44949
44950
44951 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44952
44953 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44954
44955 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44956
44957 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44958
44959 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44960
44961 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44962
44963 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44964
44965 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44966
44967 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44968
44969
44970 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44971
44972 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44973
44974 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44975
44976 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44977
44978 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44979
44980 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44981
44982 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44983
44984 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44985
44986 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44987
44988 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44989
44990 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44991
44992 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44993
44994 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44995
44996 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44997
44998 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44999
45000 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45001
45002 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45003
45004 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45005
45006 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45007
45008 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45009
45010 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45011
45012 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45013
45014 if test x"long_double_math_on_this_cpu" = x"yes"; then
45015 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45016
45017 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45018
45019 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45020
45021 fi
45022 ;;
45023 *-hpux*)
45024 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45025
45026
45027 # If we're not using GNU ld, then there's no point in even trying these
45028 # tests. Check for that first. We should have already tested for gld
45029 # by now (in libtool), but require it now just to be safe...
45030 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45031 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45032
45033
45034
45035 # The name set by libtool depends on the version of libtool. Shame on us
45036 # for depending on an impl detail, but c'est la vie. Older versions used
45037 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45038 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45039 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45040 # set (hence we're using an older libtool), then set it.
45041 if test x${with_gnu_ld+set} != xset; then
45042 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45043 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45044 with_gnu_ld=no
45045 else
45046 with_gnu_ld=$ac_cv_prog_gnu_ld
45047 fi
45048 fi
45049
45050 # Start by getting the version number. I think the libtool test already
45051 # does some of this, but throws away the result.
45052 glibcxx_ld_is_gold=no
45053 if test x"$with_gnu_ld" = x"yes"; then
45054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45055 $as_echo_n "checking for ld version... " >&6; }
45056
45057 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45058 glibcxx_ld_is_gold=yes
45059 fi
45060 ldver=`$LD --version 2>/dev/null |
45061 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'`
45062
45063 glibcxx_gnu_ld_version=`echo $ldver | \
45064 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45066 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45067 fi
45068
45069 # Set --gc-sections.
45070 glibcxx_have_gc_sections=no
45071 if test "$glibcxx_ld_is_gold" = "yes"; then
45072 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45073 glibcxx_have_gc_sections=yes
45074 fi
45075 else
45076 glibcxx_gcsections_min_ld=21602
45077 if test x"$with_gnu_ld" = x"yes" &&
45078 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45079 glibcxx_have_gc_sections=yes
45080 fi
45081 fi
45082 if test "$glibcxx_have_gc_sections" = "yes"; then
45083 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45084 # NB: This flag only works reliably after 2.16.1. Configure tests
45085 # for this are difficult, so hard wire a value that should work.
45086
45087 ac_test_CFLAGS="${CFLAGS+set}"
45088 ac_save_CFLAGS="$CFLAGS"
45089 CFLAGS='-Wl,--gc-sections'
45090
45091 # Check for -Wl,--gc-sections
45092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45093 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45094 if test x$gcc_no_link = xyes; then
45095 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45096 fi
45097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45098 /* end confdefs.h. */
45099 int one(void) { return 1; }
45100 int two(void) { return 2; }
45101
45102 int
45103 main ()
45104 {
45105 two();
45106 ;
45107 return 0;
45108 }
45109 _ACEOF
45110 if ac_fn_c_try_link "$LINENO"; then :
45111 ac_gcsections=yes
45112 else
45113 ac_gcsections=no
45114 fi
45115 rm -f core conftest.err conftest.$ac_objext \
45116 conftest$ac_exeext conftest.$ac_ext
45117 if test "$ac_gcsections" = "yes"; then
45118 rm -f conftest.c
45119 touch conftest.c
45120 if $CC -c conftest.c; then
45121 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45122 grep "Warning: gc-sections option ignored" > /dev/null; then
45123 ac_gcsections=no
45124 fi
45125 fi
45126 rm -f conftest.c conftest.o conftest
45127 fi
45128 if test "$ac_gcsections" = "yes"; then
45129 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45130 fi
45131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45132 $as_echo "$ac_gcsections" >&6; }
45133
45134 if test "$ac_test_CFLAGS" = set; then
45135 CFLAGS="$ac_save_CFLAGS"
45136 else
45137 # this is the suspicious part
45138 CFLAGS=''
45139 fi
45140 fi
45141
45142 # Set -z,relro.
45143 # Note this is only for shared objects.
45144 ac_ld_relro=no
45145 if test x"$with_gnu_ld" = x"yes"; then
45146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45147 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45148 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45149 if test -n "$cxx_z_relo"; then
45150 OPT_LDFLAGS="-Wl,-z,relro"
45151 ac_ld_relro=yes
45152 fi
45153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45154 $as_echo "$ac_ld_relro" >&6; }
45155 fi
45156
45157 # Set linker optimization flags.
45158 if test x"$with_gnu_ld" = x"yes"; then
45159 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45160 fi
45161
45162
45163
45164
45165
45166 # GLIBCXX_CHECK_MATH_SUPPORT
45167 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45168
45169 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45170
45171 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45172
45173 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45174
45175 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45176
45177 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45178
45179 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45180
45181 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45182
45183 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45184
45185 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45186
45187 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45188
45189 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45190
45191 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45192
45193 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45194
45195 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45196
45197 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45198
45199 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45200
45201 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45202
45203 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45204
45205 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45206
45207 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45208
45209
45210 # GLIBCXX_CHECK_STDLIB_SUPPORT
45211 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45212
45213
45214
45215
45216 # Check whether --enable-tls was given.
45217 if test "${enable_tls+set}" = set; then :
45218 enableval=$enable_tls;
45219 case "$enableval" in
45220 yes|no) ;;
45221 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45222 esac
45223
45224 else
45225 enable_tls=yes
45226 fi
45227
45228
45229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45230 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45231 if test "${gcc_cv_have_tls+set}" = set; then :
45232 $as_echo_n "(cached) " >&6
45233 else
45234
45235 if test "$cross_compiling" = yes; then :
45236 if test x$gcc_no_link = xyes; then
45237 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45238 fi
45239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45240 /* end confdefs.h. */
45241 __thread int a; int b; int main() { return a = b; }
45242 _ACEOF
45243 if ac_fn_c_try_link "$LINENO"; then :
45244 chktls_save_LDFLAGS="$LDFLAGS"
45245 case $host in
45246 *-*-linux*)
45247 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45248 ;;
45249 esac
45250 chktls_save_CFLAGS="$CFLAGS"
45251 CFLAGS="-fPIC $CFLAGS"
45252 if test x$gcc_no_link = xyes; then
45253 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45254 fi
45255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45256 /* end confdefs.h. */
45257 int f() { return 0; }
45258 _ACEOF
45259 if ac_fn_c_try_link "$LINENO"; then :
45260 if test x$gcc_no_link = xyes; then
45261 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45262 fi
45263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45264 /* end confdefs.h. */
45265 __thread int a; int b; int f() { return a = b; }
45266 _ACEOF
45267 if ac_fn_c_try_link "$LINENO"; then :
45268 gcc_cv_have_tls=yes
45269 else
45270 gcc_cv_have_tls=no
45271 fi
45272 rm -f core conftest.err conftest.$ac_objext \
45273 conftest$ac_exeext conftest.$ac_ext
45274 else
45275 gcc_cv_have_tls=yes
45276 fi
45277 rm -f core conftest.err conftest.$ac_objext \
45278 conftest$ac_exeext conftest.$ac_ext
45279 CFLAGS="$chktls_save_CFLAGS"
45280 LDFLAGS="$chktls_save_LDFLAGS"
45281 else
45282 gcc_cv_have_tls=no
45283 fi
45284 rm -f core conftest.err conftest.$ac_objext \
45285 conftest$ac_exeext conftest.$ac_ext
45286
45287
45288 else
45289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45290 /* end confdefs.h. */
45291 __thread int a; int b; int main() { return a = b; }
45292 _ACEOF
45293 if ac_fn_c_try_run "$LINENO"; then :
45294 chktls_save_LDFLAGS="$LDFLAGS"
45295 LDFLAGS="-static $LDFLAGS"
45296 if test x$gcc_no_link = xyes; then
45297 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45298 fi
45299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45300 /* end confdefs.h. */
45301 int main() { return 0; }
45302 _ACEOF
45303 if ac_fn_c_try_link "$LINENO"; then :
45304 if test "$cross_compiling" = yes; then :
45305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45307 as_fn_error "cannot run test program while cross compiling
45308 See \`config.log' for more details." "$LINENO" 5; }
45309 else
45310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45311 /* end confdefs.h. */
45312 __thread int a; int b; int main() { return a = b; }
45313 _ACEOF
45314 if ac_fn_c_try_run "$LINENO"; then :
45315 gcc_cv_have_tls=yes
45316 else
45317 gcc_cv_have_tls=no
45318 fi
45319 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45320 conftest.$ac_objext conftest.beam conftest.$ac_ext
45321 fi
45322
45323 else
45324 gcc_cv_have_tls=yes
45325 fi
45326 rm -f core conftest.err conftest.$ac_objext \
45327 conftest$ac_exeext conftest.$ac_ext
45328 LDFLAGS="$chktls_save_LDFLAGS"
45329 if test $gcc_cv_have_tls = yes; then
45330 chktls_save_CFLAGS="$CFLAGS"
45331 thread_CFLAGS=failed
45332 for flag in '' '-pthread' '-lpthread'; do
45333 CFLAGS="$flag $chktls_save_CFLAGS"
45334 if test x$gcc_no_link = xyes; then
45335 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45336 fi
45337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45338 /* end confdefs.h. */
45339 #include <pthread.h>
45340 void *g(void *d) { return NULL; }
45341 int
45342 main ()
45343 {
45344 pthread_t t; pthread_create(&t,NULL,g,NULL);
45345 ;
45346 return 0;
45347 }
45348 _ACEOF
45349 if ac_fn_c_try_link "$LINENO"; then :
45350 thread_CFLAGS="$flag"
45351 fi
45352 rm -f core conftest.err conftest.$ac_objext \
45353 conftest$ac_exeext conftest.$ac_ext
45354 if test "X$thread_CFLAGS" != Xfailed; then
45355 break
45356 fi
45357 done
45358 CFLAGS="$chktls_save_CFLAGS"
45359 if test "X$thread_CFLAGS" != Xfailed; then
45360 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45361 if test "$cross_compiling" = yes; then :
45362 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45364 as_fn_error "cannot run test program while cross compiling
45365 See \`config.log' for more details." "$LINENO" 5; }
45366 else
45367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45368 /* end confdefs.h. */
45369 #include <pthread.h>
45370 __thread int a;
45371 static int *volatile a_in_other_thread;
45372 static void *
45373 thread_func (void *arg)
45374 {
45375 a_in_other_thread = &a;
45376 return (void *)0;
45377 }
45378 int
45379 main ()
45380 {
45381 pthread_t thread;
45382 void *thread_retval;
45383 int *volatile a_in_main_thread;
45384 a_in_main_thread = &a;
45385 if (pthread_create (&thread, (pthread_attr_t *)0,
45386 thread_func, (void *)0))
45387 return 0;
45388 if (pthread_join (thread, &thread_retval))
45389 return 0;
45390 return (a_in_other_thread == a_in_main_thread);
45391 ;
45392 return 0;
45393 }
45394 _ACEOF
45395 if ac_fn_c_try_run "$LINENO"; then :
45396 gcc_cv_have_tls=yes
45397 else
45398 gcc_cv_have_tls=no
45399 fi
45400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45401 conftest.$ac_objext conftest.beam conftest.$ac_ext
45402 fi
45403
45404 CFLAGS="$chktls_save_CFLAGS"
45405 fi
45406 fi
45407 else
45408 gcc_cv_have_tls=no
45409 fi
45410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45411 conftest.$ac_objext conftest.beam conftest.$ac_ext
45412 fi
45413
45414 fi
45415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45416 $as_echo "$gcc_cv_have_tls" >&6; }
45417 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45418
45419 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45420
45421 fi
45422 case "$target" in
45423 *-hpux10*)
45424 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45425
45426 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45427
45428 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45429
45430 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45431
45432 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45433
45434 ;;
45435 esac
45436 ;;
45437 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45438
45439 # All these tests are for C++; save the language and the compiler flags.
45440 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45441 # found in GLIBCXX_CONFIGURE.
45442
45443 ac_ext=cpp
45444 ac_cpp='$CXXCPP $CPPFLAGS'
45445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45448
45449 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45450 ac_save_CXXFLAGS="$CXXFLAGS"
45451
45452 # Check for maintainer-mode bits.
45453 if test x"$USE_MAINTAINER_MODE" = xno; then
45454 WERROR=''
45455 else
45456 WERROR='-Werror'
45457 fi
45458
45459 # Check for -ffunction-sections -fdata-sections
45460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45461 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45462 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45464 /* end confdefs.h. */
45465 int foo; void bar() { };
45466 int
45467 main ()
45468 {
45469
45470 ;
45471 return 0;
45472 }
45473 _ACEOF
45474 if ac_fn_cxx_try_compile "$LINENO"; then :
45475 ac_fdsections=yes
45476 else
45477 ac_fdsections=no
45478 fi
45479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45480 if test "$ac_test_CXXFLAGS" = set; then
45481 CXXFLAGS="$ac_save_CXXFLAGS"
45482 else
45483 # this is the suspicious part
45484 CXXFLAGS=''
45485 fi
45486 if test x"$ac_fdsections" = x"yes"; then
45487 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45488 fi
45489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45490 $as_echo "$ac_fdsections" >&6; }
45491
45492 ac_ext=c
45493 ac_cpp='$CPP $CPPFLAGS'
45494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45497
45498
45499
45500
45501
45502 # If we're not using GNU ld, then there's no point in even trying these
45503 # tests. Check for that first. We should have already tested for gld
45504 # by now (in libtool), but require it now just to be safe...
45505 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45506 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45507
45508
45509
45510 # The name set by libtool depends on the version of libtool. Shame on us
45511 # for depending on an impl detail, but c'est la vie. Older versions used
45512 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45513 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45514 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45515 # set (hence we're using an older libtool), then set it.
45516 if test x${with_gnu_ld+set} != xset; then
45517 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45518 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45519 with_gnu_ld=no
45520 else
45521 with_gnu_ld=$ac_cv_prog_gnu_ld
45522 fi
45523 fi
45524
45525 # Start by getting the version number. I think the libtool test already
45526 # does some of this, but throws away the result.
45527 glibcxx_ld_is_gold=no
45528 if test x"$with_gnu_ld" = x"yes"; then
45529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45530 $as_echo_n "checking for ld version... " >&6; }
45531
45532 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45533 glibcxx_ld_is_gold=yes
45534 fi
45535 ldver=`$LD --version 2>/dev/null |
45536 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'`
45537
45538 glibcxx_gnu_ld_version=`echo $ldver | \
45539 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45541 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45542 fi
45543
45544 # Set --gc-sections.
45545 glibcxx_have_gc_sections=no
45546 if test "$glibcxx_ld_is_gold" = "yes"; then
45547 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45548 glibcxx_have_gc_sections=yes
45549 fi
45550 else
45551 glibcxx_gcsections_min_ld=21602
45552 if test x"$with_gnu_ld" = x"yes" &&
45553 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45554 glibcxx_have_gc_sections=yes
45555 fi
45556 fi
45557 if test "$glibcxx_have_gc_sections" = "yes"; then
45558 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45559 # NB: This flag only works reliably after 2.16.1. Configure tests
45560 # for this are difficult, so hard wire a value that should work.
45561
45562 ac_test_CFLAGS="${CFLAGS+set}"
45563 ac_save_CFLAGS="$CFLAGS"
45564 CFLAGS='-Wl,--gc-sections'
45565
45566 # Check for -Wl,--gc-sections
45567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45568 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45569 if test x$gcc_no_link = xyes; then
45570 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45571 fi
45572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45573 /* end confdefs.h. */
45574 int one(void) { return 1; }
45575 int two(void) { return 2; }
45576
45577 int
45578 main ()
45579 {
45580 two();
45581 ;
45582 return 0;
45583 }
45584 _ACEOF
45585 if ac_fn_c_try_link "$LINENO"; then :
45586 ac_gcsections=yes
45587 else
45588 ac_gcsections=no
45589 fi
45590 rm -f core conftest.err conftest.$ac_objext \
45591 conftest$ac_exeext conftest.$ac_ext
45592 if test "$ac_gcsections" = "yes"; then
45593 rm -f conftest.c
45594 touch conftest.c
45595 if $CC -c conftest.c; then
45596 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45597 grep "Warning: gc-sections option ignored" > /dev/null; then
45598 ac_gcsections=no
45599 fi
45600 fi
45601 rm -f conftest.c conftest.o conftest
45602 fi
45603 if test "$ac_gcsections" = "yes"; then
45604 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45605 fi
45606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45607 $as_echo "$ac_gcsections" >&6; }
45608
45609 if test "$ac_test_CFLAGS" = set; then
45610 CFLAGS="$ac_save_CFLAGS"
45611 else
45612 # this is the suspicious part
45613 CFLAGS=''
45614 fi
45615 fi
45616
45617 # Set -z,relro.
45618 # Note this is only for shared objects.
45619 ac_ld_relro=no
45620 if test x"$with_gnu_ld" = x"yes"; then
45621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45622 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45623 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45624 if test -n "$cxx_z_relo"; then
45625 OPT_LDFLAGS="-Wl,-z,relro"
45626 ac_ld_relro=yes
45627 fi
45628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45629 $as_echo "$ac_ld_relro" >&6; }
45630 fi
45631
45632 # Set linker optimization flags.
45633 if test x"$with_gnu_ld" = x"yes"; then
45634 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45635 fi
45636
45637
45638
45639
45640
45641 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45642 ac_save_CXXFLAGS="$CXXFLAGS"
45643 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45644
45645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45646 $as_echo_n "checking for sin in -lm... " >&6; }
45647 if test "${ac_cv_lib_m_sin+set}" = set; then :
45648 $as_echo_n "(cached) " >&6
45649 else
45650 ac_check_lib_save_LIBS=$LIBS
45651 LIBS="-lm $LIBS"
45652 if test x$gcc_no_link = xyes; then
45653 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45654 fi
45655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45656 /* end confdefs.h. */
45657
45658 /* Override any GCC internal prototype to avoid an error.
45659 Use char because int might match the return type of a GCC
45660 builtin and then its argument prototype would still apply. */
45661 #ifdef __cplusplus
45662 extern "C"
45663 #endif
45664 char sin ();
45665 int
45666 main ()
45667 {
45668 return sin ();
45669 ;
45670 return 0;
45671 }
45672 _ACEOF
45673 if ac_fn_c_try_link "$LINENO"; then :
45674 ac_cv_lib_m_sin=yes
45675 else
45676 ac_cv_lib_m_sin=no
45677 fi
45678 rm -f core conftest.err conftest.$ac_objext \
45679 conftest$ac_exeext conftest.$ac_ext
45680 LIBS=$ac_check_lib_save_LIBS
45681 fi
45682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45683 $as_echo "$ac_cv_lib_m_sin" >&6; }
45684 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45685 libm="-lm"
45686 fi
45687
45688 ac_save_LIBS="$LIBS"
45689 LIBS="$LIBS $libm"
45690
45691
45692
45693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45694 $as_echo_n "checking for isinf declaration... " >&6; }
45695 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45696 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45697 $as_echo_n "(cached) " >&6
45698 else
45699
45700
45701 ac_ext=cpp
45702 ac_cpp='$CXXCPP $CPPFLAGS'
45703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45706
45707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45708 /* end confdefs.h. */
45709 #include <math.h>
45710 #ifdef HAVE_IEEEFP_H
45711 #include <ieeefp.h>
45712 #endif
45713
45714 int
45715 main ()
45716 {
45717 isinf(0);
45718 ;
45719 return 0;
45720 }
45721 _ACEOF
45722 if ac_fn_cxx_try_compile "$LINENO"; then :
45723 glibcxx_cv_func_isinf_use=yes
45724 else
45725 glibcxx_cv_func_isinf_use=no
45726 fi
45727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45728 ac_ext=c
45729 ac_cpp='$CPP $CPPFLAGS'
45730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45733
45734
45735 fi
45736
45737 fi
45738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45739 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45740
45741 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45742 for ac_func in isinf
45743 do :
45744 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45745 if test "x$ac_cv_func_isinf" = x""yes; then :
45746 cat >>confdefs.h <<_ACEOF
45747 #define HAVE_ISINF 1
45748 _ACEOF
45749
45750 fi
45751 done
45752
45753 else
45754
45755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45756 $as_echo_n "checking for _isinf declaration... " >&6; }
45757 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45758 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45759 $as_echo_n "(cached) " >&6
45760 else
45761
45762
45763 ac_ext=cpp
45764 ac_cpp='$CXXCPP $CPPFLAGS'
45765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45768
45769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45770 /* end confdefs.h. */
45771 #include <math.h>
45772 #ifdef HAVE_IEEEFP_H
45773 #include <ieeefp.h>
45774 #endif
45775
45776 int
45777 main ()
45778 {
45779 _isinf(0);
45780 ;
45781 return 0;
45782 }
45783 _ACEOF
45784 if ac_fn_cxx_try_compile "$LINENO"; then :
45785 glibcxx_cv_func__isinf_use=yes
45786 else
45787 glibcxx_cv_func__isinf_use=no
45788 fi
45789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45790 ac_ext=c
45791 ac_cpp='$CPP $CPPFLAGS'
45792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45795
45796
45797 fi
45798
45799 fi
45800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45801 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45802
45803 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45804 for ac_func in _isinf
45805 do :
45806 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45807 if test "x$ac_cv_func__isinf" = x""yes; then :
45808 cat >>confdefs.h <<_ACEOF
45809 #define HAVE__ISINF 1
45810 _ACEOF
45811
45812 fi
45813 done
45814
45815 fi
45816 fi
45817
45818
45819
45820
45821
45822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45823 $as_echo_n "checking for isnan declaration... " >&6; }
45824 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45825 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45826 $as_echo_n "(cached) " >&6
45827 else
45828
45829
45830 ac_ext=cpp
45831 ac_cpp='$CXXCPP $CPPFLAGS'
45832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45835
45836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45837 /* end confdefs.h. */
45838 #include <math.h>
45839 #ifdef HAVE_IEEEFP_H
45840 #include <ieeefp.h>
45841 #endif
45842
45843 int
45844 main ()
45845 {
45846 isnan(0);
45847 ;
45848 return 0;
45849 }
45850 _ACEOF
45851 if ac_fn_cxx_try_compile "$LINENO"; then :
45852 glibcxx_cv_func_isnan_use=yes
45853 else
45854 glibcxx_cv_func_isnan_use=no
45855 fi
45856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45857 ac_ext=c
45858 ac_cpp='$CPP $CPPFLAGS'
45859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45862
45863
45864 fi
45865
45866 fi
45867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45868 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45869
45870 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45871 for ac_func in isnan
45872 do :
45873 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45874 if test "x$ac_cv_func_isnan" = x""yes; then :
45875 cat >>confdefs.h <<_ACEOF
45876 #define HAVE_ISNAN 1
45877 _ACEOF
45878
45879 fi
45880 done
45881
45882 else
45883
45884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45885 $as_echo_n "checking for _isnan declaration... " >&6; }
45886 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45887 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45888 $as_echo_n "(cached) " >&6
45889 else
45890
45891
45892 ac_ext=cpp
45893 ac_cpp='$CXXCPP $CPPFLAGS'
45894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45897
45898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45899 /* end confdefs.h. */
45900 #include <math.h>
45901 #ifdef HAVE_IEEEFP_H
45902 #include <ieeefp.h>
45903 #endif
45904
45905 int
45906 main ()
45907 {
45908 _isnan(0);
45909 ;
45910 return 0;
45911 }
45912 _ACEOF
45913 if ac_fn_cxx_try_compile "$LINENO"; then :
45914 glibcxx_cv_func__isnan_use=yes
45915 else
45916 glibcxx_cv_func__isnan_use=no
45917 fi
45918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45919 ac_ext=c
45920 ac_cpp='$CPP $CPPFLAGS'
45921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45924
45925
45926 fi
45927
45928 fi
45929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45930 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45931
45932 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45933 for ac_func in _isnan
45934 do :
45935 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45936 if test "x$ac_cv_func__isnan" = x""yes; then :
45937 cat >>confdefs.h <<_ACEOF
45938 #define HAVE__ISNAN 1
45939 _ACEOF
45940
45941 fi
45942 done
45943
45944 fi
45945 fi
45946
45947
45948
45949
45950
45951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45952 $as_echo_n "checking for finite declaration... " >&6; }
45953 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45954 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45955 $as_echo_n "(cached) " >&6
45956 else
45957
45958
45959 ac_ext=cpp
45960 ac_cpp='$CXXCPP $CPPFLAGS'
45961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45964
45965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45966 /* end confdefs.h. */
45967 #include <math.h>
45968 #ifdef HAVE_IEEEFP_H
45969 #include <ieeefp.h>
45970 #endif
45971
45972 int
45973 main ()
45974 {
45975 finite(0);
45976 ;
45977 return 0;
45978 }
45979 _ACEOF
45980 if ac_fn_cxx_try_compile "$LINENO"; then :
45981 glibcxx_cv_func_finite_use=yes
45982 else
45983 glibcxx_cv_func_finite_use=no
45984 fi
45985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45986 ac_ext=c
45987 ac_cpp='$CPP $CPPFLAGS'
45988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45991
45992
45993 fi
45994
45995 fi
45996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45997 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45998
45999 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46000 for ac_func in finite
46001 do :
46002 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46003 if test "x$ac_cv_func_finite" = x""yes; then :
46004 cat >>confdefs.h <<_ACEOF
46005 #define HAVE_FINITE 1
46006 _ACEOF
46007
46008 fi
46009 done
46010
46011 else
46012
46013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46014 $as_echo_n "checking for _finite declaration... " >&6; }
46015 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46016 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46017 $as_echo_n "(cached) " >&6
46018 else
46019
46020
46021 ac_ext=cpp
46022 ac_cpp='$CXXCPP $CPPFLAGS'
46023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46026
46027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46028 /* end confdefs.h. */
46029 #include <math.h>
46030 #ifdef HAVE_IEEEFP_H
46031 #include <ieeefp.h>
46032 #endif
46033
46034 int
46035 main ()
46036 {
46037 _finite(0);
46038 ;
46039 return 0;
46040 }
46041 _ACEOF
46042 if ac_fn_cxx_try_compile "$LINENO"; then :
46043 glibcxx_cv_func__finite_use=yes
46044 else
46045 glibcxx_cv_func__finite_use=no
46046 fi
46047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46048 ac_ext=c
46049 ac_cpp='$CPP $CPPFLAGS'
46050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46053
46054
46055 fi
46056
46057 fi
46058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46059 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46060
46061 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46062 for ac_func in _finite
46063 do :
46064 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46065 if test "x$ac_cv_func__finite" = x""yes; then :
46066 cat >>confdefs.h <<_ACEOF
46067 #define HAVE__FINITE 1
46068 _ACEOF
46069
46070 fi
46071 done
46072
46073 fi
46074 fi
46075
46076
46077
46078
46079
46080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46081 $as_echo_n "checking for sincos declaration... " >&6; }
46082 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46083 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46084 $as_echo_n "(cached) " >&6
46085 else
46086
46087
46088 ac_ext=cpp
46089 ac_cpp='$CXXCPP $CPPFLAGS'
46090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46093
46094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46095 /* end confdefs.h. */
46096 #include <math.h>
46097 int
46098 main ()
46099 {
46100 sincos(0, 0, 0);
46101 ;
46102 return 0;
46103 }
46104 _ACEOF
46105 if ac_fn_cxx_try_compile "$LINENO"; then :
46106 glibcxx_cv_func_sincos_use=yes
46107 else
46108 glibcxx_cv_func_sincos_use=no
46109 fi
46110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46111 ac_ext=c
46112 ac_cpp='$CPP $CPPFLAGS'
46113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46116
46117
46118 fi
46119
46120 fi
46121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46122 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46123
46124 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46125 for ac_func in sincos
46126 do :
46127 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46128 if test "x$ac_cv_func_sincos" = x""yes; then :
46129 cat >>confdefs.h <<_ACEOF
46130 #define HAVE_SINCOS 1
46131 _ACEOF
46132
46133 fi
46134 done
46135
46136 else
46137
46138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46139 $as_echo_n "checking for _sincos declaration... " >&6; }
46140 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46141 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46142 $as_echo_n "(cached) " >&6
46143 else
46144
46145
46146 ac_ext=cpp
46147 ac_cpp='$CXXCPP $CPPFLAGS'
46148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46151
46152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46153 /* end confdefs.h. */
46154 #include <math.h>
46155 int
46156 main ()
46157 {
46158 _sincos(0, 0, 0);
46159 ;
46160 return 0;
46161 }
46162 _ACEOF
46163 if ac_fn_cxx_try_compile "$LINENO"; then :
46164 glibcxx_cv_func__sincos_use=yes
46165 else
46166 glibcxx_cv_func__sincos_use=no
46167 fi
46168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46169 ac_ext=c
46170 ac_cpp='$CPP $CPPFLAGS'
46171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46174
46175
46176 fi
46177
46178 fi
46179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46180 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46181
46182 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46183 for ac_func in _sincos
46184 do :
46185 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46186 if test "x$ac_cv_func__sincos" = x""yes; then :
46187 cat >>confdefs.h <<_ACEOF
46188 #define HAVE__SINCOS 1
46189 _ACEOF
46190
46191 fi
46192 done
46193
46194 fi
46195 fi
46196
46197
46198
46199
46200
46201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46202 $as_echo_n "checking for fpclass declaration... " >&6; }
46203 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46204 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46205 $as_echo_n "(cached) " >&6
46206 else
46207
46208
46209 ac_ext=cpp
46210 ac_cpp='$CXXCPP $CPPFLAGS'
46211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46214
46215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46216 /* end confdefs.h. */
46217 #include <math.h>
46218 #ifdef HAVE_IEEEFP_H
46219 #include <ieeefp.h>
46220 #endif
46221
46222 int
46223 main ()
46224 {
46225 fpclass(0);
46226 ;
46227 return 0;
46228 }
46229 _ACEOF
46230 if ac_fn_cxx_try_compile "$LINENO"; then :
46231 glibcxx_cv_func_fpclass_use=yes
46232 else
46233 glibcxx_cv_func_fpclass_use=no
46234 fi
46235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46236 ac_ext=c
46237 ac_cpp='$CPP $CPPFLAGS'
46238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46241
46242
46243 fi
46244
46245 fi
46246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46247 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46248
46249 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46250 for ac_func in fpclass
46251 do :
46252 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46253 if test "x$ac_cv_func_fpclass" = x""yes; then :
46254 cat >>confdefs.h <<_ACEOF
46255 #define HAVE_FPCLASS 1
46256 _ACEOF
46257
46258 fi
46259 done
46260
46261 else
46262
46263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46264 $as_echo_n "checking for _fpclass declaration... " >&6; }
46265 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46266 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46267 $as_echo_n "(cached) " >&6
46268 else
46269
46270
46271 ac_ext=cpp
46272 ac_cpp='$CXXCPP $CPPFLAGS'
46273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46276
46277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46278 /* end confdefs.h. */
46279 #include <math.h>
46280 #ifdef HAVE_IEEEFP_H
46281 #include <ieeefp.h>
46282 #endif
46283
46284 int
46285 main ()
46286 {
46287 _fpclass(0);
46288 ;
46289 return 0;
46290 }
46291 _ACEOF
46292 if ac_fn_cxx_try_compile "$LINENO"; then :
46293 glibcxx_cv_func__fpclass_use=yes
46294 else
46295 glibcxx_cv_func__fpclass_use=no
46296 fi
46297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46298 ac_ext=c
46299 ac_cpp='$CPP $CPPFLAGS'
46300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46303
46304
46305 fi
46306
46307 fi
46308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46309 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46310
46311 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46312 for ac_func in _fpclass
46313 do :
46314 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46315 if test "x$ac_cv_func__fpclass" = x""yes; then :
46316 cat >>confdefs.h <<_ACEOF
46317 #define HAVE__FPCLASS 1
46318 _ACEOF
46319
46320 fi
46321 done
46322
46323 fi
46324 fi
46325
46326
46327
46328
46329
46330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46331 $as_echo_n "checking for qfpclass declaration... " >&6; }
46332 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46333 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46334 $as_echo_n "(cached) " >&6
46335 else
46336
46337
46338 ac_ext=cpp
46339 ac_cpp='$CXXCPP $CPPFLAGS'
46340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46343
46344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46345 /* end confdefs.h. */
46346 #include <math.h>
46347 #ifdef HAVE_IEEEFP_H
46348 #include <ieeefp.h>
46349 #endif
46350
46351 int
46352 main ()
46353 {
46354 qfpclass(0);
46355 ;
46356 return 0;
46357 }
46358 _ACEOF
46359 if ac_fn_cxx_try_compile "$LINENO"; then :
46360 glibcxx_cv_func_qfpclass_use=yes
46361 else
46362 glibcxx_cv_func_qfpclass_use=no
46363 fi
46364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46365 ac_ext=c
46366 ac_cpp='$CPP $CPPFLAGS'
46367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46370
46371
46372 fi
46373
46374 fi
46375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46376 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46377
46378 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46379 for ac_func in qfpclass
46380 do :
46381 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46382 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46383 cat >>confdefs.h <<_ACEOF
46384 #define HAVE_QFPCLASS 1
46385 _ACEOF
46386
46387 fi
46388 done
46389
46390 else
46391
46392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46393 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46394 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46395 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46396 $as_echo_n "(cached) " >&6
46397 else
46398
46399
46400 ac_ext=cpp
46401 ac_cpp='$CXXCPP $CPPFLAGS'
46402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46405
46406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46407 /* end confdefs.h. */
46408 #include <math.h>
46409 #ifdef HAVE_IEEEFP_H
46410 #include <ieeefp.h>
46411 #endif
46412
46413 int
46414 main ()
46415 {
46416 _qfpclass(0);
46417 ;
46418 return 0;
46419 }
46420 _ACEOF
46421 if ac_fn_cxx_try_compile "$LINENO"; then :
46422 glibcxx_cv_func__qfpclass_use=yes
46423 else
46424 glibcxx_cv_func__qfpclass_use=no
46425 fi
46426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46427 ac_ext=c
46428 ac_cpp='$CPP $CPPFLAGS'
46429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46432
46433
46434 fi
46435
46436 fi
46437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46438 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46439
46440 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46441 for ac_func in _qfpclass
46442 do :
46443 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46444 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46445 cat >>confdefs.h <<_ACEOF
46446 #define HAVE__QFPCLASS 1
46447 _ACEOF
46448
46449 fi
46450 done
46451
46452 fi
46453 fi
46454
46455
46456
46457
46458
46459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46460 $as_echo_n "checking for hypot declaration... " >&6; }
46461 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46462 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46463 $as_echo_n "(cached) " >&6
46464 else
46465
46466
46467 ac_ext=cpp
46468 ac_cpp='$CXXCPP $CPPFLAGS'
46469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46472
46473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46474 /* end confdefs.h. */
46475 #include <math.h>
46476 int
46477 main ()
46478 {
46479 hypot(0, 0);
46480 ;
46481 return 0;
46482 }
46483 _ACEOF
46484 if ac_fn_cxx_try_compile "$LINENO"; then :
46485 glibcxx_cv_func_hypot_use=yes
46486 else
46487 glibcxx_cv_func_hypot_use=no
46488 fi
46489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46490 ac_ext=c
46491 ac_cpp='$CPP $CPPFLAGS'
46492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46495
46496
46497 fi
46498
46499 fi
46500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46501 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46502
46503 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46504 for ac_func in hypot
46505 do :
46506 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46507 if test "x$ac_cv_func_hypot" = x""yes; then :
46508 cat >>confdefs.h <<_ACEOF
46509 #define HAVE_HYPOT 1
46510 _ACEOF
46511
46512 fi
46513 done
46514
46515 else
46516
46517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46518 $as_echo_n "checking for _hypot declaration... " >&6; }
46519 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46520 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46521 $as_echo_n "(cached) " >&6
46522 else
46523
46524
46525 ac_ext=cpp
46526 ac_cpp='$CXXCPP $CPPFLAGS'
46527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46530
46531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46532 /* end confdefs.h. */
46533 #include <math.h>
46534 int
46535 main ()
46536 {
46537 _hypot(0, 0);
46538 ;
46539 return 0;
46540 }
46541 _ACEOF
46542 if ac_fn_cxx_try_compile "$LINENO"; then :
46543 glibcxx_cv_func__hypot_use=yes
46544 else
46545 glibcxx_cv_func__hypot_use=no
46546 fi
46547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46548 ac_ext=c
46549 ac_cpp='$CPP $CPPFLAGS'
46550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46553
46554
46555 fi
46556
46557 fi
46558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46559 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46560
46561 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46562 for ac_func in _hypot
46563 do :
46564 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46565 if test "x$ac_cv_func__hypot" = x""yes; then :
46566 cat >>confdefs.h <<_ACEOF
46567 #define HAVE__HYPOT 1
46568 _ACEOF
46569
46570 fi
46571 done
46572
46573 fi
46574 fi
46575
46576
46577
46578
46579
46580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46581 $as_echo_n "checking for float trig functions... " >&6; }
46582 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46583 $as_echo_n "(cached) " >&6
46584 else
46585
46586
46587 ac_ext=cpp
46588 ac_cpp='$CXXCPP $CPPFLAGS'
46589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46592
46593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46594 /* end confdefs.h. */
46595 #include <math.h>
46596 int
46597 main ()
46598 {
46599 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46600 ;
46601 return 0;
46602 }
46603 _ACEOF
46604 if ac_fn_cxx_try_compile "$LINENO"; then :
46605 glibcxx_cv_func_float_trig_use=yes
46606 else
46607 glibcxx_cv_func_float_trig_use=no
46608 fi
46609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46610 ac_ext=c
46611 ac_cpp='$CPP $CPPFLAGS'
46612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46615
46616 fi
46617
46618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46619 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46620 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46621 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46622 do :
46623 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46624 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46625 eval as_val=\$$as_ac_var
46626 if test "x$as_val" = x""yes; then :
46627 cat >>confdefs.h <<_ACEOF
46628 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46629 _ACEOF
46630
46631 fi
46632 done
46633
46634 else
46635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46636 $as_echo_n "checking for _float trig functions... " >&6; }
46637 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46638 $as_echo_n "(cached) " >&6
46639 else
46640
46641
46642 ac_ext=cpp
46643 ac_cpp='$CXXCPP $CPPFLAGS'
46644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46647
46648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46649 /* end confdefs.h. */
46650 #include <math.h>
46651 int
46652 main ()
46653 {
46654 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46655 ;
46656 return 0;
46657 }
46658 _ACEOF
46659 if ac_fn_cxx_try_compile "$LINENO"; then :
46660 glibcxx_cv_func__float_trig_use=yes
46661 else
46662 glibcxx_cv_func__float_trig_use=no
46663 fi
46664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46665 ac_ext=c
46666 ac_cpp='$CPP $CPPFLAGS'
46667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46670
46671 fi
46672
46673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46674 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46675 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46676 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46677 do :
46678 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46679 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46680 eval as_val=\$$as_ac_var
46681 if test "x$as_val" = x""yes; then :
46682 cat >>confdefs.h <<_ACEOF
46683 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46684 _ACEOF
46685
46686 fi
46687 done
46688
46689 fi
46690 fi
46691
46692
46693
46694
46695
46696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46697 $as_echo_n "checking for float round functions... " >&6; }
46698 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46699 $as_echo_n "(cached) " >&6
46700 else
46701
46702
46703 ac_ext=cpp
46704 ac_cpp='$CXXCPP $CPPFLAGS'
46705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46708
46709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46710 /* end confdefs.h. */
46711 #include <math.h>
46712 int
46713 main ()
46714 {
46715 ceilf (0); floorf (0);
46716 ;
46717 return 0;
46718 }
46719 _ACEOF
46720 if ac_fn_cxx_try_compile "$LINENO"; then :
46721 glibcxx_cv_func_float_round_use=yes
46722 else
46723 glibcxx_cv_func_float_round_use=no
46724 fi
46725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46726 ac_ext=c
46727 ac_cpp='$CPP $CPPFLAGS'
46728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46731
46732 fi
46733
46734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46735 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46736 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46737 for ac_func in ceilf floorf
46738 do :
46739 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46740 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46741 eval as_val=\$$as_ac_var
46742 if test "x$as_val" = x""yes; then :
46743 cat >>confdefs.h <<_ACEOF
46744 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46745 _ACEOF
46746
46747 fi
46748 done
46749
46750 else
46751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46752 $as_echo_n "checking for _float round functions... " >&6; }
46753 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46754 $as_echo_n "(cached) " >&6
46755 else
46756
46757
46758 ac_ext=cpp
46759 ac_cpp='$CXXCPP $CPPFLAGS'
46760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46763
46764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46765 /* end confdefs.h. */
46766 #include <math.h>
46767 int
46768 main ()
46769 {
46770 _ceilf (0); _floorf (0);
46771 ;
46772 return 0;
46773 }
46774 _ACEOF
46775 if ac_fn_cxx_try_compile "$LINENO"; then :
46776 glibcxx_cv_func__float_round_use=yes
46777 else
46778 glibcxx_cv_func__float_round_use=no
46779 fi
46780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46781 ac_ext=c
46782 ac_cpp='$CPP $CPPFLAGS'
46783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46786
46787 fi
46788
46789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46790 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46791 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46792 for ac_func in _ceilf _floorf
46793 do :
46794 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46795 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46796 eval as_val=\$$as_ac_var
46797 if test "x$as_val" = x""yes; then :
46798 cat >>confdefs.h <<_ACEOF
46799 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46800 _ACEOF
46801
46802 fi
46803 done
46804
46805 fi
46806 fi
46807
46808
46809
46810
46811
46812
46813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46814 $as_echo_n "checking for expf declaration... " >&6; }
46815 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46816 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46817 $as_echo_n "(cached) " >&6
46818 else
46819
46820
46821 ac_ext=cpp
46822 ac_cpp='$CXXCPP $CPPFLAGS'
46823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46826
46827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46828 /* end confdefs.h. */
46829 #include <math.h>
46830 #ifdef HAVE_IEEEFP_H
46831 #include <ieeefp.h>
46832 #endif
46833
46834 int
46835 main ()
46836 {
46837 expf(0);
46838 ;
46839 return 0;
46840 }
46841 _ACEOF
46842 if ac_fn_cxx_try_compile "$LINENO"; then :
46843 glibcxx_cv_func_expf_use=yes
46844 else
46845 glibcxx_cv_func_expf_use=no
46846 fi
46847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46848 ac_ext=c
46849 ac_cpp='$CPP $CPPFLAGS'
46850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46853
46854
46855 fi
46856
46857 fi
46858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46859 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46860
46861 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46862 for ac_func in expf
46863 do :
46864 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46865 if test "x$ac_cv_func_expf" = x""yes; then :
46866 cat >>confdefs.h <<_ACEOF
46867 #define HAVE_EXPF 1
46868 _ACEOF
46869
46870 fi
46871 done
46872
46873 else
46874
46875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46876 $as_echo_n "checking for _expf declaration... " >&6; }
46877 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46878 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46879 $as_echo_n "(cached) " >&6
46880 else
46881
46882
46883 ac_ext=cpp
46884 ac_cpp='$CXXCPP $CPPFLAGS'
46885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46888
46889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46890 /* end confdefs.h. */
46891 #include <math.h>
46892 #ifdef HAVE_IEEEFP_H
46893 #include <ieeefp.h>
46894 #endif
46895
46896 int
46897 main ()
46898 {
46899 _expf(0);
46900 ;
46901 return 0;
46902 }
46903 _ACEOF
46904 if ac_fn_cxx_try_compile "$LINENO"; then :
46905 glibcxx_cv_func__expf_use=yes
46906 else
46907 glibcxx_cv_func__expf_use=no
46908 fi
46909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46910 ac_ext=c
46911 ac_cpp='$CPP $CPPFLAGS'
46912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46915
46916
46917 fi
46918
46919 fi
46920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46921 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46922
46923 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46924 for ac_func in _expf
46925 do :
46926 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46927 if test "x$ac_cv_func__expf" = x""yes; then :
46928 cat >>confdefs.h <<_ACEOF
46929 #define HAVE__EXPF 1
46930 _ACEOF
46931
46932 fi
46933 done
46934
46935 fi
46936 fi
46937
46938
46939
46940
46941
46942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46943 $as_echo_n "checking for isnanf declaration... " >&6; }
46944 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46945 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46946 $as_echo_n "(cached) " >&6
46947 else
46948
46949
46950 ac_ext=cpp
46951 ac_cpp='$CXXCPP $CPPFLAGS'
46952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46955
46956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46957 /* end confdefs.h. */
46958 #include <math.h>
46959 #ifdef HAVE_IEEEFP_H
46960 #include <ieeefp.h>
46961 #endif
46962
46963 int
46964 main ()
46965 {
46966 isnanf(0);
46967 ;
46968 return 0;
46969 }
46970 _ACEOF
46971 if ac_fn_cxx_try_compile "$LINENO"; then :
46972 glibcxx_cv_func_isnanf_use=yes
46973 else
46974 glibcxx_cv_func_isnanf_use=no
46975 fi
46976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46977 ac_ext=c
46978 ac_cpp='$CPP $CPPFLAGS'
46979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46982
46983
46984 fi
46985
46986 fi
46987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46988 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46989
46990 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46991 for ac_func in isnanf
46992 do :
46993 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46994 if test "x$ac_cv_func_isnanf" = x""yes; then :
46995 cat >>confdefs.h <<_ACEOF
46996 #define HAVE_ISNANF 1
46997 _ACEOF
46998
46999 fi
47000 done
47001
47002 else
47003
47004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47005 $as_echo_n "checking for _isnanf declaration... " >&6; }
47006 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47007 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47008 $as_echo_n "(cached) " >&6
47009 else
47010
47011
47012 ac_ext=cpp
47013 ac_cpp='$CXXCPP $CPPFLAGS'
47014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47017
47018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47019 /* end confdefs.h. */
47020 #include <math.h>
47021 #ifdef HAVE_IEEEFP_H
47022 #include <ieeefp.h>
47023 #endif
47024
47025 int
47026 main ()
47027 {
47028 _isnanf(0);
47029 ;
47030 return 0;
47031 }
47032 _ACEOF
47033 if ac_fn_cxx_try_compile "$LINENO"; then :
47034 glibcxx_cv_func__isnanf_use=yes
47035 else
47036 glibcxx_cv_func__isnanf_use=no
47037 fi
47038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47039 ac_ext=c
47040 ac_cpp='$CPP $CPPFLAGS'
47041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47044
47045
47046 fi
47047
47048 fi
47049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47050 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47051
47052 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47053 for ac_func in _isnanf
47054 do :
47055 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47056 if test "x$ac_cv_func__isnanf" = x""yes; then :
47057 cat >>confdefs.h <<_ACEOF
47058 #define HAVE__ISNANF 1
47059 _ACEOF
47060
47061 fi
47062 done
47063
47064 fi
47065 fi
47066
47067
47068
47069
47070
47071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47072 $as_echo_n "checking for isinff declaration... " >&6; }
47073 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47074 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47075 $as_echo_n "(cached) " >&6
47076 else
47077
47078
47079 ac_ext=cpp
47080 ac_cpp='$CXXCPP $CPPFLAGS'
47081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47084
47085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47086 /* end confdefs.h. */
47087 #include <math.h>
47088 #ifdef HAVE_IEEEFP_H
47089 #include <ieeefp.h>
47090 #endif
47091
47092 int
47093 main ()
47094 {
47095 isinff(0);
47096 ;
47097 return 0;
47098 }
47099 _ACEOF
47100 if ac_fn_cxx_try_compile "$LINENO"; then :
47101 glibcxx_cv_func_isinff_use=yes
47102 else
47103 glibcxx_cv_func_isinff_use=no
47104 fi
47105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47106 ac_ext=c
47107 ac_cpp='$CPP $CPPFLAGS'
47108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47111
47112
47113 fi
47114
47115 fi
47116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47117 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47118
47119 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47120 for ac_func in isinff
47121 do :
47122 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47123 if test "x$ac_cv_func_isinff" = x""yes; then :
47124 cat >>confdefs.h <<_ACEOF
47125 #define HAVE_ISINFF 1
47126 _ACEOF
47127
47128 fi
47129 done
47130
47131 else
47132
47133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47134 $as_echo_n "checking for _isinff declaration... " >&6; }
47135 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47136 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47137 $as_echo_n "(cached) " >&6
47138 else
47139
47140
47141 ac_ext=cpp
47142 ac_cpp='$CXXCPP $CPPFLAGS'
47143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47146
47147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47148 /* end confdefs.h. */
47149 #include <math.h>
47150 #ifdef HAVE_IEEEFP_H
47151 #include <ieeefp.h>
47152 #endif
47153
47154 int
47155 main ()
47156 {
47157 _isinff(0);
47158 ;
47159 return 0;
47160 }
47161 _ACEOF
47162 if ac_fn_cxx_try_compile "$LINENO"; then :
47163 glibcxx_cv_func__isinff_use=yes
47164 else
47165 glibcxx_cv_func__isinff_use=no
47166 fi
47167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47168 ac_ext=c
47169 ac_cpp='$CPP $CPPFLAGS'
47170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47173
47174
47175 fi
47176
47177 fi
47178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47179 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47180
47181 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47182 for ac_func in _isinff
47183 do :
47184 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47185 if test "x$ac_cv_func__isinff" = x""yes; then :
47186 cat >>confdefs.h <<_ACEOF
47187 #define HAVE__ISINFF 1
47188 _ACEOF
47189
47190 fi
47191 done
47192
47193 fi
47194 fi
47195
47196
47197
47198
47199
47200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47201 $as_echo_n "checking for atan2f declaration... " >&6; }
47202 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47203 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47204 $as_echo_n "(cached) " >&6
47205 else
47206
47207
47208 ac_ext=cpp
47209 ac_cpp='$CXXCPP $CPPFLAGS'
47210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47213
47214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47215 /* end confdefs.h. */
47216 #include <math.h>
47217 int
47218 main ()
47219 {
47220 atan2f(0, 0);
47221 ;
47222 return 0;
47223 }
47224 _ACEOF
47225 if ac_fn_cxx_try_compile "$LINENO"; then :
47226 glibcxx_cv_func_atan2f_use=yes
47227 else
47228 glibcxx_cv_func_atan2f_use=no
47229 fi
47230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47231 ac_ext=c
47232 ac_cpp='$CPP $CPPFLAGS'
47233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47236
47237
47238 fi
47239
47240 fi
47241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47242 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47243
47244 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47245 for ac_func in atan2f
47246 do :
47247 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47248 if test "x$ac_cv_func_atan2f" = x""yes; then :
47249 cat >>confdefs.h <<_ACEOF
47250 #define HAVE_ATAN2F 1
47251 _ACEOF
47252
47253 fi
47254 done
47255
47256 else
47257
47258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47259 $as_echo_n "checking for _atan2f declaration... " >&6; }
47260 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47261 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47262 $as_echo_n "(cached) " >&6
47263 else
47264
47265
47266 ac_ext=cpp
47267 ac_cpp='$CXXCPP $CPPFLAGS'
47268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47271
47272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47273 /* end confdefs.h. */
47274 #include <math.h>
47275 int
47276 main ()
47277 {
47278 _atan2f(0, 0);
47279 ;
47280 return 0;
47281 }
47282 _ACEOF
47283 if ac_fn_cxx_try_compile "$LINENO"; then :
47284 glibcxx_cv_func__atan2f_use=yes
47285 else
47286 glibcxx_cv_func__atan2f_use=no
47287 fi
47288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47289 ac_ext=c
47290 ac_cpp='$CPP $CPPFLAGS'
47291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47294
47295
47296 fi
47297
47298 fi
47299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47300 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47301
47302 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47303 for ac_func in _atan2f
47304 do :
47305 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47306 if test "x$ac_cv_func__atan2f" = x""yes; then :
47307 cat >>confdefs.h <<_ACEOF
47308 #define HAVE__ATAN2F 1
47309 _ACEOF
47310
47311 fi
47312 done
47313
47314 fi
47315 fi
47316
47317
47318
47319
47320
47321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47322 $as_echo_n "checking for fabsf declaration... " >&6; }
47323 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47324 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47325 $as_echo_n "(cached) " >&6
47326 else
47327
47328
47329 ac_ext=cpp
47330 ac_cpp='$CXXCPP $CPPFLAGS'
47331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47334
47335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47336 /* end confdefs.h. */
47337 #include <math.h>
47338 #ifdef HAVE_IEEEFP_H
47339 #include <ieeefp.h>
47340 #endif
47341
47342 int
47343 main ()
47344 {
47345 fabsf(0);
47346 ;
47347 return 0;
47348 }
47349 _ACEOF
47350 if ac_fn_cxx_try_compile "$LINENO"; then :
47351 glibcxx_cv_func_fabsf_use=yes
47352 else
47353 glibcxx_cv_func_fabsf_use=no
47354 fi
47355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47356 ac_ext=c
47357 ac_cpp='$CPP $CPPFLAGS'
47358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47361
47362
47363 fi
47364
47365 fi
47366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47367 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47368
47369 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47370 for ac_func in fabsf
47371 do :
47372 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47373 if test "x$ac_cv_func_fabsf" = x""yes; then :
47374 cat >>confdefs.h <<_ACEOF
47375 #define HAVE_FABSF 1
47376 _ACEOF
47377
47378 fi
47379 done
47380
47381 else
47382
47383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47384 $as_echo_n "checking for _fabsf declaration... " >&6; }
47385 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47386 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47387 $as_echo_n "(cached) " >&6
47388 else
47389
47390
47391 ac_ext=cpp
47392 ac_cpp='$CXXCPP $CPPFLAGS'
47393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47396
47397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47398 /* end confdefs.h. */
47399 #include <math.h>
47400 #ifdef HAVE_IEEEFP_H
47401 #include <ieeefp.h>
47402 #endif
47403
47404 int
47405 main ()
47406 {
47407 _fabsf(0);
47408 ;
47409 return 0;
47410 }
47411 _ACEOF
47412 if ac_fn_cxx_try_compile "$LINENO"; then :
47413 glibcxx_cv_func__fabsf_use=yes
47414 else
47415 glibcxx_cv_func__fabsf_use=no
47416 fi
47417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47418 ac_ext=c
47419 ac_cpp='$CPP $CPPFLAGS'
47420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47423
47424
47425 fi
47426
47427 fi
47428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47429 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47430
47431 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47432 for ac_func in _fabsf
47433 do :
47434 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47435 if test "x$ac_cv_func__fabsf" = x""yes; then :
47436 cat >>confdefs.h <<_ACEOF
47437 #define HAVE__FABSF 1
47438 _ACEOF
47439
47440 fi
47441 done
47442
47443 fi
47444 fi
47445
47446
47447
47448
47449
47450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47451 $as_echo_n "checking for fmodf declaration... " >&6; }
47452 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47453 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47454 $as_echo_n "(cached) " >&6
47455 else
47456
47457
47458 ac_ext=cpp
47459 ac_cpp='$CXXCPP $CPPFLAGS'
47460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47463
47464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47465 /* end confdefs.h. */
47466 #include <math.h>
47467 int
47468 main ()
47469 {
47470 fmodf(0, 0);
47471 ;
47472 return 0;
47473 }
47474 _ACEOF
47475 if ac_fn_cxx_try_compile "$LINENO"; then :
47476 glibcxx_cv_func_fmodf_use=yes
47477 else
47478 glibcxx_cv_func_fmodf_use=no
47479 fi
47480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47481 ac_ext=c
47482 ac_cpp='$CPP $CPPFLAGS'
47483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47486
47487
47488 fi
47489
47490 fi
47491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47492 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47493
47494 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47495 for ac_func in fmodf
47496 do :
47497 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47498 if test "x$ac_cv_func_fmodf" = x""yes; then :
47499 cat >>confdefs.h <<_ACEOF
47500 #define HAVE_FMODF 1
47501 _ACEOF
47502
47503 fi
47504 done
47505
47506 else
47507
47508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47509 $as_echo_n "checking for _fmodf declaration... " >&6; }
47510 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47511 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47512 $as_echo_n "(cached) " >&6
47513 else
47514
47515
47516 ac_ext=cpp
47517 ac_cpp='$CXXCPP $CPPFLAGS'
47518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47521
47522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47523 /* end confdefs.h. */
47524 #include <math.h>
47525 int
47526 main ()
47527 {
47528 _fmodf(0, 0);
47529 ;
47530 return 0;
47531 }
47532 _ACEOF
47533 if ac_fn_cxx_try_compile "$LINENO"; then :
47534 glibcxx_cv_func__fmodf_use=yes
47535 else
47536 glibcxx_cv_func__fmodf_use=no
47537 fi
47538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47539 ac_ext=c
47540 ac_cpp='$CPP $CPPFLAGS'
47541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47544
47545
47546 fi
47547
47548 fi
47549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47550 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47551
47552 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47553 for ac_func in _fmodf
47554 do :
47555 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47556 if test "x$ac_cv_func__fmodf" = x""yes; then :
47557 cat >>confdefs.h <<_ACEOF
47558 #define HAVE__FMODF 1
47559 _ACEOF
47560
47561 fi
47562 done
47563
47564 fi
47565 fi
47566
47567
47568
47569
47570
47571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47572 $as_echo_n "checking for frexpf declaration... " >&6; }
47573 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47574 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47575 $as_echo_n "(cached) " >&6
47576 else
47577
47578
47579 ac_ext=cpp
47580 ac_cpp='$CXXCPP $CPPFLAGS'
47581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47584
47585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47586 /* end confdefs.h. */
47587 #include <math.h>
47588 int
47589 main ()
47590 {
47591 frexpf(0, 0);
47592 ;
47593 return 0;
47594 }
47595 _ACEOF
47596 if ac_fn_cxx_try_compile "$LINENO"; then :
47597 glibcxx_cv_func_frexpf_use=yes
47598 else
47599 glibcxx_cv_func_frexpf_use=no
47600 fi
47601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47602 ac_ext=c
47603 ac_cpp='$CPP $CPPFLAGS'
47604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47607
47608
47609 fi
47610
47611 fi
47612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47613 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47614
47615 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47616 for ac_func in frexpf
47617 do :
47618 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47619 if test "x$ac_cv_func_frexpf" = x""yes; then :
47620 cat >>confdefs.h <<_ACEOF
47621 #define HAVE_FREXPF 1
47622 _ACEOF
47623
47624 fi
47625 done
47626
47627 else
47628
47629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47630 $as_echo_n "checking for _frexpf declaration... " >&6; }
47631 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47632 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47633 $as_echo_n "(cached) " >&6
47634 else
47635
47636
47637 ac_ext=cpp
47638 ac_cpp='$CXXCPP $CPPFLAGS'
47639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47642
47643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47644 /* end confdefs.h. */
47645 #include <math.h>
47646 int
47647 main ()
47648 {
47649 _frexpf(0, 0);
47650 ;
47651 return 0;
47652 }
47653 _ACEOF
47654 if ac_fn_cxx_try_compile "$LINENO"; then :
47655 glibcxx_cv_func__frexpf_use=yes
47656 else
47657 glibcxx_cv_func__frexpf_use=no
47658 fi
47659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47660 ac_ext=c
47661 ac_cpp='$CPP $CPPFLAGS'
47662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47665
47666
47667 fi
47668
47669 fi
47670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47671 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47672
47673 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47674 for ac_func in _frexpf
47675 do :
47676 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47677 if test "x$ac_cv_func__frexpf" = x""yes; then :
47678 cat >>confdefs.h <<_ACEOF
47679 #define HAVE__FREXPF 1
47680 _ACEOF
47681
47682 fi
47683 done
47684
47685 fi
47686 fi
47687
47688
47689
47690
47691
47692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47693 $as_echo_n "checking for hypotf declaration... " >&6; }
47694 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47695 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47696 $as_echo_n "(cached) " >&6
47697 else
47698
47699
47700 ac_ext=cpp
47701 ac_cpp='$CXXCPP $CPPFLAGS'
47702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47705
47706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47707 /* end confdefs.h. */
47708 #include <math.h>
47709 int
47710 main ()
47711 {
47712 hypotf(0, 0);
47713 ;
47714 return 0;
47715 }
47716 _ACEOF
47717 if ac_fn_cxx_try_compile "$LINENO"; then :
47718 glibcxx_cv_func_hypotf_use=yes
47719 else
47720 glibcxx_cv_func_hypotf_use=no
47721 fi
47722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47723 ac_ext=c
47724 ac_cpp='$CPP $CPPFLAGS'
47725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47728
47729
47730 fi
47731
47732 fi
47733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47734 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47735
47736 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47737 for ac_func in hypotf
47738 do :
47739 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47740 if test "x$ac_cv_func_hypotf" = x""yes; then :
47741 cat >>confdefs.h <<_ACEOF
47742 #define HAVE_HYPOTF 1
47743 _ACEOF
47744
47745 fi
47746 done
47747
47748 else
47749
47750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47751 $as_echo_n "checking for _hypotf declaration... " >&6; }
47752 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47753 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47754 $as_echo_n "(cached) " >&6
47755 else
47756
47757
47758 ac_ext=cpp
47759 ac_cpp='$CXXCPP $CPPFLAGS'
47760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47763
47764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47765 /* end confdefs.h. */
47766 #include <math.h>
47767 int
47768 main ()
47769 {
47770 _hypotf(0, 0);
47771 ;
47772 return 0;
47773 }
47774 _ACEOF
47775 if ac_fn_cxx_try_compile "$LINENO"; then :
47776 glibcxx_cv_func__hypotf_use=yes
47777 else
47778 glibcxx_cv_func__hypotf_use=no
47779 fi
47780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47781 ac_ext=c
47782 ac_cpp='$CPP $CPPFLAGS'
47783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47786
47787
47788 fi
47789
47790 fi
47791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47792 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47793
47794 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47795 for ac_func in _hypotf
47796 do :
47797 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47798 if test "x$ac_cv_func__hypotf" = x""yes; then :
47799 cat >>confdefs.h <<_ACEOF
47800 #define HAVE__HYPOTF 1
47801 _ACEOF
47802
47803 fi
47804 done
47805
47806 fi
47807 fi
47808
47809
47810
47811
47812
47813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47814 $as_echo_n "checking for ldexpf declaration... " >&6; }
47815 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47816 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47817 $as_echo_n "(cached) " >&6
47818 else
47819
47820
47821 ac_ext=cpp
47822 ac_cpp='$CXXCPP $CPPFLAGS'
47823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47826
47827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47828 /* end confdefs.h. */
47829 #include <math.h>
47830 int
47831 main ()
47832 {
47833 ldexpf(0, 0);
47834 ;
47835 return 0;
47836 }
47837 _ACEOF
47838 if ac_fn_cxx_try_compile "$LINENO"; then :
47839 glibcxx_cv_func_ldexpf_use=yes
47840 else
47841 glibcxx_cv_func_ldexpf_use=no
47842 fi
47843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47844 ac_ext=c
47845 ac_cpp='$CPP $CPPFLAGS'
47846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47849
47850
47851 fi
47852
47853 fi
47854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47855 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47856
47857 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47858 for ac_func in ldexpf
47859 do :
47860 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47861 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47862 cat >>confdefs.h <<_ACEOF
47863 #define HAVE_LDEXPF 1
47864 _ACEOF
47865
47866 fi
47867 done
47868
47869 else
47870
47871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47872 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47873 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47874 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47875 $as_echo_n "(cached) " >&6
47876 else
47877
47878
47879 ac_ext=cpp
47880 ac_cpp='$CXXCPP $CPPFLAGS'
47881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47884
47885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47886 /* end confdefs.h. */
47887 #include <math.h>
47888 int
47889 main ()
47890 {
47891 _ldexpf(0, 0);
47892 ;
47893 return 0;
47894 }
47895 _ACEOF
47896 if ac_fn_cxx_try_compile "$LINENO"; then :
47897 glibcxx_cv_func__ldexpf_use=yes
47898 else
47899 glibcxx_cv_func__ldexpf_use=no
47900 fi
47901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47902 ac_ext=c
47903 ac_cpp='$CPP $CPPFLAGS'
47904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47907
47908
47909 fi
47910
47911 fi
47912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47913 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47914
47915 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47916 for ac_func in _ldexpf
47917 do :
47918 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47919 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47920 cat >>confdefs.h <<_ACEOF
47921 #define HAVE__LDEXPF 1
47922 _ACEOF
47923
47924 fi
47925 done
47926
47927 fi
47928 fi
47929
47930
47931
47932
47933
47934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47935 $as_echo_n "checking for logf declaration... " >&6; }
47936 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47937 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47938 $as_echo_n "(cached) " >&6
47939 else
47940
47941
47942 ac_ext=cpp
47943 ac_cpp='$CXXCPP $CPPFLAGS'
47944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47947
47948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47949 /* end confdefs.h. */
47950 #include <math.h>
47951 #ifdef HAVE_IEEEFP_H
47952 #include <ieeefp.h>
47953 #endif
47954
47955 int
47956 main ()
47957 {
47958 logf(0);
47959 ;
47960 return 0;
47961 }
47962 _ACEOF
47963 if ac_fn_cxx_try_compile "$LINENO"; then :
47964 glibcxx_cv_func_logf_use=yes
47965 else
47966 glibcxx_cv_func_logf_use=no
47967 fi
47968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47969 ac_ext=c
47970 ac_cpp='$CPP $CPPFLAGS'
47971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47974
47975
47976 fi
47977
47978 fi
47979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47980 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47981
47982 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47983 for ac_func in logf
47984 do :
47985 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47986 if test "x$ac_cv_func_logf" = x""yes; then :
47987 cat >>confdefs.h <<_ACEOF
47988 #define HAVE_LOGF 1
47989 _ACEOF
47990
47991 fi
47992 done
47993
47994 else
47995
47996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47997 $as_echo_n "checking for _logf declaration... " >&6; }
47998 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47999 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48000 $as_echo_n "(cached) " >&6
48001 else
48002
48003
48004 ac_ext=cpp
48005 ac_cpp='$CXXCPP $CPPFLAGS'
48006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48009
48010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48011 /* end confdefs.h. */
48012 #include <math.h>
48013 #ifdef HAVE_IEEEFP_H
48014 #include <ieeefp.h>
48015 #endif
48016
48017 int
48018 main ()
48019 {
48020 _logf(0);
48021 ;
48022 return 0;
48023 }
48024 _ACEOF
48025 if ac_fn_cxx_try_compile "$LINENO"; then :
48026 glibcxx_cv_func__logf_use=yes
48027 else
48028 glibcxx_cv_func__logf_use=no
48029 fi
48030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48031 ac_ext=c
48032 ac_cpp='$CPP $CPPFLAGS'
48033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48036
48037
48038 fi
48039
48040 fi
48041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48042 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48043
48044 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48045 for ac_func in _logf
48046 do :
48047 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48048 if test "x$ac_cv_func__logf" = x""yes; then :
48049 cat >>confdefs.h <<_ACEOF
48050 #define HAVE__LOGF 1
48051 _ACEOF
48052
48053 fi
48054 done
48055
48056 fi
48057 fi
48058
48059
48060
48061
48062
48063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48064 $as_echo_n "checking for log10f declaration... " >&6; }
48065 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48066 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48067 $as_echo_n "(cached) " >&6
48068 else
48069
48070
48071 ac_ext=cpp
48072 ac_cpp='$CXXCPP $CPPFLAGS'
48073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48076
48077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48078 /* end confdefs.h. */
48079 #include <math.h>
48080 #ifdef HAVE_IEEEFP_H
48081 #include <ieeefp.h>
48082 #endif
48083
48084 int
48085 main ()
48086 {
48087 log10f(0);
48088 ;
48089 return 0;
48090 }
48091 _ACEOF
48092 if ac_fn_cxx_try_compile "$LINENO"; then :
48093 glibcxx_cv_func_log10f_use=yes
48094 else
48095 glibcxx_cv_func_log10f_use=no
48096 fi
48097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48098 ac_ext=c
48099 ac_cpp='$CPP $CPPFLAGS'
48100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48103
48104
48105 fi
48106
48107 fi
48108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48109 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48110
48111 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48112 for ac_func in log10f
48113 do :
48114 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48115 if test "x$ac_cv_func_log10f" = x""yes; then :
48116 cat >>confdefs.h <<_ACEOF
48117 #define HAVE_LOG10F 1
48118 _ACEOF
48119
48120 fi
48121 done
48122
48123 else
48124
48125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48126 $as_echo_n "checking for _log10f declaration... " >&6; }
48127 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48128 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48129 $as_echo_n "(cached) " >&6
48130 else
48131
48132
48133 ac_ext=cpp
48134 ac_cpp='$CXXCPP $CPPFLAGS'
48135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48138
48139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48140 /* end confdefs.h. */
48141 #include <math.h>
48142 #ifdef HAVE_IEEEFP_H
48143 #include <ieeefp.h>
48144 #endif
48145
48146 int
48147 main ()
48148 {
48149 _log10f(0);
48150 ;
48151 return 0;
48152 }
48153 _ACEOF
48154 if ac_fn_cxx_try_compile "$LINENO"; then :
48155 glibcxx_cv_func__log10f_use=yes
48156 else
48157 glibcxx_cv_func__log10f_use=no
48158 fi
48159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48160 ac_ext=c
48161 ac_cpp='$CPP $CPPFLAGS'
48162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48165
48166
48167 fi
48168
48169 fi
48170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48171 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48172
48173 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48174 for ac_func in _log10f
48175 do :
48176 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48177 if test "x$ac_cv_func__log10f" = x""yes; then :
48178 cat >>confdefs.h <<_ACEOF
48179 #define HAVE__LOG10F 1
48180 _ACEOF
48181
48182 fi
48183 done
48184
48185 fi
48186 fi
48187
48188
48189
48190
48191
48192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48193 $as_echo_n "checking for modff declaration... " >&6; }
48194 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48195 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48196 $as_echo_n "(cached) " >&6
48197 else
48198
48199
48200 ac_ext=cpp
48201 ac_cpp='$CXXCPP $CPPFLAGS'
48202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48205
48206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48207 /* end confdefs.h. */
48208 #include <math.h>
48209 int
48210 main ()
48211 {
48212 modff(0, 0);
48213 ;
48214 return 0;
48215 }
48216 _ACEOF
48217 if ac_fn_cxx_try_compile "$LINENO"; then :
48218 glibcxx_cv_func_modff_use=yes
48219 else
48220 glibcxx_cv_func_modff_use=no
48221 fi
48222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48223 ac_ext=c
48224 ac_cpp='$CPP $CPPFLAGS'
48225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48228
48229
48230 fi
48231
48232 fi
48233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48234 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48235
48236 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48237 for ac_func in modff
48238 do :
48239 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48240 if test "x$ac_cv_func_modff" = x""yes; then :
48241 cat >>confdefs.h <<_ACEOF
48242 #define HAVE_MODFF 1
48243 _ACEOF
48244
48245 fi
48246 done
48247
48248 else
48249
48250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48251 $as_echo_n "checking for _modff declaration... " >&6; }
48252 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48253 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48254 $as_echo_n "(cached) " >&6
48255 else
48256
48257
48258 ac_ext=cpp
48259 ac_cpp='$CXXCPP $CPPFLAGS'
48260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48263
48264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48265 /* end confdefs.h. */
48266 #include <math.h>
48267 int
48268 main ()
48269 {
48270 _modff(0, 0);
48271 ;
48272 return 0;
48273 }
48274 _ACEOF
48275 if ac_fn_cxx_try_compile "$LINENO"; then :
48276 glibcxx_cv_func__modff_use=yes
48277 else
48278 glibcxx_cv_func__modff_use=no
48279 fi
48280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48281 ac_ext=c
48282 ac_cpp='$CPP $CPPFLAGS'
48283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48286
48287
48288 fi
48289
48290 fi
48291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48292 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48293
48294 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48295 for ac_func in _modff
48296 do :
48297 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48298 if test "x$ac_cv_func__modff" = x""yes; then :
48299 cat >>confdefs.h <<_ACEOF
48300 #define HAVE__MODFF 1
48301 _ACEOF
48302
48303 fi
48304 done
48305
48306 fi
48307 fi
48308
48309
48310
48311
48312
48313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48314 $as_echo_n "checking for modf declaration... " >&6; }
48315 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48316 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48317 $as_echo_n "(cached) " >&6
48318 else
48319
48320
48321 ac_ext=cpp
48322 ac_cpp='$CXXCPP $CPPFLAGS'
48323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48326
48327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48328 /* end confdefs.h. */
48329 #include <math.h>
48330 int
48331 main ()
48332 {
48333 modf(0, 0);
48334 ;
48335 return 0;
48336 }
48337 _ACEOF
48338 if ac_fn_cxx_try_compile "$LINENO"; then :
48339 glibcxx_cv_func_modf_use=yes
48340 else
48341 glibcxx_cv_func_modf_use=no
48342 fi
48343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48344 ac_ext=c
48345 ac_cpp='$CPP $CPPFLAGS'
48346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48349
48350
48351 fi
48352
48353 fi
48354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48355 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48356
48357 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48358 for ac_func in modf
48359 do :
48360 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48361 if test "x$ac_cv_func_modf" = x""yes; then :
48362 cat >>confdefs.h <<_ACEOF
48363 #define HAVE_MODF 1
48364 _ACEOF
48365
48366 fi
48367 done
48368
48369 else
48370
48371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48372 $as_echo_n "checking for _modf declaration... " >&6; }
48373 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48374 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48375 $as_echo_n "(cached) " >&6
48376 else
48377
48378
48379 ac_ext=cpp
48380 ac_cpp='$CXXCPP $CPPFLAGS'
48381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48384
48385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48386 /* end confdefs.h. */
48387 #include <math.h>
48388 int
48389 main ()
48390 {
48391 _modf(0, 0);
48392 ;
48393 return 0;
48394 }
48395 _ACEOF
48396 if ac_fn_cxx_try_compile "$LINENO"; then :
48397 glibcxx_cv_func__modf_use=yes
48398 else
48399 glibcxx_cv_func__modf_use=no
48400 fi
48401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48402 ac_ext=c
48403 ac_cpp='$CPP $CPPFLAGS'
48404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48407
48408
48409 fi
48410
48411 fi
48412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48413 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48414
48415 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48416 for ac_func in _modf
48417 do :
48418 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48419 if test "x$ac_cv_func__modf" = x""yes; then :
48420 cat >>confdefs.h <<_ACEOF
48421 #define HAVE__MODF 1
48422 _ACEOF
48423
48424 fi
48425 done
48426
48427 fi
48428 fi
48429
48430
48431
48432
48433
48434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48435 $as_echo_n "checking for powf declaration... " >&6; }
48436 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48437 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48438 $as_echo_n "(cached) " >&6
48439 else
48440
48441
48442 ac_ext=cpp
48443 ac_cpp='$CXXCPP $CPPFLAGS'
48444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48447
48448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48449 /* end confdefs.h. */
48450 #include <math.h>
48451 int
48452 main ()
48453 {
48454 powf(0, 0);
48455 ;
48456 return 0;
48457 }
48458 _ACEOF
48459 if ac_fn_cxx_try_compile "$LINENO"; then :
48460 glibcxx_cv_func_powf_use=yes
48461 else
48462 glibcxx_cv_func_powf_use=no
48463 fi
48464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48465 ac_ext=c
48466 ac_cpp='$CPP $CPPFLAGS'
48467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48470
48471
48472 fi
48473
48474 fi
48475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48476 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48477
48478 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48479 for ac_func in powf
48480 do :
48481 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48482 if test "x$ac_cv_func_powf" = x""yes; then :
48483 cat >>confdefs.h <<_ACEOF
48484 #define HAVE_POWF 1
48485 _ACEOF
48486
48487 fi
48488 done
48489
48490 else
48491
48492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48493 $as_echo_n "checking for _powf declaration... " >&6; }
48494 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48495 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48496 $as_echo_n "(cached) " >&6
48497 else
48498
48499
48500 ac_ext=cpp
48501 ac_cpp='$CXXCPP $CPPFLAGS'
48502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48505
48506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48507 /* end confdefs.h. */
48508 #include <math.h>
48509 int
48510 main ()
48511 {
48512 _powf(0, 0);
48513 ;
48514 return 0;
48515 }
48516 _ACEOF
48517 if ac_fn_cxx_try_compile "$LINENO"; then :
48518 glibcxx_cv_func__powf_use=yes
48519 else
48520 glibcxx_cv_func__powf_use=no
48521 fi
48522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48523 ac_ext=c
48524 ac_cpp='$CPP $CPPFLAGS'
48525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48528
48529
48530 fi
48531
48532 fi
48533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48534 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48535
48536 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48537 for ac_func in _powf
48538 do :
48539 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48540 if test "x$ac_cv_func__powf" = x""yes; then :
48541 cat >>confdefs.h <<_ACEOF
48542 #define HAVE__POWF 1
48543 _ACEOF
48544
48545 fi
48546 done
48547
48548 fi
48549 fi
48550
48551
48552
48553
48554
48555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48556 $as_echo_n "checking for sqrtf declaration... " >&6; }
48557 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48558 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48559 $as_echo_n "(cached) " >&6
48560 else
48561
48562
48563 ac_ext=cpp
48564 ac_cpp='$CXXCPP $CPPFLAGS'
48565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48568
48569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48570 /* end confdefs.h. */
48571 #include <math.h>
48572 #ifdef HAVE_IEEEFP_H
48573 #include <ieeefp.h>
48574 #endif
48575
48576 int
48577 main ()
48578 {
48579 sqrtf(0);
48580 ;
48581 return 0;
48582 }
48583 _ACEOF
48584 if ac_fn_cxx_try_compile "$LINENO"; then :
48585 glibcxx_cv_func_sqrtf_use=yes
48586 else
48587 glibcxx_cv_func_sqrtf_use=no
48588 fi
48589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48590 ac_ext=c
48591 ac_cpp='$CPP $CPPFLAGS'
48592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48595
48596
48597 fi
48598
48599 fi
48600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48601 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48602
48603 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48604 for ac_func in sqrtf
48605 do :
48606 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48607 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48608 cat >>confdefs.h <<_ACEOF
48609 #define HAVE_SQRTF 1
48610 _ACEOF
48611
48612 fi
48613 done
48614
48615 else
48616
48617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48618 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48619 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48620 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48621 $as_echo_n "(cached) " >&6
48622 else
48623
48624
48625 ac_ext=cpp
48626 ac_cpp='$CXXCPP $CPPFLAGS'
48627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48630
48631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48632 /* end confdefs.h. */
48633 #include <math.h>
48634 #ifdef HAVE_IEEEFP_H
48635 #include <ieeefp.h>
48636 #endif
48637
48638 int
48639 main ()
48640 {
48641 _sqrtf(0);
48642 ;
48643 return 0;
48644 }
48645 _ACEOF
48646 if ac_fn_cxx_try_compile "$LINENO"; then :
48647 glibcxx_cv_func__sqrtf_use=yes
48648 else
48649 glibcxx_cv_func__sqrtf_use=no
48650 fi
48651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48652 ac_ext=c
48653 ac_cpp='$CPP $CPPFLAGS'
48654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48657
48658
48659 fi
48660
48661 fi
48662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48663 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48664
48665 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48666 for ac_func in _sqrtf
48667 do :
48668 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48669 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48670 cat >>confdefs.h <<_ACEOF
48671 #define HAVE__SQRTF 1
48672 _ACEOF
48673
48674 fi
48675 done
48676
48677 fi
48678 fi
48679
48680
48681
48682
48683
48684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48685 $as_echo_n "checking for sincosf declaration... " >&6; }
48686 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48687 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48688 $as_echo_n "(cached) " >&6
48689 else
48690
48691
48692 ac_ext=cpp
48693 ac_cpp='$CXXCPP $CPPFLAGS'
48694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48697
48698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48699 /* end confdefs.h. */
48700 #include <math.h>
48701 int
48702 main ()
48703 {
48704 sincosf(0, 0, 0);
48705 ;
48706 return 0;
48707 }
48708 _ACEOF
48709 if ac_fn_cxx_try_compile "$LINENO"; then :
48710 glibcxx_cv_func_sincosf_use=yes
48711 else
48712 glibcxx_cv_func_sincosf_use=no
48713 fi
48714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48715 ac_ext=c
48716 ac_cpp='$CPP $CPPFLAGS'
48717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48720
48721
48722 fi
48723
48724 fi
48725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48726 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48727
48728 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48729 for ac_func in sincosf
48730 do :
48731 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48732 if test "x$ac_cv_func_sincosf" = x""yes; then :
48733 cat >>confdefs.h <<_ACEOF
48734 #define HAVE_SINCOSF 1
48735 _ACEOF
48736
48737 fi
48738 done
48739
48740 else
48741
48742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48743 $as_echo_n "checking for _sincosf declaration... " >&6; }
48744 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48745 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48746 $as_echo_n "(cached) " >&6
48747 else
48748
48749
48750 ac_ext=cpp
48751 ac_cpp='$CXXCPP $CPPFLAGS'
48752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48755
48756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48757 /* end confdefs.h. */
48758 #include <math.h>
48759 int
48760 main ()
48761 {
48762 _sincosf(0, 0, 0);
48763 ;
48764 return 0;
48765 }
48766 _ACEOF
48767 if ac_fn_cxx_try_compile "$LINENO"; then :
48768 glibcxx_cv_func__sincosf_use=yes
48769 else
48770 glibcxx_cv_func__sincosf_use=no
48771 fi
48772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48773 ac_ext=c
48774 ac_cpp='$CPP $CPPFLAGS'
48775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48778
48779
48780 fi
48781
48782 fi
48783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48784 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48785
48786 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48787 for ac_func in _sincosf
48788 do :
48789 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48790 if test "x$ac_cv_func__sincosf" = x""yes; then :
48791 cat >>confdefs.h <<_ACEOF
48792 #define HAVE__SINCOSF 1
48793 _ACEOF
48794
48795 fi
48796 done
48797
48798 fi
48799 fi
48800
48801
48802
48803
48804
48805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48806 $as_echo_n "checking for finitef declaration... " >&6; }
48807 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48808 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48809 $as_echo_n "(cached) " >&6
48810 else
48811
48812
48813 ac_ext=cpp
48814 ac_cpp='$CXXCPP $CPPFLAGS'
48815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48818
48819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48820 /* end confdefs.h. */
48821 #include <math.h>
48822 #ifdef HAVE_IEEEFP_H
48823 #include <ieeefp.h>
48824 #endif
48825
48826 int
48827 main ()
48828 {
48829 finitef(0);
48830 ;
48831 return 0;
48832 }
48833 _ACEOF
48834 if ac_fn_cxx_try_compile "$LINENO"; then :
48835 glibcxx_cv_func_finitef_use=yes
48836 else
48837 glibcxx_cv_func_finitef_use=no
48838 fi
48839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48840 ac_ext=c
48841 ac_cpp='$CPP $CPPFLAGS'
48842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48845
48846
48847 fi
48848
48849 fi
48850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48851 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48852
48853 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48854 for ac_func in finitef
48855 do :
48856 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48857 if test "x$ac_cv_func_finitef" = x""yes; then :
48858 cat >>confdefs.h <<_ACEOF
48859 #define HAVE_FINITEF 1
48860 _ACEOF
48861
48862 fi
48863 done
48864
48865 else
48866
48867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48868 $as_echo_n "checking for _finitef declaration... " >&6; }
48869 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48870 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48871 $as_echo_n "(cached) " >&6
48872 else
48873
48874
48875 ac_ext=cpp
48876 ac_cpp='$CXXCPP $CPPFLAGS'
48877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48880
48881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48882 /* end confdefs.h. */
48883 #include <math.h>
48884 #ifdef HAVE_IEEEFP_H
48885 #include <ieeefp.h>
48886 #endif
48887
48888 int
48889 main ()
48890 {
48891 _finitef(0);
48892 ;
48893 return 0;
48894 }
48895 _ACEOF
48896 if ac_fn_cxx_try_compile "$LINENO"; then :
48897 glibcxx_cv_func__finitef_use=yes
48898 else
48899 glibcxx_cv_func__finitef_use=no
48900 fi
48901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48902 ac_ext=c
48903 ac_cpp='$CPP $CPPFLAGS'
48904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48907
48908
48909 fi
48910
48911 fi
48912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48913 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48914
48915 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48916 for ac_func in _finitef
48917 do :
48918 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48919 if test "x$ac_cv_func__finitef" = x""yes; then :
48920 cat >>confdefs.h <<_ACEOF
48921 #define HAVE__FINITEF 1
48922 _ACEOF
48923
48924 fi
48925 done
48926
48927 fi
48928 fi
48929
48930
48931
48932
48933
48934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48935 $as_echo_n "checking for long double trig functions... " >&6; }
48936 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48937 $as_echo_n "(cached) " >&6
48938 else
48939
48940
48941 ac_ext=cpp
48942 ac_cpp='$CXXCPP $CPPFLAGS'
48943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48946
48947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48948 /* end confdefs.h. */
48949 #include <math.h>
48950 int
48951 main ()
48952 {
48953 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48954 ;
48955 return 0;
48956 }
48957 _ACEOF
48958 if ac_fn_cxx_try_compile "$LINENO"; then :
48959 glibcxx_cv_func_long_double_trig_use=yes
48960 else
48961 glibcxx_cv_func_long_double_trig_use=no
48962 fi
48963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48964 ac_ext=c
48965 ac_cpp='$CPP $CPPFLAGS'
48966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48969
48970 fi
48971
48972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48973 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48974 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48975 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48976 do :
48977 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48978 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48979 eval as_val=\$$as_ac_var
48980 if test "x$as_val" = x""yes; then :
48981 cat >>confdefs.h <<_ACEOF
48982 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48983 _ACEOF
48984
48985 fi
48986 done
48987
48988 else
48989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48990 $as_echo_n "checking for _long double trig functions... " >&6; }
48991 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48992 $as_echo_n "(cached) " >&6
48993 else
48994
48995
48996 ac_ext=cpp
48997 ac_cpp='$CXXCPP $CPPFLAGS'
48998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49001
49002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49003 /* end confdefs.h. */
49004 #include <math.h>
49005 int
49006 main ()
49007 {
49008 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49009 ;
49010 return 0;
49011 }
49012 _ACEOF
49013 if ac_fn_cxx_try_compile "$LINENO"; then :
49014 glibcxx_cv_func__long_double_trig_use=yes
49015 else
49016 glibcxx_cv_func__long_double_trig_use=no
49017 fi
49018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49019 ac_ext=c
49020 ac_cpp='$CPP $CPPFLAGS'
49021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49024
49025 fi
49026
49027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49028 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49029 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49030 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49031 do :
49032 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49033 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49034 eval as_val=\$$as_ac_var
49035 if test "x$as_val" = x""yes; then :
49036 cat >>confdefs.h <<_ACEOF
49037 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49038 _ACEOF
49039
49040 fi
49041 done
49042
49043 fi
49044 fi
49045
49046
49047
49048
49049
49050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49051 $as_echo_n "checking for long double round functions... " >&6; }
49052 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49053 $as_echo_n "(cached) " >&6
49054 else
49055
49056
49057 ac_ext=cpp
49058 ac_cpp='$CXXCPP $CPPFLAGS'
49059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49062
49063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49064 /* end confdefs.h. */
49065 #include <math.h>
49066 int
49067 main ()
49068 {
49069 ceill (0); floorl (0);
49070 ;
49071 return 0;
49072 }
49073 _ACEOF
49074 if ac_fn_cxx_try_compile "$LINENO"; then :
49075 glibcxx_cv_func_long_double_round_use=yes
49076 else
49077 glibcxx_cv_func_long_double_round_use=no
49078 fi
49079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49080 ac_ext=c
49081 ac_cpp='$CPP $CPPFLAGS'
49082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49085
49086 fi
49087
49088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49089 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49090 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49091 for ac_func in ceill floorl
49092 do :
49093 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49094 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49095 eval as_val=\$$as_ac_var
49096 if test "x$as_val" = x""yes; then :
49097 cat >>confdefs.h <<_ACEOF
49098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49099 _ACEOF
49100
49101 fi
49102 done
49103
49104 else
49105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49106 $as_echo_n "checking for _long double round functions... " >&6; }
49107 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49108 $as_echo_n "(cached) " >&6
49109 else
49110
49111
49112 ac_ext=cpp
49113 ac_cpp='$CXXCPP $CPPFLAGS'
49114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49117
49118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49119 /* end confdefs.h. */
49120 #include <math.h>
49121 int
49122 main ()
49123 {
49124 _ceill (0); _floorl (0);
49125 ;
49126 return 0;
49127 }
49128 _ACEOF
49129 if ac_fn_cxx_try_compile "$LINENO"; then :
49130 glibcxx_cv_func__long_double_round_use=yes
49131 else
49132 glibcxx_cv_func__long_double_round_use=no
49133 fi
49134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49135 ac_ext=c
49136 ac_cpp='$CPP $CPPFLAGS'
49137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49140
49141 fi
49142
49143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49144 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49145 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49146 for ac_func in _ceill _floorl
49147 do :
49148 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49149 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49150 eval as_val=\$$as_ac_var
49151 if test "x$as_val" = x""yes; then :
49152 cat >>confdefs.h <<_ACEOF
49153 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49154 _ACEOF
49155
49156 fi
49157 done
49158
49159 fi
49160 fi
49161
49162
49163
49164
49165
49166
49167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49168 $as_echo_n "checking for isnanl declaration... " >&6; }
49169 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49170 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49171 $as_echo_n "(cached) " >&6
49172 else
49173
49174
49175 ac_ext=cpp
49176 ac_cpp='$CXXCPP $CPPFLAGS'
49177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49180
49181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49182 /* end confdefs.h. */
49183 #include <math.h>
49184 #ifdef HAVE_IEEEFP_H
49185 #include <ieeefp.h>
49186 #endif
49187
49188 int
49189 main ()
49190 {
49191 isnanl(0);
49192 ;
49193 return 0;
49194 }
49195 _ACEOF
49196 if ac_fn_cxx_try_compile "$LINENO"; then :
49197 glibcxx_cv_func_isnanl_use=yes
49198 else
49199 glibcxx_cv_func_isnanl_use=no
49200 fi
49201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49202 ac_ext=c
49203 ac_cpp='$CPP $CPPFLAGS'
49204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49207
49208
49209 fi
49210
49211 fi
49212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49213 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49214
49215 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49216 for ac_func in isnanl
49217 do :
49218 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49219 if test "x$ac_cv_func_isnanl" = x""yes; then :
49220 cat >>confdefs.h <<_ACEOF
49221 #define HAVE_ISNANL 1
49222 _ACEOF
49223
49224 fi
49225 done
49226
49227 else
49228
49229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49230 $as_echo_n "checking for _isnanl declaration... " >&6; }
49231 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49232 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49233 $as_echo_n "(cached) " >&6
49234 else
49235
49236
49237 ac_ext=cpp
49238 ac_cpp='$CXXCPP $CPPFLAGS'
49239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49242
49243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49244 /* end confdefs.h. */
49245 #include <math.h>
49246 #ifdef HAVE_IEEEFP_H
49247 #include <ieeefp.h>
49248 #endif
49249
49250 int
49251 main ()
49252 {
49253 _isnanl(0);
49254 ;
49255 return 0;
49256 }
49257 _ACEOF
49258 if ac_fn_cxx_try_compile "$LINENO"; then :
49259 glibcxx_cv_func__isnanl_use=yes
49260 else
49261 glibcxx_cv_func__isnanl_use=no
49262 fi
49263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49264 ac_ext=c
49265 ac_cpp='$CPP $CPPFLAGS'
49266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49269
49270
49271 fi
49272
49273 fi
49274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49275 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49276
49277 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49278 for ac_func in _isnanl
49279 do :
49280 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49281 if test "x$ac_cv_func__isnanl" = x""yes; then :
49282 cat >>confdefs.h <<_ACEOF
49283 #define HAVE__ISNANL 1
49284 _ACEOF
49285
49286 fi
49287 done
49288
49289 fi
49290 fi
49291
49292
49293
49294
49295
49296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49297 $as_echo_n "checking for isinfl declaration... " >&6; }
49298 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49299 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49300 $as_echo_n "(cached) " >&6
49301 else
49302
49303
49304 ac_ext=cpp
49305 ac_cpp='$CXXCPP $CPPFLAGS'
49306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49309
49310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49311 /* end confdefs.h. */
49312 #include <math.h>
49313 #ifdef HAVE_IEEEFP_H
49314 #include <ieeefp.h>
49315 #endif
49316
49317 int
49318 main ()
49319 {
49320 isinfl(0);
49321 ;
49322 return 0;
49323 }
49324 _ACEOF
49325 if ac_fn_cxx_try_compile "$LINENO"; then :
49326 glibcxx_cv_func_isinfl_use=yes
49327 else
49328 glibcxx_cv_func_isinfl_use=no
49329 fi
49330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49331 ac_ext=c
49332 ac_cpp='$CPP $CPPFLAGS'
49333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49336
49337
49338 fi
49339
49340 fi
49341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49342 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49343
49344 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49345 for ac_func in isinfl
49346 do :
49347 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49348 if test "x$ac_cv_func_isinfl" = x""yes; then :
49349 cat >>confdefs.h <<_ACEOF
49350 #define HAVE_ISINFL 1
49351 _ACEOF
49352
49353 fi
49354 done
49355
49356 else
49357
49358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49359 $as_echo_n "checking for _isinfl declaration... " >&6; }
49360 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49361 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49362 $as_echo_n "(cached) " >&6
49363 else
49364
49365
49366 ac_ext=cpp
49367 ac_cpp='$CXXCPP $CPPFLAGS'
49368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49371
49372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49373 /* end confdefs.h. */
49374 #include <math.h>
49375 #ifdef HAVE_IEEEFP_H
49376 #include <ieeefp.h>
49377 #endif
49378
49379 int
49380 main ()
49381 {
49382 _isinfl(0);
49383 ;
49384 return 0;
49385 }
49386 _ACEOF
49387 if ac_fn_cxx_try_compile "$LINENO"; then :
49388 glibcxx_cv_func__isinfl_use=yes
49389 else
49390 glibcxx_cv_func__isinfl_use=no
49391 fi
49392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49393 ac_ext=c
49394 ac_cpp='$CPP $CPPFLAGS'
49395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49398
49399
49400 fi
49401
49402 fi
49403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49404 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49405
49406 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49407 for ac_func in _isinfl
49408 do :
49409 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49410 if test "x$ac_cv_func__isinfl" = x""yes; then :
49411 cat >>confdefs.h <<_ACEOF
49412 #define HAVE__ISINFL 1
49413 _ACEOF
49414
49415 fi
49416 done
49417
49418 fi
49419 fi
49420
49421
49422
49423
49424
49425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49426 $as_echo_n "checking for atan2l declaration... " >&6; }
49427 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49428 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49429 $as_echo_n "(cached) " >&6
49430 else
49431
49432
49433 ac_ext=cpp
49434 ac_cpp='$CXXCPP $CPPFLAGS'
49435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49438
49439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49440 /* end confdefs.h. */
49441 #include <math.h>
49442 int
49443 main ()
49444 {
49445 atan2l(0, 0);
49446 ;
49447 return 0;
49448 }
49449 _ACEOF
49450 if ac_fn_cxx_try_compile "$LINENO"; then :
49451 glibcxx_cv_func_atan2l_use=yes
49452 else
49453 glibcxx_cv_func_atan2l_use=no
49454 fi
49455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49456 ac_ext=c
49457 ac_cpp='$CPP $CPPFLAGS'
49458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49461
49462
49463 fi
49464
49465 fi
49466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49467 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49468
49469 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49470 for ac_func in atan2l
49471 do :
49472 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49473 if test "x$ac_cv_func_atan2l" = x""yes; then :
49474 cat >>confdefs.h <<_ACEOF
49475 #define HAVE_ATAN2L 1
49476 _ACEOF
49477
49478 fi
49479 done
49480
49481 else
49482
49483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49484 $as_echo_n "checking for _atan2l declaration... " >&6; }
49485 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49486 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49487 $as_echo_n "(cached) " >&6
49488 else
49489
49490
49491 ac_ext=cpp
49492 ac_cpp='$CXXCPP $CPPFLAGS'
49493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49496
49497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49498 /* end confdefs.h. */
49499 #include <math.h>
49500 int
49501 main ()
49502 {
49503 _atan2l(0, 0);
49504 ;
49505 return 0;
49506 }
49507 _ACEOF
49508 if ac_fn_cxx_try_compile "$LINENO"; then :
49509 glibcxx_cv_func__atan2l_use=yes
49510 else
49511 glibcxx_cv_func__atan2l_use=no
49512 fi
49513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49514 ac_ext=c
49515 ac_cpp='$CPP $CPPFLAGS'
49516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49519
49520
49521 fi
49522
49523 fi
49524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49525 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49526
49527 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49528 for ac_func in _atan2l
49529 do :
49530 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49531 if test "x$ac_cv_func__atan2l" = x""yes; then :
49532 cat >>confdefs.h <<_ACEOF
49533 #define HAVE__ATAN2L 1
49534 _ACEOF
49535
49536 fi
49537 done
49538
49539 fi
49540 fi
49541
49542
49543
49544
49545
49546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49547 $as_echo_n "checking for expl declaration... " >&6; }
49548 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49549 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49550 $as_echo_n "(cached) " >&6
49551 else
49552
49553
49554 ac_ext=cpp
49555 ac_cpp='$CXXCPP $CPPFLAGS'
49556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49559
49560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49561 /* end confdefs.h. */
49562 #include <math.h>
49563 #ifdef HAVE_IEEEFP_H
49564 #include <ieeefp.h>
49565 #endif
49566
49567 int
49568 main ()
49569 {
49570 expl(0);
49571 ;
49572 return 0;
49573 }
49574 _ACEOF
49575 if ac_fn_cxx_try_compile "$LINENO"; then :
49576 glibcxx_cv_func_expl_use=yes
49577 else
49578 glibcxx_cv_func_expl_use=no
49579 fi
49580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49581 ac_ext=c
49582 ac_cpp='$CPP $CPPFLAGS'
49583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49586
49587
49588 fi
49589
49590 fi
49591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49592 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49593
49594 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49595 for ac_func in expl
49596 do :
49597 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49598 if test "x$ac_cv_func_expl" = x""yes; then :
49599 cat >>confdefs.h <<_ACEOF
49600 #define HAVE_EXPL 1
49601 _ACEOF
49602
49603 fi
49604 done
49605
49606 else
49607
49608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49609 $as_echo_n "checking for _expl declaration... " >&6; }
49610 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49611 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49612 $as_echo_n "(cached) " >&6
49613 else
49614
49615
49616 ac_ext=cpp
49617 ac_cpp='$CXXCPP $CPPFLAGS'
49618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49621
49622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49623 /* end confdefs.h. */
49624 #include <math.h>
49625 #ifdef HAVE_IEEEFP_H
49626 #include <ieeefp.h>
49627 #endif
49628
49629 int
49630 main ()
49631 {
49632 _expl(0);
49633 ;
49634 return 0;
49635 }
49636 _ACEOF
49637 if ac_fn_cxx_try_compile "$LINENO"; then :
49638 glibcxx_cv_func__expl_use=yes
49639 else
49640 glibcxx_cv_func__expl_use=no
49641 fi
49642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49643 ac_ext=c
49644 ac_cpp='$CPP $CPPFLAGS'
49645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49648
49649
49650 fi
49651
49652 fi
49653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49654 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49655
49656 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49657 for ac_func in _expl
49658 do :
49659 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49660 if test "x$ac_cv_func__expl" = x""yes; then :
49661 cat >>confdefs.h <<_ACEOF
49662 #define HAVE__EXPL 1
49663 _ACEOF
49664
49665 fi
49666 done
49667
49668 fi
49669 fi
49670
49671
49672
49673
49674
49675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49676 $as_echo_n "checking for fabsl declaration... " >&6; }
49677 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49678 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49679 $as_echo_n "(cached) " >&6
49680 else
49681
49682
49683 ac_ext=cpp
49684 ac_cpp='$CXXCPP $CPPFLAGS'
49685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49688
49689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49690 /* end confdefs.h. */
49691 #include <math.h>
49692 #ifdef HAVE_IEEEFP_H
49693 #include <ieeefp.h>
49694 #endif
49695
49696 int
49697 main ()
49698 {
49699 fabsl(0);
49700 ;
49701 return 0;
49702 }
49703 _ACEOF
49704 if ac_fn_cxx_try_compile "$LINENO"; then :
49705 glibcxx_cv_func_fabsl_use=yes
49706 else
49707 glibcxx_cv_func_fabsl_use=no
49708 fi
49709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49710 ac_ext=c
49711 ac_cpp='$CPP $CPPFLAGS'
49712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49715
49716
49717 fi
49718
49719 fi
49720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49721 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49722
49723 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49724 for ac_func in fabsl
49725 do :
49726 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49727 if test "x$ac_cv_func_fabsl" = x""yes; then :
49728 cat >>confdefs.h <<_ACEOF
49729 #define HAVE_FABSL 1
49730 _ACEOF
49731
49732 fi
49733 done
49734
49735 else
49736
49737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49738 $as_echo_n "checking for _fabsl declaration... " >&6; }
49739 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49740 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49741 $as_echo_n "(cached) " >&6
49742 else
49743
49744
49745 ac_ext=cpp
49746 ac_cpp='$CXXCPP $CPPFLAGS'
49747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49750
49751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49752 /* end confdefs.h. */
49753 #include <math.h>
49754 #ifdef HAVE_IEEEFP_H
49755 #include <ieeefp.h>
49756 #endif
49757
49758 int
49759 main ()
49760 {
49761 _fabsl(0);
49762 ;
49763 return 0;
49764 }
49765 _ACEOF
49766 if ac_fn_cxx_try_compile "$LINENO"; then :
49767 glibcxx_cv_func__fabsl_use=yes
49768 else
49769 glibcxx_cv_func__fabsl_use=no
49770 fi
49771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49772 ac_ext=c
49773 ac_cpp='$CPP $CPPFLAGS'
49774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49777
49778
49779 fi
49780
49781 fi
49782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49783 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49784
49785 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49786 for ac_func in _fabsl
49787 do :
49788 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49789 if test "x$ac_cv_func__fabsl" = x""yes; then :
49790 cat >>confdefs.h <<_ACEOF
49791 #define HAVE__FABSL 1
49792 _ACEOF
49793
49794 fi
49795 done
49796
49797 fi
49798 fi
49799
49800
49801
49802
49803
49804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49805 $as_echo_n "checking for fmodl declaration... " >&6; }
49806 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49807 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49808 $as_echo_n "(cached) " >&6
49809 else
49810
49811
49812 ac_ext=cpp
49813 ac_cpp='$CXXCPP $CPPFLAGS'
49814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49817
49818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49819 /* end confdefs.h. */
49820 #include <math.h>
49821 int
49822 main ()
49823 {
49824 fmodl(0, 0);
49825 ;
49826 return 0;
49827 }
49828 _ACEOF
49829 if ac_fn_cxx_try_compile "$LINENO"; then :
49830 glibcxx_cv_func_fmodl_use=yes
49831 else
49832 glibcxx_cv_func_fmodl_use=no
49833 fi
49834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49835 ac_ext=c
49836 ac_cpp='$CPP $CPPFLAGS'
49837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49840
49841
49842 fi
49843
49844 fi
49845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49846 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49847
49848 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49849 for ac_func in fmodl
49850 do :
49851 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49852 if test "x$ac_cv_func_fmodl" = x""yes; then :
49853 cat >>confdefs.h <<_ACEOF
49854 #define HAVE_FMODL 1
49855 _ACEOF
49856
49857 fi
49858 done
49859
49860 else
49861
49862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49863 $as_echo_n "checking for _fmodl declaration... " >&6; }
49864 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49865 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49866 $as_echo_n "(cached) " >&6
49867 else
49868
49869
49870 ac_ext=cpp
49871 ac_cpp='$CXXCPP $CPPFLAGS'
49872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49875
49876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49877 /* end confdefs.h. */
49878 #include <math.h>
49879 int
49880 main ()
49881 {
49882 _fmodl(0, 0);
49883 ;
49884 return 0;
49885 }
49886 _ACEOF
49887 if ac_fn_cxx_try_compile "$LINENO"; then :
49888 glibcxx_cv_func__fmodl_use=yes
49889 else
49890 glibcxx_cv_func__fmodl_use=no
49891 fi
49892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49893 ac_ext=c
49894 ac_cpp='$CPP $CPPFLAGS'
49895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49898
49899
49900 fi
49901
49902 fi
49903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49904 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49905
49906 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49907 for ac_func in _fmodl
49908 do :
49909 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49910 if test "x$ac_cv_func__fmodl" = x""yes; then :
49911 cat >>confdefs.h <<_ACEOF
49912 #define HAVE__FMODL 1
49913 _ACEOF
49914
49915 fi
49916 done
49917
49918 fi
49919 fi
49920
49921
49922
49923
49924
49925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49926 $as_echo_n "checking for frexpl declaration... " >&6; }
49927 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49928 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49929 $as_echo_n "(cached) " >&6
49930 else
49931
49932
49933 ac_ext=cpp
49934 ac_cpp='$CXXCPP $CPPFLAGS'
49935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49938
49939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49940 /* end confdefs.h. */
49941 #include <math.h>
49942 int
49943 main ()
49944 {
49945 frexpl(0, 0);
49946 ;
49947 return 0;
49948 }
49949 _ACEOF
49950 if ac_fn_cxx_try_compile "$LINENO"; then :
49951 glibcxx_cv_func_frexpl_use=yes
49952 else
49953 glibcxx_cv_func_frexpl_use=no
49954 fi
49955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49956 ac_ext=c
49957 ac_cpp='$CPP $CPPFLAGS'
49958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49961
49962
49963 fi
49964
49965 fi
49966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49967 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49968
49969 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49970 for ac_func in frexpl
49971 do :
49972 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49973 if test "x$ac_cv_func_frexpl" = x""yes; then :
49974 cat >>confdefs.h <<_ACEOF
49975 #define HAVE_FREXPL 1
49976 _ACEOF
49977
49978 fi
49979 done
49980
49981 else
49982
49983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49984 $as_echo_n "checking for _frexpl declaration... " >&6; }
49985 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49986 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49987 $as_echo_n "(cached) " >&6
49988 else
49989
49990
49991 ac_ext=cpp
49992 ac_cpp='$CXXCPP $CPPFLAGS'
49993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49996
49997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49998 /* end confdefs.h. */
49999 #include <math.h>
50000 int
50001 main ()
50002 {
50003 _frexpl(0, 0);
50004 ;
50005 return 0;
50006 }
50007 _ACEOF
50008 if ac_fn_cxx_try_compile "$LINENO"; then :
50009 glibcxx_cv_func__frexpl_use=yes
50010 else
50011 glibcxx_cv_func__frexpl_use=no
50012 fi
50013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50014 ac_ext=c
50015 ac_cpp='$CPP $CPPFLAGS'
50016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50019
50020
50021 fi
50022
50023 fi
50024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50025 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50026
50027 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50028 for ac_func in _frexpl
50029 do :
50030 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50031 if test "x$ac_cv_func__frexpl" = x""yes; then :
50032 cat >>confdefs.h <<_ACEOF
50033 #define HAVE__FREXPL 1
50034 _ACEOF
50035
50036 fi
50037 done
50038
50039 fi
50040 fi
50041
50042
50043
50044
50045
50046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50047 $as_echo_n "checking for hypotl declaration... " >&6; }
50048 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50049 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50050 $as_echo_n "(cached) " >&6
50051 else
50052
50053
50054 ac_ext=cpp
50055 ac_cpp='$CXXCPP $CPPFLAGS'
50056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50059
50060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50061 /* end confdefs.h. */
50062 #include <math.h>
50063 int
50064 main ()
50065 {
50066 hypotl(0, 0);
50067 ;
50068 return 0;
50069 }
50070 _ACEOF
50071 if ac_fn_cxx_try_compile "$LINENO"; then :
50072 glibcxx_cv_func_hypotl_use=yes
50073 else
50074 glibcxx_cv_func_hypotl_use=no
50075 fi
50076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50077 ac_ext=c
50078 ac_cpp='$CPP $CPPFLAGS'
50079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50082
50083
50084 fi
50085
50086 fi
50087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50088 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50089
50090 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50091 for ac_func in hypotl
50092 do :
50093 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50094 if test "x$ac_cv_func_hypotl" = x""yes; then :
50095 cat >>confdefs.h <<_ACEOF
50096 #define HAVE_HYPOTL 1
50097 _ACEOF
50098
50099 fi
50100 done
50101
50102 else
50103
50104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50105 $as_echo_n "checking for _hypotl declaration... " >&6; }
50106 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50107 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50108 $as_echo_n "(cached) " >&6
50109 else
50110
50111
50112 ac_ext=cpp
50113 ac_cpp='$CXXCPP $CPPFLAGS'
50114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50117
50118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50119 /* end confdefs.h. */
50120 #include <math.h>
50121 int
50122 main ()
50123 {
50124 _hypotl(0, 0);
50125 ;
50126 return 0;
50127 }
50128 _ACEOF
50129 if ac_fn_cxx_try_compile "$LINENO"; then :
50130 glibcxx_cv_func__hypotl_use=yes
50131 else
50132 glibcxx_cv_func__hypotl_use=no
50133 fi
50134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50135 ac_ext=c
50136 ac_cpp='$CPP $CPPFLAGS'
50137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50140
50141
50142 fi
50143
50144 fi
50145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50146 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50147
50148 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50149 for ac_func in _hypotl
50150 do :
50151 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50152 if test "x$ac_cv_func__hypotl" = x""yes; then :
50153 cat >>confdefs.h <<_ACEOF
50154 #define HAVE__HYPOTL 1
50155 _ACEOF
50156
50157 fi
50158 done
50159
50160 fi
50161 fi
50162
50163
50164
50165
50166
50167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50168 $as_echo_n "checking for ldexpl declaration... " >&6; }
50169 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50170 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50171 $as_echo_n "(cached) " >&6
50172 else
50173
50174
50175 ac_ext=cpp
50176 ac_cpp='$CXXCPP $CPPFLAGS'
50177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50180
50181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50182 /* end confdefs.h. */
50183 #include <math.h>
50184 int
50185 main ()
50186 {
50187 ldexpl(0, 0);
50188 ;
50189 return 0;
50190 }
50191 _ACEOF
50192 if ac_fn_cxx_try_compile "$LINENO"; then :
50193 glibcxx_cv_func_ldexpl_use=yes
50194 else
50195 glibcxx_cv_func_ldexpl_use=no
50196 fi
50197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50198 ac_ext=c
50199 ac_cpp='$CPP $CPPFLAGS'
50200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50203
50204
50205 fi
50206
50207 fi
50208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50209 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50210
50211 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50212 for ac_func in ldexpl
50213 do :
50214 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50215 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50216 cat >>confdefs.h <<_ACEOF
50217 #define HAVE_LDEXPL 1
50218 _ACEOF
50219
50220 fi
50221 done
50222
50223 else
50224
50225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50226 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50227 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50228 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50229 $as_echo_n "(cached) " >&6
50230 else
50231
50232
50233 ac_ext=cpp
50234 ac_cpp='$CXXCPP $CPPFLAGS'
50235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50238
50239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50240 /* end confdefs.h. */
50241 #include <math.h>
50242 int
50243 main ()
50244 {
50245 _ldexpl(0, 0);
50246 ;
50247 return 0;
50248 }
50249 _ACEOF
50250 if ac_fn_cxx_try_compile "$LINENO"; then :
50251 glibcxx_cv_func__ldexpl_use=yes
50252 else
50253 glibcxx_cv_func__ldexpl_use=no
50254 fi
50255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50256 ac_ext=c
50257 ac_cpp='$CPP $CPPFLAGS'
50258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50261
50262
50263 fi
50264
50265 fi
50266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50267 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50268
50269 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50270 for ac_func in _ldexpl
50271 do :
50272 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50273 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50274 cat >>confdefs.h <<_ACEOF
50275 #define HAVE__LDEXPL 1
50276 _ACEOF
50277
50278 fi
50279 done
50280
50281 fi
50282 fi
50283
50284
50285
50286
50287
50288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50289 $as_echo_n "checking for logl declaration... " >&6; }
50290 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50291 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50292 $as_echo_n "(cached) " >&6
50293 else
50294
50295
50296 ac_ext=cpp
50297 ac_cpp='$CXXCPP $CPPFLAGS'
50298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50301
50302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50303 /* end confdefs.h. */
50304 #include <math.h>
50305 #ifdef HAVE_IEEEFP_H
50306 #include <ieeefp.h>
50307 #endif
50308
50309 int
50310 main ()
50311 {
50312 logl(0);
50313 ;
50314 return 0;
50315 }
50316 _ACEOF
50317 if ac_fn_cxx_try_compile "$LINENO"; then :
50318 glibcxx_cv_func_logl_use=yes
50319 else
50320 glibcxx_cv_func_logl_use=no
50321 fi
50322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50323 ac_ext=c
50324 ac_cpp='$CPP $CPPFLAGS'
50325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50328
50329
50330 fi
50331
50332 fi
50333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50334 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50335
50336 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50337 for ac_func in logl
50338 do :
50339 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50340 if test "x$ac_cv_func_logl" = x""yes; then :
50341 cat >>confdefs.h <<_ACEOF
50342 #define HAVE_LOGL 1
50343 _ACEOF
50344
50345 fi
50346 done
50347
50348 else
50349
50350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50351 $as_echo_n "checking for _logl declaration... " >&6; }
50352 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50353 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50354 $as_echo_n "(cached) " >&6
50355 else
50356
50357
50358 ac_ext=cpp
50359 ac_cpp='$CXXCPP $CPPFLAGS'
50360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50363
50364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50365 /* end confdefs.h. */
50366 #include <math.h>
50367 #ifdef HAVE_IEEEFP_H
50368 #include <ieeefp.h>
50369 #endif
50370
50371 int
50372 main ()
50373 {
50374 _logl(0);
50375 ;
50376 return 0;
50377 }
50378 _ACEOF
50379 if ac_fn_cxx_try_compile "$LINENO"; then :
50380 glibcxx_cv_func__logl_use=yes
50381 else
50382 glibcxx_cv_func__logl_use=no
50383 fi
50384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50385 ac_ext=c
50386 ac_cpp='$CPP $CPPFLAGS'
50387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50390
50391
50392 fi
50393
50394 fi
50395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50396 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50397
50398 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50399 for ac_func in _logl
50400 do :
50401 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50402 if test "x$ac_cv_func__logl" = x""yes; then :
50403 cat >>confdefs.h <<_ACEOF
50404 #define HAVE__LOGL 1
50405 _ACEOF
50406
50407 fi
50408 done
50409
50410 fi
50411 fi
50412
50413
50414
50415
50416
50417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50418 $as_echo_n "checking for log10l declaration... " >&6; }
50419 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50420 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50421 $as_echo_n "(cached) " >&6
50422 else
50423
50424
50425 ac_ext=cpp
50426 ac_cpp='$CXXCPP $CPPFLAGS'
50427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50430
50431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50432 /* end confdefs.h. */
50433 #include <math.h>
50434 #ifdef HAVE_IEEEFP_H
50435 #include <ieeefp.h>
50436 #endif
50437
50438 int
50439 main ()
50440 {
50441 log10l(0);
50442 ;
50443 return 0;
50444 }
50445 _ACEOF
50446 if ac_fn_cxx_try_compile "$LINENO"; then :
50447 glibcxx_cv_func_log10l_use=yes
50448 else
50449 glibcxx_cv_func_log10l_use=no
50450 fi
50451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50452 ac_ext=c
50453 ac_cpp='$CPP $CPPFLAGS'
50454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50457
50458
50459 fi
50460
50461 fi
50462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50463 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50464
50465 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50466 for ac_func in log10l
50467 do :
50468 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50469 if test "x$ac_cv_func_log10l" = x""yes; then :
50470 cat >>confdefs.h <<_ACEOF
50471 #define HAVE_LOG10L 1
50472 _ACEOF
50473
50474 fi
50475 done
50476
50477 else
50478
50479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50480 $as_echo_n "checking for _log10l declaration... " >&6; }
50481 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50482 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50483 $as_echo_n "(cached) " >&6
50484 else
50485
50486
50487 ac_ext=cpp
50488 ac_cpp='$CXXCPP $CPPFLAGS'
50489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50492
50493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50494 /* end confdefs.h. */
50495 #include <math.h>
50496 #ifdef HAVE_IEEEFP_H
50497 #include <ieeefp.h>
50498 #endif
50499
50500 int
50501 main ()
50502 {
50503 _log10l(0);
50504 ;
50505 return 0;
50506 }
50507 _ACEOF
50508 if ac_fn_cxx_try_compile "$LINENO"; then :
50509 glibcxx_cv_func__log10l_use=yes
50510 else
50511 glibcxx_cv_func__log10l_use=no
50512 fi
50513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50514 ac_ext=c
50515 ac_cpp='$CPP $CPPFLAGS'
50516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50519
50520
50521 fi
50522
50523 fi
50524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50525 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50526
50527 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50528 for ac_func in _log10l
50529 do :
50530 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50531 if test "x$ac_cv_func__log10l" = x""yes; then :
50532 cat >>confdefs.h <<_ACEOF
50533 #define HAVE__LOG10L 1
50534 _ACEOF
50535
50536 fi
50537 done
50538
50539 fi
50540 fi
50541
50542
50543
50544
50545
50546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50547 $as_echo_n "checking for modfl declaration... " >&6; }
50548 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50549 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50550 $as_echo_n "(cached) " >&6
50551 else
50552
50553
50554 ac_ext=cpp
50555 ac_cpp='$CXXCPP $CPPFLAGS'
50556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50559
50560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50561 /* end confdefs.h. */
50562 #include <math.h>
50563 int
50564 main ()
50565 {
50566 modfl(0, 0);
50567 ;
50568 return 0;
50569 }
50570 _ACEOF
50571 if ac_fn_cxx_try_compile "$LINENO"; then :
50572 glibcxx_cv_func_modfl_use=yes
50573 else
50574 glibcxx_cv_func_modfl_use=no
50575 fi
50576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50577 ac_ext=c
50578 ac_cpp='$CPP $CPPFLAGS'
50579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50582
50583
50584 fi
50585
50586 fi
50587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50588 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50589
50590 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50591 for ac_func in modfl
50592 do :
50593 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50594 if test "x$ac_cv_func_modfl" = x""yes; then :
50595 cat >>confdefs.h <<_ACEOF
50596 #define HAVE_MODFL 1
50597 _ACEOF
50598
50599 fi
50600 done
50601
50602 else
50603
50604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50605 $as_echo_n "checking for _modfl declaration... " >&6; }
50606 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50607 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50608 $as_echo_n "(cached) " >&6
50609 else
50610
50611
50612 ac_ext=cpp
50613 ac_cpp='$CXXCPP $CPPFLAGS'
50614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50617
50618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50619 /* end confdefs.h. */
50620 #include <math.h>
50621 int
50622 main ()
50623 {
50624 _modfl(0, 0);
50625 ;
50626 return 0;
50627 }
50628 _ACEOF
50629 if ac_fn_cxx_try_compile "$LINENO"; then :
50630 glibcxx_cv_func__modfl_use=yes
50631 else
50632 glibcxx_cv_func__modfl_use=no
50633 fi
50634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50635 ac_ext=c
50636 ac_cpp='$CPP $CPPFLAGS'
50637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50640
50641
50642 fi
50643
50644 fi
50645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50646 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50647
50648 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50649 for ac_func in _modfl
50650 do :
50651 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50652 if test "x$ac_cv_func__modfl" = x""yes; then :
50653 cat >>confdefs.h <<_ACEOF
50654 #define HAVE__MODFL 1
50655 _ACEOF
50656
50657 fi
50658 done
50659
50660 fi
50661 fi
50662
50663
50664
50665
50666
50667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50668 $as_echo_n "checking for powl declaration... " >&6; }
50669 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50670 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50671 $as_echo_n "(cached) " >&6
50672 else
50673
50674
50675 ac_ext=cpp
50676 ac_cpp='$CXXCPP $CPPFLAGS'
50677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50680
50681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50682 /* end confdefs.h. */
50683 #include <math.h>
50684 int
50685 main ()
50686 {
50687 powl(0, 0);
50688 ;
50689 return 0;
50690 }
50691 _ACEOF
50692 if ac_fn_cxx_try_compile "$LINENO"; then :
50693 glibcxx_cv_func_powl_use=yes
50694 else
50695 glibcxx_cv_func_powl_use=no
50696 fi
50697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50698 ac_ext=c
50699 ac_cpp='$CPP $CPPFLAGS'
50700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50703
50704
50705 fi
50706
50707 fi
50708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50709 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50710
50711 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50712 for ac_func in powl
50713 do :
50714 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50715 if test "x$ac_cv_func_powl" = x""yes; then :
50716 cat >>confdefs.h <<_ACEOF
50717 #define HAVE_POWL 1
50718 _ACEOF
50719
50720 fi
50721 done
50722
50723 else
50724
50725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50726 $as_echo_n "checking for _powl declaration... " >&6; }
50727 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50728 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50729 $as_echo_n "(cached) " >&6
50730 else
50731
50732
50733 ac_ext=cpp
50734 ac_cpp='$CXXCPP $CPPFLAGS'
50735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50738
50739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50740 /* end confdefs.h. */
50741 #include <math.h>
50742 int
50743 main ()
50744 {
50745 _powl(0, 0);
50746 ;
50747 return 0;
50748 }
50749 _ACEOF
50750 if ac_fn_cxx_try_compile "$LINENO"; then :
50751 glibcxx_cv_func__powl_use=yes
50752 else
50753 glibcxx_cv_func__powl_use=no
50754 fi
50755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50756 ac_ext=c
50757 ac_cpp='$CPP $CPPFLAGS'
50758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50761
50762
50763 fi
50764
50765 fi
50766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50767 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50768
50769 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50770 for ac_func in _powl
50771 do :
50772 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50773 if test "x$ac_cv_func__powl" = x""yes; then :
50774 cat >>confdefs.h <<_ACEOF
50775 #define HAVE__POWL 1
50776 _ACEOF
50777
50778 fi
50779 done
50780
50781 fi
50782 fi
50783
50784
50785
50786
50787
50788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50789 $as_echo_n "checking for sqrtl declaration... " >&6; }
50790 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50791 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50792 $as_echo_n "(cached) " >&6
50793 else
50794
50795
50796 ac_ext=cpp
50797 ac_cpp='$CXXCPP $CPPFLAGS'
50798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50801
50802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50803 /* end confdefs.h. */
50804 #include <math.h>
50805 #ifdef HAVE_IEEEFP_H
50806 #include <ieeefp.h>
50807 #endif
50808
50809 int
50810 main ()
50811 {
50812 sqrtl(0);
50813 ;
50814 return 0;
50815 }
50816 _ACEOF
50817 if ac_fn_cxx_try_compile "$LINENO"; then :
50818 glibcxx_cv_func_sqrtl_use=yes
50819 else
50820 glibcxx_cv_func_sqrtl_use=no
50821 fi
50822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50823 ac_ext=c
50824 ac_cpp='$CPP $CPPFLAGS'
50825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50828
50829
50830 fi
50831
50832 fi
50833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50834 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50835
50836 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50837 for ac_func in sqrtl
50838 do :
50839 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50840 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50841 cat >>confdefs.h <<_ACEOF
50842 #define HAVE_SQRTL 1
50843 _ACEOF
50844
50845 fi
50846 done
50847
50848 else
50849
50850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50851 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50852 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50853 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50854 $as_echo_n "(cached) " >&6
50855 else
50856
50857
50858 ac_ext=cpp
50859 ac_cpp='$CXXCPP $CPPFLAGS'
50860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50863
50864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50865 /* end confdefs.h. */
50866 #include <math.h>
50867 #ifdef HAVE_IEEEFP_H
50868 #include <ieeefp.h>
50869 #endif
50870
50871 int
50872 main ()
50873 {
50874 _sqrtl(0);
50875 ;
50876 return 0;
50877 }
50878 _ACEOF
50879 if ac_fn_cxx_try_compile "$LINENO"; then :
50880 glibcxx_cv_func__sqrtl_use=yes
50881 else
50882 glibcxx_cv_func__sqrtl_use=no
50883 fi
50884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50885 ac_ext=c
50886 ac_cpp='$CPP $CPPFLAGS'
50887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50890
50891
50892 fi
50893
50894 fi
50895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50896 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50897
50898 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50899 for ac_func in _sqrtl
50900 do :
50901 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50902 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50903 cat >>confdefs.h <<_ACEOF
50904 #define HAVE__SQRTL 1
50905 _ACEOF
50906
50907 fi
50908 done
50909
50910 fi
50911 fi
50912
50913
50914
50915
50916
50917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50918 $as_echo_n "checking for sincosl declaration... " >&6; }
50919 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50920 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50921 $as_echo_n "(cached) " >&6
50922 else
50923
50924
50925 ac_ext=cpp
50926 ac_cpp='$CXXCPP $CPPFLAGS'
50927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50930
50931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50932 /* end confdefs.h. */
50933 #include <math.h>
50934 int
50935 main ()
50936 {
50937 sincosl(0, 0, 0);
50938 ;
50939 return 0;
50940 }
50941 _ACEOF
50942 if ac_fn_cxx_try_compile "$LINENO"; then :
50943 glibcxx_cv_func_sincosl_use=yes
50944 else
50945 glibcxx_cv_func_sincosl_use=no
50946 fi
50947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50948 ac_ext=c
50949 ac_cpp='$CPP $CPPFLAGS'
50950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50953
50954
50955 fi
50956
50957 fi
50958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50959 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50960
50961 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50962 for ac_func in sincosl
50963 do :
50964 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50965 if test "x$ac_cv_func_sincosl" = x""yes; then :
50966 cat >>confdefs.h <<_ACEOF
50967 #define HAVE_SINCOSL 1
50968 _ACEOF
50969
50970 fi
50971 done
50972
50973 else
50974
50975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50976 $as_echo_n "checking for _sincosl declaration... " >&6; }
50977 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50978 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50979 $as_echo_n "(cached) " >&6
50980 else
50981
50982
50983 ac_ext=cpp
50984 ac_cpp='$CXXCPP $CPPFLAGS'
50985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50988
50989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50990 /* end confdefs.h. */
50991 #include <math.h>
50992 int
50993 main ()
50994 {
50995 _sincosl(0, 0, 0);
50996 ;
50997 return 0;
50998 }
50999 _ACEOF
51000 if ac_fn_cxx_try_compile "$LINENO"; then :
51001 glibcxx_cv_func__sincosl_use=yes
51002 else
51003 glibcxx_cv_func__sincosl_use=no
51004 fi
51005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51006 ac_ext=c
51007 ac_cpp='$CPP $CPPFLAGS'
51008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51011
51012
51013 fi
51014
51015 fi
51016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51017 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51018
51019 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51020 for ac_func in _sincosl
51021 do :
51022 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51023 if test "x$ac_cv_func__sincosl" = x""yes; then :
51024 cat >>confdefs.h <<_ACEOF
51025 #define HAVE__SINCOSL 1
51026 _ACEOF
51027
51028 fi
51029 done
51030
51031 fi
51032 fi
51033
51034
51035
51036
51037
51038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51039 $as_echo_n "checking for finitel declaration... " >&6; }
51040 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51041 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51042 $as_echo_n "(cached) " >&6
51043 else
51044
51045
51046 ac_ext=cpp
51047 ac_cpp='$CXXCPP $CPPFLAGS'
51048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51051
51052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51053 /* end confdefs.h. */
51054 #include <math.h>
51055 #ifdef HAVE_IEEEFP_H
51056 #include <ieeefp.h>
51057 #endif
51058
51059 int
51060 main ()
51061 {
51062 finitel(0);
51063 ;
51064 return 0;
51065 }
51066 _ACEOF
51067 if ac_fn_cxx_try_compile "$LINENO"; then :
51068 glibcxx_cv_func_finitel_use=yes
51069 else
51070 glibcxx_cv_func_finitel_use=no
51071 fi
51072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51073 ac_ext=c
51074 ac_cpp='$CPP $CPPFLAGS'
51075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51078
51079
51080 fi
51081
51082 fi
51083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51084 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51085
51086 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51087 for ac_func in finitel
51088 do :
51089 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51090 if test "x$ac_cv_func_finitel" = x""yes; then :
51091 cat >>confdefs.h <<_ACEOF
51092 #define HAVE_FINITEL 1
51093 _ACEOF
51094
51095 fi
51096 done
51097
51098 else
51099
51100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51101 $as_echo_n "checking for _finitel declaration... " >&6; }
51102 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51103 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51104 $as_echo_n "(cached) " >&6
51105 else
51106
51107
51108 ac_ext=cpp
51109 ac_cpp='$CXXCPP $CPPFLAGS'
51110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51113
51114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51115 /* end confdefs.h. */
51116 #include <math.h>
51117 #ifdef HAVE_IEEEFP_H
51118 #include <ieeefp.h>
51119 #endif
51120
51121 int
51122 main ()
51123 {
51124 _finitel(0);
51125 ;
51126 return 0;
51127 }
51128 _ACEOF
51129 if ac_fn_cxx_try_compile "$LINENO"; then :
51130 glibcxx_cv_func__finitel_use=yes
51131 else
51132 glibcxx_cv_func__finitel_use=no
51133 fi
51134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51135 ac_ext=c
51136 ac_cpp='$CPP $CPPFLAGS'
51137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51140
51141
51142 fi
51143
51144 fi
51145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51146 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51147
51148 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51149 for ac_func in _finitel
51150 do :
51151 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51152 if test "x$ac_cv_func__finitel" = x""yes; then :
51153 cat >>confdefs.h <<_ACEOF
51154 #define HAVE__FINITEL 1
51155 _ACEOF
51156
51157 fi
51158 done
51159
51160 fi
51161 fi
51162
51163
51164
51165
51166 LIBS="$ac_save_LIBS"
51167 CXXFLAGS="$ac_save_CXXFLAGS"
51168
51169
51170 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51171 ac_save_CXXFLAGS="$CXXFLAGS"
51172 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51173
51174
51175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51176 $as_echo_n "checking for strtold declaration... " >&6; }
51177 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51178 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51179 $as_echo_n "(cached) " >&6
51180 else
51181
51182
51183 ac_ext=cpp
51184 ac_cpp='$CXXCPP $CPPFLAGS'
51185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51188
51189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51190 /* end confdefs.h. */
51191 #include <stdlib.h>
51192 int
51193 main ()
51194 {
51195 strtold(0, 0);
51196 ;
51197 return 0;
51198 }
51199 _ACEOF
51200 if ac_fn_cxx_try_compile "$LINENO"; then :
51201 glibcxx_cv_func_strtold_use=yes
51202 else
51203 glibcxx_cv_func_strtold_use=no
51204 fi
51205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51206 ac_ext=c
51207 ac_cpp='$CPP $CPPFLAGS'
51208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51211
51212
51213 fi
51214
51215 fi
51216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51217 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51218 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51219 for ac_func in strtold
51220 do :
51221 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51222 if test "x$ac_cv_func_strtold" = x""yes; then :
51223 cat >>confdefs.h <<_ACEOF
51224 #define HAVE_STRTOLD 1
51225 _ACEOF
51226
51227 fi
51228 done
51229
51230 fi
51231
51232
51233
51234
51235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51236 $as_echo_n "checking for strtof declaration... " >&6; }
51237 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51238 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51239 $as_echo_n "(cached) " >&6
51240 else
51241
51242
51243 ac_ext=cpp
51244 ac_cpp='$CXXCPP $CPPFLAGS'
51245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51248
51249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51250 /* end confdefs.h. */
51251 #include <stdlib.h>
51252 int
51253 main ()
51254 {
51255 strtof(0, 0);
51256 ;
51257 return 0;
51258 }
51259 _ACEOF
51260 if ac_fn_cxx_try_compile "$LINENO"; then :
51261 glibcxx_cv_func_strtof_use=yes
51262 else
51263 glibcxx_cv_func_strtof_use=no
51264 fi
51265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51266 ac_ext=c
51267 ac_cpp='$CPP $CPPFLAGS'
51268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51271
51272
51273 fi
51274
51275 fi
51276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51277 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51278 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51279 for ac_func in strtof
51280 do :
51281 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51282 if test "x$ac_cv_func_strtof" = x""yes; then :
51283 cat >>confdefs.h <<_ACEOF
51284 #define HAVE_STRTOF 1
51285 _ACEOF
51286
51287 fi
51288 done
51289
51290 fi
51291
51292
51293
51294
51295 CXXFLAGS="$ac_save_CXXFLAGS"
51296
51297 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51298
51299
51300
51301 # Check whether --enable-tls was given.
51302 if test "${enable_tls+set}" = set; then :
51303 enableval=$enable_tls;
51304 case "$enableval" in
51305 yes|no) ;;
51306 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51307 esac
51308
51309 else
51310 enable_tls=yes
51311 fi
51312
51313
51314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51315 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51316 if test "${gcc_cv_have_tls+set}" = set; then :
51317 $as_echo_n "(cached) " >&6
51318 else
51319
51320 if test "$cross_compiling" = yes; then :
51321 if test x$gcc_no_link = xyes; then
51322 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51323 fi
51324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51325 /* end confdefs.h. */
51326 __thread int a; int b; int main() { return a = b; }
51327 _ACEOF
51328 if ac_fn_c_try_link "$LINENO"; then :
51329 chktls_save_LDFLAGS="$LDFLAGS"
51330 case $host in
51331 *-*-linux*)
51332 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51333 ;;
51334 esac
51335 chktls_save_CFLAGS="$CFLAGS"
51336 CFLAGS="-fPIC $CFLAGS"
51337 if test x$gcc_no_link = xyes; then
51338 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51339 fi
51340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51341 /* end confdefs.h. */
51342 int f() { return 0; }
51343 _ACEOF
51344 if ac_fn_c_try_link "$LINENO"; then :
51345 if test x$gcc_no_link = xyes; then
51346 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51347 fi
51348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51349 /* end confdefs.h. */
51350 __thread int a; int b; int f() { return a = b; }
51351 _ACEOF
51352 if ac_fn_c_try_link "$LINENO"; then :
51353 gcc_cv_have_tls=yes
51354 else
51355 gcc_cv_have_tls=no
51356 fi
51357 rm -f core conftest.err conftest.$ac_objext \
51358 conftest$ac_exeext conftest.$ac_ext
51359 else
51360 gcc_cv_have_tls=yes
51361 fi
51362 rm -f core conftest.err conftest.$ac_objext \
51363 conftest$ac_exeext conftest.$ac_ext
51364 CFLAGS="$chktls_save_CFLAGS"
51365 LDFLAGS="$chktls_save_LDFLAGS"
51366 else
51367 gcc_cv_have_tls=no
51368 fi
51369 rm -f core conftest.err conftest.$ac_objext \
51370 conftest$ac_exeext conftest.$ac_ext
51371
51372
51373 else
51374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51375 /* end confdefs.h. */
51376 __thread int a; int b; int main() { return a = b; }
51377 _ACEOF
51378 if ac_fn_c_try_run "$LINENO"; then :
51379 chktls_save_LDFLAGS="$LDFLAGS"
51380 LDFLAGS="-static $LDFLAGS"
51381 if test x$gcc_no_link = xyes; then
51382 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51383 fi
51384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51385 /* end confdefs.h. */
51386 int main() { return 0; }
51387 _ACEOF
51388 if ac_fn_c_try_link "$LINENO"; then :
51389 if test "$cross_compiling" = yes; then :
51390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51392 as_fn_error "cannot run test program while cross compiling
51393 See \`config.log' for more details." "$LINENO" 5; }
51394 else
51395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51396 /* end confdefs.h. */
51397 __thread int a; int b; int main() { return a = b; }
51398 _ACEOF
51399 if ac_fn_c_try_run "$LINENO"; then :
51400 gcc_cv_have_tls=yes
51401 else
51402 gcc_cv_have_tls=no
51403 fi
51404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51405 conftest.$ac_objext conftest.beam conftest.$ac_ext
51406 fi
51407
51408 else
51409 gcc_cv_have_tls=yes
51410 fi
51411 rm -f core conftest.err conftest.$ac_objext \
51412 conftest$ac_exeext conftest.$ac_ext
51413 LDFLAGS="$chktls_save_LDFLAGS"
51414 if test $gcc_cv_have_tls = yes; then
51415 chktls_save_CFLAGS="$CFLAGS"
51416 thread_CFLAGS=failed
51417 for flag in '' '-pthread' '-lpthread'; do
51418 CFLAGS="$flag $chktls_save_CFLAGS"
51419 if test x$gcc_no_link = xyes; then
51420 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51421 fi
51422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51423 /* end confdefs.h. */
51424 #include <pthread.h>
51425 void *g(void *d) { return NULL; }
51426 int
51427 main ()
51428 {
51429 pthread_t t; pthread_create(&t,NULL,g,NULL);
51430 ;
51431 return 0;
51432 }
51433 _ACEOF
51434 if ac_fn_c_try_link "$LINENO"; then :
51435 thread_CFLAGS="$flag"
51436 fi
51437 rm -f core conftest.err conftest.$ac_objext \
51438 conftest$ac_exeext conftest.$ac_ext
51439 if test "X$thread_CFLAGS" != Xfailed; then
51440 break
51441 fi
51442 done
51443 CFLAGS="$chktls_save_CFLAGS"
51444 if test "X$thread_CFLAGS" != Xfailed; then
51445 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51446 if test "$cross_compiling" = yes; then :
51447 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51449 as_fn_error "cannot run test program while cross compiling
51450 See \`config.log' for more details." "$LINENO" 5; }
51451 else
51452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51453 /* end confdefs.h. */
51454 #include <pthread.h>
51455 __thread int a;
51456 static int *volatile a_in_other_thread;
51457 static void *
51458 thread_func (void *arg)
51459 {
51460 a_in_other_thread = &a;
51461 return (void *)0;
51462 }
51463 int
51464 main ()
51465 {
51466 pthread_t thread;
51467 void *thread_retval;
51468 int *volatile a_in_main_thread;
51469 a_in_main_thread = &a;
51470 if (pthread_create (&thread, (pthread_attr_t *)0,
51471 thread_func, (void *)0))
51472 return 0;
51473 if (pthread_join (thread, &thread_retval))
51474 return 0;
51475 return (a_in_other_thread == a_in_main_thread);
51476 ;
51477 return 0;
51478 }
51479 _ACEOF
51480 if ac_fn_c_try_run "$LINENO"; then :
51481 gcc_cv_have_tls=yes
51482 else
51483 gcc_cv_have_tls=no
51484 fi
51485 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51486 conftest.$ac_objext conftest.beam conftest.$ac_ext
51487 fi
51488
51489 CFLAGS="$chktls_save_CFLAGS"
51490 fi
51491 fi
51492 else
51493 gcc_cv_have_tls=no
51494 fi
51495 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51496 conftest.$ac_objext conftest.beam conftest.$ac_ext
51497 fi
51498
51499 fi
51500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51501 $as_echo "$gcc_cv_have_tls" >&6; }
51502 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51503
51504 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51505
51506 fi
51507
51508
51509
51510
51511
51512 am_save_CPPFLAGS="$CPPFLAGS"
51513
51514 for element in $INCICONV; do
51515 haveit=
51516 for x in $CPPFLAGS; do
51517
51518 acl_save_prefix="$prefix"
51519 prefix="$acl_final_prefix"
51520 acl_save_exec_prefix="$exec_prefix"
51521 exec_prefix="$acl_final_exec_prefix"
51522 eval x=\"$x\"
51523 exec_prefix="$acl_save_exec_prefix"
51524 prefix="$acl_save_prefix"
51525
51526 if test "X$x" = "X$element"; then
51527 haveit=yes
51528 break
51529 fi
51530 done
51531 if test -z "$haveit"; then
51532 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51533 fi
51534 done
51535
51536
51537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51538 $as_echo_n "checking for iconv... " >&6; }
51539 if test "${am_cv_func_iconv+set}" = set; then :
51540 $as_echo_n "(cached) " >&6
51541 else
51542
51543 am_cv_func_iconv="no, consider installing GNU libiconv"
51544 am_cv_lib_iconv=no
51545 if test x$gcc_no_link = xyes; then
51546 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51547 fi
51548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51549 /* end confdefs.h. */
51550 #include <stdlib.h>
51551 #include <iconv.h>
51552 int
51553 main ()
51554 {
51555 iconv_t cd = iconv_open("","");
51556 iconv(cd,NULL,NULL,NULL,NULL);
51557 iconv_close(cd);
51558 ;
51559 return 0;
51560 }
51561 _ACEOF
51562 if ac_fn_c_try_link "$LINENO"; then :
51563 am_cv_func_iconv=yes
51564 fi
51565 rm -f core conftest.err conftest.$ac_objext \
51566 conftest$ac_exeext conftest.$ac_ext
51567 if test "$am_cv_func_iconv" != yes; then
51568 am_save_LIBS="$LIBS"
51569 LIBS="$LIBS $LIBICONV"
51570 if test x$gcc_no_link = xyes; then
51571 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51572 fi
51573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51574 /* end confdefs.h. */
51575 #include <stdlib.h>
51576 #include <iconv.h>
51577 int
51578 main ()
51579 {
51580 iconv_t cd = iconv_open("","");
51581 iconv(cd,NULL,NULL,NULL,NULL);
51582 iconv_close(cd);
51583 ;
51584 return 0;
51585 }
51586 _ACEOF
51587 if ac_fn_c_try_link "$LINENO"; then :
51588 am_cv_lib_iconv=yes
51589 am_cv_func_iconv=yes
51590 fi
51591 rm -f core conftest.err conftest.$ac_objext \
51592 conftest$ac_exeext conftest.$ac_ext
51593 LIBS="$am_save_LIBS"
51594 fi
51595
51596 fi
51597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51598 $as_echo "$am_cv_func_iconv" >&6; }
51599 if test "$am_cv_func_iconv" = yes; then
51600
51601 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51602
51603 fi
51604 if test "$am_cv_lib_iconv" = yes; then
51605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51606 $as_echo_n "checking how to link with libiconv... " >&6; }
51607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51608 $as_echo "$LIBICONV" >&6; }
51609 else
51610 CPPFLAGS="$am_save_CPPFLAGS"
51611 LIBICONV=
51612 LTLIBICONV=
51613 fi
51614
51615
51616
51617 if test "$am_cv_func_iconv" = yes; then
51618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51619 $as_echo_n "checking for iconv declaration... " >&6; }
51620 if test "${am_cv_proto_iconv+set}" = set; then :
51621 $as_echo_n "(cached) " >&6
51622 else
51623
51624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51625 /* end confdefs.h. */
51626
51627 #include <stdlib.h>
51628 #include <iconv.h>
51629 extern
51630 #ifdef __cplusplus
51631 "C"
51632 #endif
51633 #if defined(__STDC__) || defined(__cplusplus)
51634 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51635 #else
51636 size_t iconv();
51637 #endif
51638
51639 int
51640 main ()
51641 {
51642
51643 ;
51644 return 0;
51645 }
51646 _ACEOF
51647 if ac_fn_c_try_compile "$LINENO"; then :
51648 am_cv_proto_iconv_arg1=""
51649 else
51650 am_cv_proto_iconv_arg1="const"
51651 fi
51652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51653 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);"
51654 fi
51655
51656 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51658 }$am_cv_proto_iconv" >&5
51659 $as_echo "${ac_t:-
51660 }$am_cv_proto_iconv" >&6; }
51661
51662 cat >>confdefs.h <<_ACEOF
51663 #define ICONV_CONST $am_cv_proto_iconv_arg1
51664 _ACEOF
51665
51666 fi
51667
51668 ;;
51669 *-mingw32*)
51670
51671 # If we're not using GNU ld, then there's no point in even trying these
51672 # tests. Check for that first. We should have already tested for gld
51673 # by now (in libtool), but require it now just to be safe...
51674 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51675 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51676
51677
51678
51679 # The name set by libtool depends on the version of libtool. Shame on us
51680 # for depending on an impl detail, but c'est la vie. Older versions used
51681 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51682 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51683 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51684 # set (hence we're using an older libtool), then set it.
51685 if test x${with_gnu_ld+set} != xset; then
51686 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51687 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51688 with_gnu_ld=no
51689 else
51690 with_gnu_ld=$ac_cv_prog_gnu_ld
51691 fi
51692 fi
51693
51694 # Start by getting the version number. I think the libtool test already
51695 # does some of this, but throws away the result.
51696 glibcxx_ld_is_gold=no
51697 if test x"$with_gnu_ld" = x"yes"; then
51698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51699 $as_echo_n "checking for ld version... " >&6; }
51700
51701 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51702 glibcxx_ld_is_gold=yes
51703 fi
51704 ldver=`$LD --version 2>/dev/null |
51705 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'`
51706
51707 glibcxx_gnu_ld_version=`echo $ldver | \
51708 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51710 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51711 fi
51712
51713 # Set --gc-sections.
51714 glibcxx_have_gc_sections=no
51715 if test "$glibcxx_ld_is_gold" = "yes"; then
51716 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51717 glibcxx_have_gc_sections=yes
51718 fi
51719 else
51720 glibcxx_gcsections_min_ld=21602
51721 if test x"$with_gnu_ld" = x"yes" &&
51722 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51723 glibcxx_have_gc_sections=yes
51724 fi
51725 fi
51726 if test "$glibcxx_have_gc_sections" = "yes"; then
51727 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51728 # NB: This flag only works reliably after 2.16.1. Configure tests
51729 # for this are difficult, so hard wire a value that should work.
51730
51731 ac_test_CFLAGS="${CFLAGS+set}"
51732 ac_save_CFLAGS="$CFLAGS"
51733 CFLAGS='-Wl,--gc-sections'
51734
51735 # Check for -Wl,--gc-sections
51736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51737 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51738 if test x$gcc_no_link = xyes; then
51739 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51740 fi
51741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51742 /* end confdefs.h. */
51743 int one(void) { return 1; }
51744 int two(void) { return 2; }
51745
51746 int
51747 main ()
51748 {
51749 two();
51750 ;
51751 return 0;
51752 }
51753 _ACEOF
51754 if ac_fn_c_try_link "$LINENO"; then :
51755 ac_gcsections=yes
51756 else
51757 ac_gcsections=no
51758 fi
51759 rm -f core conftest.err conftest.$ac_objext \
51760 conftest$ac_exeext conftest.$ac_ext
51761 if test "$ac_gcsections" = "yes"; then
51762 rm -f conftest.c
51763 touch conftest.c
51764 if $CC -c conftest.c; then
51765 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51766 grep "Warning: gc-sections option ignored" > /dev/null; then
51767 ac_gcsections=no
51768 fi
51769 fi
51770 rm -f conftest.c conftest.o conftest
51771 fi
51772 if test "$ac_gcsections" = "yes"; then
51773 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51774 fi
51775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51776 $as_echo "$ac_gcsections" >&6; }
51777
51778 if test "$ac_test_CFLAGS" = set; then
51779 CFLAGS="$ac_save_CFLAGS"
51780 else
51781 # this is the suspicious part
51782 CFLAGS=''
51783 fi
51784 fi
51785
51786 # Set -z,relro.
51787 # Note this is only for shared objects.
51788 ac_ld_relro=no
51789 if test x"$with_gnu_ld" = x"yes"; then
51790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51791 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51792 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51793 if test -n "$cxx_z_relo"; then
51794 OPT_LDFLAGS="-Wl,-z,relro"
51795 ac_ld_relro=yes
51796 fi
51797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51798 $as_echo "$ac_ld_relro" >&6; }
51799 fi
51800
51801 # Set linker optimization flags.
51802 if test x"$with_gnu_ld" = x"yes"; then
51803 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51804 fi
51805
51806
51807
51808
51809
51810 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51811 ac_save_CXXFLAGS="$CXXFLAGS"
51812 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51813
51814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51815 $as_echo_n "checking for sin in -lm... " >&6; }
51816 if test "${ac_cv_lib_m_sin+set}" = set; then :
51817 $as_echo_n "(cached) " >&6
51818 else
51819 ac_check_lib_save_LIBS=$LIBS
51820 LIBS="-lm $LIBS"
51821 if test x$gcc_no_link = xyes; then
51822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51823 fi
51824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51825 /* end confdefs.h. */
51826
51827 /* Override any GCC internal prototype to avoid an error.
51828 Use char because int might match the return type of a GCC
51829 builtin and then its argument prototype would still apply. */
51830 #ifdef __cplusplus
51831 extern "C"
51832 #endif
51833 char sin ();
51834 int
51835 main ()
51836 {
51837 return sin ();
51838 ;
51839 return 0;
51840 }
51841 _ACEOF
51842 if ac_fn_c_try_link "$LINENO"; then :
51843 ac_cv_lib_m_sin=yes
51844 else
51845 ac_cv_lib_m_sin=no
51846 fi
51847 rm -f core conftest.err conftest.$ac_objext \
51848 conftest$ac_exeext conftest.$ac_ext
51849 LIBS=$ac_check_lib_save_LIBS
51850 fi
51851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51852 $as_echo "$ac_cv_lib_m_sin" >&6; }
51853 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51854 libm="-lm"
51855 fi
51856
51857 ac_save_LIBS="$LIBS"
51858 LIBS="$LIBS $libm"
51859
51860
51861
51862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51863 $as_echo_n "checking for isinf declaration... " >&6; }
51864 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51865 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51866 $as_echo_n "(cached) " >&6
51867 else
51868
51869
51870 ac_ext=cpp
51871 ac_cpp='$CXXCPP $CPPFLAGS'
51872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51875
51876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51877 /* end confdefs.h. */
51878 #include <math.h>
51879 #ifdef HAVE_IEEEFP_H
51880 #include <ieeefp.h>
51881 #endif
51882
51883 int
51884 main ()
51885 {
51886 isinf(0);
51887 ;
51888 return 0;
51889 }
51890 _ACEOF
51891 if ac_fn_cxx_try_compile "$LINENO"; then :
51892 glibcxx_cv_func_isinf_use=yes
51893 else
51894 glibcxx_cv_func_isinf_use=no
51895 fi
51896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51897 ac_ext=c
51898 ac_cpp='$CPP $CPPFLAGS'
51899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51902
51903
51904 fi
51905
51906 fi
51907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51908 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51909
51910 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51911 for ac_func in isinf
51912 do :
51913 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51914 if test "x$ac_cv_func_isinf" = x""yes; then :
51915 cat >>confdefs.h <<_ACEOF
51916 #define HAVE_ISINF 1
51917 _ACEOF
51918
51919 fi
51920 done
51921
51922 else
51923
51924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51925 $as_echo_n "checking for _isinf declaration... " >&6; }
51926 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51927 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51928 $as_echo_n "(cached) " >&6
51929 else
51930
51931
51932 ac_ext=cpp
51933 ac_cpp='$CXXCPP $CPPFLAGS'
51934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51937
51938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51939 /* end confdefs.h. */
51940 #include <math.h>
51941 #ifdef HAVE_IEEEFP_H
51942 #include <ieeefp.h>
51943 #endif
51944
51945 int
51946 main ()
51947 {
51948 _isinf(0);
51949 ;
51950 return 0;
51951 }
51952 _ACEOF
51953 if ac_fn_cxx_try_compile "$LINENO"; then :
51954 glibcxx_cv_func__isinf_use=yes
51955 else
51956 glibcxx_cv_func__isinf_use=no
51957 fi
51958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51959 ac_ext=c
51960 ac_cpp='$CPP $CPPFLAGS'
51961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51964
51965
51966 fi
51967
51968 fi
51969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51970 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51971
51972 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51973 for ac_func in _isinf
51974 do :
51975 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51976 if test "x$ac_cv_func__isinf" = x""yes; then :
51977 cat >>confdefs.h <<_ACEOF
51978 #define HAVE__ISINF 1
51979 _ACEOF
51980
51981 fi
51982 done
51983
51984 fi
51985 fi
51986
51987
51988
51989
51990
51991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51992 $as_echo_n "checking for isnan declaration... " >&6; }
51993 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51994 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51995 $as_echo_n "(cached) " >&6
51996 else
51997
51998
51999 ac_ext=cpp
52000 ac_cpp='$CXXCPP $CPPFLAGS'
52001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52004
52005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52006 /* end confdefs.h. */
52007 #include <math.h>
52008 #ifdef HAVE_IEEEFP_H
52009 #include <ieeefp.h>
52010 #endif
52011
52012 int
52013 main ()
52014 {
52015 isnan(0);
52016 ;
52017 return 0;
52018 }
52019 _ACEOF
52020 if ac_fn_cxx_try_compile "$LINENO"; then :
52021 glibcxx_cv_func_isnan_use=yes
52022 else
52023 glibcxx_cv_func_isnan_use=no
52024 fi
52025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52026 ac_ext=c
52027 ac_cpp='$CPP $CPPFLAGS'
52028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52031
52032
52033 fi
52034
52035 fi
52036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52037 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52038
52039 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52040 for ac_func in isnan
52041 do :
52042 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52043 if test "x$ac_cv_func_isnan" = x""yes; then :
52044 cat >>confdefs.h <<_ACEOF
52045 #define HAVE_ISNAN 1
52046 _ACEOF
52047
52048 fi
52049 done
52050
52051 else
52052
52053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52054 $as_echo_n "checking for _isnan declaration... " >&6; }
52055 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52056 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52057 $as_echo_n "(cached) " >&6
52058 else
52059
52060
52061 ac_ext=cpp
52062 ac_cpp='$CXXCPP $CPPFLAGS'
52063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52066
52067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52068 /* end confdefs.h. */
52069 #include <math.h>
52070 #ifdef HAVE_IEEEFP_H
52071 #include <ieeefp.h>
52072 #endif
52073
52074 int
52075 main ()
52076 {
52077 _isnan(0);
52078 ;
52079 return 0;
52080 }
52081 _ACEOF
52082 if ac_fn_cxx_try_compile "$LINENO"; then :
52083 glibcxx_cv_func__isnan_use=yes
52084 else
52085 glibcxx_cv_func__isnan_use=no
52086 fi
52087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52088 ac_ext=c
52089 ac_cpp='$CPP $CPPFLAGS'
52090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52093
52094
52095 fi
52096
52097 fi
52098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52099 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52100
52101 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52102 for ac_func in _isnan
52103 do :
52104 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52105 if test "x$ac_cv_func__isnan" = x""yes; then :
52106 cat >>confdefs.h <<_ACEOF
52107 #define HAVE__ISNAN 1
52108 _ACEOF
52109
52110 fi
52111 done
52112
52113 fi
52114 fi
52115
52116
52117
52118
52119
52120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52121 $as_echo_n "checking for finite declaration... " >&6; }
52122 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52123 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52124 $as_echo_n "(cached) " >&6
52125 else
52126
52127
52128 ac_ext=cpp
52129 ac_cpp='$CXXCPP $CPPFLAGS'
52130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52133
52134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52135 /* end confdefs.h. */
52136 #include <math.h>
52137 #ifdef HAVE_IEEEFP_H
52138 #include <ieeefp.h>
52139 #endif
52140
52141 int
52142 main ()
52143 {
52144 finite(0);
52145 ;
52146 return 0;
52147 }
52148 _ACEOF
52149 if ac_fn_cxx_try_compile "$LINENO"; then :
52150 glibcxx_cv_func_finite_use=yes
52151 else
52152 glibcxx_cv_func_finite_use=no
52153 fi
52154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52155 ac_ext=c
52156 ac_cpp='$CPP $CPPFLAGS'
52157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52160
52161
52162 fi
52163
52164 fi
52165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52166 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52167
52168 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52169 for ac_func in finite
52170 do :
52171 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52172 if test "x$ac_cv_func_finite" = x""yes; then :
52173 cat >>confdefs.h <<_ACEOF
52174 #define HAVE_FINITE 1
52175 _ACEOF
52176
52177 fi
52178 done
52179
52180 else
52181
52182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52183 $as_echo_n "checking for _finite declaration... " >&6; }
52184 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52185 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52186 $as_echo_n "(cached) " >&6
52187 else
52188
52189
52190 ac_ext=cpp
52191 ac_cpp='$CXXCPP $CPPFLAGS'
52192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52195
52196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52197 /* end confdefs.h. */
52198 #include <math.h>
52199 #ifdef HAVE_IEEEFP_H
52200 #include <ieeefp.h>
52201 #endif
52202
52203 int
52204 main ()
52205 {
52206 _finite(0);
52207 ;
52208 return 0;
52209 }
52210 _ACEOF
52211 if ac_fn_cxx_try_compile "$LINENO"; then :
52212 glibcxx_cv_func__finite_use=yes
52213 else
52214 glibcxx_cv_func__finite_use=no
52215 fi
52216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52217 ac_ext=c
52218 ac_cpp='$CPP $CPPFLAGS'
52219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52222
52223
52224 fi
52225
52226 fi
52227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52228 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52229
52230 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52231 for ac_func in _finite
52232 do :
52233 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52234 if test "x$ac_cv_func__finite" = x""yes; then :
52235 cat >>confdefs.h <<_ACEOF
52236 #define HAVE__FINITE 1
52237 _ACEOF
52238
52239 fi
52240 done
52241
52242 fi
52243 fi
52244
52245
52246
52247
52248
52249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52250 $as_echo_n "checking for sincos declaration... " >&6; }
52251 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52252 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52253 $as_echo_n "(cached) " >&6
52254 else
52255
52256
52257 ac_ext=cpp
52258 ac_cpp='$CXXCPP $CPPFLAGS'
52259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52262
52263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52264 /* end confdefs.h. */
52265 #include <math.h>
52266 int
52267 main ()
52268 {
52269 sincos(0, 0, 0);
52270 ;
52271 return 0;
52272 }
52273 _ACEOF
52274 if ac_fn_cxx_try_compile "$LINENO"; then :
52275 glibcxx_cv_func_sincos_use=yes
52276 else
52277 glibcxx_cv_func_sincos_use=no
52278 fi
52279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52280 ac_ext=c
52281 ac_cpp='$CPP $CPPFLAGS'
52282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52285
52286
52287 fi
52288
52289 fi
52290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52291 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52292
52293 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52294 for ac_func in sincos
52295 do :
52296 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52297 if test "x$ac_cv_func_sincos" = x""yes; then :
52298 cat >>confdefs.h <<_ACEOF
52299 #define HAVE_SINCOS 1
52300 _ACEOF
52301
52302 fi
52303 done
52304
52305 else
52306
52307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52308 $as_echo_n "checking for _sincos declaration... " >&6; }
52309 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52310 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52311 $as_echo_n "(cached) " >&6
52312 else
52313
52314
52315 ac_ext=cpp
52316 ac_cpp='$CXXCPP $CPPFLAGS'
52317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52320
52321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52322 /* end confdefs.h. */
52323 #include <math.h>
52324 int
52325 main ()
52326 {
52327 _sincos(0, 0, 0);
52328 ;
52329 return 0;
52330 }
52331 _ACEOF
52332 if ac_fn_cxx_try_compile "$LINENO"; then :
52333 glibcxx_cv_func__sincos_use=yes
52334 else
52335 glibcxx_cv_func__sincos_use=no
52336 fi
52337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52338 ac_ext=c
52339 ac_cpp='$CPP $CPPFLAGS'
52340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52343
52344
52345 fi
52346
52347 fi
52348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52349 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52350
52351 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52352 for ac_func in _sincos
52353 do :
52354 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52355 if test "x$ac_cv_func__sincos" = x""yes; then :
52356 cat >>confdefs.h <<_ACEOF
52357 #define HAVE__SINCOS 1
52358 _ACEOF
52359
52360 fi
52361 done
52362
52363 fi
52364 fi
52365
52366
52367
52368
52369
52370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52371 $as_echo_n "checking for fpclass declaration... " >&6; }
52372 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52373 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52374 $as_echo_n "(cached) " >&6
52375 else
52376
52377
52378 ac_ext=cpp
52379 ac_cpp='$CXXCPP $CPPFLAGS'
52380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52383
52384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52385 /* end confdefs.h. */
52386 #include <math.h>
52387 #ifdef HAVE_IEEEFP_H
52388 #include <ieeefp.h>
52389 #endif
52390
52391 int
52392 main ()
52393 {
52394 fpclass(0);
52395 ;
52396 return 0;
52397 }
52398 _ACEOF
52399 if ac_fn_cxx_try_compile "$LINENO"; then :
52400 glibcxx_cv_func_fpclass_use=yes
52401 else
52402 glibcxx_cv_func_fpclass_use=no
52403 fi
52404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52405 ac_ext=c
52406 ac_cpp='$CPP $CPPFLAGS'
52407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52410
52411
52412 fi
52413
52414 fi
52415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52416 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52417
52418 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52419 for ac_func in fpclass
52420 do :
52421 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52422 if test "x$ac_cv_func_fpclass" = x""yes; then :
52423 cat >>confdefs.h <<_ACEOF
52424 #define HAVE_FPCLASS 1
52425 _ACEOF
52426
52427 fi
52428 done
52429
52430 else
52431
52432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52433 $as_echo_n "checking for _fpclass declaration... " >&6; }
52434 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52435 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52436 $as_echo_n "(cached) " >&6
52437 else
52438
52439
52440 ac_ext=cpp
52441 ac_cpp='$CXXCPP $CPPFLAGS'
52442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52445
52446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52447 /* end confdefs.h. */
52448 #include <math.h>
52449 #ifdef HAVE_IEEEFP_H
52450 #include <ieeefp.h>
52451 #endif
52452
52453 int
52454 main ()
52455 {
52456 _fpclass(0);
52457 ;
52458 return 0;
52459 }
52460 _ACEOF
52461 if ac_fn_cxx_try_compile "$LINENO"; then :
52462 glibcxx_cv_func__fpclass_use=yes
52463 else
52464 glibcxx_cv_func__fpclass_use=no
52465 fi
52466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52467 ac_ext=c
52468 ac_cpp='$CPP $CPPFLAGS'
52469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52472
52473
52474 fi
52475
52476 fi
52477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52478 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52479
52480 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52481 for ac_func in _fpclass
52482 do :
52483 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52484 if test "x$ac_cv_func__fpclass" = x""yes; then :
52485 cat >>confdefs.h <<_ACEOF
52486 #define HAVE__FPCLASS 1
52487 _ACEOF
52488
52489 fi
52490 done
52491
52492 fi
52493 fi
52494
52495
52496
52497
52498
52499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52500 $as_echo_n "checking for qfpclass declaration... " >&6; }
52501 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52502 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52503 $as_echo_n "(cached) " >&6
52504 else
52505
52506
52507 ac_ext=cpp
52508 ac_cpp='$CXXCPP $CPPFLAGS'
52509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52512
52513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52514 /* end confdefs.h. */
52515 #include <math.h>
52516 #ifdef HAVE_IEEEFP_H
52517 #include <ieeefp.h>
52518 #endif
52519
52520 int
52521 main ()
52522 {
52523 qfpclass(0);
52524 ;
52525 return 0;
52526 }
52527 _ACEOF
52528 if ac_fn_cxx_try_compile "$LINENO"; then :
52529 glibcxx_cv_func_qfpclass_use=yes
52530 else
52531 glibcxx_cv_func_qfpclass_use=no
52532 fi
52533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52534 ac_ext=c
52535 ac_cpp='$CPP $CPPFLAGS'
52536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52539
52540
52541 fi
52542
52543 fi
52544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52545 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52546
52547 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52548 for ac_func in qfpclass
52549 do :
52550 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52551 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52552 cat >>confdefs.h <<_ACEOF
52553 #define HAVE_QFPCLASS 1
52554 _ACEOF
52555
52556 fi
52557 done
52558
52559 else
52560
52561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52562 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52563 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52564 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52565 $as_echo_n "(cached) " >&6
52566 else
52567
52568
52569 ac_ext=cpp
52570 ac_cpp='$CXXCPP $CPPFLAGS'
52571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52574
52575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52576 /* end confdefs.h. */
52577 #include <math.h>
52578 #ifdef HAVE_IEEEFP_H
52579 #include <ieeefp.h>
52580 #endif
52581
52582 int
52583 main ()
52584 {
52585 _qfpclass(0);
52586 ;
52587 return 0;
52588 }
52589 _ACEOF
52590 if ac_fn_cxx_try_compile "$LINENO"; then :
52591 glibcxx_cv_func__qfpclass_use=yes
52592 else
52593 glibcxx_cv_func__qfpclass_use=no
52594 fi
52595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52596 ac_ext=c
52597 ac_cpp='$CPP $CPPFLAGS'
52598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52601
52602
52603 fi
52604
52605 fi
52606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52607 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52608
52609 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52610 for ac_func in _qfpclass
52611 do :
52612 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52613 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52614 cat >>confdefs.h <<_ACEOF
52615 #define HAVE__QFPCLASS 1
52616 _ACEOF
52617
52618 fi
52619 done
52620
52621 fi
52622 fi
52623
52624
52625
52626
52627
52628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52629 $as_echo_n "checking for hypot declaration... " >&6; }
52630 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52631 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52632 $as_echo_n "(cached) " >&6
52633 else
52634
52635
52636 ac_ext=cpp
52637 ac_cpp='$CXXCPP $CPPFLAGS'
52638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52641
52642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52643 /* end confdefs.h. */
52644 #include <math.h>
52645 int
52646 main ()
52647 {
52648 hypot(0, 0);
52649 ;
52650 return 0;
52651 }
52652 _ACEOF
52653 if ac_fn_cxx_try_compile "$LINENO"; then :
52654 glibcxx_cv_func_hypot_use=yes
52655 else
52656 glibcxx_cv_func_hypot_use=no
52657 fi
52658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52659 ac_ext=c
52660 ac_cpp='$CPP $CPPFLAGS'
52661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52664
52665
52666 fi
52667
52668 fi
52669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52670 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52671
52672 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52673 for ac_func in hypot
52674 do :
52675 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52676 if test "x$ac_cv_func_hypot" = x""yes; then :
52677 cat >>confdefs.h <<_ACEOF
52678 #define HAVE_HYPOT 1
52679 _ACEOF
52680
52681 fi
52682 done
52683
52684 else
52685
52686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52687 $as_echo_n "checking for _hypot declaration... " >&6; }
52688 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52689 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52690 $as_echo_n "(cached) " >&6
52691 else
52692
52693
52694 ac_ext=cpp
52695 ac_cpp='$CXXCPP $CPPFLAGS'
52696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52699
52700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52701 /* end confdefs.h. */
52702 #include <math.h>
52703 int
52704 main ()
52705 {
52706 _hypot(0, 0);
52707 ;
52708 return 0;
52709 }
52710 _ACEOF
52711 if ac_fn_cxx_try_compile "$LINENO"; then :
52712 glibcxx_cv_func__hypot_use=yes
52713 else
52714 glibcxx_cv_func__hypot_use=no
52715 fi
52716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52717 ac_ext=c
52718 ac_cpp='$CPP $CPPFLAGS'
52719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52722
52723
52724 fi
52725
52726 fi
52727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52728 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52729
52730 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52731 for ac_func in _hypot
52732 do :
52733 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52734 if test "x$ac_cv_func__hypot" = x""yes; then :
52735 cat >>confdefs.h <<_ACEOF
52736 #define HAVE__HYPOT 1
52737 _ACEOF
52738
52739 fi
52740 done
52741
52742 fi
52743 fi
52744
52745
52746
52747
52748
52749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52750 $as_echo_n "checking for float trig functions... " >&6; }
52751 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52752 $as_echo_n "(cached) " >&6
52753 else
52754
52755
52756 ac_ext=cpp
52757 ac_cpp='$CXXCPP $CPPFLAGS'
52758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52761
52762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52763 /* end confdefs.h. */
52764 #include <math.h>
52765 int
52766 main ()
52767 {
52768 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52769 ;
52770 return 0;
52771 }
52772 _ACEOF
52773 if ac_fn_cxx_try_compile "$LINENO"; then :
52774 glibcxx_cv_func_float_trig_use=yes
52775 else
52776 glibcxx_cv_func_float_trig_use=no
52777 fi
52778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52779 ac_ext=c
52780 ac_cpp='$CPP $CPPFLAGS'
52781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52784
52785 fi
52786
52787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52788 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52789 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52790 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52791 do :
52792 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52793 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52794 eval as_val=\$$as_ac_var
52795 if test "x$as_val" = x""yes; then :
52796 cat >>confdefs.h <<_ACEOF
52797 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52798 _ACEOF
52799
52800 fi
52801 done
52802
52803 else
52804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52805 $as_echo_n "checking for _float trig functions... " >&6; }
52806 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52807 $as_echo_n "(cached) " >&6
52808 else
52809
52810
52811 ac_ext=cpp
52812 ac_cpp='$CXXCPP $CPPFLAGS'
52813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52816
52817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52818 /* end confdefs.h. */
52819 #include <math.h>
52820 int
52821 main ()
52822 {
52823 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52824 ;
52825 return 0;
52826 }
52827 _ACEOF
52828 if ac_fn_cxx_try_compile "$LINENO"; then :
52829 glibcxx_cv_func__float_trig_use=yes
52830 else
52831 glibcxx_cv_func__float_trig_use=no
52832 fi
52833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52834 ac_ext=c
52835 ac_cpp='$CPP $CPPFLAGS'
52836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52839
52840 fi
52841
52842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52843 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52844 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52845 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52846 do :
52847 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52848 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52849 eval as_val=\$$as_ac_var
52850 if test "x$as_val" = x""yes; then :
52851 cat >>confdefs.h <<_ACEOF
52852 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52853 _ACEOF
52854
52855 fi
52856 done
52857
52858 fi
52859 fi
52860
52861
52862
52863
52864
52865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52866 $as_echo_n "checking for float round functions... " >&6; }
52867 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52868 $as_echo_n "(cached) " >&6
52869 else
52870
52871
52872 ac_ext=cpp
52873 ac_cpp='$CXXCPP $CPPFLAGS'
52874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52877
52878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52879 /* end confdefs.h. */
52880 #include <math.h>
52881 int
52882 main ()
52883 {
52884 ceilf (0); floorf (0);
52885 ;
52886 return 0;
52887 }
52888 _ACEOF
52889 if ac_fn_cxx_try_compile "$LINENO"; then :
52890 glibcxx_cv_func_float_round_use=yes
52891 else
52892 glibcxx_cv_func_float_round_use=no
52893 fi
52894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52895 ac_ext=c
52896 ac_cpp='$CPP $CPPFLAGS'
52897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52900
52901 fi
52902
52903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52904 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52905 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52906 for ac_func in ceilf floorf
52907 do :
52908 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52909 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52910 eval as_val=\$$as_ac_var
52911 if test "x$as_val" = x""yes; then :
52912 cat >>confdefs.h <<_ACEOF
52913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52914 _ACEOF
52915
52916 fi
52917 done
52918
52919 else
52920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52921 $as_echo_n "checking for _float round functions... " >&6; }
52922 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52923 $as_echo_n "(cached) " >&6
52924 else
52925
52926
52927 ac_ext=cpp
52928 ac_cpp='$CXXCPP $CPPFLAGS'
52929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52932
52933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52934 /* end confdefs.h. */
52935 #include <math.h>
52936 int
52937 main ()
52938 {
52939 _ceilf (0); _floorf (0);
52940 ;
52941 return 0;
52942 }
52943 _ACEOF
52944 if ac_fn_cxx_try_compile "$LINENO"; then :
52945 glibcxx_cv_func__float_round_use=yes
52946 else
52947 glibcxx_cv_func__float_round_use=no
52948 fi
52949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52950 ac_ext=c
52951 ac_cpp='$CPP $CPPFLAGS'
52952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52955
52956 fi
52957
52958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52959 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52960 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52961 for ac_func in _ceilf _floorf
52962 do :
52963 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52964 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52965 eval as_val=\$$as_ac_var
52966 if test "x$as_val" = x""yes; then :
52967 cat >>confdefs.h <<_ACEOF
52968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52969 _ACEOF
52970
52971 fi
52972 done
52973
52974 fi
52975 fi
52976
52977
52978
52979
52980
52981
52982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52983 $as_echo_n "checking for expf declaration... " >&6; }
52984 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52985 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52986 $as_echo_n "(cached) " >&6
52987 else
52988
52989
52990 ac_ext=cpp
52991 ac_cpp='$CXXCPP $CPPFLAGS'
52992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52995
52996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52997 /* end confdefs.h. */
52998 #include <math.h>
52999 #ifdef HAVE_IEEEFP_H
53000 #include <ieeefp.h>
53001 #endif
53002
53003 int
53004 main ()
53005 {
53006 expf(0);
53007 ;
53008 return 0;
53009 }
53010 _ACEOF
53011 if ac_fn_cxx_try_compile "$LINENO"; then :
53012 glibcxx_cv_func_expf_use=yes
53013 else
53014 glibcxx_cv_func_expf_use=no
53015 fi
53016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53017 ac_ext=c
53018 ac_cpp='$CPP $CPPFLAGS'
53019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53022
53023
53024 fi
53025
53026 fi
53027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53028 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53029
53030 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53031 for ac_func in expf
53032 do :
53033 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53034 if test "x$ac_cv_func_expf" = x""yes; then :
53035 cat >>confdefs.h <<_ACEOF
53036 #define HAVE_EXPF 1
53037 _ACEOF
53038
53039 fi
53040 done
53041
53042 else
53043
53044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53045 $as_echo_n "checking for _expf declaration... " >&6; }
53046 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53047 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53048 $as_echo_n "(cached) " >&6
53049 else
53050
53051
53052 ac_ext=cpp
53053 ac_cpp='$CXXCPP $CPPFLAGS'
53054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53057
53058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53059 /* end confdefs.h. */
53060 #include <math.h>
53061 #ifdef HAVE_IEEEFP_H
53062 #include <ieeefp.h>
53063 #endif
53064
53065 int
53066 main ()
53067 {
53068 _expf(0);
53069 ;
53070 return 0;
53071 }
53072 _ACEOF
53073 if ac_fn_cxx_try_compile "$LINENO"; then :
53074 glibcxx_cv_func__expf_use=yes
53075 else
53076 glibcxx_cv_func__expf_use=no
53077 fi
53078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53079 ac_ext=c
53080 ac_cpp='$CPP $CPPFLAGS'
53081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53084
53085
53086 fi
53087
53088 fi
53089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53090 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53091
53092 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53093 for ac_func in _expf
53094 do :
53095 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53096 if test "x$ac_cv_func__expf" = x""yes; then :
53097 cat >>confdefs.h <<_ACEOF
53098 #define HAVE__EXPF 1
53099 _ACEOF
53100
53101 fi
53102 done
53103
53104 fi
53105 fi
53106
53107
53108
53109
53110
53111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53112 $as_echo_n "checking for isnanf declaration... " >&6; }
53113 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53114 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53115 $as_echo_n "(cached) " >&6
53116 else
53117
53118
53119 ac_ext=cpp
53120 ac_cpp='$CXXCPP $CPPFLAGS'
53121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53124
53125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53126 /* end confdefs.h. */
53127 #include <math.h>
53128 #ifdef HAVE_IEEEFP_H
53129 #include <ieeefp.h>
53130 #endif
53131
53132 int
53133 main ()
53134 {
53135 isnanf(0);
53136 ;
53137 return 0;
53138 }
53139 _ACEOF
53140 if ac_fn_cxx_try_compile "$LINENO"; then :
53141 glibcxx_cv_func_isnanf_use=yes
53142 else
53143 glibcxx_cv_func_isnanf_use=no
53144 fi
53145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53146 ac_ext=c
53147 ac_cpp='$CPP $CPPFLAGS'
53148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53151
53152
53153 fi
53154
53155 fi
53156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53157 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53158
53159 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53160 for ac_func in isnanf
53161 do :
53162 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53163 if test "x$ac_cv_func_isnanf" = x""yes; then :
53164 cat >>confdefs.h <<_ACEOF
53165 #define HAVE_ISNANF 1
53166 _ACEOF
53167
53168 fi
53169 done
53170
53171 else
53172
53173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53174 $as_echo_n "checking for _isnanf declaration... " >&6; }
53175 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53176 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53177 $as_echo_n "(cached) " >&6
53178 else
53179
53180
53181 ac_ext=cpp
53182 ac_cpp='$CXXCPP $CPPFLAGS'
53183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53186
53187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53188 /* end confdefs.h. */
53189 #include <math.h>
53190 #ifdef HAVE_IEEEFP_H
53191 #include <ieeefp.h>
53192 #endif
53193
53194 int
53195 main ()
53196 {
53197 _isnanf(0);
53198 ;
53199 return 0;
53200 }
53201 _ACEOF
53202 if ac_fn_cxx_try_compile "$LINENO"; then :
53203 glibcxx_cv_func__isnanf_use=yes
53204 else
53205 glibcxx_cv_func__isnanf_use=no
53206 fi
53207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53208 ac_ext=c
53209 ac_cpp='$CPP $CPPFLAGS'
53210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53213
53214
53215 fi
53216
53217 fi
53218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53219 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53220
53221 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53222 for ac_func in _isnanf
53223 do :
53224 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53225 if test "x$ac_cv_func__isnanf" = x""yes; then :
53226 cat >>confdefs.h <<_ACEOF
53227 #define HAVE__ISNANF 1
53228 _ACEOF
53229
53230 fi
53231 done
53232
53233 fi
53234 fi
53235
53236
53237
53238
53239
53240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53241 $as_echo_n "checking for isinff declaration... " >&6; }
53242 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53243 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53244 $as_echo_n "(cached) " >&6
53245 else
53246
53247
53248 ac_ext=cpp
53249 ac_cpp='$CXXCPP $CPPFLAGS'
53250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53253
53254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53255 /* end confdefs.h. */
53256 #include <math.h>
53257 #ifdef HAVE_IEEEFP_H
53258 #include <ieeefp.h>
53259 #endif
53260
53261 int
53262 main ()
53263 {
53264 isinff(0);
53265 ;
53266 return 0;
53267 }
53268 _ACEOF
53269 if ac_fn_cxx_try_compile "$LINENO"; then :
53270 glibcxx_cv_func_isinff_use=yes
53271 else
53272 glibcxx_cv_func_isinff_use=no
53273 fi
53274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53275 ac_ext=c
53276 ac_cpp='$CPP $CPPFLAGS'
53277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53280
53281
53282 fi
53283
53284 fi
53285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53286 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53287
53288 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53289 for ac_func in isinff
53290 do :
53291 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53292 if test "x$ac_cv_func_isinff" = x""yes; then :
53293 cat >>confdefs.h <<_ACEOF
53294 #define HAVE_ISINFF 1
53295 _ACEOF
53296
53297 fi
53298 done
53299
53300 else
53301
53302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53303 $as_echo_n "checking for _isinff declaration... " >&6; }
53304 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53305 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53306 $as_echo_n "(cached) " >&6
53307 else
53308
53309
53310 ac_ext=cpp
53311 ac_cpp='$CXXCPP $CPPFLAGS'
53312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53315
53316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53317 /* end confdefs.h. */
53318 #include <math.h>
53319 #ifdef HAVE_IEEEFP_H
53320 #include <ieeefp.h>
53321 #endif
53322
53323 int
53324 main ()
53325 {
53326 _isinff(0);
53327 ;
53328 return 0;
53329 }
53330 _ACEOF
53331 if ac_fn_cxx_try_compile "$LINENO"; then :
53332 glibcxx_cv_func__isinff_use=yes
53333 else
53334 glibcxx_cv_func__isinff_use=no
53335 fi
53336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53337 ac_ext=c
53338 ac_cpp='$CPP $CPPFLAGS'
53339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53342
53343
53344 fi
53345
53346 fi
53347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53348 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53349
53350 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53351 for ac_func in _isinff
53352 do :
53353 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53354 if test "x$ac_cv_func__isinff" = x""yes; then :
53355 cat >>confdefs.h <<_ACEOF
53356 #define HAVE__ISINFF 1
53357 _ACEOF
53358
53359 fi
53360 done
53361
53362 fi
53363 fi
53364
53365
53366
53367
53368
53369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53370 $as_echo_n "checking for atan2f declaration... " >&6; }
53371 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53372 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53373 $as_echo_n "(cached) " >&6
53374 else
53375
53376
53377 ac_ext=cpp
53378 ac_cpp='$CXXCPP $CPPFLAGS'
53379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53382
53383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53384 /* end confdefs.h. */
53385 #include <math.h>
53386 int
53387 main ()
53388 {
53389 atan2f(0, 0);
53390 ;
53391 return 0;
53392 }
53393 _ACEOF
53394 if ac_fn_cxx_try_compile "$LINENO"; then :
53395 glibcxx_cv_func_atan2f_use=yes
53396 else
53397 glibcxx_cv_func_atan2f_use=no
53398 fi
53399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53400 ac_ext=c
53401 ac_cpp='$CPP $CPPFLAGS'
53402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53405
53406
53407 fi
53408
53409 fi
53410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53411 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53412
53413 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53414 for ac_func in atan2f
53415 do :
53416 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53417 if test "x$ac_cv_func_atan2f" = x""yes; then :
53418 cat >>confdefs.h <<_ACEOF
53419 #define HAVE_ATAN2F 1
53420 _ACEOF
53421
53422 fi
53423 done
53424
53425 else
53426
53427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53428 $as_echo_n "checking for _atan2f declaration... " >&6; }
53429 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53430 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53431 $as_echo_n "(cached) " >&6
53432 else
53433
53434
53435 ac_ext=cpp
53436 ac_cpp='$CXXCPP $CPPFLAGS'
53437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53440
53441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53442 /* end confdefs.h. */
53443 #include <math.h>
53444 int
53445 main ()
53446 {
53447 _atan2f(0, 0);
53448 ;
53449 return 0;
53450 }
53451 _ACEOF
53452 if ac_fn_cxx_try_compile "$LINENO"; then :
53453 glibcxx_cv_func__atan2f_use=yes
53454 else
53455 glibcxx_cv_func__atan2f_use=no
53456 fi
53457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53458 ac_ext=c
53459 ac_cpp='$CPP $CPPFLAGS'
53460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53463
53464
53465 fi
53466
53467 fi
53468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53469 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53470
53471 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53472 for ac_func in _atan2f
53473 do :
53474 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53475 if test "x$ac_cv_func__atan2f" = x""yes; then :
53476 cat >>confdefs.h <<_ACEOF
53477 #define HAVE__ATAN2F 1
53478 _ACEOF
53479
53480 fi
53481 done
53482
53483 fi
53484 fi
53485
53486
53487
53488
53489
53490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53491 $as_echo_n "checking for fabsf declaration... " >&6; }
53492 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53493 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53494 $as_echo_n "(cached) " >&6
53495 else
53496
53497
53498 ac_ext=cpp
53499 ac_cpp='$CXXCPP $CPPFLAGS'
53500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53503
53504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53505 /* end confdefs.h. */
53506 #include <math.h>
53507 #ifdef HAVE_IEEEFP_H
53508 #include <ieeefp.h>
53509 #endif
53510
53511 int
53512 main ()
53513 {
53514 fabsf(0);
53515 ;
53516 return 0;
53517 }
53518 _ACEOF
53519 if ac_fn_cxx_try_compile "$LINENO"; then :
53520 glibcxx_cv_func_fabsf_use=yes
53521 else
53522 glibcxx_cv_func_fabsf_use=no
53523 fi
53524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53525 ac_ext=c
53526 ac_cpp='$CPP $CPPFLAGS'
53527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53530
53531
53532 fi
53533
53534 fi
53535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53536 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53537
53538 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53539 for ac_func in fabsf
53540 do :
53541 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53542 if test "x$ac_cv_func_fabsf" = x""yes; then :
53543 cat >>confdefs.h <<_ACEOF
53544 #define HAVE_FABSF 1
53545 _ACEOF
53546
53547 fi
53548 done
53549
53550 else
53551
53552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53553 $as_echo_n "checking for _fabsf declaration... " >&6; }
53554 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53555 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53556 $as_echo_n "(cached) " >&6
53557 else
53558
53559
53560 ac_ext=cpp
53561 ac_cpp='$CXXCPP $CPPFLAGS'
53562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53565
53566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53567 /* end confdefs.h. */
53568 #include <math.h>
53569 #ifdef HAVE_IEEEFP_H
53570 #include <ieeefp.h>
53571 #endif
53572
53573 int
53574 main ()
53575 {
53576 _fabsf(0);
53577 ;
53578 return 0;
53579 }
53580 _ACEOF
53581 if ac_fn_cxx_try_compile "$LINENO"; then :
53582 glibcxx_cv_func__fabsf_use=yes
53583 else
53584 glibcxx_cv_func__fabsf_use=no
53585 fi
53586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53587 ac_ext=c
53588 ac_cpp='$CPP $CPPFLAGS'
53589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53592
53593
53594 fi
53595
53596 fi
53597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53598 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53599
53600 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53601 for ac_func in _fabsf
53602 do :
53603 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53604 if test "x$ac_cv_func__fabsf" = x""yes; then :
53605 cat >>confdefs.h <<_ACEOF
53606 #define HAVE__FABSF 1
53607 _ACEOF
53608
53609 fi
53610 done
53611
53612 fi
53613 fi
53614
53615
53616
53617
53618
53619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53620 $as_echo_n "checking for fmodf declaration... " >&6; }
53621 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53622 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53623 $as_echo_n "(cached) " >&6
53624 else
53625
53626
53627 ac_ext=cpp
53628 ac_cpp='$CXXCPP $CPPFLAGS'
53629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53632
53633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53634 /* end confdefs.h. */
53635 #include <math.h>
53636 int
53637 main ()
53638 {
53639 fmodf(0, 0);
53640 ;
53641 return 0;
53642 }
53643 _ACEOF
53644 if ac_fn_cxx_try_compile "$LINENO"; then :
53645 glibcxx_cv_func_fmodf_use=yes
53646 else
53647 glibcxx_cv_func_fmodf_use=no
53648 fi
53649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53650 ac_ext=c
53651 ac_cpp='$CPP $CPPFLAGS'
53652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53655
53656
53657 fi
53658
53659 fi
53660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53661 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53662
53663 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53664 for ac_func in fmodf
53665 do :
53666 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53667 if test "x$ac_cv_func_fmodf" = x""yes; then :
53668 cat >>confdefs.h <<_ACEOF
53669 #define HAVE_FMODF 1
53670 _ACEOF
53671
53672 fi
53673 done
53674
53675 else
53676
53677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53678 $as_echo_n "checking for _fmodf declaration... " >&6; }
53679 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53680 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53681 $as_echo_n "(cached) " >&6
53682 else
53683
53684
53685 ac_ext=cpp
53686 ac_cpp='$CXXCPP $CPPFLAGS'
53687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53690
53691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53692 /* end confdefs.h. */
53693 #include <math.h>
53694 int
53695 main ()
53696 {
53697 _fmodf(0, 0);
53698 ;
53699 return 0;
53700 }
53701 _ACEOF
53702 if ac_fn_cxx_try_compile "$LINENO"; then :
53703 glibcxx_cv_func__fmodf_use=yes
53704 else
53705 glibcxx_cv_func__fmodf_use=no
53706 fi
53707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53708 ac_ext=c
53709 ac_cpp='$CPP $CPPFLAGS'
53710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53713
53714
53715 fi
53716
53717 fi
53718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53719 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53720
53721 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53722 for ac_func in _fmodf
53723 do :
53724 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53725 if test "x$ac_cv_func__fmodf" = x""yes; then :
53726 cat >>confdefs.h <<_ACEOF
53727 #define HAVE__FMODF 1
53728 _ACEOF
53729
53730 fi
53731 done
53732
53733 fi
53734 fi
53735
53736
53737
53738
53739
53740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53741 $as_echo_n "checking for frexpf declaration... " >&6; }
53742 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53743 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53744 $as_echo_n "(cached) " >&6
53745 else
53746
53747
53748 ac_ext=cpp
53749 ac_cpp='$CXXCPP $CPPFLAGS'
53750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53753
53754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53755 /* end confdefs.h. */
53756 #include <math.h>
53757 int
53758 main ()
53759 {
53760 frexpf(0, 0);
53761 ;
53762 return 0;
53763 }
53764 _ACEOF
53765 if ac_fn_cxx_try_compile "$LINENO"; then :
53766 glibcxx_cv_func_frexpf_use=yes
53767 else
53768 glibcxx_cv_func_frexpf_use=no
53769 fi
53770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53771 ac_ext=c
53772 ac_cpp='$CPP $CPPFLAGS'
53773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53776
53777
53778 fi
53779
53780 fi
53781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53782 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53783
53784 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53785 for ac_func in frexpf
53786 do :
53787 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53788 if test "x$ac_cv_func_frexpf" = x""yes; then :
53789 cat >>confdefs.h <<_ACEOF
53790 #define HAVE_FREXPF 1
53791 _ACEOF
53792
53793 fi
53794 done
53795
53796 else
53797
53798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53799 $as_echo_n "checking for _frexpf declaration... " >&6; }
53800 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53801 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53802 $as_echo_n "(cached) " >&6
53803 else
53804
53805
53806 ac_ext=cpp
53807 ac_cpp='$CXXCPP $CPPFLAGS'
53808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53811
53812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53813 /* end confdefs.h. */
53814 #include <math.h>
53815 int
53816 main ()
53817 {
53818 _frexpf(0, 0);
53819 ;
53820 return 0;
53821 }
53822 _ACEOF
53823 if ac_fn_cxx_try_compile "$LINENO"; then :
53824 glibcxx_cv_func__frexpf_use=yes
53825 else
53826 glibcxx_cv_func__frexpf_use=no
53827 fi
53828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53829 ac_ext=c
53830 ac_cpp='$CPP $CPPFLAGS'
53831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53834
53835
53836 fi
53837
53838 fi
53839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53840 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53841
53842 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53843 for ac_func in _frexpf
53844 do :
53845 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53846 if test "x$ac_cv_func__frexpf" = x""yes; then :
53847 cat >>confdefs.h <<_ACEOF
53848 #define HAVE__FREXPF 1
53849 _ACEOF
53850
53851 fi
53852 done
53853
53854 fi
53855 fi
53856
53857
53858
53859
53860
53861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53862 $as_echo_n "checking for hypotf declaration... " >&6; }
53863 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53864 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53865 $as_echo_n "(cached) " >&6
53866 else
53867
53868
53869 ac_ext=cpp
53870 ac_cpp='$CXXCPP $CPPFLAGS'
53871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53874
53875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53876 /* end confdefs.h. */
53877 #include <math.h>
53878 int
53879 main ()
53880 {
53881 hypotf(0, 0);
53882 ;
53883 return 0;
53884 }
53885 _ACEOF
53886 if ac_fn_cxx_try_compile "$LINENO"; then :
53887 glibcxx_cv_func_hypotf_use=yes
53888 else
53889 glibcxx_cv_func_hypotf_use=no
53890 fi
53891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53892 ac_ext=c
53893 ac_cpp='$CPP $CPPFLAGS'
53894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53897
53898
53899 fi
53900
53901 fi
53902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53903 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53904
53905 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53906 for ac_func in hypotf
53907 do :
53908 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53909 if test "x$ac_cv_func_hypotf" = x""yes; then :
53910 cat >>confdefs.h <<_ACEOF
53911 #define HAVE_HYPOTF 1
53912 _ACEOF
53913
53914 fi
53915 done
53916
53917 else
53918
53919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53920 $as_echo_n "checking for _hypotf declaration... " >&6; }
53921 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53922 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53923 $as_echo_n "(cached) " >&6
53924 else
53925
53926
53927 ac_ext=cpp
53928 ac_cpp='$CXXCPP $CPPFLAGS'
53929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53932
53933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53934 /* end confdefs.h. */
53935 #include <math.h>
53936 int
53937 main ()
53938 {
53939 _hypotf(0, 0);
53940 ;
53941 return 0;
53942 }
53943 _ACEOF
53944 if ac_fn_cxx_try_compile "$LINENO"; then :
53945 glibcxx_cv_func__hypotf_use=yes
53946 else
53947 glibcxx_cv_func__hypotf_use=no
53948 fi
53949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53950 ac_ext=c
53951 ac_cpp='$CPP $CPPFLAGS'
53952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53955
53956
53957 fi
53958
53959 fi
53960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53961 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53962
53963 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53964 for ac_func in _hypotf
53965 do :
53966 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53967 if test "x$ac_cv_func__hypotf" = x""yes; then :
53968 cat >>confdefs.h <<_ACEOF
53969 #define HAVE__HYPOTF 1
53970 _ACEOF
53971
53972 fi
53973 done
53974
53975 fi
53976 fi
53977
53978
53979
53980
53981
53982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53983 $as_echo_n "checking for ldexpf declaration... " >&6; }
53984 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53985 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53986 $as_echo_n "(cached) " >&6
53987 else
53988
53989
53990 ac_ext=cpp
53991 ac_cpp='$CXXCPP $CPPFLAGS'
53992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53995
53996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53997 /* end confdefs.h. */
53998 #include <math.h>
53999 int
54000 main ()
54001 {
54002 ldexpf(0, 0);
54003 ;
54004 return 0;
54005 }
54006 _ACEOF
54007 if ac_fn_cxx_try_compile "$LINENO"; then :
54008 glibcxx_cv_func_ldexpf_use=yes
54009 else
54010 glibcxx_cv_func_ldexpf_use=no
54011 fi
54012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54013 ac_ext=c
54014 ac_cpp='$CPP $CPPFLAGS'
54015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54018
54019
54020 fi
54021
54022 fi
54023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54024 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54025
54026 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54027 for ac_func in ldexpf
54028 do :
54029 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54030 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54031 cat >>confdefs.h <<_ACEOF
54032 #define HAVE_LDEXPF 1
54033 _ACEOF
54034
54035 fi
54036 done
54037
54038 else
54039
54040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54041 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54042 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54043 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54044 $as_echo_n "(cached) " >&6
54045 else
54046
54047
54048 ac_ext=cpp
54049 ac_cpp='$CXXCPP $CPPFLAGS'
54050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54053
54054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54055 /* end confdefs.h. */
54056 #include <math.h>
54057 int
54058 main ()
54059 {
54060 _ldexpf(0, 0);
54061 ;
54062 return 0;
54063 }
54064 _ACEOF
54065 if ac_fn_cxx_try_compile "$LINENO"; then :
54066 glibcxx_cv_func__ldexpf_use=yes
54067 else
54068 glibcxx_cv_func__ldexpf_use=no
54069 fi
54070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54071 ac_ext=c
54072 ac_cpp='$CPP $CPPFLAGS'
54073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54076
54077
54078 fi
54079
54080 fi
54081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54082 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54083
54084 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54085 for ac_func in _ldexpf
54086 do :
54087 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54088 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54089 cat >>confdefs.h <<_ACEOF
54090 #define HAVE__LDEXPF 1
54091 _ACEOF
54092
54093 fi
54094 done
54095
54096 fi
54097 fi
54098
54099
54100
54101
54102
54103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54104 $as_echo_n "checking for logf declaration... " >&6; }
54105 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54106 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54107 $as_echo_n "(cached) " >&6
54108 else
54109
54110
54111 ac_ext=cpp
54112 ac_cpp='$CXXCPP $CPPFLAGS'
54113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54116
54117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54118 /* end confdefs.h. */
54119 #include <math.h>
54120 #ifdef HAVE_IEEEFP_H
54121 #include <ieeefp.h>
54122 #endif
54123
54124 int
54125 main ()
54126 {
54127 logf(0);
54128 ;
54129 return 0;
54130 }
54131 _ACEOF
54132 if ac_fn_cxx_try_compile "$LINENO"; then :
54133 glibcxx_cv_func_logf_use=yes
54134 else
54135 glibcxx_cv_func_logf_use=no
54136 fi
54137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54138 ac_ext=c
54139 ac_cpp='$CPP $CPPFLAGS'
54140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54143
54144
54145 fi
54146
54147 fi
54148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54149 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54150
54151 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54152 for ac_func in logf
54153 do :
54154 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54155 if test "x$ac_cv_func_logf" = x""yes; then :
54156 cat >>confdefs.h <<_ACEOF
54157 #define HAVE_LOGF 1
54158 _ACEOF
54159
54160 fi
54161 done
54162
54163 else
54164
54165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54166 $as_echo_n "checking for _logf declaration... " >&6; }
54167 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54168 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54169 $as_echo_n "(cached) " >&6
54170 else
54171
54172
54173 ac_ext=cpp
54174 ac_cpp='$CXXCPP $CPPFLAGS'
54175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54178
54179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54180 /* end confdefs.h. */
54181 #include <math.h>
54182 #ifdef HAVE_IEEEFP_H
54183 #include <ieeefp.h>
54184 #endif
54185
54186 int
54187 main ()
54188 {
54189 _logf(0);
54190 ;
54191 return 0;
54192 }
54193 _ACEOF
54194 if ac_fn_cxx_try_compile "$LINENO"; then :
54195 glibcxx_cv_func__logf_use=yes
54196 else
54197 glibcxx_cv_func__logf_use=no
54198 fi
54199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54200 ac_ext=c
54201 ac_cpp='$CPP $CPPFLAGS'
54202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54205
54206
54207 fi
54208
54209 fi
54210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54211 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54212
54213 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54214 for ac_func in _logf
54215 do :
54216 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54217 if test "x$ac_cv_func__logf" = x""yes; then :
54218 cat >>confdefs.h <<_ACEOF
54219 #define HAVE__LOGF 1
54220 _ACEOF
54221
54222 fi
54223 done
54224
54225 fi
54226 fi
54227
54228
54229
54230
54231
54232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54233 $as_echo_n "checking for log10f declaration... " >&6; }
54234 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54235 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54236 $as_echo_n "(cached) " >&6
54237 else
54238
54239
54240 ac_ext=cpp
54241 ac_cpp='$CXXCPP $CPPFLAGS'
54242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54245
54246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54247 /* end confdefs.h. */
54248 #include <math.h>
54249 #ifdef HAVE_IEEEFP_H
54250 #include <ieeefp.h>
54251 #endif
54252
54253 int
54254 main ()
54255 {
54256 log10f(0);
54257 ;
54258 return 0;
54259 }
54260 _ACEOF
54261 if ac_fn_cxx_try_compile "$LINENO"; then :
54262 glibcxx_cv_func_log10f_use=yes
54263 else
54264 glibcxx_cv_func_log10f_use=no
54265 fi
54266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54267 ac_ext=c
54268 ac_cpp='$CPP $CPPFLAGS'
54269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54272
54273
54274 fi
54275
54276 fi
54277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54278 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54279
54280 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54281 for ac_func in log10f
54282 do :
54283 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54284 if test "x$ac_cv_func_log10f" = x""yes; then :
54285 cat >>confdefs.h <<_ACEOF
54286 #define HAVE_LOG10F 1
54287 _ACEOF
54288
54289 fi
54290 done
54291
54292 else
54293
54294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54295 $as_echo_n "checking for _log10f declaration... " >&6; }
54296 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54297 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54298 $as_echo_n "(cached) " >&6
54299 else
54300
54301
54302 ac_ext=cpp
54303 ac_cpp='$CXXCPP $CPPFLAGS'
54304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54307
54308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54309 /* end confdefs.h. */
54310 #include <math.h>
54311 #ifdef HAVE_IEEEFP_H
54312 #include <ieeefp.h>
54313 #endif
54314
54315 int
54316 main ()
54317 {
54318 _log10f(0);
54319 ;
54320 return 0;
54321 }
54322 _ACEOF
54323 if ac_fn_cxx_try_compile "$LINENO"; then :
54324 glibcxx_cv_func__log10f_use=yes
54325 else
54326 glibcxx_cv_func__log10f_use=no
54327 fi
54328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54329 ac_ext=c
54330 ac_cpp='$CPP $CPPFLAGS'
54331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54334
54335
54336 fi
54337
54338 fi
54339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54340 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54341
54342 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54343 for ac_func in _log10f
54344 do :
54345 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54346 if test "x$ac_cv_func__log10f" = x""yes; then :
54347 cat >>confdefs.h <<_ACEOF
54348 #define HAVE__LOG10F 1
54349 _ACEOF
54350
54351 fi
54352 done
54353
54354 fi
54355 fi
54356
54357
54358
54359
54360
54361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54362 $as_echo_n "checking for modff declaration... " >&6; }
54363 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54364 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54365 $as_echo_n "(cached) " >&6
54366 else
54367
54368
54369 ac_ext=cpp
54370 ac_cpp='$CXXCPP $CPPFLAGS'
54371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54374
54375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54376 /* end confdefs.h. */
54377 #include <math.h>
54378 int
54379 main ()
54380 {
54381 modff(0, 0);
54382 ;
54383 return 0;
54384 }
54385 _ACEOF
54386 if ac_fn_cxx_try_compile "$LINENO"; then :
54387 glibcxx_cv_func_modff_use=yes
54388 else
54389 glibcxx_cv_func_modff_use=no
54390 fi
54391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54392 ac_ext=c
54393 ac_cpp='$CPP $CPPFLAGS'
54394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54397
54398
54399 fi
54400
54401 fi
54402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54403 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54404
54405 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54406 for ac_func in modff
54407 do :
54408 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54409 if test "x$ac_cv_func_modff" = x""yes; then :
54410 cat >>confdefs.h <<_ACEOF
54411 #define HAVE_MODFF 1
54412 _ACEOF
54413
54414 fi
54415 done
54416
54417 else
54418
54419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54420 $as_echo_n "checking for _modff declaration... " >&6; }
54421 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54422 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54423 $as_echo_n "(cached) " >&6
54424 else
54425
54426
54427 ac_ext=cpp
54428 ac_cpp='$CXXCPP $CPPFLAGS'
54429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54432
54433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54434 /* end confdefs.h. */
54435 #include <math.h>
54436 int
54437 main ()
54438 {
54439 _modff(0, 0);
54440 ;
54441 return 0;
54442 }
54443 _ACEOF
54444 if ac_fn_cxx_try_compile "$LINENO"; then :
54445 glibcxx_cv_func__modff_use=yes
54446 else
54447 glibcxx_cv_func__modff_use=no
54448 fi
54449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54450 ac_ext=c
54451 ac_cpp='$CPP $CPPFLAGS'
54452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54455
54456
54457 fi
54458
54459 fi
54460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54461 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54462
54463 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54464 for ac_func in _modff
54465 do :
54466 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54467 if test "x$ac_cv_func__modff" = x""yes; then :
54468 cat >>confdefs.h <<_ACEOF
54469 #define HAVE__MODFF 1
54470 _ACEOF
54471
54472 fi
54473 done
54474
54475 fi
54476 fi
54477
54478
54479
54480
54481
54482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54483 $as_echo_n "checking for modf declaration... " >&6; }
54484 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54485 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54486 $as_echo_n "(cached) " >&6
54487 else
54488
54489
54490 ac_ext=cpp
54491 ac_cpp='$CXXCPP $CPPFLAGS'
54492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54495
54496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54497 /* end confdefs.h. */
54498 #include <math.h>
54499 int
54500 main ()
54501 {
54502 modf(0, 0);
54503 ;
54504 return 0;
54505 }
54506 _ACEOF
54507 if ac_fn_cxx_try_compile "$LINENO"; then :
54508 glibcxx_cv_func_modf_use=yes
54509 else
54510 glibcxx_cv_func_modf_use=no
54511 fi
54512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54513 ac_ext=c
54514 ac_cpp='$CPP $CPPFLAGS'
54515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54518
54519
54520 fi
54521
54522 fi
54523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54524 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54525
54526 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54527 for ac_func in modf
54528 do :
54529 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54530 if test "x$ac_cv_func_modf" = x""yes; then :
54531 cat >>confdefs.h <<_ACEOF
54532 #define HAVE_MODF 1
54533 _ACEOF
54534
54535 fi
54536 done
54537
54538 else
54539
54540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54541 $as_echo_n "checking for _modf declaration... " >&6; }
54542 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54543 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54544 $as_echo_n "(cached) " >&6
54545 else
54546
54547
54548 ac_ext=cpp
54549 ac_cpp='$CXXCPP $CPPFLAGS'
54550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54553
54554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54555 /* end confdefs.h. */
54556 #include <math.h>
54557 int
54558 main ()
54559 {
54560 _modf(0, 0);
54561 ;
54562 return 0;
54563 }
54564 _ACEOF
54565 if ac_fn_cxx_try_compile "$LINENO"; then :
54566 glibcxx_cv_func__modf_use=yes
54567 else
54568 glibcxx_cv_func__modf_use=no
54569 fi
54570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54571 ac_ext=c
54572 ac_cpp='$CPP $CPPFLAGS'
54573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54576
54577
54578 fi
54579
54580 fi
54581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54582 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54583
54584 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54585 for ac_func in _modf
54586 do :
54587 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54588 if test "x$ac_cv_func__modf" = x""yes; then :
54589 cat >>confdefs.h <<_ACEOF
54590 #define HAVE__MODF 1
54591 _ACEOF
54592
54593 fi
54594 done
54595
54596 fi
54597 fi
54598
54599
54600
54601
54602
54603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54604 $as_echo_n "checking for powf declaration... " >&6; }
54605 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54606 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54607 $as_echo_n "(cached) " >&6
54608 else
54609
54610
54611 ac_ext=cpp
54612 ac_cpp='$CXXCPP $CPPFLAGS'
54613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54616
54617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54618 /* end confdefs.h. */
54619 #include <math.h>
54620 int
54621 main ()
54622 {
54623 powf(0, 0);
54624 ;
54625 return 0;
54626 }
54627 _ACEOF
54628 if ac_fn_cxx_try_compile "$LINENO"; then :
54629 glibcxx_cv_func_powf_use=yes
54630 else
54631 glibcxx_cv_func_powf_use=no
54632 fi
54633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54634 ac_ext=c
54635 ac_cpp='$CPP $CPPFLAGS'
54636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54639
54640
54641 fi
54642
54643 fi
54644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54645 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54646
54647 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54648 for ac_func in powf
54649 do :
54650 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54651 if test "x$ac_cv_func_powf" = x""yes; then :
54652 cat >>confdefs.h <<_ACEOF
54653 #define HAVE_POWF 1
54654 _ACEOF
54655
54656 fi
54657 done
54658
54659 else
54660
54661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54662 $as_echo_n "checking for _powf declaration... " >&6; }
54663 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54664 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54665 $as_echo_n "(cached) " >&6
54666 else
54667
54668
54669 ac_ext=cpp
54670 ac_cpp='$CXXCPP $CPPFLAGS'
54671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54674
54675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54676 /* end confdefs.h. */
54677 #include <math.h>
54678 int
54679 main ()
54680 {
54681 _powf(0, 0);
54682 ;
54683 return 0;
54684 }
54685 _ACEOF
54686 if ac_fn_cxx_try_compile "$LINENO"; then :
54687 glibcxx_cv_func__powf_use=yes
54688 else
54689 glibcxx_cv_func__powf_use=no
54690 fi
54691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54692 ac_ext=c
54693 ac_cpp='$CPP $CPPFLAGS'
54694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54697
54698
54699 fi
54700
54701 fi
54702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54703 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54704
54705 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54706 for ac_func in _powf
54707 do :
54708 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54709 if test "x$ac_cv_func__powf" = x""yes; then :
54710 cat >>confdefs.h <<_ACEOF
54711 #define HAVE__POWF 1
54712 _ACEOF
54713
54714 fi
54715 done
54716
54717 fi
54718 fi
54719
54720
54721
54722
54723
54724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54725 $as_echo_n "checking for sqrtf declaration... " >&6; }
54726 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54727 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54728 $as_echo_n "(cached) " >&6
54729 else
54730
54731
54732 ac_ext=cpp
54733 ac_cpp='$CXXCPP $CPPFLAGS'
54734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54737
54738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54739 /* end confdefs.h. */
54740 #include <math.h>
54741 #ifdef HAVE_IEEEFP_H
54742 #include <ieeefp.h>
54743 #endif
54744
54745 int
54746 main ()
54747 {
54748 sqrtf(0);
54749 ;
54750 return 0;
54751 }
54752 _ACEOF
54753 if ac_fn_cxx_try_compile "$LINENO"; then :
54754 glibcxx_cv_func_sqrtf_use=yes
54755 else
54756 glibcxx_cv_func_sqrtf_use=no
54757 fi
54758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54759 ac_ext=c
54760 ac_cpp='$CPP $CPPFLAGS'
54761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54764
54765
54766 fi
54767
54768 fi
54769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54770 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54771
54772 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54773 for ac_func in sqrtf
54774 do :
54775 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54776 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54777 cat >>confdefs.h <<_ACEOF
54778 #define HAVE_SQRTF 1
54779 _ACEOF
54780
54781 fi
54782 done
54783
54784 else
54785
54786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54787 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54788 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54789 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54790 $as_echo_n "(cached) " >&6
54791 else
54792
54793
54794 ac_ext=cpp
54795 ac_cpp='$CXXCPP $CPPFLAGS'
54796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54799
54800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54801 /* end confdefs.h. */
54802 #include <math.h>
54803 #ifdef HAVE_IEEEFP_H
54804 #include <ieeefp.h>
54805 #endif
54806
54807 int
54808 main ()
54809 {
54810 _sqrtf(0);
54811 ;
54812 return 0;
54813 }
54814 _ACEOF
54815 if ac_fn_cxx_try_compile "$LINENO"; then :
54816 glibcxx_cv_func__sqrtf_use=yes
54817 else
54818 glibcxx_cv_func__sqrtf_use=no
54819 fi
54820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54821 ac_ext=c
54822 ac_cpp='$CPP $CPPFLAGS'
54823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54826
54827
54828 fi
54829
54830 fi
54831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54832 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54833
54834 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54835 for ac_func in _sqrtf
54836 do :
54837 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54838 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54839 cat >>confdefs.h <<_ACEOF
54840 #define HAVE__SQRTF 1
54841 _ACEOF
54842
54843 fi
54844 done
54845
54846 fi
54847 fi
54848
54849
54850
54851
54852
54853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54854 $as_echo_n "checking for sincosf declaration... " >&6; }
54855 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54856 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54857 $as_echo_n "(cached) " >&6
54858 else
54859
54860
54861 ac_ext=cpp
54862 ac_cpp='$CXXCPP $CPPFLAGS'
54863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54866
54867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54868 /* end confdefs.h. */
54869 #include <math.h>
54870 int
54871 main ()
54872 {
54873 sincosf(0, 0, 0);
54874 ;
54875 return 0;
54876 }
54877 _ACEOF
54878 if ac_fn_cxx_try_compile "$LINENO"; then :
54879 glibcxx_cv_func_sincosf_use=yes
54880 else
54881 glibcxx_cv_func_sincosf_use=no
54882 fi
54883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54884 ac_ext=c
54885 ac_cpp='$CPP $CPPFLAGS'
54886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54889
54890
54891 fi
54892
54893 fi
54894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54895 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54896
54897 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54898 for ac_func in sincosf
54899 do :
54900 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54901 if test "x$ac_cv_func_sincosf" = x""yes; then :
54902 cat >>confdefs.h <<_ACEOF
54903 #define HAVE_SINCOSF 1
54904 _ACEOF
54905
54906 fi
54907 done
54908
54909 else
54910
54911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54912 $as_echo_n "checking for _sincosf declaration... " >&6; }
54913 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54914 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54915 $as_echo_n "(cached) " >&6
54916 else
54917
54918
54919 ac_ext=cpp
54920 ac_cpp='$CXXCPP $CPPFLAGS'
54921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54924
54925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54926 /* end confdefs.h. */
54927 #include <math.h>
54928 int
54929 main ()
54930 {
54931 _sincosf(0, 0, 0);
54932 ;
54933 return 0;
54934 }
54935 _ACEOF
54936 if ac_fn_cxx_try_compile "$LINENO"; then :
54937 glibcxx_cv_func__sincosf_use=yes
54938 else
54939 glibcxx_cv_func__sincosf_use=no
54940 fi
54941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54942 ac_ext=c
54943 ac_cpp='$CPP $CPPFLAGS'
54944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54947
54948
54949 fi
54950
54951 fi
54952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54953 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54954
54955 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54956 for ac_func in _sincosf
54957 do :
54958 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54959 if test "x$ac_cv_func__sincosf" = x""yes; then :
54960 cat >>confdefs.h <<_ACEOF
54961 #define HAVE__SINCOSF 1
54962 _ACEOF
54963
54964 fi
54965 done
54966
54967 fi
54968 fi
54969
54970
54971
54972
54973
54974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54975 $as_echo_n "checking for finitef declaration... " >&6; }
54976 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54977 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54978 $as_echo_n "(cached) " >&6
54979 else
54980
54981
54982 ac_ext=cpp
54983 ac_cpp='$CXXCPP $CPPFLAGS'
54984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54987
54988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54989 /* end confdefs.h. */
54990 #include <math.h>
54991 #ifdef HAVE_IEEEFP_H
54992 #include <ieeefp.h>
54993 #endif
54994
54995 int
54996 main ()
54997 {
54998 finitef(0);
54999 ;
55000 return 0;
55001 }
55002 _ACEOF
55003 if ac_fn_cxx_try_compile "$LINENO"; then :
55004 glibcxx_cv_func_finitef_use=yes
55005 else
55006 glibcxx_cv_func_finitef_use=no
55007 fi
55008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55009 ac_ext=c
55010 ac_cpp='$CPP $CPPFLAGS'
55011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55014
55015
55016 fi
55017
55018 fi
55019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55020 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55021
55022 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55023 for ac_func in finitef
55024 do :
55025 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55026 if test "x$ac_cv_func_finitef" = x""yes; then :
55027 cat >>confdefs.h <<_ACEOF
55028 #define HAVE_FINITEF 1
55029 _ACEOF
55030
55031 fi
55032 done
55033
55034 else
55035
55036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55037 $as_echo_n "checking for _finitef declaration... " >&6; }
55038 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55039 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55040 $as_echo_n "(cached) " >&6
55041 else
55042
55043
55044 ac_ext=cpp
55045 ac_cpp='$CXXCPP $CPPFLAGS'
55046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55049
55050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55051 /* end confdefs.h. */
55052 #include <math.h>
55053 #ifdef HAVE_IEEEFP_H
55054 #include <ieeefp.h>
55055 #endif
55056
55057 int
55058 main ()
55059 {
55060 _finitef(0);
55061 ;
55062 return 0;
55063 }
55064 _ACEOF
55065 if ac_fn_cxx_try_compile "$LINENO"; then :
55066 glibcxx_cv_func__finitef_use=yes
55067 else
55068 glibcxx_cv_func__finitef_use=no
55069 fi
55070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55071 ac_ext=c
55072 ac_cpp='$CPP $CPPFLAGS'
55073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55076
55077
55078 fi
55079
55080 fi
55081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55082 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55083
55084 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55085 for ac_func in _finitef
55086 do :
55087 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55088 if test "x$ac_cv_func__finitef" = x""yes; then :
55089 cat >>confdefs.h <<_ACEOF
55090 #define HAVE__FINITEF 1
55091 _ACEOF
55092
55093 fi
55094 done
55095
55096 fi
55097 fi
55098
55099
55100
55101
55102
55103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55104 $as_echo_n "checking for long double trig functions... " >&6; }
55105 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55106 $as_echo_n "(cached) " >&6
55107 else
55108
55109
55110 ac_ext=cpp
55111 ac_cpp='$CXXCPP $CPPFLAGS'
55112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55115
55116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55117 /* end confdefs.h. */
55118 #include <math.h>
55119 int
55120 main ()
55121 {
55122 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55123 ;
55124 return 0;
55125 }
55126 _ACEOF
55127 if ac_fn_cxx_try_compile "$LINENO"; then :
55128 glibcxx_cv_func_long_double_trig_use=yes
55129 else
55130 glibcxx_cv_func_long_double_trig_use=no
55131 fi
55132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55133 ac_ext=c
55134 ac_cpp='$CPP $CPPFLAGS'
55135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55138
55139 fi
55140
55141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55142 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55143 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55144 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55145 do :
55146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55148 eval as_val=\$$as_ac_var
55149 if test "x$as_val" = x""yes; then :
55150 cat >>confdefs.h <<_ACEOF
55151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55152 _ACEOF
55153
55154 fi
55155 done
55156
55157 else
55158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55159 $as_echo_n "checking for _long double trig functions... " >&6; }
55160 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55161 $as_echo_n "(cached) " >&6
55162 else
55163
55164
55165 ac_ext=cpp
55166 ac_cpp='$CXXCPP $CPPFLAGS'
55167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55170
55171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55172 /* end confdefs.h. */
55173 #include <math.h>
55174 int
55175 main ()
55176 {
55177 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55178 ;
55179 return 0;
55180 }
55181 _ACEOF
55182 if ac_fn_cxx_try_compile "$LINENO"; then :
55183 glibcxx_cv_func__long_double_trig_use=yes
55184 else
55185 glibcxx_cv_func__long_double_trig_use=no
55186 fi
55187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55188 ac_ext=c
55189 ac_cpp='$CPP $CPPFLAGS'
55190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55193
55194 fi
55195
55196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55197 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55198 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55199 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55200 do :
55201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55202 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55203 eval as_val=\$$as_ac_var
55204 if test "x$as_val" = x""yes; then :
55205 cat >>confdefs.h <<_ACEOF
55206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55207 _ACEOF
55208
55209 fi
55210 done
55211
55212 fi
55213 fi
55214
55215
55216
55217
55218
55219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55220 $as_echo_n "checking for long double round functions... " >&6; }
55221 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55222 $as_echo_n "(cached) " >&6
55223 else
55224
55225
55226 ac_ext=cpp
55227 ac_cpp='$CXXCPP $CPPFLAGS'
55228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55231
55232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55233 /* end confdefs.h. */
55234 #include <math.h>
55235 int
55236 main ()
55237 {
55238 ceill (0); floorl (0);
55239 ;
55240 return 0;
55241 }
55242 _ACEOF
55243 if ac_fn_cxx_try_compile "$LINENO"; then :
55244 glibcxx_cv_func_long_double_round_use=yes
55245 else
55246 glibcxx_cv_func_long_double_round_use=no
55247 fi
55248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55249 ac_ext=c
55250 ac_cpp='$CPP $CPPFLAGS'
55251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55254
55255 fi
55256
55257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55258 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55259 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55260 for ac_func in ceill floorl
55261 do :
55262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55264 eval as_val=\$$as_ac_var
55265 if test "x$as_val" = x""yes; then :
55266 cat >>confdefs.h <<_ACEOF
55267 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55268 _ACEOF
55269
55270 fi
55271 done
55272
55273 else
55274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55275 $as_echo_n "checking for _long double round functions... " >&6; }
55276 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55277 $as_echo_n "(cached) " >&6
55278 else
55279
55280
55281 ac_ext=cpp
55282 ac_cpp='$CXXCPP $CPPFLAGS'
55283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55286
55287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55288 /* end confdefs.h. */
55289 #include <math.h>
55290 int
55291 main ()
55292 {
55293 _ceill (0); _floorl (0);
55294 ;
55295 return 0;
55296 }
55297 _ACEOF
55298 if ac_fn_cxx_try_compile "$LINENO"; then :
55299 glibcxx_cv_func__long_double_round_use=yes
55300 else
55301 glibcxx_cv_func__long_double_round_use=no
55302 fi
55303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55304 ac_ext=c
55305 ac_cpp='$CPP $CPPFLAGS'
55306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55309
55310 fi
55311
55312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55313 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55314 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55315 for ac_func in _ceill _floorl
55316 do :
55317 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55318 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55319 eval as_val=\$$as_ac_var
55320 if test "x$as_val" = x""yes; then :
55321 cat >>confdefs.h <<_ACEOF
55322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55323 _ACEOF
55324
55325 fi
55326 done
55327
55328 fi
55329 fi
55330
55331
55332
55333
55334
55335
55336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55337 $as_echo_n "checking for isnanl declaration... " >&6; }
55338 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55339 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55340 $as_echo_n "(cached) " >&6
55341 else
55342
55343
55344 ac_ext=cpp
55345 ac_cpp='$CXXCPP $CPPFLAGS'
55346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55349
55350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55351 /* end confdefs.h. */
55352 #include <math.h>
55353 #ifdef HAVE_IEEEFP_H
55354 #include <ieeefp.h>
55355 #endif
55356
55357 int
55358 main ()
55359 {
55360 isnanl(0);
55361 ;
55362 return 0;
55363 }
55364 _ACEOF
55365 if ac_fn_cxx_try_compile "$LINENO"; then :
55366 glibcxx_cv_func_isnanl_use=yes
55367 else
55368 glibcxx_cv_func_isnanl_use=no
55369 fi
55370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55371 ac_ext=c
55372 ac_cpp='$CPP $CPPFLAGS'
55373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55376
55377
55378 fi
55379
55380 fi
55381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55382 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55383
55384 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55385 for ac_func in isnanl
55386 do :
55387 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55388 if test "x$ac_cv_func_isnanl" = x""yes; then :
55389 cat >>confdefs.h <<_ACEOF
55390 #define HAVE_ISNANL 1
55391 _ACEOF
55392
55393 fi
55394 done
55395
55396 else
55397
55398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55399 $as_echo_n "checking for _isnanl declaration... " >&6; }
55400 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55401 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55402 $as_echo_n "(cached) " >&6
55403 else
55404
55405
55406 ac_ext=cpp
55407 ac_cpp='$CXXCPP $CPPFLAGS'
55408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55411
55412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55413 /* end confdefs.h. */
55414 #include <math.h>
55415 #ifdef HAVE_IEEEFP_H
55416 #include <ieeefp.h>
55417 #endif
55418
55419 int
55420 main ()
55421 {
55422 _isnanl(0);
55423 ;
55424 return 0;
55425 }
55426 _ACEOF
55427 if ac_fn_cxx_try_compile "$LINENO"; then :
55428 glibcxx_cv_func__isnanl_use=yes
55429 else
55430 glibcxx_cv_func__isnanl_use=no
55431 fi
55432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55433 ac_ext=c
55434 ac_cpp='$CPP $CPPFLAGS'
55435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55438
55439
55440 fi
55441
55442 fi
55443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55444 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55445
55446 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55447 for ac_func in _isnanl
55448 do :
55449 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55450 if test "x$ac_cv_func__isnanl" = x""yes; then :
55451 cat >>confdefs.h <<_ACEOF
55452 #define HAVE__ISNANL 1
55453 _ACEOF
55454
55455 fi
55456 done
55457
55458 fi
55459 fi
55460
55461
55462
55463
55464
55465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55466 $as_echo_n "checking for isinfl declaration... " >&6; }
55467 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55468 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55469 $as_echo_n "(cached) " >&6
55470 else
55471
55472
55473 ac_ext=cpp
55474 ac_cpp='$CXXCPP $CPPFLAGS'
55475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55478
55479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55480 /* end confdefs.h. */
55481 #include <math.h>
55482 #ifdef HAVE_IEEEFP_H
55483 #include <ieeefp.h>
55484 #endif
55485
55486 int
55487 main ()
55488 {
55489 isinfl(0);
55490 ;
55491 return 0;
55492 }
55493 _ACEOF
55494 if ac_fn_cxx_try_compile "$LINENO"; then :
55495 glibcxx_cv_func_isinfl_use=yes
55496 else
55497 glibcxx_cv_func_isinfl_use=no
55498 fi
55499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55500 ac_ext=c
55501 ac_cpp='$CPP $CPPFLAGS'
55502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55505
55506
55507 fi
55508
55509 fi
55510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55511 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55512
55513 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55514 for ac_func in isinfl
55515 do :
55516 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55517 if test "x$ac_cv_func_isinfl" = x""yes; then :
55518 cat >>confdefs.h <<_ACEOF
55519 #define HAVE_ISINFL 1
55520 _ACEOF
55521
55522 fi
55523 done
55524
55525 else
55526
55527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55528 $as_echo_n "checking for _isinfl declaration... " >&6; }
55529 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55530 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55531 $as_echo_n "(cached) " >&6
55532 else
55533
55534
55535 ac_ext=cpp
55536 ac_cpp='$CXXCPP $CPPFLAGS'
55537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55540
55541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55542 /* end confdefs.h. */
55543 #include <math.h>
55544 #ifdef HAVE_IEEEFP_H
55545 #include <ieeefp.h>
55546 #endif
55547
55548 int
55549 main ()
55550 {
55551 _isinfl(0);
55552 ;
55553 return 0;
55554 }
55555 _ACEOF
55556 if ac_fn_cxx_try_compile "$LINENO"; then :
55557 glibcxx_cv_func__isinfl_use=yes
55558 else
55559 glibcxx_cv_func__isinfl_use=no
55560 fi
55561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55562 ac_ext=c
55563 ac_cpp='$CPP $CPPFLAGS'
55564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55567
55568
55569 fi
55570
55571 fi
55572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55573 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55574
55575 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55576 for ac_func in _isinfl
55577 do :
55578 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55579 if test "x$ac_cv_func__isinfl" = x""yes; then :
55580 cat >>confdefs.h <<_ACEOF
55581 #define HAVE__ISINFL 1
55582 _ACEOF
55583
55584 fi
55585 done
55586
55587 fi
55588 fi
55589
55590
55591
55592
55593
55594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55595 $as_echo_n "checking for atan2l declaration... " >&6; }
55596 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55597 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55598 $as_echo_n "(cached) " >&6
55599 else
55600
55601
55602 ac_ext=cpp
55603 ac_cpp='$CXXCPP $CPPFLAGS'
55604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55607
55608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55609 /* end confdefs.h. */
55610 #include <math.h>
55611 int
55612 main ()
55613 {
55614 atan2l(0, 0);
55615 ;
55616 return 0;
55617 }
55618 _ACEOF
55619 if ac_fn_cxx_try_compile "$LINENO"; then :
55620 glibcxx_cv_func_atan2l_use=yes
55621 else
55622 glibcxx_cv_func_atan2l_use=no
55623 fi
55624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55625 ac_ext=c
55626 ac_cpp='$CPP $CPPFLAGS'
55627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55630
55631
55632 fi
55633
55634 fi
55635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55636 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55637
55638 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55639 for ac_func in atan2l
55640 do :
55641 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55642 if test "x$ac_cv_func_atan2l" = x""yes; then :
55643 cat >>confdefs.h <<_ACEOF
55644 #define HAVE_ATAN2L 1
55645 _ACEOF
55646
55647 fi
55648 done
55649
55650 else
55651
55652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55653 $as_echo_n "checking for _atan2l declaration... " >&6; }
55654 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55655 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55656 $as_echo_n "(cached) " >&6
55657 else
55658
55659
55660 ac_ext=cpp
55661 ac_cpp='$CXXCPP $CPPFLAGS'
55662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55665
55666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55667 /* end confdefs.h. */
55668 #include <math.h>
55669 int
55670 main ()
55671 {
55672 _atan2l(0, 0);
55673 ;
55674 return 0;
55675 }
55676 _ACEOF
55677 if ac_fn_cxx_try_compile "$LINENO"; then :
55678 glibcxx_cv_func__atan2l_use=yes
55679 else
55680 glibcxx_cv_func__atan2l_use=no
55681 fi
55682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55683 ac_ext=c
55684 ac_cpp='$CPP $CPPFLAGS'
55685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55688
55689
55690 fi
55691
55692 fi
55693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55694 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55695
55696 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55697 for ac_func in _atan2l
55698 do :
55699 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55700 if test "x$ac_cv_func__atan2l" = x""yes; then :
55701 cat >>confdefs.h <<_ACEOF
55702 #define HAVE__ATAN2L 1
55703 _ACEOF
55704
55705 fi
55706 done
55707
55708 fi
55709 fi
55710
55711
55712
55713
55714
55715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55716 $as_echo_n "checking for expl declaration... " >&6; }
55717 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55718 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55719 $as_echo_n "(cached) " >&6
55720 else
55721
55722
55723 ac_ext=cpp
55724 ac_cpp='$CXXCPP $CPPFLAGS'
55725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55728
55729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55730 /* end confdefs.h. */
55731 #include <math.h>
55732 #ifdef HAVE_IEEEFP_H
55733 #include <ieeefp.h>
55734 #endif
55735
55736 int
55737 main ()
55738 {
55739 expl(0);
55740 ;
55741 return 0;
55742 }
55743 _ACEOF
55744 if ac_fn_cxx_try_compile "$LINENO"; then :
55745 glibcxx_cv_func_expl_use=yes
55746 else
55747 glibcxx_cv_func_expl_use=no
55748 fi
55749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55750 ac_ext=c
55751 ac_cpp='$CPP $CPPFLAGS'
55752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55755
55756
55757 fi
55758
55759 fi
55760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55761 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55762
55763 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55764 for ac_func in expl
55765 do :
55766 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55767 if test "x$ac_cv_func_expl" = x""yes; then :
55768 cat >>confdefs.h <<_ACEOF
55769 #define HAVE_EXPL 1
55770 _ACEOF
55771
55772 fi
55773 done
55774
55775 else
55776
55777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55778 $as_echo_n "checking for _expl declaration... " >&6; }
55779 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55780 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55781 $as_echo_n "(cached) " >&6
55782 else
55783
55784
55785 ac_ext=cpp
55786 ac_cpp='$CXXCPP $CPPFLAGS'
55787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55790
55791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55792 /* end confdefs.h. */
55793 #include <math.h>
55794 #ifdef HAVE_IEEEFP_H
55795 #include <ieeefp.h>
55796 #endif
55797
55798 int
55799 main ()
55800 {
55801 _expl(0);
55802 ;
55803 return 0;
55804 }
55805 _ACEOF
55806 if ac_fn_cxx_try_compile "$LINENO"; then :
55807 glibcxx_cv_func__expl_use=yes
55808 else
55809 glibcxx_cv_func__expl_use=no
55810 fi
55811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55812 ac_ext=c
55813 ac_cpp='$CPP $CPPFLAGS'
55814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55817
55818
55819 fi
55820
55821 fi
55822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55823 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55824
55825 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55826 for ac_func in _expl
55827 do :
55828 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55829 if test "x$ac_cv_func__expl" = x""yes; then :
55830 cat >>confdefs.h <<_ACEOF
55831 #define HAVE__EXPL 1
55832 _ACEOF
55833
55834 fi
55835 done
55836
55837 fi
55838 fi
55839
55840
55841
55842
55843
55844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55845 $as_echo_n "checking for fabsl declaration... " >&6; }
55846 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55847 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55848 $as_echo_n "(cached) " >&6
55849 else
55850
55851
55852 ac_ext=cpp
55853 ac_cpp='$CXXCPP $CPPFLAGS'
55854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55857
55858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55859 /* end confdefs.h. */
55860 #include <math.h>
55861 #ifdef HAVE_IEEEFP_H
55862 #include <ieeefp.h>
55863 #endif
55864
55865 int
55866 main ()
55867 {
55868 fabsl(0);
55869 ;
55870 return 0;
55871 }
55872 _ACEOF
55873 if ac_fn_cxx_try_compile "$LINENO"; then :
55874 glibcxx_cv_func_fabsl_use=yes
55875 else
55876 glibcxx_cv_func_fabsl_use=no
55877 fi
55878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55879 ac_ext=c
55880 ac_cpp='$CPP $CPPFLAGS'
55881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55884
55885
55886 fi
55887
55888 fi
55889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55890 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55891
55892 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55893 for ac_func in fabsl
55894 do :
55895 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55896 if test "x$ac_cv_func_fabsl" = x""yes; then :
55897 cat >>confdefs.h <<_ACEOF
55898 #define HAVE_FABSL 1
55899 _ACEOF
55900
55901 fi
55902 done
55903
55904 else
55905
55906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55907 $as_echo_n "checking for _fabsl declaration... " >&6; }
55908 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55909 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55910 $as_echo_n "(cached) " >&6
55911 else
55912
55913
55914 ac_ext=cpp
55915 ac_cpp='$CXXCPP $CPPFLAGS'
55916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55919
55920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55921 /* end confdefs.h. */
55922 #include <math.h>
55923 #ifdef HAVE_IEEEFP_H
55924 #include <ieeefp.h>
55925 #endif
55926
55927 int
55928 main ()
55929 {
55930 _fabsl(0);
55931 ;
55932 return 0;
55933 }
55934 _ACEOF
55935 if ac_fn_cxx_try_compile "$LINENO"; then :
55936 glibcxx_cv_func__fabsl_use=yes
55937 else
55938 glibcxx_cv_func__fabsl_use=no
55939 fi
55940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55941 ac_ext=c
55942 ac_cpp='$CPP $CPPFLAGS'
55943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55946
55947
55948 fi
55949
55950 fi
55951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55952 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55953
55954 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55955 for ac_func in _fabsl
55956 do :
55957 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55958 if test "x$ac_cv_func__fabsl" = x""yes; then :
55959 cat >>confdefs.h <<_ACEOF
55960 #define HAVE__FABSL 1
55961 _ACEOF
55962
55963 fi
55964 done
55965
55966 fi
55967 fi
55968
55969
55970
55971
55972
55973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55974 $as_echo_n "checking for fmodl declaration... " >&6; }
55975 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55976 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55977 $as_echo_n "(cached) " >&6
55978 else
55979
55980
55981 ac_ext=cpp
55982 ac_cpp='$CXXCPP $CPPFLAGS'
55983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55986
55987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55988 /* end confdefs.h. */
55989 #include <math.h>
55990 int
55991 main ()
55992 {
55993 fmodl(0, 0);
55994 ;
55995 return 0;
55996 }
55997 _ACEOF
55998 if ac_fn_cxx_try_compile "$LINENO"; then :
55999 glibcxx_cv_func_fmodl_use=yes
56000 else
56001 glibcxx_cv_func_fmodl_use=no
56002 fi
56003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56004 ac_ext=c
56005 ac_cpp='$CPP $CPPFLAGS'
56006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56009
56010
56011 fi
56012
56013 fi
56014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56015 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56016
56017 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56018 for ac_func in fmodl
56019 do :
56020 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56021 if test "x$ac_cv_func_fmodl" = x""yes; then :
56022 cat >>confdefs.h <<_ACEOF
56023 #define HAVE_FMODL 1
56024 _ACEOF
56025
56026 fi
56027 done
56028
56029 else
56030
56031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56032 $as_echo_n "checking for _fmodl declaration... " >&6; }
56033 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56034 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56035 $as_echo_n "(cached) " >&6
56036 else
56037
56038
56039 ac_ext=cpp
56040 ac_cpp='$CXXCPP $CPPFLAGS'
56041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56044
56045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56046 /* end confdefs.h. */
56047 #include <math.h>
56048 int
56049 main ()
56050 {
56051 _fmodl(0, 0);
56052 ;
56053 return 0;
56054 }
56055 _ACEOF
56056 if ac_fn_cxx_try_compile "$LINENO"; then :
56057 glibcxx_cv_func__fmodl_use=yes
56058 else
56059 glibcxx_cv_func__fmodl_use=no
56060 fi
56061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56062 ac_ext=c
56063 ac_cpp='$CPP $CPPFLAGS'
56064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56067
56068
56069 fi
56070
56071 fi
56072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56073 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56074
56075 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56076 for ac_func in _fmodl
56077 do :
56078 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56079 if test "x$ac_cv_func__fmodl" = x""yes; then :
56080 cat >>confdefs.h <<_ACEOF
56081 #define HAVE__FMODL 1
56082 _ACEOF
56083
56084 fi
56085 done
56086
56087 fi
56088 fi
56089
56090
56091
56092
56093
56094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56095 $as_echo_n "checking for frexpl declaration... " >&6; }
56096 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56097 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56098 $as_echo_n "(cached) " >&6
56099 else
56100
56101
56102 ac_ext=cpp
56103 ac_cpp='$CXXCPP $CPPFLAGS'
56104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56107
56108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56109 /* end confdefs.h. */
56110 #include <math.h>
56111 int
56112 main ()
56113 {
56114 frexpl(0, 0);
56115 ;
56116 return 0;
56117 }
56118 _ACEOF
56119 if ac_fn_cxx_try_compile "$LINENO"; then :
56120 glibcxx_cv_func_frexpl_use=yes
56121 else
56122 glibcxx_cv_func_frexpl_use=no
56123 fi
56124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56125 ac_ext=c
56126 ac_cpp='$CPP $CPPFLAGS'
56127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56130
56131
56132 fi
56133
56134 fi
56135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56136 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56137
56138 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56139 for ac_func in frexpl
56140 do :
56141 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56142 if test "x$ac_cv_func_frexpl" = x""yes; then :
56143 cat >>confdefs.h <<_ACEOF
56144 #define HAVE_FREXPL 1
56145 _ACEOF
56146
56147 fi
56148 done
56149
56150 else
56151
56152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56153 $as_echo_n "checking for _frexpl declaration... " >&6; }
56154 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56155 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56156 $as_echo_n "(cached) " >&6
56157 else
56158
56159
56160 ac_ext=cpp
56161 ac_cpp='$CXXCPP $CPPFLAGS'
56162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56165
56166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56167 /* end confdefs.h. */
56168 #include <math.h>
56169 int
56170 main ()
56171 {
56172 _frexpl(0, 0);
56173 ;
56174 return 0;
56175 }
56176 _ACEOF
56177 if ac_fn_cxx_try_compile "$LINENO"; then :
56178 glibcxx_cv_func__frexpl_use=yes
56179 else
56180 glibcxx_cv_func__frexpl_use=no
56181 fi
56182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56183 ac_ext=c
56184 ac_cpp='$CPP $CPPFLAGS'
56185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56188
56189
56190 fi
56191
56192 fi
56193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56194 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56195
56196 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56197 for ac_func in _frexpl
56198 do :
56199 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56200 if test "x$ac_cv_func__frexpl" = x""yes; then :
56201 cat >>confdefs.h <<_ACEOF
56202 #define HAVE__FREXPL 1
56203 _ACEOF
56204
56205 fi
56206 done
56207
56208 fi
56209 fi
56210
56211
56212
56213
56214
56215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56216 $as_echo_n "checking for hypotl declaration... " >&6; }
56217 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56218 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56219 $as_echo_n "(cached) " >&6
56220 else
56221
56222
56223 ac_ext=cpp
56224 ac_cpp='$CXXCPP $CPPFLAGS'
56225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56228
56229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56230 /* end confdefs.h. */
56231 #include <math.h>
56232 int
56233 main ()
56234 {
56235 hypotl(0, 0);
56236 ;
56237 return 0;
56238 }
56239 _ACEOF
56240 if ac_fn_cxx_try_compile "$LINENO"; then :
56241 glibcxx_cv_func_hypotl_use=yes
56242 else
56243 glibcxx_cv_func_hypotl_use=no
56244 fi
56245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56246 ac_ext=c
56247 ac_cpp='$CPP $CPPFLAGS'
56248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56251
56252
56253 fi
56254
56255 fi
56256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56257 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56258
56259 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56260 for ac_func in hypotl
56261 do :
56262 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56263 if test "x$ac_cv_func_hypotl" = x""yes; then :
56264 cat >>confdefs.h <<_ACEOF
56265 #define HAVE_HYPOTL 1
56266 _ACEOF
56267
56268 fi
56269 done
56270
56271 else
56272
56273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56274 $as_echo_n "checking for _hypotl declaration... " >&6; }
56275 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56276 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56277 $as_echo_n "(cached) " >&6
56278 else
56279
56280
56281 ac_ext=cpp
56282 ac_cpp='$CXXCPP $CPPFLAGS'
56283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56286
56287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56288 /* end confdefs.h. */
56289 #include <math.h>
56290 int
56291 main ()
56292 {
56293 _hypotl(0, 0);
56294 ;
56295 return 0;
56296 }
56297 _ACEOF
56298 if ac_fn_cxx_try_compile "$LINENO"; then :
56299 glibcxx_cv_func__hypotl_use=yes
56300 else
56301 glibcxx_cv_func__hypotl_use=no
56302 fi
56303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56304 ac_ext=c
56305 ac_cpp='$CPP $CPPFLAGS'
56306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56309
56310
56311 fi
56312
56313 fi
56314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56315 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56316
56317 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56318 for ac_func in _hypotl
56319 do :
56320 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56321 if test "x$ac_cv_func__hypotl" = x""yes; then :
56322 cat >>confdefs.h <<_ACEOF
56323 #define HAVE__HYPOTL 1
56324 _ACEOF
56325
56326 fi
56327 done
56328
56329 fi
56330 fi
56331
56332
56333
56334
56335
56336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56337 $as_echo_n "checking for ldexpl declaration... " >&6; }
56338 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56339 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56340 $as_echo_n "(cached) " >&6
56341 else
56342
56343
56344 ac_ext=cpp
56345 ac_cpp='$CXXCPP $CPPFLAGS'
56346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56349
56350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56351 /* end confdefs.h. */
56352 #include <math.h>
56353 int
56354 main ()
56355 {
56356 ldexpl(0, 0);
56357 ;
56358 return 0;
56359 }
56360 _ACEOF
56361 if ac_fn_cxx_try_compile "$LINENO"; then :
56362 glibcxx_cv_func_ldexpl_use=yes
56363 else
56364 glibcxx_cv_func_ldexpl_use=no
56365 fi
56366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56367 ac_ext=c
56368 ac_cpp='$CPP $CPPFLAGS'
56369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56372
56373
56374 fi
56375
56376 fi
56377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56378 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56379
56380 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56381 for ac_func in ldexpl
56382 do :
56383 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56384 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56385 cat >>confdefs.h <<_ACEOF
56386 #define HAVE_LDEXPL 1
56387 _ACEOF
56388
56389 fi
56390 done
56391
56392 else
56393
56394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56395 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56396 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56397 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56398 $as_echo_n "(cached) " >&6
56399 else
56400
56401
56402 ac_ext=cpp
56403 ac_cpp='$CXXCPP $CPPFLAGS'
56404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56407
56408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56409 /* end confdefs.h. */
56410 #include <math.h>
56411 int
56412 main ()
56413 {
56414 _ldexpl(0, 0);
56415 ;
56416 return 0;
56417 }
56418 _ACEOF
56419 if ac_fn_cxx_try_compile "$LINENO"; then :
56420 glibcxx_cv_func__ldexpl_use=yes
56421 else
56422 glibcxx_cv_func__ldexpl_use=no
56423 fi
56424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56425 ac_ext=c
56426 ac_cpp='$CPP $CPPFLAGS'
56427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56430
56431
56432 fi
56433
56434 fi
56435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56436 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56437
56438 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56439 for ac_func in _ldexpl
56440 do :
56441 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56442 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56443 cat >>confdefs.h <<_ACEOF
56444 #define HAVE__LDEXPL 1
56445 _ACEOF
56446
56447 fi
56448 done
56449
56450 fi
56451 fi
56452
56453
56454
56455
56456
56457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56458 $as_echo_n "checking for logl declaration... " >&6; }
56459 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56460 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56461 $as_echo_n "(cached) " >&6
56462 else
56463
56464
56465 ac_ext=cpp
56466 ac_cpp='$CXXCPP $CPPFLAGS'
56467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56470
56471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56472 /* end confdefs.h. */
56473 #include <math.h>
56474 #ifdef HAVE_IEEEFP_H
56475 #include <ieeefp.h>
56476 #endif
56477
56478 int
56479 main ()
56480 {
56481 logl(0);
56482 ;
56483 return 0;
56484 }
56485 _ACEOF
56486 if ac_fn_cxx_try_compile "$LINENO"; then :
56487 glibcxx_cv_func_logl_use=yes
56488 else
56489 glibcxx_cv_func_logl_use=no
56490 fi
56491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56492 ac_ext=c
56493 ac_cpp='$CPP $CPPFLAGS'
56494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56497
56498
56499 fi
56500
56501 fi
56502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56503 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56504
56505 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56506 for ac_func in logl
56507 do :
56508 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56509 if test "x$ac_cv_func_logl" = x""yes; then :
56510 cat >>confdefs.h <<_ACEOF
56511 #define HAVE_LOGL 1
56512 _ACEOF
56513
56514 fi
56515 done
56516
56517 else
56518
56519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56520 $as_echo_n "checking for _logl declaration... " >&6; }
56521 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56522 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56523 $as_echo_n "(cached) " >&6
56524 else
56525
56526
56527 ac_ext=cpp
56528 ac_cpp='$CXXCPP $CPPFLAGS'
56529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56532
56533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56534 /* end confdefs.h. */
56535 #include <math.h>
56536 #ifdef HAVE_IEEEFP_H
56537 #include <ieeefp.h>
56538 #endif
56539
56540 int
56541 main ()
56542 {
56543 _logl(0);
56544 ;
56545 return 0;
56546 }
56547 _ACEOF
56548 if ac_fn_cxx_try_compile "$LINENO"; then :
56549 glibcxx_cv_func__logl_use=yes
56550 else
56551 glibcxx_cv_func__logl_use=no
56552 fi
56553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56554 ac_ext=c
56555 ac_cpp='$CPP $CPPFLAGS'
56556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56559
56560
56561 fi
56562
56563 fi
56564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56565 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56566
56567 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56568 for ac_func in _logl
56569 do :
56570 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56571 if test "x$ac_cv_func__logl" = x""yes; then :
56572 cat >>confdefs.h <<_ACEOF
56573 #define HAVE__LOGL 1
56574 _ACEOF
56575
56576 fi
56577 done
56578
56579 fi
56580 fi
56581
56582
56583
56584
56585
56586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56587 $as_echo_n "checking for log10l declaration... " >&6; }
56588 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56589 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56590 $as_echo_n "(cached) " >&6
56591 else
56592
56593
56594 ac_ext=cpp
56595 ac_cpp='$CXXCPP $CPPFLAGS'
56596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56599
56600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56601 /* end confdefs.h. */
56602 #include <math.h>
56603 #ifdef HAVE_IEEEFP_H
56604 #include <ieeefp.h>
56605 #endif
56606
56607 int
56608 main ()
56609 {
56610 log10l(0);
56611 ;
56612 return 0;
56613 }
56614 _ACEOF
56615 if ac_fn_cxx_try_compile "$LINENO"; then :
56616 glibcxx_cv_func_log10l_use=yes
56617 else
56618 glibcxx_cv_func_log10l_use=no
56619 fi
56620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56621 ac_ext=c
56622 ac_cpp='$CPP $CPPFLAGS'
56623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56626
56627
56628 fi
56629
56630 fi
56631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56632 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56633
56634 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56635 for ac_func in log10l
56636 do :
56637 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56638 if test "x$ac_cv_func_log10l" = x""yes; then :
56639 cat >>confdefs.h <<_ACEOF
56640 #define HAVE_LOG10L 1
56641 _ACEOF
56642
56643 fi
56644 done
56645
56646 else
56647
56648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56649 $as_echo_n "checking for _log10l declaration... " >&6; }
56650 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56651 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56652 $as_echo_n "(cached) " >&6
56653 else
56654
56655
56656 ac_ext=cpp
56657 ac_cpp='$CXXCPP $CPPFLAGS'
56658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56661
56662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56663 /* end confdefs.h. */
56664 #include <math.h>
56665 #ifdef HAVE_IEEEFP_H
56666 #include <ieeefp.h>
56667 #endif
56668
56669 int
56670 main ()
56671 {
56672 _log10l(0);
56673 ;
56674 return 0;
56675 }
56676 _ACEOF
56677 if ac_fn_cxx_try_compile "$LINENO"; then :
56678 glibcxx_cv_func__log10l_use=yes
56679 else
56680 glibcxx_cv_func__log10l_use=no
56681 fi
56682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56683 ac_ext=c
56684 ac_cpp='$CPP $CPPFLAGS'
56685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56688
56689
56690 fi
56691
56692 fi
56693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56694 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56695
56696 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56697 for ac_func in _log10l
56698 do :
56699 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56700 if test "x$ac_cv_func__log10l" = x""yes; then :
56701 cat >>confdefs.h <<_ACEOF
56702 #define HAVE__LOG10L 1
56703 _ACEOF
56704
56705 fi
56706 done
56707
56708 fi
56709 fi
56710
56711
56712
56713
56714
56715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56716 $as_echo_n "checking for modfl declaration... " >&6; }
56717 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56718 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56719 $as_echo_n "(cached) " >&6
56720 else
56721
56722
56723 ac_ext=cpp
56724 ac_cpp='$CXXCPP $CPPFLAGS'
56725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56728
56729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56730 /* end confdefs.h. */
56731 #include <math.h>
56732 int
56733 main ()
56734 {
56735 modfl(0, 0);
56736 ;
56737 return 0;
56738 }
56739 _ACEOF
56740 if ac_fn_cxx_try_compile "$LINENO"; then :
56741 glibcxx_cv_func_modfl_use=yes
56742 else
56743 glibcxx_cv_func_modfl_use=no
56744 fi
56745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56746 ac_ext=c
56747 ac_cpp='$CPP $CPPFLAGS'
56748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56751
56752
56753 fi
56754
56755 fi
56756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56757 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56758
56759 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56760 for ac_func in modfl
56761 do :
56762 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56763 if test "x$ac_cv_func_modfl" = x""yes; then :
56764 cat >>confdefs.h <<_ACEOF
56765 #define HAVE_MODFL 1
56766 _ACEOF
56767
56768 fi
56769 done
56770
56771 else
56772
56773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56774 $as_echo_n "checking for _modfl declaration... " >&6; }
56775 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56776 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56777 $as_echo_n "(cached) " >&6
56778 else
56779
56780
56781 ac_ext=cpp
56782 ac_cpp='$CXXCPP $CPPFLAGS'
56783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56786
56787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56788 /* end confdefs.h. */
56789 #include <math.h>
56790 int
56791 main ()
56792 {
56793 _modfl(0, 0);
56794 ;
56795 return 0;
56796 }
56797 _ACEOF
56798 if ac_fn_cxx_try_compile "$LINENO"; then :
56799 glibcxx_cv_func__modfl_use=yes
56800 else
56801 glibcxx_cv_func__modfl_use=no
56802 fi
56803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56804 ac_ext=c
56805 ac_cpp='$CPP $CPPFLAGS'
56806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56809
56810
56811 fi
56812
56813 fi
56814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56815 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56816
56817 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56818 for ac_func in _modfl
56819 do :
56820 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56821 if test "x$ac_cv_func__modfl" = x""yes; then :
56822 cat >>confdefs.h <<_ACEOF
56823 #define HAVE__MODFL 1
56824 _ACEOF
56825
56826 fi
56827 done
56828
56829 fi
56830 fi
56831
56832
56833
56834
56835
56836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56837 $as_echo_n "checking for powl declaration... " >&6; }
56838 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56839 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56840 $as_echo_n "(cached) " >&6
56841 else
56842
56843
56844 ac_ext=cpp
56845 ac_cpp='$CXXCPP $CPPFLAGS'
56846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56849
56850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56851 /* end confdefs.h. */
56852 #include <math.h>
56853 int
56854 main ()
56855 {
56856 powl(0, 0);
56857 ;
56858 return 0;
56859 }
56860 _ACEOF
56861 if ac_fn_cxx_try_compile "$LINENO"; then :
56862 glibcxx_cv_func_powl_use=yes
56863 else
56864 glibcxx_cv_func_powl_use=no
56865 fi
56866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56867 ac_ext=c
56868 ac_cpp='$CPP $CPPFLAGS'
56869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56872
56873
56874 fi
56875
56876 fi
56877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56878 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56879
56880 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56881 for ac_func in powl
56882 do :
56883 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56884 if test "x$ac_cv_func_powl" = x""yes; then :
56885 cat >>confdefs.h <<_ACEOF
56886 #define HAVE_POWL 1
56887 _ACEOF
56888
56889 fi
56890 done
56891
56892 else
56893
56894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56895 $as_echo_n "checking for _powl declaration... " >&6; }
56896 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56897 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56898 $as_echo_n "(cached) " >&6
56899 else
56900
56901
56902 ac_ext=cpp
56903 ac_cpp='$CXXCPP $CPPFLAGS'
56904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56907
56908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56909 /* end confdefs.h. */
56910 #include <math.h>
56911 int
56912 main ()
56913 {
56914 _powl(0, 0);
56915 ;
56916 return 0;
56917 }
56918 _ACEOF
56919 if ac_fn_cxx_try_compile "$LINENO"; then :
56920 glibcxx_cv_func__powl_use=yes
56921 else
56922 glibcxx_cv_func__powl_use=no
56923 fi
56924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56925 ac_ext=c
56926 ac_cpp='$CPP $CPPFLAGS'
56927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56930
56931
56932 fi
56933
56934 fi
56935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56936 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56937
56938 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56939 for ac_func in _powl
56940 do :
56941 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56942 if test "x$ac_cv_func__powl" = x""yes; then :
56943 cat >>confdefs.h <<_ACEOF
56944 #define HAVE__POWL 1
56945 _ACEOF
56946
56947 fi
56948 done
56949
56950 fi
56951 fi
56952
56953
56954
56955
56956
56957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56958 $as_echo_n "checking for sqrtl declaration... " >&6; }
56959 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56960 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56961 $as_echo_n "(cached) " >&6
56962 else
56963
56964
56965 ac_ext=cpp
56966 ac_cpp='$CXXCPP $CPPFLAGS'
56967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56970
56971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56972 /* end confdefs.h. */
56973 #include <math.h>
56974 #ifdef HAVE_IEEEFP_H
56975 #include <ieeefp.h>
56976 #endif
56977
56978 int
56979 main ()
56980 {
56981 sqrtl(0);
56982 ;
56983 return 0;
56984 }
56985 _ACEOF
56986 if ac_fn_cxx_try_compile "$LINENO"; then :
56987 glibcxx_cv_func_sqrtl_use=yes
56988 else
56989 glibcxx_cv_func_sqrtl_use=no
56990 fi
56991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56992 ac_ext=c
56993 ac_cpp='$CPP $CPPFLAGS'
56994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56997
56998
56999 fi
57000
57001 fi
57002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57003 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57004
57005 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57006 for ac_func in sqrtl
57007 do :
57008 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57009 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57010 cat >>confdefs.h <<_ACEOF
57011 #define HAVE_SQRTL 1
57012 _ACEOF
57013
57014 fi
57015 done
57016
57017 else
57018
57019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57020 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57021 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57022 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57023 $as_echo_n "(cached) " >&6
57024 else
57025
57026
57027 ac_ext=cpp
57028 ac_cpp='$CXXCPP $CPPFLAGS'
57029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57032
57033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57034 /* end confdefs.h. */
57035 #include <math.h>
57036 #ifdef HAVE_IEEEFP_H
57037 #include <ieeefp.h>
57038 #endif
57039
57040 int
57041 main ()
57042 {
57043 _sqrtl(0);
57044 ;
57045 return 0;
57046 }
57047 _ACEOF
57048 if ac_fn_cxx_try_compile "$LINENO"; then :
57049 glibcxx_cv_func__sqrtl_use=yes
57050 else
57051 glibcxx_cv_func__sqrtl_use=no
57052 fi
57053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57054 ac_ext=c
57055 ac_cpp='$CPP $CPPFLAGS'
57056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57059
57060
57061 fi
57062
57063 fi
57064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57065 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57066
57067 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57068 for ac_func in _sqrtl
57069 do :
57070 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57071 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57072 cat >>confdefs.h <<_ACEOF
57073 #define HAVE__SQRTL 1
57074 _ACEOF
57075
57076 fi
57077 done
57078
57079 fi
57080 fi
57081
57082
57083
57084
57085
57086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57087 $as_echo_n "checking for sincosl declaration... " >&6; }
57088 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57089 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57090 $as_echo_n "(cached) " >&6
57091 else
57092
57093
57094 ac_ext=cpp
57095 ac_cpp='$CXXCPP $CPPFLAGS'
57096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57099
57100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57101 /* end confdefs.h. */
57102 #include <math.h>
57103 int
57104 main ()
57105 {
57106 sincosl(0, 0, 0);
57107 ;
57108 return 0;
57109 }
57110 _ACEOF
57111 if ac_fn_cxx_try_compile "$LINENO"; then :
57112 glibcxx_cv_func_sincosl_use=yes
57113 else
57114 glibcxx_cv_func_sincosl_use=no
57115 fi
57116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57117 ac_ext=c
57118 ac_cpp='$CPP $CPPFLAGS'
57119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57122
57123
57124 fi
57125
57126 fi
57127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57128 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57129
57130 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57131 for ac_func in sincosl
57132 do :
57133 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57134 if test "x$ac_cv_func_sincosl" = x""yes; then :
57135 cat >>confdefs.h <<_ACEOF
57136 #define HAVE_SINCOSL 1
57137 _ACEOF
57138
57139 fi
57140 done
57141
57142 else
57143
57144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57145 $as_echo_n "checking for _sincosl declaration... " >&6; }
57146 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57147 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57148 $as_echo_n "(cached) " >&6
57149 else
57150
57151
57152 ac_ext=cpp
57153 ac_cpp='$CXXCPP $CPPFLAGS'
57154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57157
57158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57159 /* end confdefs.h. */
57160 #include <math.h>
57161 int
57162 main ()
57163 {
57164 _sincosl(0, 0, 0);
57165 ;
57166 return 0;
57167 }
57168 _ACEOF
57169 if ac_fn_cxx_try_compile "$LINENO"; then :
57170 glibcxx_cv_func__sincosl_use=yes
57171 else
57172 glibcxx_cv_func__sincosl_use=no
57173 fi
57174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57175 ac_ext=c
57176 ac_cpp='$CPP $CPPFLAGS'
57177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57180
57181
57182 fi
57183
57184 fi
57185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57186 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57187
57188 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57189 for ac_func in _sincosl
57190 do :
57191 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57192 if test "x$ac_cv_func__sincosl" = x""yes; then :
57193 cat >>confdefs.h <<_ACEOF
57194 #define HAVE__SINCOSL 1
57195 _ACEOF
57196
57197 fi
57198 done
57199
57200 fi
57201 fi
57202
57203
57204
57205
57206
57207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57208 $as_echo_n "checking for finitel declaration... " >&6; }
57209 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57210 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57211 $as_echo_n "(cached) " >&6
57212 else
57213
57214
57215 ac_ext=cpp
57216 ac_cpp='$CXXCPP $CPPFLAGS'
57217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57220
57221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57222 /* end confdefs.h. */
57223 #include <math.h>
57224 #ifdef HAVE_IEEEFP_H
57225 #include <ieeefp.h>
57226 #endif
57227
57228 int
57229 main ()
57230 {
57231 finitel(0);
57232 ;
57233 return 0;
57234 }
57235 _ACEOF
57236 if ac_fn_cxx_try_compile "$LINENO"; then :
57237 glibcxx_cv_func_finitel_use=yes
57238 else
57239 glibcxx_cv_func_finitel_use=no
57240 fi
57241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57242 ac_ext=c
57243 ac_cpp='$CPP $CPPFLAGS'
57244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57247
57248
57249 fi
57250
57251 fi
57252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57253 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57254
57255 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57256 for ac_func in finitel
57257 do :
57258 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57259 if test "x$ac_cv_func_finitel" = x""yes; then :
57260 cat >>confdefs.h <<_ACEOF
57261 #define HAVE_FINITEL 1
57262 _ACEOF
57263
57264 fi
57265 done
57266
57267 else
57268
57269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57270 $as_echo_n "checking for _finitel declaration... " >&6; }
57271 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57272 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57273 $as_echo_n "(cached) " >&6
57274 else
57275
57276
57277 ac_ext=cpp
57278 ac_cpp='$CXXCPP $CPPFLAGS'
57279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57282
57283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57284 /* end confdefs.h. */
57285 #include <math.h>
57286 #ifdef HAVE_IEEEFP_H
57287 #include <ieeefp.h>
57288 #endif
57289
57290 int
57291 main ()
57292 {
57293 _finitel(0);
57294 ;
57295 return 0;
57296 }
57297 _ACEOF
57298 if ac_fn_cxx_try_compile "$LINENO"; then :
57299 glibcxx_cv_func__finitel_use=yes
57300 else
57301 glibcxx_cv_func__finitel_use=no
57302 fi
57303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57304 ac_ext=c
57305 ac_cpp='$CPP $CPPFLAGS'
57306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57309
57310
57311 fi
57312
57313 fi
57314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57315 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57316
57317 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57318 for ac_func in _finitel
57319 do :
57320 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57321 if test "x$ac_cv_func__finitel" = x""yes; then :
57322 cat >>confdefs.h <<_ACEOF
57323 #define HAVE__FINITEL 1
57324 _ACEOF
57325
57326 fi
57327 done
57328
57329 fi
57330 fi
57331
57332
57333
57334
57335 LIBS="$ac_save_LIBS"
57336 CXXFLAGS="$ac_save_CXXFLAGS"
57337
57338
57339 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57340 ac_save_CXXFLAGS="$CXXFLAGS"
57341 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57342
57343
57344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57345 $as_echo_n "checking for strtold declaration... " >&6; }
57346 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57347 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57348 $as_echo_n "(cached) " >&6
57349 else
57350
57351
57352 ac_ext=cpp
57353 ac_cpp='$CXXCPP $CPPFLAGS'
57354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57357
57358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57359 /* end confdefs.h. */
57360 #include <stdlib.h>
57361 int
57362 main ()
57363 {
57364 strtold(0, 0);
57365 ;
57366 return 0;
57367 }
57368 _ACEOF
57369 if ac_fn_cxx_try_compile "$LINENO"; then :
57370 glibcxx_cv_func_strtold_use=yes
57371 else
57372 glibcxx_cv_func_strtold_use=no
57373 fi
57374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57375 ac_ext=c
57376 ac_cpp='$CPP $CPPFLAGS'
57377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57380
57381
57382 fi
57383
57384 fi
57385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57386 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57387 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57388 for ac_func in strtold
57389 do :
57390 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57391 if test "x$ac_cv_func_strtold" = x""yes; then :
57392 cat >>confdefs.h <<_ACEOF
57393 #define HAVE_STRTOLD 1
57394 _ACEOF
57395
57396 fi
57397 done
57398
57399 fi
57400
57401
57402
57403
57404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57405 $as_echo_n "checking for strtof declaration... " >&6; }
57406 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57407 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57408 $as_echo_n "(cached) " >&6
57409 else
57410
57411
57412 ac_ext=cpp
57413 ac_cpp='$CXXCPP $CPPFLAGS'
57414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57417
57418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57419 /* end confdefs.h. */
57420 #include <stdlib.h>
57421 int
57422 main ()
57423 {
57424 strtof(0, 0);
57425 ;
57426 return 0;
57427 }
57428 _ACEOF
57429 if ac_fn_cxx_try_compile "$LINENO"; then :
57430 glibcxx_cv_func_strtof_use=yes
57431 else
57432 glibcxx_cv_func_strtof_use=no
57433 fi
57434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57435 ac_ext=c
57436 ac_cpp='$CPP $CPPFLAGS'
57437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57440
57441
57442 fi
57443
57444 fi
57445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57446 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57447 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57448 for ac_func in strtof
57449 do :
57450 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57451 if test "x$ac_cv_func_strtof" = x""yes; then :
57452 cat >>confdefs.h <<_ACEOF
57453 #define HAVE_STRTOF 1
57454 _ACEOF
57455
57456 fi
57457 done
57458
57459 fi
57460
57461
57462
57463
57464 CXXFLAGS="$ac_save_CXXFLAGS"
57465
57466 ;;
57467 *-netbsd*)
57468 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57469
57470
57471 # If we're not using GNU ld, then there's no point in even trying these
57472 # tests. Check for that first. We should have already tested for gld
57473 # by now (in libtool), but require it now just to be safe...
57474 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57475 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57476
57477
57478
57479 # The name set by libtool depends on the version of libtool. Shame on us
57480 # for depending on an impl detail, but c'est la vie. Older versions used
57481 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57482 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57483 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57484 # set (hence we're using an older libtool), then set it.
57485 if test x${with_gnu_ld+set} != xset; then
57486 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57487 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57488 with_gnu_ld=no
57489 else
57490 with_gnu_ld=$ac_cv_prog_gnu_ld
57491 fi
57492 fi
57493
57494 # Start by getting the version number. I think the libtool test already
57495 # does some of this, but throws away the result.
57496 glibcxx_ld_is_gold=no
57497 if test x"$with_gnu_ld" = x"yes"; then
57498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57499 $as_echo_n "checking for ld version... " >&6; }
57500
57501 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57502 glibcxx_ld_is_gold=yes
57503 fi
57504 ldver=`$LD --version 2>/dev/null |
57505 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'`
57506
57507 glibcxx_gnu_ld_version=`echo $ldver | \
57508 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57510 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57511 fi
57512
57513 # Set --gc-sections.
57514 glibcxx_have_gc_sections=no
57515 if test "$glibcxx_ld_is_gold" = "yes"; then
57516 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57517 glibcxx_have_gc_sections=yes
57518 fi
57519 else
57520 glibcxx_gcsections_min_ld=21602
57521 if test x"$with_gnu_ld" = x"yes" &&
57522 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57523 glibcxx_have_gc_sections=yes
57524 fi
57525 fi
57526 if test "$glibcxx_have_gc_sections" = "yes"; then
57527 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57528 # NB: This flag only works reliably after 2.16.1. Configure tests
57529 # for this are difficult, so hard wire a value that should work.
57530
57531 ac_test_CFLAGS="${CFLAGS+set}"
57532 ac_save_CFLAGS="$CFLAGS"
57533 CFLAGS='-Wl,--gc-sections'
57534
57535 # Check for -Wl,--gc-sections
57536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57537 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57538 if test x$gcc_no_link = xyes; then
57539 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57540 fi
57541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57542 /* end confdefs.h. */
57543 int one(void) { return 1; }
57544 int two(void) { return 2; }
57545
57546 int
57547 main ()
57548 {
57549 two();
57550 ;
57551 return 0;
57552 }
57553 _ACEOF
57554 if ac_fn_c_try_link "$LINENO"; then :
57555 ac_gcsections=yes
57556 else
57557 ac_gcsections=no
57558 fi
57559 rm -f core conftest.err conftest.$ac_objext \
57560 conftest$ac_exeext conftest.$ac_ext
57561 if test "$ac_gcsections" = "yes"; then
57562 rm -f conftest.c
57563 touch conftest.c
57564 if $CC -c conftest.c; then
57565 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57566 grep "Warning: gc-sections option ignored" > /dev/null; then
57567 ac_gcsections=no
57568 fi
57569 fi
57570 rm -f conftest.c conftest.o conftest
57571 fi
57572 if test "$ac_gcsections" = "yes"; then
57573 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57574 fi
57575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57576 $as_echo "$ac_gcsections" >&6; }
57577
57578 if test "$ac_test_CFLAGS" = set; then
57579 CFLAGS="$ac_save_CFLAGS"
57580 else
57581 # this is the suspicious part
57582 CFLAGS=''
57583 fi
57584 fi
57585
57586 # Set -z,relro.
57587 # Note this is only for shared objects.
57588 ac_ld_relro=no
57589 if test x"$with_gnu_ld" = x"yes"; then
57590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57591 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57592 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57593 if test -n "$cxx_z_relo"; then
57594 OPT_LDFLAGS="-Wl,-z,relro"
57595 ac_ld_relro=yes
57596 fi
57597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57598 $as_echo "$ac_ld_relro" >&6; }
57599 fi
57600
57601 # Set linker optimization flags.
57602 if test x"$with_gnu_ld" = x"yes"; then
57603 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57604 fi
57605
57606
57607
57608
57609 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57610
57611 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57612
57613 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57614
57615 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57616
57617 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57618
57619 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57620
57621 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57622
57623 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57624
57625 if test x"long_double_math_on_this_cpu" = x"yes"; then
57626 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57627
57628 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57629
57630 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57631
57632 fi
57633 ;;
57634 *-qnx6.1* | *-qnx6.2*)
57635 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57636
57637
57638 # If we're not using GNU ld, then there's no point in even trying these
57639 # tests. Check for that first. We should have already tested for gld
57640 # by now (in libtool), but require it now just to be safe...
57641 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57642 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57643
57644
57645
57646 # The name set by libtool depends on the version of libtool. Shame on us
57647 # for depending on an impl detail, but c'est la vie. Older versions used
57648 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57649 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57650 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57651 # set (hence we're using an older libtool), then set it.
57652 if test x${with_gnu_ld+set} != xset; then
57653 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57654 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57655 with_gnu_ld=no
57656 else
57657 with_gnu_ld=$ac_cv_prog_gnu_ld
57658 fi
57659 fi
57660
57661 # Start by getting the version number. I think the libtool test already
57662 # does some of this, but throws away the result.
57663 glibcxx_ld_is_gold=no
57664 if test x"$with_gnu_ld" = x"yes"; then
57665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57666 $as_echo_n "checking for ld version... " >&6; }
57667
57668 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57669 glibcxx_ld_is_gold=yes
57670 fi
57671 ldver=`$LD --version 2>/dev/null |
57672 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'`
57673
57674 glibcxx_gnu_ld_version=`echo $ldver | \
57675 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57677 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57678 fi
57679
57680 # Set --gc-sections.
57681 glibcxx_have_gc_sections=no
57682 if test "$glibcxx_ld_is_gold" = "yes"; then
57683 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57684 glibcxx_have_gc_sections=yes
57685 fi
57686 else
57687 glibcxx_gcsections_min_ld=21602
57688 if test x"$with_gnu_ld" = x"yes" &&
57689 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57690 glibcxx_have_gc_sections=yes
57691 fi
57692 fi
57693 if test "$glibcxx_have_gc_sections" = "yes"; then
57694 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57695 # NB: This flag only works reliably after 2.16.1. Configure tests
57696 # for this are difficult, so hard wire a value that should work.
57697
57698 ac_test_CFLAGS="${CFLAGS+set}"
57699 ac_save_CFLAGS="$CFLAGS"
57700 CFLAGS='-Wl,--gc-sections'
57701
57702 # Check for -Wl,--gc-sections
57703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57704 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57705 if test x$gcc_no_link = xyes; then
57706 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57707 fi
57708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57709 /* end confdefs.h. */
57710 int one(void) { return 1; }
57711 int two(void) { return 2; }
57712
57713 int
57714 main ()
57715 {
57716 two();
57717 ;
57718 return 0;
57719 }
57720 _ACEOF
57721 if ac_fn_c_try_link "$LINENO"; then :
57722 ac_gcsections=yes
57723 else
57724 ac_gcsections=no
57725 fi
57726 rm -f core conftest.err conftest.$ac_objext \
57727 conftest$ac_exeext conftest.$ac_ext
57728 if test "$ac_gcsections" = "yes"; then
57729 rm -f conftest.c
57730 touch conftest.c
57731 if $CC -c conftest.c; then
57732 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57733 grep "Warning: gc-sections option ignored" > /dev/null; then
57734 ac_gcsections=no
57735 fi
57736 fi
57737 rm -f conftest.c conftest.o conftest
57738 fi
57739 if test "$ac_gcsections" = "yes"; then
57740 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57741 fi
57742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57743 $as_echo "$ac_gcsections" >&6; }
57744
57745 if test "$ac_test_CFLAGS" = set; then
57746 CFLAGS="$ac_save_CFLAGS"
57747 else
57748 # this is the suspicious part
57749 CFLAGS=''
57750 fi
57751 fi
57752
57753 # Set -z,relro.
57754 # Note this is only for shared objects.
57755 ac_ld_relro=no
57756 if test x"$with_gnu_ld" = x"yes"; then
57757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57758 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57759 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57760 if test -n "$cxx_z_relo"; then
57761 OPT_LDFLAGS="-Wl,-z,relro"
57762 ac_ld_relro=yes
57763 fi
57764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57765 $as_echo "$ac_ld_relro" >&6; }
57766 fi
57767
57768 # Set linker optimization flags.
57769 if test x"$with_gnu_ld" = x"yes"; then
57770 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57771 fi
57772
57773
57774
57775
57776 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57777
57778 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57779
57780 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57781
57782 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57783
57784 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57785
57786 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57787
57788 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57789
57790 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57791
57792 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57793
57794 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57795
57796 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57797
57798 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57799
57800 ;;
57801 *-rtems*)
57802
57803 # All these tests are for C++; save the language and the compiler flags.
57804 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57805 # found in GLIBCXX_CONFIGURE.
57806
57807 ac_ext=cpp
57808 ac_cpp='$CXXCPP $CPPFLAGS'
57809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57812
57813 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57814 ac_save_CXXFLAGS="$CXXFLAGS"
57815
57816 # Check for maintainer-mode bits.
57817 if test x"$USE_MAINTAINER_MODE" = xno; then
57818 WERROR=''
57819 else
57820 WERROR='-Werror'
57821 fi
57822
57823 # Check for -ffunction-sections -fdata-sections
57824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57825 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57826 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57828 /* end confdefs.h. */
57829 int foo; void bar() { };
57830 int
57831 main ()
57832 {
57833
57834 ;
57835 return 0;
57836 }
57837 _ACEOF
57838 if ac_fn_cxx_try_compile "$LINENO"; then :
57839 ac_fdsections=yes
57840 else
57841 ac_fdsections=no
57842 fi
57843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57844 if test "$ac_test_CXXFLAGS" = set; then
57845 CXXFLAGS="$ac_save_CXXFLAGS"
57846 else
57847 # this is the suspicious part
57848 CXXFLAGS=''
57849 fi
57850 if test x"$ac_fdsections" = x"yes"; then
57851 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57852 fi
57853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57854 $as_echo "$ac_fdsections" >&6; }
57855
57856 ac_ext=c
57857 ac_cpp='$CPP $CPPFLAGS'
57858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57861
57862
57863
57864
57865
57866 # If we're not using GNU ld, then there's no point in even trying these
57867 # tests. Check for that first. We should have already tested for gld
57868 # by now (in libtool), but require it now just to be safe...
57869 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57870 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57871
57872
57873
57874 # The name set by libtool depends on the version of libtool. Shame on us
57875 # for depending on an impl detail, but c'est la vie. Older versions used
57876 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57877 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57878 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57879 # set (hence we're using an older libtool), then set it.
57880 if test x${with_gnu_ld+set} != xset; then
57881 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57882 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57883 with_gnu_ld=no
57884 else
57885 with_gnu_ld=$ac_cv_prog_gnu_ld
57886 fi
57887 fi
57888
57889 # Start by getting the version number. I think the libtool test already
57890 # does some of this, but throws away the result.
57891 glibcxx_ld_is_gold=no
57892 if test x"$with_gnu_ld" = x"yes"; then
57893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57894 $as_echo_n "checking for ld version... " >&6; }
57895
57896 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57897 glibcxx_ld_is_gold=yes
57898 fi
57899 ldver=`$LD --version 2>/dev/null |
57900 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'`
57901
57902 glibcxx_gnu_ld_version=`echo $ldver | \
57903 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57905 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57906 fi
57907
57908 # Set --gc-sections.
57909 glibcxx_have_gc_sections=no
57910 if test "$glibcxx_ld_is_gold" = "yes"; then
57911 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57912 glibcxx_have_gc_sections=yes
57913 fi
57914 else
57915 glibcxx_gcsections_min_ld=21602
57916 if test x"$with_gnu_ld" = x"yes" &&
57917 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57918 glibcxx_have_gc_sections=yes
57919 fi
57920 fi
57921 if test "$glibcxx_have_gc_sections" = "yes"; then
57922 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57923 # NB: This flag only works reliably after 2.16.1. Configure tests
57924 # for this are difficult, so hard wire a value that should work.
57925
57926 ac_test_CFLAGS="${CFLAGS+set}"
57927 ac_save_CFLAGS="$CFLAGS"
57928 CFLAGS='-Wl,--gc-sections'
57929
57930 # Check for -Wl,--gc-sections
57931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57932 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57933 if test x$gcc_no_link = xyes; then
57934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57935 fi
57936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57937 /* end confdefs.h. */
57938 int one(void) { return 1; }
57939 int two(void) { return 2; }
57940
57941 int
57942 main ()
57943 {
57944 two();
57945 ;
57946 return 0;
57947 }
57948 _ACEOF
57949 if ac_fn_c_try_link "$LINENO"; then :
57950 ac_gcsections=yes
57951 else
57952 ac_gcsections=no
57953 fi
57954 rm -f core conftest.err conftest.$ac_objext \
57955 conftest$ac_exeext conftest.$ac_ext
57956 if test "$ac_gcsections" = "yes"; then
57957 rm -f conftest.c
57958 touch conftest.c
57959 if $CC -c conftest.c; then
57960 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57961 grep "Warning: gc-sections option ignored" > /dev/null; then
57962 ac_gcsections=no
57963 fi
57964 fi
57965 rm -f conftest.c conftest.o conftest
57966 fi
57967 if test "$ac_gcsections" = "yes"; then
57968 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57969 fi
57970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57971 $as_echo "$ac_gcsections" >&6; }
57972
57973 if test "$ac_test_CFLAGS" = set; then
57974 CFLAGS="$ac_save_CFLAGS"
57975 else
57976 # this is the suspicious part
57977 CFLAGS=''
57978 fi
57979 fi
57980
57981 # Set -z,relro.
57982 # Note this is only for shared objects.
57983 ac_ld_relro=no
57984 if test x"$with_gnu_ld" = x"yes"; then
57985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57986 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57987 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57988 if test -n "$cxx_z_relo"; then
57989 OPT_LDFLAGS="-Wl,-z,relro"
57990 ac_ld_relro=yes
57991 fi
57992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57993 $as_echo "$ac_ld_relro" >&6; }
57994 fi
57995
57996 # Set linker optimization flags.
57997 if test x"$with_gnu_ld" = x"yes"; then
57998 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57999 fi
58000
58001
58002
58003
58004
58005 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58006 ac_save_CXXFLAGS="$CXXFLAGS"
58007 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58008
58009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58010 $as_echo_n "checking for sin in -lm... " >&6; }
58011 if test "${ac_cv_lib_m_sin+set}" = set; then :
58012 $as_echo_n "(cached) " >&6
58013 else
58014 ac_check_lib_save_LIBS=$LIBS
58015 LIBS="-lm $LIBS"
58016 if test x$gcc_no_link = xyes; then
58017 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58018 fi
58019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58020 /* end confdefs.h. */
58021
58022 /* Override any GCC internal prototype to avoid an error.
58023 Use char because int might match the return type of a GCC
58024 builtin and then its argument prototype would still apply. */
58025 #ifdef __cplusplus
58026 extern "C"
58027 #endif
58028 char sin ();
58029 int
58030 main ()
58031 {
58032 return sin ();
58033 ;
58034 return 0;
58035 }
58036 _ACEOF
58037 if ac_fn_c_try_link "$LINENO"; then :
58038 ac_cv_lib_m_sin=yes
58039 else
58040 ac_cv_lib_m_sin=no
58041 fi
58042 rm -f core conftest.err conftest.$ac_objext \
58043 conftest$ac_exeext conftest.$ac_ext
58044 LIBS=$ac_check_lib_save_LIBS
58045 fi
58046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58047 $as_echo "$ac_cv_lib_m_sin" >&6; }
58048 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58049 libm="-lm"
58050 fi
58051
58052 ac_save_LIBS="$LIBS"
58053 LIBS="$LIBS $libm"
58054
58055
58056
58057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58058 $as_echo_n "checking for isinf declaration... " >&6; }
58059 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58060 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58061 $as_echo_n "(cached) " >&6
58062 else
58063
58064
58065 ac_ext=cpp
58066 ac_cpp='$CXXCPP $CPPFLAGS'
58067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58070
58071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58072 /* end confdefs.h. */
58073 #include <math.h>
58074 #ifdef HAVE_IEEEFP_H
58075 #include <ieeefp.h>
58076 #endif
58077
58078 int
58079 main ()
58080 {
58081 isinf(0);
58082 ;
58083 return 0;
58084 }
58085 _ACEOF
58086 if ac_fn_cxx_try_compile "$LINENO"; then :
58087 glibcxx_cv_func_isinf_use=yes
58088 else
58089 glibcxx_cv_func_isinf_use=no
58090 fi
58091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58092 ac_ext=c
58093 ac_cpp='$CPP $CPPFLAGS'
58094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58097
58098
58099 fi
58100
58101 fi
58102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58103 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58104
58105 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58106 for ac_func in isinf
58107 do :
58108 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58109 if test "x$ac_cv_func_isinf" = x""yes; then :
58110 cat >>confdefs.h <<_ACEOF
58111 #define HAVE_ISINF 1
58112 _ACEOF
58113
58114 fi
58115 done
58116
58117 else
58118
58119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58120 $as_echo_n "checking for _isinf declaration... " >&6; }
58121 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58122 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58123 $as_echo_n "(cached) " >&6
58124 else
58125
58126
58127 ac_ext=cpp
58128 ac_cpp='$CXXCPP $CPPFLAGS'
58129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58132
58133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58134 /* end confdefs.h. */
58135 #include <math.h>
58136 #ifdef HAVE_IEEEFP_H
58137 #include <ieeefp.h>
58138 #endif
58139
58140 int
58141 main ()
58142 {
58143 _isinf(0);
58144 ;
58145 return 0;
58146 }
58147 _ACEOF
58148 if ac_fn_cxx_try_compile "$LINENO"; then :
58149 glibcxx_cv_func__isinf_use=yes
58150 else
58151 glibcxx_cv_func__isinf_use=no
58152 fi
58153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58154 ac_ext=c
58155 ac_cpp='$CPP $CPPFLAGS'
58156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58159
58160
58161 fi
58162
58163 fi
58164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58165 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58166
58167 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58168 for ac_func in _isinf
58169 do :
58170 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58171 if test "x$ac_cv_func__isinf" = x""yes; then :
58172 cat >>confdefs.h <<_ACEOF
58173 #define HAVE__ISINF 1
58174 _ACEOF
58175
58176 fi
58177 done
58178
58179 fi
58180 fi
58181
58182
58183
58184
58185
58186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58187 $as_echo_n "checking for isnan declaration... " >&6; }
58188 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58189 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58190 $as_echo_n "(cached) " >&6
58191 else
58192
58193
58194 ac_ext=cpp
58195 ac_cpp='$CXXCPP $CPPFLAGS'
58196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58199
58200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58201 /* end confdefs.h. */
58202 #include <math.h>
58203 #ifdef HAVE_IEEEFP_H
58204 #include <ieeefp.h>
58205 #endif
58206
58207 int
58208 main ()
58209 {
58210 isnan(0);
58211 ;
58212 return 0;
58213 }
58214 _ACEOF
58215 if ac_fn_cxx_try_compile "$LINENO"; then :
58216 glibcxx_cv_func_isnan_use=yes
58217 else
58218 glibcxx_cv_func_isnan_use=no
58219 fi
58220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58221 ac_ext=c
58222 ac_cpp='$CPP $CPPFLAGS'
58223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58226
58227
58228 fi
58229
58230 fi
58231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58232 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58233
58234 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58235 for ac_func in isnan
58236 do :
58237 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58238 if test "x$ac_cv_func_isnan" = x""yes; then :
58239 cat >>confdefs.h <<_ACEOF
58240 #define HAVE_ISNAN 1
58241 _ACEOF
58242
58243 fi
58244 done
58245
58246 else
58247
58248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58249 $as_echo_n "checking for _isnan declaration... " >&6; }
58250 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58251 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58252 $as_echo_n "(cached) " >&6
58253 else
58254
58255
58256 ac_ext=cpp
58257 ac_cpp='$CXXCPP $CPPFLAGS'
58258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58261
58262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58263 /* end confdefs.h. */
58264 #include <math.h>
58265 #ifdef HAVE_IEEEFP_H
58266 #include <ieeefp.h>
58267 #endif
58268
58269 int
58270 main ()
58271 {
58272 _isnan(0);
58273 ;
58274 return 0;
58275 }
58276 _ACEOF
58277 if ac_fn_cxx_try_compile "$LINENO"; then :
58278 glibcxx_cv_func__isnan_use=yes
58279 else
58280 glibcxx_cv_func__isnan_use=no
58281 fi
58282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58283 ac_ext=c
58284 ac_cpp='$CPP $CPPFLAGS'
58285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58288
58289
58290 fi
58291
58292 fi
58293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58294 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58295
58296 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58297 for ac_func in _isnan
58298 do :
58299 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58300 if test "x$ac_cv_func__isnan" = x""yes; then :
58301 cat >>confdefs.h <<_ACEOF
58302 #define HAVE__ISNAN 1
58303 _ACEOF
58304
58305 fi
58306 done
58307
58308 fi
58309 fi
58310
58311
58312
58313
58314
58315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58316 $as_echo_n "checking for finite declaration... " >&6; }
58317 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58318 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58319 $as_echo_n "(cached) " >&6
58320 else
58321
58322
58323 ac_ext=cpp
58324 ac_cpp='$CXXCPP $CPPFLAGS'
58325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58328
58329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58330 /* end confdefs.h. */
58331 #include <math.h>
58332 #ifdef HAVE_IEEEFP_H
58333 #include <ieeefp.h>
58334 #endif
58335
58336 int
58337 main ()
58338 {
58339 finite(0);
58340 ;
58341 return 0;
58342 }
58343 _ACEOF
58344 if ac_fn_cxx_try_compile "$LINENO"; then :
58345 glibcxx_cv_func_finite_use=yes
58346 else
58347 glibcxx_cv_func_finite_use=no
58348 fi
58349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58350 ac_ext=c
58351 ac_cpp='$CPP $CPPFLAGS'
58352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58355
58356
58357 fi
58358
58359 fi
58360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58361 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58362
58363 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58364 for ac_func in finite
58365 do :
58366 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58367 if test "x$ac_cv_func_finite" = x""yes; then :
58368 cat >>confdefs.h <<_ACEOF
58369 #define HAVE_FINITE 1
58370 _ACEOF
58371
58372 fi
58373 done
58374
58375 else
58376
58377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58378 $as_echo_n "checking for _finite declaration... " >&6; }
58379 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58380 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58381 $as_echo_n "(cached) " >&6
58382 else
58383
58384
58385 ac_ext=cpp
58386 ac_cpp='$CXXCPP $CPPFLAGS'
58387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58390
58391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58392 /* end confdefs.h. */
58393 #include <math.h>
58394 #ifdef HAVE_IEEEFP_H
58395 #include <ieeefp.h>
58396 #endif
58397
58398 int
58399 main ()
58400 {
58401 _finite(0);
58402 ;
58403 return 0;
58404 }
58405 _ACEOF
58406 if ac_fn_cxx_try_compile "$LINENO"; then :
58407 glibcxx_cv_func__finite_use=yes
58408 else
58409 glibcxx_cv_func__finite_use=no
58410 fi
58411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58412 ac_ext=c
58413 ac_cpp='$CPP $CPPFLAGS'
58414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58417
58418
58419 fi
58420
58421 fi
58422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58423 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58424
58425 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58426 for ac_func in _finite
58427 do :
58428 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58429 if test "x$ac_cv_func__finite" = x""yes; then :
58430 cat >>confdefs.h <<_ACEOF
58431 #define HAVE__FINITE 1
58432 _ACEOF
58433
58434 fi
58435 done
58436
58437 fi
58438 fi
58439
58440
58441
58442
58443
58444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58445 $as_echo_n "checking for sincos declaration... " >&6; }
58446 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58447 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58448 $as_echo_n "(cached) " >&6
58449 else
58450
58451
58452 ac_ext=cpp
58453 ac_cpp='$CXXCPP $CPPFLAGS'
58454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58457
58458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58459 /* end confdefs.h. */
58460 #include <math.h>
58461 int
58462 main ()
58463 {
58464 sincos(0, 0, 0);
58465 ;
58466 return 0;
58467 }
58468 _ACEOF
58469 if ac_fn_cxx_try_compile "$LINENO"; then :
58470 glibcxx_cv_func_sincos_use=yes
58471 else
58472 glibcxx_cv_func_sincos_use=no
58473 fi
58474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58475 ac_ext=c
58476 ac_cpp='$CPP $CPPFLAGS'
58477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58480
58481
58482 fi
58483
58484 fi
58485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58486 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58487
58488 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58489 for ac_func in sincos
58490 do :
58491 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58492 if test "x$ac_cv_func_sincos" = x""yes; then :
58493 cat >>confdefs.h <<_ACEOF
58494 #define HAVE_SINCOS 1
58495 _ACEOF
58496
58497 fi
58498 done
58499
58500 else
58501
58502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58503 $as_echo_n "checking for _sincos declaration... " >&6; }
58504 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58505 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58506 $as_echo_n "(cached) " >&6
58507 else
58508
58509
58510 ac_ext=cpp
58511 ac_cpp='$CXXCPP $CPPFLAGS'
58512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58515
58516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58517 /* end confdefs.h. */
58518 #include <math.h>
58519 int
58520 main ()
58521 {
58522 _sincos(0, 0, 0);
58523 ;
58524 return 0;
58525 }
58526 _ACEOF
58527 if ac_fn_cxx_try_compile "$LINENO"; then :
58528 glibcxx_cv_func__sincos_use=yes
58529 else
58530 glibcxx_cv_func__sincos_use=no
58531 fi
58532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58533 ac_ext=c
58534 ac_cpp='$CPP $CPPFLAGS'
58535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58538
58539
58540 fi
58541
58542 fi
58543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58544 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58545
58546 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58547 for ac_func in _sincos
58548 do :
58549 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58550 if test "x$ac_cv_func__sincos" = x""yes; then :
58551 cat >>confdefs.h <<_ACEOF
58552 #define HAVE__SINCOS 1
58553 _ACEOF
58554
58555 fi
58556 done
58557
58558 fi
58559 fi
58560
58561
58562
58563
58564
58565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58566 $as_echo_n "checking for fpclass declaration... " >&6; }
58567 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58568 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58569 $as_echo_n "(cached) " >&6
58570 else
58571
58572
58573 ac_ext=cpp
58574 ac_cpp='$CXXCPP $CPPFLAGS'
58575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58578
58579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58580 /* end confdefs.h. */
58581 #include <math.h>
58582 #ifdef HAVE_IEEEFP_H
58583 #include <ieeefp.h>
58584 #endif
58585
58586 int
58587 main ()
58588 {
58589 fpclass(0);
58590 ;
58591 return 0;
58592 }
58593 _ACEOF
58594 if ac_fn_cxx_try_compile "$LINENO"; then :
58595 glibcxx_cv_func_fpclass_use=yes
58596 else
58597 glibcxx_cv_func_fpclass_use=no
58598 fi
58599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58600 ac_ext=c
58601 ac_cpp='$CPP $CPPFLAGS'
58602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58605
58606
58607 fi
58608
58609 fi
58610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58611 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58612
58613 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58614 for ac_func in fpclass
58615 do :
58616 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58617 if test "x$ac_cv_func_fpclass" = x""yes; then :
58618 cat >>confdefs.h <<_ACEOF
58619 #define HAVE_FPCLASS 1
58620 _ACEOF
58621
58622 fi
58623 done
58624
58625 else
58626
58627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58628 $as_echo_n "checking for _fpclass declaration... " >&6; }
58629 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58630 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58631 $as_echo_n "(cached) " >&6
58632 else
58633
58634
58635 ac_ext=cpp
58636 ac_cpp='$CXXCPP $CPPFLAGS'
58637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58640
58641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58642 /* end confdefs.h. */
58643 #include <math.h>
58644 #ifdef HAVE_IEEEFP_H
58645 #include <ieeefp.h>
58646 #endif
58647
58648 int
58649 main ()
58650 {
58651 _fpclass(0);
58652 ;
58653 return 0;
58654 }
58655 _ACEOF
58656 if ac_fn_cxx_try_compile "$LINENO"; then :
58657 glibcxx_cv_func__fpclass_use=yes
58658 else
58659 glibcxx_cv_func__fpclass_use=no
58660 fi
58661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58662 ac_ext=c
58663 ac_cpp='$CPP $CPPFLAGS'
58664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58667
58668
58669 fi
58670
58671 fi
58672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58673 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58674
58675 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58676 for ac_func in _fpclass
58677 do :
58678 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58679 if test "x$ac_cv_func__fpclass" = x""yes; then :
58680 cat >>confdefs.h <<_ACEOF
58681 #define HAVE__FPCLASS 1
58682 _ACEOF
58683
58684 fi
58685 done
58686
58687 fi
58688 fi
58689
58690
58691
58692
58693
58694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58695 $as_echo_n "checking for qfpclass declaration... " >&6; }
58696 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58697 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58698 $as_echo_n "(cached) " >&6
58699 else
58700
58701
58702 ac_ext=cpp
58703 ac_cpp='$CXXCPP $CPPFLAGS'
58704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58707
58708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58709 /* end confdefs.h. */
58710 #include <math.h>
58711 #ifdef HAVE_IEEEFP_H
58712 #include <ieeefp.h>
58713 #endif
58714
58715 int
58716 main ()
58717 {
58718 qfpclass(0);
58719 ;
58720 return 0;
58721 }
58722 _ACEOF
58723 if ac_fn_cxx_try_compile "$LINENO"; then :
58724 glibcxx_cv_func_qfpclass_use=yes
58725 else
58726 glibcxx_cv_func_qfpclass_use=no
58727 fi
58728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58729 ac_ext=c
58730 ac_cpp='$CPP $CPPFLAGS'
58731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58734
58735
58736 fi
58737
58738 fi
58739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58740 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58741
58742 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58743 for ac_func in qfpclass
58744 do :
58745 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58746 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58747 cat >>confdefs.h <<_ACEOF
58748 #define HAVE_QFPCLASS 1
58749 _ACEOF
58750
58751 fi
58752 done
58753
58754 else
58755
58756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58757 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58758 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58759 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58760 $as_echo_n "(cached) " >&6
58761 else
58762
58763
58764 ac_ext=cpp
58765 ac_cpp='$CXXCPP $CPPFLAGS'
58766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58769
58770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58771 /* end confdefs.h. */
58772 #include <math.h>
58773 #ifdef HAVE_IEEEFP_H
58774 #include <ieeefp.h>
58775 #endif
58776
58777 int
58778 main ()
58779 {
58780 _qfpclass(0);
58781 ;
58782 return 0;
58783 }
58784 _ACEOF
58785 if ac_fn_cxx_try_compile "$LINENO"; then :
58786 glibcxx_cv_func__qfpclass_use=yes
58787 else
58788 glibcxx_cv_func__qfpclass_use=no
58789 fi
58790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58791 ac_ext=c
58792 ac_cpp='$CPP $CPPFLAGS'
58793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58796
58797
58798 fi
58799
58800 fi
58801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58802 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58803
58804 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58805 for ac_func in _qfpclass
58806 do :
58807 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58808 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58809 cat >>confdefs.h <<_ACEOF
58810 #define HAVE__QFPCLASS 1
58811 _ACEOF
58812
58813 fi
58814 done
58815
58816 fi
58817 fi
58818
58819
58820
58821
58822
58823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58824 $as_echo_n "checking for hypot declaration... " >&6; }
58825 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58826 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58827 $as_echo_n "(cached) " >&6
58828 else
58829
58830
58831 ac_ext=cpp
58832 ac_cpp='$CXXCPP $CPPFLAGS'
58833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58836
58837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58838 /* end confdefs.h. */
58839 #include <math.h>
58840 int
58841 main ()
58842 {
58843 hypot(0, 0);
58844 ;
58845 return 0;
58846 }
58847 _ACEOF
58848 if ac_fn_cxx_try_compile "$LINENO"; then :
58849 glibcxx_cv_func_hypot_use=yes
58850 else
58851 glibcxx_cv_func_hypot_use=no
58852 fi
58853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58854 ac_ext=c
58855 ac_cpp='$CPP $CPPFLAGS'
58856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58859
58860
58861 fi
58862
58863 fi
58864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58865 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58866
58867 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58868 for ac_func in hypot
58869 do :
58870 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58871 if test "x$ac_cv_func_hypot" = x""yes; then :
58872 cat >>confdefs.h <<_ACEOF
58873 #define HAVE_HYPOT 1
58874 _ACEOF
58875
58876 fi
58877 done
58878
58879 else
58880
58881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58882 $as_echo_n "checking for _hypot declaration... " >&6; }
58883 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58884 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58885 $as_echo_n "(cached) " >&6
58886 else
58887
58888
58889 ac_ext=cpp
58890 ac_cpp='$CXXCPP $CPPFLAGS'
58891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58894
58895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58896 /* end confdefs.h. */
58897 #include <math.h>
58898 int
58899 main ()
58900 {
58901 _hypot(0, 0);
58902 ;
58903 return 0;
58904 }
58905 _ACEOF
58906 if ac_fn_cxx_try_compile "$LINENO"; then :
58907 glibcxx_cv_func__hypot_use=yes
58908 else
58909 glibcxx_cv_func__hypot_use=no
58910 fi
58911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58912 ac_ext=c
58913 ac_cpp='$CPP $CPPFLAGS'
58914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58917
58918
58919 fi
58920
58921 fi
58922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58923 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58924
58925 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58926 for ac_func in _hypot
58927 do :
58928 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58929 if test "x$ac_cv_func__hypot" = x""yes; then :
58930 cat >>confdefs.h <<_ACEOF
58931 #define HAVE__HYPOT 1
58932 _ACEOF
58933
58934 fi
58935 done
58936
58937 fi
58938 fi
58939
58940
58941
58942
58943
58944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58945 $as_echo_n "checking for float trig functions... " >&6; }
58946 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58947 $as_echo_n "(cached) " >&6
58948 else
58949
58950
58951 ac_ext=cpp
58952 ac_cpp='$CXXCPP $CPPFLAGS'
58953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58956
58957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58958 /* end confdefs.h. */
58959 #include <math.h>
58960 int
58961 main ()
58962 {
58963 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58964 ;
58965 return 0;
58966 }
58967 _ACEOF
58968 if ac_fn_cxx_try_compile "$LINENO"; then :
58969 glibcxx_cv_func_float_trig_use=yes
58970 else
58971 glibcxx_cv_func_float_trig_use=no
58972 fi
58973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58974 ac_ext=c
58975 ac_cpp='$CPP $CPPFLAGS'
58976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58979
58980 fi
58981
58982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58983 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58984 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58985 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58986 do :
58987 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58988 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58989 eval as_val=\$$as_ac_var
58990 if test "x$as_val" = x""yes; then :
58991 cat >>confdefs.h <<_ACEOF
58992 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58993 _ACEOF
58994
58995 fi
58996 done
58997
58998 else
58999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59000 $as_echo_n "checking for _float trig functions... " >&6; }
59001 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59002 $as_echo_n "(cached) " >&6
59003 else
59004
59005
59006 ac_ext=cpp
59007 ac_cpp='$CXXCPP $CPPFLAGS'
59008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59011
59012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59013 /* end confdefs.h. */
59014 #include <math.h>
59015 int
59016 main ()
59017 {
59018 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59019 ;
59020 return 0;
59021 }
59022 _ACEOF
59023 if ac_fn_cxx_try_compile "$LINENO"; then :
59024 glibcxx_cv_func__float_trig_use=yes
59025 else
59026 glibcxx_cv_func__float_trig_use=no
59027 fi
59028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59029 ac_ext=c
59030 ac_cpp='$CPP $CPPFLAGS'
59031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59034
59035 fi
59036
59037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59038 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59039 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59040 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59041 do :
59042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59043 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59044 eval as_val=\$$as_ac_var
59045 if test "x$as_val" = x""yes; then :
59046 cat >>confdefs.h <<_ACEOF
59047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59048 _ACEOF
59049
59050 fi
59051 done
59052
59053 fi
59054 fi
59055
59056
59057
59058
59059
59060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59061 $as_echo_n "checking for float round functions... " >&6; }
59062 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59063 $as_echo_n "(cached) " >&6
59064 else
59065
59066
59067 ac_ext=cpp
59068 ac_cpp='$CXXCPP $CPPFLAGS'
59069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59072
59073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59074 /* end confdefs.h. */
59075 #include <math.h>
59076 int
59077 main ()
59078 {
59079 ceilf (0); floorf (0);
59080 ;
59081 return 0;
59082 }
59083 _ACEOF
59084 if ac_fn_cxx_try_compile "$LINENO"; then :
59085 glibcxx_cv_func_float_round_use=yes
59086 else
59087 glibcxx_cv_func_float_round_use=no
59088 fi
59089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59090 ac_ext=c
59091 ac_cpp='$CPP $CPPFLAGS'
59092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59095
59096 fi
59097
59098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59099 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59100 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59101 for ac_func in ceilf floorf
59102 do :
59103 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59104 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59105 eval as_val=\$$as_ac_var
59106 if test "x$as_val" = x""yes; then :
59107 cat >>confdefs.h <<_ACEOF
59108 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59109 _ACEOF
59110
59111 fi
59112 done
59113
59114 else
59115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59116 $as_echo_n "checking for _float round functions... " >&6; }
59117 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59118 $as_echo_n "(cached) " >&6
59119 else
59120
59121
59122 ac_ext=cpp
59123 ac_cpp='$CXXCPP $CPPFLAGS'
59124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59127
59128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59129 /* end confdefs.h. */
59130 #include <math.h>
59131 int
59132 main ()
59133 {
59134 _ceilf (0); _floorf (0);
59135 ;
59136 return 0;
59137 }
59138 _ACEOF
59139 if ac_fn_cxx_try_compile "$LINENO"; then :
59140 glibcxx_cv_func__float_round_use=yes
59141 else
59142 glibcxx_cv_func__float_round_use=no
59143 fi
59144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59145 ac_ext=c
59146 ac_cpp='$CPP $CPPFLAGS'
59147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59150
59151 fi
59152
59153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59154 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59155 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59156 for ac_func in _ceilf _floorf
59157 do :
59158 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59159 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59160 eval as_val=\$$as_ac_var
59161 if test "x$as_val" = x""yes; then :
59162 cat >>confdefs.h <<_ACEOF
59163 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59164 _ACEOF
59165
59166 fi
59167 done
59168
59169 fi
59170 fi
59171
59172
59173
59174
59175
59176
59177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59178 $as_echo_n "checking for expf declaration... " >&6; }
59179 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59180 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59181 $as_echo_n "(cached) " >&6
59182 else
59183
59184
59185 ac_ext=cpp
59186 ac_cpp='$CXXCPP $CPPFLAGS'
59187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59190
59191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59192 /* end confdefs.h. */
59193 #include <math.h>
59194 #ifdef HAVE_IEEEFP_H
59195 #include <ieeefp.h>
59196 #endif
59197
59198 int
59199 main ()
59200 {
59201 expf(0);
59202 ;
59203 return 0;
59204 }
59205 _ACEOF
59206 if ac_fn_cxx_try_compile "$LINENO"; then :
59207 glibcxx_cv_func_expf_use=yes
59208 else
59209 glibcxx_cv_func_expf_use=no
59210 fi
59211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59212 ac_ext=c
59213 ac_cpp='$CPP $CPPFLAGS'
59214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59217
59218
59219 fi
59220
59221 fi
59222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59223 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59224
59225 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59226 for ac_func in expf
59227 do :
59228 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59229 if test "x$ac_cv_func_expf" = x""yes; then :
59230 cat >>confdefs.h <<_ACEOF
59231 #define HAVE_EXPF 1
59232 _ACEOF
59233
59234 fi
59235 done
59236
59237 else
59238
59239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59240 $as_echo_n "checking for _expf declaration... " >&6; }
59241 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59242 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59243 $as_echo_n "(cached) " >&6
59244 else
59245
59246
59247 ac_ext=cpp
59248 ac_cpp='$CXXCPP $CPPFLAGS'
59249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59252
59253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59254 /* end confdefs.h. */
59255 #include <math.h>
59256 #ifdef HAVE_IEEEFP_H
59257 #include <ieeefp.h>
59258 #endif
59259
59260 int
59261 main ()
59262 {
59263 _expf(0);
59264 ;
59265 return 0;
59266 }
59267 _ACEOF
59268 if ac_fn_cxx_try_compile "$LINENO"; then :
59269 glibcxx_cv_func__expf_use=yes
59270 else
59271 glibcxx_cv_func__expf_use=no
59272 fi
59273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59274 ac_ext=c
59275 ac_cpp='$CPP $CPPFLAGS'
59276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59279
59280
59281 fi
59282
59283 fi
59284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59285 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59286
59287 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59288 for ac_func in _expf
59289 do :
59290 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59291 if test "x$ac_cv_func__expf" = x""yes; then :
59292 cat >>confdefs.h <<_ACEOF
59293 #define HAVE__EXPF 1
59294 _ACEOF
59295
59296 fi
59297 done
59298
59299 fi
59300 fi
59301
59302
59303
59304
59305
59306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59307 $as_echo_n "checking for isnanf declaration... " >&6; }
59308 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59309 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59310 $as_echo_n "(cached) " >&6
59311 else
59312
59313
59314 ac_ext=cpp
59315 ac_cpp='$CXXCPP $CPPFLAGS'
59316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59319
59320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59321 /* end confdefs.h. */
59322 #include <math.h>
59323 #ifdef HAVE_IEEEFP_H
59324 #include <ieeefp.h>
59325 #endif
59326
59327 int
59328 main ()
59329 {
59330 isnanf(0);
59331 ;
59332 return 0;
59333 }
59334 _ACEOF
59335 if ac_fn_cxx_try_compile "$LINENO"; then :
59336 glibcxx_cv_func_isnanf_use=yes
59337 else
59338 glibcxx_cv_func_isnanf_use=no
59339 fi
59340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59341 ac_ext=c
59342 ac_cpp='$CPP $CPPFLAGS'
59343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59346
59347
59348 fi
59349
59350 fi
59351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59352 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59353
59354 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59355 for ac_func in isnanf
59356 do :
59357 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59358 if test "x$ac_cv_func_isnanf" = x""yes; then :
59359 cat >>confdefs.h <<_ACEOF
59360 #define HAVE_ISNANF 1
59361 _ACEOF
59362
59363 fi
59364 done
59365
59366 else
59367
59368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59369 $as_echo_n "checking for _isnanf declaration... " >&6; }
59370 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59371 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59372 $as_echo_n "(cached) " >&6
59373 else
59374
59375
59376 ac_ext=cpp
59377 ac_cpp='$CXXCPP $CPPFLAGS'
59378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59381
59382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59383 /* end confdefs.h. */
59384 #include <math.h>
59385 #ifdef HAVE_IEEEFP_H
59386 #include <ieeefp.h>
59387 #endif
59388
59389 int
59390 main ()
59391 {
59392 _isnanf(0);
59393 ;
59394 return 0;
59395 }
59396 _ACEOF
59397 if ac_fn_cxx_try_compile "$LINENO"; then :
59398 glibcxx_cv_func__isnanf_use=yes
59399 else
59400 glibcxx_cv_func__isnanf_use=no
59401 fi
59402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59403 ac_ext=c
59404 ac_cpp='$CPP $CPPFLAGS'
59405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59408
59409
59410 fi
59411
59412 fi
59413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59414 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59415
59416 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59417 for ac_func in _isnanf
59418 do :
59419 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59420 if test "x$ac_cv_func__isnanf" = x""yes; then :
59421 cat >>confdefs.h <<_ACEOF
59422 #define HAVE__ISNANF 1
59423 _ACEOF
59424
59425 fi
59426 done
59427
59428 fi
59429 fi
59430
59431
59432
59433
59434
59435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59436 $as_echo_n "checking for isinff declaration... " >&6; }
59437 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59438 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59439 $as_echo_n "(cached) " >&6
59440 else
59441
59442
59443 ac_ext=cpp
59444 ac_cpp='$CXXCPP $CPPFLAGS'
59445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59448
59449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59450 /* end confdefs.h. */
59451 #include <math.h>
59452 #ifdef HAVE_IEEEFP_H
59453 #include <ieeefp.h>
59454 #endif
59455
59456 int
59457 main ()
59458 {
59459 isinff(0);
59460 ;
59461 return 0;
59462 }
59463 _ACEOF
59464 if ac_fn_cxx_try_compile "$LINENO"; then :
59465 glibcxx_cv_func_isinff_use=yes
59466 else
59467 glibcxx_cv_func_isinff_use=no
59468 fi
59469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59470 ac_ext=c
59471 ac_cpp='$CPP $CPPFLAGS'
59472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59475
59476
59477 fi
59478
59479 fi
59480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59481 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59482
59483 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59484 for ac_func in isinff
59485 do :
59486 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59487 if test "x$ac_cv_func_isinff" = x""yes; then :
59488 cat >>confdefs.h <<_ACEOF
59489 #define HAVE_ISINFF 1
59490 _ACEOF
59491
59492 fi
59493 done
59494
59495 else
59496
59497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59498 $as_echo_n "checking for _isinff declaration... " >&6; }
59499 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59500 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59501 $as_echo_n "(cached) " >&6
59502 else
59503
59504
59505 ac_ext=cpp
59506 ac_cpp='$CXXCPP $CPPFLAGS'
59507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59510
59511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59512 /* end confdefs.h. */
59513 #include <math.h>
59514 #ifdef HAVE_IEEEFP_H
59515 #include <ieeefp.h>
59516 #endif
59517
59518 int
59519 main ()
59520 {
59521 _isinff(0);
59522 ;
59523 return 0;
59524 }
59525 _ACEOF
59526 if ac_fn_cxx_try_compile "$LINENO"; then :
59527 glibcxx_cv_func__isinff_use=yes
59528 else
59529 glibcxx_cv_func__isinff_use=no
59530 fi
59531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59532 ac_ext=c
59533 ac_cpp='$CPP $CPPFLAGS'
59534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59537
59538
59539 fi
59540
59541 fi
59542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59543 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59544
59545 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59546 for ac_func in _isinff
59547 do :
59548 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59549 if test "x$ac_cv_func__isinff" = x""yes; then :
59550 cat >>confdefs.h <<_ACEOF
59551 #define HAVE__ISINFF 1
59552 _ACEOF
59553
59554 fi
59555 done
59556
59557 fi
59558 fi
59559
59560
59561
59562
59563
59564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59565 $as_echo_n "checking for atan2f declaration... " >&6; }
59566 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59567 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59568 $as_echo_n "(cached) " >&6
59569 else
59570
59571
59572 ac_ext=cpp
59573 ac_cpp='$CXXCPP $CPPFLAGS'
59574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59577
59578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59579 /* end confdefs.h. */
59580 #include <math.h>
59581 int
59582 main ()
59583 {
59584 atan2f(0, 0);
59585 ;
59586 return 0;
59587 }
59588 _ACEOF
59589 if ac_fn_cxx_try_compile "$LINENO"; then :
59590 glibcxx_cv_func_atan2f_use=yes
59591 else
59592 glibcxx_cv_func_atan2f_use=no
59593 fi
59594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59595 ac_ext=c
59596 ac_cpp='$CPP $CPPFLAGS'
59597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59600
59601
59602 fi
59603
59604 fi
59605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59606 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59607
59608 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59609 for ac_func in atan2f
59610 do :
59611 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59612 if test "x$ac_cv_func_atan2f" = x""yes; then :
59613 cat >>confdefs.h <<_ACEOF
59614 #define HAVE_ATAN2F 1
59615 _ACEOF
59616
59617 fi
59618 done
59619
59620 else
59621
59622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59623 $as_echo_n "checking for _atan2f declaration... " >&6; }
59624 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59625 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59626 $as_echo_n "(cached) " >&6
59627 else
59628
59629
59630 ac_ext=cpp
59631 ac_cpp='$CXXCPP $CPPFLAGS'
59632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59635
59636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59637 /* end confdefs.h. */
59638 #include <math.h>
59639 int
59640 main ()
59641 {
59642 _atan2f(0, 0);
59643 ;
59644 return 0;
59645 }
59646 _ACEOF
59647 if ac_fn_cxx_try_compile "$LINENO"; then :
59648 glibcxx_cv_func__atan2f_use=yes
59649 else
59650 glibcxx_cv_func__atan2f_use=no
59651 fi
59652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59653 ac_ext=c
59654 ac_cpp='$CPP $CPPFLAGS'
59655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59658
59659
59660 fi
59661
59662 fi
59663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59664 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59665
59666 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59667 for ac_func in _atan2f
59668 do :
59669 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59670 if test "x$ac_cv_func__atan2f" = x""yes; then :
59671 cat >>confdefs.h <<_ACEOF
59672 #define HAVE__ATAN2F 1
59673 _ACEOF
59674
59675 fi
59676 done
59677
59678 fi
59679 fi
59680
59681
59682
59683
59684
59685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59686 $as_echo_n "checking for fabsf declaration... " >&6; }
59687 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59688 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59689 $as_echo_n "(cached) " >&6
59690 else
59691
59692
59693 ac_ext=cpp
59694 ac_cpp='$CXXCPP $CPPFLAGS'
59695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59698
59699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59700 /* end confdefs.h. */
59701 #include <math.h>
59702 #ifdef HAVE_IEEEFP_H
59703 #include <ieeefp.h>
59704 #endif
59705
59706 int
59707 main ()
59708 {
59709 fabsf(0);
59710 ;
59711 return 0;
59712 }
59713 _ACEOF
59714 if ac_fn_cxx_try_compile "$LINENO"; then :
59715 glibcxx_cv_func_fabsf_use=yes
59716 else
59717 glibcxx_cv_func_fabsf_use=no
59718 fi
59719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59720 ac_ext=c
59721 ac_cpp='$CPP $CPPFLAGS'
59722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59725
59726
59727 fi
59728
59729 fi
59730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59731 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59732
59733 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59734 for ac_func in fabsf
59735 do :
59736 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59737 if test "x$ac_cv_func_fabsf" = x""yes; then :
59738 cat >>confdefs.h <<_ACEOF
59739 #define HAVE_FABSF 1
59740 _ACEOF
59741
59742 fi
59743 done
59744
59745 else
59746
59747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59748 $as_echo_n "checking for _fabsf declaration... " >&6; }
59749 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59750 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59751 $as_echo_n "(cached) " >&6
59752 else
59753
59754
59755 ac_ext=cpp
59756 ac_cpp='$CXXCPP $CPPFLAGS'
59757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59760
59761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59762 /* end confdefs.h. */
59763 #include <math.h>
59764 #ifdef HAVE_IEEEFP_H
59765 #include <ieeefp.h>
59766 #endif
59767
59768 int
59769 main ()
59770 {
59771 _fabsf(0);
59772 ;
59773 return 0;
59774 }
59775 _ACEOF
59776 if ac_fn_cxx_try_compile "$LINENO"; then :
59777 glibcxx_cv_func__fabsf_use=yes
59778 else
59779 glibcxx_cv_func__fabsf_use=no
59780 fi
59781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59782 ac_ext=c
59783 ac_cpp='$CPP $CPPFLAGS'
59784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59787
59788
59789 fi
59790
59791 fi
59792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59793 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59794
59795 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59796 for ac_func in _fabsf
59797 do :
59798 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59799 if test "x$ac_cv_func__fabsf" = x""yes; then :
59800 cat >>confdefs.h <<_ACEOF
59801 #define HAVE__FABSF 1
59802 _ACEOF
59803
59804 fi
59805 done
59806
59807 fi
59808 fi
59809
59810
59811
59812
59813
59814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59815 $as_echo_n "checking for fmodf declaration... " >&6; }
59816 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59817 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59818 $as_echo_n "(cached) " >&6
59819 else
59820
59821
59822 ac_ext=cpp
59823 ac_cpp='$CXXCPP $CPPFLAGS'
59824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59827
59828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59829 /* end confdefs.h. */
59830 #include <math.h>
59831 int
59832 main ()
59833 {
59834 fmodf(0, 0);
59835 ;
59836 return 0;
59837 }
59838 _ACEOF
59839 if ac_fn_cxx_try_compile "$LINENO"; then :
59840 glibcxx_cv_func_fmodf_use=yes
59841 else
59842 glibcxx_cv_func_fmodf_use=no
59843 fi
59844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59845 ac_ext=c
59846 ac_cpp='$CPP $CPPFLAGS'
59847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59850
59851
59852 fi
59853
59854 fi
59855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59856 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59857
59858 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59859 for ac_func in fmodf
59860 do :
59861 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59862 if test "x$ac_cv_func_fmodf" = x""yes; then :
59863 cat >>confdefs.h <<_ACEOF
59864 #define HAVE_FMODF 1
59865 _ACEOF
59866
59867 fi
59868 done
59869
59870 else
59871
59872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59873 $as_echo_n "checking for _fmodf declaration... " >&6; }
59874 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59875 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59876 $as_echo_n "(cached) " >&6
59877 else
59878
59879
59880 ac_ext=cpp
59881 ac_cpp='$CXXCPP $CPPFLAGS'
59882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59885
59886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59887 /* end confdefs.h. */
59888 #include <math.h>
59889 int
59890 main ()
59891 {
59892 _fmodf(0, 0);
59893 ;
59894 return 0;
59895 }
59896 _ACEOF
59897 if ac_fn_cxx_try_compile "$LINENO"; then :
59898 glibcxx_cv_func__fmodf_use=yes
59899 else
59900 glibcxx_cv_func__fmodf_use=no
59901 fi
59902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59903 ac_ext=c
59904 ac_cpp='$CPP $CPPFLAGS'
59905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59908
59909
59910 fi
59911
59912 fi
59913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59914 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59915
59916 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59917 for ac_func in _fmodf
59918 do :
59919 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59920 if test "x$ac_cv_func__fmodf" = x""yes; then :
59921 cat >>confdefs.h <<_ACEOF
59922 #define HAVE__FMODF 1
59923 _ACEOF
59924
59925 fi
59926 done
59927
59928 fi
59929 fi
59930
59931
59932
59933
59934
59935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59936 $as_echo_n "checking for frexpf declaration... " >&6; }
59937 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59938 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59939 $as_echo_n "(cached) " >&6
59940 else
59941
59942
59943 ac_ext=cpp
59944 ac_cpp='$CXXCPP $CPPFLAGS'
59945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59948
59949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59950 /* end confdefs.h. */
59951 #include <math.h>
59952 int
59953 main ()
59954 {
59955 frexpf(0, 0);
59956 ;
59957 return 0;
59958 }
59959 _ACEOF
59960 if ac_fn_cxx_try_compile "$LINENO"; then :
59961 glibcxx_cv_func_frexpf_use=yes
59962 else
59963 glibcxx_cv_func_frexpf_use=no
59964 fi
59965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59966 ac_ext=c
59967 ac_cpp='$CPP $CPPFLAGS'
59968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59971
59972
59973 fi
59974
59975 fi
59976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59977 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59978
59979 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59980 for ac_func in frexpf
59981 do :
59982 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59983 if test "x$ac_cv_func_frexpf" = x""yes; then :
59984 cat >>confdefs.h <<_ACEOF
59985 #define HAVE_FREXPF 1
59986 _ACEOF
59987
59988 fi
59989 done
59990
59991 else
59992
59993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59994 $as_echo_n "checking for _frexpf declaration... " >&6; }
59995 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59996 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59997 $as_echo_n "(cached) " >&6
59998 else
59999
60000
60001 ac_ext=cpp
60002 ac_cpp='$CXXCPP $CPPFLAGS'
60003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60006
60007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60008 /* end confdefs.h. */
60009 #include <math.h>
60010 int
60011 main ()
60012 {
60013 _frexpf(0, 0);
60014 ;
60015 return 0;
60016 }
60017 _ACEOF
60018 if ac_fn_cxx_try_compile "$LINENO"; then :
60019 glibcxx_cv_func__frexpf_use=yes
60020 else
60021 glibcxx_cv_func__frexpf_use=no
60022 fi
60023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60024 ac_ext=c
60025 ac_cpp='$CPP $CPPFLAGS'
60026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60029
60030
60031 fi
60032
60033 fi
60034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60035 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60036
60037 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60038 for ac_func in _frexpf
60039 do :
60040 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60041 if test "x$ac_cv_func__frexpf" = x""yes; then :
60042 cat >>confdefs.h <<_ACEOF
60043 #define HAVE__FREXPF 1
60044 _ACEOF
60045
60046 fi
60047 done
60048
60049 fi
60050 fi
60051
60052
60053
60054
60055
60056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60057 $as_echo_n "checking for hypotf declaration... " >&6; }
60058 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60059 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60060 $as_echo_n "(cached) " >&6
60061 else
60062
60063
60064 ac_ext=cpp
60065 ac_cpp='$CXXCPP $CPPFLAGS'
60066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60069
60070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60071 /* end confdefs.h. */
60072 #include <math.h>
60073 int
60074 main ()
60075 {
60076 hypotf(0, 0);
60077 ;
60078 return 0;
60079 }
60080 _ACEOF
60081 if ac_fn_cxx_try_compile "$LINENO"; then :
60082 glibcxx_cv_func_hypotf_use=yes
60083 else
60084 glibcxx_cv_func_hypotf_use=no
60085 fi
60086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60087 ac_ext=c
60088 ac_cpp='$CPP $CPPFLAGS'
60089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60092
60093
60094 fi
60095
60096 fi
60097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60098 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60099
60100 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60101 for ac_func in hypotf
60102 do :
60103 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60104 if test "x$ac_cv_func_hypotf" = x""yes; then :
60105 cat >>confdefs.h <<_ACEOF
60106 #define HAVE_HYPOTF 1
60107 _ACEOF
60108
60109 fi
60110 done
60111
60112 else
60113
60114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60115 $as_echo_n "checking for _hypotf declaration... " >&6; }
60116 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60117 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60118 $as_echo_n "(cached) " >&6
60119 else
60120
60121
60122 ac_ext=cpp
60123 ac_cpp='$CXXCPP $CPPFLAGS'
60124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60127
60128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60129 /* end confdefs.h. */
60130 #include <math.h>
60131 int
60132 main ()
60133 {
60134 _hypotf(0, 0);
60135 ;
60136 return 0;
60137 }
60138 _ACEOF
60139 if ac_fn_cxx_try_compile "$LINENO"; then :
60140 glibcxx_cv_func__hypotf_use=yes
60141 else
60142 glibcxx_cv_func__hypotf_use=no
60143 fi
60144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60145 ac_ext=c
60146 ac_cpp='$CPP $CPPFLAGS'
60147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60150
60151
60152 fi
60153
60154 fi
60155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60156 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60157
60158 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60159 for ac_func in _hypotf
60160 do :
60161 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60162 if test "x$ac_cv_func__hypotf" = x""yes; then :
60163 cat >>confdefs.h <<_ACEOF
60164 #define HAVE__HYPOTF 1
60165 _ACEOF
60166
60167 fi
60168 done
60169
60170 fi
60171 fi
60172
60173
60174
60175
60176
60177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60178 $as_echo_n "checking for ldexpf declaration... " >&6; }
60179 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60180 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60181 $as_echo_n "(cached) " >&6
60182 else
60183
60184
60185 ac_ext=cpp
60186 ac_cpp='$CXXCPP $CPPFLAGS'
60187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60190
60191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60192 /* end confdefs.h. */
60193 #include <math.h>
60194 int
60195 main ()
60196 {
60197 ldexpf(0, 0);
60198 ;
60199 return 0;
60200 }
60201 _ACEOF
60202 if ac_fn_cxx_try_compile "$LINENO"; then :
60203 glibcxx_cv_func_ldexpf_use=yes
60204 else
60205 glibcxx_cv_func_ldexpf_use=no
60206 fi
60207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60208 ac_ext=c
60209 ac_cpp='$CPP $CPPFLAGS'
60210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60213
60214
60215 fi
60216
60217 fi
60218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60219 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60220
60221 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60222 for ac_func in ldexpf
60223 do :
60224 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60225 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60226 cat >>confdefs.h <<_ACEOF
60227 #define HAVE_LDEXPF 1
60228 _ACEOF
60229
60230 fi
60231 done
60232
60233 else
60234
60235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60236 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60237 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60238 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60239 $as_echo_n "(cached) " >&6
60240 else
60241
60242
60243 ac_ext=cpp
60244 ac_cpp='$CXXCPP $CPPFLAGS'
60245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60248
60249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60250 /* end confdefs.h. */
60251 #include <math.h>
60252 int
60253 main ()
60254 {
60255 _ldexpf(0, 0);
60256 ;
60257 return 0;
60258 }
60259 _ACEOF
60260 if ac_fn_cxx_try_compile "$LINENO"; then :
60261 glibcxx_cv_func__ldexpf_use=yes
60262 else
60263 glibcxx_cv_func__ldexpf_use=no
60264 fi
60265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60266 ac_ext=c
60267 ac_cpp='$CPP $CPPFLAGS'
60268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60271
60272
60273 fi
60274
60275 fi
60276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60277 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60278
60279 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60280 for ac_func in _ldexpf
60281 do :
60282 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60283 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60284 cat >>confdefs.h <<_ACEOF
60285 #define HAVE__LDEXPF 1
60286 _ACEOF
60287
60288 fi
60289 done
60290
60291 fi
60292 fi
60293
60294
60295
60296
60297
60298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60299 $as_echo_n "checking for logf declaration... " >&6; }
60300 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60301 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60302 $as_echo_n "(cached) " >&6
60303 else
60304
60305
60306 ac_ext=cpp
60307 ac_cpp='$CXXCPP $CPPFLAGS'
60308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60311
60312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60313 /* end confdefs.h. */
60314 #include <math.h>
60315 #ifdef HAVE_IEEEFP_H
60316 #include <ieeefp.h>
60317 #endif
60318
60319 int
60320 main ()
60321 {
60322 logf(0);
60323 ;
60324 return 0;
60325 }
60326 _ACEOF
60327 if ac_fn_cxx_try_compile "$LINENO"; then :
60328 glibcxx_cv_func_logf_use=yes
60329 else
60330 glibcxx_cv_func_logf_use=no
60331 fi
60332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60333 ac_ext=c
60334 ac_cpp='$CPP $CPPFLAGS'
60335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60338
60339
60340 fi
60341
60342 fi
60343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60344 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60345
60346 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60347 for ac_func in logf
60348 do :
60349 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60350 if test "x$ac_cv_func_logf" = x""yes; then :
60351 cat >>confdefs.h <<_ACEOF
60352 #define HAVE_LOGF 1
60353 _ACEOF
60354
60355 fi
60356 done
60357
60358 else
60359
60360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60361 $as_echo_n "checking for _logf declaration... " >&6; }
60362 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60363 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60364 $as_echo_n "(cached) " >&6
60365 else
60366
60367
60368 ac_ext=cpp
60369 ac_cpp='$CXXCPP $CPPFLAGS'
60370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60373
60374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60375 /* end confdefs.h. */
60376 #include <math.h>
60377 #ifdef HAVE_IEEEFP_H
60378 #include <ieeefp.h>
60379 #endif
60380
60381 int
60382 main ()
60383 {
60384 _logf(0);
60385 ;
60386 return 0;
60387 }
60388 _ACEOF
60389 if ac_fn_cxx_try_compile "$LINENO"; then :
60390 glibcxx_cv_func__logf_use=yes
60391 else
60392 glibcxx_cv_func__logf_use=no
60393 fi
60394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60395 ac_ext=c
60396 ac_cpp='$CPP $CPPFLAGS'
60397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60400
60401
60402 fi
60403
60404 fi
60405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60406 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60407
60408 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60409 for ac_func in _logf
60410 do :
60411 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60412 if test "x$ac_cv_func__logf" = x""yes; then :
60413 cat >>confdefs.h <<_ACEOF
60414 #define HAVE__LOGF 1
60415 _ACEOF
60416
60417 fi
60418 done
60419
60420 fi
60421 fi
60422
60423
60424
60425
60426
60427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60428 $as_echo_n "checking for log10f declaration... " >&6; }
60429 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60430 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60431 $as_echo_n "(cached) " >&6
60432 else
60433
60434
60435 ac_ext=cpp
60436 ac_cpp='$CXXCPP $CPPFLAGS'
60437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60440
60441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60442 /* end confdefs.h. */
60443 #include <math.h>
60444 #ifdef HAVE_IEEEFP_H
60445 #include <ieeefp.h>
60446 #endif
60447
60448 int
60449 main ()
60450 {
60451 log10f(0);
60452 ;
60453 return 0;
60454 }
60455 _ACEOF
60456 if ac_fn_cxx_try_compile "$LINENO"; then :
60457 glibcxx_cv_func_log10f_use=yes
60458 else
60459 glibcxx_cv_func_log10f_use=no
60460 fi
60461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60462 ac_ext=c
60463 ac_cpp='$CPP $CPPFLAGS'
60464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60467
60468
60469 fi
60470
60471 fi
60472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60473 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60474
60475 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60476 for ac_func in log10f
60477 do :
60478 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60479 if test "x$ac_cv_func_log10f" = x""yes; then :
60480 cat >>confdefs.h <<_ACEOF
60481 #define HAVE_LOG10F 1
60482 _ACEOF
60483
60484 fi
60485 done
60486
60487 else
60488
60489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60490 $as_echo_n "checking for _log10f declaration... " >&6; }
60491 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60492 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60493 $as_echo_n "(cached) " >&6
60494 else
60495
60496
60497 ac_ext=cpp
60498 ac_cpp='$CXXCPP $CPPFLAGS'
60499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60502
60503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60504 /* end confdefs.h. */
60505 #include <math.h>
60506 #ifdef HAVE_IEEEFP_H
60507 #include <ieeefp.h>
60508 #endif
60509
60510 int
60511 main ()
60512 {
60513 _log10f(0);
60514 ;
60515 return 0;
60516 }
60517 _ACEOF
60518 if ac_fn_cxx_try_compile "$LINENO"; then :
60519 glibcxx_cv_func__log10f_use=yes
60520 else
60521 glibcxx_cv_func__log10f_use=no
60522 fi
60523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60524 ac_ext=c
60525 ac_cpp='$CPP $CPPFLAGS'
60526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60529
60530
60531 fi
60532
60533 fi
60534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60535 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60536
60537 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60538 for ac_func in _log10f
60539 do :
60540 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60541 if test "x$ac_cv_func__log10f" = x""yes; then :
60542 cat >>confdefs.h <<_ACEOF
60543 #define HAVE__LOG10F 1
60544 _ACEOF
60545
60546 fi
60547 done
60548
60549 fi
60550 fi
60551
60552
60553
60554
60555
60556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60557 $as_echo_n "checking for modff declaration... " >&6; }
60558 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60559 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60560 $as_echo_n "(cached) " >&6
60561 else
60562
60563
60564 ac_ext=cpp
60565 ac_cpp='$CXXCPP $CPPFLAGS'
60566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60569
60570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60571 /* end confdefs.h. */
60572 #include <math.h>
60573 int
60574 main ()
60575 {
60576 modff(0, 0);
60577 ;
60578 return 0;
60579 }
60580 _ACEOF
60581 if ac_fn_cxx_try_compile "$LINENO"; then :
60582 glibcxx_cv_func_modff_use=yes
60583 else
60584 glibcxx_cv_func_modff_use=no
60585 fi
60586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60587 ac_ext=c
60588 ac_cpp='$CPP $CPPFLAGS'
60589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60592
60593
60594 fi
60595
60596 fi
60597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60598 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60599
60600 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60601 for ac_func in modff
60602 do :
60603 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60604 if test "x$ac_cv_func_modff" = x""yes; then :
60605 cat >>confdefs.h <<_ACEOF
60606 #define HAVE_MODFF 1
60607 _ACEOF
60608
60609 fi
60610 done
60611
60612 else
60613
60614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60615 $as_echo_n "checking for _modff declaration... " >&6; }
60616 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60617 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60618 $as_echo_n "(cached) " >&6
60619 else
60620
60621
60622 ac_ext=cpp
60623 ac_cpp='$CXXCPP $CPPFLAGS'
60624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60627
60628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60629 /* end confdefs.h. */
60630 #include <math.h>
60631 int
60632 main ()
60633 {
60634 _modff(0, 0);
60635 ;
60636 return 0;
60637 }
60638 _ACEOF
60639 if ac_fn_cxx_try_compile "$LINENO"; then :
60640 glibcxx_cv_func__modff_use=yes
60641 else
60642 glibcxx_cv_func__modff_use=no
60643 fi
60644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60645 ac_ext=c
60646 ac_cpp='$CPP $CPPFLAGS'
60647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60650
60651
60652 fi
60653
60654 fi
60655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60656 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60657
60658 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60659 for ac_func in _modff
60660 do :
60661 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60662 if test "x$ac_cv_func__modff" = x""yes; then :
60663 cat >>confdefs.h <<_ACEOF
60664 #define HAVE__MODFF 1
60665 _ACEOF
60666
60667 fi
60668 done
60669
60670 fi
60671 fi
60672
60673
60674
60675
60676
60677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60678 $as_echo_n "checking for modf declaration... " >&6; }
60679 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60680 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60681 $as_echo_n "(cached) " >&6
60682 else
60683
60684
60685 ac_ext=cpp
60686 ac_cpp='$CXXCPP $CPPFLAGS'
60687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60690
60691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60692 /* end confdefs.h. */
60693 #include <math.h>
60694 int
60695 main ()
60696 {
60697 modf(0, 0);
60698 ;
60699 return 0;
60700 }
60701 _ACEOF
60702 if ac_fn_cxx_try_compile "$LINENO"; then :
60703 glibcxx_cv_func_modf_use=yes
60704 else
60705 glibcxx_cv_func_modf_use=no
60706 fi
60707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60708 ac_ext=c
60709 ac_cpp='$CPP $CPPFLAGS'
60710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60713
60714
60715 fi
60716
60717 fi
60718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60719 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60720
60721 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60722 for ac_func in modf
60723 do :
60724 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60725 if test "x$ac_cv_func_modf" = x""yes; then :
60726 cat >>confdefs.h <<_ACEOF
60727 #define HAVE_MODF 1
60728 _ACEOF
60729
60730 fi
60731 done
60732
60733 else
60734
60735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60736 $as_echo_n "checking for _modf declaration... " >&6; }
60737 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60738 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60739 $as_echo_n "(cached) " >&6
60740 else
60741
60742
60743 ac_ext=cpp
60744 ac_cpp='$CXXCPP $CPPFLAGS'
60745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60748
60749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60750 /* end confdefs.h. */
60751 #include <math.h>
60752 int
60753 main ()
60754 {
60755 _modf(0, 0);
60756 ;
60757 return 0;
60758 }
60759 _ACEOF
60760 if ac_fn_cxx_try_compile "$LINENO"; then :
60761 glibcxx_cv_func__modf_use=yes
60762 else
60763 glibcxx_cv_func__modf_use=no
60764 fi
60765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60766 ac_ext=c
60767 ac_cpp='$CPP $CPPFLAGS'
60768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60771
60772
60773 fi
60774
60775 fi
60776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60777 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60778
60779 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60780 for ac_func in _modf
60781 do :
60782 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60783 if test "x$ac_cv_func__modf" = x""yes; then :
60784 cat >>confdefs.h <<_ACEOF
60785 #define HAVE__MODF 1
60786 _ACEOF
60787
60788 fi
60789 done
60790
60791 fi
60792 fi
60793
60794
60795
60796
60797
60798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60799 $as_echo_n "checking for powf declaration... " >&6; }
60800 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60801 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60802 $as_echo_n "(cached) " >&6
60803 else
60804
60805
60806 ac_ext=cpp
60807 ac_cpp='$CXXCPP $CPPFLAGS'
60808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60811
60812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60813 /* end confdefs.h. */
60814 #include <math.h>
60815 int
60816 main ()
60817 {
60818 powf(0, 0);
60819 ;
60820 return 0;
60821 }
60822 _ACEOF
60823 if ac_fn_cxx_try_compile "$LINENO"; then :
60824 glibcxx_cv_func_powf_use=yes
60825 else
60826 glibcxx_cv_func_powf_use=no
60827 fi
60828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60829 ac_ext=c
60830 ac_cpp='$CPP $CPPFLAGS'
60831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60834
60835
60836 fi
60837
60838 fi
60839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60840 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60841
60842 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60843 for ac_func in powf
60844 do :
60845 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60846 if test "x$ac_cv_func_powf" = x""yes; then :
60847 cat >>confdefs.h <<_ACEOF
60848 #define HAVE_POWF 1
60849 _ACEOF
60850
60851 fi
60852 done
60853
60854 else
60855
60856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60857 $as_echo_n "checking for _powf declaration... " >&6; }
60858 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60859 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60860 $as_echo_n "(cached) " >&6
60861 else
60862
60863
60864 ac_ext=cpp
60865 ac_cpp='$CXXCPP $CPPFLAGS'
60866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60869
60870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60871 /* end confdefs.h. */
60872 #include <math.h>
60873 int
60874 main ()
60875 {
60876 _powf(0, 0);
60877 ;
60878 return 0;
60879 }
60880 _ACEOF
60881 if ac_fn_cxx_try_compile "$LINENO"; then :
60882 glibcxx_cv_func__powf_use=yes
60883 else
60884 glibcxx_cv_func__powf_use=no
60885 fi
60886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60887 ac_ext=c
60888 ac_cpp='$CPP $CPPFLAGS'
60889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60892
60893
60894 fi
60895
60896 fi
60897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60898 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60899
60900 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60901 for ac_func in _powf
60902 do :
60903 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60904 if test "x$ac_cv_func__powf" = x""yes; then :
60905 cat >>confdefs.h <<_ACEOF
60906 #define HAVE__POWF 1
60907 _ACEOF
60908
60909 fi
60910 done
60911
60912 fi
60913 fi
60914
60915
60916
60917
60918
60919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60920 $as_echo_n "checking for sqrtf declaration... " >&6; }
60921 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60922 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60923 $as_echo_n "(cached) " >&6
60924 else
60925
60926
60927 ac_ext=cpp
60928 ac_cpp='$CXXCPP $CPPFLAGS'
60929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60932
60933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60934 /* end confdefs.h. */
60935 #include <math.h>
60936 #ifdef HAVE_IEEEFP_H
60937 #include <ieeefp.h>
60938 #endif
60939
60940 int
60941 main ()
60942 {
60943 sqrtf(0);
60944 ;
60945 return 0;
60946 }
60947 _ACEOF
60948 if ac_fn_cxx_try_compile "$LINENO"; then :
60949 glibcxx_cv_func_sqrtf_use=yes
60950 else
60951 glibcxx_cv_func_sqrtf_use=no
60952 fi
60953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60954 ac_ext=c
60955 ac_cpp='$CPP $CPPFLAGS'
60956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60959
60960
60961 fi
60962
60963 fi
60964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60965 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60966
60967 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60968 for ac_func in sqrtf
60969 do :
60970 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60971 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60972 cat >>confdefs.h <<_ACEOF
60973 #define HAVE_SQRTF 1
60974 _ACEOF
60975
60976 fi
60977 done
60978
60979 else
60980
60981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60982 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60983 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60984 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60985 $as_echo_n "(cached) " >&6
60986 else
60987
60988
60989 ac_ext=cpp
60990 ac_cpp='$CXXCPP $CPPFLAGS'
60991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60994
60995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60996 /* end confdefs.h. */
60997 #include <math.h>
60998 #ifdef HAVE_IEEEFP_H
60999 #include <ieeefp.h>
61000 #endif
61001
61002 int
61003 main ()
61004 {
61005 _sqrtf(0);
61006 ;
61007 return 0;
61008 }
61009 _ACEOF
61010 if ac_fn_cxx_try_compile "$LINENO"; then :
61011 glibcxx_cv_func__sqrtf_use=yes
61012 else
61013 glibcxx_cv_func__sqrtf_use=no
61014 fi
61015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61016 ac_ext=c
61017 ac_cpp='$CPP $CPPFLAGS'
61018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61021
61022
61023 fi
61024
61025 fi
61026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61027 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61028
61029 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61030 for ac_func in _sqrtf
61031 do :
61032 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61033 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61034 cat >>confdefs.h <<_ACEOF
61035 #define HAVE__SQRTF 1
61036 _ACEOF
61037
61038 fi
61039 done
61040
61041 fi
61042 fi
61043
61044
61045
61046
61047
61048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61049 $as_echo_n "checking for sincosf declaration... " >&6; }
61050 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61051 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61052 $as_echo_n "(cached) " >&6
61053 else
61054
61055
61056 ac_ext=cpp
61057 ac_cpp='$CXXCPP $CPPFLAGS'
61058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61061
61062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61063 /* end confdefs.h. */
61064 #include <math.h>
61065 int
61066 main ()
61067 {
61068 sincosf(0, 0, 0);
61069 ;
61070 return 0;
61071 }
61072 _ACEOF
61073 if ac_fn_cxx_try_compile "$LINENO"; then :
61074 glibcxx_cv_func_sincosf_use=yes
61075 else
61076 glibcxx_cv_func_sincosf_use=no
61077 fi
61078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61079 ac_ext=c
61080 ac_cpp='$CPP $CPPFLAGS'
61081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61084
61085
61086 fi
61087
61088 fi
61089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61090 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61091
61092 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61093 for ac_func in sincosf
61094 do :
61095 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61096 if test "x$ac_cv_func_sincosf" = x""yes; then :
61097 cat >>confdefs.h <<_ACEOF
61098 #define HAVE_SINCOSF 1
61099 _ACEOF
61100
61101 fi
61102 done
61103
61104 else
61105
61106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61107 $as_echo_n "checking for _sincosf declaration... " >&6; }
61108 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61109 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61110 $as_echo_n "(cached) " >&6
61111 else
61112
61113
61114 ac_ext=cpp
61115 ac_cpp='$CXXCPP $CPPFLAGS'
61116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61119
61120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61121 /* end confdefs.h. */
61122 #include <math.h>
61123 int
61124 main ()
61125 {
61126 _sincosf(0, 0, 0);
61127 ;
61128 return 0;
61129 }
61130 _ACEOF
61131 if ac_fn_cxx_try_compile "$LINENO"; then :
61132 glibcxx_cv_func__sincosf_use=yes
61133 else
61134 glibcxx_cv_func__sincosf_use=no
61135 fi
61136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61137 ac_ext=c
61138 ac_cpp='$CPP $CPPFLAGS'
61139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61142
61143
61144 fi
61145
61146 fi
61147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61148 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61149
61150 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61151 for ac_func in _sincosf
61152 do :
61153 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61154 if test "x$ac_cv_func__sincosf" = x""yes; then :
61155 cat >>confdefs.h <<_ACEOF
61156 #define HAVE__SINCOSF 1
61157 _ACEOF
61158
61159 fi
61160 done
61161
61162 fi
61163 fi
61164
61165
61166
61167
61168
61169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61170 $as_echo_n "checking for finitef declaration... " >&6; }
61171 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61172 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61173 $as_echo_n "(cached) " >&6
61174 else
61175
61176
61177 ac_ext=cpp
61178 ac_cpp='$CXXCPP $CPPFLAGS'
61179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61182
61183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61184 /* end confdefs.h. */
61185 #include <math.h>
61186 #ifdef HAVE_IEEEFP_H
61187 #include <ieeefp.h>
61188 #endif
61189
61190 int
61191 main ()
61192 {
61193 finitef(0);
61194 ;
61195 return 0;
61196 }
61197 _ACEOF
61198 if ac_fn_cxx_try_compile "$LINENO"; then :
61199 glibcxx_cv_func_finitef_use=yes
61200 else
61201 glibcxx_cv_func_finitef_use=no
61202 fi
61203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61204 ac_ext=c
61205 ac_cpp='$CPP $CPPFLAGS'
61206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61209
61210
61211 fi
61212
61213 fi
61214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61215 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61216
61217 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61218 for ac_func in finitef
61219 do :
61220 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61221 if test "x$ac_cv_func_finitef" = x""yes; then :
61222 cat >>confdefs.h <<_ACEOF
61223 #define HAVE_FINITEF 1
61224 _ACEOF
61225
61226 fi
61227 done
61228
61229 else
61230
61231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61232 $as_echo_n "checking for _finitef declaration... " >&6; }
61233 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61234 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61235 $as_echo_n "(cached) " >&6
61236 else
61237
61238
61239 ac_ext=cpp
61240 ac_cpp='$CXXCPP $CPPFLAGS'
61241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61244
61245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61246 /* end confdefs.h. */
61247 #include <math.h>
61248 #ifdef HAVE_IEEEFP_H
61249 #include <ieeefp.h>
61250 #endif
61251
61252 int
61253 main ()
61254 {
61255 _finitef(0);
61256 ;
61257 return 0;
61258 }
61259 _ACEOF
61260 if ac_fn_cxx_try_compile "$LINENO"; then :
61261 glibcxx_cv_func__finitef_use=yes
61262 else
61263 glibcxx_cv_func__finitef_use=no
61264 fi
61265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61266 ac_ext=c
61267 ac_cpp='$CPP $CPPFLAGS'
61268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61271
61272
61273 fi
61274
61275 fi
61276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61277 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61278
61279 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61280 for ac_func in _finitef
61281 do :
61282 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61283 if test "x$ac_cv_func__finitef" = x""yes; then :
61284 cat >>confdefs.h <<_ACEOF
61285 #define HAVE__FINITEF 1
61286 _ACEOF
61287
61288 fi
61289 done
61290
61291 fi
61292 fi
61293
61294
61295
61296
61297
61298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61299 $as_echo_n "checking for long double trig functions... " >&6; }
61300 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61301 $as_echo_n "(cached) " >&6
61302 else
61303
61304
61305 ac_ext=cpp
61306 ac_cpp='$CXXCPP $CPPFLAGS'
61307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61310
61311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61312 /* end confdefs.h. */
61313 #include <math.h>
61314 int
61315 main ()
61316 {
61317 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61318 ;
61319 return 0;
61320 }
61321 _ACEOF
61322 if ac_fn_cxx_try_compile "$LINENO"; then :
61323 glibcxx_cv_func_long_double_trig_use=yes
61324 else
61325 glibcxx_cv_func_long_double_trig_use=no
61326 fi
61327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61328 ac_ext=c
61329 ac_cpp='$CPP $CPPFLAGS'
61330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61333
61334 fi
61335
61336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61337 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61338 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61339 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61340 do :
61341 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61342 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61343 eval as_val=\$$as_ac_var
61344 if test "x$as_val" = x""yes; then :
61345 cat >>confdefs.h <<_ACEOF
61346 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61347 _ACEOF
61348
61349 fi
61350 done
61351
61352 else
61353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61354 $as_echo_n "checking for _long double trig functions... " >&6; }
61355 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61356 $as_echo_n "(cached) " >&6
61357 else
61358
61359
61360 ac_ext=cpp
61361 ac_cpp='$CXXCPP $CPPFLAGS'
61362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61365
61366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61367 /* end confdefs.h. */
61368 #include <math.h>
61369 int
61370 main ()
61371 {
61372 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61373 ;
61374 return 0;
61375 }
61376 _ACEOF
61377 if ac_fn_cxx_try_compile "$LINENO"; then :
61378 glibcxx_cv_func__long_double_trig_use=yes
61379 else
61380 glibcxx_cv_func__long_double_trig_use=no
61381 fi
61382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61383 ac_ext=c
61384 ac_cpp='$CPP $CPPFLAGS'
61385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61388
61389 fi
61390
61391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61392 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61393 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61394 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61395 do :
61396 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61397 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61398 eval as_val=\$$as_ac_var
61399 if test "x$as_val" = x""yes; then :
61400 cat >>confdefs.h <<_ACEOF
61401 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61402 _ACEOF
61403
61404 fi
61405 done
61406
61407 fi
61408 fi
61409
61410
61411
61412
61413
61414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61415 $as_echo_n "checking for long double round functions... " >&6; }
61416 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61417 $as_echo_n "(cached) " >&6
61418 else
61419
61420
61421 ac_ext=cpp
61422 ac_cpp='$CXXCPP $CPPFLAGS'
61423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61426
61427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61428 /* end confdefs.h. */
61429 #include <math.h>
61430 int
61431 main ()
61432 {
61433 ceill (0); floorl (0);
61434 ;
61435 return 0;
61436 }
61437 _ACEOF
61438 if ac_fn_cxx_try_compile "$LINENO"; then :
61439 glibcxx_cv_func_long_double_round_use=yes
61440 else
61441 glibcxx_cv_func_long_double_round_use=no
61442 fi
61443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61444 ac_ext=c
61445 ac_cpp='$CPP $CPPFLAGS'
61446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61449
61450 fi
61451
61452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61453 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61454 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61455 for ac_func in ceill floorl
61456 do :
61457 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61458 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61459 eval as_val=\$$as_ac_var
61460 if test "x$as_val" = x""yes; then :
61461 cat >>confdefs.h <<_ACEOF
61462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61463 _ACEOF
61464
61465 fi
61466 done
61467
61468 else
61469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61470 $as_echo_n "checking for _long double round functions... " >&6; }
61471 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61472 $as_echo_n "(cached) " >&6
61473 else
61474
61475
61476 ac_ext=cpp
61477 ac_cpp='$CXXCPP $CPPFLAGS'
61478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61481
61482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61483 /* end confdefs.h. */
61484 #include <math.h>
61485 int
61486 main ()
61487 {
61488 _ceill (0); _floorl (0);
61489 ;
61490 return 0;
61491 }
61492 _ACEOF
61493 if ac_fn_cxx_try_compile "$LINENO"; then :
61494 glibcxx_cv_func__long_double_round_use=yes
61495 else
61496 glibcxx_cv_func__long_double_round_use=no
61497 fi
61498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61499 ac_ext=c
61500 ac_cpp='$CPP $CPPFLAGS'
61501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61504
61505 fi
61506
61507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61508 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61509 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61510 for ac_func in _ceill _floorl
61511 do :
61512 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61513 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61514 eval as_val=\$$as_ac_var
61515 if test "x$as_val" = x""yes; then :
61516 cat >>confdefs.h <<_ACEOF
61517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61518 _ACEOF
61519
61520 fi
61521 done
61522
61523 fi
61524 fi
61525
61526
61527
61528
61529
61530
61531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61532 $as_echo_n "checking for isnanl declaration... " >&6; }
61533 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61534 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61535 $as_echo_n "(cached) " >&6
61536 else
61537
61538
61539 ac_ext=cpp
61540 ac_cpp='$CXXCPP $CPPFLAGS'
61541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61544
61545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61546 /* end confdefs.h. */
61547 #include <math.h>
61548 #ifdef HAVE_IEEEFP_H
61549 #include <ieeefp.h>
61550 #endif
61551
61552 int
61553 main ()
61554 {
61555 isnanl(0);
61556 ;
61557 return 0;
61558 }
61559 _ACEOF
61560 if ac_fn_cxx_try_compile "$LINENO"; then :
61561 glibcxx_cv_func_isnanl_use=yes
61562 else
61563 glibcxx_cv_func_isnanl_use=no
61564 fi
61565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61566 ac_ext=c
61567 ac_cpp='$CPP $CPPFLAGS'
61568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61571
61572
61573 fi
61574
61575 fi
61576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61577 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61578
61579 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61580 for ac_func in isnanl
61581 do :
61582 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61583 if test "x$ac_cv_func_isnanl" = x""yes; then :
61584 cat >>confdefs.h <<_ACEOF
61585 #define HAVE_ISNANL 1
61586 _ACEOF
61587
61588 fi
61589 done
61590
61591 else
61592
61593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61594 $as_echo_n "checking for _isnanl declaration... " >&6; }
61595 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61596 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61597 $as_echo_n "(cached) " >&6
61598 else
61599
61600
61601 ac_ext=cpp
61602 ac_cpp='$CXXCPP $CPPFLAGS'
61603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61606
61607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61608 /* end confdefs.h. */
61609 #include <math.h>
61610 #ifdef HAVE_IEEEFP_H
61611 #include <ieeefp.h>
61612 #endif
61613
61614 int
61615 main ()
61616 {
61617 _isnanl(0);
61618 ;
61619 return 0;
61620 }
61621 _ACEOF
61622 if ac_fn_cxx_try_compile "$LINENO"; then :
61623 glibcxx_cv_func__isnanl_use=yes
61624 else
61625 glibcxx_cv_func__isnanl_use=no
61626 fi
61627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61628 ac_ext=c
61629 ac_cpp='$CPP $CPPFLAGS'
61630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61633
61634
61635 fi
61636
61637 fi
61638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61639 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61640
61641 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61642 for ac_func in _isnanl
61643 do :
61644 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61645 if test "x$ac_cv_func__isnanl" = x""yes; then :
61646 cat >>confdefs.h <<_ACEOF
61647 #define HAVE__ISNANL 1
61648 _ACEOF
61649
61650 fi
61651 done
61652
61653 fi
61654 fi
61655
61656
61657
61658
61659
61660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61661 $as_echo_n "checking for isinfl declaration... " >&6; }
61662 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61663 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61664 $as_echo_n "(cached) " >&6
61665 else
61666
61667
61668 ac_ext=cpp
61669 ac_cpp='$CXXCPP $CPPFLAGS'
61670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61673
61674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61675 /* end confdefs.h. */
61676 #include <math.h>
61677 #ifdef HAVE_IEEEFP_H
61678 #include <ieeefp.h>
61679 #endif
61680
61681 int
61682 main ()
61683 {
61684 isinfl(0);
61685 ;
61686 return 0;
61687 }
61688 _ACEOF
61689 if ac_fn_cxx_try_compile "$LINENO"; then :
61690 glibcxx_cv_func_isinfl_use=yes
61691 else
61692 glibcxx_cv_func_isinfl_use=no
61693 fi
61694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61695 ac_ext=c
61696 ac_cpp='$CPP $CPPFLAGS'
61697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61700
61701
61702 fi
61703
61704 fi
61705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61706 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61707
61708 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61709 for ac_func in isinfl
61710 do :
61711 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61712 if test "x$ac_cv_func_isinfl" = x""yes; then :
61713 cat >>confdefs.h <<_ACEOF
61714 #define HAVE_ISINFL 1
61715 _ACEOF
61716
61717 fi
61718 done
61719
61720 else
61721
61722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61723 $as_echo_n "checking for _isinfl declaration... " >&6; }
61724 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61725 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61726 $as_echo_n "(cached) " >&6
61727 else
61728
61729
61730 ac_ext=cpp
61731 ac_cpp='$CXXCPP $CPPFLAGS'
61732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61735
61736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61737 /* end confdefs.h. */
61738 #include <math.h>
61739 #ifdef HAVE_IEEEFP_H
61740 #include <ieeefp.h>
61741 #endif
61742
61743 int
61744 main ()
61745 {
61746 _isinfl(0);
61747 ;
61748 return 0;
61749 }
61750 _ACEOF
61751 if ac_fn_cxx_try_compile "$LINENO"; then :
61752 glibcxx_cv_func__isinfl_use=yes
61753 else
61754 glibcxx_cv_func__isinfl_use=no
61755 fi
61756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61757 ac_ext=c
61758 ac_cpp='$CPP $CPPFLAGS'
61759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61762
61763
61764 fi
61765
61766 fi
61767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61768 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61769
61770 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61771 for ac_func in _isinfl
61772 do :
61773 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61774 if test "x$ac_cv_func__isinfl" = x""yes; then :
61775 cat >>confdefs.h <<_ACEOF
61776 #define HAVE__ISINFL 1
61777 _ACEOF
61778
61779 fi
61780 done
61781
61782 fi
61783 fi
61784
61785
61786
61787
61788
61789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61790 $as_echo_n "checking for atan2l declaration... " >&6; }
61791 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61792 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61793 $as_echo_n "(cached) " >&6
61794 else
61795
61796
61797 ac_ext=cpp
61798 ac_cpp='$CXXCPP $CPPFLAGS'
61799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61802
61803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61804 /* end confdefs.h. */
61805 #include <math.h>
61806 int
61807 main ()
61808 {
61809 atan2l(0, 0);
61810 ;
61811 return 0;
61812 }
61813 _ACEOF
61814 if ac_fn_cxx_try_compile "$LINENO"; then :
61815 glibcxx_cv_func_atan2l_use=yes
61816 else
61817 glibcxx_cv_func_atan2l_use=no
61818 fi
61819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61820 ac_ext=c
61821 ac_cpp='$CPP $CPPFLAGS'
61822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61825
61826
61827 fi
61828
61829 fi
61830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61831 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61832
61833 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61834 for ac_func in atan2l
61835 do :
61836 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61837 if test "x$ac_cv_func_atan2l" = x""yes; then :
61838 cat >>confdefs.h <<_ACEOF
61839 #define HAVE_ATAN2L 1
61840 _ACEOF
61841
61842 fi
61843 done
61844
61845 else
61846
61847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61848 $as_echo_n "checking for _atan2l declaration... " >&6; }
61849 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61850 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61851 $as_echo_n "(cached) " >&6
61852 else
61853
61854
61855 ac_ext=cpp
61856 ac_cpp='$CXXCPP $CPPFLAGS'
61857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61860
61861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61862 /* end confdefs.h. */
61863 #include <math.h>
61864 int
61865 main ()
61866 {
61867 _atan2l(0, 0);
61868 ;
61869 return 0;
61870 }
61871 _ACEOF
61872 if ac_fn_cxx_try_compile "$LINENO"; then :
61873 glibcxx_cv_func__atan2l_use=yes
61874 else
61875 glibcxx_cv_func__atan2l_use=no
61876 fi
61877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61878 ac_ext=c
61879 ac_cpp='$CPP $CPPFLAGS'
61880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61883
61884
61885 fi
61886
61887 fi
61888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61889 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61890
61891 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61892 for ac_func in _atan2l
61893 do :
61894 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61895 if test "x$ac_cv_func__atan2l" = x""yes; then :
61896 cat >>confdefs.h <<_ACEOF
61897 #define HAVE__ATAN2L 1
61898 _ACEOF
61899
61900 fi
61901 done
61902
61903 fi
61904 fi
61905
61906
61907
61908
61909
61910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61911 $as_echo_n "checking for expl declaration... " >&6; }
61912 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61913 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61914 $as_echo_n "(cached) " >&6
61915 else
61916
61917
61918 ac_ext=cpp
61919 ac_cpp='$CXXCPP $CPPFLAGS'
61920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61923
61924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61925 /* end confdefs.h. */
61926 #include <math.h>
61927 #ifdef HAVE_IEEEFP_H
61928 #include <ieeefp.h>
61929 #endif
61930
61931 int
61932 main ()
61933 {
61934 expl(0);
61935 ;
61936 return 0;
61937 }
61938 _ACEOF
61939 if ac_fn_cxx_try_compile "$LINENO"; then :
61940 glibcxx_cv_func_expl_use=yes
61941 else
61942 glibcxx_cv_func_expl_use=no
61943 fi
61944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61945 ac_ext=c
61946 ac_cpp='$CPP $CPPFLAGS'
61947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61950
61951
61952 fi
61953
61954 fi
61955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61956 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61957
61958 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61959 for ac_func in expl
61960 do :
61961 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61962 if test "x$ac_cv_func_expl" = x""yes; then :
61963 cat >>confdefs.h <<_ACEOF
61964 #define HAVE_EXPL 1
61965 _ACEOF
61966
61967 fi
61968 done
61969
61970 else
61971
61972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61973 $as_echo_n "checking for _expl declaration... " >&6; }
61974 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61975 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61976 $as_echo_n "(cached) " >&6
61977 else
61978
61979
61980 ac_ext=cpp
61981 ac_cpp='$CXXCPP $CPPFLAGS'
61982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61985
61986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61987 /* end confdefs.h. */
61988 #include <math.h>
61989 #ifdef HAVE_IEEEFP_H
61990 #include <ieeefp.h>
61991 #endif
61992
61993 int
61994 main ()
61995 {
61996 _expl(0);
61997 ;
61998 return 0;
61999 }
62000 _ACEOF
62001 if ac_fn_cxx_try_compile "$LINENO"; then :
62002 glibcxx_cv_func__expl_use=yes
62003 else
62004 glibcxx_cv_func__expl_use=no
62005 fi
62006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62007 ac_ext=c
62008 ac_cpp='$CPP $CPPFLAGS'
62009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62012
62013
62014 fi
62015
62016 fi
62017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62018 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62019
62020 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62021 for ac_func in _expl
62022 do :
62023 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62024 if test "x$ac_cv_func__expl" = x""yes; then :
62025 cat >>confdefs.h <<_ACEOF
62026 #define HAVE__EXPL 1
62027 _ACEOF
62028
62029 fi
62030 done
62031
62032 fi
62033 fi
62034
62035
62036
62037
62038
62039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62040 $as_echo_n "checking for fabsl declaration... " >&6; }
62041 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62042 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62043 $as_echo_n "(cached) " >&6
62044 else
62045
62046
62047 ac_ext=cpp
62048 ac_cpp='$CXXCPP $CPPFLAGS'
62049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62052
62053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62054 /* end confdefs.h. */
62055 #include <math.h>
62056 #ifdef HAVE_IEEEFP_H
62057 #include <ieeefp.h>
62058 #endif
62059
62060 int
62061 main ()
62062 {
62063 fabsl(0);
62064 ;
62065 return 0;
62066 }
62067 _ACEOF
62068 if ac_fn_cxx_try_compile "$LINENO"; then :
62069 glibcxx_cv_func_fabsl_use=yes
62070 else
62071 glibcxx_cv_func_fabsl_use=no
62072 fi
62073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62074 ac_ext=c
62075 ac_cpp='$CPP $CPPFLAGS'
62076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62079
62080
62081 fi
62082
62083 fi
62084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62085 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62086
62087 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62088 for ac_func in fabsl
62089 do :
62090 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62091 if test "x$ac_cv_func_fabsl" = x""yes; then :
62092 cat >>confdefs.h <<_ACEOF
62093 #define HAVE_FABSL 1
62094 _ACEOF
62095
62096 fi
62097 done
62098
62099 else
62100
62101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62102 $as_echo_n "checking for _fabsl declaration... " >&6; }
62103 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62104 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62105 $as_echo_n "(cached) " >&6
62106 else
62107
62108
62109 ac_ext=cpp
62110 ac_cpp='$CXXCPP $CPPFLAGS'
62111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62114
62115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62116 /* end confdefs.h. */
62117 #include <math.h>
62118 #ifdef HAVE_IEEEFP_H
62119 #include <ieeefp.h>
62120 #endif
62121
62122 int
62123 main ()
62124 {
62125 _fabsl(0);
62126 ;
62127 return 0;
62128 }
62129 _ACEOF
62130 if ac_fn_cxx_try_compile "$LINENO"; then :
62131 glibcxx_cv_func__fabsl_use=yes
62132 else
62133 glibcxx_cv_func__fabsl_use=no
62134 fi
62135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62136 ac_ext=c
62137 ac_cpp='$CPP $CPPFLAGS'
62138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62141
62142
62143 fi
62144
62145 fi
62146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62147 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62148
62149 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62150 for ac_func in _fabsl
62151 do :
62152 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62153 if test "x$ac_cv_func__fabsl" = x""yes; then :
62154 cat >>confdefs.h <<_ACEOF
62155 #define HAVE__FABSL 1
62156 _ACEOF
62157
62158 fi
62159 done
62160
62161 fi
62162 fi
62163
62164
62165
62166
62167
62168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62169 $as_echo_n "checking for fmodl declaration... " >&6; }
62170 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62171 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62172 $as_echo_n "(cached) " >&6
62173 else
62174
62175
62176 ac_ext=cpp
62177 ac_cpp='$CXXCPP $CPPFLAGS'
62178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62181
62182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62183 /* end confdefs.h. */
62184 #include <math.h>
62185 int
62186 main ()
62187 {
62188 fmodl(0, 0);
62189 ;
62190 return 0;
62191 }
62192 _ACEOF
62193 if ac_fn_cxx_try_compile "$LINENO"; then :
62194 glibcxx_cv_func_fmodl_use=yes
62195 else
62196 glibcxx_cv_func_fmodl_use=no
62197 fi
62198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62199 ac_ext=c
62200 ac_cpp='$CPP $CPPFLAGS'
62201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62204
62205
62206 fi
62207
62208 fi
62209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62210 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62211
62212 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62213 for ac_func in fmodl
62214 do :
62215 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62216 if test "x$ac_cv_func_fmodl" = x""yes; then :
62217 cat >>confdefs.h <<_ACEOF
62218 #define HAVE_FMODL 1
62219 _ACEOF
62220
62221 fi
62222 done
62223
62224 else
62225
62226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62227 $as_echo_n "checking for _fmodl declaration... " >&6; }
62228 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62229 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62230 $as_echo_n "(cached) " >&6
62231 else
62232
62233
62234 ac_ext=cpp
62235 ac_cpp='$CXXCPP $CPPFLAGS'
62236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62239
62240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62241 /* end confdefs.h. */
62242 #include <math.h>
62243 int
62244 main ()
62245 {
62246 _fmodl(0, 0);
62247 ;
62248 return 0;
62249 }
62250 _ACEOF
62251 if ac_fn_cxx_try_compile "$LINENO"; then :
62252 glibcxx_cv_func__fmodl_use=yes
62253 else
62254 glibcxx_cv_func__fmodl_use=no
62255 fi
62256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62257 ac_ext=c
62258 ac_cpp='$CPP $CPPFLAGS'
62259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62262
62263
62264 fi
62265
62266 fi
62267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62268 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62269
62270 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62271 for ac_func in _fmodl
62272 do :
62273 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62274 if test "x$ac_cv_func__fmodl" = x""yes; then :
62275 cat >>confdefs.h <<_ACEOF
62276 #define HAVE__FMODL 1
62277 _ACEOF
62278
62279 fi
62280 done
62281
62282 fi
62283 fi
62284
62285
62286
62287
62288
62289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62290 $as_echo_n "checking for frexpl declaration... " >&6; }
62291 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62292 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62293 $as_echo_n "(cached) " >&6
62294 else
62295
62296
62297 ac_ext=cpp
62298 ac_cpp='$CXXCPP $CPPFLAGS'
62299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62302
62303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62304 /* end confdefs.h. */
62305 #include <math.h>
62306 int
62307 main ()
62308 {
62309 frexpl(0, 0);
62310 ;
62311 return 0;
62312 }
62313 _ACEOF
62314 if ac_fn_cxx_try_compile "$LINENO"; then :
62315 glibcxx_cv_func_frexpl_use=yes
62316 else
62317 glibcxx_cv_func_frexpl_use=no
62318 fi
62319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62320 ac_ext=c
62321 ac_cpp='$CPP $CPPFLAGS'
62322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62325
62326
62327 fi
62328
62329 fi
62330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62331 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62332
62333 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62334 for ac_func in frexpl
62335 do :
62336 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62337 if test "x$ac_cv_func_frexpl" = x""yes; then :
62338 cat >>confdefs.h <<_ACEOF
62339 #define HAVE_FREXPL 1
62340 _ACEOF
62341
62342 fi
62343 done
62344
62345 else
62346
62347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62348 $as_echo_n "checking for _frexpl declaration... " >&6; }
62349 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62350 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62351 $as_echo_n "(cached) " >&6
62352 else
62353
62354
62355 ac_ext=cpp
62356 ac_cpp='$CXXCPP $CPPFLAGS'
62357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62360
62361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62362 /* end confdefs.h. */
62363 #include <math.h>
62364 int
62365 main ()
62366 {
62367 _frexpl(0, 0);
62368 ;
62369 return 0;
62370 }
62371 _ACEOF
62372 if ac_fn_cxx_try_compile "$LINENO"; then :
62373 glibcxx_cv_func__frexpl_use=yes
62374 else
62375 glibcxx_cv_func__frexpl_use=no
62376 fi
62377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62378 ac_ext=c
62379 ac_cpp='$CPP $CPPFLAGS'
62380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62383
62384
62385 fi
62386
62387 fi
62388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62389 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62390
62391 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62392 for ac_func in _frexpl
62393 do :
62394 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62395 if test "x$ac_cv_func__frexpl" = x""yes; then :
62396 cat >>confdefs.h <<_ACEOF
62397 #define HAVE__FREXPL 1
62398 _ACEOF
62399
62400 fi
62401 done
62402
62403 fi
62404 fi
62405
62406
62407
62408
62409
62410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62411 $as_echo_n "checking for hypotl declaration... " >&6; }
62412 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62413 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62414 $as_echo_n "(cached) " >&6
62415 else
62416
62417
62418 ac_ext=cpp
62419 ac_cpp='$CXXCPP $CPPFLAGS'
62420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62423
62424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62425 /* end confdefs.h. */
62426 #include <math.h>
62427 int
62428 main ()
62429 {
62430 hypotl(0, 0);
62431 ;
62432 return 0;
62433 }
62434 _ACEOF
62435 if ac_fn_cxx_try_compile "$LINENO"; then :
62436 glibcxx_cv_func_hypotl_use=yes
62437 else
62438 glibcxx_cv_func_hypotl_use=no
62439 fi
62440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62441 ac_ext=c
62442 ac_cpp='$CPP $CPPFLAGS'
62443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62446
62447
62448 fi
62449
62450 fi
62451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62452 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62453
62454 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62455 for ac_func in hypotl
62456 do :
62457 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62458 if test "x$ac_cv_func_hypotl" = x""yes; then :
62459 cat >>confdefs.h <<_ACEOF
62460 #define HAVE_HYPOTL 1
62461 _ACEOF
62462
62463 fi
62464 done
62465
62466 else
62467
62468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62469 $as_echo_n "checking for _hypotl declaration... " >&6; }
62470 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62471 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62472 $as_echo_n "(cached) " >&6
62473 else
62474
62475
62476 ac_ext=cpp
62477 ac_cpp='$CXXCPP $CPPFLAGS'
62478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62481
62482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62483 /* end confdefs.h. */
62484 #include <math.h>
62485 int
62486 main ()
62487 {
62488 _hypotl(0, 0);
62489 ;
62490 return 0;
62491 }
62492 _ACEOF
62493 if ac_fn_cxx_try_compile "$LINENO"; then :
62494 glibcxx_cv_func__hypotl_use=yes
62495 else
62496 glibcxx_cv_func__hypotl_use=no
62497 fi
62498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62499 ac_ext=c
62500 ac_cpp='$CPP $CPPFLAGS'
62501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62504
62505
62506 fi
62507
62508 fi
62509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62510 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62511
62512 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62513 for ac_func in _hypotl
62514 do :
62515 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62516 if test "x$ac_cv_func__hypotl" = x""yes; then :
62517 cat >>confdefs.h <<_ACEOF
62518 #define HAVE__HYPOTL 1
62519 _ACEOF
62520
62521 fi
62522 done
62523
62524 fi
62525 fi
62526
62527
62528
62529
62530
62531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62532 $as_echo_n "checking for ldexpl declaration... " >&6; }
62533 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62534 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62535 $as_echo_n "(cached) " >&6
62536 else
62537
62538
62539 ac_ext=cpp
62540 ac_cpp='$CXXCPP $CPPFLAGS'
62541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62544
62545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62546 /* end confdefs.h. */
62547 #include <math.h>
62548 int
62549 main ()
62550 {
62551 ldexpl(0, 0);
62552 ;
62553 return 0;
62554 }
62555 _ACEOF
62556 if ac_fn_cxx_try_compile "$LINENO"; then :
62557 glibcxx_cv_func_ldexpl_use=yes
62558 else
62559 glibcxx_cv_func_ldexpl_use=no
62560 fi
62561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62562 ac_ext=c
62563 ac_cpp='$CPP $CPPFLAGS'
62564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62567
62568
62569 fi
62570
62571 fi
62572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62573 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62574
62575 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62576 for ac_func in ldexpl
62577 do :
62578 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62579 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62580 cat >>confdefs.h <<_ACEOF
62581 #define HAVE_LDEXPL 1
62582 _ACEOF
62583
62584 fi
62585 done
62586
62587 else
62588
62589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62590 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62591 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62592 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62593 $as_echo_n "(cached) " >&6
62594 else
62595
62596
62597 ac_ext=cpp
62598 ac_cpp='$CXXCPP $CPPFLAGS'
62599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62602
62603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62604 /* end confdefs.h. */
62605 #include <math.h>
62606 int
62607 main ()
62608 {
62609 _ldexpl(0, 0);
62610 ;
62611 return 0;
62612 }
62613 _ACEOF
62614 if ac_fn_cxx_try_compile "$LINENO"; then :
62615 glibcxx_cv_func__ldexpl_use=yes
62616 else
62617 glibcxx_cv_func__ldexpl_use=no
62618 fi
62619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62620 ac_ext=c
62621 ac_cpp='$CPP $CPPFLAGS'
62622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62625
62626
62627 fi
62628
62629 fi
62630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62631 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62632
62633 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62634 for ac_func in _ldexpl
62635 do :
62636 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62637 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62638 cat >>confdefs.h <<_ACEOF
62639 #define HAVE__LDEXPL 1
62640 _ACEOF
62641
62642 fi
62643 done
62644
62645 fi
62646 fi
62647
62648
62649
62650
62651
62652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62653 $as_echo_n "checking for logl declaration... " >&6; }
62654 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62655 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62656 $as_echo_n "(cached) " >&6
62657 else
62658
62659
62660 ac_ext=cpp
62661 ac_cpp='$CXXCPP $CPPFLAGS'
62662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62665
62666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62667 /* end confdefs.h. */
62668 #include <math.h>
62669 #ifdef HAVE_IEEEFP_H
62670 #include <ieeefp.h>
62671 #endif
62672
62673 int
62674 main ()
62675 {
62676 logl(0);
62677 ;
62678 return 0;
62679 }
62680 _ACEOF
62681 if ac_fn_cxx_try_compile "$LINENO"; then :
62682 glibcxx_cv_func_logl_use=yes
62683 else
62684 glibcxx_cv_func_logl_use=no
62685 fi
62686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62687 ac_ext=c
62688 ac_cpp='$CPP $CPPFLAGS'
62689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62692
62693
62694 fi
62695
62696 fi
62697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62698 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62699
62700 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62701 for ac_func in logl
62702 do :
62703 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62704 if test "x$ac_cv_func_logl" = x""yes; then :
62705 cat >>confdefs.h <<_ACEOF
62706 #define HAVE_LOGL 1
62707 _ACEOF
62708
62709 fi
62710 done
62711
62712 else
62713
62714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62715 $as_echo_n "checking for _logl declaration... " >&6; }
62716 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62717 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62718 $as_echo_n "(cached) " >&6
62719 else
62720
62721
62722 ac_ext=cpp
62723 ac_cpp='$CXXCPP $CPPFLAGS'
62724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62727
62728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62729 /* end confdefs.h. */
62730 #include <math.h>
62731 #ifdef HAVE_IEEEFP_H
62732 #include <ieeefp.h>
62733 #endif
62734
62735 int
62736 main ()
62737 {
62738 _logl(0);
62739 ;
62740 return 0;
62741 }
62742 _ACEOF
62743 if ac_fn_cxx_try_compile "$LINENO"; then :
62744 glibcxx_cv_func__logl_use=yes
62745 else
62746 glibcxx_cv_func__logl_use=no
62747 fi
62748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62749 ac_ext=c
62750 ac_cpp='$CPP $CPPFLAGS'
62751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62754
62755
62756 fi
62757
62758 fi
62759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62760 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62761
62762 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62763 for ac_func in _logl
62764 do :
62765 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62766 if test "x$ac_cv_func__logl" = x""yes; then :
62767 cat >>confdefs.h <<_ACEOF
62768 #define HAVE__LOGL 1
62769 _ACEOF
62770
62771 fi
62772 done
62773
62774 fi
62775 fi
62776
62777
62778
62779
62780
62781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62782 $as_echo_n "checking for log10l declaration... " >&6; }
62783 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62784 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62785 $as_echo_n "(cached) " >&6
62786 else
62787
62788
62789 ac_ext=cpp
62790 ac_cpp='$CXXCPP $CPPFLAGS'
62791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62794
62795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62796 /* end confdefs.h. */
62797 #include <math.h>
62798 #ifdef HAVE_IEEEFP_H
62799 #include <ieeefp.h>
62800 #endif
62801
62802 int
62803 main ()
62804 {
62805 log10l(0);
62806 ;
62807 return 0;
62808 }
62809 _ACEOF
62810 if ac_fn_cxx_try_compile "$LINENO"; then :
62811 glibcxx_cv_func_log10l_use=yes
62812 else
62813 glibcxx_cv_func_log10l_use=no
62814 fi
62815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62816 ac_ext=c
62817 ac_cpp='$CPP $CPPFLAGS'
62818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62821
62822
62823 fi
62824
62825 fi
62826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62827 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62828
62829 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62830 for ac_func in log10l
62831 do :
62832 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62833 if test "x$ac_cv_func_log10l" = x""yes; then :
62834 cat >>confdefs.h <<_ACEOF
62835 #define HAVE_LOG10L 1
62836 _ACEOF
62837
62838 fi
62839 done
62840
62841 else
62842
62843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62844 $as_echo_n "checking for _log10l declaration... " >&6; }
62845 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62846 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62847 $as_echo_n "(cached) " >&6
62848 else
62849
62850
62851 ac_ext=cpp
62852 ac_cpp='$CXXCPP $CPPFLAGS'
62853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62856
62857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62858 /* end confdefs.h. */
62859 #include <math.h>
62860 #ifdef HAVE_IEEEFP_H
62861 #include <ieeefp.h>
62862 #endif
62863
62864 int
62865 main ()
62866 {
62867 _log10l(0);
62868 ;
62869 return 0;
62870 }
62871 _ACEOF
62872 if ac_fn_cxx_try_compile "$LINENO"; then :
62873 glibcxx_cv_func__log10l_use=yes
62874 else
62875 glibcxx_cv_func__log10l_use=no
62876 fi
62877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62878 ac_ext=c
62879 ac_cpp='$CPP $CPPFLAGS'
62880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62883
62884
62885 fi
62886
62887 fi
62888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62889 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62890
62891 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62892 for ac_func in _log10l
62893 do :
62894 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62895 if test "x$ac_cv_func__log10l" = x""yes; then :
62896 cat >>confdefs.h <<_ACEOF
62897 #define HAVE__LOG10L 1
62898 _ACEOF
62899
62900 fi
62901 done
62902
62903 fi
62904 fi
62905
62906
62907
62908
62909
62910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62911 $as_echo_n "checking for modfl declaration... " >&6; }
62912 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62913 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62914 $as_echo_n "(cached) " >&6
62915 else
62916
62917
62918 ac_ext=cpp
62919 ac_cpp='$CXXCPP $CPPFLAGS'
62920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62923
62924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62925 /* end confdefs.h. */
62926 #include <math.h>
62927 int
62928 main ()
62929 {
62930 modfl(0, 0);
62931 ;
62932 return 0;
62933 }
62934 _ACEOF
62935 if ac_fn_cxx_try_compile "$LINENO"; then :
62936 glibcxx_cv_func_modfl_use=yes
62937 else
62938 glibcxx_cv_func_modfl_use=no
62939 fi
62940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62941 ac_ext=c
62942 ac_cpp='$CPP $CPPFLAGS'
62943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62946
62947
62948 fi
62949
62950 fi
62951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62952 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62953
62954 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62955 for ac_func in modfl
62956 do :
62957 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62958 if test "x$ac_cv_func_modfl" = x""yes; then :
62959 cat >>confdefs.h <<_ACEOF
62960 #define HAVE_MODFL 1
62961 _ACEOF
62962
62963 fi
62964 done
62965
62966 else
62967
62968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62969 $as_echo_n "checking for _modfl declaration... " >&6; }
62970 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62971 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62972 $as_echo_n "(cached) " >&6
62973 else
62974
62975
62976 ac_ext=cpp
62977 ac_cpp='$CXXCPP $CPPFLAGS'
62978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62981
62982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62983 /* end confdefs.h. */
62984 #include <math.h>
62985 int
62986 main ()
62987 {
62988 _modfl(0, 0);
62989 ;
62990 return 0;
62991 }
62992 _ACEOF
62993 if ac_fn_cxx_try_compile "$LINENO"; then :
62994 glibcxx_cv_func__modfl_use=yes
62995 else
62996 glibcxx_cv_func__modfl_use=no
62997 fi
62998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62999 ac_ext=c
63000 ac_cpp='$CPP $CPPFLAGS'
63001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63004
63005
63006 fi
63007
63008 fi
63009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63010 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63011
63012 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63013 for ac_func in _modfl
63014 do :
63015 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63016 if test "x$ac_cv_func__modfl" = x""yes; then :
63017 cat >>confdefs.h <<_ACEOF
63018 #define HAVE__MODFL 1
63019 _ACEOF
63020
63021 fi
63022 done
63023
63024 fi
63025 fi
63026
63027
63028
63029
63030
63031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63032 $as_echo_n "checking for powl declaration... " >&6; }
63033 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63034 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63035 $as_echo_n "(cached) " >&6
63036 else
63037
63038
63039 ac_ext=cpp
63040 ac_cpp='$CXXCPP $CPPFLAGS'
63041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63044
63045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63046 /* end confdefs.h. */
63047 #include <math.h>
63048 int
63049 main ()
63050 {
63051 powl(0, 0);
63052 ;
63053 return 0;
63054 }
63055 _ACEOF
63056 if ac_fn_cxx_try_compile "$LINENO"; then :
63057 glibcxx_cv_func_powl_use=yes
63058 else
63059 glibcxx_cv_func_powl_use=no
63060 fi
63061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63062 ac_ext=c
63063 ac_cpp='$CPP $CPPFLAGS'
63064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63067
63068
63069 fi
63070
63071 fi
63072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63073 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63074
63075 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63076 for ac_func in powl
63077 do :
63078 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63079 if test "x$ac_cv_func_powl" = x""yes; then :
63080 cat >>confdefs.h <<_ACEOF
63081 #define HAVE_POWL 1
63082 _ACEOF
63083
63084 fi
63085 done
63086
63087 else
63088
63089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63090 $as_echo_n "checking for _powl declaration... " >&6; }
63091 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63092 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63093 $as_echo_n "(cached) " >&6
63094 else
63095
63096
63097 ac_ext=cpp
63098 ac_cpp='$CXXCPP $CPPFLAGS'
63099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63102
63103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63104 /* end confdefs.h. */
63105 #include <math.h>
63106 int
63107 main ()
63108 {
63109 _powl(0, 0);
63110 ;
63111 return 0;
63112 }
63113 _ACEOF
63114 if ac_fn_cxx_try_compile "$LINENO"; then :
63115 glibcxx_cv_func__powl_use=yes
63116 else
63117 glibcxx_cv_func__powl_use=no
63118 fi
63119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63120 ac_ext=c
63121 ac_cpp='$CPP $CPPFLAGS'
63122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63125
63126
63127 fi
63128
63129 fi
63130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63131 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63132
63133 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63134 for ac_func in _powl
63135 do :
63136 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63137 if test "x$ac_cv_func__powl" = x""yes; then :
63138 cat >>confdefs.h <<_ACEOF
63139 #define HAVE__POWL 1
63140 _ACEOF
63141
63142 fi
63143 done
63144
63145 fi
63146 fi
63147
63148
63149
63150
63151
63152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63153 $as_echo_n "checking for sqrtl declaration... " >&6; }
63154 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63155 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63156 $as_echo_n "(cached) " >&6
63157 else
63158
63159
63160 ac_ext=cpp
63161 ac_cpp='$CXXCPP $CPPFLAGS'
63162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63165
63166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63167 /* end confdefs.h. */
63168 #include <math.h>
63169 #ifdef HAVE_IEEEFP_H
63170 #include <ieeefp.h>
63171 #endif
63172
63173 int
63174 main ()
63175 {
63176 sqrtl(0);
63177 ;
63178 return 0;
63179 }
63180 _ACEOF
63181 if ac_fn_cxx_try_compile "$LINENO"; then :
63182 glibcxx_cv_func_sqrtl_use=yes
63183 else
63184 glibcxx_cv_func_sqrtl_use=no
63185 fi
63186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63187 ac_ext=c
63188 ac_cpp='$CPP $CPPFLAGS'
63189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63192
63193
63194 fi
63195
63196 fi
63197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63198 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63199
63200 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63201 for ac_func in sqrtl
63202 do :
63203 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63204 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63205 cat >>confdefs.h <<_ACEOF
63206 #define HAVE_SQRTL 1
63207 _ACEOF
63208
63209 fi
63210 done
63211
63212 else
63213
63214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63215 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63216 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63217 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63218 $as_echo_n "(cached) " >&6
63219 else
63220
63221
63222 ac_ext=cpp
63223 ac_cpp='$CXXCPP $CPPFLAGS'
63224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63227
63228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63229 /* end confdefs.h. */
63230 #include <math.h>
63231 #ifdef HAVE_IEEEFP_H
63232 #include <ieeefp.h>
63233 #endif
63234
63235 int
63236 main ()
63237 {
63238 _sqrtl(0);
63239 ;
63240 return 0;
63241 }
63242 _ACEOF
63243 if ac_fn_cxx_try_compile "$LINENO"; then :
63244 glibcxx_cv_func__sqrtl_use=yes
63245 else
63246 glibcxx_cv_func__sqrtl_use=no
63247 fi
63248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63249 ac_ext=c
63250 ac_cpp='$CPP $CPPFLAGS'
63251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63254
63255
63256 fi
63257
63258 fi
63259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63260 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63261
63262 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63263 for ac_func in _sqrtl
63264 do :
63265 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63266 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63267 cat >>confdefs.h <<_ACEOF
63268 #define HAVE__SQRTL 1
63269 _ACEOF
63270
63271 fi
63272 done
63273
63274 fi
63275 fi
63276
63277
63278
63279
63280
63281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63282 $as_echo_n "checking for sincosl declaration... " >&6; }
63283 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63284 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63285 $as_echo_n "(cached) " >&6
63286 else
63287
63288
63289 ac_ext=cpp
63290 ac_cpp='$CXXCPP $CPPFLAGS'
63291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63294
63295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63296 /* end confdefs.h. */
63297 #include <math.h>
63298 int
63299 main ()
63300 {
63301 sincosl(0, 0, 0);
63302 ;
63303 return 0;
63304 }
63305 _ACEOF
63306 if ac_fn_cxx_try_compile "$LINENO"; then :
63307 glibcxx_cv_func_sincosl_use=yes
63308 else
63309 glibcxx_cv_func_sincosl_use=no
63310 fi
63311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63312 ac_ext=c
63313 ac_cpp='$CPP $CPPFLAGS'
63314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63317
63318
63319 fi
63320
63321 fi
63322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63323 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63324
63325 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63326 for ac_func in sincosl
63327 do :
63328 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63329 if test "x$ac_cv_func_sincosl" = x""yes; then :
63330 cat >>confdefs.h <<_ACEOF
63331 #define HAVE_SINCOSL 1
63332 _ACEOF
63333
63334 fi
63335 done
63336
63337 else
63338
63339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63340 $as_echo_n "checking for _sincosl declaration... " >&6; }
63341 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63342 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63343 $as_echo_n "(cached) " >&6
63344 else
63345
63346
63347 ac_ext=cpp
63348 ac_cpp='$CXXCPP $CPPFLAGS'
63349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63352
63353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63354 /* end confdefs.h. */
63355 #include <math.h>
63356 int
63357 main ()
63358 {
63359 _sincosl(0, 0, 0);
63360 ;
63361 return 0;
63362 }
63363 _ACEOF
63364 if ac_fn_cxx_try_compile "$LINENO"; then :
63365 glibcxx_cv_func__sincosl_use=yes
63366 else
63367 glibcxx_cv_func__sincosl_use=no
63368 fi
63369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63370 ac_ext=c
63371 ac_cpp='$CPP $CPPFLAGS'
63372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63375
63376
63377 fi
63378
63379 fi
63380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63381 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63382
63383 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63384 for ac_func in _sincosl
63385 do :
63386 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63387 if test "x$ac_cv_func__sincosl" = x""yes; then :
63388 cat >>confdefs.h <<_ACEOF
63389 #define HAVE__SINCOSL 1
63390 _ACEOF
63391
63392 fi
63393 done
63394
63395 fi
63396 fi
63397
63398
63399
63400
63401
63402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63403 $as_echo_n "checking for finitel declaration... " >&6; }
63404 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63405 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63406 $as_echo_n "(cached) " >&6
63407 else
63408
63409
63410 ac_ext=cpp
63411 ac_cpp='$CXXCPP $CPPFLAGS'
63412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63415
63416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63417 /* end confdefs.h. */
63418 #include <math.h>
63419 #ifdef HAVE_IEEEFP_H
63420 #include <ieeefp.h>
63421 #endif
63422
63423 int
63424 main ()
63425 {
63426 finitel(0);
63427 ;
63428 return 0;
63429 }
63430 _ACEOF
63431 if ac_fn_cxx_try_compile "$LINENO"; then :
63432 glibcxx_cv_func_finitel_use=yes
63433 else
63434 glibcxx_cv_func_finitel_use=no
63435 fi
63436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63437 ac_ext=c
63438 ac_cpp='$CPP $CPPFLAGS'
63439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63442
63443
63444 fi
63445
63446 fi
63447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63448 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63449
63450 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63451 for ac_func in finitel
63452 do :
63453 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63454 if test "x$ac_cv_func_finitel" = x""yes; then :
63455 cat >>confdefs.h <<_ACEOF
63456 #define HAVE_FINITEL 1
63457 _ACEOF
63458
63459 fi
63460 done
63461
63462 else
63463
63464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63465 $as_echo_n "checking for _finitel declaration... " >&6; }
63466 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63467 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63468 $as_echo_n "(cached) " >&6
63469 else
63470
63471
63472 ac_ext=cpp
63473 ac_cpp='$CXXCPP $CPPFLAGS'
63474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63477
63478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63479 /* end confdefs.h. */
63480 #include <math.h>
63481 #ifdef HAVE_IEEEFP_H
63482 #include <ieeefp.h>
63483 #endif
63484
63485 int
63486 main ()
63487 {
63488 _finitel(0);
63489 ;
63490 return 0;
63491 }
63492 _ACEOF
63493 if ac_fn_cxx_try_compile "$LINENO"; then :
63494 glibcxx_cv_func__finitel_use=yes
63495 else
63496 glibcxx_cv_func__finitel_use=no
63497 fi
63498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63499 ac_ext=c
63500 ac_cpp='$CPP $CPPFLAGS'
63501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63504
63505
63506 fi
63507
63508 fi
63509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63510 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63511
63512 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63513 for ac_func in _finitel
63514 do :
63515 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63516 if test "x$ac_cv_func__finitel" = x""yes; then :
63517 cat >>confdefs.h <<_ACEOF
63518 #define HAVE__FINITEL 1
63519 _ACEOF
63520
63521 fi
63522 done
63523
63524 fi
63525 fi
63526
63527
63528
63529
63530 LIBS="$ac_save_LIBS"
63531 CXXFLAGS="$ac_save_CXXFLAGS"
63532
63533
63534 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63535 ac_save_CXXFLAGS="$CXXFLAGS"
63536 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63537
63538
63539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63540 $as_echo_n "checking for strtold declaration... " >&6; }
63541 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63542 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63543 $as_echo_n "(cached) " >&6
63544 else
63545
63546
63547 ac_ext=cpp
63548 ac_cpp='$CXXCPP $CPPFLAGS'
63549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63552
63553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63554 /* end confdefs.h. */
63555 #include <stdlib.h>
63556 int
63557 main ()
63558 {
63559 strtold(0, 0);
63560 ;
63561 return 0;
63562 }
63563 _ACEOF
63564 if ac_fn_cxx_try_compile "$LINENO"; then :
63565 glibcxx_cv_func_strtold_use=yes
63566 else
63567 glibcxx_cv_func_strtold_use=no
63568 fi
63569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63570 ac_ext=c
63571 ac_cpp='$CPP $CPPFLAGS'
63572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63575
63576
63577 fi
63578
63579 fi
63580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63581 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63582 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63583 for ac_func in strtold
63584 do :
63585 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63586 if test "x$ac_cv_func_strtold" = x""yes; then :
63587 cat >>confdefs.h <<_ACEOF
63588 #define HAVE_STRTOLD 1
63589 _ACEOF
63590
63591 fi
63592 done
63593
63594 fi
63595
63596
63597
63598
63599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63600 $as_echo_n "checking for strtof declaration... " >&6; }
63601 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63602 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63603 $as_echo_n "(cached) " >&6
63604 else
63605
63606
63607 ac_ext=cpp
63608 ac_cpp='$CXXCPP $CPPFLAGS'
63609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63612
63613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63614 /* end confdefs.h. */
63615 #include <stdlib.h>
63616 int
63617 main ()
63618 {
63619 strtof(0, 0);
63620 ;
63621 return 0;
63622 }
63623 _ACEOF
63624 if ac_fn_cxx_try_compile "$LINENO"; then :
63625 glibcxx_cv_func_strtof_use=yes
63626 else
63627 glibcxx_cv_func_strtof_use=no
63628 fi
63629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63630 ac_ext=c
63631 ac_cpp='$CPP $CPPFLAGS'
63632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63635
63636
63637 fi
63638
63639 fi
63640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63641 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63642 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63643 for ac_func in strtof
63644 do :
63645 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63646 if test "x$ac_cv_func_strtof" = x""yes; then :
63647 cat >>confdefs.h <<_ACEOF
63648 #define HAVE_STRTOF 1
63649 _ACEOF
63650
63651 fi
63652 done
63653
63654 fi
63655
63656
63657
63658
63659 CXXFLAGS="$ac_save_CXXFLAGS"
63660
63661 ;;
63662 *-solaris*)
63663 case "$target" in
63664 *-solaris2.9 | *-solaris2.10)
63665
63666 # If we're not using GNU ld, then there's no point in even trying these
63667 # tests. Check for that first. We should have already tested for gld
63668 # by now (in libtool), but require it now just to be safe...
63669 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63670 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63671
63672
63673
63674 # The name set by libtool depends on the version of libtool. Shame on us
63675 # for depending on an impl detail, but c'est la vie. Older versions used
63676 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63677 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63678 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63679 # set (hence we're using an older libtool), then set it.
63680 if test x${with_gnu_ld+set} != xset; then
63681 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63682 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63683 with_gnu_ld=no
63684 else
63685 with_gnu_ld=$ac_cv_prog_gnu_ld
63686 fi
63687 fi
63688
63689 # Start by getting the version number. I think the libtool test already
63690 # does some of this, but throws away the result.
63691 glibcxx_ld_is_gold=no
63692 if test x"$with_gnu_ld" = x"yes"; then
63693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63694 $as_echo_n "checking for ld version... " >&6; }
63695
63696 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63697 glibcxx_ld_is_gold=yes
63698 fi
63699 ldver=`$LD --version 2>/dev/null |
63700 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'`
63701
63702 glibcxx_gnu_ld_version=`echo $ldver | \
63703 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63705 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63706 fi
63707
63708 # Set --gc-sections.
63709 glibcxx_have_gc_sections=no
63710 if test "$glibcxx_ld_is_gold" = "yes"; then
63711 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63712 glibcxx_have_gc_sections=yes
63713 fi
63714 else
63715 glibcxx_gcsections_min_ld=21602
63716 if test x"$with_gnu_ld" = x"yes" &&
63717 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63718 glibcxx_have_gc_sections=yes
63719 fi
63720 fi
63721 if test "$glibcxx_have_gc_sections" = "yes"; then
63722 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63723 # NB: This flag only works reliably after 2.16.1. Configure tests
63724 # for this are difficult, so hard wire a value that should work.
63725
63726 ac_test_CFLAGS="${CFLAGS+set}"
63727 ac_save_CFLAGS="$CFLAGS"
63728 CFLAGS='-Wl,--gc-sections'
63729
63730 # Check for -Wl,--gc-sections
63731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63732 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63733 if test x$gcc_no_link = xyes; then
63734 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63735 fi
63736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63737 /* end confdefs.h. */
63738 int one(void) { return 1; }
63739 int two(void) { return 2; }
63740
63741 int
63742 main ()
63743 {
63744 two();
63745 ;
63746 return 0;
63747 }
63748 _ACEOF
63749 if ac_fn_c_try_link "$LINENO"; then :
63750 ac_gcsections=yes
63751 else
63752 ac_gcsections=no
63753 fi
63754 rm -f core conftest.err conftest.$ac_objext \
63755 conftest$ac_exeext conftest.$ac_ext
63756 if test "$ac_gcsections" = "yes"; then
63757 rm -f conftest.c
63758 touch conftest.c
63759 if $CC -c conftest.c; then
63760 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63761 grep "Warning: gc-sections option ignored" > /dev/null; then
63762 ac_gcsections=no
63763 fi
63764 fi
63765 rm -f conftest.c conftest.o conftest
63766 fi
63767 if test "$ac_gcsections" = "yes"; then
63768 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63769 fi
63770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63771 $as_echo "$ac_gcsections" >&6; }
63772
63773 if test "$ac_test_CFLAGS" = set; then
63774 CFLAGS="$ac_save_CFLAGS"
63775 else
63776 # this is the suspicious part
63777 CFLAGS=''
63778 fi
63779 fi
63780
63781 # Set -z,relro.
63782 # Note this is only for shared objects.
63783 ac_ld_relro=no
63784 if test x"$with_gnu_ld" = x"yes"; then
63785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63786 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63787 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63788 if test -n "$cxx_z_relo"; then
63789 OPT_LDFLAGS="-Wl,-z,relro"
63790 ac_ld_relro=yes
63791 fi
63792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63793 $as_echo "$ac_ld_relro" >&6; }
63794 fi
63795
63796 # Set linker optimization flags.
63797 if test x"$with_gnu_ld" = x"yes"; then
63798 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63799 fi
63800
63801
63802
63803
63804 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63805
63806 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63807
63808 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63809
63810 # All of the dependencies for wide character support are here, so
63811 # turn it on.
63812 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63813
63814 ;;
63815 esac
63816 case "$target" in
63817 *-*-solaris2.10)
63818 # These two C99 functions are present only in Solaris >= 10
63819 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63820
63821 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63822
63823 ;;
63824 esac
63825 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63826
63827 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63828
63829 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63830
63831 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63832
63833 ;;
63834 *-tpf)
63835 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63836 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
63837
63838 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63839
63840 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63841
63842 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63843
63844 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63845
63846 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63847
63848 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63849
63850 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63851
63852 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63853
63854 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63855
63856 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63857
63858 if test x"long_double_math_on_this_cpu" = x"yes"; then
63859 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63860
63861 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63862
63863 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63864
63865 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63866
63867 fi
63868 ;;
63869 *-*vms*)
63870 # Check for available headers.
63871 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
63872
63873 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63874 ac_save_CXXFLAGS="$CXXFLAGS"
63875 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63876
63877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
63878 $as_echo_n "checking for sin in -lm... " >&6; }
63879 if test "${ac_cv_lib_m_sin+set}" = set; then :
63880 $as_echo_n "(cached) " >&6
63881 else
63882 ac_check_lib_save_LIBS=$LIBS
63883 LIBS="-lm $LIBS"
63884 if test x$gcc_no_link = xyes; then
63885 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63886 fi
63887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63888 /* end confdefs.h. */
63889
63890 /* Override any GCC internal prototype to avoid an error.
63891 Use char because int might match the return type of a GCC
63892 builtin and then its argument prototype would still apply. */
63893 #ifdef __cplusplus
63894 extern "C"
63895 #endif
63896 char sin ();
63897 int
63898 main ()
63899 {
63900 return sin ();
63901 ;
63902 return 0;
63903 }
63904 _ACEOF
63905 if ac_fn_c_try_link "$LINENO"; then :
63906 ac_cv_lib_m_sin=yes
63907 else
63908 ac_cv_lib_m_sin=no
63909 fi
63910 rm -f core conftest.err conftest.$ac_objext \
63911 conftest$ac_exeext conftest.$ac_ext
63912 LIBS=$ac_check_lib_save_LIBS
63913 fi
63914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
63915 $as_echo "$ac_cv_lib_m_sin" >&6; }
63916 if test "x$ac_cv_lib_m_sin" = x""yes; then :
63917 libm="-lm"
63918 fi
63919
63920 ac_save_LIBS="$LIBS"
63921 LIBS="$LIBS $libm"
63922
63923
63924
63925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
63926 $as_echo_n "checking for isinf declaration... " >&6; }
63927 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
63928 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
63929 $as_echo_n "(cached) " >&6
63930 else
63931
63932
63933 ac_ext=cpp
63934 ac_cpp='$CXXCPP $CPPFLAGS'
63935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63938
63939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63940 /* end confdefs.h. */
63941 #include <math.h>
63942 #ifdef HAVE_IEEEFP_H
63943 #include <ieeefp.h>
63944 #endif
63945
63946 int
63947 main ()
63948 {
63949 isinf(0);
63950 ;
63951 return 0;
63952 }
63953 _ACEOF
63954 if ac_fn_cxx_try_compile "$LINENO"; then :
63955 glibcxx_cv_func_isinf_use=yes
63956 else
63957 glibcxx_cv_func_isinf_use=no
63958 fi
63959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63960 ac_ext=c
63961 ac_cpp='$CPP $CPPFLAGS'
63962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63965
63966
63967 fi
63968
63969 fi
63970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
63971 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
63972
63973 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
63974 for ac_func in isinf
63975 do :
63976 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
63977 if test "x$ac_cv_func_isinf" = x""yes; then :
63978 cat >>confdefs.h <<_ACEOF
63979 #define HAVE_ISINF 1
63980 _ACEOF
63981
63982 fi
63983 done
63984
63985 else
63986
63987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
63988 $as_echo_n "checking for _isinf declaration... " >&6; }
63989 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
63990 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
63991 $as_echo_n "(cached) " >&6
63992 else
63993
63994
63995 ac_ext=cpp
63996 ac_cpp='$CXXCPP $CPPFLAGS'
63997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64000
64001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64002 /* end confdefs.h. */
64003 #include <math.h>
64004 #ifdef HAVE_IEEEFP_H
64005 #include <ieeefp.h>
64006 #endif
64007
64008 int
64009 main ()
64010 {
64011 _isinf(0);
64012 ;
64013 return 0;
64014 }
64015 _ACEOF
64016 if ac_fn_cxx_try_compile "$LINENO"; then :
64017 glibcxx_cv_func__isinf_use=yes
64018 else
64019 glibcxx_cv_func__isinf_use=no
64020 fi
64021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64022 ac_ext=c
64023 ac_cpp='$CPP $CPPFLAGS'
64024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64027
64028
64029 fi
64030
64031 fi
64032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
64033 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
64034
64035 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64036 for ac_func in _isinf
64037 do :
64038 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
64039 if test "x$ac_cv_func__isinf" = x""yes; then :
64040 cat >>confdefs.h <<_ACEOF
64041 #define HAVE__ISINF 1
64042 _ACEOF
64043
64044 fi
64045 done
64046
64047 fi
64048 fi
64049
64050
64051
64052
64053
64054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
64055 $as_echo_n "checking for isnan declaration... " >&6; }
64056 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64057 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
64058 $as_echo_n "(cached) " >&6
64059 else
64060
64061
64062 ac_ext=cpp
64063 ac_cpp='$CXXCPP $CPPFLAGS'
64064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64067
64068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64069 /* end confdefs.h. */
64070 #include <math.h>
64071 #ifdef HAVE_IEEEFP_H
64072 #include <ieeefp.h>
64073 #endif
64074
64075 int
64076 main ()
64077 {
64078 isnan(0);
64079 ;
64080 return 0;
64081 }
64082 _ACEOF
64083 if ac_fn_cxx_try_compile "$LINENO"; then :
64084 glibcxx_cv_func_isnan_use=yes
64085 else
64086 glibcxx_cv_func_isnan_use=no
64087 fi
64088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64089 ac_ext=c
64090 ac_cpp='$CPP $CPPFLAGS'
64091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64094
64095
64096 fi
64097
64098 fi
64099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
64100 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
64101
64102 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64103 for ac_func in isnan
64104 do :
64105 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
64106 if test "x$ac_cv_func_isnan" = x""yes; then :
64107 cat >>confdefs.h <<_ACEOF
64108 #define HAVE_ISNAN 1
64109 _ACEOF
64110
64111 fi
64112 done
64113
64114 else
64115
64116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
64117 $as_echo_n "checking for _isnan declaration... " >&6; }
64118 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64119 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
64120 $as_echo_n "(cached) " >&6
64121 else
64122
64123
64124 ac_ext=cpp
64125 ac_cpp='$CXXCPP $CPPFLAGS'
64126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64129
64130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64131 /* end confdefs.h. */
64132 #include <math.h>
64133 #ifdef HAVE_IEEEFP_H
64134 #include <ieeefp.h>
64135 #endif
64136
64137 int
64138 main ()
64139 {
64140 _isnan(0);
64141 ;
64142 return 0;
64143 }
64144 _ACEOF
64145 if ac_fn_cxx_try_compile "$LINENO"; then :
64146 glibcxx_cv_func__isnan_use=yes
64147 else
64148 glibcxx_cv_func__isnan_use=no
64149 fi
64150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64151 ac_ext=c
64152 ac_cpp='$CPP $CPPFLAGS'
64153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64156
64157
64158 fi
64159
64160 fi
64161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
64162 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
64163
64164 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64165 for ac_func in _isnan
64166 do :
64167 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
64168 if test "x$ac_cv_func__isnan" = x""yes; then :
64169 cat >>confdefs.h <<_ACEOF
64170 #define HAVE__ISNAN 1
64171 _ACEOF
64172
64173 fi
64174 done
64175
64176 fi
64177 fi
64178
64179
64180
64181
64182
64183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
64184 $as_echo_n "checking for finite declaration... " >&6; }
64185 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64186 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
64187 $as_echo_n "(cached) " >&6
64188 else
64189
64190
64191 ac_ext=cpp
64192 ac_cpp='$CXXCPP $CPPFLAGS'
64193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64196
64197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64198 /* end confdefs.h. */
64199 #include <math.h>
64200 #ifdef HAVE_IEEEFP_H
64201 #include <ieeefp.h>
64202 #endif
64203
64204 int
64205 main ()
64206 {
64207 finite(0);
64208 ;
64209 return 0;
64210 }
64211 _ACEOF
64212 if ac_fn_cxx_try_compile "$LINENO"; then :
64213 glibcxx_cv_func_finite_use=yes
64214 else
64215 glibcxx_cv_func_finite_use=no
64216 fi
64217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64218 ac_ext=c
64219 ac_cpp='$CPP $CPPFLAGS'
64220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64223
64224
64225 fi
64226
64227 fi
64228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
64229 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
64230
64231 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64232 for ac_func in finite
64233 do :
64234 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
64235 if test "x$ac_cv_func_finite" = x""yes; then :
64236 cat >>confdefs.h <<_ACEOF
64237 #define HAVE_FINITE 1
64238 _ACEOF
64239
64240 fi
64241 done
64242
64243 else
64244
64245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
64246 $as_echo_n "checking for _finite declaration... " >&6; }
64247 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64248 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
64249 $as_echo_n "(cached) " >&6
64250 else
64251
64252
64253 ac_ext=cpp
64254 ac_cpp='$CXXCPP $CPPFLAGS'
64255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64258
64259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64260 /* end confdefs.h. */
64261 #include <math.h>
64262 #ifdef HAVE_IEEEFP_H
64263 #include <ieeefp.h>
64264 #endif
64265
64266 int
64267 main ()
64268 {
64269 _finite(0);
64270 ;
64271 return 0;
64272 }
64273 _ACEOF
64274 if ac_fn_cxx_try_compile "$LINENO"; then :
64275 glibcxx_cv_func__finite_use=yes
64276 else
64277 glibcxx_cv_func__finite_use=no
64278 fi
64279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64280 ac_ext=c
64281 ac_cpp='$CPP $CPPFLAGS'
64282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64285
64286
64287 fi
64288
64289 fi
64290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
64291 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
64292
64293 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64294 for ac_func in _finite
64295 do :
64296 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
64297 if test "x$ac_cv_func__finite" = x""yes; then :
64298 cat >>confdefs.h <<_ACEOF
64299 #define HAVE__FINITE 1
64300 _ACEOF
64301
64302 fi
64303 done
64304
64305 fi
64306 fi
64307
64308
64309
64310
64311
64312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
64313 $as_echo_n "checking for sincos declaration... " >&6; }
64314 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
64315 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
64316 $as_echo_n "(cached) " >&6
64317 else
64318
64319
64320 ac_ext=cpp
64321 ac_cpp='$CXXCPP $CPPFLAGS'
64322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64325
64326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64327 /* end confdefs.h. */
64328 #include <math.h>
64329 int
64330 main ()
64331 {
64332 sincos(0, 0, 0);
64333 ;
64334 return 0;
64335 }
64336 _ACEOF
64337 if ac_fn_cxx_try_compile "$LINENO"; then :
64338 glibcxx_cv_func_sincos_use=yes
64339 else
64340 glibcxx_cv_func_sincos_use=no
64341 fi
64342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64343 ac_ext=c
64344 ac_cpp='$CPP $CPPFLAGS'
64345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64348
64349
64350 fi
64351
64352 fi
64353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
64354 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
64355
64356 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
64357 for ac_func in sincos
64358 do :
64359 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
64360 if test "x$ac_cv_func_sincos" = x""yes; then :
64361 cat >>confdefs.h <<_ACEOF
64362 #define HAVE_SINCOS 1
64363 _ACEOF
64364
64365 fi
64366 done
64367
64368 else
64369
64370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
64371 $as_echo_n "checking for _sincos declaration... " >&6; }
64372 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
64373 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
64374 $as_echo_n "(cached) " >&6
64375 else
64376
64377
64378 ac_ext=cpp
64379 ac_cpp='$CXXCPP $CPPFLAGS'
64380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64383
64384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64385 /* end confdefs.h. */
64386 #include <math.h>
64387 int
64388 main ()
64389 {
64390 _sincos(0, 0, 0);
64391 ;
64392 return 0;
64393 }
64394 _ACEOF
64395 if ac_fn_cxx_try_compile "$LINENO"; then :
64396 glibcxx_cv_func__sincos_use=yes
64397 else
64398 glibcxx_cv_func__sincos_use=no
64399 fi
64400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64401 ac_ext=c
64402 ac_cpp='$CPP $CPPFLAGS'
64403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64406
64407
64408 fi
64409
64410 fi
64411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
64412 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
64413
64414 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
64415 for ac_func in _sincos
64416 do :
64417 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
64418 if test "x$ac_cv_func__sincos" = x""yes; then :
64419 cat >>confdefs.h <<_ACEOF
64420 #define HAVE__SINCOS 1
64421 _ACEOF
64422
64423 fi
64424 done
64425
64426 fi
64427 fi
64428
64429
64430
64431
64432
64433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
64434 $as_echo_n "checking for fpclass declaration... " >&6; }
64435 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
64436 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
64437 $as_echo_n "(cached) " >&6
64438 else
64439
64440
64441 ac_ext=cpp
64442 ac_cpp='$CXXCPP $CPPFLAGS'
64443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64446
64447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64448 /* end confdefs.h. */
64449 #include <math.h>
64450 #ifdef HAVE_IEEEFP_H
64451 #include <ieeefp.h>
64452 #endif
64453
64454 int
64455 main ()
64456 {
64457 fpclass(0);
64458 ;
64459 return 0;
64460 }
64461 _ACEOF
64462 if ac_fn_cxx_try_compile "$LINENO"; then :
64463 glibcxx_cv_func_fpclass_use=yes
64464 else
64465 glibcxx_cv_func_fpclass_use=no
64466 fi
64467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64468 ac_ext=c
64469 ac_cpp='$CPP $CPPFLAGS'
64470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64473
64474
64475 fi
64476
64477 fi
64478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
64479 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
64480
64481 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
64482 for ac_func in fpclass
64483 do :
64484 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
64485 if test "x$ac_cv_func_fpclass" = x""yes; then :
64486 cat >>confdefs.h <<_ACEOF
64487 #define HAVE_FPCLASS 1
64488 _ACEOF
64489
64490 fi
64491 done
64492
64493 else
64494
64495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
64496 $as_echo_n "checking for _fpclass declaration... " >&6; }
64497 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
64498 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
64499 $as_echo_n "(cached) " >&6
64500 else
64501
64502
64503 ac_ext=cpp
64504 ac_cpp='$CXXCPP $CPPFLAGS'
64505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64508
64509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64510 /* end confdefs.h. */
64511 #include <math.h>
64512 #ifdef HAVE_IEEEFP_H
64513 #include <ieeefp.h>
64514 #endif
64515
64516 int
64517 main ()
64518 {
64519 _fpclass(0);
64520 ;
64521 return 0;
64522 }
64523 _ACEOF
64524 if ac_fn_cxx_try_compile "$LINENO"; then :
64525 glibcxx_cv_func__fpclass_use=yes
64526 else
64527 glibcxx_cv_func__fpclass_use=no
64528 fi
64529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64530 ac_ext=c
64531 ac_cpp='$CPP $CPPFLAGS'
64532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64535
64536
64537 fi
64538
64539 fi
64540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
64541 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
64542
64543 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
64544 for ac_func in _fpclass
64545 do :
64546 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
64547 if test "x$ac_cv_func__fpclass" = x""yes; then :
64548 cat >>confdefs.h <<_ACEOF
64549 #define HAVE__FPCLASS 1
64550 _ACEOF
64551
64552 fi
64553 done
64554
64555 fi
64556 fi
64557
64558
64559
64560
64561
64562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
64563 $as_echo_n "checking for qfpclass declaration... " >&6; }
64564 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
64565 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
64566 $as_echo_n "(cached) " >&6
64567 else
64568
64569
64570 ac_ext=cpp
64571 ac_cpp='$CXXCPP $CPPFLAGS'
64572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64575
64576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64577 /* end confdefs.h. */
64578 #include <math.h>
64579 #ifdef HAVE_IEEEFP_H
64580 #include <ieeefp.h>
64581 #endif
64582
64583 int
64584 main ()
64585 {
64586 qfpclass(0);
64587 ;
64588 return 0;
64589 }
64590 _ACEOF
64591 if ac_fn_cxx_try_compile "$LINENO"; then :
64592 glibcxx_cv_func_qfpclass_use=yes
64593 else
64594 glibcxx_cv_func_qfpclass_use=no
64595 fi
64596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64597 ac_ext=c
64598 ac_cpp='$CPP $CPPFLAGS'
64599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64602
64603
64604 fi
64605
64606 fi
64607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
64608 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
64609
64610 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
64611 for ac_func in qfpclass
64612 do :
64613 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
64614 if test "x$ac_cv_func_qfpclass" = x""yes; then :
64615 cat >>confdefs.h <<_ACEOF
64616 #define HAVE_QFPCLASS 1
64617 _ACEOF
64618
64619 fi
64620 done
64621
64622 else
64623
64624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
64625 $as_echo_n "checking for _qfpclass declaration... " >&6; }
64626 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64627 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
64628 $as_echo_n "(cached) " >&6
64629 else
64630
64631
64632 ac_ext=cpp
64633 ac_cpp='$CXXCPP $CPPFLAGS'
64634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64637
64638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64639 /* end confdefs.h. */
64640 #include <math.h>
64641 #ifdef HAVE_IEEEFP_H
64642 #include <ieeefp.h>
64643 #endif
64644
64645 int
64646 main ()
64647 {
64648 _qfpclass(0);
64649 ;
64650 return 0;
64651 }
64652 _ACEOF
64653 if ac_fn_cxx_try_compile "$LINENO"; then :
64654 glibcxx_cv_func__qfpclass_use=yes
64655 else
64656 glibcxx_cv_func__qfpclass_use=no
64657 fi
64658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64659 ac_ext=c
64660 ac_cpp='$CPP $CPPFLAGS'
64661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64664
64665
64666 fi
64667
64668 fi
64669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
64670 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
64671
64672 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64673 for ac_func in _qfpclass
64674 do :
64675 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
64676 if test "x$ac_cv_func__qfpclass" = x""yes; then :
64677 cat >>confdefs.h <<_ACEOF
64678 #define HAVE__QFPCLASS 1
64679 _ACEOF
64680
64681 fi
64682 done
64683
64684 fi
64685 fi
64686
64687
64688
64689
64690
64691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
64692 $as_echo_n "checking for hypot declaration... " >&6; }
64693 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64694 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
64695 $as_echo_n "(cached) " >&6
64696 else
64697
64698
64699 ac_ext=cpp
64700 ac_cpp='$CXXCPP $CPPFLAGS'
64701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64704
64705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64706 /* end confdefs.h. */
64707 #include <math.h>
64708 int
64709 main ()
64710 {
64711 hypot(0, 0);
64712 ;
64713 return 0;
64714 }
64715 _ACEOF
64716 if ac_fn_cxx_try_compile "$LINENO"; then :
64717 glibcxx_cv_func_hypot_use=yes
64718 else
64719 glibcxx_cv_func_hypot_use=no
64720 fi
64721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64722 ac_ext=c
64723 ac_cpp='$CPP $CPPFLAGS'
64724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64727
64728
64729 fi
64730
64731 fi
64732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
64733 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
64734
64735 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64736 for ac_func in hypot
64737 do :
64738 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
64739 if test "x$ac_cv_func_hypot" = x""yes; then :
64740 cat >>confdefs.h <<_ACEOF
64741 #define HAVE_HYPOT 1
64742 _ACEOF
64743
64744 fi
64745 done
64746
64747 else
64748
64749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
64750 $as_echo_n "checking for _hypot declaration... " >&6; }
64751 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64752 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
64753 $as_echo_n "(cached) " >&6
64754 else
64755
64756
64757 ac_ext=cpp
64758 ac_cpp='$CXXCPP $CPPFLAGS'
64759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64762
64763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64764 /* end confdefs.h. */
64765 #include <math.h>
64766 int
64767 main ()
64768 {
64769 _hypot(0, 0);
64770 ;
64771 return 0;
64772 }
64773 _ACEOF
64774 if ac_fn_cxx_try_compile "$LINENO"; then :
64775 glibcxx_cv_func__hypot_use=yes
64776 else
64777 glibcxx_cv_func__hypot_use=no
64778 fi
64779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64780 ac_ext=c
64781 ac_cpp='$CPP $CPPFLAGS'
64782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64785
64786
64787 fi
64788
64789 fi
64790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
64791 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
64792
64793 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64794 for ac_func in _hypot
64795 do :
64796 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
64797 if test "x$ac_cv_func__hypot" = x""yes; then :
64798 cat >>confdefs.h <<_ACEOF
64799 #define HAVE__HYPOT 1
64800 _ACEOF
64801
64802 fi
64803 done
64804
64805 fi
64806 fi
64807
64808
64809
64810
64811
64812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
64813 $as_echo_n "checking for float trig functions... " >&6; }
64814 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
64815 $as_echo_n "(cached) " >&6
64816 else
64817
64818
64819 ac_ext=cpp
64820 ac_cpp='$CXXCPP $CPPFLAGS'
64821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64824
64825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64826 /* end confdefs.h. */
64827 #include <math.h>
64828 int
64829 main ()
64830 {
64831 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64832 ;
64833 return 0;
64834 }
64835 _ACEOF
64836 if ac_fn_cxx_try_compile "$LINENO"; then :
64837 glibcxx_cv_func_float_trig_use=yes
64838 else
64839 glibcxx_cv_func_float_trig_use=no
64840 fi
64841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64842 ac_ext=c
64843 ac_cpp='$CPP $CPPFLAGS'
64844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64847
64848 fi
64849
64850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
64851 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
64852 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64853 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64854 do :
64855 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64856 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64857 eval as_val=\$$as_ac_var
64858 if test "x$as_val" = x""yes; then :
64859 cat >>confdefs.h <<_ACEOF
64860 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64861 _ACEOF
64862
64863 fi
64864 done
64865
64866 else
64867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
64868 $as_echo_n "checking for _float trig functions... " >&6; }
64869 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
64870 $as_echo_n "(cached) " >&6
64871 else
64872
64873
64874 ac_ext=cpp
64875 ac_cpp='$CXXCPP $CPPFLAGS'
64876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64879
64880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64881 /* end confdefs.h. */
64882 #include <math.h>
64883 int
64884 main ()
64885 {
64886 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64887 ;
64888 return 0;
64889 }
64890 _ACEOF
64891 if ac_fn_cxx_try_compile "$LINENO"; then :
64892 glibcxx_cv_func__float_trig_use=yes
64893 else
64894 glibcxx_cv_func__float_trig_use=no
64895 fi
64896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64897 ac_ext=c
64898 ac_cpp='$CPP $CPPFLAGS'
64899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64902
64903 fi
64904
64905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
64906 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
64907 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
64908 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
64909 do :
64910 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64911 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64912 eval as_val=\$$as_ac_var
64913 if test "x$as_val" = x""yes; then :
64914 cat >>confdefs.h <<_ACEOF
64915 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64916 _ACEOF
64917
64918 fi
64919 done
64920
64921 fi
64922 fi
64923
64924
64925
64926
64927
64928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
64929 $as_echo_n "checking for float round functions... " >&6; }
64930 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
64931 $as_echo_n "(cached) " >&6
64932 else
64933
64934
64935 ac_ext=cpp
64936 ac_cpp='$CXXCPP $CPPFLAGS'
64937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64940
64941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64942 /* end confdefs.h. */
64943 #include <math.h>
64944 int
64945 main ()
64946 {
64947 ceilf (0); floorf (0);
64948 ;
64949 return 0;
64950 }
64951 _ACEOF
64952 if ac_fn_cxx_try_compile "$LINENO"; then :
64953 glibcxx_cv_func_float_round_use=yes
64954 else
64955 glibcxx_cv_func_float_round_use=no
64956 fi
64957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64958 ac_ext=c
64959 ac_cpp='$CPP $CPPFLAGS'
64960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64963
64964 fi
64965
64966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
64967 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
64968 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
64969 for ac_func in ceilf floorf
64970 do :
64971 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64972 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64973 eval as_val=\$$as_ac_var
64974 if test "x$as_val" = x""yes; then :
64975 cat >>confdefs.h <<_ACEOF
64976 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64977 _ACEOF
64978
64979 fi
64980 done
64981
64982 else
64983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
64984 $as_echo_n "checking for _float round functions... " >&6; }
64985 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
64986 $as_echo_n "(cached) " >&6
64987 else
64988
64989
64990 ac_ext=cpp
64991 ac_cpp='$CXXCPP $CPPFLAGS'
64992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64995
64996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64997 /* end confdefs.h. */
64998 #include <math.h>
64999 int
65000 main ()
65001 {
65002 _ceilf (0); _floorf (0);
65003 ;
65004 return 0;
65005 }
65006 _ACEOF
65007 if ac_fn_cxx_try_compile "$LINENO"; then :
65008 glibcxx_cv_func__float_round_use=yes
65009 else
65010 glibcxx_cv_func__float_round_use=no
65011 fi
65012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65013 ac_ext=c
65014 ac_cpp='$CPP $CPPFLAGS'
65015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65018
65019 fi
65020
65021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
65022 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
65023 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
65024 for ac_func in _ceilf _floorf
65025 do :
65026 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65027 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65028 eval as_val=\$$as_ac_var
65029 if test "x$as_val" = x""yes; then :
65030 cat >>confdefs.h <<_ACEOF
65031 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65032 _ACEOF
65033
65034 fi
65035 done
65036
65037 fi
65038 fi
65039
65040
65041
65042
65043
65044
65045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
65046 $as_echo_n "checking for expf declaration... " >&6; }
65047 if test x${glibcxx_cv_func_expf_use+set} != xset; then
65048 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
65049 $as_echo_n "(cached) " >&6
65050 else
65051
65052
65053 ac_ext=cpp
65054 ac_cpp='$CXXCPP $CPPFLAGS'
65055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65058
65059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65060 /* end confdefs.h. */
65061 #include <math.h>
65062 #ifdef HAVE_IEEEFP_H
65063 #include <ieeefp.h>
65064 #endif
65065
65066 int
65067 main ()
65068 {
65069 expf(0);
65070 ;
65071 return 0;
65072 }
65073 _ACEOF
65074 if ac_fn_cxx_try_compile "$LINENO"; then :
65075 glibcxx_cv_func_expf_use=yes
65076 else
65077 glibcxx_cv_func_expf_use=no
65078 fi
65079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65080 ac_ext=c
65081 ac_cpp='$CPP $CPPFLAGS'
65082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65085
65086
65087 fi
65088
65089 fi
65090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
65091 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
65092
65093 if test x$glibcxx_cv_func_expf_use = x"yes"; then
65094 for ac_func in expf
65095 do :
65096 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
65097 if test "x$ac_cv_func_expf" = x""yes; then :
65098 cat >>confdefs.h <<_ACEOF
65099 #define HAVE_EXPF 1
65100 _ACEOF
65101
65102 fi
65103 done
65104
65105 else
65106
65107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
65108 $as_echo_n "checking for _expf declaration... " >&6; }
65109 if test x${glibcxx_cv_func__expf_use+set} != xset; then
65110 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
65111 $as_echo_n "(cached) " >&6
65112 else
65113
65114
65115 ac_ext=cpp
65116 ac_cpp='$CXXCPP $CPPFLAGS'
65117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65120
65121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65122 /* end confdefs.h. */
65123 #include <math.h>
65124 #ifdef HAVE_IEEEFP_H
65125 #include <ieeefp.h>
65126 #endif
65127
65128 int
65129 main ()
65130 {
65131 _expf(0);
65132 ;
65133 return 0;
65134 }
65135 _ACEOF
65136 if ac_fn_cxx_try_compile "$LINENO"; then :
65137 glibcxx_cv_func__expf_use=yes
65138 else
65139 glibcxx_cv_func__expf_use=no
65140 fi
65141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65142 ac_ext=c
65143 ac_cpp='$CPP $CPPFLAGS'
65144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65147
65148
65149 fi
65150
65151 fi
65152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
65153 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
65154
65155 if test x$glibcxx_cv_func__expf_use = x"yes"; then
65156 for ac_func in _expf
65157 do :
65158 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
65159 if test "x$ac_cv_func__expf" = x""yes; then :
65160 cat >>confdefs.h <<_ACEOF
65161 #define HAVE__EXPF 1
65162 _ACEOF
65163
65164 fi
65165 done
65166
65167 fi
65168 fi
65169
65170
65171
65172
65173
65174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
65175 $as_echo_n "checking for isnanf declaration... " >&6; }
65176 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65177 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
65178 $as_echo_n "(cached) " >&6
65179 else
65180
65181
65182 ac_ext=cpp
65183 ac_cpp='$CXXCPP $CPPFLAGS'
65184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65187
65188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65189 /* end confdefs.h. */
65190 #include <math.h>
65191 #ifdef HAVE_IEEEFP_H
65192 #include <ieeefp.h>
65193 #endif
65194
65195 int
65196 main ()
65197 {
65198 isnanf(0);
65199 ;
65200 return 0;
65201 }
65202 _ACEOF
65203 if ac_fn_cxx_try_compile "$LINENO"; then :
65204 glibcxx_cv_func_isnanf_use=yes
65205 else
65206 glibcxx_cv_func_isnanf_use=no
65207 fi
65208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65209 ac_ext=c
65210 ac_cpp='$CPP $CPPFLAGS'
65211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65214
65215
65216 fi
65217
65218 fi
65219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
65220 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
65221
65222 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65223 for ac_func in isnanf
65224 do :
65225 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
65226 if test "x$ac_cv_func_isnanf" = x""yes; then :
65227 cat >>confdefs.h <<_ACEOF
65228 #define HAVE_ISNANF 1
65229 _ACEOF
65230
65231 fi
65232 done
65233
65234 else
65235
65236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
65237 $as_echo_n "checking for _isnanf declaration... " >&6; }
65238 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65239 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
65240 $as_echo_n "(cached) " >&6
65241 else
65242
65243
65244 ac_ext=cpp
65245 ac_cpp='$CXXCPP $CPPFLAGS'
65246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65249
65250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65251 /* end confdefs.h. */
65252 #include <math.h>
65253 #ifdef HAVE_IEEEFP_H
65254 #include <ieeefp.h>
65255 #endif
65256
65257 int
65258 main ()
65259 {
65260 _isnanf(0);
65261 ;
65262 return 0;
65263 }
65264 _ACEOF
65265 if ac_fn_cxx_try_compile "$LINENO"; then :
65266 glibcxx_cv_func__isnanf_use=yes
65267 else
65268 glibcxx_cv_func__isnanf_use=no
65269 fi
65270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65271 ac_ext=c
65272 ac_cpp='$CPP $CPPFLAGS'
65273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65276
65277
65278 fi
65279
65280 fi
65281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
65282 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
65283
65284 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
65285 for ac_func in _isnanf
65286 do :
65287 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
65288 if test "x$ac_cv_func__isnanf" = x""yes; then :
65289 cat >>confdefs.h <<_ACEOF
65290 #define HAVE__ISNANF 1
65291 _ACEOF
65292
65293 fi
65294 done
65295
65296 fi
65297 fi
65298
65299
65300
65301
65302
65303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
65304 $as_echo_n "checking for isinff declaration... " >&6; }
65305 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
65306 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
65307 $as_echo_n "(cached) " >&6
65308 else
65309
65310
65311 ac_ext=cpp
65312 ac_cpp='$CXXCPP $CPPFLAGS'
65313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65316
65317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65318 /* end confdefs.h. */
65319 #include <math.h>
65320 #ifdef HAVE_IEEEFP_H
65321 #include <ieeefp.h>
65322 #endif
65323
65324 int
65325 main ()
65326 {
65327 isinff(0);
65328 ;
65329 return 0;
65330 }
65331 _ACEOF
65332 if ac_fn_cxx_try_compile "$LINENO"; then :
65333 glibcxx_cv_func_isinff_use=yes
65334 else
65335 glibcxx_cv_func_isinff_use=no
65336 fi
65337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65338 ac_ext=c
65339 ac_cpp='$CPP $CPPFLAGS'
65340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65343
65344
65345 fi
65346
65347 fi
65348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
65349 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
65350
65351 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
65352 for ac_func in isinff
65353 do :
65354 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
65355 if test "x$ac_cv_func_isinff" = x""yes; then :
65356 cat >>confdefs.h <<_ACEOF
65357 #define HAVE_ISINFF 1
65358 _ACEOF
65359
65360 fi
65361 done
65362
65363 else
65364
65365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
65366 $as_echo_n "checking for _isinff declaration... " >&6; }
65367 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
65368 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
65369 $as_echo_n "(cached) " >&6
65370 else
65371
65372
65373 ac_ext=cpp
65374 ac_cpp='$CXXCPP $CPPFLAGS'
65375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65378
65379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65380 /* end confdefs.h. */
65381 #include <math.h>
65382 #ifdef HAVE_IEEEFP_H
65383 #include <ieeefp.h>
65384 #endif
65385
65386 int
65387 main ()
65388 {
65389 _isinff(0);
65390 ;
65391 return 0;
65392 }
65393 _ACEOF
65394 if ac_fn_cxx_try_compile "$LINENO"; then :
65395 glibcxx_cv_func__isinff_use=yes
65396 else
65397 glibcxx_cv_func__isinff_use=no
65398 fi
65399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65400 ac_ext=c
65401 ac_cpp='$CPP $CPPFLAGS'
65402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65405
65406
65407 fi
65408
65409 fi
65410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
65411 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
65412
65413 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
65414 for ac_func in _isinff
65415 do :
65416 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
65417 if test "x$ac_cv_func__isinff" = x""yes; then :
65418 cat >>confdefs.h <<_ACEOF
65419 #define HAVE__ISINFF 1
65420 _ACEOF
65421
65422 fi
65423 done
65424
65425 fi
65426 fi
65427
65428
65429
65430
65431
65432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
65433 $as_echo_n "checking for atan2f declaration... " >&6; }
65434 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
65435 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
65436 $as_echo_n "(cached) " >&6
65437 else
65438
65439
65440 ac_ext=cpp
65441 ac_cpp='$CXXCPP $CPPFLAGS'
65442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65445
65446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65447 /* end confdefs.h. */
65448 #include <math.h>
65449 int
65450 main ()
65451 {
65452 atan2f(0, 0);
65453 ;
65454 return 0;
65455 }
65456 _ACEOF
65457 if ac_fn_cxx_try_compile "$LINENO"; then :
65458 glibcxx_cv_func_atan2f_use=yes
65459 else
65460 glibcxx_cv_func_atan2f_use=no
65461 fi
65462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65463 ac_ext=c
65464 ac_cpp='$CPP $CPPFLAGS'
65465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65468
65469
65470 fi
65471
65472 fi
65473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
65474 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
65475
65476 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
65477 for ac_func in atan2f
65478 do :
65479 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
65480 if test "x$ac_cv_func_atan2f" = x""yes; then :
65481 cat >>confdefs.h <<_ACEOF
65482 #define HAVE_ATAN2F 1
65483 _ACEOF
65484
65485 fi
65486 done
65487
65488 else
65489
65490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
65491 $as_echo_n "checking for _atan2f declaration... " >&6; }
65492 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
65493 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
65494 $as_echo_n "(cached) " >&6
65495 else
65496
65497
65498 ac_ext=cpp
65499 ac_cpp='$CXXCPP $CPPFLAGS'
65500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65503
65504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65505 /* end confdefs.h. */
65506 #include <math.h>
65507 int
65508 main ()
65509 {
65510 _atan2f(0, 0);
65511 ;
65512 return 0;
65513 }
65514 _ACEOF
65515 if ac_fn_cxx_try_compile "$LINENO"; then :
65516 glibcxx_cv_func__atan2f_use=yes
65517 else
65518 glibcxx_cv_func__atan2f_use=no
65519 fi
65520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65521 ac_ext=c
65522 ac_cpp='$CPP $CPPFLAGS'
65523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65526
65527
65528 fi
65529
65530 fi
65531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
65532 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
65533
65534 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
65535 for ac_func in _atan2f
65536 do :
65537 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
65538 if test "x$ac_cv_func__atan2f" = x""yes; then :
65539 cat >>confdefs.h <<_ACEOF
65540 #define HAVE__ATAN2F 1
65541 _ACEOF
65542
65543 fi
65544 done
65545
65546 fi
65547 fi
65548
65549
65550
65551
65552
65553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
65554 $as_echo_n "checking for fabsf declaration... " >&6; }
65555 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
65556 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
65557 $as_echo_n "(cached) " >&6
65558 else
65559
65560
65561 ac_ext=cpp
65562 ac_cpp='$CXXCPP $CPPFLAGS'
65563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65566
65567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65568 /* end confdefs.h. */
65569 #include <math.h>
65570 #ifdef HAVE_IEEEFP_H
65571 #include <ieeefp.h>
65572 #endif
65573
65574 int
65575 main ()
65576 {
65577 fabsf(0);
65578 ;
65579 return 0;
65580 }
65581 _ACEOF
65582 if ac_fn_cxx_try_compile "$LINENO"; then :
65583 glibcxx_cv_func_fabsf_use=yes
65584 else
65585 glibcxx_cv_func_fabsf_use=no
65586 fi
65587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65588 ac_ext=c
65589 ac_cpp='$CPP $CPPFLAGS'
65590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65593
65594
65595 fi
65596
65597 fi
65598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
65599 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
65600
65601 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
65602 for ac_func in fabsf
65603 do :
65604 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
65605 if test "x$ac_cv_func_fabsf" = x""yes; then :
65606 cat >>confdefs.h <<_ACEOF
65607 #define HAVE_FABSF 1
65608 _ACEOF
65609
65610 fi
65611 done
65612
65613 else
65614
65615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
65616 $as_echo_n "checking for _fabsf declaration... " >&6; }
65617 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
65618 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
65619 $as_echo_n "(cached) " >&6
65620 else
65621
65622
65623 ac_ext=cpp
65624 ac_cpp='$CXXCPP $CPPFLAGS'
65625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65628
65629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65630 /* end confdefs.h. */
65631 #include <math.h>
65632 #ifdef HAVE_IEEEFP_H
65633 #include <ieeefp.h>
65634 #endif
65635
65636 int
65637 main ()
65638 {
65639 _fabsf(0);
65640 ;
65641 return 0;
65642 }
65643 _ACEOF
65644 if ac_fn_cxx_try_compile "$LINENO"; then :
65645 glibcxx_cv_func__fabsf_use=yes
65646 else
65647 glibcxx_cv_func__fabsf_use=no
65648 fi
65649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65650 ac_ext=c
65651 ac_cpp='$CPP $CPPFLAGS'
65652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65655
65656
65657 fi
65658
65659 fi
65660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
65661 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
65662
65663 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
65664 for ac_func in _fabsf
65665 do :
65666 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
65667 if test "x$ac_cv_func__fabsf" = x""yes; then :
65668 cat >>confdefs.h <<_ACEOF
65669 #define HAVE__FABSF 1
65670 _ACEOF
65671
65672 fi
65673 done
65674
65675 fi
65676 fi
65677
65678
65679
65680
65681
65682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
65683 $as_echo_n "checking for fmodf declaration... " >&6; }
65684 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
65685 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
65686 $as_echo_n "(cached) " >&6
65687 else
65688
65689
65690 ac_ext=cpp
65691 ac_cpp='$CXXCPP $CPPFLAGS'
65692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65695
65696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65697 /* end confdefs.h. */
65698 #include <math.h>
65699 int
65700 main ()
65701 {
65702 fmodf(0, 0);
65703 ;
65704 return 0;
65705 }
65706 _ACEOF
65707 if ac_fn_cxx_try_compile "$LINENO"; then :
65708 glibcxx_cv_func_fmodf_use=yes
65709 else
65710 glibcxx_cv_func_fmodf_use=no
65711 fi
65712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65713 ac_ext=c
65714 ac_cpp='$CPP $CPPFLAGS'
65715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65718
65719
65720 fi
65721
65722 fi
65723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
65724 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
65725
65726 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
65727 for ac_func in fmodf
65728 do :
65729 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
65730 if test "x$ac_cv_func_fmodf" = x""yes; then :
65731 cat >>confdefs.h <<_ACEOF
65732 #define HAVE_FMODF 1
65733 _ACEOF
65734
65735 fi
65736 done
65737
65738 else
65739
65740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
65741 $as_echo_n "checking for _fmodf declaration... " >&6; }
65742 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
65743 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
65744 $as_echo_n "(cached) " >&6
65745 else
65746
65747
65748 ac_ext=cpp
65749 ac_cpp='$CXXCPP $CPPFLAGS'
65750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65753
65754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65755 /* end confdefs.h. */
65756 #include <math.h>
65757 int
65758 main ()
65759 {
65760 _fmodf(0, 0);
65761 ;
65762 return 0;
65763 }
65764 _ACEOF
65765 if ac_fn_cxx_try_compile "$LINENO"; then :
65766 glibcxx_cv_func__fmodf_use=yes
65767 else
65768 glibcxx_cv_func__fmodf_use=no
65769 fi
65770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65771 ac_ext=c
65772 ac_cpp='$CPP $CPPFLAGS'
65773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65776
65777
65778 fi
65779
65780 fi
65781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
65782 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
65783
65784 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
65785 for ac_func in _fmodf
65786 do :
65787 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
65788 if test "x$ac_cv_func__fmodf" = x""yes; then :
65789 cat >>confdefs.h <<_ACEOF
65790 #define HAVE__FMODF 1
65791 _ACEOF
65792
65793 fi
65794 done
65795
65796 fi
65797 fi
65798
65799
65800
65801
65802
65803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
65804 $as_echo_n "checking for frexpf declaration... " >&6; }
65805 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65806 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
65807 $as_echo_n "(cached) " >&6
65808 else
65809
65810
65811 ac_ext=cpp
65812 ac_cpp='$CXXCPP $CPPFLAGS'
65813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65816
65817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65818 /* end confdefs.h. */
65819 #include <math.h>
65820 int
65821 main ()
65822 {
65823 frexpf(0, 0);
65824 ;
65825 return 0;
65826 }
65827 _ACEOF
65828 if ac_fn_cxx_try_compile "$LINENO"; then :
65829 glibcxx_cv_func_frexpf_use=yes
65830 else
65831 glibcxx_cv_func_frexpf_use=no
65832 fi
65833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65834 ac_ext=c
65835 ac_cpp='$CPP $CPPFLAGS'
65836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65839
65840
65841 fi
65842
65843 fi
65844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
65845 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
65846
65847 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65848 for ac_func in frexpf
65849 do :
65850 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
65851 if test "x$ac_cv_func_frexpf" = x""yes; then :
65852 cat >>confdefs.h <<_ACEOF
65853 #define HAVE_FREXPF 1
65854 _ACEOF
65855
65856 fi
65857 done
65858
65859 else
65860
65861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
65862 $as_echo_n "checking for _frexpf declaration... " >&6; }
65863 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65864 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
65865 $as_echo_n "(cached) " >&6
65866 else
65867
65868
65869 ac_ext=cpp
65870 ac_cpp='$CXXCPP $CPPFLAGS'
65871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65874
65875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65876 /* end confdefs.h. */
65877 #include <math.h>
65878 int
65879 main ()
65880 {
65881 _frexpf(0, 0);
65882 ;
65883 return 0;
65884 }
65885 _ACEOF
65886 if ac_fn_cxx_try_compile "$LINENO"; then :
65887 glibcxx_cv_func__frexpf_use=yes
65888 else
65889 glibcxx_cv_func__frexpf_use=no
65890 fi
65891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65892 ac_ext=c
65893 ac_cpp='$CPP $CPPFLAGS'
65894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65897
65898
65899 fi
65900
65901 fi
65902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
65903 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
65904
65905 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
65906 for ac_func in _frexpf
65907 do :
65908 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
65909 if test "x$ac_cv_func__frexpf" = x""yes; then :
65910 cat >>confdefs.h <<_ACEOF
65911 #define HAVE__FREXPF 1
65912 _ACEOF
65913
65914 fi
65915 done
65916
65917 fi
65918 fi
65919
65920
65921
65922
65923
65924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
65925 $as_echo_n "checking for hypotf declaration... " >&6; }
65926 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
65927 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
65928 $as_echo_n "(cached) " >&6
65929 else
65930
65931
65932 ac_ext=cpp
65933 ac_cpp='$CXXCPP $CPPFLAGS'
65934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65937
65938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65939 /* end confdefs.h. */
65940 #include <math.h>
65941 int
65942 main ()
65943 {
65944 hypotf(0, 0);
65945 ;
65946 return 0;
65947 }
65948 _ACEOF
65949 if ac_fn_cxx_try_compile "$LINENO"; then :
65950 glibcxx_cv_func_hypotf_use=yes
65951 else
65952 glibcxx_cv_func_hypotf_use=no
65953 fi
65954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65955 ac_ext=c
65956 ac_cpp='$CPP $CPPFLAGS'
65957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65960
65961
65962 fi
65963
65964 fi
65965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
65966 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
65967
65968 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
65969 for ac_func in hypotf
65970 do :
65971 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
65972 if test "x$ac_cv_func_hypotf" = x""yes; then :
65973 cat >>confdefs.h <<_ACEOF
65974 #define HAVE_HYPOTF 1
65975 _ACEOF
65976
65977 fi
65978 done
65979
65980 else
65981
65982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
65983 $as_echo_n "checking for _hypotf declaration... " >&6; }
65984 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
65985 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
65986 $as_echo_n "(cached) " >&6
65987 else
65988
65989
65990 ac_ext=cpp
65991 ac_cpp='$CXXCPP $CPPFLAGS'
65992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65995
65996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65997 /* end confdefs.h. */
65998 #include <math.h>
65999 int
66000 main ()
66001 {
66002 _hypotf(0, 0);
66003 ;
66004 return 0;
66005 }
66006 _ACEOF
66007 if ac_fn_cxx_try_compile "$LINENO"; then :
66008 glibcxx_cv_func__hypotf_use=yes
66009 else
66010 glibcxx_cv_func__hypotf_use=no
66011 fi
66012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66013 ac_ext=c
66014 ac_cpp='$CPP $CPPFLAGS'
66015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66018
66019
66020 fi
66021
66022 fi
66023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
66024 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
66025
66026 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
66027 for ac_func in _hypotf
66028 do :
66029 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
66030 if test "x$ac_cv_func__hypotf" = x""yes; then :
66031 cat >>confdefs.h <<_ACEOF
66032 #define HAVE__HYPOTF 1
66033 _ACEOF
66034
66035 fi
66036 done
66037
66038 fi
66039 fi
66040
66041
66042
66043
66044
66045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
66046 $as_echo_n "checking for ldexpf declaration... " >&6; }
66047 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
66048 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
66049 $as_echo_n "(cached) " >&6
66050 else
66051
66052
66053 ac_ext=cpp
66054 ac_cpp='$CXXCPP $CPPFLAGS'
66055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66058
66059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66060 /* end confdefs.h. */
66061 #include <math.h>
66062 int
66063 main ()
66064 {
66065 ldexpf(0, 0);
66066 ;
66067 return 0;
66068 }
66069 _ACEOF
66070 if ac_fn_cxx_try_compile "$LINENO"; then :
66071 glibcxx_cv_func_ldexpf_use=yes
66072 else
66073 glibcxx_cv_func_ldexpf_use=no
66074 fi
66075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66076 ac_ext=c
66077 ac_cpp='$CPP $CPPFLAGS'
66078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66081
66082
66083 fi
66084
66085 fi
66086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
66087 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
66088
66089 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
66090 for ac_func in ldexpf
66091 do :
66092 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
66093 if test "x$ac_cv_func_ldexpf" = x""yes; then :
66094 cat >>confdefs.h <<_ACEOF
66095 #define HAVE_LDEXPF 1
66096 _ACEOF
66097
66098 fi
66099 done
66100
66101 else
66102
66103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
66104 $as_echo_n "checking for _ldexpf declaration... " >&6; }
66105 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
66106 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
66107 $as_echo_n "(cached) " >&6
66108 else
66109
66110
66111 ac_ext=cpp
66112 ac_cpp='$CXXCPP $CPPFLAGS'
66113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66116
66117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66118 /* end confdefs.h. */
66119 #include <math.h>
66120 int
66121 main ()
66122 {
66123 _ldexpf(0, 0);
66124 ;
66125 return 0;
66126 }
66127 _ACEOF
66128 if ac_fn_cxx_try_compile "$LINENO"; then :
66129 glibcxx_cv_func__ldexpf_use=yes
66130 else
66131 glibcxx_cv_func__ldexpf_use=no
66132 fi
66133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66134 ac_ext=c
66135 ac_cpp='$CPP $CPPFLAGS'
66136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66139
66140
66141 fi
66142
66143 fi
66144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
66145 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
66146
66147 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
66148 for ac_func in _ldexpf
66149 do :
66150 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
66151 if test "x$ac_cv_func__ldexpf" = x""yes; then :
66152 cat >>confdefs.h <<_ACEOF
66153 #define HAVE__LDEXPF 1
66154 _ACEOF
66155
66156 fi
66157 done
66158
66159 fi
66160 fi
66161
66162
66163
66164
66165
66166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
66167 $as_echo_n "checking for logf declaration... " >&6; }
66168 if test x${glibcxx_cv_func_logf_use+set} != xset; then
66169 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
66170 $as_echo_n "(cached) " >&6
66171 else
66172
66173
66174 ac_ext=cpp
66175 ac_cpp='$CXXCPP $CPPFLAGS'
66176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66179
66180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66181 /* end confdefs.h. */
66182 #include <math.h>
66183 #ifdef HAVE_IEEEFP_H
66184 #include <ieeefp.h>
66185 #endif
66186
66187 int
66188 main ()
66189 {
66190 logf(0);
66191 ;
66192 return 0;
66193 }
66194 _ACEOF
66195 if ac_fn_cxx_try_compile "$LINENO"; then :
66196 glibcxx_cv_func_logf_use=yes
66197 else
66198 glibcxx_cv_func_logf_use=no
66199 fi
66200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66201 ac_ext=c
66202 ac_cpp='$CPP $CPPFLAGS'
66203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66206
66207
66208 fi
66209
66210 fi
66211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
66212 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
66213
66214 if test x$glibcxx_cv_func_logf_use = x"yes"; then
66215 for ac_func in logf
66216 do :
66217 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
66218 if test "x$ac_cv_func_logf" = x""yes; then :
66219 cat >>confdefs.h <<_ACEOF
66220 #define HAVE_LOGF 1
66221 _ACEOF
66222
66223 fi
66224 done
66225
66226 else
66227
66228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
66229 $as_echo_n "checking for _logf declaration... " >&6; }
66230 if test x${glibcxx_cv_func__logf_use+set} != xset; then
66231 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
66232 $as_echo_n "(cached) " >&6
66233 else
66234
66235
66236 ac_ext=cpp
66237 ac_cpp='$CXXCPP $CPPFLAGS'
66238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66241
66242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66243 /* end confdefs.h. */
66244 #include <math.h>
66245 #ifdef HAVE_IEEEFP_H
66246 #include <ieeefp.h>
66247 #endif
66248
66249 int
66250 main ()
66251 {
66252 _logf(0);
66253 ;
66254 return 0;
66255 }
66256 _ACEOF
66257 if ac_fn_cxx_try_compile "$LINENO"; then :
66258 glibcxx_cv_func__logf_use=yes
66259 else
66260 glibcxx_cv_func__logf_use=no
66261 fi
66262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66263 ac_ext=c
66264 ac_cpp='$CPP $CPPFLAGS'
66265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66268
66269
66270 fi
66271
66272 fi
66273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
66274 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
66275
66276 if test x$glibcxx_cv_func__logf_use = x"yes"; then
66277 for ac_func in _logf
66278 do :
66279 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
66280 if test "x$ac_cv_func__logf" = x""yes; then :
66281 cat >>confdefs.h <<_ACEOF
66282 #define HAVE__LOGF 1
66283 _ACEOF
66284
66285 fi
66286 done
66287
66288 fi
66289 fi
66290
66291
66292
66293
66294
66295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
66296 $as_echo_n "checking for log10f declaration... " >&6; }
66297 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66298 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
66299 $as_echo_n "(cached) " >&6
66300 else
66301
66302
66303 ac_ext=cpp
66304 ac_cpp='$CXXCPP $CPPFLAGS'
66305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66308
66309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66310 /* end confdefs.h. */
66311 #include <math.h>
66312 #ifdef HAVE_IEEEFP_H
66313 #include <ieeefp.h>
66314 #endif
66315
66316 int
66317 main ()
66318 {
66319 log10f(0);
66320 ;
66321 return 0;
66322 }
66323 _ACEOF
66324 if ac_fn_cxx_try_compile "$LINENO"; then :
66325 glibcxx_cv_func_log10f_use=yes
66326 else
66327 glibcxx_cv_func_log10f_use=no
66328 fi
66329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66330 ac_ext=c
66331 ac_cpp='$CPP $CPPFLAGS'
66332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66335
66336
66337 fi
66338
66339 fi
66340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
66341 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
66342
66343 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66344 for ac_func in log10f
66345 do :
66346 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
66347 if test "x$ac_cv_func_log10f" = x""yes; then :
66348 cat >>confdefs.h <<_ACEOF
66349 #define HAVE_LOG10F 1
66350 _ACEOF
66351
66352 fi
66353 done
66354
66355 else
66356
66357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
66358 $as_echo_n "checking for _log10f declaration... " >&6; }
66359 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
66360 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
66361 $as_echo_n "(cached) " >&6
66362 else
66363
66364
66365 ac_ext=cpp
66366 ac_cpp='$CXXCPP $CPPFLAGS'
66367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66370
66371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66372 /* end confdefs.h. */
66373 #include <math.h>
66374 #ifdef HAVE_IEEEFP_H
66375 #include <ieeefp.h>
66376 #endif
66377
66378 int
66379 main ()
66380 {
66381 _log10f(0);
66382 ;
66383 return 0;
66384 }
66385 _ACEOF
66386 if ac_fn_cxx_try_compile "$LINENO"; then :
66387 glibcxx_cv_func__log10f_use=yes
66388 else
66389 glibcxx_cv_func__log10f_use=no
66390 fi
66391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66392 ac_ext=c
66393 ac_cpp='$CPP $CPPFLAGS'
66394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66397
66398
66399 fi
66400
66401 fi
66402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
66403 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
66404
66405 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
66406 for ac_func in _log10f
66407 do :
66408 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
66409 if test "x$ac_cv_func__log10f" = x""yes; then :
66410 cat >>confdefs.h <<_ACEOF
66411 #define HAVE__LOG10F 1
66412 _ACEOF
66413
66414 fi
66415 done
66416
66417 fi
66418 fi
66419
66420
66421
66422
66423
66424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
66425 $as_echo_n "checking for modff declaration... " >&6; }
66426 if test x${glibcxx_cv_func_modff_use+set} != xset; then
66427 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
66428 $as_echo_n "(cached) " >&6
66429 else
66430
66431
66432 ac_ext=cpp
66433 ac_cpp='$CXXCPP $CPPFLAGS'
66434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66437
66438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66439 /* end confdefs.h. */
66440 #include <math.h>
66441 int
66442 main ()
66443 {
66444 modff(0, 0);
66445 ;
66446 return 0;
66447 }
66448 _ACEOF
66449 if ac_fn_cxx_try_compile "$LINENO"; then :
66450 glibcxx_cv_func_modff_use=yes
66451 else
66452 glibcxx_cv_func_modff_use=no
66453 fi
66454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66455 ac_ext=c
66456 ac_cpp='$CPP $CPPFLAGS'
66457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66460
66461
66462 fi
66463
66464 fi
66465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
66466 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
66467
66468 if test x$glibcxx_cv_func_modff_use = x"yes"; then
66469 for ac_func in modff
66470 do :
66471 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
66472 if test "x$ac_cv_func_modff" = x""yes; then :
66473 cat >>confdefs.h <<_ACEOF
66474 #define HAVE_MODFF 1
66475 _ACEOF
66476
66477 fi
66478 done
66479
66480 else
66481
66482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
66483 $as_echo_n "checking for _modff declaration... " >&6; }
66484 if test x${glibcxx_cv_func__modff_use+set} != xset; then
66485 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
66486 $as_echo_n "(cached) " >&6
66487 else
66488
66489
66490 ac_ext=cpp
66491 ac_cpp='$CXXCPP $CPPFLAGS'
66492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66495
66496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66497 /* end confdefs.h. */
66498 #include <math.h>
66499 int
66500 main ()
66501 {
66502 _modff(0, 0);
66503 ;
66504 return 0;
66505 }
66506 _ACEOF
66507 if ac_fn_cxx_try_compile "$LINENO"; then :
66508 glibcxx_cv_func__modff_use=yes
66509 else
66510 glibcxx_cv_func__modff_use=no
66511 fi
66512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66513 ac_ext=c
66514 ac_cpp='$CPP $CPPFLAGS'
66515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66518
66519
66520 fi
66521
66522 fi
66523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
66524 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
66525
66526 if test x$glibcxx_cv_func__modff_use = x"yes"; then
66527 for ac_func in _modff
66528 do :
66529 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
66530 if test "x$ac_cv_func__modff" = x""yes; then :
66531 cat >>confdefs.h <<_ACEOF
66532 #define HAVE__MODFF 1
66533 _ACEOF
66534
66535 fi
66536 done
66537
66538 fi
66539 fi
66540
66541
66542
66543
66544
66545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
66546 $as_echo_n "checking for modf declaration... " >&6; }
66547 if test x${glibcxx_cv_func_modf_use+set} != xset; then
66548 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
66549 $as_echo_n "(cached) " >&6
66550 else
66551
66552
66553 ac_ext=cpp
66554 ac_cpp='$CXXCPP $CPPFLAGS'
66555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66558
66559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66560 /* end confdefs.h. */
66561 #include <math.h>
66562 int
66563 main ()
66564 {
66565 modf(0, 0);
66566 ;
66567 return 0;
66568 }
66569 _ACEOF
66570 if ac_fn_cxx_try_compile "$LINENO"; then :
66571 glibcxx_cv_func_modf_use=yes
66572 else
66573 glibcxx_cv_func_modf_use=no
66574 fi
66575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66576 ac_ext=c
66577 ac_cpp='$CPP $CPPFLAGS'
66578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66581
66582
66583 fi
66584
66585 fi
66586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
66587 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
66588
66589 if test x$glibcxx_cv_func_modf_use = x"yes"; then
66590 for ac_func in modf
66591 do :
66592 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
66593 if test "x$ac_cv_func_modf" = x""yes; then :
66594 cat >>confdefs.h <<_ACEOF
66595 #define HAVE_MODF 1
66596 _ACEOF
66597
66598 fi
66599 done
66600
66601 else
66602
66603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
66604 $as_echo_n "checking for _modf declaration... " >&6; }
66605 if test x${glibcxx_cv_func__modf_use+set} != xset; then
66606 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
66607 $as_echo_n "(cached) " >&6
66608 else
66609
66610
66611 ac_ext=cpp
66612 ac_cpp='$CXXCPP $CPPFLAGS'
66613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66616
66617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66618 /* end confdefs.h. */
66619 #include <math.h>
66620 int
66621 main ()
66622 {
66623 _modf(0, 0);
66624 ;
66625 return 0;
66626 }
66627 _ACEOF
66628 if ac_fn_cxx_try_compile "$LINENO"; then :
66629 glibcxx_cv_func__modf_use=yes
66630 else
66631 glibcxx_cv_func__modf_use=no
66632 fi
66633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66634 ac_ext=c
66635 ac_cpp='$CPP $CPPFLAGS'
66636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66639
66640
66641 fi
66642
66643 fi
66644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
66645 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
66646
66647 if test x$glibcxx_cv_func__modf_use = x"yes"; then
66648 for ac_func in _modf
66649 do :
66650 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
66651 if test "x$ac_cv_func__modf" = x""yes; then :
66652 cat >>confdefs.h <<_ACEOF
66653 #define HAVE__MODF 1
66654 _ACEOF
66655
66656 fi
66657 done
66658
66659 fi
66660 fi
66661
66662
66663
66664
66665
66666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
66667 $as_echo_n "checking for powf declaration... " >&6; }
66668 if test x${glibcxx_cv_func_powf_use+set} != xset; then
66669 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
66670 $as_echo_n "(cached) " >&6
66671 else
66672
66673
66674 ac_ext=cpp
66675 ac_cpp='$CXXCPP $CPPFLAGS'
66676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66679
66680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66681 /* end confdefs.h. */
66682 #include <math.h>
66683 int
66684 main ()
66685 {
66686 powf(0, 0);
66687 ;
66688 return 0;
66689 }
66690 _ACEOF
66691 if ac_fn_cxx_try_compile "$LINENO"; then :
66692 glibcxx_cv_func_powf_use=yes
66693 else
66694 glibcxx_cv_func_powf_use=no
66695 fi
66696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66697 ac_ext=c
66698 ac_cpp='$CPP $CPPFLAGS'
66699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66702
66703
66704 fi
66705
66706 fi
66707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
66708 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
66709
66710 if test x$glibcxx_cv_func_powf_use = x"yes"; then
66711 for ac_func in powf
66712 do :
66713 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
66714 if test "x$ac_cv_func_powf" = x""yes; then :
66715 cat >>confdefs.h <<_ACEOF
66716 #define HAVE_POWF 1
66717 _ACEOF
66718
66719 fi
66720 done
66721
66722 else
66723
66724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
66725 $as_echo_n "checking for _powf declaration... " >&6; }
66726 if test x${glibcxx_cv_func__powf_use+set} != xset; then
66727 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
66728 $as_echo_n "(cached) " >&6
66729 else
66730
66731
66732 ac_ext=cpp
66733 ac_cpp='$CXXCPP $CPPFLAGS'
66734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66737
66738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66739 /* end confdefs.h. */
66740 #include <math.h>
66741 int
66742 main ()
66743 {
66744 _powf(0, 0);
66745 ;
66746 return 0;
66747 }
66748 _ACEOF
66749 if ac_fn_cxx_try_compile "$LINENO"; then :
66750 glibcxx_cv_func__powf_use=yes
66751 else
66752 glibcxx_cv_func__powf_use=no
66753 fi
66754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66755 ac_ext=c
66756 ac_cpp='$CPP $CPPFLAGS'
66757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66760
66761
66762 fi
66763
66764 fi
66765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
66766 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
66767
66768 if test x$glibcxx_cv_func__powf_use = x"yes"; then
66769 for ac_func in _powf
66770 do :
66771 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
66772 if test "x$ac_cv_func__powf" = x""yes; then :
66773 cat >>confdefs.h <<_ACEOF
66774 #define HAVE__POWF 1
66775 _ACEOF
66776
66777 fi
66778 done
66779
66780 fi
66781 fi
66782
66783
66784
66785
66786
66787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
66788 $as_echo_n "checking for sqrtf declaration... " >&6; }
66789 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
66790 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
66791 $as_echo_n "(cached) " >&6
66792 else
66793
66794
66795 ac_ext=cpp
66796 ac_cpp='$CXXCPP $CPPFLAGS'
66797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66800
66801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66802 /* end confdefs.h. */
66803 #include <math.h>
66804 #ifdef HAVE_IEEEFP_H
66805 #include <ieeefp.h>
66806 #endif
66807
66808 int
66809 main ()
66810 {
66811 sqrtf(0);
66812 ;
66813 return 0;
66814 }
66815 _ACEOF
66816 if ac_fn_cxx_try_compile "$LINENO"; then :
66817 glibcxx_cv_func_sqrtf_use=yes
66818 else
66819 glibcxx_cv_func_sqrtf_use=no
66820 fi
66821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66822 ac_ext=c
66823 ac_cpp='$CPP $CPPFLAGS'
66824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66827
66828
66829 fi
66830
66831 fi
66832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
66833 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
66834
66835 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
66836 for ac_func in sqrtf
66837 do :
66838 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
66839 if test "x$ac_cv_func_sqrtf" = x""yes; then :
66840 cat >>confdefs.h <<_ACEOF
66841 #define HAVE_SQRTF 1
66842 _ACEOF
66843
66844 fi
66845 done
66846
66847 else
66848
66849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
66850 $as_echo_n "checking for _sqrtf declaration... " >&6; }
66851 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
66852 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
66853 $as_echo_n "(cached) " >&6
66854 else
66855
66856
66857 ac_ext=cpp
66858 ac_cpp='$CXXCPP $CPPFLAGS'
66859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66862
66863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66864 /* end confdefs.h. */
66865 #include <math.h>
66866 #ifdef HAVE_IEEEFP_H
66867 #include <ieeefp.h>
66868 #endif
66869
66870 int
66871 main ()
66872 {
66873 _sqrtf(0);
66874 ;
66875 return 0;
66876 }
66877 _ACEOF
66878 if ac_fn_cxx_try_compile "$LINENO"; then :
66879 glibcxx_cv_func__sqrtf_use=yes
66880 else
66881 glibcxx_cv_func__sqrtf_use=no
66882 fi
66883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66884 ac_ext=c
66885 ac_cpp='$CPP $CPPFLAGS'
66886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66889
66890
66891 fi
66892
66893 fi
66894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
66895 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
66896
66897 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
66898 for ac_func in _sqrtf
66899 do :
66900 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
66901 if test "x$ac_cv_func__sqrtf" = x""yes; then :
66902 cat >>confdefs.h <<_ACEOF
66903 #define HAVE__SQRTF 1
66904 _ACEOF
66905
66906 fi
66907 done
66908
66909 fi
66910 fi
66911
66912
66913
66914
66915
66916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
66917 $as_echo_n "checking for sincosf declaration... " >&6; }
66918 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
66919 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
66920 $as_echo_n "(cached) " >&6
66921 else
66922
66923
66924 ac_ext=cpp
66925 ac_cpp='$CXXCPP $CPPFLAGS'
66926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66929
66930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66931 /* end confdefs.h. */
66932 #include <math.h>
66933 int
66934 main ()
66935 {
66936 sincosf(0, 0, 0);
66937 ;
66938 return 0;
66939 }
66940 _ACEOF
66941 if ac_fn_cxx_try_compile "$LINENO"; then :
66942 glibcxx_cv_func_sincosf_use=yes
66943 else
66944 glibcxx_cv_func_sincosf_use=no
66945 fi
66946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66947 ac_ext=c
66948 ac_cpp='$CPP $CPPFLAGS'
66949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66952
66953
66954 fi
66955
66956 fi
66957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
66958 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
66959
66960 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
66961 for ac_func in sincosf
66962 do :
66963 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
66964 if test "x$ac_cv_func_sincosf" = x""yes; then :
66965 cat >>confdefs.h <<_ACEOF
66966 #define HAVE_SINCOSF 1
66967 _ACEOF
66968
66969 fi
66970 done
66971
66972 else
66973
66974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
66975 $as_echo_n "checking for _sincosf declaration... " >&6; }
66976 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
66977 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
66978 $as_echo_n "(cached) " >&6
66979 else
66980
66981
66982 ac_ext=cpp
66983 ac_cpp='$CXXCPP $CPPFLAGS'
66984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66987
66988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66989 /* end confdefs.h. */
66990 #include <math.h>
66991 int
66992 main ()
66993 {
66994 _sincosf(0, 0, 0);
66995 ;
66996 return 0;
66997 }
66998 _ACEOF
66999 if ac_fn_cxx_try_compile "$LINENO"; then :
67000 glibcxx_cv_func__sincosf_use=yes
67001 else
67002 glibcxx_cv_func__sincosf_use=no
67003 fi
67004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67005 ac_ext=c
67006 ac_cpp='$CPP $CPPFLAGS'
67007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67010
67011
67012 fi
67013
67014 fi
67015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
67016 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
67017
67018 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
67019 for ac_func in _sincosf
67020 do :
67021 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
67022 if test "x$ac_cv_func__sincosf" = x""yes; then :
67023 cat >>confdefs.h <<_ACEOF
67024 #define HAVE__SINCOSF 1
67025 _ACEOF
67026
67027 fi
67028 done
67029
67030 fi
67031 fi
67032
67033
67034
67035
67036
67037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
67038 $as_echo_n "checking for finitef declaration... " >&6; }
67039 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
67040 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
67041 $as_echo_n "(cached) " >&6
67042 else
67043
67044
67045 ac_ext=cpp
67046 ac_cpp='$CXXCPP $CPPFLAGS'
67047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67050
67051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67052 /* end confdefs.h. */
67053 #include <math.h>
67054 #ifdef HAVE_IEEEFP_H
67055 #include <ieeefp.h>
67056 #endif
67057
67058 int
67059 main ()
67060 {
67061 finitef(0);
67062 ;
67063 return 0;
67064 }
67065 _ACEOF
67066 if ac_fn_cxx_try_compile "$LINENO"; then :
67067 glibcxx_cv_func_finitef_use=yes
67068 else
67069 glibcxx_cv_func_finitef_use=no
67070 fi
67071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67072 ac_ext=c
67073 ac_cpp='$CPP $CPPFLAGS'
67074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67077
67078
67079 fi
67080
67081 fi
67082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
67083 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
67084
67085 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
67086 for ac_func in finitef
67087 do :
67088 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
67089 if test "x$ac_cv_func_finitef" = x""yes; then :
67090 cat >>confdefs.h <<_ACEOF
67091 #define HAVE_FINITEF 1
67092 _ACEOF
67093
67094 fi
67095 done
67096
67097 else
67098
67099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
67100 $as_echo_n "checking for _finitef declaration... " >&6; }
67101 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
67102 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
67103 $as_echo_n "(cached) " >&6
67104 else
67105
67106
67107 ac_ext=cpp
67108 ac_cpp='$CXXCPP $CPPFLAGS'
67109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67112
67113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67114 /* end confdefs.h. */
67115 #include <math.h>
67116 #ifdef HAVE_IEEEFP_H
67117 #include <ieeefp.h>
67118 #endif
67119
67120 int
67121 main ()
67122 {
67123 _finitef(0);
67124 ;
67125 return 0;
67126 }
67127 _ACEOF
67128 if ac_fn_cxx_try_compile "$LINENO"; then :
67129 glibcxx_cv_func__finitef_use=yes
67130 else
67131 glibcxx_cv_func__finitef_use=no
67132 fi
67133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67134 ac_ext=c
67135 ac_cpp='$CPP $CPPFLAGS'
67136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67139
67140
67141 fi
67142
67143 fi
67144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
67145 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
67146
67147 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
67148 for ac_func in _finitef
67149 do :
67150 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
67151 if test "x$ac_cv_func__finitef" = x""yes; then :
67152 cat >>confdefs.h <<_ACEOF
67153 #define HAVE__FINITEF 1
67154 _ACEOF
67155
67156 fi
67157 done
67158
67159 fi
67160 fi
67161
67162
67163
67164
67165
67166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
67167 $as_echo_n "checking for long double trig functions... " >&6; }
67168 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
67169 $as_echo_n "(cached) " >&6
67170 else
67171
67172
67173 ac_ext=cpp
67174 ac_cpp='$CXXCPP $CPPFLAGS'
67175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67178
67179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67180 /* end confdefs.h. */
67181 #include <math.h>
67182 int
67183 main ()
67184 {
67185 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
67186 ;
67187 return 0;
67188 }
67189 _ACEOF
67190 if ac_fn_cxx_try_compile "$LINENO"; then :
67191 glibcxx_cv_func_long_double_trig_use=yes
67192 else
67193 glibcxx_cv_func_long_double_trig_use=no
67194 fi
67195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67196 ac_ext=c
67197 ac_cpp='$CPP $CPPFLAGS'
67198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67201
67202 fi
67203
67204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
67205 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
67206 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
67207 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
67208 do :
67209 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67210 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67211 eval as_val=\$$as_ac_var
67212 if test "x$as_val" = x""yes; then :
67213 cat >>confdefs.h <<_ACEOF
67214 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67215 _ACEOF
67216
67217 fi
67218 done
67219
67220 else
67221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
67222 $as_echo_n "checking for _long double trig functions... " >&6; }
67223 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
67224 $as_echo_n "(cached) " >&6
67225 else
67226
67227
67228 ac_ext=cpp
67229 ac_cpp='$CXXCPP $CPPFLAGS'
67230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67233
67234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67235 /* end confdefs.h. */
67236 #include <math.h>
67237 int
67238 main ()
67239 {
67240 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
67241 ;
67242 return 0;
67243 }
67244 _ACEOF
67245 if ac_fn_cxx_try_compile "$LINENO"; then :
67246 glibcxx_cv_func__long_double_trig_use=yes
67247 else
67248 glibcxx_cv_func__long_double_trig_use=no
67249 fi
67250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67251 ac_ext=c
67252 ac_cpp='$CPP $CPPFLAGS'
67253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67256
67257 fi
67258
67259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
67260 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
67261 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
67262 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
67263 do :
67264 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67265 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67266 eval as_val=\$$as_ac_var
67267 if test "x$as_val" = x""yes; then :
67268 cat >>confdefs.h <<_ACEOF
67269 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67270 _ACEOF
67271
67272 fi
67273 done
67274
67275 fi
67276 fi
67277
67278
67279
67280
67281
67282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
67283 $as_echo_n "checking for long double round functions... " >&6; }
67284 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
67285 $as_echo_n "(cached) " >&6
67286 else
67287
67288
67289 ac_ext=cpp
67290 ac_cpp='$CXXCPP $CPPFLAGS'
67291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67294
67295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67296 /* end confdefs.h. */
67297 #include <math.h>
67298 int
67299 main ()
67300 {
67301 ceill (0); floorl (0);
67302 ;
67303 return 0;
67304 }
67305 _ACEOF
67306 if ac_fn_cxx_try_compile "$LINENO"; then :
67307 glibcxx_cv_func_long_double_round_use=yes
67308 else
67309 glibcxx_cv_func_long_double_round_use=no
67310 fi
67311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67312 ac_ext=c
67313 ac_cpp='$CPP $CPPFLAGS'
67314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67317
67318 fi
67319
67320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
67321 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
67322 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
67323 for ac_func in ceill floorl
67324 do :
67325 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67326 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67327 eval as_val=\$$as_ac_var
67328 if test "x$as_val" = x""yes; then :
67329 cat >>confdefs.h <<_ACEOF
67330 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67331 _ACEOF
67332
67333 fi
67334 done
67335
67336 else
67337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
67338 $as_echo_n "checking for _long double round functions... " >&6; }
67339 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
67340 $as_echo_n "(cached) " >&6
67341 else
67342
67343
67344 ac_ext=cpp
67345 ac_cpp='$CXXCPP $CPPFLAGS'
67346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67349
67350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67351 /* end confdefs.h. */
67352 #include <math.h>
67353 int
67354 main ()
67355 {
67356 _ceill (0); _floorl (0);
67357 ;
67358 return 0;
67359 }
67360 _ACEOF
67361 if ac_fn_cxx_try_compile "$LINENO"; then :
67362 glibcxx_cv_func__long_double_round_use=yes
67363 else
67364 glibcxx_cv_func__long_double_round_use=no
67365 fi
67366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67367 ac_ext=c
67368 ac_cpp='$CPP $CPPFLAGS'
67369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67372
67373 fi
67374
67375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
67376 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
67377 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
67378 for ac_func in _ceill _floorl
67379 do :
67380 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67381 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67382 eval as_val=\$$as_ac_var
67383 if test "x$as_val" = x""yes; then :
67384 cat >>confdefs.h <<_ACEOF
67385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67386 _ACEOF
67387
67388 fi
67389 done
67390
67391 fi
67392 fi
67393
67394
67395
67396
67397
67398
67399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
67400 $as_echo_n "checking for isnanl declaration... " >&6; }
67401 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
67402 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
67403 $as_echo_n "(cached) " >&6
67404 else
67405
67406
67407 ac_ext=cpp
67408 ac_cpp='$CXXCPP $CPPFLAGS'
67409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67412
67413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67414 /* end confdefs.h. */
67415 #include <math.h>
67416 #ifdef HAVE_IEEEFP_H
67417 #include <ieeefp.h>
67418 #endif
67419
67420 int
67421 main ()
67422 {
67423 isnanl(0);
67424 ;
67425 return 0;
67426 }
67427 _ACEOF
67428 if ac_fn_cxx_try_compile "$LINENO"; then :
67429 glibcxx_cv_func_isnanl_use=yes
67430 else
67431 glibcxx_cv_func_isnanl_use=no
67432 fi
67433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67434 ac_ext=c
67435 ac_cpp='$CPP $CPPFLAGS'
67436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67439
67440
67441 fi
67442
67443 fi
67444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
67445 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
67446
67447 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
67448 for ac_func in isnanl
67449 do :
67450 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
67451 if test "x$ac_cv_func_isnanl" = x""yes; then :
67452 cat >>confdefs.h <<_ACEOF
67453 #define HAVE_ISNANL 1
67454 _ACEOF
67455
67456 fi
67457 done
67458
67459 else
67460
67461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
67462 $as_echo_n "checking for _isnanl declaration... " >&6; }
67463 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
67464 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
67465 $as_echo_n "(cached) " >&6
67466 else
67467
67468
67469 ac_ext=cpp
67470 ac_cpp='$CXXCPP $CPPFLAGS'
67471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67474
67475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67476 /* end confdefs.h. */
67477 #include <math.h>
67478 #ifdef HAVE_IEEEFP_H
67479 #include <ieeefp.h>
67480 #endif
67481
67482 int
67483 main ()
67484 {
67485 _isnanl(0);
67486 ;
67487 return 0;
67488 }
67489 _ACEOF
67490 if ac_fn_cxx_try_compile "$LINENO"; then :
67491 glibcxx_cv_func__isnanl_use=yes
67492 else
67493 glibcxx_cv_func__isnanl_use=no
67494 fi
67495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67496 ac_ext=c
67497 ac_cpp='$CPP $CPPFLAGS'
67498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67501
67502
67503 fi
67504
67505 fi
67506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
67507 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
67508
67509 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
67510 for ac_func in _isnanl
67511 do :
67512 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
67513 if test "x$ac_cv_func__isnanl" = x""yes; then :
67514 cat >>confdefs.h <<_ACEOF
67515 #define HAVE__ISNANL 1
67516 _ACEOF
67517
67518 fi
67519 done
67520
67521 fi
67522 fi
67523
67524
67525
67526
67527
67528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
67529 $as_echo_n "checking for isinfl declaration... " >&6; }
67530 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
67531 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
67532 $as_echo_n "(cached) " >&6
67533 else
67534
67535
67536 ac_ext=cpp
67537 ac_cpp='$CXXCPP $CPPFLAGS'
67538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67541
67542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67543 /* end confdefs.h. */
67544 #include <math.h>
67545 #ifdef HAVE_IEEEFP_H
67546 #include <ieeefp.h>
67547 #endif
67548
67549 int
67550 main ()
67551 {
67552 isinfl(0);
67553 ;
67554 return 0;
67555 }
67556 _ACEOF
67557 if ac_fn_cxx_try_compile "$LINENO"; then :
67558 glibcxx_cv_func_isinfl_use=yes
67559 else
67560 glibcxx_cv_func_isinfl_use=no
67561 fi
67562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67563 ac_ext=c
67564 ac_cpp='$CPP $CPPFLAGS'
67565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67568
67569
67570 fi
67571
67572 fi
67573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
67574 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
67575
67576 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
67577 for ac_func in isinfl
67578 do :
67579 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
67580 if test "x$ac_cv_func_isinfl" = x""yes; then :
67581 cat >>confdefs.h <<_ACEOF
67582 #define HAVE_ISINFL 1
67583 _ACEOF
67584
67585 fi
67586 done
67587
67588 else
67589
67590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
67591 $as_echo_n "checking for _isinfl declaration... " >&6; }
67592 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
67593 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
67594 $as_echo_n "(cached) " >&6
67595 else
67596
67597
67598 ac_ext=cpp
67599 ac_cpp='$CXXCPP $CPPFLAGS'
67600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67603
67604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67605 /* end confdefs.h. */
67606 #include <math.h>
67607 #ifdef HAVE_IEEEFP_H
67608 #include <ieeefp.h>
67609 #endif
67610
67611 int
67612 main ()
67613 {
67614 _isinfl(0);
67615 ;
67616 return 0;
67617 }
67618 _ACEOF
67619 if ac_fn_cxx_try_compile "$LINENO"; then :
67620 glibcxx_cv_func__isinfl_use=yes
67621 else
67622 glibcxx_cv_func__isinfl_use=no
67623 fi
67624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67625 ac_ext=c
67626 ac_cpp='$CPP $CPPFLAGS'
67627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67630
67631
67632 fi
67633
67634 fi
67635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
67636 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
67637
67638 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
67639 for ac_func in _isinfl
67640 do :
67641 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
67642 if test "x$ac_cv_func__isinfl" = x""yes; then :
67643 cat >>confdefs.h <<_ACEOF
67644 #define HAVE__ISINFL 1
67645 _ACEOF
67646
67647 fi
67648 done
67649
67650 fi
67651 fi
67652
67653
67654
67655
67656
67657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
67658 $as_echo_n "checking for atan2l declaration... " >&6; }
67659 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
67660 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
67661 $as_echo_n "(cached) " >&6
67662 else
67663
67664
67665 ac_ext=cpp
67666 ac_cpp='$CXXCPP $CPPFLAGS'
67667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67670
67671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67672 /* end confdefs.h. */
67673 #include <math.h>
67674 int
67675 main ()
67676 {
67677 atan2l(0, 0);
67678 ;
67679 return 0;
67680 }
67681 _ACEOF
67682 if ac_fn_cxx_try_compile "$LINENO"; then :
67683 glibcxx_cv_func_atan2l_use=yes
67684 else
67685 glibcxx_cv_func_atan2l_use=no
67686 fi
67687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67688 ac_ext=c
67689 ac_cpp='$CPP $CPPFLAGS'
67690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67693
67694
67695 fi
67696
67697 fi
67698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
67699 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
67700
67701 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
67702 for ac_func in atan2l
67703 do :
67704 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
67705 if test "x$ac_cv_func_atan2l" = x""yes; then :
67706 cat >>confdefs.h <<_ACEOF
67707 #define HAVE_ATAN2L 1
67708 _ACEOF
67709
67710 fi
67711 done
67712
67713 else
67714
67715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
67716 $as_echo_n "checking for _atan2l declaration... " >&6; }
67717 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
67718 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
67719 $as_echo_n "(cached) " >&6
67720 else
67721
67722
67723 ac_ext=cpp
67724 ac_cpp='$CXXCPP $CPPFLAGS'
67725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67728
67729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67730 /* end confdefs.h. */
67731 #include <math.h>
67732 int
67733 main ()
67734 {
67735 _atan2l(0, 0);
67736 ;
67737 return 0;
67738 }
67739 _ACEOF
67740 if ac_fn_cxx_try_compile "$LINENO"; then :
67741 glibcxx_cv_func__atan2l_use=yes
67742 else
67743 glibcxx_cv_func__atan2l_use=no
67744 fi
67745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67746 ac_ext=c
67747 ac_cpp='$CPP $CPPFLAGS'
67748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67751
67752
67753 fi
67754
67755 fi
67756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
67757 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
67758
67759 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
67760 for ac_func in _atan2l
67761 do :
67762 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
67763 if test "x$ac_cv_func__atan2l" = x""yes; then :
67764 cat >>confdefs.h <<_ACEOF
67765 #define HAVE__ATAN2L 1
67766 _ACEOF
67767
67768 fi
67769 done
67770
67771 fi
67772 fi
67773
67774
67775
67776
67777
67778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67779 $as_echo_n "checking for expl declaration... " >&6; }
67780 if test x${glibcxx_cv_func_expl_use+set} != xset; then
67781 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
67782 $as_echo_n "(cached) " >&6
67783 else
67784
67785
67786 ac_ext=cpp
67787 ac_cpp='$CXXCPP $CPPFLAGS'
67788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67791
67792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67793 /* end confdefs.h. */
67794 #include <math.h>
67795 #ifdef HAVE_IEEEFP_H
67796 #include <ieeefp.h>
67797 #endif
67798
67799 int
67800 main ()
67801 {
67802 expl(0);
67803 ;
67804 return 0;
67805 }
67806 _ACEOF
67807 if ac_fn_cxx_try_compile "$LINENO"; then :
67808 glibcxx_cv_func_expl_use=yes
67809 else
67810 glibcxx_cv_func_expl_use=no
67811 fi
67812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67813 ac_ext=c
67814 ac_cpp='$CPP $CPPFLAGS'
67815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67818
67819
67820 fi
67821
67822 fi
67823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67824 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67825
67826 if test x$glibcxx_cv_func_expl_use = x"yes"; then
67827 for ac_func in expl
67828 do :
67829 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
67830 if test "x$ac_cv_func_expl" = x""yes; then :
67831 cat >>confdefs.h <<_ACEOF
67832 #define HAVE_EXPL 1
67833 _ACEOF
67834
67835 fi
67836 done
67837
67838 else
67839
67840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
67841 $as_echo_n "checking for _expl declaration... " >&6; }
67842 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67843 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
67844 $as_echo_n "(cached) " >&6
67845 else
67846
67847
67848 ac_ext=cpp
67849 ac_cpp='$CXXCPP $CPPFLAGS'
67850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67853
67854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67855 /* end confdefs.h. */
67856 #include <math.h>
67857 #ifdef HAVE_IEEEFP_H
67858 #include <ieeefp.h>
67859 #endif
67860
67861 int
67862 main ()
67863 {
67864 _expl(0);
67865 ;
67866 return 0;
67867 }
67868 _ACEOF
67869 if ac_fn_cxx_try_compile "$LINENO"; then :
67870 glibcxx_cv_func__expl_use=yes
67871 else
67872 glibcxx_cv_func__expl_use=no
67873 fi
67874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67875 ac_ext=c
67876 ac_cpp='$CPP $CPPFLAGS'
67877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67880
67881
67882 fi
67883
67884 fi
67885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
67886 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
67887
67888 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67889 for ac_func in _expl
67890 do :
67891 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
67892 if test "x$ac_cv_func__expl" = x""yes; then :
67893 cat >>confdefs.h <<_ACEOF
67894 #define HAVE__EXPL 1
67895 _ACEOF
67896
67897 fi
67898 done
67899
67900 fi
67901 fi
67902
67903
67904
67905
67906
67907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
67908 $as_echo_n "checking for fabsl declaration... " >&6; }
67909 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67910 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
67911 $as_echo_n "(cached) " >&6
67912 else
67913
67914
67915 ac_ext=cpp
67916 ac_cpp='$CXXCPP $CPPFLAGS'
67917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67920
67921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67922 /* end confdefs.h. */
67923 #include <math.h>
67924 #ifdef HAVE_IEEEFP_H
67925 #include <ieeefp.h>
67926 #endif
67927
67928 int
67929 main ()
67930 {
67931 fabsl(0);
67932 ;
67933 return 0;
67934 }
67935 _ACEOF
67936 if ac_fn_cxx_try_compile "$LINENO"; then :
67937 glibcxx_cv_func_fabsl_use=yes
67938 else
67939 glibcxx_cv_func_fabsl_use=no
67940 fi
67941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67942 ac_ext=c
67943 ac_cpp='$CPP $CPPFLAGS'
67944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67947
67948
67949 fi
67950
67951 fi
67952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
67953 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
67954
67955 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67956 for ac_func in fabsl
67957 do :
67958 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
67959 if test "x$ac_cv_func_fabsl" = x""yes; then :
67960 cat >>confdefs.h <<_ACEOF
67961 #define HAVE_FABSL 1
67962 _ACEOF
67963
67964 fi
67965 done
67966
67967 else
67968
67969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
67970 $as_echo_n "checking for _fabsl declaration... " >&6; }
67971 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67972 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
67973 $as_echo_n "(cached) " >&6
67974 else
67975
67976
67977 ac_ext=cpp
67978 ac_cpp='$CXXCPP $CPPFLAGS'
67979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67982
67983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67984 /* end confdefs.h. */
67985 #include <math.h>
67986 #ifdef HAVE_IEEEFP_H
67987 #include <ieeefp.h>
67988 #endif
67989
67990 int
67991 main ()
67992 {
67993 _fabsl(0);
67994 ;
67995 return 0;
67996 }
67997 _ACEOF
67998 if ac_fn_cxx_try_compile "$LINENO"; then :
67999 glibcxx_cv_func__fabsl_use=yes
68000 else
68001 glibcxx_cv_func__fabsl_use=no
68002 fi
68003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68004 ac_ext=c
68005 ac_cpp='$CPP $CPPFLAGS'
68006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68009
68010
68011 fi
68012
68013 fi
68014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
68015 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
68016
68017 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
68018 for ac_func in _fabsl
68019 do :
68020 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
68021 if test "x$ac_cv_func__fabsl" = x""yes; then :
68022 cat >>confdefs.h <<_ACEOF
68023 #define HAVE__FABSL 1
68024 _ACEOF
68025
68026 fi
68027 done
68028
68029 fi
68030 fi
68031
68032
68033
68034
68035
68036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
68037 $as_echo_n "checking for fmodl declaration... " >&6; }
68038 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
68039 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
68040 $as_echo_n "(cached) " >&6
68041 else
68042
68043
68044 ac_ext=cpp
68045 ac_cpp='$CXXCPP $CPPFLAGS'
68046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68049
68050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68051 /* end confdefs.h. */
68052 #include <math.h>
68053 int
68054 main ()
68055 {
68056 fmodl(0, 0);
68057 ;
68058 return 0;
68059 }
68060 _ACEOF
68061 if ac_fn_cxx_try_compile "$LINENO"; then :
68062 glibcxx_cv_func_fmodl_use=yes
68063 else
68064 glibcxx_cv_func_fmodl_use=no
68065 fi
68066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68067 ac_ext=c
68068 ac_cpp='$CPP $CPPFLAGS'
68069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68072
68073
68074 fi
68075
68076 fi
68077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
68078 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
68079
68080 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
68081 for ac_func in fmodl
68082 do :
68083 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
68084 if test "x$ac_cv_func_fmodl" = x""yes; then :
68085 cat >>confdefs.h <<_ACEOF
68086 #define HAVE_FMODL 1
68087 _ACEOF
68088
68089 fi
68090 done
68091
68092 else
68093
68094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
68095 $as_echo_n "checking for _fmodl declaration... " >&6; }
68096 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
68097 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
68098 $as_echo_n "(cached) " >&6
68099 else
68100
68101
68102 ac_ext=cpp
68103 ac_cpp='$CXXCPP $CPPFLAGS'
68104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68107
68108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68109 /* end confdefs.h. */
68110 #include <math.h>
68111 int
68112 main ()
68113 {
68114 _fmodl(0, 0);
68115 ;
68116 return 0;
68117 }
68118 _ACEOF
68119 if ac_fn_cxx_try_compile "$LINENO"; then :
68120 glibcxx_cv_func__fmodl_use=yes
68121 else
68122 glibcxx_cv_func__fmodl_use=no
68123 fi
68124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68125 ac_ext=c
68126 ac_cpp='$CPP $CPPFLAGS'
68127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68130
68131
68132 fi
68133
68134 fi
68135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
68136 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
68137
68138 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
68139 for ac_func in _fmodl
68140 do :
68141 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
68142 if test "x$ac_cv_func__fmodl" = x""yes; then :
68143 cat >>confdefs.h <<_ACEOF
68144 #define HAVE__FMODL 1
68145 _ACEOF
68146
68147 fi
68148 done
68149
68150 fi
68151 fi
68152
68153
68154
68155
68156
68157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
68158 $as_echo_n "checking for frexpl declaration... " >&6; }
68159 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68160 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
68161 $as_echo_n "(cached) " >&6
68162 else
68163
68164
68165 ac_ext=cpp
68166 ac_cpp='$CXXCPP $CPPFLAGS'
68167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68170
68171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68172 /* end confdefs.h. */
68173 #include <math.h>
68174 int
68175 main ()
68176 {
68177 frexpl(0, 0);
68178 ;
68179 return 0;
68180 }
68181 _ACEOF
68182 if ac_fn_cxx_try_compile "$LINENO"; then :
68183 glibcxx_cv_func_frexpl_use=yes
68184 else
68185 glibcxx_cv_func_frexpl_use=no
68186 fi
68187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68188 ac_ext=c
68189 ac_cpp='$CPP $CPPFLAGS'
68190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68193
68194
68195 fi
68196
68197 fi
68198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
68199 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
68200
68201 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68202 for ac_func in frexpl
68203 do :
68204 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
68205 if test "x$ac_cv_func_frexpl" = x""yes; then :
68206 cat >>confdefs.h <<_ACEOF
68207 #define HAVE_FREXPL 1
68208 _ACEOF
68209
68210 fi
68211 done
68212
68213 else
68214
68215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
68216 $as_echo_n "checking for _frexpl declaration... " >&6; }
68217 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68218 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
68219 $as_echo_n "(cached) " >&6
68220 else
68221
68222
68223 ac_ext=cpp
68224 ac_cpp='$CXXCPP $CPPFLAGS'
68225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68228
68229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68230 /* end confdefs.h. */
68231 #include <math.h>
68232 int
68233 main ()
68234 {
68235 _frexpl(0, 0);
68236 ;
68237 return 0;
68238 }
68239 _ACEOF
68240 if ac_fn_cxx_try_compile "$LINENO"; then :
68241 glibcxx_cv_func__frexpl_use=yes
68242 else
68243 glibcxx_cv_func__frexpl_use=no
68244 fi
68245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68246 ac_ext=c
68247 ac_cpp='$CPP $CPPFLAGS'
68248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68251
68252
68253 fi
68254
68255 fi
68256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
68257 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
68258
68259 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68260 for ac_func in _frexpl
68261 do :
68262 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
68263 if test "x$ac_cv_func__frexpl" = x""yes; then :
68264 cat >>confdefs.h <<_ACEOF
68265 #define HAVE__FREXPL 1
68266 _ACEOF
68267
68268 fi
68269 done
68270
68271 fi
68272 fi
68273
68274
68275
68276
68277
68278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
68279 $as_echo_n "checking for hypotl declaration... " >&6; }
68280 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68281 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
68282 $as_echo_n "(cached) " >&6
68283 else
68284
68285
68286 ac_ext=cpp
68287 ac_cpp='$CXXCPP $CPPFLAGS'
68288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68291
68292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68293 /* end confdefs.h. */
68294 #include <math.h>
68295 int
68296 main ()
68297 {
68298 hypotl(0, 0);
68299 ;
68300 return 0;
68301 }
68302 _ACEOF
68303 if ac_fn_cxx_try_compile "$LINENO"; then :
68304 glibcxx_cv_func_hypotl_use=yes
68305 else
68306 glibcxx_cv_func_hypotl_use=no
68307 fi
68308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68309 ac_ext=c
68310 ac_cpp='$CPP $CPPFLAGS'
68311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68314
68315
68316 fi
68317
68318 fi
68319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
68320 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
68321
68322 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68323 for ac_func in hypotl
68324 do :
68325 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
68326 if test "x$ac_cv_func_hypotl" = x""yes; then :
68327 cat >>confdefs.h <<_ACEOF
68328 #define HAVE_HYPOTL 1
68329 _ACEOF
68330
68331 fi
68332 done
68333
68334 else
68335
68336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
68337 $as_echo_n "checking for _hypotl declaration... " >&6; }
68338 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68339 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
68340 $as_echo_n "(cached) " >&6
68341 else
68342
68343
68344 ac_ext=cpp
68345 ac_cpp='$CXXCPP $CPPFLAGS'
68346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68349
68350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68351 /* end confdefs.h. */
68352 #include <math.h>
68353 int
68354 main ()
68355 {
68356 _hypotl(0, 0);
68357 ;
68358 return 0;
68359 }
68360 _ACEOF
68361 if ac_fn_cxx_try_compile "$LINENO"; then :
68362 glibcxx_cv_func__hypotl_use=yes
68363 else
68364 glibcxx_cv_func__hypotl_use=no
68365 fi
68366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68367 ac_ext=c
68368 ac_cpp='$CPP $CPPFLAGS'
68369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68372
68373
68374 fi
68375
68376 fi
68377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
68378 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
68379
68380 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68381 for ac_func in _hypotl
68382 do :
68383 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
68384 if test "x$ac_cv_func__hypotl" = x""yes; then :
68385 cat >>confdefs.h <<_ACEOF
68386 #define HAVE__HYPOTL 1
68387 _ACEOF
68388
68389 fi
68390 done
68391
68392 fi
68393 fi
68394
68395
68396
68397
68398
68399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
68400 $as_echo_n "checking for ldexpl declaration... " >&6; }
68401 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68402 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
68403 $as_echo_n "(cached) " >&6
68404 else
68405
68406
68407 ac_ext=cpp
68408 ac_cpp='$CXXCPP $CPPFLAGS'
68409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68412
68413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68414 /* end confdefs.h. */
68415 #include <math.h>
68416 int
68417 main ()
68418 {
68419 ldexpl(0, 0);
68420 ;
68421 return 0;
68422 }
68423 _ACEOF
68424 if ac_fn_cxx_try_compile "$LINENO"; then :
68425 glibcxx_cv_func_ldexpl_use=yes
68426 else
68427 glibcxx_cv_func_ldexpl_use=no
68428 fi
68429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68430 ac_ext=c
68431 ac_cpp='$CPP $CPPFLAGS'
68432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68435
68436
68437 fi
68438
68439 fi
68440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
68441 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
68442
68443 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68444 for ac_func in ldexpl
68445 do :
68446 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
68447 if test "x$ac_cv_func_ldexpl" = x""yes; then :
68448 cat >>confdefs.h <<_ACEOF
68449 #define HAVE_LDEXPL 1
68450 _ACEOF
68451
68452 fi
68453 done
68454
68455 else
68456
68457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
68458 $as_echo_n "checking for _ldexpl declaration... " >&6; }
68459 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68460 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
68461 $as_echo_n "(cached) " >&6
68462 else
68463
68464
68465 ac_ext=cpp
68466 ac_cpp='$CXXCPP $CPPFLAGS'
68467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68470
68471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68472 /* end confdefs.h. */
68473 #include <math.h>
68474 int
68475 main ()
68476 {
68477 _ldexpl(0, 0);
68478 ;
68479 return 0;
68480 }
68481 _ACEOF
68482 if ac_fn_cxx_try_compile "$LINENO"; then :
68483 glibcxx_cv_func__ldexpl_use=yes
68484 else
68485 glibcxx_cv_func__ldexpl_use=no
68486 fi
68487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68488 ac_ext=c
68489 ac_cpp='$CPP $CPPFLAGS'
68490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68493
68494
68495 fi
68496
68497 fi
68498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
68499 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
68500
68501 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68502 for ac_func in _ldexpl
68503 do :
68504 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
68505 if test "x$ac_cv_func__ldexpl" = x""yes; then :
68506 cat >>confdefs.h <<_ACEOF
68507 #define HAVE__LDEXPL 1
68508 _ACEOF
68509
68510 fi
68511 done
68512
68513 fi
68514 fi
68515
68516
68517
68518
68519
68520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
68521 $as_echo_n "checking for logl declaration... " >&6; }
68522 if test x${glibcxx_cv_func_logl_use+set} != xset; then
68523 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
68524 $as_echo_n "(cached) " >&6
68525 else
68526
68527
68528 ac_ext=cpp
68529 ac_cpp='$CXXCPP $CPPFLAGS'
68530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68533
68534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68535 /* end confdefs.h. */
68536 #include <math.h>
68537 #ifdef HAVE_IEEEFP_H
68538 #include <ieeefp.h>
68539 #endif
68540
68541 int
68542 main ()
68543 {
68544 logl(0);
68545 ;
68546 return 0;
68547 }
68548 _ACEOF
68549 if ac_fn_cxx_try_compile "$LINENO"; then :
68550 glibcxx_cv_func_logl_use=yes
68551 else
68552 glibcxx_cv_func_logl_use=no
68553 fi
68554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68555 ac_ext=c
68556 ac_cpp='$CPP $CPPFLAGS'
68557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68560
68561
68562 fi
68563
68564 fi
68565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
68566 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
68567
68568 if test x$glibcxx_cv_func_logl_use = x"yes"; then
68569 for ac_func in logl
68570 do :
68571 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
68572 if test "x$ac_cv_func_logl" = x""yes; then :
68573 cat >>confdefs.h <<_ACEOF
68574 #define HAVE_LOGL 1
68575 _ACEOF
68576
68577 fi
68578 done
68579
68580 else
68581
68582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
68583 $as_echo_n "checking for _logl declaration... " >&6; }
68584 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68585 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
68586 $as_echo_n "(cached) " >&6
68587 else
68588
68589
68590 ac_ext=cpp
68591 ac_cpp='$CXXCPP $CPPFLAGS'
68592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68595
68596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68597 /* end confdefs.h. */
68598 #include <math.h>
68599 #ifdef HAVE_IEEEFP_H
68600 #include <ieeefp.h>
68601 #endif
68602
68603 int
68604 main ()
68605 {
68606 _logl(0);
68607 ;
68608 return 0;
68609 }
68610 _ACEOF
68611 if ac_fn_cxx_try_compile "$LINENO"; then :
68612 glibcxx_cv_func__logl_use=yes
68613 else
68614 glibcxx_cv_func__logl_use=no
68615 fi
68616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68617 ac_ext=c
68618 ac_cpp='$CPP $CPPFLAGS'
68619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68622
68623
68624 fi
68625
68626 fi
68627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
68628 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
68629
68630 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68631 for ac_func in _logl
68632 do :
68633 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
68634 if test "x$ac_cv_func__logl" = x""yes; then :
68635 cat >>confdefs.h <<_ACEOF
68636 #define HAVE__LOGL 1
68637 _ACEOF
68638
68639 fi
68640 done
68641
68642 fi
68643 fi
68644
68645
68646
68647
68648
68649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
68650 $as_echo_n "checking for log10l declaration... " >&6; }
68651 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68652 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
68653 $as_echo_n "(cached) " >&6
68654 else
68655
68656
68657 ac_ext=cpp
68658 ac_cpp='$CXXCPP $CPPFLAGS'
68659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68662
68663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68664 /* end confdefs.h. */
68665 #include <math.h>
68666 #ifdef HAVE_IEEEFP_H
68667 #include <ieeefp.h>
68668 #endif
68669
68670 int
68671 main ()
68672 {
68673 log10l(0);
68674 ;
68675 return 0;
68676 }
68677 _ACEOF
68678 if ac_fn_cxx_try_compile "$LINENO"; then :
68679 glibcxx_cv_func_log10l_use=yes
68680 else
68681 glibcxx_cv_func_log10l_use=no
68682 fi
68683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68684 ac_ext=c
68685 ac_cpp='$CPP $CPPFLAGS'
68686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68689
68690
68691 fi
68692
68693 fi
68694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
68695 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
68696
68697 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68698 for ac_func in log10l
68699 do :
68700 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
68701 if test "x$ac_cv_func_log10l" = x""yes; then :
68702 cat >>confdefs.h <<_ACEOF
68703 #define HAVE_LOG10L 1
68704 _ACEOF
68705
68706 fi
68707 done
68708
68709 else
68710
68711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
68712 $as_echo_n "checking for _log10l declaration... " >&6; }
68713 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68714 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
68715 $as_echo_n "(cached) " >&6
68716 else
68717
68718
68719 ac_ext=cpp
68720 ac_cpp='$CXXCPP $CPPFLAGS'
68721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68724
68725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68726 /* end confdefs.h. */
68727 #include <math.h>
68728 #ifdef HAVE_IEEEFP_H
68729 #include <ieeefp.h>
68730 #endif
68731
68732 int
68733 main ()
68734 {
68735 _log10l(0);
68736 ;
68737 return 0;
68738 }
68739 _ACEOF
68740 if ac_fn_cxx_try_compile "$LINENO"; then :
68741 glibcxx_cv_func__log10l_use=yes
68742 else
68743 glibcxx_cv_func__log10l_use=no
68744 fi
68745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68746 ac_ext=c
68747 ac_cpp='$CPP $CPPFLAGS'
68748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68751
68752
68753 fi
68754
68755 fi
68756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
68757 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
68758
68759 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68760 for ac_func in _log10l
68761 do :
68762 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
68763 if test "x$ac_cv_func__log10l" = x""yes; then :
68764 cat >>confdefs.h <<_ACEOF
68765 #define HAVE__LOG10L 1
68766 _ACEOF
68767
68768 fi
68769 done
68770
68771 fi
68772 fi
68773
68774
68775
68776
68777
68778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
68779 $as_echo_n "checking for modfl declaration... " >&6; }
68780 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68781 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
68782 $as_echo_n "(cached) " >&6
68783 else
68784
68785
68786 ac_ext=cpp
68787 ac_cpp='$CXXCPP $CPPFLAGS'
68788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68791
68792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68793 /* end confdefs.h. */
68794 #include <math.h>
68795 int
68796 main ()
68797 {
68798 modfl(0, 0);
68799 ;
68800 return 0;
68801 }
68802 _ACEOF
68803 if ac_fn_cxx_try_compile "$LINENO"; then :
68804 glibcxx_cv_func_modfl_use=yes
68805 else
68806 glibcxx_cv_func_modfl_use=no
68807 fi
68808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68809 ac_ext=c
68810 ac_cpp='$CPP $CPPFLAGS'
68811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68814
68815
68816 fi
68817
68818 fi
68819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
68820 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
68821
68822 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68823 for ac_func in modfl
68824 do :
68825 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
68826 if test "x$ac_cv_func_modfl" = x""yes; then :
68827 cat >>confdefs.h <<_ACEOF
68828 #define HAVE_MODFL 1
68829 _ACEOF
68830
68831 fi
68832 done
68833
68834 else
68835
68836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
68837 $as_echo_n "checking for _modfl declaration... " >&6; }
68838 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68839 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
68840 $as_echo_n "(cached) " >&6
68841 else
68842
68843
68844 ac_ext=cpp
68845 ac_cpp='$CXXCPP $CPPFLAGS'
68846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68849
68850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68851 /* end confdefs.h. */
68852 #include <math.h>
68853 int
68854 main ()
68855 {
68856 _modfl(0, 0);
68857 ;
68858 return 0;
68859 }
68860 _ACEOF
68861 if ac_fn_cxx_try_compile "$LINENO"; then :
68862 glibcxx_cv_func__modfl_use=yes
68863 else
68864 glibcxx_cv_func__modfl_use=no
68865 fi
68866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68867 ac_ext=c
68868 ac_cpp='$CPP $CPPFLAGS'
68869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68872
68873
68874 fi
68875
68876 fi
68877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
68878 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
68879
68880 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68881 for ac_func in _modfl
68882 do :
68883 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
68884 if test "x$ac_cv_func__modfl" = x""yes; then :
68885 cat >>confdefs.h <<_ACEOF
68886 #define HAVE__MODFL 1
68887 _ACEOF
68888
68889 fi
68890 done
68891
68892 fi
68893 fi
68894
68895
68896
68897
68898
68899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
68900 $as_echo_n "checking for powl declaration... " >&6; }
68901 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68902 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
68903 $as_echo_n "(cached) " >&6
68904 else
68905
68906
68907 ac_ext=cpp
68908 ac_cpp='$CXXCPP $CPPFLAGS'
68909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68912
68913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68914 /* end confdefs.h. */
68915 #include <math.h>
68916 int
68917 main ()
68918 {
68919 powl(0, 0);
68920 ;
68921 return 0;
68922 }
68923 _ACEOF
68924 if ac_fn_cxx_try_compile "$LINENO"; then :
68925 glibcxx_cv_func_powl_use=yes
68926 else
68927 glibcxx_cv_func_powl_use=no
68928 fi
68929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68930 ac_ext=c
68931 ac_cpp='$CPP $CPPFLAGS'
68932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68935
68936
68937 fi
68938
68939 fi
68940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
68941 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
68942
68943 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68944 for ac_func in powl
68945 do :
68946 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
68947 if test "x$ac_cv_func_powl" = x""yes; then :
68948 cat >>confdefs.h <<_ACEOF
68949 #define HAVE_POWL 1
68950 _ACEOF
68951
68952 fi
68953 done
68954
68955 else
68956
68957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
68958 $as_echo_n "checking for _powl declaration... " >&6; }
68959 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68960 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
68961 $as_echo_n "(cached) " >&6
68962 else
68963
68964
68965 ac_ext=cpp
68966 ac_cpp='$CXXCPP $CPPFLAGS'
68967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68970
68971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68972 /* end confdefs.h. */
68973 #include <math.h>
68974 int
68975 main ()
68976 {
68977 _powl(0, 0);
68978 ;
68979 return 0;
68980 }
68981 _ACEOF
68982 if ac_fn_cxx_try_compile "$LINENO"; then :
68983 glibcxx_cv_func__powl_use=yes
68984 else
68985 glibcxx_cv_func__powl_use=no
68986 fi
68987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68988 ac_ext=c
68989 ac_cpp='$CPP $CPPFLAGS'
68990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68993
68994
68995 fi
68996
68997 fi
68998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
68999 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
69000
69001 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69002 for ac_func in _powl
69003 do :
69004 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
69005 if test "x$ac_cv_func__powl" = x""yes; then :
69006 cat >>confdefs.h <<_ACEOF
69007 #define HAVE__POWL 1
69008 _ACEOF
69009
69010 fi
69011 done
69012
69013 fi
69014 fi
69015
69016
69017
69018
69019
69020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
69021 $as_echo_n "checking for sqrtl declaration... " >&6; }
69022 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69023 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
69024 $as_echo_n "(cached) " >&6
69025 else
69026
69027
69028 ac_ext=cpp
69029 ac_cpp='$CXXCPP $CPPFLAGS'
69030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69033
69034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69035 /* end confdefs.h. */
69036 #include <math.h>
69037 #ifdef HAVE_IEEEFP_H
69038 #include <ieeefp.h>
69039 #endif
69040
69041 int
69042 main ()
69043 {
69044 sqrtl(0);
69045 ;
69046 return 0;
69047 }
69048 _ACEOF
69049 if ac_fn_cxx_try_compile "$LINENO"; then :
69050 glibcxx_cv_func_sqrtl_use=yes
69051 else
69052 glibcxx_cv_func_sqrtl_use=no
69053 fi
69054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69055 ac_ext=c
69056 ac_cpp='$CPP $CPPFLAGS'
69057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69060
69061
69062 fi
69063
69064 fi
69065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69066 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69067
69068 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69069 for ac_func in sqrtl
69070 do :
69071 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
69072 if test "x$ac_cv_func_sqrtl" = x""yes; then :
69073 cat >>confdefs.h <<_ACEOF
69074 #define HAVE_SQRTL 1
69075 _ACEOF
69076
69077 fi
69078 done
69079
69080 else
69081
69082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
69083 $as_echo_n "checking for _sqrtl declaration... " >&6; }
69084 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69085 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
69086 $as_echo_n "(cached) " >&6
69087 else
69088
69089
69090 ac_ext=cpp
69091 ac_cpp='$CXXCPP $CPPFLAGS'
69092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69095
69096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69097 /* end confdefs.h. */
69098 #include <math.h>
69099 #ifdef HAVE_IEEEFP_H
69100 #include <ieeefp.h>
69101 #endif
69102
69103 int
69104 main ()
69105 {
69106 _sqrtl(0);
69107 ;
69108 return 0;
69109 }
69110 _ACEOF
69111 if ac_fn_cxx_try_compile "$LINENO"; then :
69112 glibcxx_cv_func__sqrtl_use=yes
69113 else
69114 glibcxx_cv_func__sqrtl_use=no
69115 fi
69116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69117 ac_ext=c
69118 ac_cpp='$CPP $CPPFLAGS'
69119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69122
69123
69124 fi
69125
69126 fi
69127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
69128 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
69129
69130 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69131 for ac_func in _sqrtl
69132 do :
69133 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
69134 if test "x$ac_cv_func__sqrtl" = x""yes; then :
69135 cat >>confdefs.h <<_ACEOF
69136 #define HAVE__SQRTL 1
69137 _ACEOF
69138
69139 fi
69140 done
69141
69142 fi
69143 fi
69144
69145
69146
69147
69148
69149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
69150 $as_echo_n "checking for sincosl declaration... " >&6; }
69151 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69152 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
69153 $as_echo_n "(cached) " >&6
69154 else
69155
69156
69157 ac_ext=cpp
69158 ac_cpp='$CXXCPP $CPPFLAGS'
69159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69162
69163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69164 /* end confdefs.h. */
69165 #include <math.h>
69166 int
69167 main ()
69168 {
69169 sincosl(0, 0, 0);
69170 ;
69171 return 0;
69172 }
69173 _ACEOF
69174 if ac_fn_cxx_try_compile "$LINENO"; then :
69175 glibcxx_cv_func_sincosl_use=yes
69176 else
69177 glibcxx_cv_func_sincosl_use=no
69178 fi
69179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69180 ac_ext=c
69181 ac_cpp='$CPP $CPPFLAGS'
69182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69185
69186
69187 fi
69188
69189 fi
69190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
69191 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
69192
69193 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69194 for ac_func in sincosl
69195 do :
69196 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
69197 if test "x$ac_cv_func_sincosl" = x""yes; then :
69198 cat >>confdefs.h <<_ACEOF
69199 #define HAVE_SINCOSL 1
69200 _ACEOF
69201
69202 fi
69203 done
69204
69205 else
69206
69207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
69208 $as_echo_n "checking for _sincosl declaration... " >&6; }
69209 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69210 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
69211 $as_echo_n "(cached) " >&6
69212 else
69213
69214
69215 ac_ext=cpp
69216 ac_cpp='$CXXCPP $CPPFLAGS'
69217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69220
69221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69222 /* end confdefs.h. */
69223 #include <math.h>
69224 int
69225 main ()
69226 {
69227 _sincosl(0, 0, 0);
69228 ;
69229 return 0;
69230 }
69231 _ACEOF
69232 if ac_fn_cxx_try_compile "$LINENO"; then :
69233 glibcxx_cv_func__sincosl_use=yes
69234 else
69235 glibcxx_cv_func__sincosl_use=no
69236 fi
69237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69238 ac_ext=c
69239 ac_cpp='$CPP $CPPFLAGS'
69240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69243
69244
69245 fi
69246
69247 fi
69248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
69249 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
69250
69251 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69252 for ac_func in _sincosl
69253 do :
69254 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
69255 if test "x$ac_cv_func__sincosl" = x""yes; then :
69256 cat >>confdefs.h <<_ACEOF
69257 #define HAVE__SINCOSL 1
69258 _ACEOF
69259
69260 fi
69261 done
69262
69263 fi
69264 fi
69265
69266
69267
69268
69269
69270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
69271 $as_echo_n "checking for finitel declaration... " >&6; }
69272 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69273 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
69274 $as_echo_n "(cached) " >&6
69275 else
69276
69277
69278 ac_ext=cpp
69279 ac_cpp='$CXXCPP $CPPFLAGS'
69280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69283
69284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69285 /* end confdefs.h. */
69286 #include <math.h>
69287 #ifdef HAVE_IEEEFP_H
69288 #include <ieeefp.h>
69289 #endif
69290
69291 int
69292 main ()
69293 {
69294 finitel(0);
69295 ;
69296 return 0;
69297 }
69298 _ACEOF
69299 if ac_fn_cxx_try_compile "$LINENO"; then :
69300 glibcxx_cv_func_finitel_use=yes
69301 else
69302 glibcxx_cv_func_finitel_use=no
69303 fi
69304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69305 ac_ext=c
69306 ac_cpp='$CPP $CPPFLAGS'
69307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69310
69311
69312 fi
69313
69314 fi
69315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
69316 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
69317
69318 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69319 for ac_func in finitel
69320 do :
69321 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
69322 if test "x$ac_cv_func_finitel" = x""yes; then :
69323 cat >>confdefs.h <<_ACEOF
69324 #define HAVE_FINITEL 1
69325 _ACEOF
69326
69327 fi
69328 done
69329
69330 else
69331
69332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
69333 $as_echo_n "checking for _finitel declaration... " >&6; }
69334 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69335 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
69336 $as_echo_n "(cached) " >&6
69337 else
69338
69339
69340 ac_ext=cpp
69341 ac_cpp='$CXXCPP $CPPFLAGS'
69342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69345
69346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69347 /* end confdefs.h. */
69348 #include <math.h>
69349 #ifdef HAVE_IEEEFP_H
69350 #include <ieeefp.h>
69351 #endif
69352
69353 int
69354 main ()
69355 {
69356 _finitel(0);
69357 ;
69358 return 0;
69359 }
69360 _ACEOF
69361 if ac_fn_cxx_try_compile "$LINENO"; then :
69362 glibcxx_cv_func__finitel_use=yes
69363 else
69364 glibcxx_cv_func__finitel_use=no
69365 fi
69366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69367 ac_ext=c
69368 ac_cpp='$CPP $CPPFLAGS'
69369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69372
69373
69374 fi
69375
69376 fi
69377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
69378 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
69379
69380 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69381 for ac_func in _finitel
69382 do :
69383 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
69384 if test "x$ac_cv_func__finitel" = x""yes; then :
69385 cat >>confdefs.h <<_ACEOF
69386 #define HAVE__FINITEL 1
69387 _ACEOF
69388
69389 fi
69390 done
69391
69392 fi
69393 fi
69394
69395
69396
69397
69398 LIBS="$ac_save_LIBS"
69399 CXXFLAGS="$ac_save_CXXFLAGS"
69400
69401
69402 ac_test_CXXFLAGS="${CXXFLAGS+set}"
69403 ac_save_CXXFLAGS="$CXXFLAGS"
69404 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
69405
69406
69407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
69408 $as_echo_n "checking for strtold declaration... " >&6; }
69409 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
69410 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
69411 $as_echo_n "(cached) " >&6
69412 else
69413
69414
69415 ac_ext=cpp
69416 ac_cpp='$CXXCPP $CPPFLAGS'
69417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69420
69421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69422 /* end confdefs.h. */
69423 #include <stdlib.h>
69424 int
69425 main ()
69426 {
69427 strtold(0, 0);
69428 ;
69429 return 0;
69430 }
69431 _ACEOF
69432 if ac_fn_cxx_try_compile "$LINENO"; then :
69433 glibcxx_cv_func_strtold_use=yes
69434 else
69435 glibcxx_cv_func_strtold_use=no
69436 fi
69437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69438 ac_ext=c
69439 ac_cpp='$CPP $CPPFLAGS'
69440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69443
69444
69445 fi
69446
69447 fi
69448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
69449 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
69450 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
69451 for ac_func in strtold
69452 do :
69453 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
69454 if test "x$ac_cv_func_strtold" = x""yes; then :
69455 cat >>confdefs.h <<_ACEOF
69456 #define HAVE_STRTOLD 1
69457 _ACEOF
69458
69459 fi
69460 done
69461
69462 fi
69463
69464
69465
69466
69467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
69468 $as_echo_n "checking for strtof declaration... " >&6; }
69469 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
69470 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
69471 $as_echo_n "(cached) " >&6
69472 else
69473
69474
69475 ac_ext=cpp
69476 ac_cpp='$CXXCPP $CPPFLAGS'
69477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69480
69481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69482 /* end confdefs.h. */
69483 #include <stdlib.h>
69484 int
69485 main ()
69486 {
69487 strtof(0, 0);
69488 ;
69489 return 0;
69490 }
69491 _ACEOF
69492 if ac_fn_cxx_try_compile "$LINENO"; then :
69493 glibcxx_cv_func_strtof_use=yes
69494 else
69495 glibcxx_cv_func_strtof_use=no
69496 fi
69497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69498 ac_ext=c
69499 ac_cpp='$CPP $CPPFLAGS'
69500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69503
69504
69505 fi
69506
69507 fi
69508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
69509 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
69510 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
69511 for ac_func in strtof
69512 do :
69513 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
69514 if test "x$ac_cv_func_strtof" = x""yes; then :
69515 cat >>confdefs.h <<_ACEOF
69516 #define HAVE_STRTOF 1
69517 _ACEOF
69518
69519 fi
69520 done
69521
69522 fi
69523
69524
69525
69526
69527 CXXFLAGS="$ac_save_CXXFLAGS"
69528
69529 ;;
69530 *-vxworks)
69531 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
69532
69533 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
69534
69535 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
69536
69537 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
69538
69539 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
69540
69541 $as_echo "#define HAVE_COSF 1" >>confdefs.h
69542
69543 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
69544
69545 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
69546
69547 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
69548
69549 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
69550
69551 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
69552
69553 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
69554
69555 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
69556
69557 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
69558
69559 $as_echo "#define HAVE_POWF 1" >>confdefs.h
69560
69561 $as_echo "#define HAVE_SINF 1" >>confdefs.h
69562
69563 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
69564
69565 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
69566
69567 $as_echo "#define HAVE_TANF 1" >>confdefs.h
69568
69569 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
69570
69571 ;;
69572 *)
69573 as_fn_error "No support for this host/target combination." "$LINENO" 5
69574 ;;
69575 esac
69576
69577 fi
69578
69579 # At some point, we should differentiate between architectures
69580 # like x86, which have long double versions, and alpha/powerpc/etc.,
69581 # which don't. For the time being, punt.
69582 if test x"long_double_math_on_this_cpu" = x"yes"; then
69583 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
69584
69585 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
69586
69587 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
69588
69589 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
69590
69591 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
69592
69593 $as_echo "#define HAVE_COSL 1" >>confdefs.h
69594
69595 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
69596
69597 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
69598
69599 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
69600
69601 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
69602
69603 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
69604
69605 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
69606
69607 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
69608
69609 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
69610
69611 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
69612
69613 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
69614
69615 $as_echo "#define HAVE_POWL 1" >>confdefs.h
69616
69617 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
69618
69619 $as_echo "#define HAVE_SINL 1" >>confdefs.h
69620
69621 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
69622
69623 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
69624
69625 $as_echo "#define HAVE_TANL 1" >>confdefs.h
69626
69627 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
69628
69629 fi
69630 fi
69631
69632 # Check for _Unwind_GetIPInfo.
69633
69634
69635 # Check whether --with-system-libunwind was given.
69636 if test "${with_system_libunwind+set}" = set; then :
69637 withval=$with_system_libunwind;
69638 fi
69639
69640 # If system-libunwind was not specifically set, pick a default setting.
69641 if test x$with_system_libunwind = x; then
69642 case ${target} in
69643 ia64-*-hpux*) with_system_libunwind=yes ;;
69644 *) with_system_libunwind=no ;;
69645 esac
69646 fi
69647 # Based on system-libunwind and target, do we have ipinfo?
69648 if test x$with_system_libunwind = xyes; then
69649 case ${target} in
69650 ia64-*-*) have_unwind_getipinfo=no ;;
69651 *) have_unwind_getipinfo=yes ;;
69652 esac
69653 else
69654 # Darwin before version 9 does not have _Unwind_GetIPInfo.
69655
69656 case ${target} in
69657 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
69658 *) have_unwind_getipinfo=yes ;;
69659 esac
69660
69661 fi
69662
69663 if test x$have_unwind_getipinfo = xyes; then
69664
69665 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
69666
69667 fi
69668
69669
69670 # Check whether --enable-linux-futex was given.
69671 if test "${enable_linux_futex+set}" = set; then :
69672 enableval=$enable_linux_futex;
69673 case "$enableval" in
69674 yes|no|default) ;;
69675 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
69676 esac
69677
69678 else
69679 enable_linux_futex=default
69680 fi
69681
69682
69683 case "$target" in
69684 *-linux*)
69685 case "$enable_linux_futex" in
69686 default)
69687 # If headers don't have gettid/futex syscalls definition, then
69688 # default to no, otherwise there will be compile time failures.
69689 # Otherwise, default to yes. If we don't detect we are
69690 # compiled/linked against NPTL and not cross-compiling, check
69691 # if programs are run by default against NPTL and if not, issue
69692 # a warning.
69693 enable_linux_futex=no
69694 if test x$gcc_no_link = xyes; then
69695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69696 fi
69697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69698 /* end confdefs.h. */
69699 #include <sys/syscall.h>
69700 int lk;
69701 int
69702 main ()
69703 {
69704 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69705 ;
69706 return 0;
69707 }
69708 _ACEOF
69709 if ac_fn_c_try_link "$LINENO"; then :
69710 save_LIBS="$LIBS"
69711 LIBS="-lpthread $LIBS"
69712 if test x$gcc_no_link = xyes; then
69713 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69714 fi
69715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69716 /* end confdefs.h. */
69717 #ifndef _GNU_SOURCE
69718 #define _GNU_SOURCE 1
69719 #endif
69720 #include <pthread.h>
69721 pthread_t th; void *status;
69722 int
69723 main ()
69724 {
69725 pthread_tryjoin_np (th, &status);
69726 ;
69727 return 0;
69728 }
69729 _ACEOF
69730 if ac_fn_c_try_link "$LINENO"; then :
69731 enable_linux_futex=yes
69732 else
69733 if test x$cross_compiling = xno; then
69734 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
69735 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
69736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
69737 If so, please configure with --disable-linux-futex" >&5
69738 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
69739 If so, please configure with --disable-linux-futex" >&2;}
69740 fi
69741 fi
69742 enable_linux_futex=yes
69743 fi
69744 rm -f core conftest.err conftest.$ac_objext \
69745 conftest$ac_exeext conftest.$ac_ext
69746 LIBS="$save_LIBS"
69747 fi
69748 rm -f core conftest.err conftest.$ac_objext \
69749 conftest$ac_exeext conftest.$ac_ext
69750 ;;
69751 yes)
69752 if test x$gcc_no_link = xyes; then
69753 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69754 fi
69755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69756 /* end confdefs.h. */
69757 #include <sys/syscall.h>
69758 int lk;
69759 int
69760 main ()
69761 {
69762 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69763 ;
69764 return 0;
69765 }
69766 _ACEOF
69767 if ac_fn_c_try_link "$LINENO"; then :
69768
69769 else
69770 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
69771 fi
69772 rm -f core conftest.err conftest.$ac_objext \
69773 conftest$ac_exeext conftest.$ac_ext
69774 ;;
69775 esac
69776 ;;
69777 *)
69778 enable_linux_futex=no
69779 ;;
69780 esac
69781 if test x$enable_linux_futex = xyes; then
69782
69783 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
69784
69785 fi
69786
69787
69788
69789
69790 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
69791
69792 acx_cv_header_stdint=stddef.h
69793 acx_cv_header_stdint_kind="(already complete)"
69794 for i in stdint.h $inttype_headers; do
69795 unset ac_cv_type_uintptr_t
69796 unset ac_cv_type_uintmax_t
69797 unset ac_cv_type_int_least32_t
69798 unset ac_cv_type_int_fast32_t
69799 unset ac_cv_type_uint64_t
69800 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
69801 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
69802 #include <$i>
69803 "
69804 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
69805 acx_cv_header_stdint=$i
69806 else
69807 continue
69808 fi
69809
69810 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69811 #include <$i>
69812 "
69813 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69814
69815 else
69816 acx_cv_header_stdint_kind="(mostly complete)"
69817 fi
69818
69819 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
69820 #include <$i>
69821 "
69822 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
69823
69824 else
69825 acx_cv_header_stdint_kind="(mostly complete)"
69826 fi
69827
69828 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
69829 #include <$i>
69830 "
69831 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
69832
69833 else
69834 acx_cv_header_stdint_kind="(mostly complete)"
69835 fi
69836
69837 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69838 #include <$i>
69839 "
69840 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69841
69842 else
69843 acx_cv_header_stdint_kind="(lacks uint64_t)"
69844 fi
69845
69846 break
69847 done
69848 if test "$acx_cv_header_stdint" = stddef.h; then
69849 acx_cv_header_stdint_kind="(lacks uintmax_t)"
69850 for i in stdint.h $inttype_headers; do
69851 unset ac_cv_type_uintptr_t
69852 unset ac_cv_type_uint32_t
69853 unset ac_cv_type_uint64_t
69854 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
69855 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
69856 #include <$i>
69857 "
69858 if test "x$ac_cv_type_uint32_t" = x""yes; then :
69859 acx_cv_header_stdint=$i
69860 else
69861 continue
69862 fi
69863
69864 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69865 #include <$i>
69866 "
69867 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69868
69869 fi
69870
69871 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69872 #include <$i>
69873 "
69874 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69875
69876 fi
69877
69878 break
69879 done
69880 fi
69881 if test "$acx_cv_header_stdint" = stddef.h; then
69882 acx_cv_header_stdint_kind="(u_intXX_t style)"
69883 for i in sys/types.h $inttype_headers; do
69884 unset ac_cv_type_u_int32_t
69885 unset ac_cv_type_u_int64_t
69886 $as_echo_n "looking for u_intXX_t types in $i, " >&6
69887 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
69888 #include <$i>
69889 "
69890 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
69891 acx_cv_header_stdint=$i
69892 else
69893 continue
69894 fi
69895
69896 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
69897 #include <$i>
69898 "
69899 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
69900
69901 fi
69902
69903 break
69904 done
69905 fi
69906 if test "$acx_cv_header_stdint" = stddef.h; then
69907 acx_cv_header_stdint_kind="(using manual detection)"
69908 fi
69909
69910 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
69911 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
69912 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
69913 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
69914 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
69915
69916 # ----------------- Summarize what we found so far
69917
69918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
69919 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
69920
69921 case `$as_basename -- include/gstdint.h ||
69922 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
69923 Xinclude/gstdint.h : 'X\(//\)$' \| \
69924 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
69925 $as_echo X/include/gstdint.h |
69926 sed '/^.*\/\([^/][^/]*\)\/*$/{
69927 s//\1/
69928 q
69929 }
69930 /^X\/\(\/\/\)$/{
69931 s//\1/
69932 q
69933 }
69934 /^X\/\(\/\).*/{
69935 s//\1/
69936 q
69937 }
69938 s/.*/./; q'` in
69939 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69940 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69941 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69942 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69943 *) ;;
69944 esac
69945
69946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
69947 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
69948
69949 # ----------------- done included file, check C basic types --------
69950
69951 # Lacking an uintptr_t? Test size of void *
69952 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
69953 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
69954 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69955 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69956 # This bug is HP SR number 8606223364.
69957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
69958 $as_echo_n "checking size of void *... " >&6; }
69959 if test "${ac_cv_sizeof_void_p+set}" = set; then :
69960 $as_echo_n "(cached) " >&6
69961 else
69962 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
69963
69964 else
69965 if test "$ac_cv_type_void_p" = yes; then
69966 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
69967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
69968 { as_fn_set_status 77
69969 as_fn_error "cannot compute sizeof (void *)
69970 See \`config.log' for more details." "$LINENO" 5; }; }
69971 else
69972 ac_cv_sizeof_void_p=0
69973 fi
69974 fi
69975
69976 fi
69977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
69978 $as_echo "$ac_cv_sizeof_void_p" >&6; }
69979
69980
69981
69982 cat >>confdefs.h <<_ACEOF
69983 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
69984 _ACEOF
69985
69986 ;;
69987 esac
69988
69989 # Lacking an uint64_t? Test size of long
69990 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
69991 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
69992 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69993 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69994 # This bug is HP SR number 8606223364.
69995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
69996 $as_echo_n "checking size of long... " >&6; }
69997 if test "${ac_cv_sizeof_long+set}" = set; then :
69998 $as_echo_n "(cached) " >&6
69999 else
70000 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
70001
70002 else
70003 if test "$ac_cv_type_long" = yes; then
70004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70006 { as_fn_set_status 77
70007 as_fn_error "cannot compute sizeof (long)
70008 See \`config.log' for more details." "$LINENO" 5; }; }
70009 else
70010 ac_cv_sizeof_long=0
70011 fi
70012 fi
70013
70014 fi
70015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
70016 $as_echo "$ac_cv_sizeof_long" >&6; }
70017
70018
70019
70020 cat >>confdefs.h <<_ACEOF
70021 #define SIZEOF_LONG $ac_cv_sizeof_long
70022 _ACEOF
70023
70024 ;;
70025 esac
70026
70027 if test $acx_cv_header_stdint = stddef.h; then
70028 # Lacking a good header? Test size of everything and deduce all types.
70029 # The cast to long int works around a bug in the HP C Compiler
70030 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70031 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70032 # This bug is HP SR number 8606223364.
70033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
70034 $as_echo_n "checking size of int... " >&6; }
70035 if test "${ac_cv_sizeof_int+set}" = set; then :
70036 $as_echo_n "(cached) " >&6
70037 else
70038 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
70039
70040 else
70041 if test "$ac_cv_type_int" = yes; then
70042 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70044 { as_fn_set_status 77
70045 as_fn_error "cannot compute sizeof (int)
70046 See \`config.log' for more details." "$LINENO" 5; }; }
70047 else
70048 ac_cv_sizeof_int=0
70049 fi
70050 fi
70051
70052 fi
70053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
70054 $as_echo "$ac_cv_sizeof_int" >&6; }
70055
70056
70057
70058 cat >>confdefs.h <<_ACEOF
70059 #define SIZEOF_INT $ac_cv_sizeof_int
70060 _ACEOF
70061
70062
70063 # The cast to long int works around a bug in the HP C Compiler
70064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70065 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70066 # This bug is HP SR number 8606223364.
70067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
70068 $as_echo_n "checking size of short... " >&6; }
70069 if test "${ac_cv_sizeof_short+set}" = set; then :
70070 $as_echo_n "(cached) " >&6
70071 else
70072 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
70073
70074 else
70075 if test "$ac_cv_type_short" = yes; then
70076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70078 { as_fn_set_status 77
70079 as_fn_error "cannot compute sizeof (short)
70080 See \`config.log' for more details." "$LINENO" 5; }; }
70081 else
70082 ac_cv_sizeof_short=0
70083 fi
70084 fi
70085
70086 fi
70087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
70088 $as_echo "$ac_cv_sizeof_short" >&6; }
70089
70090
70091
70092 cat >>confdefs.h <<_ACEOF
70093 #define SIZEOF_SHORT $ac_cv_sizeof_short
70094 _ACEOF
70095
70096
70097 # The cast to long int works around a bug in the HP C Compiler
70098 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70099 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70100 # This bug is HP SR number 8606223364.
70101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
70102 $as_echo_n "checking size of char... " >&6; }
70103 if test "${ac_cv_sizeof_char+set}" = set; then :
70104 $as_echo_n "(cached) " >&6
70105 else
70106 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
70107
70108 else
70109 if test "$ac_cv_type_char" = yes; then
70110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70112 { as_fn_set_status 77
70113 as_fn_error "cannot compute sizeof (char)
70114 See \`config.log' for more details." "$LINENO" 5; }; }
70115 else
70116 ac_cv_sizeof_char=0
70117 fi
70118 fi
70119
70120 fi
70121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
70122 $as_echo "$ac_cv_sizeof_char" >&6; }
70123
70124
70125
70126 cat >>confdefs.h <<_ACEOF
70127 #define SIZEOF_CHAR $ac_cv_sizeof_char
70128 _ACEOF
70129
70130
70131
70132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
70133 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
70134 case "$ac_cv_sizeof_char" in
70135 1) acx_cv_type_int8_t=char ;;
70136 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
70137 esac
70138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
70139 $as_echo "$acx_cv_type_int8_t" >&6; }
70140
70141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
70142 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
70143 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
70144 2:*) acx_cv_type_int16_t=int ;;
70145 *:2) acx_cv_type_int16_t=short ;;
70146 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
70147 esac
70148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
70149 $as_echo "$acx_cv_type_int16_t" >&6; }
70150
70151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
70152 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
70153 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
70154 4:*) acx_cv_type_int32_t=int ;;
70155 *:4) acx_cv_type_int32_t=long ;;
70156 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
70157 esac
70158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
70159 $as_echo "$acx_cv_type_int32_t" >&6; }
70160 fi
70161
70162 # These tests are here to make the output prettier
70163
70164 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
70165 case "$ac_cv_sizeof_long" in
70166 8) acx_cv_type_int64_t=long ;;
70167 esac
70168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
70169 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
70170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
70171 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
70172 fi
70173
70174 # Now we can use the above types
70175
70176 if test "$ac_cv_type_uintptr_t" != yes; then
70177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
70178 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
70179 case $ac_cv_sizeof_void_p in
70180 2) acx_cv_type_intptr_t=int16_t ;;
70181 4) acx_cv_type_intptr_t=int32_t ;;
70182 8) acx_cv_type_intptr_t=int64_t ;;
70183 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
70184 esac
70185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
70186 $as_echo "$acx_cv_type_intptr_t" >&6; }
70187 fi
70188
70189 # ----------------- done all checks, emit header -------------
70190 ac_config_commands="$ac_config_commands include/gstdint.h"
70191
70192
70193
70194
70195
70196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70197 $as_echo_n "checking for GNU c++filt... " >&6; }
70198 if test "${ac_cv_path_CXXFILT+set}" = set; then :
70199 $as_echo_n "(cached) " >&6
70200 else
70201 if test -z "$CXXFILT"; then
70202 ac_path_CXXFILT_found=false
70203 # Loop through the user's path and test for each of PROGNAME-LIST
70204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70205 for as_dir in $PATH
70206 do
70207 IFS=$as_save_IFS
70208 test -z "$as_dir" && as_dir=.
70209 for ac_prog in c++filt gc++filt; do
70210 for ac_exec_ext in '' $ac_executable_extensions; do
70211 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70212 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
70213 # Check for GNU $ac_path_CXXFILT
70214 case `"$ac_path_CXXFILT" --version 2>&1` in
70215 *GNU*)
70216 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70217 esac
70218
70219 $ac_path_CXXFILT_found && break 3
70220 done
70221 done
70222 done
70223 IFS=$as_save_IFS
70224 if test -z "$ac_cv_path_CXXFILT"; then
70225 :
70226 fi
70227 else
70228 ac_cv_path_CXXFILT=$CXXFILT
70229 fi
70230
70231 fi
70232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70233 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70234 CXXFILT=$ac_cv_path_CXXFILT
70235
70236
70237
70238 # Check whether --enable-symvers was given.
70239 if test "${enable_symvers+set}" = set; then :
70240 enableval=$enable_symvers;
70241 case "$enableval" in
70242 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70243 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70244 esac
70245
70246 else
70247 enable_symvers=yes
70248 fi
70249
70250
70251
70252 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70253 # don't know enough about $LD to do tricks...
70254
70255 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70256 # with extern "C++" in version scripts.
70257
70258
70259 # Turn a 'yes' into a suitable default.
70260 if test x$enable_symvers = xyes ; then
70261 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70262 enable_symvers=no
70263 else
70264 if test $with_gnu_ld = yes ; then
70265 case ${target_os} in
70266 hpux*)
70267 enable_symvers=no ;;
70268 *)
70269 enable_symvers=gnu ;;
70270 esac
70271 else
70272 case ${target_os} in
70273 darwin*)
70274 enable_symvers=darwin ;;
70275 # Sun symbol versioning exists since Solaris 2.5.
70276 solaris2.[5-9]* | solaris2.1[0-9]*)
70277 # make_sunver.pl needs GNU c++filt to support extern "C++" in
70278 # version scripts, so disable symbol versioning if none can be
70279 # found.
70280 if test -z "$ac_cv_path_CXXFILT"; then
70281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70282 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
70284 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
70285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70286 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70287 enable_symvers=no
70288 else
70289 enable_symvers=sun
70290 fi
70291 ;;
70292 *)
70293 enable_symvers=no ;;
70294 esac
70295 fi
70296 fi
70297 fi
70298
70299 # Check to see if 'darwin' or 'darwin-export' can win.
70300 if test x$enable_symvers = xdarwin-export ; then
70301 enable_symvers=darwin
70302 fi
70303
70304 # Check if 'sun' was requested on non-Solaris 2 platforms.
70305 if test x$enable_symvers = xsun ; then
70306 case ${target_os} in
70307 solaris2*)
70308 # All fine.
70309 ;;
70310 *)
70311 # Unlikely to work.
70312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70313 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70315 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70317 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70318 enable_symvers=no
70319 ;;
70320 esac
70321 fi
70322
70323 # Check to see if 'gnu' can win.
70324 if test $enable_symvers = gnu ||
70325 test $enable_symvers = gnu-versioned-namespace ||
70326 test $enable_symvers = sun; then
70327 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70329 $as_echo_n "checking for shared libgcc... " >&6; }
70330 ac_save_CFLAGS="$CFLAGS"
70331 CFLAGS=' -lgcc_s'
70332 if test x$gcc_no_link = xyes; then
70333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70334 fi
70335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70336 /* end confdefs.h. */
70337
70338 int
70339 main ()
70340 {
70341 return 0;
70342 ;
70343 return 0;
70344 }
70345 _ACEOF
70346 if ac_fn_c_try_link "$LINENO"; then :
70347 glibcxx_shared_libgcc=yes
70348 else
70349 glibcxx_shared_libgcc=no
70350 fi
70351 rm -f core conftest.err conftest.$ac_objext \
70352 conftest$ac_exeext conftest.$ac_ext
70353 CFLAGS="$ac_save_CFLAGS"
70354 if test $glibcxx_shared_libgcc = no; then
70355 cat > conftest.c <<EOF
70356 int main (void) { return 0; }
70357 EOF
70358 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70359 -shared -shared-libgcc -o conftest.so \
70360 conftest.c -v 2>&1 >/dev/null \
70361 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70362 rm -f conftest.c conftest.so
70363 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70364 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70365 if test x$gcc_no_link = xyes; then
70366 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70367 fi
70368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70369 /* end confdefs.h. */
70370
70371 int
70372 main ()
70373 {
70374 return 0;
70375 ;
70376 return 0;
70377 }
70378 _ACEOF
70379 if ac_fn_c_try_link "$LINENO"; then :
70380 glibcxx_shared_libgcc=yes
70381 fi
70382 rm -f core conftest.err conftest.$ac_objext \
70383 conftest$ac_exeext conftest.$ac_ext
70384 CFLAGS="$ac_save_CFLAGS"
70385 fi
70386 fi
70387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70388 $as_echo "$glibcxx_shared_libgcc" >&6; }
70389
70390 # For GNU ld, we need at least this version. The format is described in
70391 # GLIBCXX_CHECK_LINKER_FEATURES above.
70392 glibcxx_min_gnu_ld_version=21400
70393
70394 # If no shared libgcc, can't win.
70395 if test $glibcxx_shared_libgcc != yes; then
70396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70397 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70399 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70401 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70402 enable_symvers=no
70403 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70404 : All interesting versions of Sun ld support sun style symbol versioning.
70405 elif test $with_gnu_ld != yes ; then
70406 # just fail for now
70407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70408 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70410 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70412 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70413 enable_symvers=no
70414 elif test $glibcxx_ld_is_gold = yes ; then
70415 : All versions of gold support symbol versioning.
70416 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70417 # The right tools, the right setup, but too old. Fallbacks?
70418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70419 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70421 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70423 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70425 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70427 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70428 enable_symvers=no
70429 fi
70430 fi
70431
70432 # For libtool versioning info, format is CURRENT:REVISION:AGE
70433 libtool_VERSION=6:17:0
70434
70435 # Everything parsed; figure out what files and settings to use.
70436 case $enable_symvers in
70437 no)
70438 SYMVER_FILE=config/abi/pre/none.ver
70439 ;;
70440 gnu)
70441 SYMVER_FILE=config/abi/pre/gnu.ver
70442
70443 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70444
70445 ;;
70446 gnu-versioned-namespace)
70447 libtool_VERSION=7:0:0
70448 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70449
70450 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70451
70452 ;;
70453 darwin)
70454 SYMVER_FILE=config/abi/pre/gnu.ver
70455
70456 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70457
70458 ;;
70459 sun)
70460 SYMVER_FILE=config/abi/pre/gnu.ver
70461
70462 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70463
70464 ;;
70465 esac
70466
70467 if test x$enable_symvers != xno ; then
70468
70469 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70470
70471 fi
70472
70473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70474 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70475 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
70476 $as_echo_n "(cached) " >&6
70477 else
70478
70479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70480 /* end confdefs.h. */
70481 void foo (void); __asm (".symver foo, bar@SYMVER");
70482 int
70483 main ()
70484 {
70485
70486 ;
70487 return 0;
70488 }
70489 _ACEOF
70490 if ac_fn_c_try_compile "$LINENO"; then :
70491 glibcxx_cv_have_as_symver_directive=yes
70492 else
70493 glibcxx_cv_have_as_symver_directive=no
70494 fi
70495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70496 fi
70497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70498 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70499 if test $glibcxx_cv_have_as_symver_directive = yes; then
70500
70501 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70502
70503 fi
70504
70505
70506
70507
70508
70509
70510
70511
70512 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70513 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70514
70515 if test $enable_symvers != no ; then
70516 case ${target_os} in
70517 # The Solaris 2 runtime linker doesn't support the GNU extension of
70518 # binding the same symbol to different versions
70519 solaris2*)
70520 ;;
70521 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70522 *)
70523
70524 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70525
70526 ;;
70527 esac
70528 fi
70529
70530 # Now, set up compatibility support, if any.
70531 # In addition, need this to deal with std::size_t mangling in
70532 # src/compatibility.cc. In a perfect world, could use
70533 # typeid(std::size_t).name()[0] to do direct substitution.
70534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70535 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70536 ac_save_CFLAGS="$CFLAGS"
70537 CFLAGS="-Werror"
70538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70539 /* end confdefs.h. */
70540
70541 int
70542 main ()
70543 {
70544 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70545 ;
70546 return 0;
70547 }
70548 _ACEOF
70549 if ac_fn_c_try_compile "$LINENO"; then :
70550 glibcxx_size_t_is_i=yes
70551 else
70552 glibcxx_size_t_is_i=no
70553 fi
70554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70555 CFLAGS=$ac_save_CFLAGS
70556 if test "$glibcxx_size_t_is_i" = yes; then
70557
70558 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70559
70560 fi
70561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70562 $as_echo "$glibcxx_size_t_is_i" >&6; }
70563
70564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70565 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70566 ac_save_CFLAGS="$CFLAGS"
70567 CFLAGS="-Werror"
70568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70569 /* end confdefs.h. */
70570
70571 int
70572 main ()
70573 {
70574 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70575 ;
70576 return 0;
70577 }
70578 _ACEOF
70579 if ac_fn_c_try_compile "$LINENO"; then :
70580 glibcxx_ptrdiff_t_is_i=yes
70581 else
70582 glibcxx_ptrdiff_t_is_i=no
70583 fi
70584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70585 CFLAGS=$ac_save_CFLAGS
70586 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70587
70588 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70589
70590 fi
70591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70592 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70593
70594
70595
70596
70597 # Check whether --enable-libstdcxx-visibility was given.
70598 if test "${enable_libstdcxx_visibility+set}" = set; then :
70599 enableval=$enable_libstdcxx_visibility;
70600 case "$enableval" in
70601 yes|no) ;;
70602 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70603 esac
70604
70605 else
70606 enable_libstdcxx_visibility=yes
70607 fi
70608
70609
70610
70611 if test x$enable_libstdcxx_visibility = xyes ; then
70612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70613 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70614 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
70615 $as_echo_n "(cached) " >&6
70616 else
70617
70618 save_CFLAGS="$CFLAGS"
70619 CFLAGS="$CFLAGS -Werror"
70620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70621 /* end confdefs.h. */
70622 void __attribute__((visibility("hidden"))) foo(void) { }
70623 int
70624 main ()
70625 {
70626
70627 ;
70628 return 0;
70629 }
70630 _ACEOF
70631 if ac_fn_c_try_compile "$LINENO"; then :
70632 glibcxx_cv_have_attribute_visibility=yes
70633 else
70634 glibcxx_cv_have_attribute_visibility=no
70635 fi
70636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70637 CFLAGS="$save_CFLAGS"
70638 fi
70639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70640 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70641 if test $glibcxx_cv_have_attribute_visibility = no; then
70642 enable_libstdcxx_visibility=no
70643 fi
70644 fi
70645
70646
70647 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70648 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70649
70650
70651 ac_ldbl_compat=no
70652 case "$target" in
70653 powerpc*-*-linux* | \
70654 sparc*-*-linux* | \
70655 s390*-*-linux* | \
70656 alpha*-*-linux*)
70657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70658 /* end confdefs.h. */
70659
70660 int
70661 main ()
70662 {
70663
70664 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70665 #error no need for long double compatibility
70666 #endif
70667
70668 ;
70669 return 0;
70670 }
70671 _ACEOF
70672 if ac_fn_c_try_compile "$LINENO"; then :
70673 ac_ldbl_compat=yes
70674 else
70675 ac_ldbl_compat=no
70676 fi
70677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70678 if test "$ac_ldbl_compat" = yes; then
70679
70680 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70681
70682 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70683 fi
70684 esac
70685
70686
70687 # Check if assembler supports disabling hardware capability support.
70688
70689 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
70690
70691 ac_save_CFLAGS="$CFLAGS"
70692 CFLAGS="$CFLAGS -Wa,-nH"
70693
70694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
70695 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
70696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70697 /* end confdefs.h. */
70698
70699 int
70700 main ()
70701 {
70702 return 0;
70703 ;
70704 return 0;
70705 }
70706 _ACEOF
70707 if ac_fn_c_try_compile "$LINENO"; then :
70708 ac_hwcap_flags=yes
70709 else
70710 ac_hwcap_flags=no
70711 fi
70712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70713 if test "$ac_hwcap_flags" = "yes"; then
70714 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
70715 fi
70716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
70717 $as_echo "$ac_hwcap_flags" >&6; }
70718
70719 CFLAGS="$ac_save_CFLAGS"
70720
70721
70722
70723
70724 # Check if assembler supports rdrand opcode.
70725
70726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
70727 $as_echo_n "checking for rdrand support in assembler... " >&6; }
70728 if test "${ac_cv_x86_rdrand+set}" = set; then :
70729 $as_echo_n "(cached) " >&6
70730 else
70731
70732 ac_cv_x86_rdrand=no
70733 case "$target" in
70734 i?86-*-* | \
70735 x86_64-*-*)
70736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70737 /* end confdefs.h. */
70738
70739 int
70740 main ()
70741 {
70742 asm("rdrand %eax");
70743 ;
70744 return 0;
70745 }
70746 _ACEOF
70747 if ac_fn_c_try_compile "$LINENO"; then :
70748 ac_cv_x86_rdrand=yes
70749 else
70750 ac_cv_x86_rdrand=no
70751 fi
70752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70753 esac
70754
70755 fi
70756
70757 if test $ac_cv_x86_rdrand = yes; then
70758
70759 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
70760
70761 fi
70762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
70763 $as_echo "$ac_cv_x86_rdrand" >&6; }
70764
70765
70766 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
70767
70768 if $GLIBCXX_IS_NATIVE ; then
70769 # Do checks for resource limit functions.
70770
70771 setrlimit_have_headers=yes
70772 for ac_header in unistd.h sys/time.h sys/resource.h
70773 do :
70774 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70775 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70776 eval as_val=\$$as_ac_Header
70777 if test "x$as_val" = x""yes; then :
70778 cat >>confdefs.h <<_ACEOF
70779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70780 _ACEOF
70781
70782 else
70783 setrlimit_have_headers=no
70784 fi
70785
70786 done
70787
70788 # If don't have the headers, then we can't run the tests now, and we
70789 # won't be seeing any of these during testsuite compilation.
70790 if test $setrlimit_have_headers = yes; then
70791 # Can't do these in a loop, else the resulting syntax is wrong.
70792
70793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
70794 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
70795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70796 /* end confdefs.h. */
70797 #include <unistd.h>
70798 #include <sys/time.h>
70799 #include <sys/resource.h>
70800
70801 int
70802 main ()
70803 {
70804 int f = RLIMIT_DATA ;
70805 ;
70806 return 0;
70807 }
70808 _ACEOF
70809 if ac_fn_c_try_compile "$LINENO"; then :
70810 glibcxx_mresult=1
70811 else
70812 glibcxx_mresult=0
70813 fi
70814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70815
70816 cat >>confdefs.h <<_ACEOF
70817 #define HAVE_LIMIT_DATA $glibcxx_mresult
70818 _ACEOF
70819
70820 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70822 $as_echo "$res" >&6; }
70823
70824
70825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
70826 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
70827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70828 /* end confdefs.h. */
70829 #include <unistd.h>
70830 #include <sys/time.h>
70831 #include <sys/resource.h>
70832
70833 int
70834 main ()
70835 {
70836 int f = RLIMIT_RSS ;
70837 ;
70838 return 0;
70839 }
70840 _ACEOF
70841 if ac_fn_c_try_compile "$LINENO"; then :
70842 glibcxx_mresult=1
70843 else
70844 glibcxx_mresult=0
70845 fi
70846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70847
70848 cat >>confdefs.h <<_ACEOF
70849 #define HAVE_LIMIT_RSS $glibcxx_mresult
70850 _ACEOF
70851
70852 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70854 $as_echo "$res" >&6; }
70855
70856
70857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
70858 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
70859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70860 /* end confdefs.h. */
70861 #include <unistd.h>
70862 #include <sys/time.h>
70863 #include <sys/resource.h>
70864
70865 int
70866 main ()
70867 {
70868 int f = RLIMIT_VMEM ;
70869 ;
70870 return 0;
70871 }
70872 _ACEOF
70873 if ac_fn_c_try_compile "$LINENO"; then :
70874 glibcxx_mresult=1
70875 else
70876 glibcxx_mresult=0
70877 fi
70878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70879
70880 cat >>confdefs.h <<_ACEOF
70881 #define HAVE_LIMIT_VMEM $glibcxx_mresult
70882 _ACEOF
70883
70884 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70886 $as_echo "$res" >&6; }
70887
70888
70889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
70890 $as_echo_n "checking for RLIMIT_AS... " >&6; }
70891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70892 /* end confdefs.h. */
70893 #include <unistd.h>
70894 #include <sys/time.h>
70895 #include <sys/resource.h>
70896
70897 int
70898 main ()
70899 {
70900 int f = RLIMIT_AS ;
70901 ;
70902 return 0;
70903 }
70904 _ACEOF
70905 if ac_fn_c_try_compile "$LINENO"; then :
70906 glibcxx_mresult=1
70907 else
70908 glibcxx_mresult=0
70909 fi
70910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70911
70912 cat >>confdefs.h <<_ACEOF
70913 #define HAVE_LIMIT_AS $glibcxx_mresult
70914 _ACEOF
70915
70916 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70918 $as_echo "$res" >&6; }
70919
70920
70921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
70922 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
70923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70924 /* end confdefs.h. */
70925 #include <unistd.h>
70926 #include <sys/time.h>
70927 #include <sys/resource.h>
70928
70929 int
70930 main ()
70931 {
70932 int f = RLIMIT_FSIZE ;
70933 ;
70934 return 0;
70935 }
70936 _ACEOF
70937 if ac_fn_c_try_compile "$LINENO"; then :
70938 glibcxx_mresult=1
70939 else
70940 glibcxx_mresult=0
70941 fi
70942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70943
70944 cat >>confdefs.h <<_ACEOF
70945 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
70946 _ACEOF
70947
70948 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70950 $as_echo "$res" >&6; }
70951
70952
70953 # Check for rlimit, setrlimit.
70954 if test "${glibcxx_cv_setrlimit+set}" = set; then :
70955 $as_echo_n "(cached) " >&6
70956 else
70957
70958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70959 /* end confdefs.h. */
70960 #include <unistd.h>
70961 #include <sys/time.h>
70962 #include <sys/resource.h>
70963
70964 int
70965 main ()
70966 {
70967 struct rlimit r;
70968 setrlimit(0, &r);
70969 ;
70970 return 0;
70971 }
70972 _ACEOF
70973 if ac_fn_c_try_compile "$LINENO"; then :
70974 glibcxx_cv_setrlimit=yes
70975 else
70976 glibcxx_cv_setrlimit=no
70977 fi
70978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70979
70980 fi
70981
70982 fi
70983
70984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
70985 $as_echo_n "checking for testsuite resource limits support... " >&6; }
70986 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
70987 ac_res_limits=yes
70988
70989 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
70990
70991 else
70992 ac_res_limits=no
70993 fi
70994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
70995 $as_echo "$ac_res_limits" >&6; }
70996
70997
70998 # Look for setenv, so that extended locale tests can be performed.
70999
71000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
71001 $as_echo_n "checking for setenv declaration... " >&6; }
71002 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
71003 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
71004 $as_echo_n "(cached) " >&6
71005 else
71006
71007
71008 ac_ext=cpp
71009 ac_cpp='$CXXCPP $CPPFLAGS'
71010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71013
71014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71015 /* end confdefs.h. */
71016 #include <stdlib.h>
71017 int
71018 main ()
71019 {
71020 setenv(0, 0, 0);
71021 ;
71022 return 0;
71023 }
71024 _ACEOF
71025 if ac_fn_cxx_try_compile "$LINENO"; then :
71026 glibcxx_cv_func_setenv_use=yes
71027 else
71028 glibcxx_cv_func_setenv_use=no
71029 fi
71030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71031 ac_ext=c
71032 ac_cpp='$CPP $CPPFLAGS'
71033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71036
71037
71038 fi
71039
71040 fi
71041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
71042 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
71043 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
71044 for ac_func in setenv
71045 do :
71046 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
71047 if test "x$ac_cv_func_setenv" = x""yes; then :
71048 cat >>confdefs.h <<_ACEOF
71049 #define HAVE_SETENV 1
71050 _ACEOF
71051
71052 fi
71053 done
71054
71055 fi
71056
71057 fi
71058
71059 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
71060 test $enable_symvers != no; then
71061 case "$host" in
71062 *-*-cygwin*)
71063 enable_abi_check=no ;;
71064 *)
71065 enable_abi_check=yes ;;
71066 esac
71067 else
71068 # Only build this as native, since automake does not understand
71069 # CXX_FOR_BUILD.
71070 enable_abi_check=no
71071 fi
71072
71073 # Export file names for ABI checking.
71074 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
71075
71076 baseline_subdir_switch="$abi_baseline_subdir_switch"
71077
71078
71079
71080 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
71081
71082 # Check whether --enable-libstdcxx-threads was given.
71083 if test "${enable_libstdcxx_threads+set}" = set; then :
71084 enableval=$enable_libstdcxx_threads;
71085 case "$enableval" in
71086 yes|no) ;;
71087 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
71088 esac
71089
71090 else
71091 enable_libstdcxx_threads=auto
71092 fi
71093
71094
71095
71096 if test x$enable_libstdcxx_threads = xauto ||
71097 test x$enable_libstdcxx_threads = xyes; then
71098
71099
71100 ac_ext=cpp
71101 ac_cpp='$CXXCPP $CPPFLAGS'
71102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71105
71106
71107 ac_save_CXXFLAGS="$CXXFLAGS"
71108 CXXFLAGS="$CXXFLAGS -fno-exceptions \
71109 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
71110
71111 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
71112 case $target_thread_file in
71113 posix)
71114 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
71115 esac
71116
71117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
71118 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
71119
71120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71121 /* end confdefs.h. */
71122 #include <unistd.h>
71123 int
71124 main ()
71125 {
71126
71127 // In case of POSIX threads check _POSIX_TIMEOUTS.
71128 #if (defined(_PTHREADS) \
71129 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
71130 #error
71131 #endif
71132
71133 ;
71134 return 0;
71135 }
71136 _ACEOF
71137 if ac_fn_cxx_try_compile "$LINENO"; then :
71138 ac_gthread_use_mutex_timedlock=1
71139 else
71140 ac_gthread_use_mutex_timedlock=0
71141 fi
71142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71143
71144
71145 cat >>confdefs.h <<_ACEOF
71146 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
71147 _ACEOF
71148
71149
71150 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71151 else res_mutex_timedlock=no ; fi
71152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71153 $as_echo "$res_mutex_timedlock" >&6; }
71154
71155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71156 $as_echo_n "checking for gthreads library... " >&6; }
71157
71158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71159 /* end confdefs.h. */
71160 #include "gthr.h"
71161 int
71162 main ()
71163 {
71164
71165 #ifndef __GTHREADS_CXX0X
71166 #error
71167 #endif
71168
71169 ;
71170 return 0;
71171 }
71172 _ACEOF
71173 if ac_fn_cxx_try_compile "$LINENO"; then :
71174 case $target_os in
71175 # gthreads support breaks symbol versioning on Solaris 9 (PR
71176 # libstdc++/52189).
71177 solaris2.9*)
71178 if test x$enable_symvers = xno; then
71179 ac_has_gthreads=yes
71180 elif test x$enable_libstdcxx_threads = xyes; then
71181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
71182 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
71183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
71184 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
71185 ac_has_gthreads=yes
71186 else
71187 ac_has_gthreads=no
71188 fi
71189 ;;
71190 *)
71191 ac_has_gthreads=yes
71192 ;;
71193 esac
71194 else
71195 ac_has_gthreads=no
71196 fi
71197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71198 else
71199 ac_has_gthreads=no
71200 fi
71201
71202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71203 $as_echo "$ac_has_gthreads" >&6; }
71204
71205 if test x"$ac_has_gthreads" = x"yes"; then
71206
71207 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71208
71209 fi
71210
71211 CXXFLAGS="$ac_save_CXXFLAGS"
71212 ac_ext=c
71213 ac_cpp='$CPP $CPPFLAGS'
71214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71217
71218
71219
71220 # Define documentation rules conditionally.
71221
71222 # See if makeinfo has been installed and is modern enough
71223 # that we can use it.
71224
71225 # Extract the first word of "makeinfo", so it can be a program name with args.
71226 set dummy makeinfo; ac_word=$2
71227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71228 $as_echo_n "checking for $ac_word... " >&6; }
71229 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
71230 $as_echo_n "(cached) " >&6
71231 else
71232 if test -n "$MAKEINFO"; then
71233 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
71234 else
71235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71236 for as_dir in $PATH
71237 do
71238 IFS=$as_save_IFS
71239 test -z "$as_dir" && as_dir=.
71240 for ac_exec_ext in '' $ac_executable_extensions; do
71241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71242 ac_cv_prog_MAKEINFO="makeinfo"
71243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71244 break 2
71245 fi
71246 done
71247 done
71248 IFS=$as_save_IFS
71249
71250 fi
71251 fi
71252 MAKEINFO=$ac_cv_prog_MAKEINFO
71253 if test -n "$MAKEINFO"; then
71254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
71255 $as_echo "$MAKEINFO" >&6; }
71256 else
71257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71258 $as_echo "no" >&6; }
71259 fi
71260
71261
71262 if test -n "$MAKEINFO"; then
71263 # Found it, now check the version.
71264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
71265 $as_echo_n "checking for modern makeinfo... " >&6; }
71266 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
71267 $as_echo_n "(cached) " >&6
71268 else
71269 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
71270 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
71271
71272 case $ac_prog_version in
71273 '') gcc_cv_prog_makeinfo_modern=no;;
71274 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
71275 *) gcc_cv_prog_makeinfo_modern=no;;
71276 esac
71277
71278 fi
71279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
71280 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
71281 else
71282 gcc_cv_prog_makeinfo_modern=no
71283 fi
71284 if test $gcc_cv_prog_makeinfo_modern = no; then
71285 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
71286 fi
71287
71288 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
71289 BUILD_INFO_TRUE=
71290 BUILD_INFO_FALSE='#'
71291 else
71292 BUILD_INFO_TRUE='#'
71293 BUILD_INFO_FALSE=
71294 fi
71295
71296
71297 # Check for doxygen
71298 # Extract the first word of "doxygen", so it can be a program name with args.
71299 set dummy doxygen; ac_word=$2
71300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71301 $as_echo_n "checking for $ac_word... " >&6; }
71302 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
71303 $as_echo_n "(cached) " >&6
71304 else
71305 if test -n "$DOXYGEN"; then
71306 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
71307 else
71308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71309 for as_dir in $PATH
71310 do
71311 IFS=$as_save_IFS
71312 test -z "$as_dir" && as_dir=.
71313 for ac_exec_ext in '' $ac_executable_extensions; do
71314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71315 ac_cv_prog_DOXYGEN="yes"
71316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71317 break 2
71318 fi
71319 done
71320 done
71321 IFS=$as_save_IFS
71322
71323 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
71324 fi
71325 fi
71326 DOXYGEN=$ac_cv_prog_DOXYGEN
71327 if test -n "$DOXYGEN"; then
71328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
71329 $as_echo "$DOXYGEN" >&6; }
71330 else
71331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71332 $as_echo "no" >&6; }
71333 fi
71334
71335
71336 # Extract the first word of "dot", so it can be a program name with args.
71337 set dummy dot; ac_word=$2
71338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71339 $as_echo_n "checking for $ac_word... " >&6; }
71340 if test "${ac_cv_prog_DOT+set}" = set; then :
71341 $as_echo_n "(cached) " >&6
71342 else
71343 if test -n "$DOT"; then
71344 ac_cv_prog_DOT="$DOT" # Let the user override the test.
71345 else
71346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71347 for as_dir in $PATH
71348 do
71349 IFS=$as_save_IFS
71350 test -z "$as_dir" && as_dir=.
71351 for ac_exec_ext in '' $ac_executable_extensions; do
71352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71353 ac_cv_prog_DOT="yes"
71354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71355 break 2
71356 fi
71357 done
71358 done
71359 IFS=$as_save_IFS
71360
71361 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
71362 fi
71363 fi
71364 DOT=$ac_cv_prog_DOT
71365 if test -n "$DOT"; then
71366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
71367 $as_echo "$DOT" >&6; }
71368 else
71369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71370 $as_echo "no" >&6; }
71371 fi
71372
71373
71374
71375 # Check for docbook
71376 # Extract the first word of "xsltproc", so it can be a program name with args.
71377 set dummy xsltproc; ac_word=$2
71378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71379 $as_echo_n "checking for $ac_word... " >&6; }
71380 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
71381 $as_echo_n "(cached) " >&6
71382 else
71383 if test -n "$XSLTPROC"; then
71384 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
71385 else
71386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71387 for as_dir in $PATH
71388 do
71389 IFS=$as_save_IFS
71390 test -z "$as_dir" && as_dir=.
71391 for ac_exec_ext in '' $ac_executable_extensions; do
71392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71393 ac_cv_prog_XSLTPROC="yes"
71394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71395 break 2
71396 fi
71397 done
71398 done
71399 IFS=$as_save_IFS
71400
71401 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
71402 fi
71403 fi
71404 XSLTPROC=$ac_cv_prog_XSLTPROC
71405 if test -n "$XSLTPROC"; then
71406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
71407 $as_echo "$XSLTPROC" >&6; }
71408 else
71409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71410 $as_echo "no" >&6; }
71411 fi
71412
71413
71414 # Extract the first word of "xmllint", so it can be a program name with args.
71415 set dummy xmllint; ac_word=$2
71416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71417 $as_echo_n "checking for $ac_word... " >&6; }
71418 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
71419 $as_echo_n "(cached) " >&6
71420 else
71421 if test -n "$XMLLINT"; then
71422 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
71423 else
71424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71425 for as_dir in $PATH
71426 do
71427 IFS=$as_save_IFS
71428 test -z "$as_dir" && as_dir=.
71429 for ac_exec_ext in '' $ac_executable_extensions; do
71430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71431 ac_cv_prog_XMLLINT="yes"
71432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71433 break 2
71434 fi
71435 done
71436 done
71437 IFS=$as_save_IFS
71438
71439 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
71440 fi
71441 fi
71442 XMLLINT=$ac_cv_prog_XMLLINT
71443 if test -n "$XMLLINT"; then
71444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
71445 $as_echo "$XMLLINT" >&6; }
71446 else
71447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71448 $as_echo "no" >&6; }
71449 fi
71450
71451
71452
71453
71454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
71455 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
71456 glibcxx_stylesheets=no
71457 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
71458 glibcxx_stylesheets=yes
71459 fi
71460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
71461 $as_echo "$glibcxx_stylesheets" >&6; }
71462
71463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
71464 $as_echo_n "checking for local stylesheet directory... " >&6; }
71465 glibcxx_local_stylesheets=no
71466 if test x"$glibcxx_stylesheets" = x"yes"; then
71467 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
71468 glibcxx_local_stylesheets=yes
71469 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
71470 fi
71471 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
71472 glibcxx_local_stylesheets=yes
71473 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
71474 fi
71475 fi
71476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
71477 $as_echo "$glibcxx_local_stylesheets" >&6; }
71478
71479 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71480
71481 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
71482 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
71483 else
71484 glibcxx_stylesheets=no
71485 fi
71486
71487 # Check for epub3 dependencies.
71488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
71489 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
71490 glibcxx_epub_stylesheets=no
71491 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71492 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
71493 glibcxx_epub_stylesheets=yes
71494 fi
71495 fi
71496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
71497 $as_echo "$glibcxx_epub_stylesheets" >&6; }
71498 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
71499 BUILD_EPUB_TRUE=
71500 BUILD_EPUB_FALSE='#'
71501 else
71502 BUILD_EPUB_TRUE='#'
71503 BUILD_EPUB_FALSE=
71504 fi
71505
71506
71507
71508
71509 # Check for xml/html dependencies.
71510 if test $ac_cv_prog_DOXYGEN = "yes" &&
71511 test $ac_cv_prog_DOT = "yes" &&
71512 test $ac_cv_prog_XSLTPROC = "yes" &&
71513 test $ac_cv_prog_XMLLINT = "yes" &&
71514 test $glibcxx_stylesheets = "yes"; then
71515 BUILD_XML_TRUE=
71516 BUILD_XML_FALSE='#'
71517 else
71518 BUILD_XML_TRUE='#'
71519 BUILD_XML_FALSE=
71520 fi
71521
71522
71523 if test $ac_cv_prog_DOXYGEN = "yes" &&
71524 test $ac_cv_prog_DOT = "yes" &&
71525 test $ac_cv_prog_XSLTPROC = "yes" &&
71526 test $ac_cv_prog_XMLLINT = "yes" &&
71527 test $glibcxx_stylesheets = "yes"; then
71528 BUILD_HTML_TRUE=
71529 BUILD_HTML_FALSE='#'
71530 else
71531 BUILD_HTML_TRUE='#'
71532 BUILD_HTML_FALSE=
71533 fi
71534
71535
71536 # Check for man dependencies.
71537 if test $ac_cv_prog_DOXYGEN = "yes" &&
71538 test $ac_cv_prog_DOT = "yes"; then
71539 BUILD_MAN_TRUE=
71540 BUILD_MAN_FALSE='#'
71541 else
71542 BUILD_MAN_TRUE='#'
71543 BUILD_MAN_FALSE=
71544 fi
71545
71546
71547 # Check for pdf dependencies.
71548 # Extract the first word of "dblatex", so it can be a program name with args.
71549 set dummy dblatex; ac_word=$2
71550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71551 $as_echo_n "checking for $ac_word... " >&6; }
71552 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
71553 $as_echo_n "(cached) " >&6
71554 else
71555 if test -n "$DBLATEX"; then
71556 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
71557 else
71558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71559 for as_dir in $PATH
71560 do
71561 IFS=$as_save_IFS
71562 test -z "$as_dir" && as_dir=.
71563 for ac_exec_ext in '' $ac_executable_extensions; do
71564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71565 ac_cv_prog_DBLATEX="yes"
71566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71567 break 2
71568 fi
71569 done
71570 done
71571 IFS=$as_save_IFS
71572
71573 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
71574 fi
71575 fi
71576 DBLATEX=$ac_cv_prog_DBLATEX
71577 if test -n "$DBLATEX"; then
71578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
71579 $as_echo "$DBLATEX" >&6; }
71580 else
71581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71582 $as_echo "no" >&6; }
71583 fi
71584
71585
71586 # Extract the first word of "pdflatex", so it can be a program name with args.
71587 set dummy pdflatex; ac_word=$2
71588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71589 $as_echo_n "checking for $ac_word... " >&6; }
71590 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
71591 $as_echo_n "(cached) " >&6
71592 else
71593 if test -n "$PDFLATEX"; then
71594 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
71595 else
71596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71597 for as_dir in $PATH
71598 do
71599 IFS=$as_save_IFS
71600 test -z "$as_dir" && as_dir=.
71601 for ac_exec_ext in '' $ac_executable_extensions; do
71602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71603 ac_cv_prog_PDFLATEX="yes"
71604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71605 break 2
71606 fi
71607 done
71608 done
71609 IFS=$as_save_IFS
71610
71611 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
71612 fi
71613 fi
71614 PDFLATEX=$ac_cv_prog_PDFLATEX
71615 if test -n "$PDFLATEX"; then
71616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
71617 $as_echo "$PDFLATEX" >&6; }
71618 else
71619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71620 $as_echo "no" >&6; }
71621 fi
71622
71623
71624 if test $ac_cv_prog_DBLATEX = "yes" &&
71625 test $ac_cv_prog_PDFLATEX = "yes"; then
71626 BUILD_PDF_TRUE=
71627 BUILD_PDF_FALSE='#'
71628 else
71629 BUILD_PDF_TRUE='#'
71630 BUILD_PDF_FALSE=
71631 fi
71632
71633
71634
71635 # Propagate the target-specific source directories through the build chain.
71636 ATOMICITY_SRCDIR=config/${atomicity_dir}
71637 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
71638 ATOMIC_FLAGS=${atomic_flags}
71639 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
71640 OS_INC_SRCDIR=config/${os_include_dir}
71641 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
71642 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
71643 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
71644 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
71645
71646
71647
71648
71649
71650
71651
71652
71653
71654
71655
71656 # Determine cross-compile flags and AM_CONDITIONALs.
71657 #AC_SUBST(GLIBCXX_IS_NATIVE)
71658 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
71659 if test $is_hosted = yes; then
71660 GLIBCXX_HOSTED_TRUE=
71661 GLIBCXX_HOSTED_FALSE='#'
71662 else
71663 GLIBCXX_HOSTED_TRUE='#'
71664 GLIBCXX_HOSTED_FALSE=
71665 fi
71666
71667
71668 if test $enable_libstdcxx_pch = yes; then
71669 GLIBCXX_BUILD_PCH_TRUE=
71670 GLIBCXX_BUILD_PCH_FALSE='#'
71671 else
71672 GLIBCXX_BUILD_PCH_TRUE='#'
71673 GLIBCXX_BUILD_PCH_FALSE=
71674 fi
71675
71676
71677 if test $enable_cheaders = c; then
71678 GLIBCXX_C_HEADERS_C_TRUE=
71679 GLIBCXX_C_HEADERS_C_FALSE='#'
71680 else
71681 GLIBCXX_C_HEADERS_C_TRUE='#'
71682 GLIBCXX_C_HEADERS_C_FALSE=
71683 fi
71684
71685
71686 if test $enable_cheaders = c_std; then
71687 GLIBCXX_C_HEADERS_C_STD_TRUE=
71688 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
71689 else
71690 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
71691 GLIBCXX_C_HEADERS_C_STD_FALSE=
71692 fi
71693
71694
71695 if test $enable_cheaders = c_global; then
71696 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
71697 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
71698 else
71699 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
71700 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
71701 fi
71702
71703
71704 if test $c_compatibility = yes; then
71705 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
71706 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
71707 else
71708 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
71709 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
71710 fi
71711
71712
71713 if test $enable_libstdcxx_debug = yes; then
71714 GLIBCXX_BUILD_DEBUG_TRUE=
71715 GLIBCXX_BUILD_DEBUG_FALSE='#'
71716 else
71717 GLIBCXX_BUILD_DEBUG_TRUE='#'
71718 GLIBCXX_BUILD_DEBUG_FALSE=
71719 fi
71720
71721
71722 if test $enable_extern_template = yes; then
71723 ENABLE_EXTERN_TEMPLATE_TRUE=
71724 ENABLE_EXTERN_TEMPLATE_FALSE='#'
71725 else
71726 ENABLE_EXTERN_TEMPLATE_TRUE='#'
71727 ENABLE_EXTERN_TEMPLATE_FALSE=
71728 fi
71729
71730
71731 if test $python_mod_dir != no; then
71732 ENABLE_PYTHONDIR_TRUE=
71733 ENABLE_PYTHONDIR_FALSE='#'
71734 else
71735 ENABLE_PYTHONDIR_TRUE='#'
71736 ENABLE_PYTHONDIR_FALSE=
71737 fi
71738
71739
71740 if test $enable_werror = yes; then
71741 ENABLE_WERROR_TRUE=
71742 ENABLE_WERROR_FALSE='#'
71743 else
71744 ENABLE_WERROR_TRUE='#'
71745 ENABLE_WERROR_FALSE=
71746 fi
71747
71748
71749 if test $enable_symvers != no; then
71750 ENABLE_SYMVERS_TRUE=
71751 ENABLE_SYMVERS_FALSE='#'
71752 else
71753 ENABLE_SYMVERS_TRUE='#'
71754 ENABLE_SYMVERS_FALSE=
71755 fi
71756
71757
71758 if test $enable_symvers = gnu; then
71759 ENABLE_SYMVERS_GNU_TRUE=
71760 ENABLE_SYMVERS_GNU_FALSE='#'
71761 else
71762 ENABLE_SYMVERS_GNU_TRUE='#'
71763 ENABLE_SYMVERS_GNU_FALSE=
71764 fi
71765
71766
71767 if test $enable_symvers = gnu-versioned-namespace; then
71768 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
71769 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
71770 else
71771 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
71772 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
71773 fi
71774
71775
71776 if test $enable_symvers = darwin; then
71777 ENABLE_SYMVERS_DARWIN_TRUE=
71778 ENABLE_SYMVERS_DARWIN_FALSE='#'
71779 else
71780 ENABLE_SYMVERS_DARWIN_TRUE='#'
71781 ENABLE_SYMVERS_DARWIN_FALSE=
71782 fi
71783
71784
71785 if test $enable_symvers = sun; then
71786 ENABLE_SYMVERS_SUN_TRUE=
71787 ENABLE_SYMVERS_SUN_FALSE='#'
71788 else
71789 ENABLE_SYMVERS_SUN_TRUE='#'
71790 ENABLE_SYMVERS_SUN_FALSE=
71791 fi
71792
71793
71794 if test $enable_libstdcxx_visibility = yes; then
71795 ENABLE_VISIBILITY_TRUE=
71796 ENABLE_VISIBILITY_FALSE='#'
71797 else
71798 ENABLE_VISIBILITY_TRUE='#'
71799 ENABLE_VISIBILITY_FALSE=
71800 fi
71801
71802
71803 if test $ac_ldbl_compat = yes; then
71804 GLIBCXX_LDBL_COMPAT_TRUE=
71805 GLIBCXX_LDBL_COMPAT_FALSE='#'
71806 else
71807 GLIBCXX_LDBL_COMPAT_TRUE='#'
71808 GLIBCXX_LDBL_COMPAT_FALSE=
71809 fi
71810
71811
71812
71813
71814 cat >confcache <<\_ACEOF
71815 # This file is a shell script that caches the results of configure
71816 # tests run on this system so they can be shared between configure
71817 # scripts and configure runs, see configure's option --config-cache.
71818 # It is not useful on other systems. If it contains results you don't
71819 # want to keep, you may remove or edit it.
71820 #
71821 # config.status only pays attention to the cache file if you give it
71822 # the --recheck option to rerun configure.
71823 #
71824 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71825 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71826 # following values.
71827
71828 _ACEOF
71829
71830 # The following way of writing the cache mishandles newlines in values,
71831 # but we know of no workaround that is simple, portable, and efficient.
71832 # So, we kill variables containing newlines.
71833 # Ultrix sh set writes to stderr and can't be redirected directly,
71834 # and sets the high bit in the cache file unless we assign to the vars.
71835 (
71836 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
71837 eval ac_val=\$$ac_var
71838 case $ac_val in #(
71839 *${as_nl}*)
71840 case $ac_var in #(
71841 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
71842 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
71843 esac
71844 case $ac_var in #(
71845 _ | IFS | as_nl) ;; #(
71846 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
71847 *) { eval $ac_var=; unset $ac_var;} ;;
71848 esac ;;
71849 esac
71850 done
71851
71852 (set) 2>&1 |
71853 case $as_nl`(ac_space=' '; set) 2>&1` in #(
71854 *${as_nl}ac_space=\ *)
71855 # `set' does not quote correctly, so add quotes: double-quote
71856 # substitution turns \\\\ into \\, and sed turns \\ into \.
71857 sed -n \
71858 "s/'/'\\\\''/g;
71859 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
71860 ;; #(
71861 *)
71862 # `set' quotes correctly as required by POSIX, so do not add quotes.
71863 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
71864 ;;
71865 esac |
71866 sort
71867 ) |
71868 sed '
71869 /^ac_cv_env_/b end
71870 t clear
71871 :clear
71872 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
71873 t end
71874 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
71875 :end' >>confcache
71876 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
71877 if test -w "$cache_file"; then
71878 test "x$cache_file" != "x/dev/null" &&
71879 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
71880 $as_echo "$as_me: updating cache $cache_file" >&6;}
71881 cat confcache >$cache_file
71882 else
71883 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
71884 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
71885 fi
71886 fi
71887 rm -f confcache
71888
71889 if test ${multilib} = yes; then
71890 multilib_arg="--enable-multilib"
71891 else
71892 multilib_arg=
71893 fi
71894
71895 # Export all the install information.
71896
71897 glibcxx_toolexecdir=no
71898 glibcxx_toolexeclibdir=no
71899 glibcxx_prefixdir=$prefix
71900
71901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
71902 $as_echo_n "checking for gxx-include-dir... " >&6; }
71903
71904 # Check whether --with-gxx-include-dir was given.
71905 if test "${with_gxx_include_dir+set}" = set; then :
71906 withval=$with_gxx_include_dir; case "$withval" in
71907 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
71908 no) gxx_include_dir=no ;;
71909 *) gxx_include_dir=$withval ;;
71910 esac
71911 else
71912 gxx_include_dir=no
71913 fi
71914
71915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71916 $as_echo "$gxx_include_dir" >&6; }
71917
71918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
71919 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
71920 # Check whether --enable-version-specific-runtime-libs was given.
71921 if test "${enable_version_specific_runtime_libs+set}" = set; then :
71922 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
71923 yes) version_specific_libs=yes ;;
71924 no) version_specific_libs=no ;;
71925 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
71926 esac
71927 else
71928 version_specific_libs=no
71929 fi
71930
71931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
71932 $as_echo "$version_specific_libs" >&6; }
71933
71934 # Default case for install directory for include files.
71935 if test $version_specific_libs = no && test $gxx_include_dir = no; then
71936 gxx_include_dir='include/c++/${gcc_version}'
71937 if test -n "$with_cross_host" &&
71938 test x"$with_cross_host" != x"no"; then
71939 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
71940 else
71941 gxx_include_dir='${prefix}/'"$gxx_include_dir"
71942 fi
71943 fi
71944
71945 # Version-specific runtime libs processing.
71946 if test $version_specific_libs = yes; then
71947 # Need the gcc compiler version to know where to install libraries
71948 # and header files if --enable-version-specific-runtime-libs option
71949 # is selected. FIXME: these variables are misnamed, there are
71950 # no executables installed in _toolexecdir or _toolexeclibdir.
71951 if test x"$gxx_include_dir" = x"no"; then
71952 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
71953 fi
71954 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71955 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
71956 fi
71957
71958 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
71959 # Install a library built with a cross compiler in tooldir, not libdir.
71960 if test x"$glibcxx_toolexecdir" = x"no"; then
71961 if test -n "$with_cross_host" &&
71962 test x"$with_cross_host" != x"no"; then
71963 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
71964 glibcxx_toolexeclibdir='${toolexecdir}/lib'
71965 else
71966 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71967 glibcxx_toolexeclibdir='${libdir}'
71968 fi
71969 multi_os_directory=`$CXX -print-multi-os-directory`
71970 case $multi_os_directory in
71971 .) ;; # Avoid trailing /.
71972 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
71973 esac
71974 fi
71975
71976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
71977 $as_echo_n "checking for install location... " >&6; }
71978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71979 $as_echo "$gxx_include_dir" >&6; }
71980
71981
71982
71983
71984
71985
71986
71987 # Export all the include and flag information to Makefiles.
71988
71989 # Used for every C++ compile we perform.
71990 GLIBCXX_INCLUDES="\
71991 -I$glibcxx_builddir/include/$host_alias \
71992 -I$glibcxx_builddir/include \
71993 -I$glibcxx_srcdir/libsupc++"
71994
71995 # For Canadian crosses, pick this up too.
71996 if test $CANADIAN = yes; then
71997 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
71998 fi
71999
72000 # Stuff in the actual top level. Currently only used by libsupc++ to
72001 # get unwind* headers from the libgcc dir.
72002 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
72003 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
72004
72005 # Now, export this to all the little Makefiles....
72006
72007
72008
72009
72010 # Optimization flags that are probably a good idea for thrill-seekers. Just
72011 # uncomment the lines below and make, everything else is ready to go...
72012 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
72013 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
72014
72015
72016 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
72017
72018
72019
72020 ac_config_files="$ac_config_files Makefile"
72021
72022 ac_config_files="$ac_config_files scripts/testsuite_flags"
72023
72024 ac_config_files="$ac_config_files scripts/extract_symvers"
72025
72026 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
72027
72028
72029 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
72030 # that multilib installs will end up installed in the correct place.
72031 # The testsuite needs it for multilib-aware ABI baseline files.
72032 # To work around this not being passed down from config-ml.in ->
72033 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
72034 # append it here. Only modify Makefiles that have just been created.
72035 #
72036 # Also, get rid of this simulated-VPATH thing that automake does.
72037 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
72038
72039
72040 ac_config_commands="$ac_config_commands generate-headers"
72041
72042
72043 cat >confcache <<\_ACEOF
72044 # This file is a shell script that caches the results of configure
72045 # tests run on this system so they can be shared between configure
72046 # scripts and configure runs, see configure's option --config-cache.
72047 # It is not useful on other systems. If it contains results you don't
72048 # want to keep, you may remove or edit it.
72049 #
72050 # config.status only pays attention to the cache file if you give it
72051 # the --recheck option to rerun configure.
72052 #
72053 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72054 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72055 # following values.
72056
72057 _ACEOF
72058
72059 # The following way of writing the cache mishandles newlines in values,
72060 # but we know of no workaround that is simple, portable, and efficient.
72061 # So, we kill variables containing newlines.
72062 # Ultrix sh set writes to stderr and can't be redirected directly,
72063 # and sets the high bit in the cache file unless we assign to the vars.
72064 (
72065 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72066 eval ac_val=\$$ac_var
72067 case $ac_val in #(
72068 *${as_nl}*)
72069 case $ac_var in #(
72070 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72071 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72072 esac
72073 case $ac_var in #(
72074 _ | IFS | as_nl) ;; #(
72075 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72076 *) { eval $ac_var=; unset $ac_var;} ;;
72077 esac ;;
72078 esac
72079 done
72080
72081 (set) 2>&1 |
72082 case $as_nl`(ac_space=' '; set) 2>&1` in #(
72083 *${as_nl}ac_space=\ *)
72084 # `set' does not quote correctly, so add quotes: double-quote
72085 # substitution turns \\\\ into \\, and sed turns \\ into \.
72086 sed -n \
72087 "s/'/'\\\\''/g;
72088 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72089 ;; #(
72090 *)
72091 # `set' quotes correctly as required by POSIX, so do not add quotes.
72092 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72093 ;;
72094 esac |
72095 sort
72096 ) |
72097 sed '
72098 /^ac_cv_env_/b end
72099 t clear
72100 :clear
72101 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72102 t end
72103 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72104 :end' >>confcache
72105 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72106 if test -w "$cache_file"; then
72107 test "x$cache_file" != "x/dev/null" &&
72108 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72109 $as_echo "$as_me: updating cache $cache_file" >&6;}
72110 cat confcache >$cache_file
72111 else
72112 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72113 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72114 fi
72115 fi
72116 rm -f confcache
72117
72118 test "x$prefix" = xNONE && prefix=$ac_default_prefix
72119 # Let make expand exec_prefix.
72120 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
72121
72122 DEFS=-DHAVE_CONFIG_H
72123
72124 ac_libobjs=
72125 ac_ltlibobjs=
72126 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
72127 # 1. Remove the extension, and $U if already installed.
72128 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
72129 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
72130 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
72131 # will be set to the directory where LIBOBJS objects are built.
72132 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
72133 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
72134 done
72135 LIBOBJS=$ac_libobjs
72136
72137 LTLIBOBJS=$ac_ltlibobjs
72138
72139
72140 if test -n "$EXEEXT"; then
72141 am__EXEEXT_TRUE=
72142 am__EXEEXT_FALSE='#'
72143 else
72144 am__EXEEXT_TRUE='#'
72145 am__EXEEXT_FALSE=
72146 fi
72147
72148 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
72149 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
72150 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72151 fi
72152 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
72153 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
72154 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72155 fi
72156 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
72157 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
72158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72159 fi
72160 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
72161 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
72162 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72163 fi
72164 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
72165 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
72166 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72167 fi
72168 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
72169 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
72170 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72171 fi
72172 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
72173 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
72174 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72175 fi
72176 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
72177 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
72178 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72179 fi
72180 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
72181 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
72182 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72183 fi
72184 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
72185 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
72186 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72187 fi
72188 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
72189 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
72190 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72191 fi
72192 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
72193 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
72194 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72195 fi
72196 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
72197 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
72198 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72199 fi
72200 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
72201 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
72202 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72203 fi
72204 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
72205 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
72206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72207 fi
72208 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
72209 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
72210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72211 fi
72212 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
72213 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
72214 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72215 fi
72216 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
72217 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
72218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72219 fi
72220 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
72221 as_fn_error "conditional \"BUILD_INFO\" was never defined.
72222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72223 fi
72224 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
72225 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
72226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72227 fi
72228 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
72229 as_fn_error "conditional \"BUILD_XML\" was never defined.
72230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72231 fi
72232 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
72233 as_fn_error "conditional \"BUILD_HTML\" was never defined.
72234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72235 fi
72236 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
72237 as_fn_error "conditional \"BUILD_MAN\" was never defined.
72238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72239 fi
72240 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
72241 as_fn_error "conditional \"BUILD_PDF\" was never defined.
72242 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72243 fi
72244
72245 : ${CONFIG_STATUS=./config.status}
72246 ac_write_fail=0
72247 ac_clean_files_save=$ac_clean_files
72248 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
72249 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
72250 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
72251 as_write_fail=0
72252 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
72253 #! $SHELL
72254 # Generated by $as_me.
72255 # Run this file to recreate the current configuration.
72256 # Compiler output produced by configure, useful for debugging
72257 # configure, is in config.log if it exists.
72258
72259 debug=false
72260 ac_cs_recheck=false
72261 ac_cs_silent=false
72262
72263 SHELL=\${CONFIG_SHELL-$SHELL}
72264 export SHELL
72265 _ASEOF
72266 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
72267 ## -------------------- ##
72268 ## M4sh Initialization. ##
72269 ## -------------------- ##
72270
72271 # Be more Bourne compatible
72272 DUALCASE=1; export DUALCASE # for MKS sh
72273 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
72274 emulate sh
72275 NULLCMD=:
72276 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
72277 # is contrary to our usage. Disable this feature.
72278 alias -g '${1+"$@"}'='"$@"'
72279 setopt NO_GLOB_SUBST
72280 else
72281 case `(set -o) 2>/dev/null` in #(
72282 *posix*) :
72283 set -o posix ;; #(
72284 *) :
72285 ;;
72286 esac
72287 fi
72288
72289
72290 as_nl='
72291 '
72292 export as_nl
72293 # Printing a long string crashes Solaris 7 /usr/bin/printf.
72294 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
72295 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
72296 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
72297 # Prefer a ksh shell builtin over an external printf program on Solaris,
72298 # but without wasting forks for bash or zsh.
72299 if test -z "$BASH_VERSION$ZSH_VERSION" \
72300 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
72301 as_echo='print -r --'
72302 as_echo_n='print -rn --'
72303 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
72304 as_echo='printf %s\n'
72305 as_echo_n='printf %s'
72306 else
72307 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
72308 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
72309 as_echo_n='/usr/ucb/echo -n'
72310 else
72311 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
72312 as_echo_n_body='eval
72313 arg=$1;
72314 case $arg in #(
72315 *"$as_nl"*)
72316 expr "X$arg" : "X\\(.*\\)$as_nl";
72317 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
72318 esac;
72319 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72320 '
72321 export as_echo_n_body
72322 as_echo_n='sh -c $as_echo_n_body as_echo'
72323 fi
72324 export as_echo_body
72325 as_echo='sh -c $as_echo_body as_echo'
72326 fi
72327
72328 # The user is always right.
72329 if test "${PATH_SEPARATOR+set}" != set; then
72330 PATH_SEPARATOR=:
72331 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
72332 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
72333 PATH_SEPARATOR=';'
72334 }
72335 fi
72336
72337
72338 # IFS
72339 # We need space, tab and new line, in precisely that order. Quoting is
72340 # there to prevent editors from complaining about space-tab.
72341 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
72342 # splitting by setting IFS to empty value.)
72343 IFS=" "" $as_nl"
72344
72345 # Find who we are. Look in the path if we contain no directory separator.
72346 case $0 in #((
72347 *[\\/]* ) as_myself=$0 ;;
72348 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72349 for as_dir in $PATH
72350 do
72351 IFS=$as_save_IFS
72352 test -z "$as_dir" && as_dir=.
72353 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
72354 done
72355 IFS=$as_save_IFS
72356
72357 ;;
72358 esac
72359 # We did not find ourselves, most probably we were run as `sh COMMAND'
72360 # in which case we are not to be found in the path.
72361 if test "x$as_myself" = x; then
72362 as_myself=$0
72363 fi
72364 if test ! -f "$as_myself"; then
72365 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
72366 exit 1
72367 fi
72368
72369 # Unset variables that we do not need and which cause bugs (e.g. in
72370 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
72371 # suppresses any "Segmentation fault" message there. '((' could
72372 # trigger a bug in pdksh 5.2.14.
72373 for as_var in BASH_ENV ENV MAIL MAILPATH
72374 do eval test x\${$as_var+set} = xset \
72375 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72376 done
72377 PS1='$ '
72378 PS2='> '
72379 PS4='+ '
72380
72381 # NLS nuisances.
72382 LC_ALL=C
72383 export LC_ALL
72384 LANGUAGE=C
72385 export LANGUAGE
72386
72387 # CDPATH.
72388 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72389
72390
72391 # as_fn_error ERROR [LINENO LOG_FD]
72392 # ---------------------------------
72393 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
72394 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
72395 # script with status $?, using 1 if that was 0.
72396 as_fn_error ()
72397 {
72398 as_status=$?; test $as_status -eq 0 && as_status=1
72399 if test "$3"; then
72400 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
72401 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
72402 fi
72403 $as_echo "$as_me: error: $1" >&2
72404 as_fn_exit $as_status
72405 } # as_fn_error
72406
72407
72408 # as_fn_set_status STATUS
72409 # -----------------------
72410 # Set $? to STATUS, without forking.
72411 as_fn_set_status ()
72412 {
72413 return $1
72414 } # as_fn_set_status
72415
72416 # as_fn_exit STATUS
72417 # -----------------
72418 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
72419 as_fn_exit ()
72420 {
72421 set +e
72422 as_fn_set_status $1
72423 exit $1
72424 } # as_fn_exit
72425
72426 # as_fn_unset VAR
72427 # ---------------
72428 # Portably unset VAR.
72429 as_fn_unset ()
72430 {
72431 { eval $1=; unset $1;}
72432 }
72433 as_unset=as_fn_unset
72434 # as_fn_append VAR VALUE
72435 # ----------------------
72436 # Append the text in VALUE to the end of the definition contained in VAR. Take
72437 # advantage of any shell optimizations that allow amortized linear growth over
72438 # repeated appends, instead of the typical quadratic growth present in naive
72439 # implementations.
72440 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
72441 eval 'as_fn_append ()
72442 {
72443 eval $1+=\$2
72444 }'
72445 else
72446 as_fn_append ()
72447 {
72448 eval $1=\$$1\$2
72449 }
72450 fi # as_fn_append
72451
72452 # as_fn_arith ARG...
72453 # ------------------
72454 # Perform arithmetic evaluation on the ARGs, and store the result in the
72455 # global $as_val. Take advantage of shells that can avoid forks. The arguments
72456 # must be portable across $(()) and expr.
72457 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
72458 eval 'as_fn_arith ()
72459 {
72460 as_val=$(( $* ))
72461 }'
72462 else
72463 as_fn_arith ()
72464 {
72465 as_val=`expr "$@" || test $? -eq 1`
72466 }
72467 fi # as_fn_arith
72468
72469
72470 if expr a : '\(a\)' >/dev/null 2>&1 &&
72471 test "X`expr 00001 : '.*\(...\)'`" = X001; then
72472 as_expr=expr
72473 else
72474 as_expr=false
72475 fi
72476
72477 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
72478 as_basename=basename
72479 else
72480 as_basename=false
72481 fi
72482
72483 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
72484 as_dirname=dirname
72485 else
72486 as_dirname=false
72487 fi
72488
72489 as_me=`$as_basename -- "$0" ||
72490 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
72491 X"$0" : 'X\(//\)$' \| \
72492 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72493 $as_echo X/"$0" |
72494 sed '/^.*\/\([^/][^/]*\)\/*$/{
72495 s//\1/
72496 q
72497 }
72498 /^X\/\(\/\/\)$/{
72499 s//\1/
72500 q
72501 }
72502 /^X\/\(\/\).*/{
72503 s//\1/
72504 q
72505 }
72506 s/.*/./; q'`
72507
72508 # Avoid depending upon Character Ranges.
72509 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
72510 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
72511 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
72512 as_cr_digits='0123456789'
72513 as_cr_alnum=$as_cr_Letters$as_cr_digits
72514
72515 ECHO_C= ECHO_N= ECHO_T=
72516 case `echo -n x` in #(((((
72517 -n*)
72518 case `echo 'xy\c'` in
72519 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
72520 xy) ECHO_C='\c';;
72521 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
72522 ECHO_T=' ';;
72523 esac;;
72524 *)
72525 ECHO_N='-n';;
72526 esac
72527
72528 rm -f conf$$ conf$$.exe conf$$.file
72529 if test -d conf$$.dir; then
72530 rm -f conf$$.dir/conf$$.file
72531 else
72532 rm -f conf$$.dir
72533 mkdir conf$$.dir 2>/dev/null
72534 fi
72535 if (echo >conf$$.file) 2>/dev/null; then
72536 if ln -s conf$$.file conf$$ 2>/dev/null; then
72537 as_ln_s='ln -s'
72538 # ... but there are two gotchas:
72539 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
72540 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
72541 # In both cases, we have to default to `cp -p'.
72542 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
72543 as_ln_s='cp -p'
72544 elif ln conf$$.file conf$$ 2>/dev/null; then
72545 as_ln_s=ln
72546 else
72547 as_ln_s='cp -p'
72548 fi
72549 else
72550 as_ln_s='cp -p'
72551 fi
72552 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
72553 rmdir conf$$.dir 2>/dev/null
72554
72555
72556 # as_fn_mkdir_p
72557 # -------------
72558 # Create "$as_dir" as a directory, including parents if necessary.
72559 as_fn_mkdir_p ()
72560 {
72561
72562 case $as_dir in #(
72563 -*) as_dir=./$as_dir;;
72564 esac
72565 test -d "$as_dir" || eval $as_mkdir_p || {
72566 as_dirs=
72567 while :; do
72568 case $as_dir in #(
72569 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
72570 *) as_qdir=$as_dir;;
72571 esac
72572 as_dirs="'$as_qdir' $as_dirs"
72573 as_dir=`$as_dirname -- "$as_dir" ||
72574 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
72575 X"$as_dir" : 'X\(//\)[^/]' \| \
72576 X"$as_dir" : 'X\(//\)$' \| \
72577 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
72578 $as_echo X"$as_dir" |
72579 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
72580 s//\1/
72581 q
72582 }
72583 /^X\(\/\/\)[^/].*/{
72584 s//\1/
72585 q
72586 }
72587 /^X\(\/\/\)$/{
72588 s//\1/
72589 q
72590 }
72591 /^X\(\/\).*/{
72592 s//\1/
72593 q
72594 }
72595 s/.*/./; q'`
72596 test -d "$as_dir" && break
72597 done
72598 test -z "$as_dirs" || eval "mkdir $as_dirs"
72599 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
72600
72601
72602 } # as_fn_mkdir_p
72603 if mkdir -p . 2>/dev/null; then
72604 as_mkdir_p='mkdir -p "$as_dir"'
72605 else
72606 test -d ./-p && rmdir ./-p
72607 as_mkdir_p=false
72608 fi
72609
72610 if test -x / >/dev/null 2>&1; then
72611 as_test_x='test -x'
72612 else
72613 if ls -dL / >/dev/null 2>&1; then
72614 as_ls_L_option=L
72615 else
72616 as_ls_L_option=
72617 fi
72618 as_test_x='
72619 eval sh -c '\''
72620 if test -d "$1"; then
72621 test -d "$1/.";
72622 else
72623 case $1 in #(
72624 -*)set "./$1";;
72625 esac;
72626 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
72627 ???[sx]*):;;*)false;;esac;fi
72628 '\'' sh
72629 '
72630 fi
72631 as_executable_p=$as_test_x
72632
72633 # Sed expression to map a string onto a valid CPP name.
72634 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
72635
72636 # Sed expression to map a string onto a valid variable name.
72637 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
72638
72639
72640 exec 6>&1
72641 ## ----------------------------------- ##
72642 ## Main body of $CONFIG_STATUS script. ##
72643 ## ----------------------------------- ##
72644 _ASEOF
72645 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
72646
72647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72648 # Save the log message, to keep $0 and so on meaningful, and to
72649 # report actual input values of CONFIG_FILES etc. instead of their
72650 # values after options handling.
72651 ac_log="
72652 This file was extended by package-unused $as_me version-unused, which was
72653 generated by GNU Autoconf 2.64. Invocation command line was
72654
72655 CONFIG_FILES = $CONFIG_FILES
72656 CONFIG_HEADERS = $CONFIG_HEADERS
72657 CONFIG_LINKS = $CONFIG_LINKS
72658 CONFIG_COMMANDS = $CONFIG_COMMANDS
72659 $ $0 $@
72660
72661 on `(hostname || uname -n) 2>/dev/null | sed 1q`
72662 "
72663
72664 _ACEOF
72665
72666 case $ac_config_files in *"
72667 "*) set x $ac_config_files; shift; ac_config_files=$*;;
72668 esac
72669
72670 case $ac_config_headers in *"
72671 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
72672 esac
72673
72674
72675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72676 # Files that config.status was made for.
72677 config_files="$ac_config_files"
72678 config_headers="$ac_config_headers"
72679 config_commands="$ac_config_commands"
72680
72681 _ACEOF
72682
72683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72684 ac_cs_usage="\
72685 \`$as_me' instantiates files and other configuration actions
72686 from templates according to the current configuration. Unless the files
72687 and actions are specified as TAGs, all are instantiated by default.
72688
72689 Usage: $0 [OPTION]... [TAG]...
72690
72691 -h, --help print this help, then exit
72692 -V, --version print version number and configuration settings, then exit
72693 -q, --quiet, --silent
72694 do not print progress messages
72695 -d, --debug don't remove temporary files
72696 --recheck update $as_me by reconfiguring in the same conditions
72697 --file=FILE[:TEMPLATE]
72698 instantiate the configuration file FILE
72699 --header=FILE[:TEMPLATE]
72700 instantiate the configuration header FILE
72701
72702 Configuration files:
72703 $config_files
72704
72705 Configuration headers:
72706 $config_headers
72707
72708 Configuration commands:
72709 $config_commands
72710
72711 Report bugs to the package provider."
72712
72713 _ACEOF
72714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72715 ac_cs_version="\\
72716 package-unused config.status version-unused
72717 configured by $0, generated by GNU Autoconf 2.64,
72718 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
72719
72720 Copyright (C) 2009 Free Software Foundation, Inc.
72721 This config.status script is free software; the Free Software Foundation
72722 gives unlimited permission to copy, distribute and modify it."
72723
72724 ac_pwd='$ac_pwd'
72725 srcdir='$srcdir'
72726 INSTALL='$INSTALL'
72727 MKDIR_P='$MKDIR_P'
72728 AWK='$AWK'
72729 test -n "\$AWK" || AWK=awk
72730 _ACEOF
72731
72732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72733 # The default lists apply if the user does not specify any file.
72734 ac_need_defaults=:
72735 while test $# != 0
72736 do
72737 case $1 in
72738 --*=*)
72739 ac_option=`expr "X$1" : 'X\([^=]*\)='`
72740 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
72741 ac_shift=:
72742 ;;
72743 *)
72744 ac_option=$1
72745 ac_optarg=$2
72746 ac_shift=shift
72747 ;;
72748 esac
72749
72750 case $ac_option in
72751 # Handling of the options.
72752 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
72753 ac_cs_recheck=: ;;
72754 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
72755 $as_echo "$ac_cs_version"; exit ;;
72756 --debug | --debu | --deb | --de | --d | -d )
72757 debug=: ;;
72758 --file | --fil | --fi | --f )
72759 $ac_shift
72760 case $ac_optarg in
72761 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72762 esac
72763 as_fn_append CONFIG_FILES " '$ac_optarg'"
72764 ac_need_defaults=false;;
72765 --header | --heade | --head | --hea )
72766 $ac_shift
72767 case $ac_optarg in
72768 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72769 esac
72770 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
72771 ac_need_defaults=false;;
72772 --he | --h)
72773 # Conflict between --help and --header
72774 as_fn_error "ambiguous option: \`$1'
72775 Try \`$0 --help' for more information.";;
72776 --help | --hel | -h )
72777 $as_echo "$ac_cs_usage"; exit ;;
72778 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
72779 | -silent | --silent | --silen | --sile | --sil | --si | --s)
72780 ac_cs_silent=: ;;
72781
72782 # This is an error.
72783 -*) as_fn_error "unrecognized option: \`$1'
72784 Try \`$0 --help' for more information." ;;
72785
72786 *) as_fn_append ac_config_targets " $1"
72787 ac_need_defaults=false ;;
72788
72789 esac
72790 shift
72791 done
72792
72793 ac_configure_extra_args=
72794
72795 if $ac_cs_silent; then
72796 exec 6>/dev/null
72797 ac_configure_extra_args="$ac_configure_extra_args --silent"
72798 fi
72799
72800 _ACEOF
72801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72802 if \$ac_cs_recheck; then
72803 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
72804 shift
72805 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
72806 CONFIG_SHELL='$SHELL'
72807 export CONFIG_SHELL
72808 exec "\$@"
72809 fi
72810
72811 _ACEOF
72812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72813 exec 5>>config.log
72814 {
72815 echo
72816 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
72817 ## Running $as_me. ##
72818 _ASBOX
72819 $as_echo "$ac_log"
72820 } >&5
72821
72822 _ACEOF
72823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72824 #
72825 # INIT-COMMANDS
72826 #
72827
72828 srcdir="$srcdir"
72829 host="$host"
72830 target="$target"
72831 with_multisubdir="$with_multisubdir"
72832 with_multisrctop="$with_multisrctop"
72833 with_target_subdir="$with_target_subdir"
72834 ac_configure_args="${multilib_arg} ${ac_configure_args}"
72835 multi_basedir="$multi_basedir"
72836 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
72837 CC="$CC"
72838 CXX="$CXX"
72839 GFORTRAN="$GFORTRAN"
72840 GCJ="$GCJ"
72841
72842
72843 # The HP-UX ksh and POSIX shell print the target directory to stdout
72844 # if CDPATH is set.
72845 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72846
72847 sed_quote_subst='$sed_quote_subst'
72848 double_quote_subst='$double_quote_subst'
72849 delay_variable_subst='$delay_variable_subst'
72850 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
72851 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
72852 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
72853 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
72854 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
72855 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
72856 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
72857 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
72858 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
72859 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
72860 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
72861 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
72862 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
72863 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
72864 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
72865 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
72866 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
72867 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
72868 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
72869 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
72870 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
72871 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
72872 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
72873 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
72874 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
72875 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
72876 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
72877 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
72878 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
72879 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
72880 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
72881 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
72882 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
72883 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
72884 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
72885 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
72886 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
72887 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72888 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72889 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
72890 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
72891 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
72892 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
72893 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
72894 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
72895 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
72896 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
72897 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
72898 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"`'
72899 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
72900 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
72901 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
72902 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
72903 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
72904 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
72905 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
72906 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
72907 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
72908 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
72909 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
72910 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
72911 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
72912 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
72913 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
72914 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72915 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
72916 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
72917 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
72918 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
72919 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
72920 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
72921 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72922 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
72923 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72924 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
72925 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72926 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
72927 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
72928 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
72929 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
72930 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
72931 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
72932 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
72933 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
72934 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
72935 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
72936 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
72937 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
72938 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
72939 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
72940 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
72941 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
72942 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
72943 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
72944 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
72945 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
72946 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
72947 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
72948 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
72949 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
72950 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
72951 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
72952 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
72953 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
72954 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
72955 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
72956 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
72957 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72958 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72959 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
72960 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
72961 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
72962 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
72963 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
72964 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
72965 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
72966 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
72967 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
72968 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
72969 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
72970 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
72971 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
72972 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
72973 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
72974 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
72975 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
72976 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
72977 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
72978 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72979 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72980 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
72981 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
72982 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
72983 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
72984 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
72985 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
72986 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
72987 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
72988 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
72989 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
72990 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
72991 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
72992 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72993 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72994 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72995 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72996 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72997 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72998 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
72999 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73000 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73001 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73002 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
73003 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
73004 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
73005 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
73006 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
73007 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
73008 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
73009 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
73010 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
73011 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
73012 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
73013 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73014 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73015 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73016 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73017 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
73018 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
73019 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
73020 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73021 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73022 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
73023 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
73024 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
73025
73026 LTCC='$LTCC'
73027 LTCFLAGS='$LTCFLAGS'
73028 compiler='$compiler_DEFAULT'
73029
73030 # A function that is used when there is no print builtin or printf.
73031 func_fallback_echo ()
73032 {
73033 eval 'cat <<_LTECHO_EOF
73034 \$1
73035 _LTECHO_EOF'
73036 }
73037
73038 # Quote evaled strings.
73039 for var in SHELL \
73040 ECHO \
73041 SED \
73042 GREP \
73043 EGREP \
73044 FGREP \
73045 LD \
73046 NM \
73047 LN_S \
73048 lt_SP2NL \
73049 lt_NL2SP \
73050 reload_flag \
73051 OBJDUMP \
73052 deplibs_check_method \
73053 file_magic_cmd \
73054 AR \
73055 AR_FLAGS \
73056 STRIP \
73057 RANLIB \
73058 CC \
73059 CFLAGS \
73060 compiler \
73061 lt_cv_sys_global_symbol_pipe \
73062 lt_cv_sys_global_symbol_to_cdecl \
73063 lt_cv_sys_global_symbol_to_c_name_address \
73064 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
73065 lt_prog_compiler_no_builtin_flag \
73066 lt_prog_compiler_wl \
73067 lt_prog_compiler_pic \
73068 lt_prog_compiler_static \
73069 lt_cv_prog_compiler_c_o \
73070 need_locks \
73071 DSYMUTIL \
73072 NMEDIT \
73073 LIPO \
73074 OTOOL \
73075 OTOOL64 \
73076 shrext_cmds \
73077 export_dynamic_flag_spec \
73078 whole_archive_flag_spec \
73079 compiler_needs_object \
73080 with_gnu_ld \
73081 allow_undefined_flag \
73082 no_undefined_flag \
73083 hardcode_libdir_flag_spec \
73084 hardcode_libdir_flag_spec_ld \
73085 hardcode_libdir_separator \
73086 fix_srcfile_path \
73087 exclude_expsyms \
73088 include_expsyms \
73089 file_list_spec \
73090 variables_saved_for_relink \
73091 libname_spec \
73092 library_names_spec \
73093 soname_spec \
73094 install_override_mode \
73095 finish_eval \
73096 old_striplib \
73097 striplib \
73098 compiler_lib_search_dirs \
73099 predep_objects \
73100 postdep_objects \
73101 predeps \
73102 postdeps \
73103 compiler_lib_search_path \
73104 LD_CXX \
73105 reload_flag_CXX \
73106 compiler_CXX \
73107 lt_prog_compiler_no_builtin_flag_CXX \
73108 lt_prog_compiler_wl_CXX \
73109 lt_prog_compiler_pic_CXX \
73110 lt_prog_compiler_static_CXX \
73111 lt_cv_prog_compiler_c_o_CXX \
73112 export_dynamic_flag_spec_CXX \
73113 whole_archive_flag_spec_CXX \
73114 compiler_needs_object_CXX \
73115 with_gnu_ld_CXX \
73116 allow_undefined_flag_CXX \
73117 no_undefined_flag_CXX \
73118 hardcode_libdir_flag_spec_CXX \
73119 hardcode_libdir_flag_spec_ld_CXX \
73120 hardcode_libdir_separator_CXX \
73121 fix_srcfile_path_CXX \
73122 exclude_expsyms_CXX \
73123 include_expsyms_CXX \
73124 file_list_spec_CXX \
73125 compiler_lib_search_dirs_CXX \
73126 predep_objects_CXX \
73127 postdep_objects_CXX \
73128 predeps_CXX \
73129 postdeps_CXX \
73130 compiler_lib_search_path_CXX; do
73131 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73132 *[\\\\\\\`\\"\\\$]*)
73133 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
73134 ;;
73135 *)
73136 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73137 ;;
73138 esac
73139 done
73140
73141 # Double-quote double-evaled strings.
73142 for var in reload_cmds \
73143 old_postinstall_cmds \
73144 old_postuninstall_cmds \
73145 old_archive_cmds \
73146 extract_expsyms_cmds \
73147 old_archive_from_new_cmds \
73148 old_archive_from_expsyms_cmds \
73149 archive_cmds \
73150 archive_expsym_cmds \
73151 module_cmds \
73152 module_expsym_cmds \
73153 export_symbols_cmds \
73154 prelink_cmds \
73155 postinstall_cmds \
73156 postuninstall_cmds \
73157 finish_cmds \
73158 sys_lib_search_path_spec \
73159 sys_lib_dlsearch_path_spec \
73160 reload_cmds_CXX \
73161 old_archive_cmds_CXX \
73162 old_archive_from_new_cmds_CXX \
73163 old_archive_from_expsyms_cmds_CXX \
73164 archive_cmds_CXX \
73165 archive_expsym_cmds_CXX \
73166 module_cmds_CXX \
73167 module_expsym_cmds_CXX \
73168 export_symbols_cmds_CXX \
73169 prelink_cmds_CXX; do
73170 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73171 *[\\\\\\\`\\"\\\$]*)
73172 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
73173 ;;
73174 *)
73175 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73176 ;;
73177 esac
73178 done
73179
73180 ac_aux_dir='$ac_aux_dir'
73181 xsi_shell='$xsi_shell'
73182 lt_shell_append='$lt_shell_append'
73183
73184 # See if we are running on zsh, and set the options which allow our
73185 # commands through without removal of \ escapes INIT.
73186 if test -n "\${ZSH_VERSION+set}" ; then
73187 setopt NO_GLOB_SUBST
73188 fi
73189
73190
73191 PACKAGE='$PACKAGE'
73192 VERSION='$VERSION'
73193 TIMESTAMP='$TIMESTAMP'
73194 RM='$RM'
73195 ofile='$ofile'
73196
73197
73198
73199
73200
73201
73202 GCC="$GCC"
73203 CC="$CC"
73204 acx_cv_header_stdint="$acx_cv_header_stdint"
73205 acx_cv_type_int8_t="$acx_cv_type_int8_t"
73206 acx_cv_type_int16_t="$acx_cv_type_int16_t"
73207 acx_cv_type_int32_t="$acx_cv_type_int32_t"
73208 acx_cv_type_int64_t="$acx_cv_type_int64_t"
73209 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
73210 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
73211 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
73212 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
73213 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
73214 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
73215 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
73216 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
73217 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
73218
73219
73220 _ACEOF
73221
73222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73223
73224 # Handling of arguments.
73225 for ac_config_target in $ac_config_targets
73226 do
73227 case $ac_config_target in
73228 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
73229 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
73230 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
73231 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
73232 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
73233 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
73234 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
73235 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
73236 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
73237 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
73238 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
73239 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
73240 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
73241 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
73242 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
73243 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
73244 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
73245 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
73246
73247 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
73248 esac
73249 done
73250
73251
73252 # If the user did not use the arguments to specify the items to instantiate,
73253 # then the envvar interface is used. Set only those that are not.
73254 # We use the long form for the default assignment because of an extremely
73255 # bizarre bug on SunOS 4.1.3.
73256 if $ac_need_defaults; then
73257 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
73258 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
73259 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
73260 fi
73261
73262 # Have a temporary directory for convenience. Make it in the build tree
73263 # simply because there is no reason against having it here, and in addition,
73264 # creating and moving files from /tmp can sometimes cause problems.
73265 # Hook for its removal unless debugging.
73266 # Note that there is a small window in which the directory will not be cleaned:
73267 # after its creation but before its name has been assigned to `$tmp'.
73268 $debug ||
73269 {
73270 tmp=
73271 trap 'exit_status=$?
73272 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
73273 ' 0
73274 trap 'as_fn_exit 1' 1 2 13 15
73275 }
73276 # Create a (secure) tmp directory for tmp files.
73277
73278 {
73279 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
73280 test -n "$tmp" && test -d "$tmp"
73281 } ||
73282 {
73283 tmp=./conf$$-$RANDOM
73284 (umask 077 && mkdir "$tmp")
73285 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
73286
73287 # Set up the scripts for CONFIG_FILES section.
73288 # No need to generate them if there are no CONFIG_FILES.
73289 # This happens for instance with `./config.status config.h'.
73290 if test -n "$CONFIG_FILES"; then
73291
73292
73293 ac_cr=`echo X | tr X '\015'`
73294 # On cygwin, bash can eat \r inside `` if the user requested igncr.
73295 # But we know of no other shell where ac_cr would be empty at this
73296 # point, so we can use a bashism as a fallback.
73297 if test "x$ac_cr" = x; then
73298 eval ac_cr=\$\'\\r\'
73299 fi
73300 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
73301 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
73302 ac_cs_awk_cr='\r'
73303 else
73304 ac_cs_awk_cr=$ac_cr
73305 fi
73306
73307 echo 'BEGIN {' >"$tmp/subs1.awk" &&
73308 _ACEOF
73309
73310
73311 {
73312 echo "cat >conf$$subs.awk <<_ACEOF" &&
73313 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
73314 echo "_ACEOF"
73315 } >conf$$subs.sh ||
73316 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73317 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
73318 ac_delim='%!_!# '
73319 for ac_last_try in false false false false false :; do
73320 . ./conf$$subs.sh ||
73321 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73322
73323 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
73324 if test $ac_delim_n = $ac_delim_num; then
73325 break
73326 elif $ac_last_try; then
73327 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73328 else
73329 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73330 fi
73331 done
73332 rm -f conf$$subs.sh
73333
73334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73335 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
73336 _ACEOF
73337 sed -n '
73338 h
73339 s/^/S["/; s/!.*/"]=/
73340 p
73341 g
73342 s/^[^!]*!//
73343 :repl
73344 t repl
73345 s/'"$ac_delim"'$//
73346 t delim
73347 :nl
73348 h
73349 s/\(.\{148\}\).*/\1/
73350 t more1
73351 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
73352 p
73353 n
73354 b repl
73355 :more1
73356 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73357 p
73358 g
73359 s/.\{148\}//
73360 t nl
73361 :delim
73362 h
73363 s/\(.\{148\}\).*/\1/
73364 t more2
73365 s/["\\]/\\&/g; s/^/"/; s/$/"/
73366 p
73367 b
73368 :more2
73369 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73370 p
73371 g
73372 s/.\{148\}//
73373 t delim
73374 ' <conf$$subs.awk | sed '
73375 /^[^""]/{
73376 N
73377 s/\n//
73378 }
73379 ' >>$CONFIG_STATUS || ac_write_fail=1
73380 rm -f conf$$subs.awk
73381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73382 _ACAWK
73383 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
73384 for (key in S) S_is_set[key] = 1
73385 FS = "\a"
73386
73387 }
73388 {
73389 line = $ 0
73390 nfields = split(line, field, "@")
73391 substed = 0
73392 len = length(field[1])
73393 for (i = 2; i < nfields; i++) {
73394 key = field[i]
73395 keylen = length(key)
73396 if (S_is_set[key]) {
73397 value = S[key]
73398 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
73399 len += length(value) + length(field[++i])
73400 substed = 1
73401 } else
73402 len += 1 + keylen
73403 }
73404
73405 print line
73406 }
73407
73408 _ACAWK
73409 _ACEOF
73410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73411 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
73412 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
73413 else
73414 cat
73415 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
73416 || as_fn_error "could not setup config files machinery" "$LINENO" 5
73417 _ACEOF
73418
73419 # VPATH may cause trouble with some makes, so we remove $(srcdir),
73420 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
73421 # trailing colons and then remove the whole line if VPATH becomes empty
73422 # (actually we leave an empty line to preserve line numbers).
73423 if test "x$srcdir" = x.; then
73424 ac_vpsub='/^[ ]*VPATH[ ]*=/{
73425 s/:*\$(srcdir):*/:/
73426 s/:*\${srcdir}:*/:/
73427 s/:*@srcdir@:*/:/
73428 s/^\([^=]*=[ ]*\):*/\1/
73429 s/:*$//
73430 s/^[^=]*=[ ]*$//
73431 }'
73432 fi
73433
73434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73435 fi # test -n "$CONFIG_FILES"
73436
73437 # Set up the scripts for CONFIG_HEADERS section.
73438 # No need to generate them if there are no CONFIG_HEADERS.
73439 # This happens for instance with `./config.status Makefile'.
73440 if test -n "$CONFIG_HEADERS"; then
73441 cat >"$tmp/defines.awk" <<\_ACAWK ||
73442 BEGIN {
73443 _ACEOF
73444
73445 # Transform confdefs.h into an awk script `defines.awk', embedded as
73446 # here-document in config.status, that substitutes the proper values into
73447 # config.h.in to produce config.h.
73448
73449 # Create a delimiter string that does not exist in confdefs.h, to ease
73450 # handling of long lines.
73451 ac_delim='%!_!# '
73452 for ac_last_try in false false :; do
73453 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
73454 if test -z "$ac_t"; then
73455 break
73456 elif $ac_last_try; then
73457 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
73458 else
73459 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73460 fi
73461 done
73462
73463 # For the awk script, D is an array of macro values keyed by name,
73464 # likewise P contains macro parameters if any. Preserve backslash
73465 # newline sequences.
73466
73467 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
73468 sed -n '
73469 s/.\{148\}/&'"$ac_delim"'/g
73470 t rset
73471 :rset
73472 s/^[ ]*#[ ]*define[ ][ ]*/ /
73473 t def
73474 d
73475 :def
73476 s/\\$//
73477 t bsnl
73478 s/["\\]/\\&/g
73479 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73480 D["\1"]=" \3"/p
73481 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
73482 d
73483 :bsnl
73484 s/["\\]/\\&/g
73485 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73486 D["\1"]=" \3\\\\\\n"\\/p
73487 t cont
73488 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
73489 t cont
73490 d
73491 :cont
73492 n
73493 s/.\{148\}/&'"$ac_delim"'/g
73494 t clear
73495 :clear
73496 s/\\$//
73497 t bsnlc
73498 s/["\\]/\\&/g; s/^/"/; s/$/"/p
73499 d
73500 :bsnlc
73501 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
73502 b cont
73503 ' <confdefs.h | sed '
73504 s/'"$ac_delim"'/"\\\
73505 "/g' >>$CONFIG_STATUS || ac_write_fail=1
73506
73507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73508 for (key in D) D_is_set[key] = 1
73509 FS = "\a"
73510 }
73511 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
73512 line = \$ 0
73513 split(line, arg, " ")
73514 if (arg[1] == "#") {
73515 defundef = arg[2]
73516 mac1 = arg[3]
73517 } else {
73518 defundef = substr(arg[1], 2)
73519 mac1 = arg[2]
73520 }
73521 split(mac1, mac2, "(") #)
73522 macro = mac2[1]
73523 prefix = substr(line, 1, index(line, defundef) - 1)
73524 if (D_is_set[macro]) {
73525 # Preserve the white space surrounding the "#".
73526 print prefix "define", macro P[macro] D[macro]
73527 next
73528 } else {
73529 # Replace #undef with comments. This is necessary, for example,
73530 # in the case of _POSIX_SOURCE, which is predefined and required
73531 # on some systems where configure will not decide to define it.
73532 if (defundef == "undef") {
73533 print "/*", prefix defundef, macro, "*/"
73534 next
73535 }
73536 }
73537 }
73538 { print }
73539 _ACAWK
73540 _ACEOF
73541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73542 as_fn_error "could not setup config headers machinery" "$LINENO" 5
73543 fi # test -n "$CONFIG_HEADERS"
73544
73545
73546 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
73547 shift
73548 for ac_tag
73549 do
73550 case $ac_tag in
73551 :[FHLC]) ac_mode=$ac_tag; continue;;
73552 esac
73553 case $ac_mode$ac_tag in
73554 :[FHL]*:*);;
73555 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
73556 :[FH]-) ac_tag=-:-;;
73557 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
73558 esac
73559 ac_save_IFS=$IFS
73560 IFS=:
73561 set x $ac_tag
73562 IFS=$ac_save_IFS
73563 shift
73564 ac_file=$1
73565 shift
73566
73567 case $ac_mode in
73568 :L) ac_source=$1;;
73569 :[FH])
73570 ac_file_inputs=
73571 for ac_f
73572 do
73573 case $ac_f in
73574 -) ac_f="$tmp/stdin";;
73575 *) # Look for the file first in the build tree, then in the source tree
73576 # (if the path is not absolute). The absolute path cannot be DOS-style,
73577 # because $ac_f cannot contain `:'.
73578 test -f "$ac_f" ||
73579 case $ac_f in
73580 [\\/$]*) false;;
73581 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
73582 esac ||
73583 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
73584 esac
73585 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
73586 as_fn_append ac_file_inputs " '$ac_f'"
73587 done
73588
73589 # Let's still pretend it is `configure' which instantiates (i.e., don't
73590 # use $as_me), people would be surprised to read:
73591 # /* config.h. Generated by config.status. */
73592 configure_input='Generated from '`
73593 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
73594 `' by configure.'
73595 if test x"$ac_file" != x-; then
73596 configure_input="$ac_file. $configure_input"
73597 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
73598 $as_echo "$as_me: creating $ac_file" >&6;}
73599 fi
73600 # Neutralize special characters interpreted by sed in replacement strings.
73601 case $configure_input in #(
73602 *\&* | *\|* | *\\* )
73603 ac_sed_conf_input=`$as_echo "$configure_input" |
73604 sed 's/[\\\\&|]/\\\\&/g'`;; #(
73605 *) ac_sed_conf_input=$configure_input;;
73606 esac
73607
73608 case $ac_tag in
73609 *:-:* | *:-) cat >"$tmp/stdin" \
73610 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
73611 esac
73612 ;;
73613 esac
73614
73615 ac_dir=`$as_dirname -- "$ac_file" ||
73616 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73617 X"$ac_file" : 'X\(//\)[^/]' \| \
73618 X"$ac_file" : 'X\(//\)$' \| \
73619 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
73620 $as_echo X"$ac_file" |
73621 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73622 s//\1/
73623 q
73624 }
73625 /^X\(\/\/\)[^/].*/{
73626 s//\1/
73627 q
73628 }
73629 /^X\(\/\/\)$/{
73630 s//\1/
73631 q
73632 }
73633 /^X\(\/\).*/{
73634 s//\1/
73635 q
73636 }
73637 s/.*/./; q'`
73638 as_dir="$ac_dir"; as_fn_mkdir_p
73639 ac_builddir=.
73640
73641 case "$ac_dir" in
73642 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
73643 *)
73644 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
73645 # A ".." for each directory in $ac_dir_suffix.
73646 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
73647 case $ac_top_builddir_sub in
73648 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
73649 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
73650 esac ;;
73651 esac
73652 ac_abs_top_builddir=$ac_pwd
73653 ac_abs_builddir=$ac_pwd$ac_dir_suffix
73654 # for backward compatibility:
73655 ac_top_builddir=$ac_top_build_prefix
73656
73657 case $srcdir in
73658 .) # We are building in place.
73659 ac_srcdir=.
73660 ac_top_srcdir=$ac_top_builddir_sub
73661 ac_abs_top_srcdir=$ac_pwd ;;
73662 [\\/]* | ?:[\\/]* ) # Absolute name.
73663 ac_srcdir=$srcdir$ac_dir_suffix;
73664 ac_top_srcdir=$srcdir
73665 ac_abs_top_srcdir=$srcdir ;;
73666 *) # Relative name.
73667 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
73668 ac_top_srcdir=$ac_top_build_prefix$srcdir
73669 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
73670 esac
73671 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
73672
73673
73674 case $ac_mode in
73675 :F)
73676 #
73677 # CONFIG_FILE
73678 #
73679
73680 case $INSTALL in
73681 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
73682 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
73683 esac
73684 ac_MKDIR_P=$MKDIR_P
73685 case $MKDIR_P in
73686 [\\/$]* | ?:[\\/]* ) ;;
73687 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
73688 esac
73689 _ACEOF
73690
73691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73692 # If the template does not know about datarootdir, expand it.
73693 # FIXME: This hack should be removed a few years after 2.60.
73694 ac_datarootdir_hack=; ac_datarootdir_seen=
73695 ac_sed_dataroot='
73696 /datarootdir/ {
73697 p
73698 q
73699 }
73700 /@datadir@/p
73701 /@docdir@/p
73702 /@infodir@/p
73703 /@localedir@/p
73704 /@mandir@/p'
73705 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
73706 *datarootdir*) ac_datarootdir_seen=yes;;
73707 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
73708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
73709 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
73710 _ACEOF
73711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73712 ac_datarootdir_hack='
73713 s&@datadir@&$datadir&g
73714 s&@docdir@&$docdir&g
73715 s&@infodir@&$infodir&g
73716 s&@localedir@&$localedir&g
73717 s&@mandir@&$mandir&g
73718 s&\\\${datarootdir}&$datarootdir&g' ;;
73719 esac
73720 _ACEOF
73721
73722 # Neutralize VPATH when `$srcdir' = `.'.
73723 # Shell code in configure.ac might set extrasub.
73724 # FIXME: do we really want to maintain this feature?
73725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73726 ac_sed_extra="$ac_vpsub
73727 $extrasub
73728 _ACEOF
73729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73730 :t
73731 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
73732 s|@configure_input@|$ac_sed_conf_input|;t t
73733 s&@top_builddir@&$ac_top_builddir_sub&;t t
73734 s&@top_build_prefix@&$ac_top_build_prefix&;t t
73735 s&@srcdir@&$ac_srcdir&;t t
73736 s&@abs_srcdir@&$ac_abs_srcdir&;t t
73737 s&@top_srcdir@&$ac_top_srcdir&;t t
73738 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
73739 s&@builddir@&$ac_builddir&;t t
73740 s&@abs_builddir@&$ac_abs_builddir&;t t
73741 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
73742 s&@INSTALL@&$ac_INSTALL&;t t
73743 s&@MKDIR_P@&$ac_MKDIR_P&;t t
73744 $ac_datarootdir_hack
73745 "
73746 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
73747 || as_fn_error "could not create $ac_file" "$LINENO" 5
73748
73749 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
73750 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
73751 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
73752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73753 which seems to be undefined. Please make sure it is defined." >&5
73754 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73755 which seems to be undefined. Please make sure it is defined." >&2;}
73756
73757 rm -f "$tmp/stdin"
73758 case $ac_file in
73759 -) cat "$tmp/out" && rm -f "$tmp/out";;
73760 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
73761 esac \
73762 || as_fn_error "could not create $ac_file" "$LINENO" 5
73763 ;;
73764 :H)
73765 #
73766 # CONFIG_HEADER
73767 #
73768 if test x"$ac_file" != x-; then
73769 {
73770 $as_echo "/* $configure_input */" \
73771 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
73772 } >"$tmp/config.h" \
73773 || as_fn_error "could not create $ac_file" "$LINENO" 5
73774 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
73775 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
73776 $as_echo "$as_me: $ac_file is unchanged" >&6;}
73777 else
73778 rm -f "$ac_file"
73779 mv "$tmp/config.h" "$ac_file" \
73780 || as_fn_error "could not create $ac_file" "$LINENO" 5
73781 fi
73782 else
73783 $as_echo "/* $configure_input */" \
73784 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
73785 || as_fn_error "could not create -" "$LINENO" 5
73786 fi
73787 # Compute "$ac_file"'s index in $config_headers.
73788 _am_arg="$ac_file"
73789 _am_stamp_count=1
73790 for _am_header in $config_headers :; do
73791 case $_am_header in
73792 $_am_arg | $_am_arg:* )
73793 break ;;
73794 * )
73795 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
73796 esac
73797 done
73798 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
73799 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73800 X"$_am_arg" : 'X\(//\)[^/]' \| \
73801 X"$_am_arg" : 'X\(//\)$' \| \
73802 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
73803 $as_echo X"$_am_arg" |
73804 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73805 s//\1/
73806 q
73807 }
73808 /^X\(\/\/\)[^/].*/{
73809 s//\1/
73810 q
73811 }
73812 /^X\(\/\/\)$/{
73813 s//\1/
73814 q
73815 }
73816 /^X\(\/\).*/{
73817 s//\1/
73818 q
73819 }
73820 s/.*/./; q'`/stamp-h$_am_stamp_count
73821 ;;
73822
73823 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
73824 $as_echo "$as_me: executing $ac_file commands" >&6;}
73825 ;;
73826 esac
73827
73828
73829 case $ac_file$ac_mode in
73830 "default-1":C)
73831 # Only add multilib support code if we just rebuilt the top-level
73832 # Makefile.
73833 case " $CONFIG_FILES " in
73834 *" Makefile "*)
73835 ac_file=Makefile . ${multi_basedir}/config-ml.in
73836 ;;
73837 esac ;;
73838 "libtool":C)
73839
73840 # See if we are running on zsh, and set the options which allow our
73841 # commands through without removal of \ escapes.
73842 if test -n "${ZSH_VERSION+set}" ; then
73843 setopt NO_GLOB_SUBST
73844 fi
73845
73846 cfgfile="${ofile}T"
73847 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
73848 $RM "$cfgfile"
73849
73850 cat <<_LT_EOF >> "$cfgfile"
73851 #! $SHELL
73852
73853 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
73854 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
73855 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
73856 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
73857 #
73858 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
73859 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
73860 # Written by Gordon Matzigkeit, 1996
73861 #
73862 # This file is part of GNU Libtool.
73863 #
73864 # GNU Libtool is free software; you can redistribute it and/or
73865 # modify it under the terms of the GNU General Public License as
73866 # published by the Free Software Foundation; either version 2 of
73867 # the License, or (at your option) any later version.
73868 #
73869 # As a special exception to the GNU General Public License,
73870 # if you distribute this file as part of a program or library that
73871 # is built using GNU Libtool, you may include this file under the
73872 # same distribution terms that you use for the rest of that program.
73873 #
73874 # GNU Libtool is distributed in the hope that it will be useful,
73875 # but WITHOUT ANY WARRANTY; without even the implied warranty of
73876 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
73877 # GNU General Public License for more details.
73878 #
73879 # You should have received a copy of the GNU General Public License
73880 # along with GNU Libtool; see the file COPYING. If not, a copy
73881 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
73882 # obtained by writing to the Free Software Foundation, Inc.,
73883 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
73884
73885
73886 # The names of the tagged configurations supported by this script.
73887 available_tags="CXX "
73888
73889 # ### BEGIN LIBTOOL CONFIG
73890
73891 # Which release of libtool.m4 was used?
73892 macro_version=$macro_version
73893 macro_revision=$macro_revision
73894
73895 # Whether or not to build shared libraries.
73896 build_libtool_libs=$enable_shared
73897
73898 # Whether or not to build static libraries.
73899 build_old_libs=$enable_static
73900
73901 # What type of objects to build.
73902 pic_mode=$pic_mode
73903
73904 # Whether or not to optimize for fast installation.
73905 fast_install=$enable_fast_install
73906
73907 # Shell to use when invoking shell scripts.
73908 SHELL=$lt_SHELL
73909
73910 # An echo program that protects backslashes.
73911 ECHO=$lt_ECHO
73912
73913 # The host system.
73914 host_alias=$host_alias
73915 host=$host
73916 host_os=$host_os
73917
73918 # The build system.
73919 build_alias=$build_alias
73920 build=$build
73921 build_os=$build_os
73922
73923 # A sed program that does not truncate output.
73924 SED=$lt_SED
73925
73926 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
73927 Xsed="\$SED -e 1s/^X//"
73928
73929 # A grep program that handles long lines.
73930 GREP=$lt_GREP
73931
73932 # An ERE matcher.
73933 EGREP=$lt_EGREP
73934
73935 # A literal string matcher.
73936 FGREP=$lt_FGREP
73937
73938 # A BSD- or MS-compatible name lister.
73939 NM=$lt_NM
73940
73941 # Whether we need soft or hard links.
73942 LN_S=$lt_LN_S
73943
73944 # What is the maximum length of a command?
73945 max_cmd_len=$max_cmd_len
73946
73947 # Object file suffix (normally "o").
73948 objext=$ac_objext
73949
73950 # Executable file suffix (normally "").
73951 exeext=$exeext
73952
73953 # whether the shell understands "unset".
73954 lt_unset=$lt_unset
73955
73956 # turn spaces into newlines.
73957 SP2NL=$lt_lt_SP2NL
73958
73959 # turn newlines into spaces.
73960 NL2SP=$lt_lt_NL2SP
73961
73962 # An object symbol dumper.
73963 OBJDUMP=$lt_OBJDUMP
73964
73965 # Method to check whether dependent libraries are shared objects.
73966 deplibs_check_method=$lt_deplibs_check_method
73967
73968 # Command to use when deplibs_check_method == "file_magic".
73969 file_magic_cmd=$lt_file_magic_cmd
73970
73971 # The archiver.
73972 AR=$lt_AR
73973 AR_FLAGS=$lt_AR_FLAGS
73974
73975 # A symbol stripping program.
73976 STRIP=$lt_STRIP
73977
73978 # Commands used to install an old-style archive.
73979 RANLIB=$lt_RANLIB
73980 old_postinstall_cmds=$lt_old_postinstall_cmds
73981 old_postuninstall_cmds=$lt_old_postuninstall_cmds
73982
73983 # Whether to use a lock for old archive extraction.
73984 lock_old_archive_extraction=$lock_old_archive_extraction
73985
73986 # A C compiler.
73987 LTCC=$lt_CC
73988
73989 # LTCC compiler flags.
73990 LTCFLAGS=$lt_CFLAGS
73991
73992 # Take the output of nm and produce a listing of raw symbols and C names.
73993 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
73994
73995 # Transform the output of nm in a proper C declaration.
73996 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
73997
73998 # Transform the output of nm in a C name address pair.
73999 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
74000
74001 # Transform the output of nm in a C name address pair when lib prefix is needed.
74002 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
74003
74004 # The name of the directory that contains temporary libtool files.
74005 objdir=$objdir
74006
74007 # Used to examine libraries when file_magic_cmd begins with "file".
74008 MAGIC_CMD=$MAGIC_CMD
74009
74010 # Must we lock files when doing compilation?
74011 need_locks=$lt_need_locks
74012
74013 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
74014 DSYMUTIL=$lt_DSYMUTIL
74015
74016 # Tool to change global to local symbols on Mac OS X.
74017 NMEDIT=$lt_NMEDIT
74018
74019 # Tool to manipulate fat objects and archives on Mac OS X.
74020 LIPO=$lt_LIPO
74021
74022 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
74023 OTOOL=$lt_OTOOL
74024
74025 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
74026 OTOOL64=$lt_OTOOL64
74027
74028 # Old archive suffix (normally "a").
74029 libext=$libext
74030
74031 # Shared library suffix (normally ".so").
74032 shrext_cmds=$lt_shrext_cmds
74033
74034 # The commands to extract the exported symbol list from a shared archive.
74035 extract_expsyms_cmds=$lt_extract_expsyms_cmds
74036
74037 # Variables whose values should be saved in libtool wrapper scripts and
74038 # restored at link time.
74039 variables_saved_for_relink=$lt_variables_saved_for_relink
74040
74041 # Do we need the "lib" prefix for modules?
74042 need_lib_prefix=$need_lib_prefix
74043
74044 # Do we need a version for libraries?
74045 need_version=$need_version
74046
74047 # Library versioning type.
74048 version_type=$version_type
74049
74050 # Shared library runtime path variable.
74051 runpath_var=$runpath_var
74052
74053 # Shared library path variable.
74054 shlibpath_var=$shlibpath_var
74055
74056 # Is shlibpath searched before the hard-coded library search path?
74057 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
74058
74059 # Format of library name prefix.
74060 libname_spec=$lt_libname_spec
74061
74062 # List of archive names. First name is the real one, the rest are links.
74063 # The last name is the one that the linker finds with -lNAME
74064 library_names_spec=$lt_library_names_spec
74065
74066 # The coded name of the library, if different from the real name.
74067 soname_spec=$lt_soname_spec
74068
74069 # Permission mode override for installation of shared libraries.
74070 install_override_mode=$lt_install_override_mode
74071
74072 # Command to use after installation of a shared archive.
74073 postinstall_cmds=$lt_postinstall_cmds
74074
74075 # Command to use after uninstallation of a shared archive.
74076 postuninstall_cmds=$lt_postuninstall_cmds
74077
74078 # Commands used to finish a libtool library installation in a directory.
74079 finish_cmds=$lt_finish_cmds
74080
74081 # As "finish_cmds", except a single script fragment to be evaled but
74082 # not shown.
74083 finish_eval=$lt_finish_eval
74084
74085 # Whether we should hardcode library paths into libraries.
74086 hardcode_into_libs=$hardcode_into_libs
74087
74088 # Compile-time system search path for libraries.
74089 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
74090
74091 # Run-time system search path for libraries.
74092 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
74093
74094 # Whether dlopen is supported.
74095 dlopen_support=$enable_dlopen
74096
74097 # Whether dlopen of programs is supported.
74098 dlopen_self=$enable_dlopen_self
74099
74100 # Whether dlopen of statically linked programs is supported.
74101 dlopen_self_static=$enable_dlopen_self_static
74102
74103 # Commands to strip libraries.
74104 old_striplib=$lt_old_striplib
74105 striplib=$lt_striplib
74106
74107
74108 # The linker used to build libraries.
74109 LD=$lt_LD
74110
74111 # How to create reloadable object files.
74112 reload_flag=$lt_reload_flag
74113 reload_cmds=$lt_reload_cmds
74114
74115 # Commands used to build an old-style archive.
74116 old_archive_cmds=$lt_old_archive_cmds
74117
74118 # A language specific compiler.
74119 CC=$lt_compiler
74120
74121 # Is the compiler the GNU compiler?
74122 with_gcc=$GCC
74123
74124 # Compiler flag to turn off builtin functions.
74125 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
74126
74127 # How to pass a linker flag through the compiler.
74128 wl=$lt_lt_prog_compiler_wl
74129
74130 # Additional compiler flags for building library objects.
74131 pic_flag=$lt_lt_prog_compiler_pic
74132
74133 # Compiler flag to prevent dynamic linking.
74134 link_static_flag=$lt_lt_prog_compiler_static
74135
74136 # Does compiler simultaneously support -c and -o options?
74137 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
74138
74139 # Whether or not to add -lc for building shared libraries.
74140 build_libtool_need_lc=$archive_cmds_need_lc
74141
74142 # Whether or not to disallow shared libs when runtime libs are static.
74143 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
74144
74145 # Compiler flag to allow reflexive dlopens.
74146 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
74147
74148 # Compiler flag to generate shared objects directly from archives.
74149 whole_archive_flag_spec=$lt_whole_archive_flag_spec
74150
74151 # Whether the compiler copes with passing no objects directly.
74152 compiler_needs_object=$lt_compiler_needs_object
74153
74154 # Create an old-style archive from a shared archive.
74155 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
74156
74157 # Create a temporary old-style archive to link instead of a shared archive.
74158 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
74159
74160 # Commands used to build a shared archive.
74161 archive_cmds=$lt_archive_cmds
74162 archive_expsym_cmds=$lt_archive_expsym_cmds
74163
74164 # Commands used to build a loadable module if different from building
74165 # a shared archive.
74166 module_cmds=$lt_module_cmds
74167 module_expsym_cmds=$lt_module_expsym_cmds
74168
74169 # Whether we are building with GNU ld or not.
74170 with_gnu_ld=$lt_with_gnu_ld
74171
74172 # Flag that allows shared libraries with undefined symbols to be built.
74173 allow_undefined_flag=$lt_allow_undefined_flag
74174
74175 # Flag that enforces no undefined symbols.
74176 no_undefined_flag=$lt_no_undefined_flag
74177
74178 # Flag to hardcode \$libdir into a binary during linking.
74179 # This must work even if \$libdir does not exist
74180 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
74181
74182 # If ld is used when linking, flag to hardcode \$libdir into a binary
74183 # during linking. This must work even if \$libdir does not exist.
74184 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
74185
74186 # Whether we need a single "-rpath" flag with a separated argument.
74187 hardcode_libdir_separator=$lt_hardcode_libdir_separator
74188
74189 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74190 # DIR into the resulting binary.
74191 hardcode_direct=$hardcode_direct
74192
74193 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74194 # DIR into the resulting binary and the resulting library dependency is
74195 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74196 # library is relocated.
74197 hardcode_direct_absolute=$hardcode_direct_absolute
74198
74199 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74200 # into the resulting binary.
74201 hardcode_minus_L=$hardcode_minus_L
74202
74203 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74204 # into the resulting binary.
74205 hardcode_shlibpath_var=$hardcode_shlibpath_var
74206
74207 # Set to "yes" if building a shared library automatically hardcodes DIR
74208 # into the library and all subsequent libraries and executables linked
74209 # against it.
74210 hardcode_automatic=$hardcode_automatic
74211
74212 # Set to yes if linker adds runtime paths of dependent libraries
74213 # to runtime path list.
74214 inherit_rpath=$inherit_rpath
74215
74216 # Whether libtool must link a program against all its dependency libraries.
74217 link_all_deplibs=$link_all_deplibs
74218
74219 # Fix the shell variable \$srcfile for the compiler.
74220 fix_srcfile_path=$lt_fix_srcfile_path
74221
74222 # Set to "yes" if exported symbols are required.
74223 always_export_symbols=$always_export_symbols
74224
74225 # The commands to list exported symbols.
74226 export_symbols_cmds=$lt_export_symbols_cmds
74227
74228 # Symbols that should not be listed in the preloaded symbols.
74229 exclude_expsyms=$lt_exclude_expsyms
74230
74231 # Symbols that must always be exported.
74232 include_expsyms=$lt_include_expsyms
74233
74234 # Commands necessary for linking programs (against libraries) with templates.
74235 prelink_cmds=$lt_prelink_cmds
74236
74237 # Specify filename containing input files.
74238 file_list_spec=$lt_file_list_spec
74239
74240 # How to hardcode a shared library path into an executable.
74241 hardcode_action=$hardcode_action
74242
74243 # The directories searched by this compiler when creating a shared library.
74244 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
74245
74246 # Dependencies to place before and after the objects being linked to
74247 # create a shared library.
74248 predep_objects=$lt_predep_objects
74249 postdep_objects=$lt_postdep_objects
74250 predeps=$lt_predeps
74251 postdeps=$lt_postdeps
74252
74253 # The library search path used internally by the compiler when linking
74254 # a shared library.
74255 compiler_lib_search_path=$lt_compiler_lib_search_path
74256
74257 # ### END LIBTOOL CONFIG
74258
74259 _LT_EOF
74260
74261 case $host_os in
74262 aix3*)
74263 cat <<\_LT_EOF >> "$cfgfile"
74264 # AIX sometimes has problems with the GCC collect2 program. For some
74265 # reason, if we set the COLLECT_NAMES environment variable, the problems
74266 # vanish in a puff of smoke.
74267 if test "X${COLLECT_NAMES+set}" != Xset; then
74268 COLLECT_NAMES=
74269 export COLLECT_NAMES
74270 fi
74271 _LT_EOF
74272 ;;
74273 esac
74274
74275
74276 ltmain="$ac_aux_dir/ltmain.sh"
74277
74278
74279 # We use sed instead of cat because bash on DJGPP gets confused if
74280 # if finds mixed CR/LF and LF-only lines. Since sed operates in
74281 # text mode, it properly converts lines to CR/LF. This bash problem
74282 # is reportedly fixed, but why not run on old versions too?
74283 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
74284 || (rm -f "$cfgfile"; exit 1)
74285
74286 case $xsi_shell in
74287 yes)
74288 cat << \_LT_EOF >> "$cfgfile"
74289
74290 # func_dirname file append nondir_replacement
74291 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74292 # otherwise set result to NONDIR_REPLACEMENT.
74293 func_dirname ()
74294 {
74295 case ${1} in
74296 */*) func_dirname_result="${1%/*}${2}" ;;
74297 * ) func_dirname_result="${3}" ;;
74298 esac
74299 }
74300
74301 # func_basename file
74302 func_basename ()
74303 {
74304 func_basename_result="${1##*/}"
74305 }
74306
74307 # func_dirname_and_basename file append nondir_replacement
74308 # perform func_basename and func_dirname in a single function
74309 # call:
74310 # dirname: Compute the dirname of FILE. If nonempty,
74311 # add APPEND to the result, otherwise set result
74312 # to NONDIR_REPLACEMENT.
74313 # value returned in "$func_dirname_result"
74314 # basename: Compute filename of FILE.
74315 # value retuned in "$func_basename_result"
74316 # Implementation must be kept synchronized with func_dirname
74317 # and func_basename. For efficiency, we do not delegate to
74318 # those functions but instead duplicate the functionality here.
74319 func_dirname_and_basename ()
74320 {
74321 case ${1} in
74322 */*) func_dirname_result="${1%/*}${2}" ;;
74323 * ) func_dirname_result="${3}" ;;
74324 esac
74325 func_basename_result="${1##*/}"
74326 }
74327
74328 # func_stripname prefix suffix name
74329 # strip PREFIX and SUFFIX off of NAME.
74330 # PREFIX and SUFFIX must not contain globbing or regex special
74331 # characters, hashes, percent signs, but SUFFIX may contain a leading
74332 # dot (in which case that matches only a dot).
74333 func_stripname ()
74334 {
74335 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
74336 # positional parameters, so assign one to ordinary parameter first.
74337 func_stripname_result=${3}
74338 func_stripname_result=${func_stripname_result#"${1}"}
74339 func_stripname_result=${func_stripname_result%"${2}"}
74340 }
74341
74342 # func_opt_split
74343 func_opt_split ()
74344 {
74345 func_opt_split_opt=${1%%=*}
74346 func_opt_split_arg=${1#*=}
74347 }
74348
74349 # func_lo2o object
74350 func_lo2o ()
74351 {
74352 case ${1} in
74353 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
74354 *) func_lo2o_result=${1} ;;
74355 esac
74356 }
74357
74358 # func_xform libobj-or-source
74359 func_xform ()
74360 {
74361 func_xform_result=${1%.*}.lo
74362 }
74363
74364 # func_arith arithmetic-term...
74365 func_arith ()
74366 {
74367 func_arith_result=$(( $* ))
74368 }
74369
74370 # func_len string
74371 # STRING may not start with a hyphen.
74372 func_len ()
74373 {
74374 func_len_result=${#1}
74375 }
74376
74377 _LT_EOF
74378 ;;
74379 *) # Bourne compatible functions.
74380 cat << \_LT_EOF >> "$cfgfile"
74381
74382 # func_dirname file append nondir_replacement
74383 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74384 # otherwise set result to NONDIR_REPLACEMENT.
74385 func_dirname ()
74386 {
74387 # Extract subdirectory from the argument.
74388 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
74389 if test "X$func_dirname_result" = "X${1}"; then
74390 func_dirname_result="${3}"
74391 else
74392 func_dirname_result="$func_dirname_result${2}"
74393 fi
74394 }
74395
74396 # func_basename file
74397 func_basename ()
74398 {
74399 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
74400 }
74401
74402
74403 # func_stripname prefix suffix name
74404 # strip PREFIX and SUFFIX off of NAME.
74405 # PREFIX and SUFFIX must not contain globbing or regex special
74406 # characters, hashes, percent signs, but SUFFIX may contain a leading
74407 # dot (in which case that matches only a dot).
74408 # func_strip_suffix prefix name
74409 func_stripname ()
74410 {
74411 case ${2} in
74412 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
74413 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
74414 esac
74415 }
74416
74417 # sed scripts:
74418 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
74419 my_sed_long_arg='1s/^-[^=]*=//'
74420
74421 # func_opt_split
74422 func_opt_split ()
74423 {
74424 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
74425 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
74426 }
74427
74428 # func_lo2o object
74429 func_lo2o ()
74430 {
74431 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
74432 }
74433
74434 # func_xform libobj-or-source
74435 func_xform ()
74436 {
74437 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
74438 }
74439
74440 # func_arith arithmetic-term...
74441 func_arith ()
74442 {
74443 func_arith_result=`expr "$@"`
74444 }
74445
74446 # func_len string
74447 # STRING may not start with a hyphen.
74448 func_len ()
74449 {
74450 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
74451 }
74452
74453 _LT_EOF
74454 esac
74455
74456 case $lt_shell_append in
74457 yes)
74458 cat << \_LT_EOF >> "$cfgfile"
74459
74460 # func_append var value
74461 # Append VALUE to the end of shell variable VAR.
74462 func_append ()
74463 {
74464 eval "$1+=\$2"
74465 }
74466 _LT_EOF
74467 ;;
74468 *)
74469 cat << \_LT_EOF >> "$cfgfile"
74470
74471 # func_append var value
74472 # Append VALUE to the end of shell variable VAR.
74473 func_append ()
74474 {
74475 eval "$1=\$$1\$2"
74476 }
74477
74478 _LT_EOF
74479 ;;
74480 esac
74481
74482
74483 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
74484 || (rm -f "$cfgfile"; exit 1)
74485
74486 mv -f "$cfgfile" "$ofile" ||
74487 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
74488 chmod +x "$ofile"
74489
74490
74491 cat <<_LT_EOF >> "$ofile"
74492
74493 # ### BEGIN LIBTOOL TAG CONFIG: CXX
74494
74495 # The linker used to build libraries.
74496 LD=$lt_LD_CXX
74497
74498 # How to create reloadable object files.
74499 reload_flag=$lt_reload_flag_CXX
74500 reload_cmds=$lt_reload_cmds_CXX
74501
74502 # Commands used to build an old-style archive.
74503 old_archive_cmds=$lt_old_archive_cmds_CXX
74504
74505 # A language specific compiler.
74506 CC=$lt_compiler_CXX
74507
74508 # Is the compiler the GNU compiler?
74509 with_gcc=$GCC_CXX
74510
74511 # Compiler flag to turn off builtin functions.
74512 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
74513
74514 # How to pass a linker flag through the compiler.
74515 wl=$lt_lt_prog_compiler_wl_CXX
74516
74517 # Additional compiler flags for building library objects.
74518 pic_flag=$lt_lt_prog_compiler_pic_CXX
74519
74520 # Compiler flag to prevent dynamic linking.
74521 link_static_flag=$lt_lt_prog_compiler_static_CXX
74522
74523 # Does compiler simultaneously support -c and -o options?
74524 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
74525
74526 # Whether or not to add -lc for building shared libraries.
74527 build_libtool_need_lc=$archive_cmds_need_lc_CXX
74528
74529 # Whether or not to disallow shared libs when runtime libs are static.
74530 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
74531
74532 # Compiler flag to allow reflexive dlopens.
74533 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
74534
74535 # Compiler flag to generate shared objects directly from archives.
74536 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
74537
74538 # Whether the compiler copes with passing no objects directly.
74539 compiler_needs_object=$lt_compiler_needs_object_CXX
74540
74541 # Create an old-style archive from a shared archive.
74542 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
74543
74544 # Create a temporary old-style archive to link instead of a shared archive.
74545 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
74546
74547 # Commands used to build a shared archive.
74548 archive_cmds=$lt_archive_cmds_CXX
74549 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
74550
74551 # Commands used to build a loadable module if different from building
74552 # a shared archive.
74553 module_cmds=$lt_module_cmds_CXX
74554 module_expsym_cmds=$lt_module_expsym_cmds_CXX
74555
74556 # Whether we are building with GNU ld or not.
74557 with_gnu_ld=$lt_with_gnu_ld_CXX
74558
74559 # Flag that allows shared libraries with undefined symbols to be built.
74560 allow_undefined_flag=$lt_allow_undefined_flag_CXX
74561
74562 # Flag that enforces no undefined symbols.
74563 no_undefined_flag=$lt_no_undefined_flag_CXX
74564
74565 # Flag to hardcode \$libdir into a binary during linking.
74566 # This must work even if \$libdir does not exist
74567 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
74568
74569 # If ld is used when linking, flag to hardcode \$libdir into a binary
74570 # during linking. This must work even if \$libdir does not exist.
74571 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
74572
74573 # Whether we need a single "-rpath" flag with a separated argument.
74574 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
74575
74576 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74577 # DIR into the resulting binary.
74578 hardcode_direct=$hardcode_direct_CXX
74579
74580 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74581 # DIR into the resulting binary and the resulting library dependency is
74582 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74583 # library is relocated.
74584 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
74585
74586 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74587 # into the resulting binary.
74588 hardcode_minus_L=$hardcode_minus_L_CXX
74589
74590 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74591 # into the resulting binary.
74592 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
74593
74594 # Set to "yes" if building a shared library automatically hardcodes DIR
74595 # into the library and all subsequent libraries and executables linked
74596 # against it.
74597 hardcode_automatic=$hardcode_automatic_CXX
74598
74599 # Set to yes if linker adds runtime paths of dependent libraries
74600 # to runtime path list.
74601 inherit_rpath=$inherit_rpath_CXX
74602
74603 # Whether libtool must link a program against all its dependency libraries.
74604 link_all_deplibs=$link_all_deplibs_CXX
74605
74606 # Fix the shell variable \$srcfile for the compiler.
74607 fix_srcfile_path=$lt_fix_srcfile_path_CXX
74608
74609 # Set to "yes" if exported symbols are required.
74610 always_export_symbols=$always_export_symbols_CXX
74611
74612 # The commands to list exported symbols.
74613 export_symbols_cmds=$lt_export_symbols_cmds_CXX
74614
74615 # Symbols that should not be listed in the preloaded symbols.
74616 exclude_expsyms=$lt_exclude_expsyms_CXX
74617
74618 # Symbols that must always be exported.
74619 include_expsyms=$lt_include_expsyms_CXX
74620
74621 # Commands necessary for linking programs (against libraries) with templates.
74622 prelink_cmds=$lt_prelink_cmds_CXX
74623
74624 # Specify filename containing input files.
74625 file_list_spec=$lt_file_list_spec_CXX
74626
74627 # How to hardcode a shared library path into an executable.
74628 hardcode_action=$hardcode_action_CXX
74629
74630 # The directories searched by this compiler when creating a shared library.
74631 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
74632
74633 # Dependencies to place before and after the objects being linked to
74634 # create a shared library.
74635 predep_objects=$lt_predep_objects_CXX
74636 postdep_objects=$lt_postdep_objects_CXX
74637 predeps=$lt_predeps_CXX
74638 postdeps=$lt_postdeps_CXX
74639
74640 # The library search path used internally by the compiler when linking
74641 # a shared library.
74642 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
74643
74644 # ### END LIBTOOL TAG CONFIG: CXX
74645 _LT_EOF
74646
74647 ;;
74648 "include/gstdint.h":C)
74649 if test "$GCC" = yes; then
74650 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
74651 else
74652 echo "/* generated for $CC */" > tmp-stdint.h
74653 fi
74654
74655 sed 's/^ *//' >> tmp-stdint.h <<EOF
74656
74657 #ifndef GCC_GENERATED_STDINT_H
74658 #define GCC_GENERATED_STDINT_H 1
74659
74660 #include <sys/types.h>
74661 EOF
74662
74663 if test "$acx_cv_header_stdint" != stdint.h; then
74664 echo "#include <stddef.h>" >> tmp-stdint.h
74665 fi
74666 if test "$acx_cv_header_stdint" != stddef.h; then
74667 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
74668 fi
74669
74670 sed 's/^ *//' >> tmp-stdint.h <<EOF
74671 /* glibc uses these symbols as guards to prevent redefinitions. */
74672 #ifdef __int8_t_defined
74673 #define _INT8_T
74674 #define _INT16_T
74675 #define _INT32_T
74676 #endif
74677 #ifdef __uint32_t_defined
74678 #define _UINT32_T
74679 #endif
74680
74681 EOF
74682
74683 # ----------------- done header, emit basic int types -------------
74684 if test "$acx_cv_header_stdint" = stddef.h; then
74685 sed 's/^ *//' >> tmp-stdint.h <<EOF
74686
74687 #ifndef _UINT8_T
74688 #define _UINT8_T
74689 #ifndef __uint8_t_defined
74690 #define __uint8_t_defined
74691 #ifndef uint8_t
74692 typedef unsigned $acx_cv_type_int8_t uint8_t;
74693 #endif
74694 #endif
74695 #endif
74696
74697 #ifndef _UINT16_T
74698 #define _UINT16_T
74699 #ifndef __uint16_t_defined
74700 #define __uint16_t_defined
74701 #ifndef uint16_t
74702 typedef unsigned $acx_cv_type_int16_t uint16_t;
74703 #endif
74704 #endif
74705 #endif
74706
74707 #ifndef _UINT32_T
74708 #define _UINT32_T
74709 #ifndef __uint32_t_defined
74710 #define __uint32_t_defined
74711 #ifndef uint32_t
74712 typedef unsigned $acx_cv_type_int32_t uint32_t;
74713 #endif
74714 #endif
74715 #endif
74716
74717 #ifndef _INT8_T
74718 #define _INT8_T
74719 #ifndef __int8_t_defined
74720 #define __int8_t_defined
74721 #ifndef int8_t
74722 typedef $acx_cv_type_int8_t int8_t;
74723 #endif
74724 #endif
74725 #endif
74726
74727 #ifndef _INT16_T
74728 #define _INT16_T
74729 #ifndef __int16_t_defined
74730 #define __int16_t_defined
74731 #ifndef int16_t
74732 typedef $acx_cv_type_int16_t int16_t;
74733 #endif
74734 #endif
74735 #endif
74736
74737 #ifndef _INT32_T
74738 #define _INT32_T
74739 #ifndef __int32_t_defined
74740 #define __int32_t_defined
74741 #ifndef int32_t
74742 typedef $acx_cv_type_int32_t int32_t;
74743 #endif
74744 #endif
74745 #endif
74746 EOF
74747 elif test "$ac_cv_type_u_int32_t" = yes; then
74748 sed 's/^ *//' >> tmp-stdint.h <<EOF
74749
74750 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
74751 #ifndef _INT8_T
74752 #define _INT8_T
74753 #endif
74754 #ifndef _INT16_T
74755 #define _INT16_T
74756 #endif
74757 #ifndef _INT32_T
74758 #define _INT32_T
74759 #endif
74760
74761 #ifndef _UINT8_T
74762 #define _UINT8_T
74763 #ifndef __uint8_t_defined
74764 #define __uint8_t_defined
74765 #ifndef uint8_t
74766 typedef u_int8_t uint8_t;
74767 #endif
74768 #endif
74769 #endif
74770
74771 #ifndef _UINT16_T
74772 #define _UINT16_T
74773 #ifndef __uint16_t_defined
74774 #define __uint16_t_defined
74775 #ifndef uint16_t
74776 typedef u_int16_t uint16_t;
74777 #endif
74778 #endif
74779 #endif
74780
74781 #ifndef _UINT32_T
74782 #define _UINT32_T
74783 #ifndef __uint32_t_defined
74784 #define __uint32_t_defined
74785 #ifndef uint32_t
74786 typedef u_int32_t uint32_t;
74787 #endif
74788 #endif
74789 #endif
74790 EOF
74791 else
74792 sed 's/^ *//' >> tmp-stdint.h <<EOF
74793
74794 /* Some systems have guard macros to prevent redefinitions, define them. */
74795 #ifndef _INT8_T
74796 #define _INT8_T
74797 #endif
74798 #ifndef _INT16_T
74799 #define _INT16_T
74800 #endif
74801 #ifndef _INT32_T
74802 #define _INT32_T
74803 #endif
74804 #ifndef _UINT8_T
74805 #define _UINT8_T
74806 #endif
74807 #ifndef _UINT16_T
74808 #define _UINT16_T
74809 #endif
74810 #ifndef _UINT32_T
74811 #define _UINT32_T
74812 #endif
74813 EOF
74814 fi
74815
74816 # ------------- done basic int types, emit int64_t types ------------
74817 if test "$ac_cv_type_uint64_t" = yes; then
74818 sed 's/^ *//' >> tmp-stdint.h <<EOF
74819
74820 /* system headers have good uint64_t and int64_t */
74821 #ifndef _INT64_T
74822 #define _INT64_T
74823 #endif
74824 #ifndef _UINT64_T
74825 #define _UINT64_T
74826 #endif
74827 EOF
74828 elif test "$ac_cv_type_u_int64_t" = yes; then
74829 sed 's/^ *//' >> tmp-stdint.h <<EOF
74830
74831 /* system headers have an u_int64_t (and int64_t) */
74832 #ifndef _INT64_T
74833 #define _INT64_T
74834 #endif
74835 #ifndef _UINT64_T
74836 #define _UINT64_T
74837 #ifndef __uint64_t_defined
74838 #define __uint64_t_defined
74839 #ifndef uint64_t
74840 typedef u_int64_t uint64_t;
74841 #endif
74842 #endif
74843 #endif
74844 EOF
74845 elif test -n "$acx_cv_type_int64_t"; then
74846 sed 's/^ *//' >> tmp-stdint.h <<EOF
74847
74848 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
74849 #ifndef _INT64_T
74850 #define _INT64_T
74851 #ifndef int64_t
74852 typedef $acx_cv_type_int64_t int64_t;
74853 #endif
74854 #endif
74855 #ifndef _UINT64_T
74856 #define _UINT64_T
74857 #ifndef __uint64_t_defined
74858 #define __uint64_t_defined
74859 #ifndef uint64_t
74860 typedef unsigned $acx_cv_type_int64_t uint64_t;
74861 #endif
74862 #endif
74863 #endif
74864 EOF
74865 else
74866 sed 's/^ *//' >> tmp-stdint.h <<EOF
74867
74868 /* some common heuristics for int64_t, using compiler-specific tests */
74869 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
74870 #ifndef _INT64_T
74871 #define _INT64_T
74872 #ifndef __int64_t_defined
74873 #ifndef int64_t
74874 typedef long long int64_t;
74875 #endif
74876 #endif
74877 #endif
74878 #ifndef _UINT64_T
74879 #define _UINT64_T
74880 #ifndef uint64_t
74881 typedef unsigned long long uint64_t;
74882 #endif
74883 #endif
74884
74885 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
74886 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
74887 does not implement __extension__. But that compiler doesn't define
74888 __GNUC_MINOR__. */
74889 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
74890 # define __extension__
74891 # endif
74892
74893 # ifndef _INT64_T
74894 # define _INT64_T
74895 # ifndef int64_t
74896 __extension__ typedef long long int64_t;
74897 # endif
74898 # endif
74899 # ifndef _UINT64_T
74900 # define _UINT64_T
74901 # ifndef uint64_t
74902 __extension__ typedef unsigned long long uint64_t;
74903 # endif
74904 # endif
74905
74906 #elif !defined __STRICT_ANSI__
74907 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
74908
74909 # ifndef _INT64_T
74910 # define _INT64_T
74911 # ifndef int64_t
74912 typedef __int64 int64_t;
74913 # endif
74914 # endif
74915 # ifndef _UINT64_T
74916 # define _UINT64_T
74917 # ifndef uint64_t
74918 typedef unsigned __int64 uint64_t;
74919 # endif
74920 # endif
74921 # endif /* compiler */
74922
74923 #endif /* ANSI version */
74924 EOF
74925 fi
74926
74927 # ------------- done int64_t types, emit intptr types ------------
74928 if test "$ac_cv_type_uintptr_t" != yes; then
74929 sed 's/^ *//' >> tmp-stdint.h <<EOF
74930
74931 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
74932 #ifndef __uintptr_t_defined
74933 #ifndef uintptr_t
74934 typedef u$acx_cv_type_intptr_t uintptr_t;
74935 #endif
74936 #endif
74937 #ifndef __intptr_t_defined
74938 #ifndef intptr_t
74939 typedef $acx_cv_type_intptr_t intptr_t;
74940 #endif
74941 #endif
74942 EOF
74943 fi
74944
74945 # ------------- done intptr types, emit int_least types ------------
74946 if test "$ac_cv_type_int_least32_t" != yes; then
74947 sed 's/^ *//' >> tmp-stdint.h <<EOF
74948
74949 /* Define int_least types */
74950 typedef int8_t int_least8_t;
74951 typedef int16_t int_least16_t;
74952 typedef int32_t int_least32_t;
74953 #ifdef _INT64_T
74954 typedef int64_t int_least64_t;
74955 #endif
74956
74957 typedef uint8_t uint_least8_t;
74958 typedef uint16_t uint_least16_t;
74959 typedef uint32_t uint_least32_t;
74960 #ifdef _UINT64_T
74961 typedef uint64_t uint_least64_t;
74962 #endif
74963 EOF
74964 fi
74965
74966 # ------------- done intptr types, emit int_fast types ------------
74967 if test "$ac_cv_type_int_fast32_t" != yes; then
74968 sed 's/^ *//' >> tmp-stdint.h <<EOF
74969
74970 /* Define int_fast types. short is often slow */
74971 typedef int8_t int_fast8_t;
74972 typedef int int_fast16_t;
74973 typedef int32_t int_fast32_t;
74974 #ifdef _INT64_T
74975 typedef int64_t int_fast64_t;
74976 #endif
74977
74978 typedef uint8_t uint_fast8_t;
74979 typedef unsigned int uint_fast16_t;
74980 typedef uint32_t uint_fast32_t;
74981 #ifdef _UINT64_T
74982 typedef uint64_t uint_fast64_t;
74983 #endif
74984 EOF
74985 fi
74986
74987 if test "$ac_cv_type_uintmax_t" != yes; then
74988 sed 's/^ *//' >> tmp-stdint.h <<EOF
74989
74990 /* Define intmax based on what we found */
74991 #ifndef intmax_t
74992 #ifdef _INT64_T
74993 typedef int64_t intmax_t;
74994 #else
74995 typedef long intmax_t;
74996 #endif
74997 #endif
74998 #ifndef uintmax_t
74999 #ifdef _UINT64_T
75000 typedef uint64_t uintmax_t;
75001 #else
75002 typedef unsigned long uintmax_t;
75003 #endif
75004 #endif
75005 EOF
75006 fi
75007
75008 sed 's/^ *//' >> tmp-stdint.h <<EOF
75009
75010 #endif /* GCC_GENERATED_STDINT_H */
75011 EOF
75012
75013 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
75014 rm -f tmp-stdint.h
75015 else
75016 mv -f tmp-stdint.h include/gstdint.h
75017 fi
75018
75019 ;;
75020 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
75021 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
75022 "include/Makefile":F) cat > vpsed$$ << \_EOF
75023 s!`test -f '$<' || echo '$(srcdir)/'`!!
75024 _EOF
75025 sed -f vpsed$$ $ac_file > tmp$$
75026 mv tmp$$ $ac_file
75027 rm vpsed$$
75028 echo 'MULTISUBDIR =' >> $ac_file
75029 ml_norecursion=yes
75030 . ${multi_basedir}/config-ml.in
75031 { ml_norecursion=; unset ml_norecursion;}
75032 ;;
75033 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
75034 s!`test -f '$<' || echo '$(srcdir)/'`!!
75035 _EOF
75036 sed -f vpsed$$ $ac_file > tmp$$
75037 mv tmp$$ $ac_file
75038 rm vpsed$$
75039 echo 'MULTISUBDIR =' >> $ac_file
75040 ml_norecursion=yes
75041 . ${multi_basedir}/config-ml.in
75042 { ml_norecursion=; unset ml_norecursion;}
75043 ;;
75044 "python/Makefile":F) cat > vpsed$$ << \_EOF
75045 s!`test -f '$<' || echo '$(srcdir)/'`!!
75046 _EOF
75047 sed -f vpsed$$ $ac_file > tmp$$
75048 mv tmp$$ $ac_file
75049 rm vpsed$$
75050 echo 'MULTISUBDIR =' >> $ac_file
75051 ml_norecursion=yes
75052 . ${multi_basedir}/config-ml.in
75053 { ml_norecursion=; unset ml_norecursion;}
75054 ;;
75055 "src/Makefile":F) cat > vpsed$$ << \_EOF
75056 s!`test -f '$<' || echo '$(srcdir)/'`!!
75057 _EOF
75058 sed -f vpsed$$ $ac_file > tmp$$
75059 mv tmp$$ $ac_file
75060 rm vpsed$$
75061 echo 'MULTISUBDIR =' >> $ac_file
75062 ml_norecursion=yes
75063 . ${multi_basedir}/config-ml.in
75064 { ml_norecursion=; unset ml_norecursion;}
75065 ;;
75066 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
75067 s!`test -f '$<' || echo '$(srcdir)/'`!!
75068 _EOF
75069 sed -f vpsed$$ $ac_file > tmp$$
75070 mv tmp$$ $ac_file
75071 rm vpsed$$
75072 echo 'MULTISUBDIR =' >> $ac_file
75073 ml_norecursion=yes
75074 . ${multi_basedir}/config-ml.in
75075 { ml_norecursion=; unset ml_norecursion;}
75076 ;;
75077 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
75078 s!`test -f '$<' || echo '$(srcdir)/'`!!
75079 _EOF
75080 sed -f vpsed$$ $ac_file > tmp$$
75081 mv tmp$$ $ac_file
75082 rm vpsed$$
75083 echo 'MULTISUBDIR =' >> $ac_file
75084 ml_norecursion=yes
75085 . ${multi_basedir}/config-ml.in
75086 { ml_norecursion=; unset ml_norecursion;}
75087 ;;
75088 "doc/Makefile":F) cat > vpsed$$ << \_EOF
75089 s!`test -f '$<' || echo '$(srcdir)/'`!!
75090 _EOF
75091 sed -f vpsed$$ $ac_file > tmp$$
75092 mv tmp$$ $ac_file
75093 rm vpsed$$
75094 echo 'MULTISUBDIR =' >> $ac_file
75095 ml_norecursion=yes
75096 . ${multi_basedir}/config-ml.in
75097 { ml_norecursion=; unset ml_norecursion;}
75098 ;;
75099 "po/Makefile":F) cat > vpsed$$ << \_EOF
75100 s!`test -f '$<' || echo '$(srcdir)/'`!!
75101 _EOF
75102 sed -f vpsed$$ $ac_file > tmp$$
75103 mv tmp$$ $ac_file
75104 rm vpsed$$
75105 echo 'MULTISUBDIR =' >> $ac_file
75106 ml_norecursion=yes
75107 . ${multi_basedir}/config-ml.in
75108 { ml_norecursion=; unset ml_norecursion;}
75109 ;;
75110 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
75111 s!`test -f '$<' || echo '$(srcdir)/'`!!
75112 _EOF
75113 sed -f vpsed$$ $ac_file > tmp$$
75114 mv tmp$$ $ac_file
75115 rm vpsed$$
75116 echo 'MULTISUBDIR =' >> $ac_file
75117 ml_norecursion=yes
75118 . ${multi_basedir}/config-ml.in
75119 { ml_norecursion=; unset ml_norecursion;}
75120 ;;
75121 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
75122
75123 esac
75124 done # for ac_tag
75125
75126
75127 as_fn_exit 0
75128 _ACEOF
75129 ac_clean_files=$ac_clean_files_save
75130
75131 test $ac_write_fail = 0 ||
75132 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
75133
75134
75135 # configure is writing to config.log, and then calls config.status.
75136 # config.status does its own redirection, appending to config.log.
75137 # Unfortunately, on DOS this fails, as config.log is still kept open
75138 # by configure, so config.status won't be able to write to it; its
75139 # output is simply discarded. So we exec the FD to /dev/null,
75140 # effectively closing config.log, so it can be properly (re)opened and
75141 # appended to by config.status. When coming back to configure, we
75142 # need to make the FD available again.
75143 if test "$no_create" != yes; then
75144 ac_cs_success=:
75145 ac_config_status_args=
75146 test "$silent" = yes &&
75147 ac_config_status_args="$ac_config_status_args --quiet"
75148 exec 5>/dev/null
75149 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
75150 exec 5>>config.log
75151 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
75152 # would make configure fail if this is the last instruction.
75153 $ac_cs_success || as_fn_exit $?
75154 fi
75155 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
75156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
75157 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
75158 fi
75159