]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/configure
5fcb705b36351370d22747245bce74cb7eabad74
[thirdparty/gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148 esac
149 fi
150 "
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165 exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
185 fi
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
197 /*)
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
206 fi
207 fi
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241 fi
242 exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260 { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269 return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
307 q
308 }
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)$/{
314 s//\1/
315 q
316 }
317 /^X\(\/\).*/{
318 s//\1/
319 q
320 }
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
337 {
338 eval $1+=\$2
339 }'
340 else
341 as_fn_append ()
342 {
343 eval $1=\$$1\$2
344 }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
354 {
355 as_val=$(( $* ))
356 }'
357 else
358 as_fn_arith ()
359 {
360 as_val=`expr "$@" || test $? -eq 1`
361 }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376 fi
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
407 q
408 }
409 /^X\/\(\/\/\)$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\).*/{
414 s//\1/
415 q
416 }
417 s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
433 p
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
439 b
440 :lineno
441 N
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
467 *)
468 ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
491 fi
492 else
493 as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
512 fi
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
524 '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
637 DOT
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_CXX11_ABI_FALSE
647 ENABLE_CXX11_ABI_TRUE
648 ENABLE_VISIBILITY_FALSE
649 ENABLE_VISIBILITY_TRUE
650 libtool_VERSION
651 ENABLE_SYMVERS_SUN_FALSE
652 ENABLE_SYMVERS_SUN_TRUE
653 ENABLE_SYMVERS_DARWIN_FALSE
654 ENABLE_SYMVERS_DARWIN_TRUE
655 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
656 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
657 ENABLE_SYMVERS_GNU_FALSE
658 ENABLE_SYMVERS_GNU_TRUE
659 ENABLE_SYMVERS_FALSE
660 ENABLE_SYMVERS_TRUE
661 port_specific_symbol_files
662 SYMVER_FILE
663 CXXFILT
664 LTLIBICONV
665 LIBICONV
666 OPT_LDFLAGS
667 SECTION_LDFLAGS
668 GLIBCXX_LIBS
669 ENABLE_VTABLE_VERIFY_FALSE
670 ENABLE_VTABLE_VERIFY_TRUE
671 VTV_CXXLINKFLAGS
672 VTV_PCH_CXXFLAGS
673 VTV_CXXFLAGS
674 ENABLE_WERROR_FALSE
675 ENABLE_WERROR_TRUE
676 ENABLE_PYTHONDIR_FALSE
677 ENABLE_PYTHONDIR_TRUE
678 python_mod_dir
679 ENABLE_EXTERN_TEMPLATE_FALSE
680 ENABLE_EXTERN_TEMPLATE_TRUE
681 EXTRA_CXX_FLAGS
682 GLIBCXX_BUILD_DEBUG_FALSE
683 GLIBCXX_BUILD_DEBUG_TRUE
684 DEBUG_FLAGS
685 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
686 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
687 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
688 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
689 GLIBCXX_C_HEADERS_C_STD_FALSE
690 GLIBCXX_C_HEADERS_C_STD_TRUE
691 GLIBCXX_C_HEADERS_C_FALSE
692 GLIBCXX_C_HEADERS_C_TRUE
693 C_INCLUDE_DIR
694 ALLOCATOR_NAME
695 ALLOCATOR_H
696 CLOCALE_INTERNAL_H
697 CLOCALE_CC
698 CTIME_CC
699 CTIME_H
700 CNUMERIC_CC
701 CMONEY_CC
702 CMESSAGES_CC
703 CCTYPE_CC
704 CCOLLATE_CC
705 CCODECVT_CC
706 CMESSAGES_H
707 CLOCALE_H
708 USE_NLS
709 glibcxx_localedir
710 glibcxx_POFILES
711 glibcxx_MOFILES
712 check_msgfmt
713 BASIC_FILE_CC
714 BASIC_FILE_H
715 CSTDIO_H
716 SECTION_FLAGS
717 WERROR
718 thread_header
719 glibcxx_PCHFLAGS
720 GLIBCXX_BUILD_PCH_FALSE
721 GLIBCXX_BUILD_PCH_TRUE
722 GLIBCXX_HOSTED_FALSE
723 GLIBCXX_HOSTED_TRUE
724 glibcxx_compiler_shared_flag
725 glibcxx_compiler_pic_flag
726 glibcxx_lt_pic_flag
727 enable_static
728 enable_shared
729 lt_host_flags
730 CXXCPP
731 OTOOL64
732 OTOOL
733 LIPO
734 NMEDIT
735 DSYMUTIL
736 OBJDUMP
737 NM
738 ac_ct_DUMPBIN
739 DUMPBIN
740 LD
741 FGREP
742 SED
743 LIBTOOL
744 EGREP
745 GREP
746 CPP
747 MAINT
748 MAINTAINER_MODE_FALSE
749 MAINTAINER_MODE_TRUE
750 RANLIB
751 AR
752 AS
753 LN_S
754 toplevel_srcdir
755 toplevel_builddir
756 glibcxx_srcdir
757 glibcxx_builddir
758 ac_ct_CXX
759 CXXFLAGS
760 CXX
761 OBJEXT
762 EXEEXT
763 ac_ct_CC
764 CPPFLAGS
765 LDFLAGS
766 CFLAGS
767 CC
768 am__untar
769 am__tar
770 AMTAR
771 am__leading_dot
772 SET_MAKE
773 AWK
774 mkdir_p
775 MKDIR_P
776 INSTALL_STRIP_PROGRAM
777 STRIP
778 install_sh
779 MAKEINFO
780 AUTOHEADER
781 AUTOMAKE
782 AUTOCONF
783 ACLOCAL
784 VERSION
785 PACKAGE
786 CYGPATH_W
787 am__isrc
788 INSTALL_DATA
789 INSTALL_SCRIPT
790 INSTALL_PROGRAM
791 target_os
792 target_vendor
793 target_cpu
794 target
795 host_os
796 host_vendor
797 host_cpu
798 host
799 build_os
800 build_vendor
801 build_cpu
802 build
803 multi_basedir
804 target_alias
805 host_alias
806 build_alias
807 LIBS
808 ECHO_T
809 ECHO_N
810 ECHO_C
811 DEFS
812 mandir
813 localedir
814 libdir
815 psdir
816 pdfdir
817 dvidir
818 htmldir
819 infodir
820 docdir
821 oldincludedir
822 includedir
823 localstatedir
824 sharedstatedir
825 sysconfdir
826 datadir
827 datarootdir
828 libexecdir
829 sbindir
830 bindir
831 program_transform_name
832 prefix
833 exec_prefix
834 PACKAGE_URL
835 PACKAGE_BUGREPORT
836 PACKAGE_STRING
837 PACKAGE_VERSION
838 PACKAGE_TARNAME
839 PACKAGE_NAME
840 PATH_SEPARATOR
841 SHELL'
842 ac_subst_files=''
843 ac_user_opts='
844 enable_option_checking
845 enable_multilib
846 with_target_subdir
847 with_cross_host
848 with_newlib
849 enable_maintainer_mode
850 enable_shared
851 enable_static
852 with_pic
853 enable_fast_install
854 with_gnu_ld
855 enable_libtool_lock
856 enable_hosted_libstdcxx
857 enable_libstdcxx_verbose
858 enable_sjlj_exceptions
859 enable_libstdcxx_pch
860 enable_cstdio
861 enable_clocale
862 enable_nls
863 enable_libstdcxx_allocator
864 enable_cheaders
865 enable_long_long
866 enable_wchar_t
867 enable_c99
868 enable_concept_checks
869 enable_libstdcxx_debug_flags
870 enable_libstdcxx_debug
871 enable_cxx_flags
872 enable_fully_dynamic_string
873 enable_extern_template
874 with_python_dir
875 enable_werror
876 enable_vtable_verify
877 enable_libstdcxx_time
878 enable_tls
879 enable_rpath
880 with_libiconv_prefix
881 with_system_libunwind
882 enable_linux_futex
883 enable_symvers
884 enable_libstdcxx_visibility
885 enable_libstdcxx_cxx11_abi
886 enable_libstdcxx_threads
887 with_gxx_include_dir
888 enable_version_specific_runtime_libs
889 '
890 ac_precious_vars='build_alias
891 host_alias
892 target_alias
893 CC
894 CFLAGS
895 LDFLAGS
896 LIBS
897 CPPFLAGS
898 CXX
899 CXXFLAGS
900 CCC
901 CPP
902 CXXCPP
903 CXXFILT'
904
905
906 # Initialize some variables set by options.
907 ac_init_help=
908 ac_init_version=false
909 ac_unrecognized_opts=
910 ac_unrecognized_sep=
911 # The variables have the same names as the options, with
912 # dashes changed to underlines.
913 cache_file=/dev/null
914 exec_prefix=NONE
915 no_create=
916 no_recursion=
917 prefix=NONE
918 program_prefix=NONE
919 program_suffix=NONE
920 program_transform_name=s,x,x,
921 silent=
922 site=
923 srcdir=
924 verbose=
925 x_includes=NONE
926 x_libraries=NONE
927
928 # Installation directory options.
929 # These are left unexpanded so users can "make install exec_prefix=/foo"
930 # and all the variables that are supposed to be based on exec_prefix
931 # by default will actually change.
932 # Use braces instead of parens because sh, perl, etc. also accept them.
933 # (The list follows the same order as the GNU Coding Standards.)
934 bindir='${exec_prefix}/bin'
935 sbindir='${exec_prefix}/sbin'
936 libexecdir='${exec_prefix}/libexec'
937 datarootdir='${prefix}/share'
938 datadir='${datarootdir}'
939 sysconfdir='${prefix}/etc'
940 sharedstatedir='${prefix}/com'
941 localstatedir='${prefix}/var'
942 includedir='${prefix}/include'
943 oldincludedir='/usr/include'
944 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
945 infodir='${datarootdir}/info'
946 htmldir='${docdir}'
947 dvidir='${docdir}'
948 pdfdir='${docdir}'
949 psdir='${docdir}'
950 libdir='${exec_prefix}/lib'
951 localedir='${datarootdir}/locale'
952 mandir='${datarootdir}/man'
953
954 ac_prev=
955 ac_dashdash=
956 for ac_option
957 do
958 # If the previous option needs an argument, assign it.
959 if test -n "$ac_prev"; then
960 eval $ac_prev=\$ac_option
961 ac_prev=
962 continue
963 fi
964
965 case $ac_option in
966 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
967 *) ac_optarg=yes ;;
968 esac
969
970 # Accept the important Cygnus configure options, so we can diagnose typos.
971
972 case $ac_dashdash$ac_option in
973 --)
974 ac_dashdash=yes ;;
975
976 -bindir | --bindir | --bindi | --bind | --bin | --bi)
977 ac_prev=bindir ;;
978 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
979 bindir=$ac_optarg ;;
980
981 -build | --build | --buil | --bui | --bu)
982 ac_prev=build_alias ;;
983 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
984 build_alias=$ac_optarg ;;
985
986 -cache-file | --cache-file | --cache-fil | --cache-fi \
987 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
988 ac_prev=cache_file ;;
989 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
990 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
991 cache_file=$ac_optarg ;;
992
993 --config-cache | -C)
994 cache_file=config.cache ;;
995
996 -datadir | --datadir | --datadi | --datad)
997 ac_prev=datadir ;;
998 -datadir=* | --datadir=* | --datadi=* | --datad=*)
999 datadir=$ac_optarg ;;
1000
1001 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1002 | --dataroo | --dataro | --datar)
1003 ac_prev=datarootdir ;;
1004 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1005 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1006 datarootdir=$ac_optarg ;;
1007
1008 -disable-* | --disable-*)
1009 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1012 as_fn_error "invalid feature name: $ac_useropt"
1013 ac_useropt_orig=$ac_useropt
1014 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015 case $ac_user_opts in
1016 *"
1017 "enable_$ac_useropt"
1018 "*) ;;
1019 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1020 ac_unrecognized_sep=', ';;
1021 esac
1022 eval enable_$ac_useropt=no ;;
1023
1024 -docdir | --docdir | --docdi | --doc | --do)
1025 ac_prev=docdir ;;
1026 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1027 docdir=$ac_optarg ;;
1028
1029 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1030 ac_prev=dvidir ;;
1031 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1032 dvidir=$ac_optarg ;;
1033
1034 -enable-* | --enable-*)
1035 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1038 as_fn_error "invalid feature name: $ac_useropt"
1039 ac_useropt_orig=$ac_useropt
1040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041 case $ac_user_opts in
1042 *"
1043 "enable_$ac_useropt"
1044 "*) ;;
1045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1046 ac_unrecognized_sep=', ';;
1047 esac
1048 eval enable_$ac_useropt=\$ac_optarg ;;
1049
1050 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1051 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1052 | --exec | --exe | --ex)
1053 ac_prev=exec_prefix ;;
1054 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1055 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1056 | --exec=* | --exe=* | --ex=*)
1057 exec_prefix=$ac_optarg ;;
1058
1059 -gas | --gas | --ga | --g)
1060 # Obsolete; use --with-gas.
1061 with_gas=yes ;;
1062
1063 -help | --help | --hel | --he | -h)
1064 ac_init_help=long ;;
1065 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1066 ac_init_help=recursive ;;
1067 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1068 ac_init_help=short ;;
1069
1070 -host | --host | --hos | --ho)
1071 ac_prev=host_alias ;;
1072 -host=* | --host=* | --hos=* | --ho=*)
1073 host_alias=$ac_optarg ;;
1074
1075 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1076 ac_prev=htmldir ;;
1077 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1078 | --ht=*)
1079 htmldir=$ac_optarg ;;
1080
1081 -includedir | --includedir | --includedi | --included | --include \
1082 | --includ | --inclu | --incl | --inc)
1083 ac_prev=includedir ;;
1084 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1085 | --includ=* | --inclu=* | --incl=* | --inc=*)
1086 includedir=$ac_optarg ;;
1087
1088 -infodir | --infodir | --infodi | --infod | --info | --inf)
1089 ac_prev=infodir ;;
1090 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1091 infodir=$ac_optarg ;;
1092
1093 -libdir | --libdir | --libdi | --libd)
1094 ac_prev=libdir ;;
1095 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1096 libdir=$ac_optarg ;;
1097
1098 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1099 | --libexe | --libex | --libe)
1100 ac_prev=libexecdir ;;
1101 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1102 | --libexe=* | --libex=* | --libe=*)
1103 libexecdir=$ac_optarg ;;
1104
1105 -localedir | --localedir | --localedi | --localed | --locale)
1106 ac_prev=localedir ;;
1107 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1108 localedir=$ac_optarg ;;
1109
1110 -localstatedir | --localstatedir | --localstatedi | --localstated \
1111 | --localstate | --localstat | --localsta | --localst | --locals)
1112 ac_prev=localstatedir ;;
1113 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1114 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1115 localstatedir=$ac_optarg ;;
1116
1117 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1118 ac_prev=mandir ;;
1119 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1120 mandir=$ac_optarg ;;
1121
1122 -nfp | --nfp | --nf)
1123 # Obsolete; use --without-fp.
1124 with_fp=no ;;
1125
1126 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1127 | --no-cr | --no-c | -n)
1128 no_create=yes ;;
1129
1130 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1131 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1132 no_recursion=yes ;;
1133
1134 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1135 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1136 | --oldin | --oldi | --old | --ol | --o)
1137 ac_prev=oldincludedir ;;
1138 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1139 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1140 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1141 oldincludedir=$ac_optarg ;;
1142
1143 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1144 ac_prev=prefix ;;
1145 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1146 prefix=$ac_optarg ;;
1147
1148 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1149 | --program-pre | --program-pr | --program-p)
1150 ac_prev=program_prefix ;;
1151 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1152 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1153 program_prefix=$ac_optarg ;;
1154
1155 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1156 | --program-suf | --program-su | --program-s)
1157 ac_prev=program_suffix ;;
1158 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1159 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1160 program_suffix=$ac_optarg ;;
1161
1162 -program-transform-name | --program-transform-name \
1163 | --program-transform-nam | --program-transform-na \
1164 | --program-transform-n | --program-transform- \
1165 | --program-transform | --program-transfor \
1166 | --program-transfo | --program-transf \
1167 | --program-trans | --program-tran \
1168 | --progr-tra | --program-tr | --program-t)
1169 ac_prev=program_transform_name ;;
1170 -program-transform-name=* | --program-transform-name=* \
1171 | --program-transform-nam=* | --program-transform-na=* \
1172 | --program-transform-n=* | --program-transform-=* \
1173 | --program-transform=* | --program-transfor=* \
1174 | --program-transfo=* | --program-transf=* \
1175 | --program-trans=* | --program-tran=* \
1176 | --progr-tra=* | --program-tr=* | --program-t=*)
1177 program_transform_name=$ac_optarg ;;
1178
1179 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1180 ac_prev=pdfdir ;;
1181 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1182 pdfdir=$ac_optarg ;;
1183
1184 -psdir | --psdir | --psdi | --psd | --ps)
1185 ac_prev=psdir ;;
1186 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1187 psdir=$ac_optarg ;;
1188
1189 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1190 | -silent | --silent | --silen | --sile | --sil)
1191 silent=yes ;;
1192
1193 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1194 ac_prev=sbindir ;;
1195 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1196 | --sbi=* | --sb=*)
1197 sbindir=$ac_optarg ;;
1198
1199 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1200 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1201 | --sharedst | --shareds | --shared | --share | --shar \
1202 | --sha | --sh)
1203 ac_prev=sharedstatedir ;;
1204 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1205 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1206 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1207 | --sha=* | --sh=*)
1208 sharedstatedir=$ac_optarg ;;
1209
1210 -site | --site | --sit)
1211 ac_prev=site ;;
1212 -site=* | --site=* | --sit=*)
1213 site=$ac_optarg ;;
1214
1215 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1216 ac_prev=srcdir ;;
1217 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1218 srcdir=$ac_optarg ;;
1219
1220 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1221 | --syscon | --sysco | --sysc | --sys | --sy)
1222 ac_prev=sysconfdir ;;
1223 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1224 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1225 sysconfdir=$ac_optarg ;;
1226
1227 -target | --target | --targe | --targ | --tar | --ta | --t)
1228 ac_prev=target_alias ;;
1229 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1230 target_alias=$ac_optarg ;;
1231
1232 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1233 verbose=yes ;;
1234
1235 -version | --version | --versio | --versi | --vers | -V)
1236 ac_init_version=: ;;
1237
1238 -with-* | --with-*)
1239 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1240 # Reject names that are not valid shell variable names.
1241 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1242 as_fn_error "invalid package name: $ac_useropt"
1243 ac_useropt_orig=$ac_useropt
1244 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1245 case $ac_user_opts in
1246 *"
1247 "with_$ac_useropt"
1248 "*) ;;
1249 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1250 ac_unrecognized_sep=', ';;
1251 esac
1252 eval with_$ac_useropt=\$ac_optarg ;;
1253
1254 -without-* | --without-*)
1255 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1256 # Reject names that are not valid shell variable names.
1257 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1258 as_fn_error "invalid package name: $ac_useropt"
1259 ac_useropt_orig=$ac_useropt
1260 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1261 case $ac_user_opts in
1262 *"
1263 "with_$ac_useropt"
1264 "*) ;;
1265 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1266 ac_unrecognized_sep=', ';;
1267 esac
1268 eval with_$ac_useropt=no ;;
1269
1270 --x)
1271 # Obsolete; use --with-x.
1272 with_x=yes ;;
1273
1274 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1275 | --x-incl | --x-inc | --x-in | --x-i)
1276 ac_prev=x_includes ;;
1277 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1278 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1279 x_includes=$ac_optarg ;;
1280
1281 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1282 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1283 ac_prev=x_libraries ;;
1284 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1285 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1286 x_libraries=$ac_optarg ;;
1287
1288 -*) as_fn_error "unrecognized option: \`$ac_option'
1289 Try \`$0 --help' for more information."
1290 ;;
1291
1292 *=*)
1293 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1294 # Reject names that are not valid shell variable names.
1295 case $ac_envvar in #(
1296 '' | [0-9]* | *[!_$as_cr_alnum]* )
1297 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1298 esac
1299 eval $ac_envvar=\$ac_optarg
1300 export $ac_envvar ;;
1301
1302 *)
1303 # FIXME: should be removed in autoconf 3.0.
1304 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1305 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1306 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1307 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1308 ;;
1309
1310 esac
1311 done
1312
1313 if test -n "$ac_prev"; then
1314 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1315 as_fn_error "missing argument to $ac_option"
1316 fi
1317
1318 if test -n "$ac_unrecognized_opts"; then
1319 case $enable_option_checking in
1320 no) ;;
1321 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1322 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1323 esac
1324 fi
1325
1326 # Check all directory arguments for consistency.
1327 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1328 datadir sysconfdir sharedstatedir localstatedir includedir \
1329 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1330 libdir localedir mandir
1331 do
1332 eval ac_val=\$$ac_var
1333 # Remove trailing slashes.
1334 case $ac_val in
1335 */ )
1336 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1337 eval $ac_var=\$ac_val;;
1338 esac
1339 # Be sure to have absolute directory names.
1340 case $ac_val in
1341 [\\/$]* | ?:[\\/]* ) continue;;
1342 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1343 esac
1344 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1345 done
1346
1347 # There might be people who depend on the old broken behavior: `$host'
1348 # used to hold the argument of --host etc.
1349 # FIXME: To remove some day.
1350 build=$build_alias
1351 host=$host_alias
1352 target=$target_alias
1353
1354 # FIXME: To remove some day.
1355 if test "x$host_alias" != x; then
1356 if test "x$build_alias" = x; then
1357 cross_compiling=maybe
1358 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1359 If a cross compiler is detected then cross compile mode will be used." >&2
1360 elif test "x$build_alias" != "x$host_alias"; then
1361 cross_compiling=yes
1362 fi
1363 fi
1364
1365 ac_tool_prefix=
1366 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1367
1368 test "$silent" = yes && exec 6>/dev/null
1369
1370
1371 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1372 ac_ls_di=`ls -di .` &&
1373 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1374 as_fn_error "working directory cannot be determined"
1375 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1376 as_fn_error "pwd does not report name of working directory"
1377
1378
1379 # Find the source files, if location was not specified.
1380 if test -z "$srcdir"; then
1381 ac_srcdir_defaulted=yes
1382 # Try the directory containing this script, then the parent directory.
1383 ac_confdir=`$as_dirname -- "$as_myself" ||
1384 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1385 X"$as_myself" : 'X\(//\)[^/]' \| \
1386 X"$as_myself" : 'X\(//\)$' \| \
1387 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1388 $as_echo X"$as_myself" |
1389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1390 s//\1/
1391 q
1392 }
1393 /^X\(\/\/\)[^/].*/{
1394 s//\1/
1395 q
1396 }
1397 /^X\(\/\/\)$/{
1398 s//\1/
1399 q
1400 }
1401 /^X\(\/\).*/{
1402 s//\1/
1403 q
1404 }
1405 s/.*/./; q'`
1406 srcdir=$ac_confdir
1407 if test ! -r "$srcdir/$ac_unique_file"; then
1408 srcdir=..
1409 fi
1410 else
1411 ac_srcdir_defaulted=no
1412 fi
1413 if test ! -r "$srcdir/$ac_unique_file"; then
1414 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1415 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1416 fi
1417 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1418 ac_abs_confdir=`(
1419 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1420 pwd)`
1421 # When building in place, set srcdir=.
1422 if test "$ac_abs_confdir" = "$ac_pwd"; then
1423 srcdir=.
1424 fi
1425 # Remove unnecessary trailing slashes from srcdir.
1426 # Double slashes in file names in object file debugging info
1427 # mess up M-x gdb in Emacs.
1428 case $srcdir in
1429 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1430 esac
1431 for ac_var in $ac_precious_vars; do
1432 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1433 eval ac_env_${ac_var}_value=\$${ac_var}
1434 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1435 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1436 done
1437
1438 #
1439 # Report the --help message.
1440 #
1441 if test "$ac_init_help" = "long"; then
1442 # Omit some internal or obsolete options to make the list less imposing.
1443 # This message is too long to be a string in the A/UX 3.1 sh.
1444 cat <<_ACEOF
1445 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1446
1447 Usage: $0 [OPTION]... [VAR=VALUE]...
1448
1449 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1450 VAR=VALUE. See below for descriptions of some of the useful variables.
1451
1452 Defaults for the options are specified in brackets.
1453
1454 Configuration:
1455 -h, --help display this help and exit
1456 --help=short display options specific to this package
1457 --help=recursive display the short help of all the included packages
1458 -V, --version display version information and exit
1459 -q, --quiet, --silent do not print \`checking...' messages
1460 --cache-file=FILE cache test results in FILE [disabled]
1461 -C, --config-cache alias for \`--cache-file=config.cache'
1462 -n, --no-create do not create output files
1463 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1464
1465 Installation directories:
1466 --prefix=PREFIX install architecture-independent files in PREFIX
1467 [$ac_default_prefix]
1468 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1469 [PREFIX]
1470
1471 By default, \`make install' will install all the files in
1472 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1473 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1474 for instance \`--prefix=\$HOME'.
1475
1476 For better control, use the options below.
1477
1478 Fine tuning of the installation directories:
1479 --bindir=DIR user executables [EPREFIX/bin]
1480 --sbindir=DIR system admin executables [EPREFIX/sbin]
1481 --libexecdir=DIR program executables [EPREFIX/libexec]
1482 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1483 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1484 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1485 --libdir=DIR object code libraries [EPREFIX/lib]
1486 --includedir=DIR C header files [PREFIX/include]
1487 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1488 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1489 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1490 --infodir=DIR info documentation [DATAROOTDIR/info]
1491 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1492 --mandir=DIR man documentation [DATAROOTDIR/man]
1493 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1494 --htmldir=DIR html documentation [DOCDIR]
1495 --dvidir=DIR dvi documentation [DOCDIR]
1496 --pdfdir=DIR pdf documentation [DOCDIR]
1497 --psdir=DIR ps documentation [DOCDIR]
1498 _ACEOF
1499
1500 cat <<\_ACEOF
1501
1502 Program names:
1503 --program-prefix=PREFIX prepend PREFIX to installed program names
1504 --program-suffix=SUFFIX append SUFFIX to installed program names
1505 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1506
1507 System types:
1508 --build=BUILD configure for building on BUILD [guessed]
1509 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1510 --target=TARGET configure for building compilers for TARGET [HOST]
1511 _ACEOF
1512 fi
1513
1514 if test -n "$ac_init_help"; then
1515 case $ac_init_help in
1516 short | recursive ) echo "Configuration of package-unused version-unused:";;
1517 esac
1518 cat <<\_ACEOF
1519
1520 Optional Features:
1521 --disable-option-checking ignore unrecognized --enable/--with options
1522 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1523 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1524 --enable-multilib build many library versions (default)
1525 --enable-maintainer-mode enable make rules and dependencies not useful
1526 (and sometimes confusing) to the casual installer
1527 --enable-shared[=PKGS] build shared libraries [default=yes]
1528 --enable-static[=PKGS] build static libraries [default=yes]
1529 --enable-fast-install[=PKGS]
1530 optimize for fast installation [default=yes]
1531 --disable-libtool-lock avoid locking (might break parallel builds)
1532 --disable-hosted-libstdcxx
1533 only build freestanding C++ runtime support
1534 --disable-libstdcxx-verbose
1535 disable termination messages to standard error
1536 --enable-sjlj-exceptions
1537 force use of builtin_setjmp for exceptions
1538 [default=auto]
1539 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1540 [default=$is_hosted]
1541 --enable-cstdio[=PACKAGE]
1542 use target-specific I/O package [default=stdio]
1543 --enable-clocale[=MODEL]
1544 use MODEL for target locale package [default=auto]
1545 --enable-nls use Native Language Support (default)
1546 --enable-libstdcxx-allocator[=KIND]
1547 use KIND for target std::allocator base
1548 [default=auto]
1549 --enable-cheaders[=KIND]
1550 construct "C" headers for g++ [default=$c_model]
1551 --enable-long-long enable template specializations for 'long long'
1552 [default=yes]
1553 --enable-wchar_t enable template specializations for 'wchar_t'
1554 [default=yes]
1555 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1556 --enable-concept-checks use Boost-derived template checks [default=no]
1557 --enable-libstdcxx-debug-flags=FLAGS
1558 pass compiler FLAGS when building debug library
1559 [default="-gdwarf-4 -g3 -O0"]
1560 --enable-libstdcxx-debug
1561 build extra debug library [default=no]
1562 --enable-cxx-flags=FLAGS
1563 pass compiler FLAGS when building library [default=]
1564 --enable-fully-dynamic-string
1565 do not put empty strings in per-process static
1566 memory [default=no]
1567 --enable-extern-template
1568 enable extern template [default=yes]
1569 --enable-werror turns on -Werror [default=yes]
1570 --enable-vtable-verify enable vtable verify [default=no]
1571 --enable-libstdcxx-time[=KIND]
1572 use KIND for check type [default=auto]
1573 --enable-tls Use thread-local storage [default=yes]
1574 --disable-rpath do not hardcode runtime library paths
1575 --enable-linux-futex use the Linux futex system call [default=default]
1576 --enable-symvers[=STYLE]
1577 enables symbol versioning of the shared library
1578 [default=yes]
1579 --enable-libstdcxx-visibility
1580 enables visibility safe usage [default=yes]
1581 --disable-libstdcxx-cxx11-abi
1582 disable the C++11-conforming ABI
1583 --enable-libstdcxx-threads
1584 enable C++11 threads support [default=auto]
1585 --enable-version-specific-runtime-libs
1586 Specify that runtime libraries should be installed
1587 in a compiler-specific directory
1588
1589 Optional Packages:
1590 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1591 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1592 --with-target-subdir=SUBDIR
1593 configuring in a subdirectory
1594 --with-cross-host=HOST configuring with a cross compiler
1595 --with-newlib assume newlib as a system C library
1596 --with-pic try to use only PIC/non-PIC objects [default=use
1597 both]
1598 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1599 --with-python-dir the location to install Python modules. This path is
1600 relative starting from the prefix.
1601 --with-gnu-ld assume the C compiler uses GNU ld default=no
1602 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1603 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1604 --with-system-libunwind use installed libunwind
1605 --with-gxx-include-dir=DIR
1606 installation directory for include files
1607
1608 Some influential environment variables:
1609 CC C compiler command
1610 CFLAGS C compiler flags
1611 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1612 nonstandard directory <lib dir>
1613 LIBS libraries to pass to the linker, e.g. -l<library>
1614 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1615 you have headers in a nonstandard directory <include dir>
1616 CXX C++ compiler command
1617 CXXFLAGS C++ compiler flags
1618 CPP C preprocessor
1619 CXXCPP C++ preprocessor
1620 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1621 `c++filt', `gc++filt' on PATH.
1622
1623 Use these variables to override the choices made by `configure' or to help
1624 it to find libraries and programs with nonstandard names/locations.
1625
1626 Report bugs to the package provider.
1627 _ACEOF
1628 ac_status=$?
1629 fi
1630
1631 if test "$ac_init_help" = "recursive"; then
1632 # If there are subdirs, report their specific --help.
1633 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1634 test -d "$ac_dir" ||
1635 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1636 continue
1637 ac_builddir=.
1638
1639 case "$ac_dir" in
1640 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1641 *)
1642 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1643 # A ".." for each directory in $ac_dir_suffix.
1644 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1645 case $ac_top_builddir_sub in
1646 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1647 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1648 esac ;;
1649 esac
1650 ac_abs_top_builddir=$ac_pwd
1651 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1652 # for backward compatibility:
1653 ac_top_builddir=$ac_top_build_prefix
1654
1655 case $srcdir in
1656 .) # We are building in place.
1657 ac_srcdir=.
1658 ac_top_srcdir=$ac_top_builddir_sub
1659 ac_abs_top_srcdir=$ac_pwd ;;
1660 [\\/]* | ?:[\\/]* ) # Absolute name.
1661 ac_srcdir=$srcdir$ac_dir_suffix;
1662 ac_top_srcdir=$srcdir
1663 ac_abs_top_srcdir=$srcdir ;;
1664 *) # Relative name.
1665 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1666 ac_top_srcdir=$ac_top_build_prefix$srcdir
1667 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1668 esac
1669 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1670
1671 cd "$ac_dir" || { ac_status=$?; continue; }
1672 # Check for guested configure.
1673 if test -f "$ac_srcdir/configure.gnu"; then
1674 echo &&
1675 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1676 elif test -f "$ac_srcdir/configure"; then
1677 echo &&
1678 $SHELL "$ac_srcdir/configure" --help=recursive
1679 else
1680 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1681 fi || ac_status=$?
1682 cd "$ac_pwd" || { ac_status=$?; break; }
1683 done
1684 fi
1685
1686 test -n "$ac_init_help" && exit $ac_status
1687 if $ac_init_version; then
1688 cat <<\_ACEOF
1689 package-unused configure version-unused
1690 generated by GNU Autoconf 2.64
1691
1692 Copyright (C) 2009 Free Software Foundation, Inc.
1693 This configure script is free software; the Free Software Foundation
1694 gives unlimited permission to copy, distribute and modify it.
1695 _ACEOF
1696 exit
1697 fi
1698
1699 ## ------------------------ ##
1700 ## Autoconf initialization. ##
1701 ## ------------------------ ##
1702
1703 # ac_fn_c_try_compile LINENO
1704 # --------------------------
1705 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1706 ac_fn_c_try_compile ()
1707 {
1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709 rm -f conftest.$ac_objext
1710 if { { ac_try="$ac_compile"
1711 case "(($ac_try" in
1712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1713 *) ac_try_echo=$ac_try;;
1714 esac
1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716 $as_echo "$ac_try_echo"; } >&5
1717 (eval "$ac_compile") 2>conftest.err
1718 ac_status=$?
1719 if test -s conftest.err; then
1720 grep -v '^ *+' conftest.err >conftest.er1
1721 cat conftest.er1 >&5
1722 mv -f conftest.er1 conftest.err
1723 fi
1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 test $ac_status = 0; } && {
1726 test -z "$ac_c_werror_flag" ||
1727 test ! -s conftest.err
1728 } && test -s conftest.$ac_objext; then :
1729 ac_retval=0
1730 else
1731 $as_echo "$as_me: failed program was:" >&5
1732 sed 's/^/| /' conftest.$ac_ext >&5
1733
1734 ac_retval=1
1735 fi
1736 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1737 return $ac_retval
1738
1739 } # ac_fn_c_try_compile
1740
1741 # ac_fn_cxx_try_compile LINENO
1742 # ----------------------------
1743 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1744 ac_fn_cxx_try_compile ()
1745 {
1746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747 rm -f conftest.$ac_objext
1748 if { { ac_try="$ac_compile"
1749 case "(($ac_try" in
1750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1751 *) ac_try_echo=$ac_try;;
1752 esac
1753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1754 $as_echo "$ac_try_echo"; } >&5
1755 (eval "$ac_compile") 2>conftest.err
1756 ac_status=$?
1757 if test -s conftest.err; then
1758 grep -v '^ *+' conftest.err >conftest.er1
1759 cat conftest.er1 >&5
1760 mv -f conftest.er1 conftest.err
1761 fi
1762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1763 test $ac_status = 0; } && {
1764 test -z "$ac_cxx_werror_flag" ||
1765 test ! -s conftest.err
1766 } && test -s conftest.$ac_objext; then :
1767 ac_retval=0
1768 else
1769 $as_echo "$as_me: failed program was:" >&5
1770 sed 's/^/| /' conftest.$ac_ext >&5
1771
1772 ac_retval=1
1773 fi
1774 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1775 return $ac_retval
1776
1777 } # ac_fn_cxx_try_compile
1778
1779 # ac_fn_c_try_cpp LINENO
1780 # ----------------------
1781 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1782 ac_fn_c_try_cpp ()
1783 {
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 if { { ac_try="$ac_cpp conftest.$ac_ext"
1786 case "(($ac_try" in
1787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1788 *) ac_try_echo=$ac_try;;
1789 esac
1790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791 $as_echo "$ac_try_echo"; } >&5
1792 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1793 ac_status=$?
1794 if test -s conftest.err; then
1795 grep -v '^ *+' conftest.err >conftest.er1
1796 cat conftest.er1 >&5
1797 mv -f conftest.er1 conftest.err
1798 fi
1799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800 test $ac_status = 0; } >/dev/null && {
1801 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1802 test ! -s conftest.err
1803 }; then :
1804 ac_retval=0
1805 else
1806 $as_echo "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.$ac_ext >&5
1808
1809 ac_retval=1
1810 fi
1811 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1812 return $ac_retval
1813
1814 } # ac_fn_c_try_cpp
1815
1816 # ac_fn_c_try_link LINENO
1817 # -----------------------
1818 # Try to link conftest.$ac_ext, and return whether this succeeded.
1819 ac_fn_c_try_link ()
1820 {
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 rm -f conftest.$ac_objext conftest$ac_exeext
1823 if { { ac_try="$ac_link"
1824 case "(($ac_try" in
1825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1826 *) ac_try_echo=$ac_try;;
1827 esac
1828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1829 $as_echo "$ac_try_echo"; } >&5
1830 (eval "$ac_link") 2>conftest.err
1831 ac_status=$?
1832 if test -s conftest.err; then
1833 grep -v '^ *+' conftest.err >conftest.er1
1834 cat conftest.er1 >&5
1835 mv -f conftest.er1 conftest.err
1836 fi
1837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838 test $ac_status = 0; } && {
1839 test -z "$ac_c_werror_flag" ||
1840 test ! -s conftest.err
1841 } && test -s conftest$ac_exeext && {
1842 test "$cross_compiling" = yes ||
1843 $as_test_x conftest$ac_exeext
1844 }; then :
1845 ac_retval=0
1846 else
1847 $as_echo "$as_me: failed program was:" >&5
1848 sed 's/^/| /' conftest.$ac_ext >&5
1849
1850 ac_retval=1
1851 fi
1852 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1853 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1854 # interfere with the next link command; also delete a directory that is
1855 # left behind by Apple's compiler. We do this before executing the actions.
1856 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1857 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1858 return $ac_retval
1859
1860 } # ac_fn_c_try_link
1861
1862 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1863 # -------------------------------------------------------
1864 # Tests whether HEADER exists and can be compiled using the include files in
1865 # INCLUDES, setting the cache variable VAR accordingly.
1866 ac_fn_c_check_header_compile ()
1867 {
1868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1870 $as_echo_n "checking for $2... " >&6; }
1871 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1872 $as_echo_n "(cached) " >&6
1873 else
1874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1875 /* end confdefs.h. */
1876 $4
1877 #include <$2>
1878 _ACEOF
1879 if ac_fn_c_try_compile "$LINENO"; then :
1880 eval "$3=yes"
1881 else
1882 eval "$3=no"
1883 fi
1884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1885 fi
1886 eval ac_res=\$$3
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1888 $as_echo "$ac_res" >&6; }
1889 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1890
1891 } # ac_fn_c_check_header_compile
1892
1893 # ac_fn_c_try_run LINENO
1894 # ----------------------
1895 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1896 # that executables *can* be run.
1897 ac_fn_c_try_run ()
1898 {
1899 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900 if { { ac_try="$ac_link"
1901 case "(($ac_try" in
1902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1903 *) ac_try_echo=$ac_try;;
1904 esac
1905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1906 $as_echo "$ac_try_echo"; } >&5
1907 (eval "$ac_link") 2>&5
1908 ac_status=$?
1909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1910 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1911 { { case "(($ac_try" in
1912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1913 *) ac_try_echo=$ac_try;;
1914 esac
1915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1916 $as_echo "$ac_try_echo"; } >&5
1917 (eval "$ac_try") 2>&5
1918 ac_status=$?
1919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1920 test $ac_status = 0; }; }; then :
1921 ac_retval=0
1922 else
1923 $as_echo "$as_me: program exited with status $ac_status" >&5
1924 $as_echo "$as_me: failed program was:" >&5
1925 sed 's/^/| /' conftest.$ac_ext >&5
1926
1927 ac_retval=$ac_status
1928 fi
1929 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1930 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1931 return $ac_retval
1932
1933 } # ac_fn_c_try_run
1934
1935 # ac_fn_c_check_func LINENO FUNC VAR
1936 # ----------------------------------
1937 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1938 ac_fn_c_check_func ()
1939 {
1940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1942 $as_echo_n "checking for $2... " >&6; }
1943 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1944 $as_echo_n "(cached) " >&6
1945 else
1946 if test x$gcc_no_link = xyes; then
1947 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1948 fi
1949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1950 /* end confdefs.h. */
1951 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1953 #define $2 innocuous_$2
1954
1955 /* System header to define __stub macros and hopefully few prototypes,
1956 which can conflict with char $2 (); below.
1957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1958 <limits.h> exists even on freestanding compilers. */
1959
1960 #ifdef __STDC__
1961 # include <limits.h>
1962 #else
1963 # include <assert.h>
1964 #endif
1965
1966 #undef $2
1967
1968 /* Override any GCC internal prototype to avoid an error.
1969 Use char because int might match the return type of a GCC
1970 builtin and then its argument prototype would still apply. */
1971 #ifdef __cplusplus
1972 extern "C"
1973 #endif
1974 char $2 ();
1975 /* The GNU C library defines this for functions which it implements
1976 to always fail with ENOSYS. Some functions are actually named
1977 something starting with __ and the normal name is an alias. */
1978 #if defined __stub_$2 || defined __stub___$2
1979 choke me
1980 #endif
1981
1982 int
1983 main ()
1984 {
1985 return $2 ();
1986 ;
1987 return 0;
1988 }
1989 _ACEOF
1990 if ac_fn_c_try_link "$LINENO"; then :
1991 eval "$3=yes"
1992 else
1993 eval "$3=no"
1994 fi
1995 rm -f core conftest.err conftest.$ac_objext \
1996 conftest$ac_exeext conftest.$ac_ext
1997 fi
1998 eval ac_res=\$$3
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2000 $as_echo "$ac_res" >&6; }
2001 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2002
2003 } # ac_fn_c_check_func
2004
2005 # ac_fn_cxx_try_cpp LINENO
2006 # ------------------------
2007 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2008 ac_fn_cxx_try_cpp ()
2009 {
2010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011 if { { ac_try="$ac_cpp conftest.$ac_ext"
2012 case "(($ac_try" in
2013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2014 *) ac_try_echo=$ac_try;;
2015 esac
2016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2017 $as_echo "$ac_try_echo"; } >&5
2018 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2019 ac_status=$?
2020 if test -s conftest.err; then
2021 grep -v '^ *+' conftest.err >conftest.er1
2022 cat conftest.er1 >&5
2023 mv -f conftest.er1 conftest.err
2024 fi
2025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2026 test $ac_status = 0; } >/dev/null && {
2027 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2028 test ! -s conftest.err
2029 }; then :
2030 ac_retval=0
2031 else
2032 $as_echo "$as_me: failed program was:" >&5
2033 sed 's/^/| /' conftest.$ac_ext >&5
2034
2035 ac_retval=1
2036 fi
2037 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2038 return $ac_retval
2039
2040 } # ac_fn_cxx_try_cpp
2041
2042 # ac_fn_cxx_try_link LINENO
2043 # -------------------------
2044 # Try to link conftest.$ac_ext, and return whether this succeeded.
2045 ac_fn_cxx_try_link ()
2046 {
2047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2048 rm -f conftest.$ac_objext conftest$ac_exeext
2049 if { { ac_try="$ac_link"
2050 case "(($ac_try" in
2051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2052 *) ac_try_echo=$ac_try;;
2053 esac
2054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2055 $as_echo "$ac_try_echo"; } >&5
2056 (eval "$ac_link") 2>conftest.err
2057 ac_status=$?
2058 if test -s conftest.err; then
2059 grep -v '^ *+' conftest.err >conftest.er1
2060 cat conftest.er1 >&5
2061 mv -f conftest.er1 conftest.err
2062 fi
2063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2064 test $ac_status = 0; } && {
2065 test -z "$ac_cxx_werror_flag" ||
2066 test ! -s conftest.err
2067 } && test -s conftest$ac_exeext && {
2068 test "$cross_compiling" = yes ||
2069 $as_test_x conftest$ac_exeext
2070 }; then :
2071 ac_retval=0
2072 else
2073 $as_echo "$as_me: failed program was:" >&5
2074 sed 's/^/| /' conftest.$ac_ext >&5
2075
2076 ac_retval=1
2077 fi
2078 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2079 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2080 # interfere with the next link command; also delete a directory that is
2081 # left behind by Apple's compiler. We do this before executing the actions.
2082 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2083 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2084 return $ac_retval
2085
2086 } # ac_fn_cxx_try_link
2087
2088 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2089 # -------------------------------------------------------
2090 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2091 # the include files in INCLUDES and setting the cache variable VAR
2092 # accordingly.
2093 ac_fn_c_check_header_mongrel ()
2094 {
2095 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2096 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2098 $as_echo_n "checking for $2... " >&6; }
2099 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2100 $as_echo_n "(cached) " >&6
2101 fi
2102 eval ac_res=\$$3
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2104 $as_echo "$ac_res" >&6; }
2105 else
2106 # Is the header compilable?
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2108 $as_echo_n "checking $2 usability... " >&6; }
2109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2111 $4
2112 #include <$2>
2113 _ACEOF
2114 if ac_fn_c_try_compile "$LINENO"; then :
2115 ac_header_compiler=yes
2116 else
2117 ac_header_compiler=no
2118 fi
2119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2121 $as_echo "$ac_header_compiler" >&6; }
2122
2123 # Is the header present?
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2125 $as_echo_n "checking $2 presence... " >&6; }
2126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2127 /* end confdefs.h. */
2128 #include <$2>
2129 _ACEOF
2130 if ac_fn_c_try_cpp "$LINENO"; then :
2131 ac_header_preproc=yes
2132 else
2133 ac_header_preproc=no
2134 fi
2135 rm -f conftest.err conftest.$ac_ext
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2137 $as_echo "$ac_header_preproc" >&6; }
2138
2139 # So? What about this header?
2140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2141 yes:no: )
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2143 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2145 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2146 ;;
2147 no:yes:* )
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2149 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2151 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2153 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2155 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2157 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2158 ;;
2159 esac
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2161 $as_echo_n "checking for $2... " >&6; }
2162 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2163 $as_echo_n "(cached) " >&6
2164 else
2165 eval "$3=\$ac_header_compiler"
2166 fi
2167 eval ac_res=\$$3
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2169 $as_echo "$ac_res" >&6; }
2170 fi
2171 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2172
2173 } # ac_fn_c_check_header_mongrel
2174
2175 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2176 # ---------------------------------------------------------
2177 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2178 # the include files in INCLUDES and setting the cache variable VAR
2179 # accordingly.
2180 ac_fn_cxx_check_header_mongrel ()
2181 {
2182 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2183 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2185 $as_echo_n "checking for $2... " >&6; }
2186 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2187 $as_echo_n "(cached) " >&6
2188 fi
2189 eval ac_res=\$$3
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2191 $as_echo "$ac_res" >&6; }
2192 else
2193 # Is the header compilable?
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2195 $as_echo_n "checking $2 usability... " >&6; }
2196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2197 /* end confdefs.h. */
2198 $4
2199 #include <$2>
2200 _ACEOF
2201 if ac_fn_cxx_try_compile "$LINENO"; then :
2202 ac_header_compiler=yes
2203 else
2204 ac_header_compiler=no
2205 fi
2206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2208 $as_echo "$ac_header_compiler" >&6; }
2209
2210 # Is the header present?
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2212 $as_echo_n "checking $2 presence... " >&6; }
2213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2214 /* end confdefs.h. */
2215 #include <$2>
2216 _ACEOF
2217 if ac_fn_cxx_try_cpp "$LINENO"; then :
2218 ac_header_preproc=yes
2219 else
2220 ac_header_preproc=no
2221 fi
2222 rm -f conftest.err conftest.$ac_ext
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2224 $as_echo "$ac_header_preproc" >&6; }
2225
2226 # So? What about this header?
2227 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2228 yes:no: )
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2230 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2232 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2233 ;;
2234 no:yes:* )
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2236 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2238 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2240 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2242 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2244 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2245 ;;
2246 esac
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2248 $as_echo_n "checking for $2... " >&6; }
2249 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2250 $as_echo_n "(cached) " >&6
2251 else
2252 eval "$3=\$ac_header_compiler"
2253 fi
2254 eval ac_res=\$$3
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2256 $as_echo "$ac_res" >&6; }
2257 fi
2258 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2259
2260 } # ac_fn_cxx_check_header_mongrel
2261
2262 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2263 # --------------------------------------------
2264 # Tries to find the compile-time value of EXPR in a program that includes
2265 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2266 # computed
2267 ac_fn_c_compute_int ()
2268 {
2269 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2270 if test "$cross_compiling" = yes; then
2271 # Depending upon the size, compute the lo and hi bounds.
2272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2273 /* end confdefs.h. */
2274 $4
2275 int
2276 main ()
2277 {
2278 static int test_array [1 - 2 * !(($2) >= 0)];
2279 test_array [0] = 0
2280
2281 ;
2282 return 0;
2283 }
2284 _ACEOF
2285 if ac_fn_c_try_compile "$LINENO"; then :
2286 ac_lo=0 ac_mid=0
2287 while :; do
2288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2289 /* end confdefs.h. */
2290 $4
2291 int
2292 main ()
2293 {
2294 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2295 test_array [0] = 0
2296
2297 ;
2298 return 0;
2299 }
2300 _ACEOF
2301 if ac_fn_c_try_compile "$LINENO"; then :
2302 ac_hi=$ac_mid; break
2303 else
2304 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2305 if test $ac_lo -le $ac_mid; then
2306 ac_lo= ac_hi=
2307 break
2308 fi
2309 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2310 fi
2311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2312 done
2313 else
2314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2315 /* end confdefs.h. */
2316 $4
2317 int
2318 main ()
2319 {
2320 static int test_array [1 - 2 * !(($2) < 0)];
2321 test_array [0] = 0
2322
2323 ;
2324 return 0;
2325 }
2326 _ACEOF
2327 if ac_fn_c_try_compile "$LINENO"; then :
2328 ac_hi=-1 ac_mid=-1
2329 while :; do
2330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2331 /* end confdefs.h. */
2332 $4
2333 int
2334 main ()
2335 {
2336 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2337 test_array [0] = 0
2338
2339 ;
2340 return 0;
2341 }
2342 _ACEOF
2343 if ac_fn_c_try_compile "$LINENO"; then :
2344 ac_lo=$ac_mid; break
2345 else
2346 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2347 if test $ac_mid -le $ac_hi; then
2348 ac_lo= ac_hi=
2349 break
2350 fi
2351 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2352 fi
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2354 done
2355 else
2356 ac_lo= ac_hi=
2357 fi
2358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2359 fi
2360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2361 # Binary search between lo and hi bounds.
2362 while test "x$ac_lo" != "x$ac_hi"; do
2363 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2365 /* end confdefs.h. */
2366 $4
2367 int
2368 main ()
2369 {
2370 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2371 test_array [0] = 0
2372
2373 ;
2374 return 0;
2375 }
2376 _ACEOF
2377 if ac_fn_c_try_compile "$LINENO"; then :
2378 ac_hi=$ac_mid
2379 else
2380 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2381 fi
2382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2383 done
2384 case $ac_lo in #((
2385 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2386 '') ac_retval=1 ;;
2387 esac
2388 else
2389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2390 /* end confdefs.h. */
2391 $4
2392 static long int longval () { return $2; }
2393 static unsigned long int ulongval () { return $2; }
2394 #include <stdio.h>
2395 #include <stdlib.h>
2396 int
2397 main ()
2398 {
2399
2400 FILE *f = fopen ("conftest.val", "w");
2401 if (! f)
2402 return 1;
2403 if (($2) < 0)
2404 {
2405 long int i = longval ();
2406 if (i != ($2))
2407 return 1;
2408 fprintf (f, "%ld", i);
2409 }
2410 else
2411 {
2412 unsigned long int i = ulongval ();
2413 if (i != ($2))
2414 return 1;
2415 fprintf (f, "%lu", i);
2416 }
2417 /* Do not output a trailing newline, as this causes \r\n confusion
2418 on some platforms. */
2419 return ferror (f) || fclose (f) != 0;
2420
2421 ;
2422 return 0;
2423 }
2424 _ACEOF
2425 if ac_fn_c_try_run "$LINENO"; then :
2426 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2427 else
2428 ac_retval=1
2429 fi
2430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2431 conftest.$ac_objext conftest.beam conftest.$ac_ext
2432 rm -f conftest.val
2433
2434 fi
2435 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2436 return $ac_retval
2437
2438 } # ac_fn_c_compute_int
2439
2440 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2441 # -------------------------------------------
2442 # Tests whether TYPE exists after having included INCLUDES, setting cache
2443 # variable VAR accordingly.
2444 ac_fn_c_check_type ()
2445 {
2446 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2448 $as_echo_n "checking for $2... " >&6; }
2449 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2450 $as_echo_n "(cached) " >&6
2451 else
2452 eval "$3=no"
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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2467 /* end confdefs.h. */
2468 $4
2469 int
2470 main ()
2471 {
2472 if (sizeof (($2)))
2473 return 0;
2474 ;
2475 return 0;
2476 }
2477 _ACEOF
2478 if ac_fn_c_try_compile "$LINENO"; then :
2479
2480 else
2481 eval "$3=yes"
2482 fi
2483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2484 fi
2485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2486 fi
2487 eval ac_res=\$$3
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2489 $as_echo "$ac_res" >&6; }
2490 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2491
2492 } # ac_fn_c_check_type
2493 cat >config.log <<_ACEOF
2494 This file contains any messages produced by compilers while
2495 running configure, to aid debugging if configure makes a mistake.
2496
2497 It was created by package-unused $as_me version-unused, which was
2498 generated by GNU Autoconf 2.64. Invocation command line was
2499
2500 $ $0 $@
2501
2502 _ACEOF
2503 exec 5>>config.log
2504 {
2505 cat <<_ASUNAME
2506 ## --------- ##
2507 ## Platform. ##
2508 ## --------- ##
2509
2510 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2511 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2512 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2513 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2514 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2515
2516 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2517 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2518
2519 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2520 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2521 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2522 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2523 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2524 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2525 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2526
2527 _ASUNAME
2528
2529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530 for as_dir in $PATH
2531 do
2532 IFS=$as_save_IFS
2533 test -z "$as_dir" && as_dir=.
2534 $as_echo "PATH: $as_dir"
2535 done
2536 IFS=$as_save_IFS
2537
2538 } >&5
2539
2540 cat >&5 <<_ACEOF
2541
2542
2543 ## ----------- ##
2544 ## Core tests. ##
2545 ## ----------- ##
2546
2547 _ACEOF
2548
2549
2550 # Keep a trace of the command line.
2551 # Strip out --no-create and --no-recursion so they do not pile up.
2552 # Strip out --silent because we don't want to record it for future runs.
2553 # Also quote any args containing shell meta-characters.
2554 # Make two passes to allow for proper duplicate-argument suppression.
2555 ac_configure_args=
2556 ac_configure_args0=
2557 ac_configure_args1=
2558 ac_must_keep_next=false
2559 for ac_pass in 1 2
2560 do
2561 for ac_arg
2562 do
2563 case $ac_arg in
2564 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2565 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2566 | -silent | --silent | --silen | --sile | --sil)
2567 continue ;;
2568 *\'*)
2569 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2570 esac
2571 case $ac_pass in
2572 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2573 2)
2574 as_fn_append ac_configure_args1 " '$ac_arg'"
2575 if test $ac_must_keep_next = true; then
2576 ac_must_keep_next=false # Got value, back to normal.
2577 else
2578 case $ac_arg in
2579 *=* | --config-cache | -C | -disable-* | --disable-* \
2580 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2581 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2582 | -with-* | --with-* | -without-* | --without-* | --x)
2583 case "$ac_configure_args0 " in
2584 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2585 esac
2586 ;;
2587 -* ) ac_must_keep_next=true ;;
2588 esac
2589 fi
2590 as_fn_append ac_configure_args " '$ac_arg'"
2591 ;;
2592 esac
2593 done
2594 done
2595 { ac_configure_args0=; unset ac_configure_args0;}
2596 { ac_configure_args1=; unset ac_configure_args1;}
2597
2598 # When interrupted or exit'd, cleanup temporary files, and complete
2599 # config.log. We remove comments because anyway the quotes in there
2600 # would cause problems or look ugly.
2601 # WARNING: Use '\'' to represent an apostrophe within the trap.
2602 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2603 trap 'exit_status=$?
2604 # Save into config.log some information that might help in debugging.
2605 {
2606 echo
2607
2608 cat <<\_ASBOX
2609 ## ---------------- ##
2610 ## Cache variables. ##
2611 ## ---------------- ##
2612 _ASBOX
2613 echo
2614 # The following way of writing the cache mishandles newlines in values,
2615 (
2616 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2617 eval ac_val=\$$ac_var
2618 case $ac_val in #(
2619 *${as_nl}*)
2620 case $ac_var in #(
2621 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2622 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2623 esac
2624 case $ac_var in #(
2625 _ | IFS | as_nl) ;; #(
2626 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2627 *) { eval $ac_var=; unset $ac_var;} ;;
2628 esac ;;
2629 esac
2630 done
2631 (set) 2>&1 |
2632 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2633 *${as_nl}ac_space=\ *)
2634 sed -n \
2635 "s/'\''/'\''\\\\'\'''\''/g;
2636 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2637 ;; #(
2638 *)
2639 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2640 ;;
2641 esac |
2642 sort
2643 )
2644 echo
2645
2646 cat <<\_ASBOX
2647 ## ----------------- ##
2648 ## Output variables. ##
2649 ## ----------------- ##
2650 _ASBOX
2651 echo
2652 for ac_var in $ac_subst_vars
2653 do
2654 eval ac_val=\$$ac_var
2655 case $ac_val in
2656 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2657 esac
2658 $as_echo "$ac_var='\''$ac_val'\''"
2659 done | sort
2660 echo
2661
2662 if test -n "$ac_subst_files"; then
2663 cat <<\_ASBOX
2664 ## ------------------- ##
2665 ## File substitutions. ##
2666 ## ------------------- ##
2667 _ASBOX
2668 echo
2669 for ac_var in $ac_subst_files
2670 do
2671 eval ac_val=\$$ac_var
2672 case $ac_val in
2673 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2674 esac
2675 $as_echo "$ac_var='\''$ac_val'\''"
2676 done | sort
2677 echo
2678 fi
2679
2680 if test -s confdefs.h; then
2681 cat <<\_ASBOX
2682 ## ----------- ##
2683 ## confdefs.h. ##
2684 ## ----------- ##
2685 _ASBOX
2686 echo
2687 cat confdefs.h
2688 echo
2689 fi
2690 test "$ac_signal" != 0 &&
2691 $as_echo "$as_me: caught signal $ac_signal"
2692 $as_echo "$as_me: exit $exit_status"
2693 } >&5
2694 rm -f core *.core core.conftest.* &&
2695 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2696 exit $exit_status
2697 ' 0
2698 for ac_signal in 1 2 13 15; do
2699 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2700 done
2701 ac_signal=0
2702
2703 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2704 rm -f -r conftest* confdefs.h
2705
2706 $as_echo "/* confdefs.h */" > confdefs.h
2707
2708 # Predefined preprocessor variables.
2709
2710 cat >>confdefs.h <<_ACEOF
2711 #define PACKAGE_NAME "$PACKAGE_NAME"
2712 _ACEOF
2713
2714 cat >>confdefs.h <<_ACEOF
2715 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2716 _ACEOF
2717
2718 cat >>confdefs.h <<_ACEOF
2719 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2720 _ACEOF
2721
2722 cat >>confdefs.h <<_ACEOF
2723 #define PACKAGE_STRING "$PACKAGE_STRING"
2724 _ACEOF
2725
2726 cat >>confdefs.h <<_ACEOF
2727 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2728 _ACEOF
2729
2730 cat >>confdefs.h <<_ACEOF
2731 #define PACKAGE_URL "$PACKAGE_URL"
2732 _ACEOF
2733
2734
2735 # Let the site file select an alternate cache file if it wants to.
2736 # Prefer an explicitly selected file to automatically selected ones.
2737 ac_site_file1=NONE
2738 ac_site_file2=NONE
2739 if test -n "$CONFIG_SITE"; then
2740 ac_site_file1=$CONFIG_SITE
2741 elif test "x$prefix" != xNONE; then
2742 ac_site_file1=$prefix/share/config.site
2743 ac_site_file2=$prefix/etc/config.site
2744 else
2745 ac_site_file1=$ac_default_prefix/share/config.site
2746 ac_site_file2=$ac_default_prefix/etc/config.site
2747 fi
2748 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2749 do
2750 test "x$ac_site_file" = xNONE && continue
2751 if test -r "$ac_site_file"; then
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2753 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2754 sed 's/^/| /' "$ac_site_file" >&5
2755 . "$ac_site_file"
2756 fi
2757 done
2758
2759 if test -r "$cache_file"; then
2760 # Some versions of bash will fail to source /dev/null (special
2761 # files actually), so we avoid doing that.
2762 if test -f "$cache_file"; then
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2764 $as_echo "$as_me: loading cache $cache_file" >&6;}
2765 case $cache_file in
2766 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2767 *) . "./$cache_file";;
2768 esac
2769 fi
2770 else
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2772 $as_echo "$as_me: creating cache $cache_file" >&6;}
2773 >$cache_file
2774 fi
2775
2776 # Check that the precious variables saved in the cache have kept the same
2777 # value.
2778 ac_cache_corrupted=false
2779 for ac_var in $ac_precious_vars; do
2780 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2781 eval ac_new_set=\$ac_env_${ac_var}_set
2782 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2783 eval ac_new_val=\$ac_env_${ac_var}_value
2784 case $ac_old_set,$ac_new_set in
2785 set,)
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2787 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2788 ac_cache_corrupted=: ;;
2789 ,set)
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2791 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2792 ac_cache_corrupted=: ;;
2793 ,);;
2794 *)
2795 if test "x$ac_old_val" != "x$ac_new_val"; then
2796 # differences in whitespace do not lead to failure.
2797 ac_old_val_w=`echo x $ac_old_val`
2798 ac_new_val_w=`echo x $ac_new_val`
2799 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2801 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2802 ac_cache_corrupted=:
2803 else
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2805 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2806 eval $ac_var=\$ac_old_val
2807 fi
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2809 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2811 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2812 fi;;
2813 esac
2814 # Pass precious variables to config.status.
2815 if test "$ac_new_set" = set; then
2816 case $ac_new_val in
2817 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2818 *) ac_arg=$ac_var=$ac_new_val ;;
2819 esac
2820 case " $ac_configure_args " in
2821 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2822 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2823 esac
2824 fi
2825 done
2826 if $ac_cache_corrupted; then
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2830 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2831 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2832 fi
2833 ## -------------------- ##
2834 ## Main body of script. ##
2835 ## -------------------- ##
2836
2837 ac_ext=c
2838 ac_cpp='$CPP $CPPFLAGS'
2839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2842
2843
2844
2845
2846
2847
2848 ac_config_headers="$ac_config_headers config.h"
2849
2850
2851 # This works around the fact that libtool configuration may change LD
2852 # for this particular configuration, but some shells, instead of
2853 # keeping the changes in LD private, export them just because LD is
2854 # exported. Only used at the end of this file.
2855 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2856
2857 # Find the rest of the source tree framework.
2858 # Default to --enable-multilib
2859 # Check whether --enable-multilib was given.
2860 if test "${enable_multilib+set}" = set; then :
2861 enableval=$enable_multilib; case "$enableval" in
2862 yes) multilib=yes ;;
2863 no) multilib=no ;;
2864 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2865 esac
2866 else
2867 multilib=yes
2868 fi
2869
2870
2871 # We may get other options which we leave undocumented:
2872 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2873 # See config-ml.in if you want the gory details.
2874
2875 if test "$srcdir" = "."; then
2876 if test "$with_target_subdir" != "."; then
2877 multi_basedir="$srcdir/$with_multisrctop../.."
2878 else
2879 multi_basedir="$srcdir/$with_multisrctop.."
2880 fi
2881 else
2882 multi_basedir="$srcdir/.."
2883 fi
2884
2885
2886 # Even if the default multilib is not a cross compilation,
2887 # it may be that some of the other multilibs are.
2888 if test $cross_compiling = no && test $multilib = yes \
2889 && test "x${with_multisubdir}" != x ; then
2890 cross_compiling=maybe
2891 fi
2892
2893 ac_config_commands="$ac_config_commands default-1"
2894
2895
2896 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2897 #
2898 # You will slowly go insane if you do not grok the following fact: when
2899 # building v3 as part of the compiler, the top-level /target/ becomes the
2900 # library's /host/. configure then causes --target to default to --host,
2901 # exactly like any other package using autoconf. Therefore, 'target' and
2902 # 'host' will always be the same. This makes sense both for native and
2903 # cross compilers, just think about it for a little while. :-)
2904 #
2905 # Also, if v3 is being configured as part of a cross compiler, the top-level
2906 # configure script will pass the "real" host as $with_cross_host.
2907 #
2908 # Do not delete or change the following two lines. For why, see
2909 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2910 ac_aux_dir=
2911 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2912 for ac_t in install-sh install.sh shtool; do
2913 if test -f "$ac_dir/$ac_t"; then
2914 ac_aux_dir=$ac_dir
2915 ac_install_sh="$ac_aux_dir/$ac_t -c"
2916 break 2
2917 fi
2918 done
2919 done
2920 if test -z "$ac_aux_dir"; then
2921 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2922 fi
2923
2924 # These three variables are undocumented and unsupported,
2925 # and are intended to be withdrawn in a future Autoconf release.
2926 # They can cause serious problems if a builder's source tree is in a directory
2927 # whose full name contains unusual characters.
2928 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2929 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2930 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2931
2932
2933 # Make sure we can run config.sub.
2934 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2935 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2936
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2938 $as_echo_n "checking build system type... " >&6; }
2939 if test "${ac_cv_build+set}" = set; then :
2940 $as_echo_n "(cached) " >&6
2941 else
2942 ac_build_alias=$build_alias
2943 test "x$ac_build_alias" = x &&
2944 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2945 test "x$ac_build_alias" = x &&
2946 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2947 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2948 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2949
2950 fi
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2952 $as_echo "$ac_cv_build" >&6; }
2953 case $ac_cv_build in
2954 *-*-*) ;;
2955 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2956 esac
2957 build=$ac_cv_build
2958 ac_save_IFS=$IFS; IFS='-'
2959 set x $ac_cv_build
2960 shift
2961 build_cpu=$1
2962 build_vendor=$2
2963 shift; shift
2964 # Remember, the first character of IFS is used to create $*,
2965 # except with old shells:
2966 build_os=$*
2967 IFS=$ac_save_IFS
2968 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2969
2970
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2972 $as_echo_n "checking host system type... " >&6; }
2973 if test "${ac_cv_host+set}" = set; then :
2974 $as_echo_n "(cached) " >&6
2975 else
2976 if test "x$host_alias" = x; then
2977 ac_cv_host=$ac_cv_build
2978 else
2979 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2980 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2981 fi
2982
2983 fi
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2985 $as_echo "$ac_cv_host" >&6; }
2986 case $ac_cv_host in
2987 *-*-*) ;;
2988 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2989 esac
2990 host=$ac_cv_host
2991 ac_save_IFS=$IFS; IFS='-'
2992 set x $ac_cv_host
2993 shift
2994 host_cpu=$1
2995 host_vendor=$2
2996 shift; shift
2997 # Remember, the first character of IFS is used to create $*,
2998 # except with old shells:
2999 host_os=$*
3000 IFS=$ac_save_IFS
3001 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3002
3003
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3005 $as_echo_n "checking target system type... " >&6; }
3006 if test "${ac_cv_target+set}" = set; then :
3007 $as_echo_n "(cached) " >&6
3008 else
3009 if test "x$target_alias" = x; then
3010 ac_cv_target=$ac_cv_host
3011 else
3012 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3013 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3014 fi
3015
3016 fi
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3018 $as_echo "$ac_cv_target" >&6; }
3019 case $ac_cv_target in
3020 *-*-*) ;;
3021 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3022 esac
3023 target=$ac_cv_target
3024 ac_save_IFS=$IFS; IFS='-'
3025 set x $ac_cv_target
3026 shift
3027 target_cpu=$1
3028 target_vendor=$2
3029 shift; shift
3030 # Remember, the first character of IFS is used to create $*,
3031 # except with old shells:
3032 target_os=$*
3033 IFS=$ac_save_IFS
3034 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3035
3036
3037 # The aliases save the names the user supplied, while $host etc.
3038 # will get canonicalized.
3039 test -n "$target_alias" &&
3040 test "$program_prefix$program_suffix$program_transform_name" = \
3041 NONENONEs,x,x, &&
3042 program_prefix=${target_alias}-
3043
3044 target_alias=${target_alias-$host_alias}
3045
3046 # Handy for debugging:
3047 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3048
3049 if test "$build" != "$host"; then
3050 # We are being configured with some form of cross compiler.
3051 GLIBCXX_IS_NATIVE=false
3052 case "$host","$target" in
3053 # Darwin crosses can use the host system's libraries and headers,
3054 # because of the fat library support. Of course, it must be the
3055 # same version of Darwin on both sides. Allow the user to
3056 # just say --target=foo-darwin without a version number to mean
3057 # "the version on this system".
3058 *-*-darwin*,*-*-darwin*)
3059 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3060 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3061 if test $hostos = $targetos -o $targetos = darwin ; then
3062 GLIBCXX_IS_NATIVE=true
3063 fi
3064 ;;
3065
3066 *)
3067
3068 ;;
3069 esac
3070 else
3071 GLIBCXX_IS_NATIVE=true
3072 fi
3073
3074 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3075 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3076 # 1.x: minimum required version
3077 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3078 # of other PACKAGE_* variables will, however, and there's nothing
3079 # we can do about that; they come from AC_INIT).
3080 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3081 # file in the top srcdir, etc, etc), so stop complaining.
3082 # no-dependencies: turns off auto dependency generation (just for now)
3083 # no-dist: we don't want 'dist' and related rules.
3084 # -Wall: turns on all automake warnings...
3085 # -Wno-portability: ...except this one, since GNU make is now required.
3086 am__api_version='1.11'
3087
3088 # Find a good install program. We prefer a C program (faster),
3089 # so one script is as good as another. But avoid the broken or
3090 # incompatible versions:
3091 # SysV /etc/install, /usr/sbin/install
3092 # SunOS /usr/etc/install
3093 # IRIX /sbin/install
3094 # AIX /bin/install
3095 # AmigaOS /C/install, which installs bootblocks on floppy discs
3096 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3097 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3098 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3099 # OS/2's system install, which has a completely different semantic
3100 # ./install, which can be erroneously created by make from ./install.sh.
3101 # Reject install programs that cannot install multiple files.
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3103 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3104 if test -z "$INSTALL"; then
3105 if test "${ac_cv_path_install+set}" = set; then :
3106 $as_echo_n "(cached) " >&6
3107 else
3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3109 for as_dir in $PATH
3110 do
3111 IFS=$as_save_IFS
3112 test -z "$as_dir" && as_dir=.
3113 # Account for people who put trailing slashes in PATH elements.
3114 case $as_dir/ in #((
3115 ./ | .// | /[cC]/* | \
3116 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3117 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3118 /usr/ucb/* ) ;;
3119 *)
3120 # OSF1 and SCO ODT 3.0 have their own names for install.
3121 # Don't use installbsd from OSF since it installs stuff as root
3122 # by default.
3123 for ac_prog in ginstall scoinst install; do
3124 for ac_exec_ext in '' $ac_executable_extensions; do
3125 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3126 if test $ac_prog = install &&
3127 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3128 # AIX install. It has an incompatible calling convention.
3129 :
3130 elif test $ac_prog = install &&
3131 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3132 # program-specific install script used by HP pwplus--don't use.
3133 :
3134 else
3135 rm -rf conftest.one conftest.two conftest.dir
3136 echo one > conftest.one
3137 echo two > conftest.two
3138 mkdir conftest.dir
3139 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3140 test -s conftest.one && test -s conftest.two &&
3141 test -s conftest.dir/conftest.one &&
3142 test -s conftest.dir/conftest.two
3143 then
3144 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3145 break 3
3146 fi
3147 fi
3148 fi
3149 done
3150 done
3151 ;;
3152 esac
3153
3154 done
3155 IFS=$as_save_IFS
3156
3157 rm -rf conftest.one conftest.two conftest.dir
3158
3159 fi
3160 if test "${ac_cv_path_install+set}" = set; then
3161 INSTALL=$ac_cv_path_install
3162 else
3163 # As a last resort, use the slow shell script. Don't cache a
3164 # value for INSTALL within a source directory, because that will
3165 # break other packages using the cache if that directory is
3166 # removed, or if the value is a relative name.
3167 INSTALL=$ac_install_sh
3168 fi
3169 fi
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3171 $as_echo "$INSTALL" >&6; }
3172
3173 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3174 # It thinks the first close brace ends the variable substitution.
3175 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3176
3177 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3178
3179 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3180
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3182 $as_echo_n "checking whether build environment is sane... " >&6; }
3183 # Just in case
3184 sleep 1
3185 echo timestamp > conftest.file
3186 # Reject unsafe characters in $srcdir or the absolute working directory
3187 # name. Accept space and tab only in the latter.
3188 am_lf='
3189 '
3190 case `pwd` in
3191 *[\\\"\#\$\&\'\`$am_lf]*)
3192 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3193 esac
3194 case $srcdir in
3195 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3196 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3197 esac
3198
3199 # Do `set' in a subshell so we don't clobber the current shell's
3200 # arguments. Must try -L first in case configure is actually a
3201 # symlink; some systems play weird games with the mod time of symlinks
3202 # (eg FreeBSD returns the mod time of the symlink's containing
3203 # directory).
3204 if (
3205 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3206 if test "$*" = "X"; then
3207 # -L didn't work.
3208 set X `ls -t "$srcdir/configure" conftest.file`
3209 fi
3210 rm -f conftest.file
3211 if test "$*" != "X $srcdir/configure conftest.file" \
3212 && test "$*" != "X conftest.file $srcdir/configure"; then
3213
3214 # If neither matched, then we have a broken ls. This can happen
3215 # if, for instance, CONFIG_SHELL is bash and it inherits a
3216 # broken ls alias from the environment. This has actually
3217 # happened. Such a system could not be considered "sane".
3218 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3219 alias in your environment" "$LINENO" 5
3220 fi
3221
3222 test "$2" = conftest.file
3223 )
3224 then
3225 # Ok.
3226 :
3227 else
3228 as_fn_error "newly created file is older than distributed files!
3229 Check your system clock" "$LINENO" 5
3230 fi
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3232 $as_echo "yes" >&6; }
3233 test "$program_prefix" != NONE &&
3234 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3235 # Use a double $ so make ignores it.
3236 test "$program_suffix" != NONE &&
3237 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3238 # Double any \ or $.
3239 # By default was `s,x,x', remove it if useless.
3240 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3241 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3242
3243 # expand $ac_aux_dir to an absolute path
3244 am_aux_dir=`cd $ac_aux_dir && pwd`
3245
3246 if test x"${MISSING+set}" != xset; then
3247 case $am_aux_dir in
3248 *\ * | *\ *)
3249 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3250 *)
3251 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3252 esac
3253 fi
3254 # Use eval to expand $SHELL
3255 if eval "$MISSING --run true"; then
3256 am_missing_run="$MISSING --run "
3257 else
3258 am_missing_run=
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3260 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3261 fi
3262
3263 if test x"${install_sh}" != xset; then
3264 case $am_aux_dir in
3265 *\ * | *\ *)
3266 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3267 *)
3268 install_sh="\${SHELL} $am_aux_dir/install-sh"
3269 esac
3270 fi
3271
3272 # Installed binaries are usually stripped using `strip' when the user
3273 # run `make install-strip'. However `strip' might not be the right
3274 # tool to use in cross-compilation environments, therefore Automake
3275 # will honor the `STRIP' environment variable to overrule this program.
3276 if test "$cross_compiling" != no; then
3277 if test -n "$ac_tool_prefix"; then
3278 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3279 set dummy ${ac_tool_prefix}strip; ac_word=$2
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3281 $as_echo_n "checking for $ac_word... " >&6; }
3282 if test "${ac_cv_prog_STRIP+set}" = set; then :
3283 $as_echo_n "(cached) " >&6
3284 else
3285 if test -n "$STRIP"; then
3286 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3287 else
3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3289 for as_dir in $PATH
3290 do
3291 IFS=$as_save_IFS
3292 test -z "$as_dir" && as_dir=.
3293 for ac_exec_ext in '' $ac_executable_extensions; do
3294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3295 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 break 2
3298 fi
3299 done
3300 done
3301 IFS=$as_save_IFS
3302
3303 fi
3304 fi
3305 STRIP=$ac_cv_prog_STRIP
3306 if test -n "$STRIP"; then
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3308 $as_echo "$STRIP" >&6; }
3309 else
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311 $as_echo "no" >&6; }
3312 fi
3313
3314
3315 fi
3316 if test -z "$ac_cv_prog_STRIP"; then
3317 ac_ct_STRIP=$STRIP
3318 # Extract the first word of "strip", so it can be a program name with args.
3319 set dummy strip; ac_word=$2
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3321 $as_echo_n "checking for $ac_word... " >&6; }
3322 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3323 $as_echo_n "(cached) " >&6
3324 else
3325 if test -n "$ac_ct_STRIP"; then
3326 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3327 else
3328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3329 for as_dir in $PATH
3330 do
3331 IFS=$as_save_IFS
3332 test -z "$as_dir" && as_dir=.
3333 for ac_exec_ext in '' $ac_executable_extensions; do
3334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3335 ac_cv_prog_ac_ct_STRIP="strip"
3336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3337 break 2
3338 fi
3339 done
3340 done
3341 IFS=$as_save_IFS
3342
3343 fi
3344 fi
3345 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3346 if test -n "$ac_ct_STRIP"; then
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3348 $as_echo "$ac_ct_STRIP" >&6; }
3349 else
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3351 $as_echo "no" >&6; }
3352 fi
3353
3354 if test "x$ac_ct_STRIP" = x; then
3355 STRIP=":"
3356 else
3357 case $cross_compiling:$ac_tool_warned in
3358 yes:)
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3361 ac_tool_warned=yes ;;
3362 esac
3363 STRIP=$ac_ct_STRIP
3364 fi
3365 else
3366 STRIP="$ac_cv_prog_STRIP"
3367 fi
3368
3369 fi
3370 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3371
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3373 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3374 if test -z "$MKDIR_P"; then
3375 if test "${ac_cv_path_mkdir+set}" = set; then :
3376 $as_echo_n "(cached) " >&6
3377 else
3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3379 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3380 do
3381 IFS=$as_save_IFS
3382 test -z "$as_dir" && as_dir=.
3383 for ac_prog in mkdir gmkdir; do
3384 for ac_exec_ext in '' $ac_executable_extensions; do
3385 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3386 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3387 'mkdir (GNU coreutils) '* | \
3388 'mkdir (coreutils) '* | \
3389 'mkdir (fileutils) '4.1*)
3390 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3391 break 3;;
3392 esac
3393 done
3394 done
3395 done
3396 IFS=$as_save_IFS
3397
3398 fi
3399
3400 if test "${ac_cv_path_mkdir+set}" = set; then
3401 MKDIR_P="$ac_cv_path_mkdir -p"
3402 else
3403 # As a last resort, use the slow shell script. Don't cache a
3404 # value for MKDIR_P within a source directory, because that will
3405 # break other packages using the cache if that directory is
3406 # removed, or if the value is a relative name.
3407 test -d ./--version && rmdir ./--version
3408 MKDIR_P="$ac_install_sh -d"
3409 fi
3410 fi
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3412 $as_echo "$MKDIR_P" >&6; }
3413
3414 mkdir_p="$MKDIR_P"
3415 case $mkdir_p in
3416 [\\/$]* | ?:[\\/]*) ;;
3417 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3418 esac
3419
3420 for ac_prog in gawk mawk nawk awk
3421 do
3422 # Extract the first word of "$ac_prog", so it can be a program name with args.
3423 set dummy $ac_prog; ac_word=$2
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3425 $as_echo_n "checking for $ac_word... " >&6; }
3426 if test "${ac_cv_prog_AWK+set}" = set; then :
3427 $as_echo_n "(cached) " >&6
3428 else
3429 if test -n "$AWK"; then
3430 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3431 else
3432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3433 for as_dir in $PATH
3434 do
3435 IFS=$as_save_IFS
3436 test -z "$as_dir" && as_dir=.
3437 for ac_exec_ext in '' $ac_executable_extensions; do
3438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3439 ac_cv_prog_AWK="$ac_prog"
3440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441 break 2
3442 fi
3443 done
3444 done
3445 IFS=$as_save_IFS
3446
3447 fi
3448 fi
3449 AWK=$ac_cv_prog_AWK
3450 if test -n "$AWK"; then
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3452 $as_echo "$AWK" >&6; }
3453 else
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3455 $as_echo "no" >&6; }
3456 fi
3457
3458
3459 test -n "$AWK" && break
3460 done
3461
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3463 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3464 set x ${MAKE-make}
3465 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3466 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3467 $as_echo_n "(cached) " >&6
3468 else
3469 cat >conftest.make <<\_ACEOF
3470 SHELL = /bin/sh
3471 all:
3472 @echo '@@@%%%=$(MAKE)=@@@%%%'
3473 _ACEOF
3474 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3475 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3476 *@@@%%%=?*=@@@%%%*)
3477 eval ac_cv_prog_make_${ac_make}_set=yes;;
3478 *)
3479 eval ac_cv_prog_make_${ac_make}_set=no;;
3480 esac
3481 rm -f conftest.make
3482 fi
3483 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3485 $as_echo "yes" >&6; }
3486 SET_MAKE=
3487 else
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3489 $as_echo "no" >&6; }
3490 SET_MAKE="MAKE=${MAKE-make}"
3491 fi
3492
3493 rm -rf .tst 2>/dev/null
3494 mkdir .tst 2>/dev/null
3495 if test -d .tst; then
3496 am__leading_dot=.
3497 else
3498 am__leading_dot=_
3499 fi
3500 rmdir .tst 2>/dev/null
3501
3502 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3503 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3504 # is not polluted with repeated "-I."
3505 am__isrc=' -I$(srcdir)'
3506 # test to see if srcdir already configured
3507 if test -f $srcdir/config.status; then
3508 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3509 fi
3510 fi
3511
3512 # test whether we have cygpath
3513 if test -z "$CYGPATH_W"; then
3514 if (cygpath --version) >/dev/null 2>/dev/null; then
3515 CYGPATH_W='cygpath -w'
3516 else
3517 CYGPATH_W=echo
3518 fi
3519 fi
3520
3521
3522 # Define the identity of the package.
3523 PACKAGE='libstdc++'
3524 VERSION='version-unused'
3525
3526
3527 # Some tools Automake needs.
3528
3529 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3530
3531
3532 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3533
3534
3535 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3536
3537
3538 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3539
3540
3541 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3542
3543 # We need awk for the "check" target. The system "awk" is bad on
3544 # some platforms.
3545 # Always define AMTAR for backward compatibility.
3546
3547 AMTAR=${AMTAR-"${am_missing_run}tar"}
3548
3549 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3550
3551
3552
3553
3554
3555
3556
3557
3558 # -fno-builtin must be present here so that a non-conflicting form of
3559 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3560
3561 save_CXXFLAGS="$CXXFLAGS"
3562 CXXFLAGS="$CXXFLAGS -fno-builtin"
3563 ac_ext=c
3564 ac_cpp='$CPP $CPPFLAGS'
3565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3568 if test -n "$ac_tool_prefix"; then
3569 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3570 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3572 $as_echo_n "checking for $ac_word... " >&6; }
3573 if test "${ac_cv_prog_CC+set}" = set; then :
3574 $as_echo_n "(cached) " >&6
3575 else
3576 if test -n "$CC"; then
3577 ac_cv_prog_CC="$CC" # Let the user override the test.
3578 else
3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3580 for as_dir in $PATH
3581 do
3582 IFS=$as_save_IFS
3583 test -z "$as_dir" && as_dir=.
3584 for ac_exec_ext in '' $ac_executable_extensions; do
3585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3586 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3588 break 2
3589 fi
3590 done
3591 done
3592 IFS=$as_save_IFS
3593
3594 fi
3595 fi
3596 CC=$ac_cv_prog_CC
3597 if test -n "$CC"; then
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3599 $as_echo "$CC" >&6; }
3600 else
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3602 $as_echo "no" >&6; }
3603 fi
3604
3605
3606 fi
3607 if test -z "$ac_cv_prog_CC"; then
3608 ac_ct_CC=$CC
3609 # Extract the first word of "gcc", so it can be a program name with args.
3610 set dummy gcc; ac_word=$2
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3612 $as_echo_n "checking for $ac_word... " >&6; }
3613 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3614 $as_echo_n "(cached) " >&6
3615 else
3616 if test -n "$ac_ct_CC"; then
3617 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3618 else
3619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3620 for as_dir in $PATH
3621 do
3622 IFS=$as_save_IFS
3623 test -z "$as_dir" && as_dir=.
3624 for ac_exec_ext in '' $ac_executable_extensions; do
3625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3626 ac_cv_prog_ac_ct_CC="gcc"
3627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 break 2
3629 fi
3630 done
3631 done
3632 IFS=$as_save_IFS
3633
3634 fi
3635 fi
3636 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3637 if test -n "$ac_ct_CC"; then
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3639 $as_echo "$ac_ct_CC" >&6; }
3640 else
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3642 $as_echo "no" >&6; }
3643 fi
3644
3645 if test "x$ac_ct_CC" = x; then
3646 CC=""
3647 else
3648 case $cross_compiling:$ac_tool_warned in
3649 yes:)
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3652 ac_tool_warned=yes ;;
3653 esac
3654 CC=$ac_ct_CC
3655 fi
3656 else
3657 CC="$ac_cv_prog_CC"
3658 fi
3659
3660 if test -z "$CC"; then
3661 if test -n "$ac_tool_prefix"; then
3662 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3663 set dummy ${ac_tool_prefix}cc; ac_word=$2
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3665 $as_echo_n "checking for $ac_word... " >&6; }
3666 if test "${ac_cv_prog_CC+set}" = set; then :
3667 $as_echo_n "(cached) " >&6
3668 else
3669 if test -n "$CC"; then
3670 ac_cv_prog_CC="$CC" # Let the user override the test.
3671 else
3672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3673 for as_dir in $PATH
3674 do
3675 IFS=$as_save_IFS
3676 test -z "$as_dir" && as_dir=.
3677 for ac_exec_ext in '' $ac_executable_extensions; do
3678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3679 ac_cv_prog_CC="${ac_tool_prefix}cc"
3680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3681 break 2
3682 fi
3683 done
3684 done
3685 IFS=$as_save_IFS
3686
3687 fi
3688 fi
3689 CC=$ac_cv_prog_CC
3690 if test -n "$CC"; then
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3692 $as_echo "$CC" >&6; }
3693 else
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3695 $as_echo "no" >&6; }
3696 fi
3697
3698
3699 fi
3700 fi
3701 if test -z "$CC"; then
3702 # Extract the first word of "cc", so it can be a program name with args.
3703 set dummy cc; ac_word=$2
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3705 $as_echo_n "checking for $ac_word... " >&6; }
3706 if test "${ac_cv_prog_CC+set}" = set; then :
3707 $as_echo_n "(cached) " >&6
3708 else
3709 if test -n "$CC"; then
3710 ac_cv_prog_CC="$CC" # Let the user override the test.
3711 else
3712 ac_prog_rejected=no
3713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3714 for as_dir in $PATH
3715 do
3716 IFS=$as_save_IFS
3717 test -z "$as_dir" && as_dir=.
3718 for ac_exec_ext in '' $ac_executable_extensions; do
3719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3720 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3721 ac_prog_rejected=yes
3722 continue
3723 fi
3724 ac_cv_prog_CC="cc"
3725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 break 2
3727 fi
3728 done
3729 done
3730 IFS=$as_save_IFS
3731
3732 if test $ac_prog_rejected = yes; then
3733 # We found a bogon in the path, so make sure we never use it.
3734 set dummy $ac_cv_prog_CC
3735 shift
3736 if test $# != 0; then
3737 # We chose a different compiler from the bogus one.
3738 # However, it has the same basename, so the bogon will be chosen
3739 # first if we set CC to just the basename; use the full file name.
3740 shift
3741 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3742 fi
3743 fi
3744 fi
3745 fi
3746 CC=$ac_cv_prog_CC
3747 if test -n "$CC"; then
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3749 $as_echo "$CC" >&6; }
3750 else
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3752 $as_echo "no" >&6; }
3753 fi
3754
3755
3756 fi
3757 if test -z "$CC"; then
3758 if test -n "$ac_tool_prefix"; then
3759 for ac_prog in cl.exe
3760 do
3761 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3762 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3764 $as_echo_n "checking for $ac_word... " >&6; }
3765 if test "${ac_cv_prog_CC+set}" = set; then :
3766 $as_echo_n "(cached) " >&6
3767 else
3768 if test -n "$CC"; then
3769 ac_cv_prog_CC="$CC" # Let the user override the test.
3770 else
3771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3772 for as_dir in $PATH
3773 do
3774 IFS=$as_save_IFS
3775 test -z "$as_dir" && as_dir=.
3776 for ac_exec_ext in '' $ac_executable_extensions; do
3777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3778 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3780 break 2
3781 fi
3782 done
3783 done
3784 IFS=$as_save_IFS
3785
3786 fi
3787 fi
3788 CC=$ac_cv_prog_CC
3789 if test -n "$CC"; then
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3791 $as_echo "$CC" >&6; }
3792 else
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3794 $as_echo "no" >&6; }
3795 fi
3796
3797
3798 test -n "$CC" && break
3799 done
3800 fi
3801 if test -z "$CC"; then
3802 ac_ct_CC=$CC
3803 for ac_prog in cl.exe
3804 do
3805 # Extract the first word of "$ac_prog", so it can be a program name with args.
3806 set dummy $ac_prog; ac_word=$2
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3808 $as_echo_n "checking for $ac_word... " >&6; }
3809 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3810 $as_echo_n "(cached) " >&6
3811 else
3812 if test -n "$ac_ct_CC"; then
3813 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3814 else
3815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3816 for as_dir in $PATH
3817 do
3818 IFS=$as_save_IFS
3819 test -z "$as_dir" && as_dir=.
3820 for ac_exec_ext in '' $ac_executable_extensions; do
3821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3822 ac_cv_prog_ac_ct_CC="$ac_prog"
3823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3824 break 2
3825 fi
3826 done
3827 done
3828 IFS=$as_save_IFS
3829
3830 fi
3831 fi
3832 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3833 if test -n "$ac_ct_CC"; then
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3835 $as_echo "$ac_ct_CC" >&6; }
3836 else
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3838 $as_echo "no" >&6; }
3839 fi
3840
3841
3842 test -n "$ac_ct_CC" && break
3843 done
3844
3845 if test "x$ac_ct_CC" = x; then
3846 CC=""
3847 else
3848 case $cross_compiling:$ac_tool_warned in
3849 yes:)
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3851 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3852 ac_tool_warned=yes ;;
3853 esac
3854 CC=$ac_ct_CC
3855 fi
3856 fi
3857
3858 fi
3859
3860
3861 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3863 as_fn_error "no acceptable C compiler found in \$PATH
3864 See \`config.log' for more details." "$LINENO" 5; }
3865
3866 # Provide some information about the compiler.
3867 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3868 set X $ac_compile
3869 ac_compiler=$2
3870 for ac_option in --version -v -V -qversion; do
3871 { { ac_try="$ac_compiler $ac_option >&5"
3872 case "(($ac_try" in
3873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3874 *) ac_try_echo=$ac_try;;
3875 esac
3876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3877 $as_echo "$ac_try_echo"; } >&5
3878 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3879 ac_status=$?
3880 if test -s conftest.err; then
3881 sed '10a\
3882 ... rest of stderr output deleted ...
3883 10q' conftest.err >conftest.er1
3884 cat conftest.er1 >&5
3885 rm -f conftest.er1 conftest.err
3886 fi
3887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3888 test $ac_status = 0; }
3889 done
3890
3891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3892 /* end confdefs.h. */
3893
3894 int
3895 main ()
3896 {
3897
3898 ;
3899 return 0;
3900 }
3901 _ACEOF
3902 # FIXME: Cleanup?
3903 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3904 (eval $ac_link) 2>&5
3905 ac_status=$?
3906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3907 test $ac_status = 0; }; then :
3908 gcc_no_link=no
3909 else
3910 gcc_no_link=yes
3911 fi
3912 if test x$gcc_no_link = xyes; then
3913 # Setting cross_compile will disable run tests; it will
3914 # also disable AC_CHECK_FILE but that's generally
3915 # correct if we can't link.
3916 cross_compiling=yes
3917 EXEEXT=
3918 else
3919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3921
3922 int
3923 main ()
3924 {
3925
3926 ;
3927 return 0;
3928 }
3929 _ACEOF
3930 ac_clean_files_save=$ac_clean_files
3931 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3932 # Try to create an executable without -o first, disregard a.out.
3933 # It will help us diagnose broken compilers, and finding out an intuition
3934 # of exeext.
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3936 $as_echo_n "checking for C compiler default output file name... " >&6; }
3937 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3938
3939 # The possible output files:
3940 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3941
3942 ac_rmfiles=
3943 for ac_file in $ac_files
3944 do
3945 case $ac_file in
3946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3947 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3948 esac
3949 done
3950 rm -f $ac_rmfiles
3951
3952 if { { ac_try="$ac_link_default"
3953 case "(($ac_try" in
3954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3955 *) ac_try_echo=$ac_try;;
3956 esac
3957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3958 $as_echo "$ac_try_echo"; } >&5
3959 (eval "$ac_link_default") 2>&5
3960 ac_status=$?
3961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3962 test $ac_status = 0; }; then :
3963 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3964 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3965 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3966 # so that the user can short-circuit this test for compilers unknown to
3967 # Autoconf.
3968 for ac_file in $ac_files ''
3969 do
3970 test -f "$ac_file" || continue
3971 case $ac_file in
3972 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3973 ;;
3974 [ab].out )
3975 # We found the default executable, but exeext='' is most
3976 # certainly right.
3977 break;;
3978 *.* )
3979 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3980 then :; else
3981 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3982 fi
3983 # We set ac_cv_exeext here because the later test for it is not
3984 # safe: cross compilers may not add the suffix if given an `-o'
3985 # argument, so we may need to know it at that point already.
3986 # Even if this section looks crufty: it has the advantage of
3987 # actually working.
3988 break;;
3989 * )
3990 break;;
3991 esac
3992 done
3993 test "$ac_cv_exeext" = no && ac_cv_exeext=
3994
3995 else
3996 ac_file=''
3997 fi
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3999 $as_echo "$ac_file" >&6; }
4000 if test -z "$ac_file"; then :
4001 $as_echo "$as_me: failed program was:" >&5
4002 sed 's/^/| /' conftest.$ac_ext >&5
4003
4004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4006 { as_fn_set_status 77
4007 as_fn_error "C compiler cannot create executables
4008 See \`config.log' for more details." "$LINENO" 5; }; }
4009 fi
4010 ac_exeext=$ac_cv_exeext
4011
4012 # Check that the compiler produces executables we can run. If not, either
4013 # the compiler is broken, or we cross compile.
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4015 $as_echo_n "checking whether the C compiler works... " >&6; }
4016 # If not cross compiling, check that we can run a simple program.
4017 if test "$cross_compiling" != yes; then
4018 if { ac_try='./$ac_file'
4019 { { case "(($ac_try" in
4020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4021 *) ac_try_echo=$ac_try;;
4022 esac
4023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4024 $as_echo "$ac_try_echo"; } >&5
4025 (eval "$ac_try") 2>&5
4026 ac_status=$?
4027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4028 test $ac_status = 0; }; }; then
4029 cross_compiling=no
4030 else
4031 if test "$cross_compiling" = maybe; then
4032 cross_compiling=yes
4033 else
4034 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4036 as_fn_error "cannot run C compiled programs.
4037 If you meant to cross compile, use \`--host'.
4038 See \`config.log' for more details." "$LINENO" 5; }
4039 fi
4040 fi
4041 fi
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4043 $as_echo "yes" >&6; }
4044
4045 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4046 ac_clean_files=$ac_clean_files_save
4047 # Check that the compiler produces executables we can run. If not, either
4048 # the compiler is broken, or we cross compile.
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4050 $as_echo_n "checking whether we are cross compiling... " >&6; }
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4052 $as_echo "$cross_compiling" >&6; }
4053
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4055 $as_echo_n "checking for suffix of executables... " >&6; }
4056 if { { ac_try="$ac_link"
4057 case "(($ac_try" in
4058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4059 *) ac_try_echo=$ac_try;;
4060 esac
4061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4062 $as_echo "$ac_try_echo"; } >&5
4063 (eval "$ac_link") 2>&5
4064 ac_status=$?
4065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4066 test $ac_status = 0; }; then :
4067 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4068 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4069 # work properly (i.e., refer to `conftest.exe'), while it won't with
4070 # `rm'.
4071 for ac_file in conftest.exe conftest conftest.*; do
4072 test -f "$ac_file" || continue
4073 case $ac_file in
4074 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4075 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4076 break;;
4077 * ) break;;
4078 esac
4079 done
4080 else
4081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4083 as_fn_error "cannot compute suffix of executables: cannot compile and link
4084 See \`config.log' for more details." "$LINENO" 5; }
4085 fi
4086 rm -f conftest$ac_cv_exeext
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4088 $as_echo "$ac_cv_exeext" >&6; }
4089
4090 rm -f conftest.$ac_ext
4091 EXEEXT=$ac_cv_exeext
4092 ac_exeext=$EXEEXT
4093 fi
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4095 $as_echo_n "checking for suffix of object files... " >&6; }
4096 if test "${ac_cv_objext+set}" = set; then :
4097 $as_echo_n "(cached) " >&6
4098 else
4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4101
4102 int
4103 main ()
4104 {
4105
4106 ;
4107 return 0;
4108 }
4109 _ACEOF
4110 rm -f conftest.o conftest.obj
4111 if { { ac_try="$ac_compile"
4112 case "(($ac_try" in
4113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4114 *) ac_try_echo=$ac_try;;
4115 esac
4116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4117 $as_echo "$ac_try_echo"; } >&5
4118 (eval "$ac_compile") 2>&5
4119 ac_status=$?
4120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4121 test $ac_status = 0; }; then :
4122 for ac_file in conftest.o conftest.obj conftest.*; do
4123 test -f "$ac_file" || continue;
4124 case $ac_file in
4125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4126 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4127 break;;
4128 esac
4129 done
4130 else
4131 $as_echo "$as_me: failed program was:" >&5
4132 sed 's/^/| /' conftest.$ac_ext >&5
4133
4134 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4136 as_fn_error "cannot compute suffix of object files: cannot compile
4137 See \`config.log' for more details." "$LINENO" 5; }
4138 fi
4139 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4140 fi
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4142 $as_echo "$ac_cv_objext" >&6; }
4143 OBJEXT=$ac_cv_objext
4144 ac_objext=$OBJEXT
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4146 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4147 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4148 $as_echo_n "(cached) " >&6
4149 else
4150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h. */
4152
4153 int
4154 main ()
4155 {
4156 #ifndef __GNUC__
4157 choke me
4158 #endif
4159
4160 ;
4161 return 0;
4162 }
4163 _ACEOF
4164 if ac_fn_c_try_compile "$LINENO"; then :
4165 ac_compiler_gnu=yes
4166 else
4167 ac_compiler_gnu=no
4168 fi
4169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4170 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4171
4172 fi
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4174 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4175 if test $ac_compiler_gnu = yes; then
4176 GCC=yes
4177 else
4178 GCC=
4179 fi
4180 ac_test_CFLAGS=${CFLAGS+set}
4181 ac_save_CFLAGS=$CFLAGS
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4183 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4184 if test "${ac_cv_prog_cc_g+set}" = set; then :
4185 $as_echo_n "(cached) " >&6
4186 else
4187 ac_save_c_werror_flag=$ac_c_werror_flag
4188 ac_c_werror_flag=yes
4189 ac_cv_prog_cc_g=no
4190 CFLAGS="-g"
4191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h. */
4193
4194 int
4195 main ()
4196 {
4197
4198 ;
4199 return 0;
4200 }
4201 _ACEOF
4202 if ac_fn_c_try_compile "$LINENO"; then :
4203 ac_cv_prog_cc_g=yes
4204 else
4205 CFLAGS=""
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4208
4209 int
4210 main ()
4211 {
4212
4213 ;
4214 return 0;
4215 }
4216 _ACEOF
4217 if ac_fn_c_try_compile "$LINENO"; then :
4218
4219 else
4220 ac_c_werror_flag=$ac_save_c_werror_flag
4221 CFLAGS="-g"
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4224
4225 int
4226 main ()
4227 {
4228
4229 ;
4230 return 0;
4231 }
4232 _ACEOF
4233 if ac_fn_c_try_compile "$LINENO"; then :
4234 ac_cv_prog_cc_g=yes
4235 fi
4236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4237 fi
4238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4239 fi
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241 ac_c_werror_flag=$ac_save_c_werror_flag
4242 fi
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4244 $as_echo "$ac_cv_prog_cc_g" >&6; }
4245 if test "$ac_test_CFLAGS" = set; then
4246 CFLAGS=$ac_save_CFLAGS
4247 elif test $ac_cv_prog_cc_g = yes; then
4248 if test "$GCC" = yes; then
4249 CFLAGS="-g -O2"
4250 else
4251 CFLAGS="-g"
4252 fi
4253 else
4254 if test "$GCC" = yes; then
4255 CFLAGS="-O2"
4256 else
4257 CFLAGS=
4258 fi
4259 fi
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4261 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4262 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4263 $as_echo_n "(cached) " >&6
4264 else
4265 ac_cv_prog_cc_c89=no
4266 ac_save_CC=$CC
4267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4268 /* end confdefs.h. */
4269 #include <stdarg.h>
4270 #include <stdio.h>
4271 #include <sys/types.h>
4272 #include <sys/stat.h>
4273 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4274 struct buf { int x; };
4275 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4276 static char *e (p, i)
4277 char **p;
4278 int i;
4279 {
4280 return p[i];
4281 }
4282 static char *f (char * (*g) (char **, int), char **p, ...)
4283 {
4284 char *s;
4285 va_list v;
4286 va_start (v,p);
4287 s = g (p, va_arg (v,int));
4288 va_end (v);
4289 return s;
4290 }
4291
4292 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4293 function prototypes and stuff, but not '\xHH' hex character constants.
4294 These don't provoke an error unfortunately, instead are silently treated
4295 as 'x'. The following induces an error, until -std is added to get
4296 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4297 array size at least. It's necessary to write '\x00'==0 to get something
4298 that's true only with -std. */
4299 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4300
4301 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4302 inside strings and character constants. */
4303 #define FOO(x) 'x'
4304 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4305
4306 int test (int i, double x);
4307 struct s1 {int (*f) (int a);};
4308 struct s2 {int (*f) (double a);};
4309 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4310 int argc;
4311 char **argv;
4312 int
4313 main ()
4314 {
4315 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4316 ;
4317 return 0;
4318 }
4319 _ACEOF
4320 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4321 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4322 do
4323 CC="$ac_save_CC $ac_arg"
4324 if ac_fn_c_try_compile "$LINENO"; then :
4325 ac_cv_prog_cc_c89=$ac_arg
4326 fi
4327 rm -f core conftest.err conftest.$ac_objext
4328 test "x$ac_cv_prog_cc_c89" != "xno" && break
4329 done
4330 rm -f conftest.$ac_ext
4331 CC=$ac_save_CC
4332
4333 fi
4334 # AC_CACHE_VAL
4335 case "x$ac_cv_prog_cc_c89" in
4336 x)
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4338 $as_echo "none needed" >&6; } ;;
4339 xno)
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4341 $as_echo "unsupported" >&6; } ;;
4342 *)
4343 CC="$CC $ac_cv_prog_cc_c89"
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4345 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4346 esac
4347 if test "x$ac_cv_prog_cc_c89" != xno; then :
4348
4349 fi
4350
4351 ac_ext=c
4352 ac_cpp='$CPP $CPPFLAGS'
4353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4356
4357 ac_ext=cpp
4358 ac_cpp='$CXXCPP $CPPFLAGS'
4359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4362 if test -z "$CXX"; then
4363 if test -n "$CCC"; then
4364 CXX=$CCC
4365 else
4366 if test -n "$ac_tool_prefix"; then
4367 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4368 do
4369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4372 $as_echo_n "checking for $ac_word... " >&6; }
4373 if test "${ac_cv_prog_CXX+set}" = set; then :
4374 $as_echo_n "(cached) " >&6
4375 else
4376 if test -n "$CXX"; then
4377 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4378 else
4379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4380 for as_dir in $PATH
4381 do
4382 IFS=$as_save_IFS
4383 test -z "$as_dir" && as_dir=.
4384 for ac_exec_ext in '' $ac_executable_extensions; do
4385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4386 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4388 break 2
4389 fi
4390 done
4391 done
4392 IFS=$as_save_IFS
4393
4394 fi
4395 fi
4396 CXX=$ac_cv_prog_CXX
4397 if test -n "$CXX"; then
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4399 $as_echo "$CXX" >&6; }
4400 else
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4402 $as_echo "no" >&6; }
4403 fi
4404
4405
4406 test -n "$CXX" && break
4407 done
4408 fi
4409 if test -z "$CXX"; then
4410 ac_ct_CXX=$CXX
4411 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4412 do
4413 # Extract the first word of "$ac_prog", so it can be a program name with args.
4414 set dummy $ac_prog; ac_word=$2
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4416 $as_echo_n "checking for $ac_word... " >&6; }
4417 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4418 $as_echo_n "(cached) " >&6
4419 else
4420 if test -n "$ac_ct_CXX"; then
4421 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4422 else
4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4424 for as_dir in $PATH
4425 do
4426 IFS=$as_save_IFS
4427 test -z "$as_dir" && as_dir=.
4428 for ac_exec_ext in '' $ac_executable_extensions; do
4429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4430 ac_cv_prog_ac_ct_CXX="$ac_prog"
4431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 break 2
4433 fi
4434 done
4435 done
4436 IFS=$as_save_IFS
4437
4438 fi
4439 fi
4440 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4441 if test -n "$ac_ct_CXX"; then
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4443 $as_echo "$ac_ct_CXX" >&6; }
4444 else
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4446 $as_echo "no" >&6; }
4447 fi
4448
4449
4450 test -n "$ac_ct_CXX" && break
4451 done
4452
4453 if test "x$ac_ct_CXX" = x; then
4454 CXX="g++"
4455 else
4456 case $cross_compiling:$ac_tool_warned in
4457 yes:)
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4460 ac_tool_warned=yes ;;
4461 esac
4462 CXX=$ac_ct_CXX
4463 fi
4464 fi
4465
4466 fi
4467 fi
4468 # Provide some information about the compiler.
4469 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4470 set X $ac_compile
4471 ac_compiler=$2
4472 for ac_option in --version -v -V -qversion; do
4473 { { ac_try="$ac_compiler $ac_option >&5"
4474 case "(($ac_try" in
4475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4476 *) ac_try_echo=$ac_try;;
4477 esac
4478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4479 $as_echo "$ac_try_echo"; } >&5
4480 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4481 ac_status=$?
4482 if test -s conftest.err; then
4483 sed '10a\
4484 ... rest of stderr output deleted ...
4485 10q' conftest.err >conftest.er1
4486 cat conftest.er1 >&5
4487 rm -f conftest.er1 conftest.err
4488 fi
4489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4490 test $ac_status = 0; }
4491 done
4492
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4494 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4495 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4496 $as_echo_n "(cached) " >&6
4497 else
4498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h. */
4500
4501 int
4502 main ()
4503 {
4504 #ifndef __GNUC__
4505 choke me
4506 #endif
4507
4508 ;
4509 return 0;
4510 }
4511 _ACEOF
4512 if ac_fn_cxx_try_compile "$LINENO"; then :
4513 ac_compiler_gnu=yes
4514 else
4515 ac_compiler_gnu=no
4516 fi
4517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4518 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4519
4520 fi
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4522 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4523 if test $ac_compiler_gnu = yes; then
4524 GXX=yes
4525 else
4526 GXX=
4527 fi
4528 ac_test_CXXFLAGS=${CXXFLAGS+set}
4529 ac_save_CXXFLAGS=$CXXFLAGS
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4531 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4532 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4533 $as_echo_n "(cached) " >&6
4534 else
4535 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4536 ac_cxx_werror_flag=yes
4537 ac_cv_prog_cxx_g=no
4538 CXXFLAGS="-g"
4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4541
4542 int
4543 main ()
4544 {
4545
4546 ;
4547 return 0;
4548 }
4549 _ACEOF
4550 if ac_fn_cxx_try_compile "$LINENO"; then :
4551 ac_cv_prog_cxx_g=yes
4552 else
4553 CXXFLAGS=""
4554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4555 /* end confdefs.h. */
4556
4557 int
4558 main ()
4559 {
4560
4561 ;
4562 return 0;
4563 }
4564 _ACEOF
4565 if ac_fn_cxx_try_compile "$LINENO"; then :
4566
4567 else
4568 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4569 CXXFLAGS="-g"
4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4571 /* end confdefs.h. */
4572
4573 int
4574 main ()
4575 {
4576
4577 ;
4578 return 0;
4579 }
4580 _ACEOF
4581 if ac_fn_cxx_try_compile "$LINENO"; then :
4582 ac_cv_prog_cxx_g=yes
4583 fi
4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585 fi
4586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4587 fi
4588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4589 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4590 fi
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4592 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4593 if test "$ac_test_CXXFLAGS" = set; then
4594 CXXFLAGS=$ac_save_CXXFLAGS
4595 elif test $ac_cv_prog_cxx_g = yes; then
4596 if test "$GXX" = yes; then
4597 CXXFLAGS="-g -O2"
4598 else
4599 CXXFLAGS="-g"
4600 fi
4601 else
4602 if test "$GXX" = yes; then
4603 CXXFLAGS="-O2"
4604 else
4605 CXXFLAGS=
4606 fi
4607 fi
4608 ac_ext=c
4609 ac_cpp='$CPP $CPPFLAGS'
4610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4613
4614 CXXFLAGS="$save_CXXFLAGS"
4615
4616 # Runs configure.host, and assorted other critical bits. Sets
4617 # up critical shell variables.
4618
4619 ac_ext=c
4620 ac_cpp='$CPP $CPPFLAGS'
4621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4625 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4626 # On Suns, sometimes $CPP names a directory.
4627 if test -n "$CPP" && test -d "$CPP"; then
4628 CPP=
4629 fi
4630 if test -z "$CPP"; then
4631 if test "${ac_cv_prog_CPP+set}" = set; then :
4632 $as_echo_n "(cached) " >&6
4633 else
4634 # Double quotes because CPP needs to be expanded
4635 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4636 do
4637 ac_preproc_ok=false
4638 for ac_c_preproc_warn_flag in '' yes
4639 do
4640 # Use a header file that comes with gcc, so configuring glibc
4641 # with a fresh cross-compiler works.
4642 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4643 # <limits.h> exists even on freestanding compilers.
4644 # On the NeXT, cc -E runs the code through the compiler's parser,
4645 # not just through cpp. "Syntax error" is here to catch this case.
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4648 #ifdef __STDC__
4649 # include <limits.h>
4650 #else
4651 # include <assert.h>
4652 #endif
4653 Syntax error
4654 _ACEOF
4655 if ac_fn_c_try_cpp "$LINENO"; then :
4656
4657 else
4658 # Broken: fails on valid input.
4659 continue
4660 fi
4661 rm -f conftest.err conftest.$ac_ext
4662
4663 # OK, works on sane cases. Now check whether nonexistent headers
4664 # can be detected and how.
4665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4666 /* end confdefs.h. */
4667 #include <ac_nonexistent.h>
4668 _ACEOF
4669 if ac_fn_c_try_cpp "$LINENO"; then :
4670 # Broken: success on invalid input.
4671 continue
4672 else
4673 # Passes both tests.
4674 ac_preproc_ok=:
4675 break
4676 fi
4677 rm -f conftest.err conftest.$ac_ext
4678
4679 done
4680 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4681 rm -f conftest.err conftest.$ac_ext
4682 if $ac_preproc_ok; then :
4683 break
4684 fi
4685
4686 done
4687 ac_cv_prog_CPP=$CPP
4688
4689 fi
4690 CPP=$ac_cv_prog_CPP
4691 else
4692 ac_cv_prog_CPP=$CPP
4693 fi
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4695 $as_echo "$CPP" >&6; }
4696 ac_preproc_ok=false
4697 for ac_c_preproc_warn_flag in '' yes
4698 do
4699 # Use a header file that comes with gcc, so configuring glibc
4700 # with a fresh cross-compiler works.
4701 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4702 # <limits.h> exists even on freestanding compilers.
4703 # On the NeXT, cc -E runs the code through the compiler's parser,
4704 # not just through cpp. "Syntax error" is here to catch this case.
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4707 #ifdef __STDC__
4708 # include <limits.h>
4709 #else
4710 # include <assert.h>
4711 #endif
4712 Syntax error
4713 _ACEOF
4714 if ac_fn_c_try_cpp "$LINENO"; then :
4715
4716 else
4717 # Broken: fails on valid input.
4718 continue
4719 fi
4720 rm -f conftest.err conftest.$ac_ext
4721
4722 # OK, works on sane cases. Now check whether nonexistent headers
4723 # can be detected and how.
4724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4725 /* end confdefs.h. */
4726 #include <ac_nonexistent.h>
4727 _ACEOF
4728 if ac_fn_c_try_cpp "$LINENO"; then :
4729 # Broken: success on invalid input.
4730 continue
4731 else
4732 # Passes both tests.
4733 ac_preproc_ok=:
4734 break
4735 fi
4736 rm -f conftest.err conftest.$ac_ext
4737
4738 done
4739 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4740 rm -f conftest.err conftest.$ac_ext
4741 if $ac_preproc_ok; then :
4742
4743 else
4744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4746 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4747 See \`config.log' for more details." "$LINENO" 5; }
4748 fi
4749
4750 ac_ext=c
4751 ac_cpp='$CPP $CPPFLAGS'
4752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4755
4756
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4758 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4759 if test "${ac_cv_path_GREP+set}" = set; then :
4760 $as_echo_n "(cached) " >&6
4761 else
4762 if test -z "$GREP"; then
4763 ac_path_GREP_found=false
4764 # Loop through the user's path and test for each of PROGNAME-LIST
4765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4767 do
4768 IFS=$as_save_IFS
4769 test -z "$as_dir" && as_dir=.
4770 for ac_prog in grep ggrep; do
4771 for ac_exec_ext in '' $ac_executable_extensions; do
4772 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4773 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4774 # Check for GNU ac_path_GREP and select it if it is found.
4775 # Check for GNU $ac_path_GREP
4776 case `"$ac_path_GREP" --version 2>&1` in
4777 *GNU*)
4778 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4779 *)
4780 ac_count=0
4781 $as_echo_n 0123456789 >"conftest.in"
4782 while :
4783 do
4784 cat "conftest.in" "conftest.in" >"conftest.tmp"
4785 mv "conftest.tmp" "conftest.in"
4786 cp "conftest.in" "conftest.nl"
4787 $as_echo 'GREP' >> "conftest.nl"
4788 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4789 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4790 as_fn_arith $ac_count + 1 && ac_count=$as_val
4791 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4792 # Best one so far, save it but keep looking for a better one
4793 ac_cv_path_GREP="$ac_path_GREP"
4794 ac_path_GREP_max=$ac_count
4795 fi
4796 # 10*(2^10) chars as input seems more than enough
4797 test $ac_count -gt 10 && break
4798 done
4799 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4800 esac
4801
4802 $ac_path_GREP_found && break 3
4803 done
4804 done
4805 done
4806 IFS=$as_save_IFS
4807 if test -z "$ac_cv_path_GREP"; then
4808 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4809 fi
4810 else
4811 ac_cv_path_GREP=$GREP
4812 fi
4813
4814 fi
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4816 $as_echo "$ac_cv_path_GREP" >&6; }
4817 GREP="$ac_cv_path_GREP"
4818
4819
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4821 $as_echo_n "checking for egrep... " >&6; }
4822 if test "${ac_cv_path_EGREP+set}" = set; then :
4823 $as_echo_n "(cached) " >&6
4824 else
4825 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4826 then ac_cv_path_EGREP="$GREP -E"
4827 else
4828 if test -z "$EGREP"; then
4829 ac_path_EGREP_found=false
4830 # Loop through the user's path and test for each of PROGNAME-LIST
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4833 do
4834 IFS=$as_save_IFS
4835 test -z "$as_dir" && as_dir=.
4836 for ac_prog in egrep; do
4837 for ac_exec_ext in '' $ac_executable_extensions; do
4838 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4839 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4840 # Check for GNU ac_path_EGREP and select it if it is found.
4841 # Check for GNU $ac_path_EGREP
4842 case `"$ac_path_EGREP" --version 2>&1` in
4843 *GNU*)
4844 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4845 *)
4846 ac_count=0
4847 $as_echo_n 0123456789 >"conftest.in"
4848 while :
4849 do
4850 cat "conftest.in" "conftest.in" >"conftest.tmp"
4851 mv "conftest.tmp" "conftest.in"
4852 cp "conftest.in" "conftest.nl"
4853 $as_echo 'EGREP' >> "conftest.nl"
4854 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4855 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4856 as_fn_arith $ac_count + 1 && ac_count=$as_val
4857 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4858 # Best one so far, save it but keep looking for a better one
4859 ac_cv_path_EGREP="$ac_path_EGREP"
4860 ac_path_EGREP_max=$ac_count
4861 fi
4862 # 10*(2^10) chars as input seems more than enough
4863 test $ac_count -gt 10 && break
4864 done
4865 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4866 esac
4867
4868 $ac_path_EGREP_found && break 3
4869 done
4870 done
4871 done
4872 IFS=$as_save_IFS
4873 if test -z "$ac_cv_path_EGREP"; then
4874 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4875 fi
4876 else
4877 ac_cv_path_EGREP=$EGREP
4878 fi
4879
4880 fi
4881 fi
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4883 $as_echo "$ac_cv_path_EGREP" >&6; }
4884 EGREP="$ac_cv_path_EGREP"
4885
4886
4887
4888 # Keep these sync'd with the list in Makefile.am. The first provides an
4889 # expandable list at autoconf time; the second provides an expandable list
4890 # (i.e., shell variable) at configure time.
4891
4892 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4893
4894 # These need to be absolute paths, yet at the same time need to
4895 # canonicalize only relative paths, because then amd will not unmount
4896 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4897 glibcxx_builddir=`${PWDCMD-pwd}`
4898 case $srcdir in
4899 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4900 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4901 esac
4902 toplevel_builddir=${glibcxx_builddir}/..
4903 toplevel_srcdir=${glibcxx_srcdir}/..
4904
4905
4906
4907
4908
4909 # We use these options to decide which functions to include. They are
4910 # set from the top level.
4911
4912 # Check whether --with-target-subdir was given.
4913 if test "${with_target_subdir+set}" = set; then :
4914 withval=$with_target_subdir;
4915 fi
4916
4917
4918
4919 # Check whether --with-cross-host was given.
4920 if test "${with_cross_host+set}" = set; then :
4921 withval=$with_cross_host;
4922 fi
4923
4924
4925
4926 # Check whether --with-newlib was given.
4927 if test "${with_newlib+set}" = set; then :
4928 withval=$with_newlib;
4929 fi
4930
4931
4932 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4933 # available). Uncomment the next line to force a particular method.
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4935 $as_echo_n "checking whether ln -s works... " >&6; }
4936 LN_S=$as_ln_s
4937 if test "$LN_S" = "ln -s"; then
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4939 $as_echo "yes" >&6; }
4940 else
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4942 $as_echo "no, using $LN_S" >&6; }
4943 fi
4944
4945 #LN_S='cp -p'
4946
4947 if test -n "$ac_tool_prefix"; then
4948 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4949 set dummy ${ac_tool_prefix}as; ac_word=$2
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4951 $as_echo_n "checking for $ac_word... " >&6; }
4952 if test "${ac_cv_prog_AS+set}" = set; then :
4953 $as_echo_n "(cached) " >&6
4954 else
4955 if test -n "$AS"; then
4956 ac_cv_prog_AS="$AS" # Let the user override the test.
4957 else
4958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4959 for as_dir in $PATH
4960 do
4961 IFS=$as_save_IFS
4962 test -z "$as_dir" && as_dir=.
4963 for ac_exec_ext in '' $ac_executable_extensions; do
4964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4965 ac_cv_prog_AS="${ac_tool_prefix}as"
4966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4967 break 2
4968 fi
4969 done
4970 done
4971 IFS=$as_save_IFS
4972
4973 fi
4974 fi
4975 AS=$ac_cv_prog_AS
4976 if test -n "$AS"; then
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4978 $as_echo "$AS" >&6; }
4979 else
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4981 $as_echo "no" >&6; }
4982 fi
4983
4984
4985 fi
4986 if test -z "$ac_cv_prog_AS"; then
4987 ac_ct_AS=$AS
4988 # Extract the first word of "as", so it can be a program name with args.
4989 set dummy as; ac_word=$2
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4991 $as_echo_n "checking for $ac_word... " >&6; }
4992 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4993 $as_echo_n "(cached) " >&6
4994 else
4995 if test -n "$ac_ct_AS"; then
4996 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4997 else
4998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4999 for as_dir in $PATH
5000 do
5001 IFS=$as_save_IFS
5002 test -z "$as_dir" && as_dir=.
5003 for ac_exec_ext in '' $ac_executable_extensions; do
5004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5005 ac_cv_prog_ac_ct_AS="as"
5006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 break 2
5008 fi
5009 done
5010 done
5011 IFS=$as_save_IFS
5012
5013 fi
5014 fi
5015 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5016 if test -n "$ac_ct_AS"; then
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5018 $as_echo "$ac_ct_AS" >&6; }
5019 else
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5021 $as_echo "no" >&6; }
5022 fi
5023
5024 if test "x$ac_ct_AS" = x; then
5025 AS=""
5026 else
5027 case $cross_compiling:$ac_tool_warned in
5028 yes:)
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5031 ac_tool_warned=yes ;;
5032 esac
5033 AS=$ac_ct_AS
5034 fi
5035 else
5036 AS="$ac_cv_prog_AS"
5037 fi
5038
5039 if test -n "$ac_tool_prefix"; then
5040 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5041 set dummy ${ac_tool_prefix}ar; ac_word=$2
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043 $as_echo_n "checking for $ac_word... " >&6; }
5044 if test "${ac_cv_prog_AR+set}" = set; then :
5045 $as_echo_n "(cached) " >&6
5046 else
5047 if test -n "$AR"; then
5048 ac_cv_prog_AR="$AR" # Let the user override the test.
5049 else
5050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5051 for as_dir in $PATH
5052 do
5053 IFS=$as_save_IFS
5054 test -z "$as_dir" && as_dir=.
5055 for ac_exec_ext in '' $ac_executable_extensions; do
5056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5057 ac_cv_prog_AR="${ac_tool_prefix}ar"
5058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5059 break 2
5060 fi
5061 done
5062 done
5063 IFS=$as_save_IFS
5064
5065 fi
5066 fi
5067 AR=$ac_cv_prog_AR
5068 if test -n "$AR"; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5070 $as_echo "$AR" >&6; }
5071 else
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073 $as_echo "no" >&6; }
5074 fi
5075
5076
5077 fi
5078 if test -z "$ac_cv_prog_AR"; then
5079 ac_ct_AR=$AR
5080 # Extract the first word of "ar", so it can be a program name with args.
5081 set dummy ar; ac_word=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5085 $as_echo_n "(cached) " >&6
5086 else
5087 if test -n "$ac_ct_AR"; then
5088 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5089 else
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 for as_dir in $PATH
5092 do
5093 IFS=$as_save_IFS
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5097 ac_cv_prog_ac_ct_AR="ar"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 break 2
5100 fi
5101 done
5102 done
5103 IFS=$as_save_IFS
5104
5105 fi
5106 fi
5107 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5108 if test -n "$ac_ct_AR"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5110 $as_echo "$ac_ct_AR" >&6; }
5111 else
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5114 fi
5115
5116 if test "x$ac_ct_AR" = x; then
5117 AR=""
5118 else
5119 case $cross_compiling:$ac_tool_warned in
5120 yes:)
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5123 ac_tool_warned=yes ;;
5124 esac
5125 AR=$ac_ct_AR
5126 fi
5127 else
5128 AR="$ac_cv_prog_AR"
5129 fi
5130
5131 if test -n "$ac_tool_prefix"; then
5132 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5133 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5137 $as_echo_n "(cached) " >&6
5138 else
5139 if test -n "$RANLIB"; then
5140 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5141 else
5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 for as_dir in $PATH
5144 do
5145 IFS=$as_save_IFS
5146 test -z "$as_dir" && as_dir=.
5147 for ac_exec_ext in '' $ac_executable_extensions; do
5148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5149 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 break 2
5152 fi
5153 done
5154 done
5155 IFS=$as_save_IFS
5156
5157 fi
5158 fi
5159 RANLIB=$ac_cv_prog_RANLIB
5160 if test -n "$RANLIB"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5162 $as_echo "$RANLIB" >&6; }
5163 else
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5166 fi
5167
5168
5169 fi
5170 if test -z "$ac_cv_prog_RANLIB"; then
5171 ac_ct_RANLIB=$RANLIB
5172 # Extract the first word of "ranlib", so it can be a program name with args.
5173 set dummy ranlib; ac_word=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5177 $as_echo_n "(cached) " >&6
5178 else
5179 if test -n "$ac_ct_RANLIB"; then
5180 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5181 else
5182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 for as_dir in $PATH
5184 do
5185 IFS=$as_save_IFS
5186 test -z "$as_dir" && as_dir=.
5187 for ac_exec_ext in '' $ac_executable_extensions; do
5188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5189 ac_cv_prog_ac_ct_RANLIB="ranlib"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 break 2
5192 fi
5193 done
5194 done
5195 IFS=$as_save_IFS
5196
5197 fi
5198 fi
5199 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5200 if test -n "$ac_ct_RANLIB"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5202 $as_echo "$ac_ct_RANLIB" >&6; }
5203 else
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5206 fi
5207
5208 if test "x$ac_ct_RANLIB" = x; then
5209 RANLIB="ranlib-not-found-in-path-error"
5210 else
5211 case $cross_compiling:$ac_tool_warned in
5212 yes:)
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5215 ac_tool_warned=yes ;;
5216 esac
5217 RANLIB=$ac_ct_RANLIB
5218 fi
5219 else
5220 RANLIB="$ac_cv_prog_RANLIB"
5221 fi
5222
5223
5224
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5226 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5227 # Check whether --enable-maintainer-mode was given.
5228 if test "${enable_maintainer_mode+set}" = set; then :
5229 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5230 else
5231 USE_MAINTAINER_MODE=no
5232 fi
5233
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5235 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5236 if test $USE_MAINTAINER_MODE = yes; then
5237 MAINTAINER_MODE_TRUE=
5238 MAINTAINER_MODE_FALSE='#'
5239 else
5240 MAINTAINER_MODE_TRUE='#'
5241 MAINTAINER_MODE_FALSE=
5242 fi
5243
5244 MAINT=$MAINTAINER_MODE_TRUE
5245
5246
5247
5248 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5249 # which are themselves conditionally expanded.
5250 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5251 ## other macros from doing the same. This should be automated.) -pme
5252
5253 # Check for C library flavor since GNU/Linux platforms use different
5254 # configuration directories depending on the C library in use.
5255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5256 /* end confdefs.h. */
5257
5258 #include <stdio.h>
5259 #if __UCLIBC__
5260 _using_uclibc
5261 #endif
5262
5263 _ACEOF
5264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5265 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5266 uclibc=yes
5267 else
5268 uclibc=no
5269 fi
5270 rm -f conftest*
5271
5272
5273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5274 /* end confdefs.h. */
5275
5276 #include <stdio.h>
5277 #if __BIONIC__
5278 _using_bionic
5279 #endif
5280
5281 _ACEOF
5282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5283 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5284 bionic=yes
5285 else
5286 bionic=no
5287 fi
5288 rm -f conftest*
5289
5290
5291 # Find platform-specific directories containing configuration info.
5292 # Also possibly modify flags used elsewhere, as needed by the platform.
5293
5294 . $glibcxx_srcdir/configure.host
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5296 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5298 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5299
5300
5301
5302 # Libtool setup.
5303 if test "x${with_newlib}" != "xyes"; then
5304 enable_dlopen=yes
5305
5306
5307
5308 fi
5309 case `pwd` in
5310 *\ * | *\ *)
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5312 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5313 esac
5314
5315
5316
5317 macro_version='2.2.7a'
5318 macro_revision='1.3134'
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332 ltmain="$ac_aux_dir/ltmain.sh"
5333
5334 # Backslashify metacharacters that are still active within
5335 # double-quoted strings.
5336 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5337
5338 # Same as above, but do not quote variable references.
5339 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5340
5341 # Sed substitution to delay expansion of an escaped shell variable in a
5342 # double_quote_subst'ed string.
5343 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5344
5345 # Sed substitution to delay expansion of an escaped single quote.
5346 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5347
5348 # Sed substitution to avoid accidental globbing in evaled expressions
5349 no_glob_subst='s/\*/\\\*/g'
5350
5351 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5352 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5353 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5354
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5356 $as_echo_n "checking how to print strings... " >&6; }
5357 # Test print first, because it will be a builtin if present.
5358 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5359 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5360 ECHO='print -r --'
5361 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5362 ECHO='printf %s\n'
5363 else
5364 # Use this function as a fallback that always works.
5365 func_fallback_echo ()
5366 {
5367 eval 'cat <<_LTECHO_EOF
5368 $1
5369 _LTECHO_EOF'
5370 }
5371 ECHO='func_fallback_echo'
5372 fi
5373
5374 # func_echo_all arg...
5375 # Invoke $ECHO with all args, space-separated.
5376 func_echo_all ()
5377 {
5378 $ECHO ""
5379 }
5380
5381 case "$ECHO" in
5382 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5383 $as_echo "printf" >&6; } ;;
5384 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5385 $as_echo "print -r" >&6; } ;;
5386 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5387 $as_echo "cat" >&6; } ;;
5388 esac
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5404 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5405 if test "${ac_cv_path_SED+set}" = set; then :
5406 $as_echo_n "(cached) " >&6
5407 else
5408 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5409 for ac_i in 1 2 3 4 5 6 7; do
5410 ac_script="$ac_script$as_nl$ac_script"
5411 done
5412 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5413 { ac_script=; unset ac_script;}
5414 if test -z "$SED"; then
5415 ac_path_SED_found=false
5416 # Loop through the user's path and test for each of PROGNAME-LIST
5417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5418 for as_dir in $PATH
5419 do
5420 IFS=$as_save_IFS
5421 test -z "$as_dir" && as_dir=.
5422 for ac_prog in sed gsed; do
5423 for ac_exec_ext in '' $ac_executable_extensions; do
5424 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5425 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5426 # Check for GNU ac_path_SED and select it if it is found.
5427 # Check for GNU $ac_path_SED
5428 case `"$ac_path_SED" --version 2>&1` in
5429 *GNU*)
5430 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5431 *)
5432 ac_count=0
5433 $as_echo_n 0123456789 >"conftest.in"
5434 while :
5435 do
5436 cat "conftest.in" "conftest.in" >"conftest.tmp"
5437 mv "conftest.tmp" "conftest.in"
5438 cp "conftest.in" "conftest.nl"
5439 $as_echo '' >> "conftest.nl"
5440 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5441 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5442 as_fn_arith $ac_count + 1 && ac_count=$as_val
5443 if test $ac_count -gt ${ac_path_SED_max-0}; then
5444 # Best one so far, save it but keep looking for a better one
5445 ac_cv_path_SED="$ac_path_SED"
5446 ac_path_SED_max=$ac_count
5447 fi
5448 # 10*(2^10) chars as input seems more than enough
5449 test $ac_count -gt 10 && break
5450 done
5451 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5452 esac
5453
5454 $ac_path_SED_found && break 3
5455 done
5456 done
5457 done
5458 IFS=$as_save_IFS
5459 if test -z "$ac_cv_path_SED"; then
5460 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5461 fi
5462 else
5463 ac_cv_path_SED=$SED
5464 fi
5465
5466 fi
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5468 $as_echo "$ac_cv_path_SED" >&6; }
5469 SED="$ac_cv_path_SED"
5470 rm -f conftest.sed
5471
5472 test -z "$SED" && SED=sed
5473 Xsed="$SED -e 1s/^X//"
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5486 $as_echo_n "checking for fgrep... " >&6; }
5487 if test "${ac_cv_path_FGREP+set}" = set; then :
5488 $as_echo_n "(cached) " >&6
5489 else
5490 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5491 then ac_cv_path_FGREP="$GREP -F"
5492 else
5493 if test -z "$FGREP"; then
5494 ac_path_FGREP_found=false
5495 # Loop through the user's path and test for each of PROGNAME-LIST
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5498 do
5499 IFS=$as_save_IFS
5500 test -z "$as_dir" && as_dir=.
5501 for ac_prog in fgrep; do
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5504 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5505 # Check for GNU ac_path_FGREP and select it if it is found.
5506 # Check for GNU $ac_path_FGREP
5507 case `"$ac_path_FGREP" --version 2>&1` in
5508 *GNU*)
5509 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5510 *)
5511 ac_count=0
5512 $as_echo_n 0123456789 >"conftest.in"
5513 while :
5514 do
5515 cat "conftest.in" "conftest.in" >"conftest.tmp"
5516 mv "conftest.tmp" "conftest.in"
5517 cp "conftest.in" "conftest.nl"
5518 $as_echo 'FGREP' >> "conftest.nl"
5519 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5520 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5521 as_fn_arith $ac_count + 1 && ac_count=$as_val
5522 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5523 # Best one so far, save it but keep looking for a better one
5524 ac_cv_path_FGREP="$ac_path_FGREP"
5525 ac_path_FGREP_max=$ac_count
5526 fi
5527 # 10*(2^10) chars as input seems more than enough
5528 test $ac_count -gt 10 && break
5529 done
5530 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5531 esac
5532
5533 $ac_path_FGREP_found && break 3
5534 done
5535 done
5536 done
5537 IFS=$as_save_IFS
5538 if test -z "$ac_cv_path_FGREP"; then
5539 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5540 fi
5541 else
5542 ac_cv_path_FGREP=$FGREP
5543 fi
5544
5545 fi
5546 fi
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5548 $as_echo "$ac_cv_path_FGREP" >&6; }
5549 FGREP="$ac_cv_path_FGREP"
5550
5551
5552 test -z "$GREP" && GREP=grep
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572 # Check whether --with-gnu-ld was given.
5573 if test "${with_gnu_ld+set}" = set; then :
5574 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5575 else
5576 with_gnu_ld=no
5577 fi
5578
5579 ac_prog=ld
5580 if test "$GCC" = yes; then
5581 # Check if gcc -print-prog-name=ld gives a path.
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5583 $as_echo_n "checking for ld used by $CC... " >&6; }
5584 case $host in
5585 *-*-mingw*)
5586 # gcc leaves a trailing carriage return which upsets mingw
5587 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5588 *)
5589 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5590 esac
5591 case $ac_prog in
5592 # Accept absolute paths.
5593 [\\/]* | ?:[\\/]*)
5594 re_direlt='/[^/][^/]*/\.\./'
5595 # Canonicalize the pathname of ld
5596 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5597 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5598 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5599 done
5600 test -z "$LD" && LD="$ac_prog"
5601 ;;
5602 "")
5603 # If it fails, then pretend we aren't using GCC.
5604 ac_prog=ld
5605 ;;
5606 *)
5607 # If it is relative, then search for the first ld in PATH.
5608 with_gnu_ld=unknown
5609 ;;
5610 esac
5611 elif test "$with_gnu_ld" = yes; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5613 $as_echo_n "checking for GNU ld... " >&6; }
5614 else
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5616 $as_echo_n "checking for non-GNU ld... " >&6; }
5617 fi
5618 if test "${lt_cv_path_LD+set}" = set; then :
5619 $as_echo_n "(cached) " >&6
5620 else
5621 if test -z "$LD"; then
5622 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5623 for ac_dir in $PATH; do
5624 IFS="$lt_save_ifs"
5625 test -z "$ac_dir" && ac_dir=.
5626 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5627 lt_cv_path_LD="$ac_dir/$ac_prog"
5628 # Check to see if the program is GNU ld. I'd rather use --version,
5629 # but apparently some variants of GNU ld only accept -v.
5630 # Break only if it was the GNU/non-GNU ld that we prefer.
5631 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5632 *GNU* | *'with BFD'*)
5633 test "$with_gnu_ld" != no && break
5634 ;;
5635 *)
5636 test "$with_gnu_ld" != yes && break
5637 ;;
5638 esac
5639 fi
5640 done
5641 IFS="$lt_save_ifs"
5642 else
5643 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5644 fi
5645 fi
5646
5647 LD="$lt_cv_path_LD"
5648 if test -n "$LD"; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5650 $as_echo "$LD" >&6; }
5651 else
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5653 $as_echo "no" >&6; }
5654 fi
5655 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5657 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5658 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5659 $as_echo_n "(cached) " >&6
5660 else
5661 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5662 case `$LD -v 2>&1 </dev/null` in
5663 *GNU* | *'with BFD'*)
5664 lt_cv_prog_gnu_ld=yes
5665 ;;
5666 *)
5667 lt_cv_prog_gnu_ld=no
5668 ;;
5669 esac
5670 fi
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5672 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5673 with_gnu_ld=$lt_cv_prog_gnu_ld
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5684 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5685 if test "${lt_cv_path_NM+set}" = set; then :
5686 $as_echo_n "(cached) " >&6
5687 else
5688 if test -n "$NM"; then
5689 # Let the user override the test.
5690 lt_cv_path_NM="$NM"
5691 else
5692 lt_nm_to_check="${ac_tool_prefix}nm"
5693 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5694 lt_nm_to_check="$lt_nm_to_check nm"
5695 fi
5696 for lt_tmp_nm in $lt_nm_to_check; do
5697 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5698 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5699 IFS="$lt_save_ifs"
5700 test -z "$ac_dir" && ac_dir=.
5701 tmp_nm="$ac_dir/$lt_tmp_nm"
5702 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5703 # Check to see if the nm accepts a BSD-compat flag.
5704 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5705 # nm: unknown option "B" ignored
5706 # Tru64's nm complains that /dev/null is an invalid object file
5707 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5708 */dev/null* | *'Invalid file or object type'*)
5709 lt_cv_path_NM="$tmp_nm -B"
5710 break
5711 ;;
5712 *)
5713 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5714 */dev/null*)
5715 lt_cv_path_NM="$tmp_nm -p"
5716 break
5717 ;;
5718 *)
5719 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5720 continue # so that we can try to find one that supports BSD flags
5721 ;;
5722 esac
5723 ;;
5724 esac
5725 fi
5726 done
5727 IFS="$lt_save_ifs"
5728 done
5729 : ${lt_cv_path_NM=no}
5730 fi
5731 fi
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5733 $as_echo "$lt_cv_path_NM" >&6; }
5734 if test "$lt_cv_path_NM" != "no"; then
5735 NM="$lt_cv_path_NM"
5736 else
5737 # Didn't find any BSD compatible name lister, look for dumpbin.
5738 if test -n "$DUMPBIN"; then :
5739 # Let the user override the test.
5740 else
5741 if test -n "$ac_tool_prefix"; then
5742 for ac_prog in dumpbin "link -dump"
5743 do
5744 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5745 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5747 $as_echo_n "checking for $ac_word... " >&6; }
5748 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5749 $as_echo_n "(cached) " >&6
5750 else
5751 if test -n "$DUMPBIN"; then
5752 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5753 else
5754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5755 for as_dir in $PATH
5756 do
5757 IFS=$as_save_IFS
5758 test -z "$as_dir" && as_dir=.
5759 for ac_exec_ext in '' $ac_executable_extensions; do
5760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5761 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5763 break 2
5764 fi
5765 done
5766 done
5767 IFS=$as_save_IFS
5768
5769 fi
5770 fi
5771 DUMPBIN=$ac_cv_prog_DUMPBIN
5772 if test -n "$DUMPBIN"; then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5774 $as_echo "$DUMPBIN" >&6; }
5775 else
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5777 $as_echo "no" >&6; }
5778 fi
5779
5780
5781 test -n "$DUMPBIN" && break
5782 done
5783 fi
5784 if test -z "$DUMPBIN"; then
5785 ac_ct_DUMPBIN=$DUMPBIN
5786 for ac_prog in dumpbin "link -dump"
5787 do
5788 # Extract the first word of "$ac_prog", so it can be a program name with args.
5789 set dummy $ac_prog; ac_word=$2
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5791 $as_echo_n "checking for $ac_word... " >&6; }
5792 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5793 $as_echo_n "(cached) " >&6
5794 else
5795 if test -n "$ac_ct_DUMPBIN"; then
5796 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5797 else
5798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5799 for as_dir in $PATH
5800 do
5801 IFS=$as_save_IFS
5802 test -z "$as_dir" && as_dir=.
5803 for ac_exec_ext in '' $ac_executable_extensions; do
5804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5805 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5807 break 2
5808 fi
5809 done
5810 done
5811 IFS=$as_save_IFS
5812
5813 fi
5814 fi
5815 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5816 if test -n "$ac_ct_DUMPBIN"; then
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5818 $as_echo "$ac_ct_DUMPBIN" >&6; }
5819 else
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5821 $as_echo "no" >&6; }
5822 fi
5823
5824
5825 test -n "$ac_ct_DUMPBIN" && break
5826 done
5827
5828 if test "x$ac_ct_DUMPBIN" = x; then
5829 DUMPBIN=":"
5830 else
5831 case $cross_compiling:$ac_tool_warned in
5832 yes:)
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5835 ac_tool_warned=yes ;;
5836 esac
5837 DUMPBIN=$ac_ct_DUMPBIN
5838 fi
5839 fi
5840
5841 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5842 *COFF*)
5843 DUMPBIN="$DUMPBIN -symbols"
5844 ;;
5845 *)
5846 DUMPBIN=:
5847 ;;
5848 esac
5849 fi
5850
5851 if test "$DUMPBIN" != ":"; then
5852 NM="$DUMPBIN"
5853 fi
5854 fi
5855 test -z "$NM" && NM=nm
5856
5857
5858
5859
5860
5861
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5863 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5864 if test "${lt_cv_nm_interface+set}" = set; then :
5865 $as_echo_n "(cached) " >&6
5866 else
5867 lt_cv_nm_interface="BSD nm"
5868 echo "int some_variable = 0;" > conftest.$ac_ext
5869 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5870 (eval "$ac_compile" 2>conftest.err)
5871 cat conftest.err >&5
5872 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5873 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5874 cat conftest.err >&5
5875 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5876 cat conftest.out >&5
5877 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5878 lt_cv_nm_interface="MS dumpbin"
5879 fi
5880 rm -f conftest*
5881 fi
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5883 $as_echo "$lt_cv_nm_interface" >&6; }
5884
5885 # find the maximum length of command line arguments
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5887 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5888 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5889 $as_echo_n "(cached) " >&6
5890 else
5891 i=0
5892 teststring="ABCD"
5893
5894 case $build_os in
5895 msdosdjgpp*)
5896 # On DJGPP, this test can blow up pretty badly due to problems in libc
5897 # (any single argument exceeding 2000 bytes causes a buffer overrun
5898 # during glob expansion). Even if it were fixed, the result of this
5899 # check would be larger than it should be.
5900 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5901 ;;
5902
5903 gnu*)
5904 # Under GNU Hurd, this test is not required because there is
5905 # no limit to the length of command line arguments.
5906 # Libtool will interpret -1 as no limit whatsoever
5907 lt_cv_sys_max_cmd_len=-1;
5908 ;;
5909
5910 cygwin* | mingw* | cegcc*)
5911 # On Win9x/ME, this test blows up -- it succeeds, but takes
5912 # about 5 minutes as the teststring grows exponentially.
5913 # Worse, since 9x/ME are not pre-emptively multitasking,
5914 # you end up with a "frozen" computer, even though with patience
5915 # the test eventually succeeds (with a max line length of 256k).
5916 # Instead, let's just punt: use the minimum linelength reported by
5917 # all of the supported platforms: 8192 (on NT/2K/XP).
5918 lt_cv_sys_max_cmd_len=8192;
5919 ;;
5920
5921 mint*)
5922 # On MiNT this can take a long time and run out of memory.
5923 lt_cv_sys_max_cmd_len=8192;
5924 ;;
5925
5926 amigaos*)
5927 # On AmigaOS with pdksh, this test takes hours, literally.
5928 # So we just punt and use a minimum line length of 8192.
5929 lt_cv_sys_max_cmd_len=8192;
5930 ;;
5931
5932 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5933 # This has been around since 386BSD, at least. Likely further.
5934 if test -x /sbin/sysctl; then
5935 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5936 elif test -x /usr/sbin/sysctl; then
5937 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5938 else
5939 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5940 fi
5941 # And add a safety zone
5942 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5943 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5944 ;;
5945
5946 interix*)
5947 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5948 lt_cv_sys_max_cmd_len=196608
5949 ;;
5950
5951 osf*)
5952 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5953 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5954 # nice to cause kernel panics so lets avoid the loop below.
5955 # First set a reasonable default.
5956 lt_cv_sys_max_cmd_len=16384
5957 #
5958 if test -x /sbin/sysconfig; then
5959 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5960 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5961 esac
5962 fi
5963 ;;
5964 sco3.2v5*)
5965 lt_cv_sys_max_cmd_len=102400
5966 ;;
5967 sysv5* | sco5v6* | sysv4.2uw2*)
5968 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5969 if test -n "$kargmax"; then
5970 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5971 else
5972 lt_cv_sys_max_cmd_len=32768
5973 fi
5974 ;;
5975 *)
5976 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5977 if test -n "$lt_cv_sys_max_cmd_len"; then
5978 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5979 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5980 else
5981 # Make teststring a little bigger before we do anything with it.
5982 # a 1K string should be a reasonable start.
5983 for i in 1 2 3 4 5 6 7 8 ; do
5984 teststring=$teststring$teststring
5985 done
5986 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5987 # If test is not a shell built-in, we'll probably end up computing a
5988 # maximum length that is only half of the actual maximum length, but
5989 # we can't tell.
5990 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5991 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5992 test $i != 17 # 1/2 MB should be enough
5993 do
5994 i=`expr $i + 1`
5995 teststring=$teststring$teststring
5996 done
5997 # Only check the string length outside the loop.
5998 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5999 teststring=
6000 # Add a significant safety factor because C++ compilers can tack on
6001 # massive amounts of additional arguments before passing them to the
6002 # linker. It appears as though 1/2 is a usable value.
6003 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6004 fi
6005 ;;
6006 esac
6007
6008 fi
6009
6010 if test -n $lt_cv_sys_max_cmd_len ; then
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6012 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6013 else
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6015 $as_echo "none" >&6; }
6016 fi
6017 max_cmd_len=$lt_cv_sys_max_cmd_len
6018
6019
6020
6021
6022
6023
6024 : ${CP="cp -f"}
6025 : ${MV="mv -f"}
6026 : ${RM="rm -f"}
6027
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6029 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6030 # Try some XSI features
6031 xsi_shell=no
6032 ( _lt_dummy="a/b/c"
6033 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6034 = c,a/b,, \
6035 && eval 'test $(( 1 + 1 )) -eq 2 \
6036 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6037 && xsi_shell=yes
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6039 $as_echo "$xsi_shell" >&6; }
6040
6041
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6043 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6044 lt_shell_append=no
6045 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6046 >/dev/null 2>&1 \
6047 && lt_shell_append=yes
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6049 $as_echo "$lt_shell_append" >&6; }
6050
6051
6052 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6053 lt_unset=unset
6054 else
6055 lt_unset=false
6056 fi
6057
6058
6059
6060
6061
6062 # test EBCDIC or ASCII
6063 case `echo X|tr X '\101'` in
6064 A) # ASCII based system
6065 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6066 lt_SP2NL='tr \040 \012'
6067 lt_NL2SP='tr \015\012 \040\040'
6068 ;;
6069 *) # EBCDIC based system
6070 lt_SP2NL='tr \100 \n'
6071 lt_NL2SP='tr \r\n \100\100'
6072 ;;
6073 esac
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6084 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6085 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6086 $as_echo_n "(cached) " >&6
6087 else
6088 lt_cv_ld_reload_flag='-r'
6089 fi
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6091 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6092 reload_flag=$lt_cv_ld_reload_flag
6093 case $reload_flag in
6094 "" | " "*) ;;
6095 *) reload_flag=" $reload_flag" ;;
6096 esac
6097 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6098 case $host_os in
6099 darwin*)
6100 if test "$GCC" = yes; then
6101 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6102 else
6103 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6104 fi
6105 ;;
6106 esac
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116 if test -n "$ac_tool_prefix"; then
6117 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6118 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6120 $as_echo_n "checking for $ac_word... " >&6; }
6121 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6122 $as_echo_n "(cached) " >&6
6123 else
6124 if test -n "$OBJDUMP"; then
6125 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6126 else
6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 for as_dir in $PATH
6129 do
6130 IFS=$as_save_IFS
6131 test -z "$as_dir" && as_dir=.
6132 for ac_exec_ext in '' $ac_executable_extensions; do
6133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6134 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6136 break 2
6137 fi
6138 done
6139 done
6140 IFS=$as_save_IFS
6141
6142 fi
6143 fi
6144 OBJDUMP=$ac_cv_prog_OBJDUMP
6145 if test -n "$OBJDUMP"; then
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6147 $as_echo "$OBJDUMP" >&6; }
6148 else
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 $as_echo "no" >&6; }
6151 fi
6152
6153
6154 fi
6155 if test -z "$ac_cv_prog_OBJDUMP"; then
6156 ac_ct_OBJDUMP=$OBJDUMP
6157 # Extract the first word of "objdump", so it can be a program name with args.
6158 set dummy objdump; ac_word=$2
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6160 $as_echo_n "checking for $ac_word... " >&6; }
6161 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6162 $as_echo_n "(cached) " >&6
6163 else
6164 if test -n "$ac_ct_OBJDUMP"; then
6165 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6166 else
6167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6168 for as_dir in $PATH
6169 do
6170 IFS=$as_save_IFS
6171 test -z "$as_dir" && as_dir=.
6172 for ac_exec_ext in '' $ac_executable_extensions; do
6173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6174 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6176 break 2
6177 fi
6178 done
6179 done
6180 IFS=$as_save_IFS
6181
6182 fi
6183 fi
6184 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6185 if test -n "$ac_ct_OBJDUMP"; then
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6187 $as_echo "$ac_ct_OBJDUMP" >&6; }
6188 else
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6190 $as_echo "no" >&6; }
6191 fi
6192
6193 if test "x$ac_ct_OBJDUMP" = x; then
6194 OBJDUMP="false"
6195 else
6196 case $cross_compiling:$ac_tool_warned in
6197 yes:)
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6200 ac_tool_warned=yes ;;
6201 esac
6202 OBJDUMP=$ac_ct_OBJDUMP
6203 fi
6204 else
6205 OBJDUMP="$ac_cv_prog_OBJDUMP"
6206 fi
6207
6208 test -z "$OBJDUMP" && OBJDUMP=objdump
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6219 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6220 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6221 $as_echo_n "(cached) " >&6
6222 else
6223 lt_cv_file_magic_cmd='$MAGIC_CMD'
6224 lt_cv_file_magic_test_file=
6225 lt_cv_deplibs_check_method='unknown'
6226 # Need to set the preceding variable on all platforms that support
6227 # interlibrary dependencies.
6228 # 'none' -- dependencies not supported.
6229 # `unknown' -- same as none, but documents that we really don't know.
6230 # 'pass_all' -- all dependencies passed with no checks.
6231 # 'test_compile' -- check by making test program.
6232 # 'file_magic [[regex]]' -- check by looking for files in library path
6233 # which responds to the $file_magic_cmd with a given extended regex.
6234 # If you have `file' or equivalent on your system and you're not sure
6235 # whether `pass_all' will *always* work, you probably want this one.
6236
6237 case $host_os in
6238 aix[4-9]*)
6239 lt_cv_deplibs_check_method=pass_all
6240 ;;
6241
6242 beos*)
6243 lt_cv_deplibs_check_method=pass_all
6244 ;;
6245
6246 bsdi[45]*)
6247 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6248 lt_cv_file_magic_cmd='/usr/bin/file -L'
6249 lt_cv_file_magic_test_file=/shlib/libc.so
6250 ;;
6251
6252 cygwin*)
6253 # func_win32_libid is a shell function defined in ltmain.sh
6254 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6255 lt_cv_file_magic_cmd='func_win32_libid'
6256 ;;
6257
6258 mingw* | pw32*)
6259 # Base MSYS/MinGW do not provide the 'file' command needed by
6260 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6261 # unless we find 'file', for example because we are cross-compiling.
6262 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6263 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6264 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6265 lt_cv_file_magic_cmd='func_win32_libid'
6266 else
6267 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6268 lt_cv_file_magic_cmd='$OBJDUMP -f'
6269 fi
6270 ;;
6271
6272 cegcc*)
6273 # use the weaker test based on 'objdump'. See mingw*.
6274 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6275 lt_cv_file_magic_cmd='$OBJDUMP -f'
6276 ;;
6277
6278 darwin* | rhapsody*)
6279 lt_cv_deplibs_check_method=pass_all
6280 ;;
6281
6282 freebsd* | dragonfly*)
6283 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6284 case $host_cpu in
6285 i*86 )
6286 # Not sure whether the presence of OpenBSD here was a mistake.
6287 # Let's accept both of them until this is cleared up.
6288 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6289 lt_cv_file_magic_cmd=/usr/bin/file
6290 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6291 ;;
6292 esac
6293 else
6294 lt_cv_deplibs_check_method=pass_all
6295 fi
6296 ;;
6297
6298 gnu*)
6299 lt_cv_deplibs_check_method=pass_all
6300 ;;
6301
6302 haiku*)
6303 lt_cv_deplibs_check_method=pass_all
6304 ;;
6305
6306 hpux10.20* | hpux11*)
6307 lt_cv_file_magic_cmd=/usr/bin/file
6308 case $host_cpu in
6309 ia64*)
6310 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6311 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6312 ;;
6313 hppa*64*)
6314 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]'
6315 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6316 ;;
6317 *)
6318 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6319 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6320 ;;
6321 esac
6322 ;;
6323
6324 interix[3-9]*)
6325 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6326 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6327 ;;
6328
6329 irix5* | irix6* | nonstopux*)
6330 case $LD in
6331 *-32|*"-32 ") libmagic=32-bit;;
6332 *-n32|*"-n32 ") libmagic=N32;;
6333 *-64|*"-64 ") libmagic=64-bit;;
6334 *) libmagic=never-match;;
6335 esac
6336 lt_cv_deplibs_check_method=pass_all
6337 ;;
6338
6339 # This must be Linux ELF.
6340 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6341 lt_cv_deplibs_check_method=pass_all
6342 ;;
6343
6344 netbsd*)
6345 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6346 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6347 else
6348 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6349 fi
6350 ;;
6351
6352 newos6*)
6353 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6354 lt_cv_file_magic_cmd=/usr/bin/file
6355 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6356 ;;
6357
6358 *nto* | *qnx*)
6359 lt_cv_deplibs_check_method=pass_all
6360 ;;
6361
6362 openbsd*)
6363 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6364 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6365 else
6366 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6367 fi
6368 ;;
6369
6370 osf3* | osf4* | osf5*)
6371 lt_cv_deplibs_check_method=pass_all
6372 ;;
6373
6374 rdos*)
6375 lt_cv_deplibs_check_method=pass_all
6376 ;;
6377
6378 solaris*)
6379 lt_cv_deplibs_check_method=pass_all
6380 ;;
6381
6382 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6383 lt_cv_deplibs_check_method=pass_all
6384 ;;
6385
6386 sysv4 | sysv4.3*)
6387 case $host_vendor in
6388 motorola)
6389 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]'
6390 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6391 ;;
6392 ncr)
6393 lt_cv_deplibs_check_method=pass_all
6394 ;;
6395 sequent)
6396 lt_cv_file_magic_cmd='/bin/file'
6397 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6398 ;;
6399 sni)
6400 lt_cv_file_magic_cmd='/bin/file'
6401 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6402 lt_cv_file_magic_test_file=/lib/libc.so
6403 ;;
6404 siemens)
6405 lt_cv_deplibs_check_method=pass_all
6406 ;;
6407 pc)
6408 lt_cv_deplibs_check_method=pass_all
6409 ;;
6410 esac
6411 ;;
6412
6413 tpf*)
6414 lt_cv_deplibs_check_method=pass_all
6415 ;;
6416 esac
6417
6418 fi
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6420 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6421 file_magic_cmd=$lt_cv_file_magic_cmd
6422 deplibs_check_method=$lt_cv_deplibs_check_method
6423 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436 if test -n "$ac_tool_prefix"; then
6437 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6438 set dummy ${ac_tool_prefix}ar; ac_word=$2
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440 $as_echo_n "checking for $ac_word... " >&6; }
6441 if test "${ac_cv_prog_AR+set}" = set; then :
6442 $as_echo_n "(cached) " >&6
6443 else
6444 if test -n "$AR"; then
6445 ac_cv_prog_AR="$AR" # Let the user override the test.
6446 else
6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 for as_dir in $PATH
6449 do
6450 IFS=$as_save_IFS
6451 test -z "$as_dir" && as_dir=.
6452 for ac_exec_ext in '' $ac_executable_extensions; do
6453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6454 ac_cv_prog_AR="${ac_tool_prefix}ar"
6455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6456 break 2
6457 fi
6458 done
6459 done
6460 IFS=$as_save_IFS
6461
6462 fi
6463 fi
6464 AR=$ac_cv_prog_AR
6465 if test -n "$AR"; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6467 $as_echo "$AR" >&6; }
6468 else
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6470 $as_echo "no" >&6; }
6471 fi
6472
6473
6474 fi
6475 if test -z "$ac_cv_prog_AR"; then
6476 ac_ct_AR=$AR
6477 # Extract the first word of "ar", so it can be a program name with args.
6478 set dummy ar; ac_word=$2
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6480 $as_echo_n "checking for $ac_word... " >&6; }
6481 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6482 $as_echo_n "(cached) " >&6
6483 else
6484 if test -n "$ac_ct_AR"; then
6485 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6486 else
6487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6488 for as_dir in $PATH
6489 do
6490 IFS=$as_save_IFS
6491 test -z "$as_dir" && as_dir=.
6492 for ac_exec_ext in '' $ac_executable_extensions; do
6493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6494 ac_cv_prog_ac_ct_AR="ar"
6495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6496 break 2
6497 fi
6498 done
6499 done
6500 IFS=$as_save_IFS
6501
6502 fi
6503 fi
6504 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6505 if test -n "$ac_ct_AR"; then
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6507 $as_echo "$ac_ct_AR" >&6; }
6508 else
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6510 $as_echo "no" >&6; }
6511 fi
6512
6513 if test "x$ac_ct_AR" = x; then
6514 AR="false"
6515 else
6516 case $cross_compiling:$ac_tool_warned in
6517 yes:)
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6520 ac_tool_warned=yes ;;
6521 esac
6522 AR=$ac_ct_AR
6523 fi
6524 else
6525 AR="$ac_cv_prog_AR"
6526 fi
6527
6528 test -z "$AR" && AR=ar
6529 test -z "$AR_FLAGS" && AR_FLAGS=cru
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541 if test -n "$ac_tool_prefix"; then
6542 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6543 set dummy ${ac_tool_prefix}strip; ac_word=$2
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6545 $as_echo_n "checking for $ac_word... " >&6; }
6546 if test "${ac_cv_prog_STRIP+set}" = set; then :
6547 $as_echo_n "(cached) " >&6
6548 else
6549 if test -n "$STRIP"; then
6550 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6551 else
6552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553 for as_dir in $PATH
6554 do
6555 IFS=$as_save_IFS
6556 test -z "$as_dir" && as_dir=.
6557 for ac_exec_ext in '' $ac_executable_extensions; do
6558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6559 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6561 break 2
6562 fi
6563 done
6564 done
6565 IFS=$as_save_IFS
6566
6567 fi
6568 fi
6569 STRIP=$ac_cv_prog_STRIP
6570 if test -n "$STRIP"; then
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6572 $as_echo "$STRIP" >&6; }
6573 else
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575 $as_echo "no" >&6; }
6576 fi
6577
6578
6579 fi
6580 if test -z "$ac_cv_prog_STRIP"; then
6581 ac_ct_STRIP=$STRIP
6582 # Extract the first word of "strip", so it can be a program name with args.
6583 set dummy strip; ac_word=$2
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6585 $as_echo_n "checking for $ac_word... " >&6; }
6586 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6587 $as_echo_n "(cached) " >&6
6588 else
6589 if test -n "$ac_ct_STRIP"; then
6590 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6591 else
6592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6593 for as_dir in $PATH
6594 do
6595 IFS=$as_save_IFS
6596 test -z "$as_dir" && as_dir=.
6597 for ac_exec_ext in '' $ac_executable_extensions; do
6598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6599 ac_cv_prog_ac_ct_STRIP="strip"
6600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6601 break 2
6602 fi
6603 done
6604 done
6605 IFS=$as_save_IFS
6606
6607 fi
6608 fi
6609 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6610 if test -n "$ac_ct_STRIP"; then
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6612 $as_echo "$ac_ct_STRIP" >&6; }
6613 else
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6615 $as_echo "no" >&6; }
6616 fi
6617
6618 if test "x$ac_ct_STRIP" = x; then
6619 STRIP=":"
6620 else
6621 case $cross_compiling:$ac_tool_warned in
6622 yes:)
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6625 ac_tool_warned=yes ;;
6626 esac
6627 STRIP=$ac_ct_STRIP
6628 fi
6629 else
6630 STRIP="$ac_cv_prog_STRIP"
6631 fi
6632
6633 test -z "$STRIP" && STRIP=:
6634
6635
6636
6637
6638
6639
6640 if test -n "$ac_tool_prefix"; then
6641 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6642 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6644 $as_echo_n "checking for $ac_word... " >&6; }
6645 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6646 $as_echo_n "(cached) " >&6
6647 else
6648 if test -n "$RANLIB"; then
6649 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6650 else
6651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6652 for as_dir in $PATH
6653 do
6654 IFS=$as_save_IFS
6655 test -z "$as_dir" && as_dir=.
6656 for ac_exec_ext in '' $ac_executable_extensions; do
6657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6658 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6660 break 2
6661 fi
6662 done
6663 done
6664 IFS=$as_save_IFS
6665
6666 fi
6667 fi
6668 RANLIB=$ac_cv_prog_RANLIB
6669 if test -n "$RANLIB"; then
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6671 $as_echo "$RANLIB" >&6; }
6672 else
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674 $as_echo "no" >&6; }
6675 fi
6676
6677
6678 fi
6679 if test -z "$ac_cv_prog_RANLIB"; then
6680 ac_ct_RANLIB=$RANLIB
6681 # Extract the first word of "ranlib", so it can be a program name with args.
6682 set dummy ranlib; ac_word=$2
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684 $as_echo_n "checking for $ac_word... " >&6; }
6685 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6686 $as_echo_n "(cached) " >&6
6687 else
6688 if test -n "$ac_ct_RANLIB"; then
6689 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6690 else
6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6692 for as_dir in $PATH
6693 do
6694 IFS=$as_save_IFS
6695 test -z "$as_dir" && as_dir=.
6696 for ac_exec_ext in '' $ac_executable_extensions; do
6697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6698 ac_cv_prog_ac_ct_RANLIB="ranlib"
6699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6700 break 2
6701 fi
6702 done
6703 done
6704 IFS=$as_save_IFS
6705
6706 fi
6707 fi
6708 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6709 if test -n "$ac_ct_RANLIB"; then
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6711 $as_echo "$ac_ct_RANLIB" >&6; }
6712 else
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6714 $as_echo "no" >&6; }
6715 fi
6716
6717 if test "x$ac_ct_RANLIB" = x; then
6718 RANLIB=":"
6719 else
6720 case $cross_compiling:$ac_tool_warned in
6721 yes:)
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6724 ac_tool_warned=yes ;;
6725 esac
6726 RANLIB=$ac_ct_RANLIB
6727 fi
6728 else
6729 RANLIB="$ac_cv_prog_RANLIB"
6730 fi
6731
6732 test -z "$RANLIB" && RANLIB=:
6733
6734
6735
6736
6737
6738
6739 # Determine commands to create old-style static archives.
6740 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6741 old_postinstall_cmds='chmod 644 $oldlib'
6742 old_postuninstall_cmds=
6743
6744 if test -n "$RANLIB"; then
6745 case $host_os in
6746 openbsd*)
6747 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6748 ;;
6749 *)
6750 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6751 ;;
6752 esac
6753 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6754 fi
6755
6756 case $host_os in
6757 darwin*)
6758 lock_old_archive_extraction=yes ;;
6759 *)
6760 lock_old_archive_extraction=no ;;
6761 esac
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801 # If no C compiler was specified, use CC.
6802 LTCC=${LTCC-"$CC"}
6803
6804 # If no C compiler flags were specified, use CFLAGS.
6805 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6806
6807 # Allow CC to be a program name with arguments.
6808 compiler=$CC
6809
6810
6811 # Check for command to grab the raw symbol name followed by C symbol from nm.
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6813 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6814 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6815 $as_echo_n "(cached) " >&6
6816 else
6817
6818 # These are sane defaults that work on at least a few old systems.
6819 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6820
6821 # Character class describing NM global symbol codes.
6822 symcode='[BCDEGRST]'
6823
6824 # Regexp to match symbols that can be accessed directly from C.
6825 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6826
6827 # Define system-specific variables.
6828 case $host_os in
6829 aix*)
6830 symcode='[BCDT]'
6831 ;;
6832 cygwin* | mingw* | pw32* | cegcc*)
6833 symcode='[ABCDGISTW]'
6834 ;;
6835 hpux*)
6836 if test "$host_cpu" = ia64; then
6837 symcode='[ABCDEGRST]'
6838 fi
6839 ;;
6840 irix* | nonstopux*)
6841 symcode='[BCDEGRST]'
6842 ;;
6843 osf*)
6844 symcode='[BCDEGQRST]'
6845 ;;
6846 solaris*)
6847 symcode='[BDRT]'
6848 ;;
6849 sco3.2v5*)
6850 symcode='[DT]'
6851 ;;
6852 sysv4.2uw2*)
6853 symcode='[DT]'
6854 ;;
6855 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6856 symcode='[ABDT]'
6857 ;;
6858 sysv4)
6859 symcode='[DFNSTU]'
6860 ;;
6861 esac
6862
6863 # If we're using GNU nm, then use its standard symbol codes.
6864 case `$NM -V 2>&1` in
6865 *GNU* | *'with BFD'*)
6866 symcode='[ABCDGIRSTW]' ;;
6867 esac
6868
6869 # Transform an extracted symbol line into a proper C declaration.
6870 # Some systems (esp. on ia64) link data and code symbols differently,
6871 # so use this general approach.
6872 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6873
6874 # Transform an extracted symbol line into symbol name and symbol address
6875 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6876 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'"
6877
6878 # Handle CRLF in mingw tool chain
6879 opt_cr=
6880 case $build_os in
6881 mingw*)
6882 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6883 ;;
6884 esac
6885
6886 # Try without a prefix underscore, then with it.
6887 for ac_symprfx in "" "_"; do
6888
6889 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6890 symxfrm="\\1 $ac_symprfx\\2 \\2"
6891
6892 # Write the raw and C identifiers.
6893 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6894 # Fake it for dumpbin and say T for any non-static function
6895 # and D for any global variable.
6896 # Also find C++ and __fastcall symbols from MSVC++,
6897 # which start with @ or ?.
6898 lt_cv_sys_global_symbol_pipe="$AWK '"\
6899 " {last_section=section; section=\$ 3};"\
6900 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6901 " \$ 0!~/External *\|/{next};"\
6902 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6903 " {if(hide[section]) next};"\
6904 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6905 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6906 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6907 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6908 " ' prfx=^$ac_symprfx"
6909 else
6910 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6911 fi
6912
6913 # Check to see that the pipe works correctly.
6914 pipe_works=no
6915
6916 rm -f conftest*
6917 cat > conftest.$ac_ext <<_LT_EOF
6918 #ifdef __cplusplus
6919 extern "C" {
6920 #endif
6921 char nm_test_var;
6922 void nm_test_func(void);
6923 void nm_test_func(void){}
6924 #ifdef __cplusplus
6925 }
6926 #endif
6927 int main(){nm_test_var='a';nm_test_func();return(0);}
6928 _LT_EOF
6929
6930 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6931 (eval $ac_compile) 2>&5
6932 ac_status=$?
6933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6934 test $ac_status = 0; }; then
6935 # Now try to grab the symbols.
6936 nlist=conftest.nm
6937 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6938 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6939 ac_status=$?
6940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6941 test $ac_status = 0; } && test -s "$nlist"; then
6942 # Try sorting and uniquifying the output.
6943 if sort "$nlist" | uniq > "$nlist"T; then
6944 mv -f "$nlist"T "$nlist"
6945 else
6946 rm -f "$nlist"T
6947 fi
6948
6949 # Make sure that we snagged all the symbols we need.
6950 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6951 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6952 cat <<_LT_EOF > conftest.$ac_ext
6953 #ifdef __cplusplus
6954 extern "C" {
6955 #endif
6956
6957 _LT_EOF
6958 # Now generate the symbol file.
6959 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6960
6961 cat <<_LT_EOF >> conftest.$ac_ext
6962
6963 /* The mapping between symbol names and symbols. */
6964 const struct {
6965 const char *name;
6966 void *address;
6967 }
6968 lt__PROGRAM__LTX_preloaded_symbols[] =
6969 {
6970 { "@PROGRAM@", (void *) 0 },
6971 _LT_EOF
6972 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6973 cat <<\_LT_EOF >> conftest.$ac_ext
6974 {0, (void *) 0}
6975 };
6976
6977 /* This works around a problem in FreeBSD linker */
6978 #ifdef FREEBSD_WORKAROUND
6979 static const void *lt_preloaded_setup() {
6980 return lt__PROGRAM__LTX_preloaded_symbols;
6981 }
6982 #endif
6983
6984 #ifdef __cplusplus
6985 }
6986 #endif
6987 _LT_EOF
6988 # Now try linking the two files.
6989 mv conftest.$ac_objext conftstm.$ac_objext
6990 lt_save_LIBS="$LIBS"
6991 lt_save_CFLAGS="$CFLAGS"
6992 LIBS="conftstm.$ac_objext"
6993 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6994 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6995 (eval $ac_link) 2>&5
6996 ac_status=$?
6997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6998 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6999 pipe_works=yes
7000 fi
7001 LIBS="$lt_save_LIBS"
7002 CFLAGS="$lt_save_CFLAGS"
7003 else
7004 echo "cannot find nm_test_func in $nlist" >&5
7005 fi
7006 else
7007 echo "cannot find nm_test_var in $nlist" >&5
7008 fi
7009 else
7010 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7011 fi
7012 else
7013 echo "$progname: failed program was:" >&5
7014 cat conftest.$ac_ext >&5
7015 fi
7016 rm -rf conftest* conftst*
7017
7018 # Do not use the global_symbol_pipe unless it works.
7019 if test "$pipe_works" = yes; then
7020 break
7021 else
7022 lt_cv_sys_global_symbol_pipe=
7023 fi
7024 done
7025
7026 fi
7027
7028 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7029 lt_cv_sys_global_symbol_to_cdecl=
7030 fi
7031 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7033 $as_echo "failed" >&6; }
7034 else
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7036 $as_echo "ok" >&6; }
7037 fi
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060 # Check whether --enable-libtool-lock was given.
7061 if test "${enable_libtool_lock+set}" = set; then :
7062 enableval=$enable_libtool_lock;
7063 fi
7064
7065 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7066
7067 # Some flags need to be propagated to the compiler or linker for good
7068 # libtool support.
7069 case $host in
7070 ia64-*-hpux*)
7071 # Find out which ABI we are using.
7072 echo 'int i;' > conftest.$ac_ext
7073 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7074 (eval $ac_compile) 2>&5
7075 ac_status=$?
7076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7077 test $ac_status = 0; }; then
7078 case `/usr/bin/file conftest.$ac_objext` in
7079 *ELF-32*)
7080 HPUX_IA64_MODE="32"
7081 ;;
7082 *ELF-64*)
7083 HPUX_IA64_MODE="64"
7084 ;;
7085 esac
7086 fi
7087 rm -rf conftest*
7088 ;;
7089 *-*-irix6*)
7090 # Find out which ABI we are using.
7091 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7092 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7093 (eval $ac_compile) 2>&5
7094 ac_status=$?
7095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7096 test $ac_status = 0; }; then
7097 if test "$lt_cv_prog_gnu_ld" = yes; then
7098 case `/usr/bin/file conftest.$ac_objext` in
7099 *32-bit*)
7100 LD="${LD-ld} -melf32bsmip"
7101 ;;
7102 *N32*)
7103 LD="${LD-ld} -melf32bmipn32"
7104 ;;
7105 *64-bit*)
7106 LD="${LD-ld} -melf64bmip"
7107 ;;
7108 esac
7109 else
7110 case `/usr/bin/file conftest.$ac_objext` in
7111 *32-bit*)
7112 LD="${LD-ld} -32"
7113 ;;
7114 *N32*)
7115 LD="${LD-ld} -n32"
7116 ;;
7117 *64-bit*)
7118 LD="${LD-ld} -64"
7119 ;;
7120 esac
7121 fi
7122 fi
7123 rm -rf conftest*
7124 ;;
7125
7126 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7127 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7128 # Find out which ABI we are using.
7129 echo 'int i;' > conftest.$ac_ext
7130 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7131 (eval $ac_compile) 2>&5
7132 ac_status=$?
7133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7134 test $ac_status = 0; }; then
7135 case `/usr/bin/file conftest.o` in
7136 *32-bit*)
7137 case $host in
7138 x86_64-*kfreebsd*-gnu)
7139 LD="${LD-ld} -m elf_i386_fbsd"
7140 ;;
7141 x86_64-*linux*)
7142 case `/usr/bin/file conftest.o` in
7143 *x86-64*)
7144 LD="${LD-ld} -m elf32_x86_64"
7145 ;;
7146 *)
7147 LD="${LD-ld} -m elf_i386"
7148 ;;
7149 esac
7150 ;;
7151 powerpc64le-*linux*)
7152 LD="${LD-ld} -m elf32lppclinux"
7153 ;;
7154 powerpc64-*linux*)
7155 LD="${LD-ld} -m elf32ppclinux"
7156 ;;
7157 s390x-*linux*)
7158 LD="${LD-ld} -m elf_s390"
7159 ;;
7160 sparc64-*linux*)
7161 LD="${LD-ld} -m elf32_sparc"
7162 ;;
7163 esac
7164 ;;
7165 *64-bit*)
7166 case $host in
7167 x86_64-*kfreebsd*-gnu)
7168 LD="${LD-ld} -m elf_x86_64_fbsd"
7169 ;;
7170 x86_64-*linux*)
7171 LD="${LD-ld} -m elf_x86_64"
7172 ;;
7173 powerpcle-*linux*)
7174 LD="${LD-ld} -m elf64lppc"
7175 ;;
7176 powerpc-*linux*)
7177 LD="${LD-ld} -m elf64ppc"
7178 ;;
7179 s390*-*linux*|s390*-*tpf*)
7180 LD="${LD-ld} -m elf64_s390"
7181 ;;
7182 sparc*-*linux*)
7183 LD="${LD-ld} -m elf64_sparc"
7184 ;;
7185 esac
7186 ;;
7187 esac
7188 fi
7189 rm -rf conftest*
7190 ;;
7191
7192 *-*-sco3.2v5*)
7193 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7194 SAVE_CFLAGS="$CFLAGS"
7195 CFLAGS="$CFLAGS -belf"
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7197 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7198 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7199 $as_echo_n "(cached) " >&6
7200 else
7201 ac_ext=c
7202 ac_cpp='$CPP $CPPFLAGS'
7203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7206
7207 if test x$gcc_no_link = xyes; then
7208 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7209 fi
7210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7211 /* end confdefs.h. */
7212
7213 int
7214 main ()
7215 {
7216
7217 ;
7218 return 0;
7219 }
7220 _ACEOF
7221 if ac_fn_c_try_link "$LINENO"; then :
7222 lt_cv_cc_needs_belf=yes
7223 else
7224 lt_cv_cc_needs_belf=no
7225 fi
7226 rm -f core conftest.err conftest.$ac_objext \
7227 conftest$ac_exeext conftest.$ac_ext
7228 ac_ext=c
7229 ac_cpp='$CPP $CPPFLAGS'
7230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7233
7234 fi
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7236 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7237 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7238 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7239 CFLAGS="$SAVE_CFLAGS"
7240 fi
7241 ;;
7242 sparc*-*solaris*)
7243 # Find out which ABI we are using.
7244 echo 'int i;' > conftest.$ac_ext
7245 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7246 (eval $ac_compile) 2>&5
7247 ac_status=$?
7248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7249 test $ac_status = 0; }; then
7250 case `/usr/bin/file conftest.o` in
7251 *64-bit*)
7252 case $lt_cv_prog_gnu_ld in
7253 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7254 *)
7255 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7256 LD="${LD-ld} -64"
7257 fi
7258 ;;
7259 esac
7260 ;;
7261 esac
7262 fi
7263 rm -rf conftest*
7264 ;;
7265 esac
7266
7267 need_locks="$enable_libtool_lock"
7268
7269
7270 case $host_os in
7271 rhapsody* | darwin*)
7272 if test -n "$ac_tool_prefix"; then
7273 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7274 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7276 $as_echo_n "checking for $ac_word... " >&6; }
7277 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7278 $as_echo_n "(cached) " >&6
7279 else
7280 if test -n "$DSYMUTIL"; then
7281 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7282 else
7283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7284 for as_dir in $PATH
7285 do
7286 IFS=$as_save_IFS
7287 test -z "$as_dir" && as_dir=.
7288 for ac_exec_ext in '' $ac_executable_extensions; do
7289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7290 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7292 break 2
7293 fi
7294 done
7295 done
7296 IFS=$as_save_IFS
7297
7298 fi
7299 fi
7300 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7301 if test -n "$DSYMUTIL"; then
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7303 $as_echo "$DSYMUTIL" >&6; }
7304 else
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7306 $as_echo "no" >&6; }
7307 fi
7308
7309
7310 fi
7311 if test -z "$ac_cv_prog_DSYMUTIL"; then
7312 ac_ct_DSYMUTIL=$DSYMUTIL
7313 # Extract the first word of "dsymutil", so it can be a program name with args.
7314 set dummy dsymutil; ac_word=$2
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7316 $as_echo_n "checking for $ac_word... " >&6; }
7317 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7318 $as_echo_n "(cached) " >&6
7319 else
7320 if test -n "$ac_ct_DSYMUTIL"; then
7321 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7322 else
7323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7324 for as_dir in $PATH
7325 do
7326 IFS=$as_save_IFS
7327 test -z "$as_dir" && as_dir=.
7328 for ac_exec_ext in '' $ac_executable_extensions; do
7329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7330 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7332 break 2
7333 fi
7334 done
7335 done
7336 IFS=$as_save_IFS
7337
7338 fi
7339 fi
7340 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7341 if test -n "$ac_ct_DSYMUTIL"; then
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7343 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7344 else
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7346 $as_echo "no" >&6; }
7347 fi
7348
7349 if test "x$ac_ct_DSYMUTIL" = x; then
7350 DSYMUTIL=":"
7351 else
7352 case $cross_compiling:$ac_tool_warned in
7353 yes:)
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7356 ac_tool_warned=yes ;;
7357 esac
7358 DSYMUTIL=$ac_ct_DSYMUTIL
7359 fi
7360 else
7361 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7362 fi
7363
7364 if test -n "$ac_tool_prefix"; then
7365 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7366 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7368 $as_echo_n "checking for $ac_word... " >&6; }
7369 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7370 $as_echo_n "(cached) " >&6
7371 else
7372 if test -n "$NMEDIT"; then
7373 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7374 else
7375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7376 for as_dir in $PATH
7377 do
7378 IFS=$as_save_IFS
7379 test -z "$as_dir" && as_dir=.
7380 for ac_exec_ext in '' $ac_executable_extensions; do
7381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7382 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7384 break 2
7385 fi
7386 done
7387 done
7388 IFS=$as_save_IFS
7389
7390 fi
7391 fi
7392 NMEDIT=$ac_cv_prog_NMEDIT
7393 if test -n "$NMEDIT"; then
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7395 $as_echo "$NMEDIT" >&6; }
7396 else
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7398 $as_echo "no" >&6; }
7399 fi
7400
7401
7402 fi
7403 if test -z "$ac_cv_prog_NMEDIT"; then
7404 ac_ct_NMEDIT=$NMEDIT
7405 # Extract the first word of "nmedit", so it can be a program name with args.
7406 set dummy nmedit; ac_word=$2
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7408 $as_echo_n "checking for $ac_word... " >&6; }
7409 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7410 $as_echo_n "(cached) " >&6
7411 else
7412 if test -n "$ac_ct_NMEDIT"; then
7413 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7414 else
7415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7416 for as_dir in $PATH
7417 do
7418 IFS=$as_save_IFS
7419 test -z "$as_dir" && as_dir=.
7420 for ac_exec_ext in '' $ac_executable_extensions; do
7421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7422 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7424 break 2
7425 fi
7426 done
7427 done
7428 IFS=$as_save_IFS
7429
7430 fi
7431 fi
7432 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7433 if test -n "$ac_ct_NMEDIT"; then
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7435 $as_echo "$ac_ct_NMEDIT" >&6; }
7436 else
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7438 $as_echo "no" >&6; }
7439 fi
7440
7441 if test "x$ac_ct_NMEDIT" = x; then
7442 NMEDIT=":"
7443 else
7444 case $cross_compiling:$ac_tool_warned in
7445 yes:)
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7448 ac_tool_warned=yes ;;
7449 esac
7450 NMEDIT=$ac_ct_NMEDIT
7451 fi
7452 else
7453 NMEDIT="$ac_cv_prog_NMEDIT"
7454 fi
7455
7456 if test -n "$ac_tool_prefix"; then
7457 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7458 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7460 $as_echo_n "checking for $ac_word... " >&6; }
7461 if test "${ac_cv_prog_LIPO+set}" = set; then :
7462 $as_echo_n "(cached) " >&6
7463 else
7464 if test -n "$LIPO"; then
7465 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7466 else
7467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7468 for as_dir in $PATH
7469 do
7470 IFS=$as_save_IFS
7471 test -z "$as_dir" && as_dir=.
7472 for ac_exec_ext in '' $ac_executable_extensions; do
7473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7474 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7476 break 2
7477 fi
7478 done
7479 done
7480 IFS=$as_save_IFS
7481
7482 fi
7483 fi
7484 LIPO=$ac_cv_prog_LIPO
7485 if test -n "$LIPO"; then
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7487 $as_echo "$LIPO" >&6; }
7488 else
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7490 $as_echo "no" >&6; }
7491 fi
7492
7493
7494 fi
7495 if test -z "$ac_cv_prog_LIPO"; then
7496 ac_ct_LIPO=$LIPO
7497 # Extract the first word of "lipo", so it can be a program name with args.
7498 set dummy lipo; ac_word=$2
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7500 $as_echo_n "checking for $ac_word... " >&6; }
7501 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7502 $as_echo_n "(cached) " >&6
7503 else
7504 if test -n "$ac_ct_LIPO"; then
7505 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7506 else
7507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7508 for as_dir in $PATH
7509 do
7510 IFS=$as_save_IFS
7511 test -z "$as_dir" && as_dir=.
7512 for ac_exec_ext in '' $ac_executable_extensions; do
7513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7514 ac_cv_prog_ac_ct_LIPO="lipo"
7515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7516 break 2
7517 fi
7518 done
7519 done
7520 IFS=$as_save_IFS
7521
7522 fi
7523 fi
7524 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7525 if test -n "$ac_ct_LIPO"; then
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7527 $as_echo "$ac_ct_LIPO" >&6; }
7528 else
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7530 $as_echo "no" >&6; }
7531 fi
7532
7533 if test "x$ac_ct_LIPO" = x; then
7534 LIPO=":"
7535 else
7536 case $cross_compiling:$ac_tool_warned in
7537 yes:)
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7540 ac_tool_warned=yes ;;
7541 esac
7542 LIPO=$ac_ct_LIPO
7543 fi
7544 else
7545 LIPO="$ac_cv_prog_LIPO"
7546 fi
7547
7548 if test -n "$ac_tool_prefix"; then
7549 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7550 set dummy ${ac_tool_prefix}otool; ac_word=$2
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7552 $as_echo_n "checking for $ac_word... " >&6; }
7553 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7554 $as_echo_n "(cached) " >&6
7555 else
7556 if test -n "$OTOOL"; then
7557 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7558 else
7559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560 for as_dir in $PATH
7561 do
7562 IFS=$as_save_IFS
7563 test -z "$as_dir" && as_dir=.
7564 for ac_exec_ext in '' $ac_executable_extensions; do
7565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7566 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7568 break 2
7569 fi
7570 done
7571 done
7572 IFS=$as_save_IFS
7573
7574 fi
7575 fi
7576 OTOOL=$ac_cv_prog_OTOOL
7577 if test -n "$OTOOL"; then
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7579 $as_echo "$OTOOL" >&6; }
7580 else
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7582 $as_echo "no" >&6; }
7583 fi
7584
7585
7586 fi
7587 if test -z "$ac_cv_prog_OTOOL"; then
7588 ac_ct_OTOOL=$OTOOL
7589 # Extract the first word of "otool", so it can be a program name with args.
7590 set dummy otool; ac_word=$2
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7592 $as_echo_n "checking for $ac_word... " >&6; }
7593 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7594 $as_echo_n "(cached) " >&6
7595 else
7596 if test -n "$ac_ct_OTOOL"; then
7597 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7598 else
7599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600 for as_dir in $PATH
7601 do
7602 IFS=$as_save_IFS
7603 test -z "$as_dir" && as_dir=.
7604 for ac_exec_ext in '' $ac_executable_extensions; do
7605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7606 ac_cv_prog_ac_ct_OTOOL="otool"
7607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7608 break 2
7609 fi
7610 done
7611 done
7612 IFS=$as_save_IFS
7613
7614 fi
7615 fi
7616 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7617 if test -n "$ac_ct_OTOOL"; then
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7619 $as_echo "$ac_ct_OTOOL" >&6; }
7620 else
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7622 $as_echo "no" >&6; }
7623 fi
7624
7625 if test "x$ac_ct_OTOOL" = x; then
7626 OTOOL=":"
7627 else
7628 case $cross_compiling:$ac_tool_warned in
7629 yes:)
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7632 ac_tool_warned=yes ;;
7633 esac
7634 OTOOL=$ac_ct_OTOOL
7635 fi
7636 else
7637 OTOOL="$ac_cv_prog_OTOOL"
7638 fi
7639
7640 if test -n "$ac_tool_prefix"; then
7641 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7642 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7644 $as_echo_n "checking for $ac_word... " >&6; }
7645 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7646 $as_echo_n "(cached) " >&6
7647 else
7648 if test -n "$OTOOL64"; then
7649 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7650 else
7651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7652 for as_dir in $PATH
7653 do
7654 IFS=$as_save_IFS
7655 test -z "$as_dir" && as_dir=.
7656 for ac_exec_ext in '' $ac_executable_extensions; do
7657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7658 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7660 break 2
7661 fi
7662 done
7663 done
7664 IFS=$as_save_IFS
7665
7666 fi
7667 fi
7668 OTOOL64=$ac_cv_prog_OTOOL64
7669 if test -n "$OTOOL64"; then
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7671 $as_echo "$OTOOL64" >&6; }
7672 else
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7674 $as_echo "no" >&6; }
7675 fi
7676
7677
7678 fi
7679 if test -z "$ac_cv_prog_OTOOL64"; then
7680 ac_ct_OTOOL64=$OTOOL64
7681 # Extract the first word of "otool64", so it can be a program name with args.
7682 set dummy otool64; ac_word=$2
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7684 $as_echo_n "checking for $ac_word... " >&6; }
7685 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7686 $as_echo_n "(cached) " >&6
7687 else
7688 if test -n "$ac_ct_OTOOL64"; then
7689 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7690 else
7691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7692 for as_dir in $PATH
7693 do
7694 IFS=$as_save_IFS
7695 test -z "$as_dir" && as_dir=.
7696 for ac_exec_ext in '' $ac_executable_extensions; do
7697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7698 ac_cv_prog_ac_ct_OTOOL64="otool64"
7699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7700 break 2
7701 fi
7702 done
7703 done
7704 IFS=$as_save_IFS
7705
7706 fi
7707 fi
7708 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7709 if test -n "$ac_ct_OTOOL64"; then
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7711 $as_echo "$ac_ct_OTOOL64" >&6; }
7712 else
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7714 $as_echo "no" >&6; }
7715 fi
7716
7717 if test "x$ac_ct_OTOOL64" = x; then
7718 OTOOL64=":"
7719 else
7720 case $cross_compiling:$ac_tool_warned in
7721 yes:)
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7724 ac_tool_warned=yes ;;
7725 esac
7726 OTOOL64=$ac_ct_OTOOL64
7727 fi
7728 else
7729 OTOOL64="$ac_cv_prog_OTOOL64"
7730 fi
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7759 $as_echo_n "checking for -single_module linker flag... " >&6; }
7760 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7761 $as_echo_n "(cached) " >&6
7762 else
7763 lt_cv_apple_cc_single_mod=no
7764 if test -z "${LT_MULTI_MODULE}"; then
7765 # By default we will add the -single_module flag. You can override
7766 # by either setting the environment variable LT_MULTI_MODULE
7767 # non-empty at configure time, or by adding -multi_module to the
7768 # link flags.
7769 rm -rf libconftest.dylib*
7770 echo "int foo(void){return 1;}" > conftest.c
7771 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7772 -dynamiclib -Wl,-single_module conftest.c" >&5
7773 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7774 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7775 _lt_result=$?
7776 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7777 lt_cv_apple_cc_single_mod=yes
7778 else
7779 cat conftest.err >&5
7780 fi
7781 rm -rf libconftest.dylib*
7782 rm -f conftest.*
7783 fi
7784 fi
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7786 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7788 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7789 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7790 $as_echo_n "(cached) " >&6
7791 else
7792 lt_cv_ld_exported_symbols_list=no
7793 save_LDFLAGS=$LDFLAGS
7794 echo "_main" > conftest.sym
7795 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7796 if test x$gcc_no_link = xyes; then
7797 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7798 fi
7799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7800 /* end confdefs.h. */
7801
7802 int
7803 main ()
7804 {
7805
7806 ;
7807 return 0;
7808 }
7809 _ACEOF
7810 if ac_fn_c_try_link "$LINENO"; then :
7811 lt_cv_ld_exported_symbols_list=yes
7812 else
7813 lt_cv_ld_exported_symbols_list=no
7814 fi
7815 rm -f core conftest.err conftest.$ac_objext \
7816 conftest$ac_exeext conftest.$ac_ext
7817 LDFLAGS="$save_LDFLAGS"
7818
7819 fi
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7821 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7823 $as_echo_n "checking for -force_load linker flag... " >&6; }
7824 if test "${lt_cv_ld_force_load+set}" = set; then :
7825 $as_echo_n "(cached) " >&6
7826 else
7827 lt_cv_ld_force_load=no
7828 cat > conftest.c << _LT_EOF
7829 int forced_loaded() { return 2;}
7830 _LT_EOF
7831 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7832 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7833 echo "$AR cru libconftest.a conftest.o" >&5
7834 $AR cru libconftest.a conftest.o 2>&5
7835 cat > conftest.c << _LT_EOF
7836 int main() { return 0;}
7837 _LT_EOF
7838 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7839 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7840 _lt_result=$?
7841 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7842 lt_cv_ld_force_load=yes
7843 else
7844 cat conftest.err >&5
7845 fi
7846 rm -f conftest.err libconftest.a conftest conftest.c
7847 rm -rf conftest.dSYM
7848
7849 fi
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7851 $as_echo "$lt_cv_ld_force_load" >&6; }
7852 case $host_os in
7853 rhapsody* | darwin1.[012])
7854 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7855 darwin1.*)
7856 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7857 darwin*) # darwin 5.x on
7858 # if running on 10.5 or later, the deployment target defaults
7859 # to the OS version, if on x86, and 10.4, the deployment
7860 # target defaults to 10.4. Don't you love it?
7861 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7862 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7863 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7864 10.[012][,.]*)
7865 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7866 10.*)
7867 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7868 esac
7869 ;;
7870 esac
7871 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7872 _lt_dar_single_mod='$single_module'
7873 fi
7874 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7875 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7876 else
7877 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7878 fi
7879 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7880 _lt_dsymutil='~$DSYMUTIL $lib || :'
7881 else
7882 _lt_dsymutil=
7883 fi
7884 ;;
7885 esac
7886
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7888 $as_echo_n "checking for ANSI C header files... " >&6; }
7889 if test "${ac_cv_header_stdc+set}" = set; then :
7890 $as_echo_n "(cached) " >&6
7891 else
7892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7893 /* end confdefs.h. */
7894 #include <stdlib.h>
7895 #include <stdarg.h>
7896 #include <string.h>
7897 #include <float.h>
7898
7899 int
7900 main ()
7901 {
7902
7903 ;
7904 return 0;
7905 }
7906 _ACEOF
7907 if ac_fn_c_try_compile "$LINENO"; then :
7908 ac_cv_header_stdc=yes
7909 else
7910 ac_cv_header_stdc=no
7911 fi
7912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7913
7914 if test $ac_cv_header_stdc = yes; then
7915 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7917 /* end confdefs.h. */
7918 #include <string.h>
7919
7920 _ACEOF
7921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7922 $EGREP "memchr" >/dev/null 2>&1; then :
7923
7924 else
7925 ac_cv_header_stdc=no
7926 fi
7927 rm -f conftest*
7928
7929 fi
7930
7931 if test $ac_cv_header_stdc = yes; then
7932 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7934 /* end confdefs.h. */
7935 #include <stdlib.h>
7936
7937 _ACEOF
7938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7939 $EGREP "free" >/dev/null 2>&1; then :
7940
7941 else
7942 ac_cv_header_stdc=no
7943 fi
7944 rm -f conftest*
7945
7946 fi
7947
7948 if test $ac_cv_header_stdc = yes; then
7949 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7950 if test "$cross_compiling" = yes; then :
7951 :
7952 else
7953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7954 /* end confdefs.h. */
7955 #include <ctype.h>
7956 #include <stdlib.h>
7957 #if ((' ' & 0x0FF) == 0x020)
7958 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7959 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7960 #else
7961 # define ISLOWER(c) \
7962 (('a' <= (c) && (c) <= 'i') \
7963 || ('j' <= (c) && (c) <= 'r') \
7964 || ('s' <= (c) && (c) <= 'z'))
7965 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7966 #endif
7967
7968 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7969 int
7970 main ()
7971 {
7972 int i;
7973 for (i = 0; i < 256; i++)
7974 if (XOR (islower (i), ISLOWER (i))
7975 || toupper (i) != TOUPPER (i))
7976 return 2;
7977 return 0;
7978 }
7979 _ACEOF
7980 if ac_fn_c_try_run "$LINENO"; then :
7981
7982 else
7983 ac_cv_header_stdc=no
7984 fi
7985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7986 conftest.$ac_objext conftest.beam conftest.$ac_ext
7987 fi
7988
7989 fi
7990 fi
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7992 $as_echo "$ac_cv_header_stdc" >&6; }
7993 if test $ac_cv_header_stdc = yes; then
7994
7995 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7996
7997 fi
7998
7999 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8000 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8001 inttypes.h stdint.h unistd.h
8002 do :
8003 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8004 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8005 "
8006 eval as_val=\$$as_ac_Header
8007 if test "x$as_val" = x""yes; then :
8008 cat >>confdefs.h <<_ACEOF
8009 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8010 _ACEOF
8011
8012 fi
8013
8014 done
8015
8016
8017 for ac_header in dlfcn.h
8018 do :
8019 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8020 "
8021 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8022 cat >>confdefs.h <<_ACEOF
8023 #define HAVE_DLFCN_H 1
8024 _ACEOF
8025
8026 fi
8027
8028 done
8029
8030
8031
8032
8033
8034
8035 # Set options
8036
8037
8038
8039
8040 enable_win32_dll=no
8041
8042
8043 # Check whether --enable-shared was given.
8044 if test "${enable_shared+set}" = set; then :
8045 enableval=$enable_shared; p=${PACKAGE-default}
8046 case $enableval in
8047 yes) enable_shared=yes ;;
8048 no) enable_shared=no ;;
8049 *)
8050 enable_shared=no
8051 # Look at the argument we got. We use all the common list separators.
8052 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8053 for pkg in $enableval; do
8054 IFS="$lt_save_ifs"
8055 if test "X$pkg" = "X$p"; then
8056 enable_shared=yes
8057 fi
8058 done
8059 IFS="$lt_save_ifs"
8060 ;;
8061 esac
8062 else
8063 enable_shared=yes
8064 fi
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074 # Check whether --enable-static was given.
8075 if test "${enable_static+set}" = set; then :
8076 enableval=$enable_static; p=${PACKAGE-default}
8077 case $enableval in
8078 yes) enable_static=yes ;;
8079 no) enable_static=no ;;
8080 *)
8081 enable_static=no
8082 # Look at the argument we got. We use all the common list separators.
8083 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8084 for pkg in $enableval; do
8085 IFS="$lt_save_ifs"
8086 if test "X$pkg" = "X$p"; then
8087 enable_static=yes
8088 fi
8089 done
8090 IFS="$lt_save_ifs"
8091 ;;
8092 esac
8093 else
8094 enable_static=yes
8095 fi
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106 # Check whether --with-pic was given.
8107 if test "${with_pic+set}" = set; then :
8108 withval=$with_pic; pic_mode="$withval"
8109 else
8110 pic_mode=default
8111 fi
8112
8113
8114 test -z "$pic_mode" && pic_mode=default
8115
8116
8117
8118
8119
8120
8121
8122 # Check whether --enable-fast-install was given.
8123 if test "${enable_fast_install+set}" = set; then :
8124 enableval=$enable_fast_install; p=${PACKAGE-default}
8125 case $enableval in
8126 yes) enable_fast_install=yes ;;
8127 no) enable_fast_install=no ;;
8128 *)
8129 enable_fast_install=no
8130 # Look at the argument we got. We use all the common list separators.
8131 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8132 for pkg in $enableval; do
8133 IFS="$lt_save_ifs"
8134 if test "X$pkg" = "X$p"; then
8135 enable_fast_install=yes
8136 fi
8137 done
8138 IFS="$lt_save_ifs"
8139 ;;
8140 esac
8141 else
8142 enable_fast_install=yes
8143 fi
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155 # This can be used to rebuild libtool when needed
8156 LIBTOOL_DEPS="$ltmain"
8157
8158 # Always use our own libtool.
8159 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186 test -z "$LN_S" && LN_S="ln -s"
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201 if test -n "${ZSH_VERSION+set}" ; then
8202 setopt NO_GLOB_SUBST
8203 fi
8204
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8206 $as_echo_n "checking for objdir... " >&6; }
8207 if test "${lt_cv_objdir+set}" = set; then :
8208 $as_echo_n "(cached) " >&6
8209 else
8210 rm -f .libs 2>/dev/null
8211 mkdir .libs 2>/dev/null
8212 if test -d .libs; then
8213 lt_cv_objdir=.libs
8214 else
8215 # MS-DOS does not allow filenames that begin with a dot.
8216 lt_cv_objdir=_libs
8217 fi
8218 rmdir .libs 2>/dev/null
8219 fi
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8221 $as_echo "$lt_cv_objdir" >&6; }
8222 objdir=$lt_cv_objdir
8223
8224
8225
8226
8227
8228 cat >>confdefs.h <<_ACEOF
8229 #define LT_OBJDIR "$lt_cv_objdir/"
8230 _ACEOF
8231
8232
8233
8234
8235 case $host_os in
8236 aix3*)
8237 # AIX sometimes has problems with the GCC collect2 program. For some
8238 # reason, if we set the COLLECT_NAMES environment variable, the problems
8239 # vanish in a puff of smoke.
8240 if test "X${COLLECT_NAMES+set}" != Xset; then
8241 COLLECT_NAMES=
8242 export COLLECT_NAMES
8243 fi
8244 ;;
8245 esac
8246
8247 # Global variables:
8248 ofile=libtool
8249 can_build_shared=yes
8250
8251 # All known linkers require a `.a' archive for static linking (except MSVC,
8252 # which needs '.lib').
8253 libext=a
8254
8255 with_gnu_ld="$lt_cv_prog_gnu_ld"
8256
8257 old_CC="$CC"
8258 old_CFLAGS="$CFLAGS"
8259
8260 # Set sane defaults for various variables
8261 test -z "$CC" && CC=cc
8262 test -z "$LTCC" && LTCC=$CC
8263 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8264 test -z "$LD" && LD=ld
8265 test -z "$ac_objext" && ac_objext=o
8266
8267 for cc_temp in $compiler""; do
8268 case $cc_temp in
8269 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8270 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8271 \-*) ;;
8272 *) break;;
8273 esac
8274 done
8275 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8276
8277
8278 # Only perform the check for file, if the check method requires it
8279 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8280 case $deplibs_check_method in
8281 file_magic*)
8282 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8284 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8285 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8286 $as_echo_n "(cached) " >&6
8287 else
8288 case $MAGIC_CMD in
8289 [\\/*] | ?:[\\/]*)
8290 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8291 ;;
8292 *)
8293 lt_save_MAGIC_CMD="$MAGIC_CMD"
8294 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8295 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8296 for ac_dir in $ac_dummy; do
8297 IFS="$lt_save_ifs"
8298 test -z "$ac_dir" && ac_dir=.
8299 if test -f $ac_dir/${ac_tool_prefix}file; then
8300 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8301 if test -n "$file_magic_test_file"; then
8302 case $deplibs_check_method in
8303 "file_magic "*)
8304 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8305 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8306 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8307 $EGREP "$file_magic_regex" > /dev/null; then
8308 :
8309 else
8310 cat <<_LT_EOF 1>&2
8311
8312 *** Warning: the command libtool uses to detect shared libraries,
8313 *** $file_magic_cmd, produces output that libtool cannot recognize.
8314 *** The result is that libtool may fail to recognize shared libraries
8315 *** as such. This will affect the creation of libtool libraries that
8316 *** depend on shared libraries, but programs linked with such libtool
8317 *** libraries will work regardless of this problem. Nevertheless, you
8318 *** may want to report the problem to your system manager and/or to
8319 *** bug-libtool@gnu.org
8320
8321 _LT_EOF
8322 fi ;;
8323 esac
8324 fi
8325 break
8326 fi
8327 done
8328 IFS="$lt_save_ifs"
8329 MAGIC_CMD="$lt_save_MAGIC_CMD"
8330 ;;
8331 esac
8332 fi
8333
8334 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8335 if test -n "$MAGIC_CMD"; then
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8337 $as_echo "$MAGIC_CMD" >&6; }
8338 else
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8340 $as_echo "no" >&6; }
8341 fi
8342
8343
8344
8345
8346
8347 if test -z "$lt_cv_path_MAGIC_CMD"; then
8348 if test -n "$ac_tool_prefix"; then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8350 $as_echo_n "checking for file... " >&6; }
8351 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8352 $as_echo_n "(cached) " >&6
8353 else
8354 case $MAGIC_CMD in
8355 [\\/*] | ?:[\\/]*)
8356 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8357 ;;
8358 *)
8359 lt_save_MAGIC_CMD="$MAGIC_CMD"
8360 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8361 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8362 for ac_dir in $ac_dummy; do
8363 IFS="$lt_save_ifs"
8364 test -z "$ac_dir" && ac_dir=.
8365 if test -f $ac_dir/file; then
8366 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8367 if test -n "$file_magic_test_file"; then
8368 case $deplibs_check_method in
8369 "file_magic "*)
8370 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8371 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8372 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8373 $EGREP "$file_magic_regex" > /dev/null; then
8374 :
8375 else
8376 cat <<_LT_EOF 1>&2
8377
8378 *** Warning: the command libtool uses to detect shared libraries,
8379 *** $file_magic_cmd, produces output that libtool cannot recognize.
8380 *** The result is that libtool may fail to recognize shared libraries
8381 *** as such. This will affect the creation of libtool libraries that
8382 *** depend on shared libraries, but programs linked with such libtool
8383 *** libraries will work regardless of this problem. Nevertheless, you
8384 *** may want to report the problem to your system manager and/or to
8385 *** bug-libtool@gnu.org
8386
8387 _LT_EOF
8388 fi ;;
8389 esac
8390 fi
8391 break
8392 fi
8393 done
8394 IFS="$lt_save_ifs"
8395 MAGIC_CMD="$lt_save_MAGIC_CMD"
8396 ;;
8397 esac
8398 fi
8399
8400 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8401 if test -n "$MAGIC_CMD"; then
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8403 $as_echo "$MAGIC_CMD" >&6; }
8404 else
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8406 $as_echo "no" >&6; }
8407 fi
8408
8409
8410 else
8411 MAGIC_CMD=:
8412 fi
8413 fi
8414
8415 fi
8416 ;;
8417 esac
8418
8419 # Use C for the default configuration in the libtool script
8420
8421 lt_save_CC="$CC"
8422 ac_ext=c
8423 ac_cpp='$CPP $CPPFLAGS'
8424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8427
8428
8429 # Source file extension for C test sources.
8430 ac_ext=c
8431
8432 # Object file extension for compiled C test sources.
8433 objext=o
8434 objext=$objext
8435
8436 # Code to be used in simple compile tests
8437 lt_simple_compile_test_code="int some_variable = 0;"
8438
8439 # Code to be used in simple link tests
8440 lt_simple_link_test_code='int main(){return(0);}'
8441
8442
8443
8444
8445
8446
8447
8448 # If no C compiler was specified, use CC.
8449 LTCC=${LTCC-"$CC"}
8450
8451 # If no C compiler flags were specified, use CFLAGS.
8452 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8453
8454 # Allow CC to be a program name with arguments.
8455 compiler=$CC
8456
8457 # Save the default compiler, since it gets overwritten when the other
8458 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8459 compiler_DEFAULT=$CC
8460
8461 # save warnings/boilerplate of simple test code
8462 ac_outfile=conftest.$ac_objext
8463 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8464 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8465 _lt_compiler_boilerplate=`cat conftest.err`
8466 $RM conftest*
8467
8468 ac_outfile=conftest.$ac_objext
8469 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8470 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8471 _lt_linker_boilerplate=`cat conftest.err`
8472 $RM -r conftest*
8473
8474
8475 ## CAVEAT EMPTOR:
8476 ## There is no encapsulation within the following macros, do not change
8477 ## the running order or otherwise move them around unless you know exactly
8478 ## what you are doing...
8479 if test -n "$compiler"; then
8480
8481 lt_prog_compiler_no_builtin_flag=
8482
8483 if test "$GCC" = yes; then
8484 case $cc_basename in
8485 nvcc*)
8486 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8487 *)
8488 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8489 esac
8490
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8492 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8493 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8494 $as_echo_n "(cached) " >&6
8495 else
8496 lt_cv_prog_compiler_rtti_exceptions=no
8497 ac_outfile=conftest.$ac_objext
8498 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8499 lt_compiler_flag="-fno-rtti -fno-exceptions"
8500 # Insert the option either (1) after the last *FLAGS variable, or
8501 # (2) before a word containing "conftest.", or (3) at the end.
8502 # Note that $ac_compile itself does not contain backslashes and begins
8503 # with a dollar sign (not a hyphen), so the echo should work correctly.
8504 # The option is referenced via a variable to avoid confusing sed.
8505 lt_compile=`echo "$ac_compile" | $SED \
8506 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8507 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8508 -e 's:$: $lt_compiler_flag:'`
8509 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8510 (eval "$lt_compile" 2>conftest.err)
8511 ac_status=$?
8512 cat conftest.err >&5
8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514 if (exit $ac_status) && test -s "$ac_outfile"; then
8515 # The compiler can only warn and ignore the option if not recognized
8516 # So say no if there are warnings other than the usual output.
8517 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8518 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8519 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8520 lt_cv_prog_compiler_rtti_exceptions=yes
8521 fi
8522 fi
8523 $RM conftest*
8524
8525 fi
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8527 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8528
8529 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8530 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8531 else
8532 :
8533 fi
8534
8535 fi
8536
8537
8538
8539
8540
8541
8542 lt_prog_compiler_wl=
8543 lt_prog_compiler_pic=
8544 lt_prog_compiler_static=
8545
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8547 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8548
8549 if test "$GCC" = yes; then
8550 lt_prog_compiler_wl='-Wl,'
8551 lt_prog_compiler_static='-static'
8552
8553 case $host_os in
8554 aix*)
8555 # All AIX code is PIC.
8556 if test "$host_cpu" = ia64; then
8557 # AIX 5 now supports IA64 processor
8558 lt_prog_compiler_static='-Bstatic'
8559 fi
8560 lt_prog_compiler_pic='-fPIC'
8561 ;;
8562
8563 amigaos*)
8564 case $host_cpu in
8565 powerpc)
8566 # see comment about AmigaOS4 .so support
8567 lt_prog_compiler_pic='-fPIC'
8568 ;;
8569 m68k)
8570 # FIXME: we need at least 68020 code to build shared libraries, but
8571 # adding the `-m68020' flag to GCC prevents building anything better,
8572 # like `-m68040'.
8573 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8574 ;;
8575 esac
8576 ;;
8577
8578 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8579 # PIC is the default for these OSes.
8580 ;;
8581
8582 mingw* | cygwin* | pw32* | os2* | cegcc*)
8583 # This hack is so that the source file can tell whether it is being
8584 # built for inclusion in a dll (and should export symbols for example).
8585 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8586 # (--disable-auto-import) libraries
8587 lt_prog_compiler_pic='-DDLL_EXPORT'
8588 ;;
8589
8590 darwin* | rhapsody*)
8591 # PIC is the default on this platform
8592 # Common symbols not allowed in MH_DYLIB files
8593 lt_prog_compiler_pic='-fno-common'
8594 ;;
8595
8596 haiku*)
8597 # PIC is the default for Haiku.
8598 # The "-static" flag exists, but is broken.
8599 lt_prog_compiler_static=
8600 ;;
8601
8602 hpux*)
8603 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8604 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8605 # sets the default TLS model and affects inlining.
8606 case $host_cpu in
8607 hppa*64*)
8608 # +Z the default
8609 ;;
8610 *)
8611 lt_prog_compiler_pic='-fPIC'
8612 ;;
8613 esac
8614 ;;
8615
8616 interix[3-9]*)
8617 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8618 # Instead, we relocate shared libraries at runtime.
8619 ;;
8620
8621 msdosdjgpp*)
8622 # Just because we use GCC doesn't mean we suddenly get shared libraries
8623 # on systems that don't support them.
8624 lt_prog_compiler_can_build_shared=no
8625 enable_shared=no
8626 ;;
8627
8628 *nto* | *qnx*)
8629 # QNX uses GNU C++, but need to define -shared option too, otherwise
8630 # it will coredump.
8631 lt_prog_compiler_pic='-fPIC -shared'
8632 ;;
8633
8634 sysv4*MP*)
8635 if test -d /usr/nec; then
8636 lt_prog_compiler_pic=-Kconform_pic
8637 fi
8638 ;;
8639
8640 *)
8641 lt_prog_compiler_pic='-fPIC'
8642 ;;
8643 esac
8644
8645 case $cc_basename in
8646 nvcc*) # Cuda Compiler Driver 2.2
8647 lt_prog_compiler_wl='-Xlinker '
8648 lt_prog_compiler_pic='-Xcompiler -fPIC'
8649 ;;
8650 esac
8651 else
8652 # PORTME Check for flag to pass linker flags through the system compiler.
8653 case $host_os in
8654 aix*)
8655 lt_prog_compiler_wl='-Wl,'
8656 if test "$host_cpu" = ia64; then
8657 # AIX 5 now supports IA64 processor
8658 lt_prog_compiler_static='-Bstatic'
8659 else
8660 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8661 fi
8662 ;;
8663
8664 mingw* | cygwin* | pw32* | os2* | cegcc*)
8665 # This hack is so that the source file can tell whether it is being
8666 # built for inclusion in a dll (and should export symbols for example).
8667 lt_prog_compiler_pic='-DDLL_EXPORT'
8668 ;;
8669
8670 hpux9* | hpux10* | hpux11*)
8671 lt_prog_compiler_wl='-Wl,'
8672 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8673 # not for PA HP-UX.
8674 case $host_cpu in
8675 hppa*64*|ia64*)
8676 # +Z the default
8677 ;;
8678 *)
8679 lt_prog_compiler_pic='+Z'
8680 ;;
8681 esac
8682 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8683 lt_prog_compiler_static='${wl}-a ${wl}archive'
8684 ;;
8685
8686 irix5* | irix6* | nonstopux*)
8687 lt_prog_compiler_wl='-Wl,'
8688 # PIC (with -KPIC) is the default.
8689 lt_prog_compiler_static='-non_shared'
8690 ;;
8691
8692 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8693 case $cc_basename in
8694 # old Intel for x86_64 which still supported -KPIC.
8695 ecc*)
8696 lt_prog_compiler_wl='-Wl,'
8697 lt_prog_compiler_pic='-KPIC'
8698 lt_prog_compiler_static='-static'
8699 ;;
8700 # icc used to be incompatible with GCC.
8701 # ICC 10 doesn't accept -KPIC any more.
8702 icc* | ifort*)
8703 lt_prog_compiler_wl='-Wl,'
8704 lt_prog_compiler_pic='-fPIC'
8705 lt_prog_compiler_static='-static'
8706 ;;
8707 # Lahey Fortran 8.1.
8708 lf95*)
8709 lt_prog_compiler_wl='-Wl,'
8710 lt_prog_compiler_pic='--shared'
8711 lt_prog_compiler_static='--static'
8712 ;;
8713 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8714 # Portland Group compilers (*not* the Pentium gcc compiler,
8715 # which looks to be a dead project)
8716 lt_prog_compiler_wl='-Wl,'
8717 lt_prog_compiler_pic='-fpic'
8718 lt_prog_compiler_static='-Bstatic'
8719 ;;
8720 ccc*)
8721 lt_prog_compiler_wl='-Wl,'
8722 # All Alpha code is PIC.
8723 lt_prog_compiler_static='-non_shared'
8724 ;;
8725 xl* | bgxl* | bgf* | mpixl*)
8726 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8727 lt_prog_compiler_wl='-Wl,'
8728 lt_prog_compiler_pic='-qpic'
8729 lt_prog_compiler_static='-qstaticlink'
8730 ;;
8731 *)
8732 case `$CC -V 2>&1 | sed 5q` in
8733 *Sun\ F* | *Sun*Fortran*)
8734 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8735 lt_prog_compiler_pic='-KPIC'
8736 lt_prog_compiler_static='-Bstatic'
8737 lt_prog_compiler_wl=''
8738 ;;
8739 *Sun\ C*)
8740 # Sun C 5.9
8741 lt_prog_compiler_pic='-KPIC'
8742 lt_prog_compiler_static='-Bstatic'
8743 lt_prog_compiler_wl='-Wl,'
8744 ;;
8745 esac
8746 ;;
8747 esac
8748 ;;
8749
8750 newsos6)
8751 lt_prog_compiler_pic='-KPIC'
8752 lt_prog_compiler_static='-Bstatic'
8753 ;;
8754
8755 *nto* | *qnx*)
8756 # QNX uses GNU C++, but need to define -shared option too, otherwise
8757 # it will coredump.
8758 lt_prog_compiler_pic='-fPIC -shared'
8759 ;;
8760
8761 osf3* | osf4* | osf5*)
8762 lt_prog_compiler_wl='-Wl,'
8763 # All OSF/1 code is PIC.
8764 lt_prog_compiler_static='-non_shared'
8765 ;;
8766
8767 rdos*)
8768 lt_prog_compiler_static='-non_shared'
8769 ;;
8770
8771 solaris*)
8772 lt_prog_compiler_pic='-KPIC'
8773 lt_prog_compiler_static='-Bstatic'
8774 case $cc_basename in
8775 f77* | f90* | f95*)
8776 lt_prog_compiler_wl='-Qoption ld ';;
8777 *)
8778 lt_prog_compiler_wl='-Wl,';;
8779 esac
8780 ;;
8781
8782 sunos4*)
8783 lt_prog_compiler_wl='-Qoption ld '
8784 lt_prog_compiler_pic='-PIC'
8785 lt_prog_compiler_static='-Bstatic'
8786 ;;
8787
8788 sysv4 | sysv4.2uw2* | sysv4.3*)
8789 lt_prog_compiler_wl='-Wl,'
8790 lt_prog_compiler_pic='-KPIC'
8791 lt_prog_compiler_static='-Bstatic'
8792 ;;
8793
8794 sysv4*MP*)
8795 if test -d /usr/nec ;then
8796 lt_prog_compiler_pic='-Kconform_pic'
8797 lt_prog_compiler_static='-Bstatic'
8798 fi
8799 ;;
8800
8801 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8802 lt_prog_compiler_wl='-Wl,'
8803 lt_prog_compiler_pic='-KPIC'
8804 lt_prog_compiler_static='-Bstatic'
8805 ;;
8806
8807 unicos*)
8808 lt_prog_compiler_wl='-Wl,'
8809 lt_prog_compiler_can_build_shared=no
8810 ;;
8811
8812 uts4*)
8813 lt_prog_compiler_pic='-pic'
8814 lt_prog_compiler_static='-Bstatic'
8815 ;;
8816
8817 *)
8818 lt_prog_compiler_can_build_shared=no
8819 ;;
8820 esac
8821 fi
8822
8823 case $host_os in
8824 # For platforms which do not support PIC, -DPIC is meaningless:
8825 *djgpp*)
8826 lt_prog_compiler_pic=
8827 ;;
8828 *)
8829 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8830 ;;
8831 esac
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8833 $as_echo "$lt_prog_compiler_pic" >&6; }
8834
8835
8836
8837
8838
8839
8840 #
8841 # Check to make sure the PIC flag actually works.
8842 #
8843 if test -n "$lt_prog_compiler_pic"; then
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8845 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8846 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8847 $as_echo_n "(cached) " >&6
8848 else
8849 lt_cv_prog_compiler_pic_works=no
8850 ac_outfile=conftest.$ac_objext
8851 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8852 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8853 # Insert the option either (1) after the last *FLAGS variable, or
8854 # (2) before a word containing "conftest.", or (3) at the end.
8855 # Note that $ac_compile itself does not contain backslashes and begins
8856 # with a dollar sign (not a hyphen), so the echo should work correctly.
8857 # The option is referenced via a variable to avoid confusing sed.
8858 lt_compile=`echo "$ac_compile" | $SED \
8859 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8860 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8861 -e 's:$: $lt_compiler_flag:'`
8862 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8863 (eval "$lt_compile" 2>conftest.err)
8864 ac_status=$?
8865 cat conftest.err >&5
8866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8867 if (exit $ac_status) && test -s "$ac_outfile"; then
8868 # The compiler can only warn and ignore the option if not recognized
8869 # So say no if there are warnings other than the usual output.
8870 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8871 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8872 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8873 lt_cv_prog_compiler_pic_works=yes
8874 fi
8875 fi
8876 $RM conftest*
8877
8878 fi
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8880 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8881
8882 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8883 case $lt_prog_compiler_pic in
8884 "" | " "*) ;;
8885 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8886 esac
8887 else
8888 lt_prog_compiler_pic=
8889 lt_prog_compiler_can_build_shared=no
8890 fi
8891
8892 fi
8893
8894
8895
8896
8897
8898
8899 #
8900 # Check to make sure the static flag actually works.
8901 #
8902 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8904 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8905 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8906 $as_echo_n "(cached) " >&6
8907 else
8908 lt_cv_prog_compiler_static_works=no
8909 save_LDFLAGS="$LDFLAGS"
8910 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8911 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8912 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8913 # The linker can only warn and ignore the option if not recognized
8914 # So say no if there are warnings
8915 if test -s conftest.err; then
8916 # Append any errors to the config.log.
8917 cat conftest.err 1>&5
8918 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8919 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8920 if diff conftest.exp conftest.er2 >/dev/null; then
8921 lt_cv_prog_compiler_static_works=yes
8922 fi
8923 else
8924 lt_cv_prog_compiler_static_works=yes
8925 fi
8926 fi
8927 $RM -r conftest*
8928 LDFLAGS="$save_LDFLAGS"
8929
8930 fi
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8932 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8933
8934 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8935 :
8936 else
8937 lt_prog_compiler_static=
8938 fi
8939
8940
8941
8942
8943
8944
8945
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8947 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8948 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8949 $as_echo_n "(cached) " >&6
8950 else
8951 lt_cv_prog_compiler_c_o=no
8952 $RM -r conftest 2>/dev/null
8953 mkdir conftest
8954 cd conftest
8955 mkdir out
8956 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8957
8958 lt_compiler_flag="-o out/conftest2.$ac_objext"
8959 # Insert the option either (1) after the last *FLAGS variable, or
8960 # (2) before a word containing "conftest.", or (3) at the end.
8961 # Note that $ac_compile itself does not contain backslashes and begins
8962 # with a dollar sign (not a hyphen), so the echo should work correctly.
8963 lt_compile=`echo "$ac_compile" | $SED \
8964 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8965 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8966 -e 's:$: $lt_compiler_flag:'`
8967 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8968 (eval "$lt_compile" 2>out/conftest.err)
8969 ac_status=$?
8970 cat out/conftest.err >&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8973 then
8974 # The compiler can only warn and ignore the option if not recognized
8975 # So say no if there are warnings
8976 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8977 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8978 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8979 lt_cv_prog_compiler_c_o=yes
8980 fi
8981 fi
8982 chmod u+w . 2>&5
8983 $RM conftest*
8984 # SGI C++ compiler will create directory out/ii_files/ for
8985 # template instantiation
8986 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8987 $RM out/* && rmdir out
8988 cd ..
8989 $RM -r conftest
8990 $RM conftest*
8991
8992 fi
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8994 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8995
8996
8997
8998
8999
9000
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9002 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9003 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9004 $as_echo_n "(cached) " >&6
9005 else
9006 lt_cv_prog_compiler_c_o=no
9007 $RM -r conftest 2>/dev/null
9008 mkdir conftest
9009 cd conftest
9010 mkdir out
9011 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9012
9013 lt_compiler_flag="-o out/conftest2.$ac_objext"
9014 # Insert the option either (1) after the last *FLAGS variable, or
9015 # (2) before a word containing "conftest.", or (3) at the end.
9016 # Note that $ac_compile itself does not contain backslashes and begins
9017 # with a dollar sign (not a hyphen), so the echo should work correctly.
9018 lt_compile=`echo "$ac_compile" | $SED \
9019 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9020 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9021 -e 's:$: $lt_compiler_flag:'`
9022 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9023 (eval "$lt_compile" 2>out/conftest.err)
9024 ac_status=$?
9025 cat out/conftest.err >&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9028 then
9029 # The compiler can only warn and ignore the option if not recognized
9030 # So say no if there are warnings
9031 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9032 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9033 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9034 lt_cv_prog_compiler_c_o=yes
9035 fi
9036 fi
9037 chmod u+w . 2>&5
9038 $RM conftest*
9039 # SGI C++ compiler will create directory out/ii_files/ for
9040 # template instantiation
9041 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9042 $RM out/* && rmdir out
9043 cd ..
9044 $RM -r conftest
9045 $RM conftest*
9046
9047 fi
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9049 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9050
9051
9052
9053
9054 hard_links="nottested"
9055 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9056 # do not overwrite the value of need_locks provided by the user
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9058 $as_echo_n "checking if we can lock with hard links... " >&6; }
9059 hard_links=yes
9060 $RM conftest*
9061 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9062 touch conftest.a
9063 ln conftest.a conftest.b 2>&5 || hard_links=no
9064 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9066 $as_echo "$hard_links" >&6; }
9067 if test "$hard_links" = no; then
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9069 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9070 need_locks=warn
9071 fi
9072 else
9073 need_locks=no
9074 fi
9075
9076
9077
9078
9079
9080
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9082 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9083
9084 runpath_var=
9085 allow_undefined_flag=
9086 always_export_symbols=no
9087 archive_cmds=
9088 archive_expsym_cmds=
9089 compiler_needs_object=no
9090 enable_shared_with_static_runtimes=no
9091 export_dynamic_flag_spec=
9092 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9093 hardcode_automatic=no
9094 hardcode_direct=no
9095 hardcode_direct_absolute=no
9096 hardcode_libdir_flag_spec=
9097 hardcode_libdir_flag_spec_ld=
9098 hardcode_libdir_separator=
9099 hardcode_minus_L=no
9100 hardcode_shlibpath_var=unsupported
9101 inherit_rpath=no
9102 link_all_deplibs=unknown
9103 module_cmds=
9104 module_expsym_cmds=
9105 old_archive_from_new_cmds=
9106 old_archive_from_expsyms_cmds=
9107 thread_safe_flag_spec=
9108 whole_archive_flag_spec=
9109 # include_expsyms should be a list of space-separated symbols to be *always*
9110 # included in the symbol list
9111 include_expsyms=
9112 # exclude_expsyms can be an extended regexp of symbols to exclude
9113 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9114 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9115 # as well as any symbol that contains `d'.
9116 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9117 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9118 # platforms (ab)use it in PIC code, but their linkers get confused if
9119 # the symbol is explicitly referenced. Since portable code cannot
9120 # rely on this symbol name, it's probably fine to never include it in
9121 # preloaded symbol tables.
9122 # Exclude shared library initialization/finalization symbols.
9123 extract_expsyms_cmds=
9124
9125 case $host_os in
9126 cygwin* | mingw* | pw32* | cegcc*)
9127 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9128 # When not using gcc, we currently assume that we are using
9129 # Microsoft Visual C++.
9130 if test "$GCC" != yes; then
9131 with_gnu_ld=no
9132 fi
9133 ;;
9134 interix*)
9135 # we just hope/assume this is gcc and not c89 (= MSVC++)
9136 with_gnu_ld=yes
9137 ;;
9138 openbsd*)
9139 with_gnu_ld=no
9140 ;;
9141 esac
9142
9143 ld_shlibs=yes
9144
9145 # On some targets, GNU ld is compatible enough with the native linker
9146 # that we're better off using the native interface for both.
9147 lt_use_gnu_ld_interface=no
9148 if test "$with_gnu_ld" = yes; then
9149 case $host_os in
9150 aix*)
9151 # The AIX port of GNU ld has always aspired to compatibility
9152 # with the native linker. However, as the warning in the GNU ld
9153 # block says, versions before 2.19.5* couldn't really create working
9154 # shared libraries, regardless of the interface used.
9155 case `$LD -v 2>&1` in
9156 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9157 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9158 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9159 *)
9160 lt_use_gnu_ld_interface=yes
9161 ;;
9162 esac
9163 ;;
9164 *)
9165 lt_use_gnu_ld_interface=yes
9166 ;;
9167 esac
9168 fi
9169
9170 if test "$lt_use_gnu_ld_interface" = yes; then
9171 # If archive_cmds runs LD, not CC, wlarc should be empty
9172 wlarc='${wl}'
9173
9174 # Set some defaults for GNU ld with shared library support. These
9175 # are reset later if shared libraries are not supported. Putting them
9176 # here allows them to be overridden if necessary.
9177 runpath_var=LD_RUN_PATH
9178 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9179 export_dynamic_flag_spec='${wl}--export-dynamic'
9180 # ancient GNU ld didn't support --whole-archive et. al.
9181 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9182 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9183 else
9184 whole_archive_flag_spec=
9185 fi
9186 supports_anon_versioning=no
9187 case `$LD -v 2>&1` in
9188 *GNU\ gold*) supports_anon_versioning=yes ;;
9189 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9190 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9191 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9192 *\ 2.11.*) ;; # other 2.11 versions
9193 *) supports_anon_versioning=yes ;;
9194 esac
9195
9196 # See if GNU ld supports shared libraries.
9197 case $host_os in
9198 aix[3-9]*)
9199 # On AIX/PPC, the GNU linker is very broken
9200 if test "$host_cpu" != ia64; then
9201 ld_shlibs=no
9202 cat <<_LT_EOF 1>&2
9203
9204 *** Warning: the GNU linker, at least up to release 2.19, is reported
9205 *** to be unable to reliably create shared libraries on AIX.
9206 *** Therefore, libtool is disabling shared libraries support. If you
9207 *** really care for shared libraries, you may want to install binutils
9208 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9209 *** You will then need to restart the configuration process.
9210
9211 _LT_EOF
9212 fi
9213 ;;
9214
9215 amigaos*)
9216 case $host_cpu in
9217 powerpc)
9218 # see comment about AmigaOS4 .so support
9219 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9220 archive_expsym_cmds=''
9221 ;;
9222 m68k)
9223 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)'
9224 hardcode_libdir_flag_spec='-L$libdir'
9225 hardcode_minus_L=yes
9226 ;;
9227 esac
9228 ;;
9229
9230 beos*)
9231 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9232 allow_undefined_flag=unsupported
9233 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9234 # support --undefined. This deserves some investigation. FIXME
9235 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9236 else
9237 ld_shlibs=no
9238 fi
9239 ;;
9240
9241 cygwin* | mingw* | pw32* | cegcc*)
9242 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9243 # as there is no search path for DLLs.
9244 hardcode_libdir_flag_spec='-L$libdir'
9245 export_dynamic_flag_spec='${wl}--export-all-symbols'
9246 allow_undefined_flag=unsupported
9247 always_export_symbols=no
9248 enable_shared_with_static_runtimes=yes
9249 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9250
9251 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9252 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9253 # If the export-symbols file already is a .def file (1st line
9254 # is EXPORTS), use it as is; otherwise, prepend...
9255 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9256 cp $export_symbols $output_objdir/$soname.def;
9257 else
9258 echo EXPORTS > $output_objdir/$soname.def;
9259 cat $export_symbols >> $output_objdir/$soname.def;
9260 fi~
9261 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9262 else
9263 ld_shlibs=no
9264 fi
9265 ;;
9266
9267 haiku*)
9268 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9269 link_all_deplibs=yes
9270 ;;
9271
9272 interix[3-9]*)
9273 hardcode_direct=no
9274 hardcode_shlibpath_var=no
9275 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9276 export_dynamic_flag_spec='${wl}-E'
9277 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9278 # Instead, shared libraries are loaded at an image base (0x10000000 by
9279 # default) and relocated if they conflict, which is a slow very memory
9280 # consuming and fragmenting process. To avoid this, we pick a random,
9281 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9282 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9283 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9284 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'
9285 ;;
9286
9287 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9288 tmp_diet=no
9289 if test "$host_os" = linux-dietlibc; then
9290 case $cc_basename in
9291 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9292 esac
9293 fi
9294 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9295 && test "$tmp_diet" = no
9296 then
9297 tmp_addflag=
9298 tmp_sharedflag='-shared'
9299 case $cc_basename,$host_cpu in
9300 pgcc*) # Portland Group C compiler
9301 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'
9302 tmp_addflag=' $pic_flag'
9303 ;;
9304 pgf77* | pgf90* | pgf95* | pgfortran*)
9305 # Portland Group f77 and f90 compilers
9306 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'
9307 tmp_addflag=' $pic_flag -Mnomain' ;;
9308 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9309 tmp_addflag=' -i_dynamic' ;;
9310 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9311 tmp_addflag=' -i_dynamic -nofor_main' ;;
9312 ifc* | ifort*) # Intel Fortran compiler
9313 tmp_addflag=' -nofor_main' ;;
9314 lf95*) # Lahey Fortran 8.1
9315 whole_archive_flag_spec=
9316 tmp_sharedflag='--shared' ;;
9317 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9318 tmp_sharedflag='-qmkshrobj'
9319 tmp_addflag= ;;
9320 nvcc*) # Cuda Compiler Driver 2.2
9321 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'
9322 compiler_needs_object=yes
9323 ;;
9324 esac
9325 case `$CC -V 2>&1 | sed 5q` in
9326 *Sun\ C*) # Sun C 5.9
9327 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'
9328 compiler_needs_object=yes
9329 tmp_sharedflag='-G' ;;
9330 *Sun\ F*) # Sun Fortran 8.3
9331 tmp_sharedflag='-G' ;;
9332 esac
9333 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334
9335 if test "x$supports_anon_versioning" = xyes; then
9336 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9337 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9338 echo "local: *; };" >> $output_objdir/$libname.ver~
9339 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9340 fi
9341
9342 case $cc_basename in
9343 xlf* | bgf* | bgxlf* | mpixlf*)
9344 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9345 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9346 hardcode_libdir_flag_spec=
9347 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9348 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9349 if test "x$supports_anon_versioning" = xyes; then
9350 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9351 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9352 echo "local: *; };" >> $output_objdir/$libname.ver~
9353 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9354 fi
9355 ;;
9356 esac
9357 else
9358 ld_shlibs=no
9359 fi
9360 ;;
9361
9362 netbsd*)
9363 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9364 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9365 wlarc=
9366 else
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 fi
9370 ;;
9371
9372 solaris*)
9373 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9374 ld_shlibs=no
9375 cat <<_LT_EOF 1>&2
9376
9377 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9378 *** create shared libraries on Solaris systems. Therefore, libtool
9379 *** is disabling shared libraries support. We urge you to upgrade GNU
9380 *** binutils to release 2.9.1 or newer. Another option is to modify
9381 *** your PATH or compiler configuration so that the native linker is
9382 *** used, and then restart.
9383
9384 _LT_EOF
9385 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9386 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9387 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9388 else
9389 ld_shlibs=no
9390 fi
9391 ;;
9392
9393 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9394 case `$LD -v 2>&1` in
9395 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9396 ld_shlibs=no
9397 cat <<_LT_EOF 1>&2
9398
9399 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9400 *** reliably create shared libraries on SCO systems. Therefore, libtool
9401 *** is disabling shared libraries support. We urge you to upgrade GNU
9402 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9403 *** your PATH or compiler configuration so that the native linker is
9404 *** used, and then restart.
9405
9406 _LT_EOF
9407 ;;
9408 *)
9409 # For security reasons, it is highly recommended that you always
9410 # use absolute paths for naming shared libraries, and exclude the
9411 # DT_RUNPATH tag from executables and libraries. But doing so
9412 # requires that you compile everything twice, which is a pain.
9413 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9414 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9415 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417 else
9418 ld_shlibs=no
9419 fi
9420 ;;
9421 esac
9422 ;;
9423
9424 sunos4*)
9425 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9426 wlarc=
9427 hardcode_direct=yes
9428 hardcode_shlibpath_var=no
9429 ;;
9430
9431 *)
9432 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9433 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9434 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9435 else
9436 ld_shlibs=no
9437 fi
9438 ;;
9439 esac
9440
9441 if test "$ld_shlibs" = no; then
9442 runpath_var=
9443 hardcode_libdir_flag_spec=
9444 export_dynamic_flag_spec=
9445 whole_archive_flag_spec=
9446 fi
9447 else
9448 # PORTME fill in a description of your system's linker (not GNU ld)
9449 case $host_os in
9450 aix3*)
9451 allow_undefined_flag=unsupported
9452 always_export_symbols=yes
9453 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'
9454 # Note: this linker hardcodes the directories in LIBPATH if there
9455 # are no directories specified by -L.
9456 hardcode_minus_L=yes
9457 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9458 # Neither direct hardcoding nor static linking is supported with a
9459 # broken collect2.
9460 hardcode_direct=unsupported
9461 fi
9462 ;;
9463
9464 aix[4-9]*)
9465 if test "$host_cpu" = ia64; then
9466 # On IA64, the linker does run time linking by default, so we don't
9467 # have to do anything special.
9468 aix_use_runtimelinking=no
9469 exp_sym_flag='-Bexport'
9470 no_entry_flag=""
9471 else
9472 # If we're using GNU nm, then we don't want the "-C" option.
9473 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9474 # Also, AIX nm treats weak defined symbols like other global
9475 # defined symbols, whereas GNU nm marks them as "W".
9476 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9477 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'
9478 else
9479 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'
9480 fi
9481 aix_use_runtimelinking=no
9482
9483 # Test if we are trying to use run time linking or normal
9484 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9485 # need to do runtime linking.
9486 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9487 for ld_flag in $LDFLAGS; do
9488 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9489 aix_use_runtimelinking=yes
9490 break
9491 fi
9492 done
9493 ;;
9494 esac
9495
9496 exp_sym_flag='-bexport'
9497 no_entry_flag='-bnoentry'
9498 fi
9499
9500 # When large executables or shared objects are built, AIX ld can
9501 # have problems creating the table of contents. If linking a library
9502 # or program results in "error TOC overflow" add -mminimal-toc to
9503 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9504 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9505
9506 archive_cmds=''
9507 hardcode_direct=yes
9508 hardcode_direct_absolute=yes
9509 hardcode_libdir_separator=':'
9510 link_all_deplibs=yes
9511 file_list_spec='${wl}-f,'
9512
9513 if test "$GCC" = yes; then
9514 case $host_os in aix4.[012]|aix4.[012].*)
9515 # We only want to do this on AIX 4.2 and lower, the check
9516 # below for broken collect2 doesn't work under 4.3+
9517 collect2name=`${CC} -print-prog-name=collect2`
9518 if test -f "$collect2name" &&
9519 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9520 then
9521 # We have reworked collect2
9522 :
9523 else
9524 # We have old collect2
9525 hardcode_direct=unsupported
9526 # It fails to find uninstalled libraries when the uninstalled
9527 # path is not listed in the libpath. Setting hardcode_minus_L
9528 # to unsupported forces relinking
9529 hardcode_minus_L=yes
9530 hardcode_libdir_flag_spec='-L$libdir'
9531 hardcode_libdir_separator=
9532 fi
9533 ;;
9534 esac
9535 shared_flag='-shared'
9536 if test "$aix_use_runtimelinking" = yes; then
9537 shared_flag="$shared_flag "'${wl}-G'
9538 fi
9539 else
9540 # not using gcc
9541 if test "$host_cpu" = ia64; then
9542 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9543 # chokes on -Wl,-G. The following line is correct:
9544 shared_flag='-G'
9545 else
9546 if test "$aix_use_runtimelinking" = yes; then
9547 shared_flag='${wl}-G'
9548 else
9549 shared_flag='${wl}-bM:SRE'
9550 fi
9551 fi
9552 fi
9553
9554 export_dynamic_flag_spec='${wl}-bexpall'
9555 # It seems that -bexpall does not export symbols beginning with
9556 # underscore (_), so it is better to generate a list of symbols to export.
9557 always_export_symbols=yes
9558 if test "$aix_use_runtimelinking" = yes; then
9559 # Warning - without using the other runtime loading flags (-brtl),
9560 # -berok will link without error, but may produce a broken library.
9561 allow_undefined_flag='-berok'
9562 # Determine the default libpath from the value encoded in an
9563 # empty executable.
9564 if test x$gcc_no_link = xyes; then
9565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9566 fi
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9569
9570 int
9571 main ()
9572 {
9573
9574 ;
9575 return 0;
9576 }
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"; then :
9579
9580 lt_aix_libpath_sed='
9581 /Import File Strings/,/^$/ {
9582 /^0/ {
9583 s/^0 *\(.*\)$/\1/
9584 p
9585 }
9586 }'
9587 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 # Check for a 64-bit object if we didn't find anything.
9589 if test -z "$aix_libpath"; then
9590 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9591 fi
9592 fi
9593 rm -f core conftest.err conftest.$ac_objext \
9594 conftest$ac_exeext conftest.$ac_ext
9595 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9596
9597 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9598 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"
9599 else
9600 if test "$host_cpu" = ia64; then
9601 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9602 allow_undefined_flag="-z nodefs"
9603 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"
9604 else
9605 # Determine the default libpath from the value encoded in an
9606 # empty executable.
9607 if test x$gcc_no_link = xyes; then
9608 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9609 fi
9610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9611 /* end confdefs.h. */
9612
9613 int
9614 main ()
9615 {
9616
9617 ;
9618 return 0;
9619 }
9620 _ACEOF
9621 if ac_fn_c_try_link "$LINENO"; then :
9622
9623 lt_aix_libpath_sed='
9624 /Import File Strings/,/^$/ {
9625 /^0/ {
9626 s/^0 *\(.*\)$/\1/
9627 p
9628 }
9629 }'
9630 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9631 # Check for a 64-bit object if we didn't find anything.
9632 if test -z "$aix_libpath"; then
9633 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9634 fi
9635 fi
9636 rm -f core conftest.err conftest.$ac_objext \
9637 conftest$ac_exeext conftest.$ac_ext
9638 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9639
9640 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9641 # Warning - without using the other run time loading flags,
9642 # -berok will link without error, but may produce a broken library.
9643 no_undefined_flag=' ${wl}-bernotok'
9644 allow_undefined_flag=' ${wl}-berok'
9645 if test "$with_gnu_ld" = yes; then
9646 # We only use this code for GNU lds that support --whole-archive.
9647 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9648 else
9649 # Exported symbols can be pulled into shared objects from archives
9650 whole_archive_flag_spec='$convenience'
9651 fi
9652 archive_cmds_need_lc=yes
9653 # This is similar to how AIX traditionally builds its shared libraries.
9654 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'
9655 fi
9656 fi
9657 ;;
9658
9659 amigaos*)
9660 case $host_cpu in
9661 powerpc)
9662 # see comment about AmigaOS4 .so support
9663 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9664 archive_expsym_cmds=''
9665 ;;
9666 m68k)
9667 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)'
9668 hardcode_libdir_flag_spec='-L$libdir'
9669 hardcode_minus_L=yes
9670 ;;
9671 esac
9672 ;;
9673
9674 bsdi[45]*)
9675 export_dynamic_flag_spec=-rdynamic
9676 ;;
9677
9678 cygwin* | mingw* | pw32* | cegcc*)
9679 # When not using gcc, we currently assume that we are using
9680 # Microsoft Visual C++.
9681 # hardcode_libdir_flag_spec is actually meaningless, as there is
9682 # no search path for DLLs.
9683 hardcode_libdir_flag_spec=' '
9684 allow_undefined_flag=unsupported
9685 # Tell ltmain to make .lib files, not .a files.
9686 libext=lib
9687 # Tell ltmain to make .dll files, not .so files.
9688 shrext_cmds=".dll"
9689 # FIXME: Setting linknames here is a bad hack.
9690 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9691 # The linker will automatically build a .lib file if we build a DLL.
9692 old_archive_from_new_cmds='true'
9693 # FIXME: Should let the user specify the lib program.
9694 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9695 fix_srcfile_path='`cygpath -w "$srcfile"`'
9696 enable_shared_with_static_runtimes=yes
9697 ;;
9698
9699 darwin* | rhapsody*)
9700
9701
9702 archive_cmds_need_lc=no
9703 hardcode_direct=no
9704 hardcode_automatic=yes
9705 hardcode_shlibpath_var=unsupported
9706 if test "$lt_cv_ld_force_load" = "yes"; then
9707 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\"`'
9708 else
9709 whole_archive_flag_spec=''
9710 fi
9711 link_all_deplibs=yes
9712 allow_undefined_flag="$_lt_dar_allow_undefined"
9713 case $cc_basename in
9714 ifort*) _lt_dar_can_shared=yes ;;
9715 *) _lt_dar_can_shared=$GCC ;;
9716 esac
9717 if test "$_lt_dar_can_shared" = "yes"; then
9718 output_verbose_link_cmd=func_echo_all
9719 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9720 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9721 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}"
9722 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}"
9723
9724 else
9725 ld_shlibs=no
9726 fi
9727
9728 ;;
9729
9730 dgux*)
9731 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9732 hardcode_libdir_flag_spec='-L$libdir'
9733 hardcode_shlibpath_var=no
9734 ;;
9735
9736 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9737 # support. Future versions do this automatically, but an explicit c++rt0.o
9738 # does not break anything, and helps significantly (at the cost of a little
9739 # extra space).
9740 freebsd2.2*)
9741 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9742 hardcode_libdir_flag_spec='-R$libdir'
9743 hardcode_direct=yes
9744 hardcode_shlibpath_var=no
9745 ;;
9746
9747 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9748 freebsd2.*)
9749 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9750 hardcode_direct=yes
9751 hardcode_minus_L=yes
9752 hardcode_shlibpath_var=no
9753 ;;
9754
9755 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9756 freebsd* | dragonfly*)
9757 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9758 hardcode_libdir_flag_spec='-R$libdir'
9759 hardcode_direct=yes
9760 hardcode_shlibpath_var=no
9761 ;;
9762
9763 hpux9*)
9764 if test "$GCC" = yes; then
9765 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'
9766 else
9767 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'
9768 fi
9769 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9770 hardcode_libdir_separator=:
9771 hardcode_direct=yes
9772
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 export_dynamic_flag_spec='${wl}-E'
9777 ;;
9778
9779 hpux10*)
9780 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9781 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9782 else
9783 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9784 fi
9785 if test "$with_gnu_ld" = no; then
9786 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9787 hardcode_libdir_flag_spec_ld='+b $libdir'
9788 hardcode_libdir_separator=:
9789 hardcode_direct=yes
9790 hardcode_direct_absolute=yes
9791 export_dynamic_flag_spec='${wl}-E'
9792 # hardcode_minus_L: Not really in the search PATH,
9793 # but as the default location of the library.
9794 hardcode_minus_L=yes
9795 fi
9796 ;;
9797
9798 hpux11*)
9799 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9800 case $host_cpu in
9801 hppa*64*)
9802 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9803 ;;
9804 ia64*)
9805 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9806 ;;
9807 *)
9808 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9809 ;;
9810 esac
9811 else
9812 case $host_cpu in
9813 hppa*64*)
9814 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9815 ;;
9816 ia64*)
9817 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9818 ;;
9819 *)
9820
9821 # Older versions of the 11.00 compiler do not understand -b yet
9822 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9824 $as_echo_n "checking if $CC understands -b... " >&6; }
9825 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9826 $as_echo_n "(cached) " >&6
9827 else
9828 lt_cv_prog_compiler__b=no
9829 save_LDFLAGS="$LDFLAGS"
9830 LDFLAGS="$LDFLAGS -b"
9831 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9832 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9833 # The linker can only warn and ignore the option if not recognized
9834 # So say no if there are warnings
9835 if test -s conftest.err; then
9836 # Append any errors to the config.log.
9837 cat conftest.err 1>&5
9838 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9839 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9840 if diff conftest.exp conftest.er2 >/dev/null; then
9841 lt_cv_prog_compiler__b=yes
9842 fi
9843 else
9844 lt_cv_prog_compiler__b=yes
9845 fi
9846 fi
9847 $RM -r conftest*
9848 LDFLAGS="$save_LDFLAGS"
9849
9850 fi
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9852 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9853
9854 if test x"$lt_cv_prog_compiler__b" = xyes; then
9855 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9856 else
9857 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9858 fi
9859
9860 ;;
9861 esac
9862 fi
9863 if test "$with_gnu_ld" = no; then
9864 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9865 hardcode_libdir_separator=:
9866
9867 case $host_cpu in
9868 hppa*64*|ia64*)
9869 hardcode_direct=no
9870 hardcode_shlibpath_var=no
9871 ;;
9872 *)
9873 hardcode_direct=yes
9874 hardcode_direct_absolute=yes
9875 export_dynamic_flag_spec='${wl}-E'
9876
9877 # hardcode_minus_L: Not really in the search PATH,
9878 # but as the default location of the library.
9879 hardcode_minus_L=yes
9880 ;;
9881 esac
9882 fi
9883 ;;
9884
9885 irix5* | irix6* | nonstopux*)
9886 if test "$GCC" = yes; then
9887 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'
9888 # Try to use the -exported_symbol ld option, if it does not
9889 # work, assume that -exports_file does not work either and
9890 # implicitly export all symbols.
9891 save_LDFLAGS="$LDFLAGS"
9892 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9893 if test x$gcc_no_link = xyes; then
9894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9895 fi
9896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9898 int foo(void) {}
9899 _ACEOF
9900 if ac_fn_c_try_link "$LINENO"; then :
9901 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'
9902
9903 fi
9904 rm -f core conftest.err conftest.$ac_objext \
9905 conftest$ac_exeext conftest.$ac_ext
9906 LDFLAGS="$save_LDFLAGS"
9907 else
9908 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'
9909 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'
9910 fi
9911 archive_cmds_need_lc='no'
9912 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9913 hardcode_libdir_separator=:
9914 inherit_rpath=yes
9915 link_all_deplibs=yes
9916 ;;
9917
9918 netbsd*)
9919 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9920 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9921 else
9922 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9923 fi
9924 hardcode_libdir_flag_spec='-R$libdir'
9925 hardcode_direct=yes
9926 hardcode_shlibpath_var=no
9927 ;;
9928
9929 newsos6)
9930 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9931 hardcode_direct=yes
9932 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9933 hardcode_libdir_separator=:
9934 hardcode_shlibpath_var=no
9935 ;;
9936
9937 *nto* | *qnx*)
9938 ;;
9939
9940 openbsd*)
9941 if test -f /usr/libexec/ld.so; then
9942 hardcode_direct=yes
9943 hardcode_shlibpath_var=no
9944 hardcode_direct_absolute=yes
9945 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9946 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9947 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9948 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9949 export_dynamic_flag_spec='${wl}-E'
9950 else
9951 case $host_os in
9952 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9953 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9954 hardcode_libdir_flag_spec='-R$libdir'
9955 ;;
9956 *)
9957 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9958 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9959 ;;
9960 esac
9961 fi
9962 else
9963 ld_shlibs=no
9964 fi
9965 ;;
9966
9967 os2*)
9968 hardcode_libdir_flag_spec='-L$libdir'
9969 hardcode_minus_L=yes
9970 allow_undefined_flag=unsupported
9971 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'
9972 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9973 ;;
9974
9975 osf3*)
9976 if test "$GCC" = yes; then
9977 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9978 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'
9979 else
9980 allow_undefined_flag=' -expect_unresolved \*'
9981 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'
9982 fi
9983 archive_cmds_need_lc='no'
9984 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9985 hardcode_libdir_separator=:
9986 ;;
9987
9988 osf4* | osf5*) # as osf3* with the addition of -msym flag
9989 if test "$GCC" = yes; then
9990 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9991 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'
9992 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9993 else
9994 allow_undefined_flag=' -expect_unresolved \*'
9995 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'
9996 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~
9997 $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'
9998
9999 # Both c and cxx compiler support -rpath directly
10000 hardcode_libdir_flag_spec='-rpath $libdir'
10001 fi
10002 archive_cmds_need_lc='no'
10003 hardcode_libdir_separator=:
10004 ;;
10005
10006 solaris*)
10007 no_undefined_flag=' -z defs'
10008 if test "$GCC" = yes; then
10009 wlarc='${wl}'
10010 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10011 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10012 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10013 else
10014 case `$CC -V 2>&1` in
10015 *"Compilers 5.0"*)
10016 wlarc=''
10017 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10018 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10019 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10020 ;;
10021 *)
10022 wlarc='${wl}'
10023 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10024 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10025 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10026 ;;
10027 esac
10028 fi
10029 hardcode_libdir_flag_spec='-R$libdir'
10030 hardcode_shlibpath_var=no
10031 case $host_os in
10032 solaris2.[0-5] | solaris2.[0-5].*) ;;
10033 *)
10034 # The compiler driver will combine and reorder linker options,
10035 # but understands `-z linker_flag'. GCC discards it without `$wl',
10036 # but is careful enough not to reorder.
10037 # Supported since Solaris 2.6 (maybe 2.5.1?)
10038 if test "$GCC" = yes; then
10039 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10040 else
10041 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10042 fi
10043 ;;
10044 esac
10045 link_all_deplibs=yes
10046 ;;
10047
10048 sunos4*)
10049 if test "x$host_vendor" = xsequent; then
10050 # Use $CC to link under sequent, because it throws in some extra .o
10051 # files that make .init and .fini sections work.
10052 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10053 else
10054 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10055 fi
10056 hardcode_libdir_flag_spec='-L$libdir'
10057 hardcode_direct=yes
10058 hardcode_minus_L=yes
10059 hardcode_shlibpath_var=no
10060 ;;
10061
10062 sysv4)
10063 case $host_vendor in
10064 sni)
10065 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10066 hardcode_direct=yes # is this really true???
10067 ;;
10068 siemens)
10069 ## LD is ld it makes a PLAMLIB
10070 ## CC just makes a GrossModule.
10071 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10072 reload_cmds='$CC -r -o $output$reload_objs'
10073 hardcode_direct=no
10074 ;;
10075 motorola)
10076 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10077 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10078 ;;
10079 esac
10080 runpath_var='LD_RUN_PATH'
10081 hardcode_shlibpath_var=no
10082 ;;
10083
10084 sysv4.3*)
10085 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10086 hardcode_shlibpath_var=no
10087 export_dynamic_flag_spec='-Bexport'
10088 ;;
10089
10090 sysv4*MP*)
10091 if test -d /usr/nec; then
10092 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10093 hardcode_shlibpath_var=no
10094 runpath_var=LD_RUN_PATH
10095 hardcode_runpath_var=yes
10096 ld_shlibs=yes
10097 fi
10098 ;;
10099
10100 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10101 no_undefined_flag='${wl}-z,text'
10102 archive_cmds_need_lc=no
10103 hardcode_shlibpath_var=no
10104 runpath_var='LD_RUN_PATH'
10105
10106 if test "$GCC" = yes; then
10107 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10108 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10109 else
10110 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10111 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10112 fi
10113 ;;
10114
10115 sysv5* | sco3.2v5* | sco5v6*)
10116 # Note: We can NOT use -z defs as we might desire, because we do not
10117 # link with -lc, and that would cause any symbols used from libc to
10118 # always be unresolved, which means just about no library would
10119 # ever link correctly. If we're not using GNU ld we use -z text
10120 # though, which does catch some bad symbols but isn't as heavy-handed
10121 # as -z defs.
10122 no_undefined_flag='${wl}-z,text'
10123 allow_undefined_flag='${wl}-z,nodefs'
10124 archive_cmds_need_lc=no
10125 hardcode_shlibpath_var=no
10126 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10127 hardcode_libdir_separator=':'
10128 link_all_deplibs=yes
10129 export_dynamic_flag_spec='${wl}-Bexport'
10130 runpath_var='LD_RUN_PATH'
10131
10132 if test "$GCC" = yes; then
10133 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10134 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10135 else
10136 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10137 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10138 fi
10139 ;;
10140
10141 uts4*)
10142 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10143 hardcode_libdir_flag_spec='-L$libdir'
10144 hardcode_shlibpath_var=no
10145 ;;
10146
10147 *)
10148 ld_shlibs=no
10149 ;;
10150 esac
10151
10152 if test x$host_vendor = xsni; then
10153 case $host in
10154 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10155 export_dynamic_flag_spec='${wl}-Blargedynsym'
10156 ;;
10157 esac
10158 fi
10159 fi
10160
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10162 $as_echo "$ld_shlibs" >&6; }
10163 test "$ld_shlibs" = no && can_build_shared=no
10164
10165 with_gnu_ld=$with_gnu_ld
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181 #
10182 # Do we need to explicitly link libc?
10183 #
10184 case "x$archive_cmds_need_lc" in
10185 x|xyes)
10186 # Assume -lc should be added
10187 archive_cmds_need_lc=yes
10188
10189 if test "$enable_shared" = yes && test "$GCC" = yes; then
10190 case $archive_cmds in
10191 *'~'*)
10192 # FIXME: we may have to deal with multi-command sequences.
10193 ;;
10194 '$CC '*)
10195 # Test whether the compiler implicitly links with -lc since on some
10196 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10197 # to ld, don't add -lc before -lgcc.
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10199 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10200 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10201 $as_echo_n "(cached) " >&6
10202 else
10203 $RM conftest*
10204 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10205
10206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10207 (eval $ac_compile) 2>&5
10208 ac_status=$?
10209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10210 test $ac_status = 0; } 2>conftest.err; then
10211 soname=conftest
10212 lib=conftest
10213 libobjs=conftest.$ac_objext
10214 deplibs=
10215 wl=$lt_prog_compiler_wl
10216 pic_flag=$lt_prog_compiler_pic
10217 compiler_flags=-v
10218 linker_flags=-v
10219 verstring=
10220 output_objdir=.
10221 libname=conftest
10222 lt_save_allow_undefined_flag=$allow_undefined_flag
10223 allow_undefined_flag=
10224 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10225 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10226 ac_status=$?
10227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10228 test $ac_status = 0; }
10229 then
10230 lt_cv_archive_cmds_need_lc=no
10231 else
10232 lt_cv_archive_cmds_need_lc=yes
10233 fi
10234 allow_undefined_flag=$lt_save_allow_undefined_flag
10235 else
10236 cat conftest.err 1>&5
10237 fi
10238 $RM conftest*
10239
10240 fi
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10242 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10243 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10244 ;;
10245 esac
10246 fi
10247 ;;
10248 esac
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10407 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10408
10409 if test "$GCC" = yes; then
10410 case $host_os in
10411 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10412 *) lt_awk_arg="/^libraries:/" ;;
10413 esac
10414 case $host_os in
10415 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10416 *) lt_sed_strip_eq="s,=/,/,g" ;;
10417 esac
10418 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10419 case $lt_search_path_spec in
10420 *\;*)
10421 # if the path contains ";" then we assume it to be the separator
10422 # otherwise default to the standard path separator (i.e. ":") - it is
10423 # assumed that no part of a normal pathname contains ";" but that should
10424 # okay in the real world where ";" in dirpaths is itself problematic.
10425 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10426 ;;
10427 *)
10428 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10429 ;;
10430 esac
10431 # Ok, now we have the path, separated by spaces, we can step through it
10432 # and add multilib dir if necessary.
10433 lt_tmp_lt_search_path_spec=
10434 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10435 for lt_sys_path in $lt_search_path_spec; do
10436 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10437 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10438 else
10439 test -d "$lt_sys_path" && \
10440 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10441 fi
10442 done
10443 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10444 BEGIN {RS=" "; FS="/|\n";} {
10445 lt_foo="";
10446 lt_count=0;
10447 for (lt_i = NF; lt_i > 0; lt_i--) {
10448 if ($lt_i != "" && $lt_i != ".") {
10449 if ($lt_i == "..") {
10450 lt_count++;
10451 } else {
10452 if (lt_count == 0) {
10453 lt_foo="/" $lt_i lt_foo;
10454 } else {
10455 lt_count--;
10456 }
10457 }
10458 }
10459 }
10460 if (lt_foo != "") { lt_freq[lt_foo]++; }
10461 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10462 }'`
10463 # AWK program above erroneously prepends '/' to C:/dos/paths
10464 # for these hosts.
10465 case $host_os in
10466 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10467 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10468 esac
10469 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10470 else
10471 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10472 fi
10473 library_names_spec=
10474 libname_spec='lib$name'
10475 soname_spec=
10476 shrext_cmds=".so"
10477 postinstall_cmds=
10478 postuninstall_cmds=
10479 finish_cmds=
10480 finish_eval=
10481 shlibpath_var=
10482 shlibpath_overrides_runpath=unknown
10483 version_type=none
10484 dynamic_linker="$host_os ld.so"
10485 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10486 need_lib_prefix=unknown
10487 hardcode_into_libs=no
10488
10489 # when you set need_version to no, make sure it does not cause -set_version
10490 # flags to be left without arguments
10491 need_version=unknown
10492
10493 case $host_os in
10494 aix3*)
10495 version_type=linux
10496 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10497 shlibpath_var=LIBPATH
10498
10499 # AIX 3 has no versioning support, so we append a major version to the name.
10500 soname_spec='${libname}${release}${shared_ext}$major'
10501 ;;
10502
10503 aix[4-9]*)
10504 version_type=linux
10505 need_lib_prefix=no
10506 need_version=no
10507 hardcode_into_libs=yes
10508 if test "$host_cpu" = ia64; then
10509 # AIX 5 supports IA64
10510 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10511 shlibpath_var=LD_LIBRARY_PATH
10512 else
10513 # With GCC up to 2.95.x, collect2 would create an import file
10514 # for dependence libraries. The import file would start with
10515 # the line `#! .'. This would cause the generated library to
10516 # depend on `.', always an invalid library. This was fixed in
10517 # development snapshots of GCC prior to 3.0.
10518 case $host_os in
10519 aix4 | aix4.[01] | aix4.[01].*)
10520 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10521 echo ' yes '
10522 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10523 :
10524 else
10525 can_build_shared=no
10526 fi
10527 ;;
10528 esac
10529 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10530 # soname into executable. Probably we can add versioning support to
10531 # collect2, so additional links can be useful in future.
10532 if test "$aix_use_runtimelinking" = yes; then
10533 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10534 # instead of lib<name>.a to let people know that these are not
10535 # typical AIX shared libraries.
10536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10537 else
10538 # We preserve .a as extension for shared libraries through AIX4.2
10539 # and later when we are not doing run time linking.
10540 library_names_spec='${libname}${release}.a $libname.a'
10541 soname_spec='${libname}${release}${shared_ext}$major'
10542 fi
10543 shlibpath_var=LIBPATH
10544 fi
10545 ;;
10546
10547 amigaos*)
10548 case $host_cpu in
10549 powerpc)
10550 # Since July 2007 AmigaOS4 officially supports .so libraries.
10551 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10553 ;;
10554 m68k)
10555 library_names_spec='$libname.ixlibrary $libname.a'
10556 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10557 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'
10558 ;;
10559 esac
10560 ;;
10561
10562 beos*)
10563 library_names_spec='${libname}${shared_ext}'
10564 dynamic_linker="$host_os ld.so"
10565 shlibpath_var=LIBRARY_PATH
10566 ;;
10567
10568 bsdi[45]*)
10569 version_type=linux
10570 need_version=no
10571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10572 soname_spec='${libname}${release}${shared_ext}$major'
10573 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10574 shlibpath_var=LD_LIBRARY_PATH
10575 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10576 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10577 # the default ld.so.conf also contains /usr/contrib/lib and
10578 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10579 # libtool to hard-code these into programs
10580 ;;
10581
10582 cygwin* | mingw* | pw32* | cegcc*)
10583 version_type=windows
10584 shrext_cmds=".dll"
10585 need_version=no
10586 need_lib_prefix=no
10587
10588 case $GCC,$host_os in
10589 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10590 library_names_spec='$libname.dll.a'
10591 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10592 postinstall_cmds='base_file=`basename \${file}`~
10593 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10594 dldir=$destdir/`dirname \$dlpath`~
10595 test -d \$dldir || mkdir -p \$dldir~
10596 $install_prog $dir/$dlname \$dldir/$dlname~
10597 chmod a+x \$dldir/$dlname~
10598 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10599 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10600 fi'
10601 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10602 dlpath=$dir/\$dldll~
10603 $RM \$dlpath'
10604 shlibpath_overrides_runpath=yes
10605
10606 case $host_os in
10607 cygwin*)
10608 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10609 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10610
10611 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10612 ;;
10613 mingw* | cegcc*)
10614 # MinGW DLLs use traditional 'lib' prefix
10615 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10616 ;;
10617 pw32*)
10618 # pw32 DLLs use 'pw' prefix rather than 'lib'
10619 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10620 ;;
10621 esac
10622 ;;
10623
10624 *)
10625 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10626 ;;
10627 esac
10628 dynamic_linker='Win32 ld.exe'
10629 # FIXME: first we should search . and the directory the executable is in
10630 shlibpath_var=PATH
10631 ;;
10632
10633 darwin* | rhapsody*)
10634 dynamic_linker="$host_os dyld"
10635 version_type=darwin
10636 need_lib_prefix=no
10637 need_version=no
10638 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10639 soname_spec='${libname}${release}${major}$shared_ext'
10640 shlibpath_overrides_runpath=yes
10641 shlibpath_var=DYLD_LIBRARY_PATH
10642 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10643
10644 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10645 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10646 ;;
10647
10648 dgux*)
10649 version_type=linux
10650 need_lib_prefix=no
10651 need_version=no
10652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10653 soname_spec='${libname}${release}${shared_ext}$major'
10654 shlibpath_var=LD_LIBRARY_PATH
10655 ;;
10656
10657 freebsd* | dragonfly*)
10658 # DragonFly does not have aout. When/if they implement a new
10659 # versioning mechanism, adjust this.
10660 if test -x /usr/bin/objformat; then
10661 objformat=`/usr/bin/objformat`
10662 else
10663 case $host_os in
10664 freebsd[23].*) objformat=aout ;;
10665 *) objformat=elf ;;
10666 esac
10667 fi
10668 version_type=freebsd-$objformat
10669 case $version_type in
10670 freebsd-elf*)
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10672 need_version=no
10673 need_lib_prefix=no
10674 ;;
10675 freebsd-*)
10676 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10677 need_version=yes
10678 ;;
10679 esac
10680 shlibpath_var=LD_LIBRARY_PATH
10681 case $host_os in
10682 freebsd2.*)
10683 shlibpath_overrides_runpath=yes
10684 ;;
10685 freebsd3.[01]* | freebsdelf3.[01]*)
10686 shlibpath_overrides_runpath=yes
10687 hardcode_into_libs=yes
10688 ;;
10689 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10690 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10691 shlibpath_overrides_runpath=no
10692 hardcode_into_libs=yes
10693 ;;
10694 *) # from 4.6 on, and DragonFly
10695 shlibpath_overrides_runpath=yes
10696 hardcode_into_libs=yes
10697 ;;
10698 esac
10699 ;;
10700
10701 gnu*)
10702 version_type=linux
10703 need_lib_prefix=no
10704 need_version=no
10705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10706 soname_spec='${libname}${release}${shared_ext}$major'
10707 shlibpath_var=LD_LIBRARY_PATH
10708 hardcode_into_libs=yes
10709 ;;
10710
10711 haiku*)
10712 version_type=linux
10713 need_lib_prefix=no
10714 need_version=no
10715 dynamic_linker="$host_os runtime_loader"
10716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10717 soname_spec='${libname}${release}${shared_ext}$major'
10718 shlibpath_var=LIBRARY_PATH
10719 shlibpath_overrides_runpath=yes
10720 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10721 hardcode_into_libs=yes
10722 ;;
10723
10724 hpux9* | hpux10* | hpux11*)
10725 # Give a soname corresponding to the major version so that dld.sl refuses to
10726 # link against other versions.
10727 version_type=sunos
10728 need_lib_prefix=no
10729 need_version=no
10730 case $host_cpu in
10731 ia64*)
10732 shrext_cmds='.so'
10733 hardcode_into_libs=yes
10734 dynamic_linker="$host_os dld.so"
10735 shlibpath_var=LD_LIBRARY_PATH
10736 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10738 soname_spec='${libname}${release}${shared_ext}$major'
10739 if test "X$HPUX_IA64_MODE" = X32; then
10740 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10741 else
10742 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10743 fi
10744 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10745 ;;
10746 hppa*64*)
10747 shrext_cmds='.sl'
10748 hardcode_into_libs=yes
10749 dynamic_linker="$host_os dld.sl"
10750 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10751 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10753 soname_spec='${libname}${release}${shared_ext}$major'
10754 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10755 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10756 ;;
10757 *)
10758 shrext_cmds='.sl'
10759 dynamic_linker="$host_os dld.sl"
10760 shlibpath_var=SHLIB_PATH
10761 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10763 soname_spec='${libname}${release}${shared_ext}$major'
10764 ;;
10765 esac
10766 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10767 postinstall_cmds='chmod 555 $lib'
10768 # or fails outright, so override atomically:
10769 install_override_mode=555
10770 ;;
10771
10772 interix[3-9]*)
10773 version_type=linux
10774 need_lib_prefix=no
10775 need_version=no
10776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10777 soname_spec='${libname}${release}${shared_ext}$major'
10778 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10779 shlibpath_var=LD_LIBRARY_PATH
10780 shlibpath_overrides_runpath=no
10781 hardcode_into_libs=yes
10782 ;;
10783
10784 irix5* | irix6* | nonstopux*)
10785 case $host_os in
10786 nonstopux*) version_type=nonstopux ;;
10787 *)
10788 if test "$lt_cv_prog_gnu_ld" = yes; then
10789 version_type=linux
10790 else
10791 version_type=irix
10792 fi ;;
10793 esac
10794 need_lib_prefix=no
10795 need_version=no
10796 soname_spec='${libname}${release}${shared_ext}$major'
10797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10798 case $host_os in
10799 irix5* | nonstopux*)
10800 libsuff= shlibsuff=
10801 ;;
10802 *)
10803 case $LD in # libtool.m4 will add one of these switches to LD
10804 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10805 libsuff= shlibsuff= libmagic=32-bit;;
10806 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10807 libsuff=32 shlibsuff=N32 libmagic=N32;;
10808 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10809 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10810 *) libsuff= shlibsuff= libmagic=never-match;;
10811 esac
10812 ;;
10813 esac
10814 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10815 shlibpath_overrides_runpath=no
10816 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10817 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10818 hardcode_into_libs=yes
10819 ;;
10820
10821 # No shared lib support for Linux oldld, aout, or coff.
10822 linux*oldld* | linux*aout* | linux*coff*)
10823 dynamic_linker=no
10824 ;;
10825
10826 # This must be Linux ELF.
10827 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10828 version_type=linux
10829 need_lib_prefix=no
10830 need_version=no
10831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10832 soname_spec='${libname}${release}${shared_ext}$major'
10833 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10834 shlibpath_var=LD_LIBRARY_PATH
10835 shlibpath_overrides_runpath=no
10836
10837 # Some binutils ld are patched to set DT_RUNPATH
10838 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10839 $as_echo_n "(cached) " >&6
10840 else
10841 lt_cv_shlibpath_overrides_runpath=no
10842 save_LDFLAGS=$LDFLAGS
10843 save_libdir=$libdir
10844 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10845 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10846 if test x$gcc_no_link = xyes; then
10847 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10848 fi
10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10851
10852 int
10853 main ()
10854 {
10855
10856 ;
10857 return 0;
10858 }
10859 _ACEOF
10860 if ac_fn_c_try_link "$LINENO"; then :
10861 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10862 lt_cv_shlibpath_overrides_runpath=yes
10863 fi
10864 fi
10865 rm -f core conftest.err conftest.$ac_objext \
10866 conftest$ac_exeext conftest.$ac_ext
10867 LDFLAGS=$save_LDFLAGS
10868 libdir=$save_libdir
10869
10870 fi
10871
10872 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10873
10874 # This implies no fast_install, which is unacceptable.
10875 # Some rework will be needed to allow for fast_install
10876 # before this can be enabled.
10877 hardcode_into_libs=yes
10878
10879 # Append ld.so.conf contents to the search path
10880 if test -f /etc/ld.so.conf; then
10881 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' ' '`
10882 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10883 fi
10884
10885 # We used to test for /lib/ld.so.1 and disable shared libraries on
10886 # powerpc, because MkLinux only supported shared libraries with the
10887 # GNU dynamic linker. Since this was broken with cross compilers,
10888 # most powerpc-linux boxes support dynamic linking these days and
10889 # people can always --disable-shared, the test was removed, and we
10890 # assume the GNU/Linux dynamic linker is in use.
10891 dynamic_linker='GNU/Linux ld.so'
10892 ;;
10893
10894 netbsd*)
10895 version_type=sunos
10896 need_lib_prefix=no
10897 need_version=no
10898 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10900 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10901 dynamic_linker='NetBSD (a.out) ld.so'
10902 else
10903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10904 soname_spec='${libname}${release}${shared_ext}$major'
10905 dynamic_linker='NetBSD ld.elf_so'
10906 fi
10907 shlibpath_var=LD_LIBRARY_PATH
10908 shlibpath_overrides_runpath=yes
10909 hardcode_into_libs=yes
10910 ;;
10911
10912 newsos6)
10913 version_type=linux
10914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10915 shlibpath_var=LD_LIBRARY_PATH
10916 shlibpath_overrides_runpath=yes
10917 ;;
10918
10919 *nto* | *qnx*)
10920 version_type=qnx
10921 need_lib_prefix=no
10922 need_version=no
10923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10924 soname_spec='${libname}${release}${shared_ext}$major'
10925 shlibpath_var=LD_LIBRARY_PATH
10926 shlibpath_overrides_runpath=no
10927 hardcode_into_libs=yes
10928 dynamic_linker='ldqnx.so'
10929 ;;
10930
10931 openbsd*)
10932 version_type=sunos
10933 sys_lib_dlsearch_path_spec="/usr/lib"
10934 need_lib_prefix=no
10935 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10936 case $host_os in
10937 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10938 *) need_version=no ;;
10939 esac
10940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10941 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10942 shlibpath_var=LD_LIBRARY_PATH
10943 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10944 case $host_os in
10945 openbsd2.[89] | openbsd2.[89].*)
10946 shlibpath_overrides_runpath=no
10947 ;;
10948 *)
10949 shlibpath_overrides_runpath=yes
10950 ;;
10951 esac
10952 else
10953 shlibpath_overrides_runpath=yes
10954 fi
10955 ;;
10956
10957 os2*)
10958 libname_spec='$name'
10959 shrext_cmds=".dll"
10960 need_lib_prefix=no
10961 library_names_spec='$libname${shared_ext} $libname.a'
10962 dynamic_linker='OS/2 ld.exe'
10963 shlibpath_var=LIBPATH
10964 ;;
10965
10966 osf3* | osf4* | osf5*)
10967 version_type=osf
10968 need_lib_prefix=no
10969 need_version=no
10970 soname_spec='${libname}${release}${shared_ext}$major'
10971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10972 shlibpath_var=LD_LIBRARY_PATH
10973 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10974 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10975 ;;
10976
10977 rdos*)
10978 dynamic_linker=no
10979 ;;
10980
10981 solaris*)
10982 version_type=linux
10983 need_lib_prefix=no
10984 need_version=no
10985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10986 soname_spec='${libname}${release}${shared_ext}$major'
10987 shlibpath_var=LD_LIBRARY_PATH
10988 shlibpath_overrides_runpath=yes
10989 hardcode_into_libs=yes
10990 # ldd complains unless libraries are executable
10991 postinstall_cmds='chmod +x $lib'
10992 ;;
10993
10994 sunos4*)
10995 version_type=sunos
10996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10997 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10998 shlibpath_var=LD_LIBRARY_PATH
10999 shlibpath_overrides_runpath=yes
11000 if test "$with_gnu_ld" = yes; then
11001 need_lib_prefix=no
11002 fi
11003 need_version=yes
11004 ;;
11005
11006 sysv4 | sysv4.3*)
11007 version_type=linux
11008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11009 soname_spec='${libname}${release}${shared_ext}$major'
11010 shlibpath_var=LD_LIBRARY_PATH
11011 case $host_vendor in
11012 sni)
11013 shlibpath_overrides_runpath=no
11014 need_lib_prefix=no
11015 runpath_var=LD_RUN_PATH
11016 ;;
11017 siemens)
11018 need_lib_prefix=no
11019 ;;
11020 motorola)
11021 need_lib_prefix=no
11022 need_version=no
11023 shlibpath_overrides_runpath=no
11024 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11025 ;;
11026 esac
11027 ;;
11028
11029 sysv4*MP*)
11030 if test -d /usr/nec ;then
11031 version_type=linux
11032 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11033 soname_spec='$libname${shared_ext}.$major'
11034 shlibpath_var=LD_LIBRARY_PATH
11035 fi
11036 ;;
11037
11038 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11039 version_type=freebsd-elf
11040 need_lib_prefix=no
11041 need_version=no
11042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11043 soname_spec='${libname}${release}${shared_ext}$major'
11044 shlibpath_var=LD_LIBRARY_PATH
11045 shlibpath_overrides_runpath=yes
11046 hardcode_into_libs=yes
11047 if test "$with_gnu_ld" = yes; then
11048 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11049 else
11050 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11051 case $host_os in
11052 sco3.2v5*)
11053 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11054 ;;
11055 esac
11056 fi
11057 sys_lib_dlsearch_path_spec='/usr/lib'
11058 ;;
11059
11060 tpf*)
11061 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11062 version_type=linux
11063 need_lib_prefix=no
11064 need_version=no
11065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11066 shlibpath_var=LD_LIBRARY_PATH
11067 shlibpath_overrides_runpath=no
11068 hardcode_into_libs=yes
11069 ;;
11070
11071 uts4*)
11072 version_type=linux
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 soname_spec='${libname}${release}${shared_ext}$major'
11075 shlibpath_var=LD_LIBRARY_PATH
11076 ;;
11077
11078 *)
11079 dynamic_linker=no
11080 ;;
11081 esac
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11083 $as_echo "$dynamic_linker" >&6; }
11084 test "$dynamic_linker" = no && can_build_shared=no
11085
11086 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11087 if test "$GCC" = yes; then
11088 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11089 fi
11090
11091 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11092 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11093 fi
11094 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11095 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11096 fi
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11190 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11191 hardcode_action=
11192 if test -n "$hardcode_libdir_flag_spec" ||
11193 test -n "$runpath_var" ||
11194 test "X$hardcode_automatic" = "Xyes" ; then
11195
11196 # We can hardcode non-existent directories.
11197 if test "$hardcode_direct" != no &&
11198 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11199 # have to relink, otherwise we might link with an installed library
11200 # when we should be linking with a yet-to-be-installed one
11201 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11202 test "$hardcode_minus_L" != no; then
11203 # Linking always hardcodes the temporary library directory.
11204 hardcode_action=relink
11205 else
11206 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11207 hardcode_action=immediate
11208 fi
11209 else
11210 # We cannot hardcode anything, or else we can only hardcode existing
11211 # directories.
11212 hardcode_action=unsupported
11213 fi
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11215 $as_echo "$hardcode_action" >&6; }
11216
11217 if test "$hardcode_action" = relink ||
11218 test "$inherit_rpath" = yes; then
11219 # Fast installation is not supported
11220 enable_fast_install=no
11221 elif test "$shlibpath_overrides_runpath" = yes ||
11222 test "$enable_shared" = no; then
11223 # Fast installation is not necessary
11224 enable_fast_install=needless
11225 fi
11226
11227
11228
11229
11230
11231
11232 if test "x$enable_dlopen" != xyes; then
11233 enable_dlopen=unknown
11234 enable_dlopen_self=unknown
11235 enable_dlopen_self_static=unknown
11236 else
11237 lt_cv_dlopen=no
11238 lt_cv_dlopen_libs=
11239
11240 case $host_os in
11241 beos*)
11242 lt_cv_dlopen="load_add_on"
11243 lt_cv_dlopen_libs=
11244 lt_cv_dlopen_self=yes
11245 ;;
11246
11247 mingw* | pw32* | cegcc*)
11248 lt_cv_dlopen="LoadLibrary"
11249 lt_cv_dlopen_libs=
11250 ;;
11251
11252 cygwin*)
11253 lt_cv_dlopen="dlopen"
11254 lt_cv_dlopen_libs=
11255 ;;
11256
11257 darwin*)
11258 # if libdl is installed we need to link against it
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11260 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11261 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11262 $as_echo_n "(cached) " >&6
11263 else
11264 ac_check_lib_save_LIBS=$LIBS
11265 LIBS="-ldl $LIBS"
11266 if test x$gcc_no_link = xyes; then
11267 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11268 fi
11269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11270 /* end confdefs.h. */
11271
11272 /* Override any GCC internal prototype to avoid an error.
11273 Use char because int might match the return type of a GCC
11274 builtin and then its argument prototype would still apply. */
11275 #ifdef __cplusplus
11276 extern "C"
11277 #endif
11278 char dlopen ();
11279 int
11280 main ()
11281 {
11282 return dlopen ();
11283 ;
11284 return 0;
11285 }
11286 _ACEOF
11287 if ac_fn_c_try_link "$LINENO"; then :
11288 ac_cv_lib_dl_dlopen=yes
11289 else
11290 ac_cv_lib_dl_dlopen=no
11291 fi
11292 rm -f core conftest.err conftest.$ac_objext \
11293 conftest$ac_exeext conftest.$ac_ext
11294 LIBS=$ac_check_lib_save_LIBS
11295 fi
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11297 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11298 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11299 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11300 else
11301
11302 lt_cv_dlopen="dyld"
11303 lt_cv_dlopen_libs=
11304 lt_cv_dlopen_self=yes
11305
11306 fi
11307
11308 ;;
11309
11310 *)
11311 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11312 if test "x$ac_cv_func_shl_load" = x""yes; then :
11313 lt_cv_dlopen="shl_load"
11314 else
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11316 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11317 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11318 $as_echo_n "(cached) " >&6
11319 else
11320 ac_check_lib_save_LIBS=$LIBS
11321 LIBS="-ldld $LIBS"
11322 if test x$gcc_no_link = xyes; then
11323 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11324 fi
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11327
11328 /* Override any GCC internal prototype to avoid an error.
11329 Use char because int might match the return type of a GCC
11330 builtin and then its argument prototype would still apply. */
11331 #ifdef __cplusplus
11332 extern "C"
11333 #endif
11334 char shl_load ();
11335 int
11336 main ()
11337 {
11338 return shl_load ();
11339 ;
11340 return 0;
11341 }
11342 _ACEOF
11343 if ac_fn_c_try_link "$LINENO"; then :
11344 ac_cv_lib_dld_shl_load=yes
11345 else
11346 ac_cv_lib_dld_shl_load=no
11347 fi
11348 rm -f core conftest.err conftest.$ac_objext \
11349 conftest$ac_exeext conftest.$ac_ext
11350 LIBS=$ac_check_lib_save_LIBS
11351 fi
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11353 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11354 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11355 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11356 else
11357 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11358 if test "x$ac_cv_func_dlopen" = x""yes; then :
11359 lt_cv_dlopen="dlopen"
11360 else
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11362 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11363 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11364 $as_echo_n "(cached) " >&6
11365 else
11366 ac_check_lib_save_LIBS=$LIBS
11367 LIBS="-ldl $LIBS"
11368 if test x$gcc_no_link = xyes; then
11369 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11370 fi
11371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11373
11374 /* Override any GCC internal prototype to avoid an error.
11375 Use char because int might match the return type of a GCC
11376 builtin and then its argument prototype would still apply. */
11377 #ifdef __cplusplus
11378 extern "C"
11379 #endif
11380 char dlopen ();
11381 int
11382 main ()
11383 {
11384 return dlopen ();
11385 ;
11386 return 0;
11387 }
11388 _ACEOF
11389 if ac_fn_c_try_link "$LINENO"; then :
11390 ac_cv_lib_dl_dlopen=yes
11391 else
11392 ac_cv_lib_dl_dlopen=no
11393 fi
11394 rm -f core conftest.err conftest.$ac_objext \
11395 conftest$ac_exeext conftest.$ac_ext
11396 LIBS=$ac_check_lib_save_LIBS
11397 fi
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11399 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11400 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11401 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11402 else
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11404 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11405 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11406 $as_echo_n "(cached) " >&6
11407 else
11408 ac_check_lib_save_LIBS=$LIBS
11409 LIBS="-lsvld $LIBS"
11410 if test x$gcc_no_link = xyes; then
11411 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11412 fi
11413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11415
11416 /* Override any GCC internal prototype to avoid an error.
11417 Use char because int might match the return type of a GCC
11418 builtin and then its argument prototype would still apply. */
11419 #ifdef __cplusplus
11420 extern "C"
11421 #endif
11422 char dlopen ();
11423 int
11424 main ()
11425 {
11426 return dlopen ();
11427 ;
11428 return 0;
11429 }
11430 _ACEOF
11431 if ac_fn_c_try_link "$LINENO"; then :
11432 ac_cv_lib_svld_dlopen=yes
11433 else
11434 ac_cv_lib_svld_dlopen=no
11435 fi
11436 rm -f core conftest.err conftest.$ac_objext \
11437 conftest$ac_exeext conftest.$ac_ext
11438 LIBS=$ac_check_lib_save_LIBS
11439 fi
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11441 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11442 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11443 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11444 else
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11446 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11447 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11448 $as_echo_n "(cached) " >&6
11449 else
11450 ac_check_lib_save_LIBS=$LIBS
11451 LIBS="-ldld $LIBS"
11452 if test x$gcc_no_link = xyes; then
11453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11454 fi
11455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11456 /* end confdefs.h. */
11457
11458 /* Override any GCC internal prototype to avoid an error.
11459 Use char because int might match the return type of a GCC
11460 builtin and then its argument prototype would still apply. */
11461 #ifdef __cplusplus
11462 extern "C"
11463 #endif
11464 char dld_link ();
11465 int
11466 main ()
11467 {
11468 return dld_link ();
11469 ;
11470 return 0;
11471 }
11472 _ACEOF
11473 if ac_fn_c_try_link "$LINENO"; then :
11474 ac_cv_lib_dld_dld_link=yes
11475 else
11476 ac_cv_lib_dld_dld_link=no
11477 fi
11478 rm -f core conftest.err conftest.$ac_objext \
11479 conftest$ac_exeext conftest.$ac_ext
11480 LIBS=$ac_check_lib_save_LIBS
11481 fi
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11483 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11484 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11485 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11486 fi
11487
11488
11489 fi
11490
11491
11492 fi
11493
11494
11495 fi
11496
11497
11498 fi
11499
11500
11501 fi
11502
11503 ;;
11504 esac
11505
11506 if test "x$lt_cv_dlopen" != xno; then
11507 enable_dlopen=yes
11508 else
11509 enable_dlopen=no
11510 fi
11511
11512 case $lt_cv_dlopen in
11513 dlopen)
11514 save_CPPFLAGS="$CPPFLAGS"
11515 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11516
11517 save_LDFLAGS="$LDFLAGS"
11518 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11519
11520 save_LIBS="$LIBS"
11521 LIBS="$lt_cv_dlopen_libs $LIBS"
11522
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11524 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11525 if test "${lt_cv_dlopen_self+set}" = set; then :
11526 $as_echo_n "(cached) " >&6
11527 else
11528 if test "$cross_compiling" = yes; then :
11529 lt_cv_dlopen_self=cross
11530 else
11531 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11532 lt_status=$lt_dlunknown
11533 cat > conftest.$ac_ext <<_LT_EOF
11534 #line 11534 "configure"
11535 #include "confdefs.h"
11536
11537 #if HAVE_DLFCN_H
11538 #include <dlfcn.h>
11539 #endif
11540
11541 #include <stdio.h>
11542
11543 #ifdef RTLD_GLOBAL
11544 # define LT_DLGLOBAL RTLD_GLOBAL
11545 #else
11546 # ifdef DL_GLOBAL
11547 # define LT_DLGLOBAL DL_GLOBAL
11548 # else
11549 # define LT_DLGLOBAL 0
11550 # endif
11551 #endif
11552
11553 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11554 find out it does not work in some platform. */
11555 #ifndef LT_DLLAZY_OR_NOW
11556 # ifdef RTLD_LAZY
11557 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11558 # else
11559 # ifdef DL_LAZY
11560 # define LT_DLLAZY_OR_NOW DL_LAZY
11561 # else
11562 # ifdef RTLD_NOW
11563 # define LT_DLLAZY_OR_NOW RTLD_NOW
11564 # else
11565 # ifdef DL_NOW
11566 # define LT_DLLAZY_OR_NOW DL_NOW
11567 # else
11568 # define LT_DLLAZY_OR_NOW 0
11569 # endif
11570 # endif
11571 # endif
11572 # endif
11573 #endif
11574
11575 /* When -fvisbility=hidden is used, assume the code has been annotated
11576 correspondingly for the symbols needed. */
11577 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11578 void fnord () __attribute__((visibility("default")));
11579 #endif
11580
11581 void fnord () { int i=42; }
11582 int main ()
11583 {
11584 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11585 int status = $lt_dlunknown;
11586
11587 if (self)
11588 {
11589 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11590 else
11591 {
11592 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11593 else puts (dlerror ());
11594 }
11595 /* dlclose (self); */
11596 }
11597 else
11598 puts (dlerror ());
11599
11600 return status;
11601 }
11602 _LT_EOF
11603 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11604 (eval $ac_link) 2>&5
11605 ac_status=$?
11606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11607 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11608 (./conftest; exit; ) >&5 2>/dev/null
11609 lt_status=$?
11610 case x$lt_status in
11611 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11612 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11613 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11614 esac
11615 else :
11616 # compilation failed
11617 lt_cv_dlopen_self=no
11618 fi
11619 fi
11620 rm -fr conftest*
11621
11622
11623 fi
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11625 $as_echo "$lt_cv_dlopen_self" >&6; }
11626
11627 if test "x$lt_cv_dlopen_self" = xyes; then
11628 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11630 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11631 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11632 $as_echo_n "(cached) " >&6
11633 else
11634 if test "$cross_compiling" = yes; then :
11635 lt_cv_dlopen_self_static=cross
11636 else
11637 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11638 lt_status=$lt_dlunknown
11639 cat > conftest.$ac_ext <<_LT_EOF
11640 #line 11640 "configure"
11641 #include "confdefs.h"
11642
11643 #if HAVE_DLFCN_H
11644 #include <dlfcn.h>
11645 #endif
11646
11647 #include <stdio.h>
11648
11649 #ifdef RTLD_GLOBAL
11650 # define LT_DLGLOBAL RTLD_GLOBAL
11651 #else
11652 # ifdef DL_GLOBAL
11653 # define LT_DLGLOBAL DL_GLOBAL
11654 # else
11655 # define LT_DLGLOBAL 0
11656 # endif
11657 #endif
11658
11659 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11660 find out it does not work in some platform. */
11661 #ifndef LT_DLLAZY_OR_NOW
11662 # ifdef RTLD_LAZY
11663 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11664 # else
11665 # ifdef DL_LAZY
11666 # define LT_DLLAZY_OR_NOW DL_LAZY
11667 # else
11668 # ifdef RTLD_NOW
11669 # define LT_DLLAZY_OR_NOW RTLD_NOW
11670 # else
11671 # ifdef DL_NOW
11672 # define LT_DLLAZY_OR_NOW DL_NOW
11673 # else
11674 # define LT_DLLAZY_OR_NOW 0
11675 # endif
11676 # endif
11677 # endif
11678 # endif
11679 #endif
11680
11681 /* When -fvisbility=hidden is used, assume the code has been annotated
11682 correspondingly for the symbols needed. */
11683 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11684 void fnord () __attribute__((visibility("default")));
11685 #endif
11686
11687 void fnord () { int i=42; }
11688 int main ()
11689 {
11690 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11691 int status = $lt_dlunknown;
11692
11693 if (self)
11694 {
11695 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11696 else
11697 {
11698 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11699 else puts (dlerror ());
11700 }
11701 /* dlclose (self); */
11702 }
11703 else
11704 puts (dlerror ());
11705
11706 return status;
11707 }
11708 _LT_EOF
11709 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11710 (eval $ac_link) 2>&5
11711 ac_status=$?
11712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11713 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11714 (./conftest; exit; ) >&5 2>/dev/null
11715 lt_status=$?
11716 case x$lt_status in
11717 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11718 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11719 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11720 esac
11721 else :
11722 # compilation failed
11723 lt_cv_dlopen_self_static=no
11724 fi
11725 fi
11726 rm -fr conftest*
11727
11728
11729 fi
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11731 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11732 fi
11733
11734 CPPFLAGS="$save_CPPFLAGS"
11735 LDFLAGS="$save_LDFLAGS"
11736 LIBS="$save_LIBS"
11737 ;;
11738 esac
11739
11740 case $lt_cv_dlopen_self in
11741 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11742 *) enable_dlopen_self=unknown ;;
11743 esac
11744
11745 case $lt_cv_dlopen_self_static in
11746 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11747 *) enable_dlopen_self_static=unknown ;;
11748 esac
11749 fi
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767 striplib=
11768 old_striplib=
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11770 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11771 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11772 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11773 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11775 $as_echo "yes" >&6; }
11776 else
11777 # FIXME - insert some real tests, host_os isn't really good enough
11778 case $host_os in
11779 darwin*)
11780 if test -n "$STRIP" ; then
11781 striplib="$STRIP -x"
11782 old_striplib="$STRIP -S"
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11784 $as_echo "yes" >&6; }
11785 else
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787 $as_echo "no" >&6; }
11788 fi
11789 ;;
11790 *)
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11792 $as_echo "no" >&6; }
11793 ;;
11794 esac
11795 fi
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808 # Report which library types will actually be built
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11810 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11812 $as_echo "$can_build_shared" >&6; }
11813
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11815 $as_echo_n "checking whether to build shared libraries... " >&6; }
11816 test "$can_build_shared" = "no" && enable_shared=no
11817
11818 # On AIX, shared libraries and static libraries use the same namespace, and
11819 # are all built from PIC.
11820 case $host_os in
11821 aix3*)
11822 test "$enable_shared" = yes && enable_static=no
11823 if test -n "$RANLIB"; then
11824 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11825 postinstall_cmds='$RANLIB $lib'
11826 fi
11827 ;;
11828
11829 aix[4-9]*)
11830 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11831 test "$enable_shared" = yes && enable_static=no
11832 fi
11833 ;;
11834 esac
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11836 $as_echo "$enable_shared" >&6; }
11837
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11839 $as_echo_n "checking whether to build static libraries... " >&6; }
11840 # Make sure either enable_shared or enable_static is yes.
11841 test "$enable_shared" = yes || enable_static=yes
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11843 $as_echo "$enable_static" >&6; }
11844
11845
11846
11847
11848 fi
11849 ac_ext=c
11850 ac_cpp='$CPP $CPPFLAGS'
11851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11854
11855 CC="$lt_save_CC"
11856
11857 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11858 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11859 (test "X$CXX" != "Xg++"))) ; then
11860 ac_ext=cpp
11861 ac_cpp='$CXXCPP $CPPFLAGS'
11862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11866 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11867 if test -z "$CXXCPP"; then
11868 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11869 $as_echo_n "(cached) " >&6
11870 else
11871 # Double quotes because CXXCPP needs to be expanded
11872 for CXXCPP in "$CXX -E" "/lib/cpp"
11873 do
11874 ac_preproc_ok=false
11875 for ac_cxx_preproc_warn_flag in '' yes
11876 do
11877 # Use a header file that comes with gcc, so configuring glibc
11878 # with a fresh cross-compiler works.
11879 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11880 # <limits.h> exists even on freestanding compilers.
11881 # On the NeXT, cc -E runs the code through the compiler's parser,
11882 # not just through cpp. "Syntax error" is here to catch this case.
11883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11884 /* end confdefs.h. */
11885 #ifdef __STDC__
11886 # include <limits.h>
11887 #else
11888 # include <assert.h>
11889 #endif
11890 Syntax error
11891 _ACEOF
11892 if ac_fn_cxx_try_cpp "$LINENO"; then :
11893
11894 else
11895 # Broken: fails on valid input.
11896 continue
11897 fi
11898 rm -f conftest.err conftest.$ac_ext
11899
11900 # OK, works on sane cases. Now check whether nonexistent headers
11901 # can be detected and how.
11902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11903 /* end confdefs.h. */
11904 #include <ac_nonexistent.h>
11905 _ACEOF
11906 if ac_fn_cxx_try_cpp "$LINENO"; then :
11907 # Broken: success on invalid input.
11908 continue
11909 else
11910 # Passes both tests.
11911 ac_preproc_ok=:
11912 break
11913 fi
11914 rm -f conftest.err conftest.$ac_ext
11915
11916 done
11917 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11918 rm -f conftest.err conftest.$ac_ext
11919 if $ac_preproc_ok; then :
11920 break
11921 fi
11922
11923 done
11924 ac_cv_prog_CXXCPP=$CXXCPP
11925
11926 fi
11927 CXXCPP=$ac_cv_prog_CXXCPP
11928 else
11929 ac_cv_prog_CXXCPP=$CXXCPP
11930 fi
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11932 $as_echo "$CXXCPP" >&6; }
11933 ac_preproc_ok=false
11934 for ac_cxx_preproc_warn_flag in '' yes
11935 do
11936 # Use a header file that comes with gcc, so configuring glibc
11937 # with a fresh cross-compiler works.
11938 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11939 # <limits.h> exists even on freestanding compilers.
11940 # On the NeXT, cc -E runs the code through the compiler's parser,
11941 # not just through cpp. "Syntax error" is here to catch this case.
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11944 #ifdef __STDC__
11945 # include <limits.h>
11946 #else
11947 # include <assert.h>
11948 #endif
11949 Syntax error
11950 _ACEOF
11951 if ac_fn_cxx_try_cpp "$LINENO"; then :
11952
11953 else
11954 # Broken: fails on valid input.
11955 continue
11956 fi
11957 rm -f conftest.err conftest.$ac_ext
11958
11959 # OK, works on sane cases. Now check whether nonexistent headers
11960 # can be detected and how.
11961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11962 /* end confdefs.h. */
11963 #include <ac_nonexistent.h>
11964 _ACEOF
11965 if ac_fn_cxx_try_cpp "$LINENO"; then :
11966 # Broken: success on invalid input.
11967 continue
11968 else
11969 # Passes both tests.
11970 ac_preproc_ok=:
11971 break
11972 fi
11973 rm -f conftest.err conftest.$ac_ext
11974
11975 done
11976 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11977 rm -f conftest.err conftest.$ac_ext
11978 if $ac_preproc_ok; then :
11979
11980 else
11981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11983 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11984 See \`config.log' for more details." "$LINENO" 5; }
11985 fi
11986
11987 ac_ext=c
11988 ac_cpp='$CPP $CPPFLAGS'
11989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11992
11993 else
11994 _lt_caught_CXX_error=yes
11995 fi
11996
11997 ac_ext=cpp
11998 ac_cpp='$CXXCPP $CPPFLAGS'
11999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12002
12003 archive_cmds_need_lc_CXX=no
12004 allow_undefined_flag_CXX=
12005 always_export_symbols_CXX=no
12006 archive_expsym_cmds_CXX=
12007 compiler_needs_object_CXX=no
12008 export_dynamic_flag_spec_CXX=
12009 hardcode_direct_CXX=no
12010 hardcode_direct_absolute_CXX=no
12011 hardcode_libdir_flag_spec_CXX=
12012 hardcode_libdir_flag_spec_ld_CXX=
12013 hardcode_libdir_separator_CXX=
12014 hardcode_minus_L_CXX=no
12015 hardcode_shlibpath_var_CXX=unsupported
12016 hardcode_automatic_CXX=no
12017 inherit_rpath_CXX=no
12018 module_cmds_CXX=
12019 module_expsym_cmds_CXX=
12020 link_all_deplibs_CXX=unknown
12021 old_archive_cmds_CXX=$old_archive_cmds
12022 reload_flag_CXX=$reload_flag
12023 reload_cmds_CXX=$reload_cmds
12024 no_undefined_flag_CXX=
12025 whole_archive_flag_spec_CXX=
12026 enable_shared_with_static_runtimes_CXX=no
12027
12028 # Source file extension for C++ test sources.
12029 ac_ext=cpp
12030
12031 # Object file extension for compiled C++ test sources.
12032 objext=o
12033 objext_CXX=$objext
12034
12035 # No sense in running all these tests if we already determined that
12036 # the CXX compiler isn't working. Some variables (like enable_shared)
12037 # are currently assumed to apply to all compilers on this platform,
12038 # and will be corrupted by setting them based on a non-working compiler.
12039 if test "$_lt_caught_CXX_error" != yes; then
12040 # Code to be used in simple compile tests
12041 lt_simple_compile_test_code="int some_variable = 0;"
12042
12043 # Code to be used in simple link tests
12044 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12045
12046 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12047
12048
12049
12050
12051
12052
12053 # If no C compiler was specified, use CC.
12054 LTCC=${LTCC-"$CC"}
12055
12056 # If no C compiler flags were specified, use CFLAGS.
12057 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12058
12059 # Allow CC to be a program name with arguments.
12060 compiler=$CC
12061
12062
12063 # save warnings/boilerplate of simple test code
12064 ac_outfile=conftest.$ac_objext
12065 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12066 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12067 _lt_compiler_boilerplate=`cat conftest.err`
12068 $RM conftest*
12069
12070 ac_outfile=conftest.$ac_objext
12071 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12072 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12073 _lt_linker_boilerplate=`cat conftest.err`
12074 $RM -r conftest*
12075
12076
12077 # Allow CC to be a program name with arguments.
12078 lt_save_CC=$CC
12079 lt_save_LD=$LD
12080 lt_save_GCC=$GCC
12081 GCC=$GXX
12082 lt_save_with_gnu_ld=$with_gnu_ld
12083 lt_save_path_LD=$lt_cv_path_LD
12084 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12085 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12086 else
12087 $as_unset lt_cv_prog_gnu_ld
12088 fi
12089 if test -n "${lt_cv_path_LDCXX+set}"; then
12090 lt_cv_path_LD=$lt_cv_path_LDCXX
12091 else
12092 $as_unset lt_cv_path_LD
12093 fi
12094 test -z "${LDCXX+set}" || LD=$LDCXX
12095 CC=${CXX-"c++"}
12096 compiler=$CC
12097 compiler_CXX=$CC
12098 for cc_temp in $compiler""; do
12099 case $cc_temp in
12100 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12101 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12102 \-*) ;;
12103 *) break;;
12104 esac
12105 done
12106 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12107
12108
12109 if test -n "$compiler"; then
12110 # We don't want -fno-exception when compiling C++ code, so set the
12111 # no_builtin_flag separately
12112 if test "$GXX" = yes; then
12113 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12114 else
12115 lt_prog_compiler_no_builtin_flag_CXX=
12116 fi
12117
12118 if test "$GXX" = yes; then
12119 # Set up default GNU C++ configuration
12120
12121
12122
12123 # Check whether --with-gnu-ld was given.
12124 if test "${with_gnu_ld+set}" = set; then :
12125 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12126 else
12127 with_gnu_ld=no
12128 fi
12129
12130 ac_prog=ld
12131 if test "$GCC" = yes; then
12132 # Check if gcc -print-prog-name=ld gives a path.
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12134 $as_echo_n "checking for ld used by $CC... " >&6; }
12135 case $host in
12136 *-*-mingw*)
12137 # gcc leaves a trailing carriage return which upsets mingw
12138 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12139 *)
12140 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12141 esac
12142 case $ac_prog in
12143 # Accept absolute paths.
12144 [\\/]* | ?:[\\/]*)
12145 re_direlt='/[^/][^/]*/\.\./'
12146 # Canonicalize the pathname of ld
12147 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12148 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12149 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12150 done
12151 test -z "$LD" && LD="$ac_prog"
12152 ;;
12153 "")
12154 # If it fails, then pretend we aren't using GCC.
12155 ac_prog=ld
12156 ;;
12157 *)
12158 # If it is relative, then search for the first ld in PATH.
12159 with_gnu_ld=unknown
12160 ;;
12161 esac
12162 elif test "$with_gnu_ld" = yes; then
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12164 $as_echo_n "checking for GNU ld... " >&6; }
12165 else
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12167 $as_echo_n "checking for non-GNU ld... " >&6; }
12168 fi
12169 if test "${lt_cv_path_LD+set}" = set; then :
12170 $as_echo_n "(cached) " >&6
12171 else
12172 if test -z "$LD"; then
12173 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12174 for ac_dir in $PATH; do
12175 IFS="$lt_save_ifs"
12176 test -z "$ac_dir" && ac_dir=.
12177 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12178 lt_cv_path_LD="$ac_dir/$ac_prog"
12179 # Check to see if the program is GNU ld. I'd rather use --version,
12180 # but apparently some variants of GNU ld only accept -v.
12181 # Break only if it was the GNU/non-GNU ld that we prefer.
12182 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12183 *GNU* | *'with BFD'*)
12184 test "$with_gnu_ld" != no && break
12185 ;;
12186 *)
12187 test "$with_gnu_ld" != yes && break
12188 ;;
12189 esac
12190 fi
12191 done
12192 IFS="$lt_save_ifs"
12193 else
12194 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12195 fi
12196 fi
12197
12198 LD="$lt_cv_path_LD"
12199 if test -n "$LD"; then
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12201 $as_echo "$LD" >&6; }
12202 else
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12204 $as_echo "no" >&6; }
12205 fi
12206 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12208 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12209 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12210 $as_echo_n "(cached) " >&6
12211 else
12212 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12213 case `$LD -v 2>&1 </dev/null` in
12214 *GNU* | *'with BFD'*)
12215 lt_cv_prog_gnu_ld=yes
12216 ;;
12217 *)
12218 lt_cv_prog_gnu_ld=no
12219 ;;
12220 esac
12221 fi
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12223 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12224 with_gnu_ld=$lt_cv_prog_gnu_ld
12225
12226
12227
12228
12229
12230
12231
12232 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12233 # archiving commands below assume that GNU ld is being used.
12234 if test "$with_gnu_ld" = yes; then
12235 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12236 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'
12237
12238 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12239 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12240
12241 # If archive_cmds runs LD, not CC, wlarc should be empty
12242 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12243 # investigate it a little bit more. (MM)
12244 wlarc='${wl}'
12245
12246 # ancient GNU ld didn't support --whole-archive et. al.
12247 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12248 $GREP 'no-whole-archive' > /dev/null; then
12249 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12250 else
12251 whole_archive_flag_spec_CXX=
12252 fi
12253 else
12254 with_gnu_ld=no
12255 wlarc=
12256
12257 # A generic and very simple default shared library creation
12258 # command for GNU C++ for the case where it uses the native
12259 # linker, instead of GNU ld. If possible, this setting should
12260 # overridden to take advantage of the native linker features on
12261 # the platform it is being used on.
12262 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12263 fi
12264
12265 # Commands to make compiler produce verbose output that lists
12266 # what "hidden" libraries, object files and flags are used when
12267 # linking a shared library.
12268 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12269
12270 else
12271 GXX=no
12272 with_gnu_ld=no
12273 wlarc=
12274 fi
12275
12276 # PORTME: fill in a description of your system's C++ link characteristics
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12278 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12279 ld_shlibs_CXX=yes
12280 case $host_os in
12281 aix3*)
12282 # FIXME: insert proper C++ library support
12283 ld_shlibs_CXX=no
12284 ;;
12285 aix[4-9]*)
12286 if test "$host_cpu" = ia64; then
12287 # On IA64, the linker does run time linking by default, so we don't
12288 # have to do anything special.
12289 aix_use_runtimelinking=no
12290 exp_sym_flag='-Bexport'
12291 no_entry_flag=""
12292 else
12293 aix_use_runtimelinking=no
12294
12295 # Test if we are trying to use run time linking or normal
12296 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12297 # need to do runtime linking.
12298 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12299 for ld_flag in $LDFLAGS; do
12300 case $ld_flag in
12301 *-brtl*)
12302 aix_use_runtimelinking=yes
12303 break
12304 ;;
12305 esac
12306 done
12307 ;;
12308 esac
12309
12310 exp_sym_flag='-bexport'
12311 no_entry_flag='-bnoentry'
12312 fi
12313
12314 # When large executables or shared objects are built, AIX ld can
12315 # have problems creating the table of contents. If linking a library
12316 # or program results in "error TOC overflow" add -mminimal-toc to
12317 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12318 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12319
12320 archive_cmds_CXX=''
12321 hardcode_direct_CXX=yes
12322 hardcode_direct_absolute_CXX=yes
12323 hardcode_libdir_separator_CXX=':'
12324 link_all_deplibs_CXX=yes
12325 file_list_spec_CXX='${wl}-f,'
12326
12327 if test "$GXX" = yes; then
12328 case $host_os in aix4.[012]|aix4.[012].*)
12329 # We only want to do this on AIX 4.2 and lower, the check
12330 # below for broken collect2 doesn't work under 4.3+
12331 collect2name=`${CC} -print-prog-name=collect2`
12332 if test -f "$collect2name" &&
12333 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12334 then
12335 # We have reworked collect2
12336 :
12337 else
12338 # We have old collect2
12339 hardcode_direct_CXX=unsupported
12340 # It fails to find uninstalled libraries when the uninstalled
12341 # path is not listed in the libpath. Setting hardcode_minus_L
12342 # to unsupported forces relinking
12343 hardcode_minus_L_CXX=yes
12344 hardcode_libdir_flag_spec_CXX='-L$libdir'
12345 hardcode_libdir_separator_CXX=
12346 fi
12347 esac
12348 shared_flag='-shared'
12349 if test "$aix_use_runtimelinking" = yes; then
12350 shared_flag="$shared_flag "'${wl}-G'
12351 fi
12352 else
12353 # not using gcc
12354 if test "$host_cpu" = ia64; then
12355 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12356 # chokes on -Wl,-G. The following line is correct:
12357 shared_flag='-G'
12358 else
12359 if test "$aix_use_runtimelinking" = yes; then
12360 shared_flag='${wl}-G'
12361 else
12362 shared_flag='${wl}-bM:SRE'
12363 fi
12364 fi
12365 fi
12366
12367 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12368 # It seems that -bexpall does not export symbols beginning with
12369 # underscore (_), so it is better to generate a list of symbols to
12370 # export.
12371 always_export_symbols_CXX=yes
12372 if test "$aix_use_runtimelinking" = yes; then
12373 # Warning - without using the other runtime loading flags (-brtl),
12374 # -berok will link without error, but may produce a broken library.
12375 allow_undefined_flag_CXX='-berok'
12376 # Determine the default libpath from the value encoded in an empty
12377 # executable.
12378 if test x$gcc_no_link = xyes; then
12379 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12380 fi
12381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12382 /* end confdefs.h. */
12383
12384 int
12385 main ()
12386 {
12387
12388 ;
12389 return 0;
12390 }
12391 _ACEOF
12392 if ac_fn_cxx_try_link "$LINENO"; then :
12393
12394 lt_aix_libpath_sed='
12395 /Import File Strings/,/^$/ {
12396 /^0/ {
12397 s/^0 *\(.*\)$/\1/
12398 p
12399 }
12400 }'
12401 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12402 # Check for a 64-bit object if we didn't find anything.
12403 if test -z "$aix_libpath"; then
12404 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12405 fi
12406 fi
12407 rm -f core conftest.err conftest.$ac_objext \
12408 conftest$ac_exeext conftest.$ac_ext
12409 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12410
12411 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12412
12413 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"
12414 else
12415 if test "$host_cpu" = ia64; then
12416 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12417 allow_undefined_flag_CXX="-z nodefs"
12418 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"
12419 else
12420 # Determine the default libpath from the value encoded in an
12421 # empty executable.
12422 if test x$gcc_no_link = xyes; then
12423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12424 fi
12425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12426 /* end confdefs.h. */
12427
12428 int
12429 main ()
12430 {
12431
12432 ;
12433 return 0;
12434 }
12435 _ACEOF
12436 if ac_fn_cxx_try_link "$LINENO"; then :
12437
12438 lt_aix_libpath_sed='
12439 /Import File Strings/,/^$/ {
12440 /^0/ {
12441 s/^0 *\(.*\)$/\1/
12442 p
12443 }
12444 }'
12445 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12446 # Check for a 64-bit object if we didn't find anything.
12447 if test -z "$aix_libpath"; then
12448 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12449 fi
12450 fi
12451 rm -f core conftest.err conftest.$ac_objext \
12452 conftest$ac_exeext conftest.$ac_ext
12453 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12454
12455 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12456 # Warning - without using the other run time loading flags,
12457 # -berok will link without error, but may produce a broken library.
12458 no_undefined_flag_CXX=' ${wl}-bernotok'
12459 allow_undefined_flag_CXX=' ${wl}-berok'
12460 if test "$with_gnu_ld" = yes; then
12461 # We only use this code for GNU lds that support --whole-archive.
12462 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12463 else
12464 # Exported symbols can be pulled into shared objects from archives
12465 whole_archive_flag_spec_CXX='$convenience'
12466 fi
12467 archive_cmds_need_lc_CXX=yes
12468 # This is similar to how AIX traditionally builds its shared
12469 # libraries.
12470 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'
12471 fi
12472 fi
12473 ;;
12474
12475 beos*)
12476 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12477 allow_undefined_flag_CXX=unsupported
12478 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12479 # support --undefined. This deserves some investigation. FIXME
12480 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12481 else
12482 ld_shlibs_CXX=no
12483 fi
12484 ;;
12485
12486 chorus*)
12487 case $cc_basename in
12488 *)
12489 # FIXME: insert proper C++ library support
12490 ld_shlibs_CXX=no
12491 ;;
12492 esac
12493 ;;
12494
12495 cygwin* | mingw* | pw32* | cegcc*)
12496 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12497 # as there is no search path for DLLs.
12498 hardcode_libdir_flag_spec_CXX='-L$libdir'
12499 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12500 allow_undefined_flag_CXX=unsupported
12501 always_export_symbols_CXX=no
12502 enable_shared_with_static_runtimes_CXX=yes
12503
12504 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12505 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'
12506 # If the export-symbols file already is a .def file (1st line
12507 # is EXPORTS), use it as is; otherwise, prepend...
12508 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12509 cp $export_symbols $output_objdir/$soname.def;
12510 else
12511 echo EXPORTS > $output_objdir/$soname.def;
12512 cat $export_symbols >> $output_objdir/$soname.def;
12513 fi~
12514 $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'
12515 else
12516 ld_shlibs_CXX=no
12517 fi
12518 ;;
12519 darwin* | rhapsody*)
12520
12521
12522 archive_cmds_need_lc_CXX=no
12523 hardcode_direct_CXX=no
12524 hardcode_automatic_CXX=yes
12525 hardcode_shlibpath_var_CXX=unsupported
12526 if test "$lt_cv_ld_force_load" = "yes"; then
12527 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\"`'
12528 else
12529 whole_archive_flag_spec_CXX=''
12530 fi
12531 link_all_deplibs_CXX=yes
12532 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12533 case $cc_basename in
12534 ifort*) _lt_dar_can_shared=yes ;;
12535 *) _lt_dar_can_shared=$GCC ;;
12536 esac
12537 if test "$_lt_dar_can_shared" = "yes"; then
12538 output_verbose_link_cmd=func_echo_all
12539 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}"
12540 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12541 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}"
12542 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}"
12543 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12544 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}"
12545 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}"
12546 fi
12547
12548 else
12549 ld_shlibs_CXX=no
12550 fi
12551
12552 ;;
12553
12554 dgux*)
12555 case $cc_basename in
12556 ec++*)
12557 # FIXME: insert proper C++ library support
12558 ld_shlibs_CXX=no
12559 ;;
12560 ghcx*)
12561 # Green Hills C++ Compiler
12562 # FIXME: insert proper C++ library support
12563 ld_shlibs_CXX=no
12564 ;;
12565 *)
12566 # FIXME: insert proper C++ library support
12567 ld_shlibs_CXX=no
12568 ;;
12569 esac
12570 ;;
12571
12572 freebsd2.*)
12573 # C++ shared libraries reported to be fairly broken before
12574 # switch to ELF
12575 ld_shlibs_CXX=no
12576 ;;
12577
12578 freebsd-elf*)
12579 archive_cmds_need_lc_CXX=no
12580 ;;
12581
12582 freebsd* | dragonfly*)
12583 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12584 # conventions
12585 ld_shlibs_CXX=yes
12586 ;;
12587
12588 gnu*)
12589 ;;
12590
12591 haiku*)
12592 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12593 link_all_deplibs_CXX=yes
12594 ;;
12595
12596 hpux9*)
12597 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12598 hardcode_libdir_separator_CXX=:
12599 export_dynamic_flag_spec_CXX='${wl}-E'
12600 hardcode_direct_CXX=yes
12601 hardcode_minus_L_CXX=yes # Not in the search PATH,
12602 # but as the default
12603 # location of the library.
12604
12605 case $cc_basename in
12606 CC*)
12607 # FIXME: insert proper C++ library support
12608 ld_shlibs_CXX=no
12609 ;;
12610 aCC*)
12611 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'
12612 # Commands to make compiler produce verbose output that lists
12613 # what "hidden" libraries, object files and flags are used when
12614 # linking a shared library.
12615 #
12616 # There doesn't appear to be a way to prevent this compiler from
12617 # explicitly linking system object files so we need to strip them
12618 # from the output so that they don't get included in the library
12619 # dependencies.
12620 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"'
12621 ;;
12622 *)
12623 if test "$GXX" = yes; then
12624 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'
12625 else
12626 # FIXME: insert proper C++ library support
12627 ld_shlibs_CXX=no
12628 fi
12629 ;;
12630 esac
12631 ;;
12632
12633 hpux10*|hpux11*)
12634 if test $with_gnu_ld = no; then
12635 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12636 hardcode_libdir_separator_CXX=:
12637
12638 case $host_cpu in
12639 hppa*64*|ia64*)
12640 ;;
12641 *)
12642 export_dynamic_flag_spec_CXX='${wl}-E'
12643 ;;
12644 esac
12645 fi
12646 case $host_cpu in
12647 hppa*64*|ia64*)
12648 hardcode_direct_CXX=no
12649 hardcode_shlibpath_var_CXX=no
12650 ;;
12651 *)
12652 hardcode_direct_CXX=yes
12653 hardcode_direct_absolute_CXX=yes
12654 hardcode_minus_L_CXX=yes # Not in the search PATH,
12655 # but as the default
12656 # location of the library.
12657 ;;
12658 esac
12659
12660 case $cc_basename in
12661 CC*)
12662 # FIXME: insert proper C++ library support
12663 ld_shlibs_CXX=no
12664 ;;
12665 aCC*)
12666 case $host_cpu in
12667 hppa*64*)
12668 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12669 ;;
12670 ia64*)
12671 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12672 ;;
12673 *)
12674 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12675 ;;
12676 esac
12677 # Commands to make compiler produce verbose output that lists
12678 # what "hidden" libraries, object files and flags are used when
12679 # linking a shared library.
12680 #
12681 # There doesn't appear to be a way to prevent this compiler from
12682 # explicitly linking system object files so we need to strip them
12683 # from the output so that they don't get included in the library
12684 # dependencies.
12685 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"'
12686 ;;
12687 *)
12688 if test "$GXX" = yes; then
12689 if test $with_gnu_ld = no; then
12690 case $host_cpu in
12691 hppa*64*)
12692 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12693 ;;
12694 ia64*)
12695 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12696 ;;
12697 *)
12698 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'
12699 ;;
12700 esac
12701 fi
12702 else
12703 # FIXME: insert proper C++ library support
12704 ld_shlibs_CXX=no
12705 fi
12706 ;;
12707 esac
12708 ;;
12709
12710 interix[3-9]*)
12711 hardcode_direct_CXX=no
12712 hardcode_shlibpath_var_CXX=no
12713 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12714 export_dynamic_flag_spec_CXX='${wl}-E'
12715 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12716 # Instead, shared libraries are loaded at an image base (0x10000000 by
12717 # default) and relocated if they conflict, which is a slow very memory
12718 # consuming and fragmenting process. To avoid this, we pick a random,
12719 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12720 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12721 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'
12722 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'
12723 ;;
12724 irix5* | irix6*)
12725 case $cc_basename in
12726 CC*)
12727 # SGI C++
12728 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'
12729
12730 # Archives containing C++ object files must be created using
12731 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12732 # necessary to make sure instantiated templates are included
12733 # in the archive.
12734 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12735 ;;
12736 *)
12737 if test "$GXX" = yes; then
12738 if test "$with_gnu_ld" = no; then
12739 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'
12740 else
12741 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'
12742 fi
12743 fi
12744 link_all_deplibs_CXX=yes
12745 ;;
12746 esac
12747 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12748 hardcode_libdir_separator_CXX=:
12749 inherit_rpath_CXX=yes
12750 ;;
12751
12752 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12753 case $cc_basename in
12754 KCC*)
12755 # Kuck and Associates, Inc. (KAI) C++ Compiler
12756
12757 # KCC will only create a shared library if the output file
12758 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12759 # to its proper name (with version) after linking.
12760 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'
12761 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'
12762 # Commands to make compiler produce verbose output that lists
12763 # what "hidden" libraries, object files and flags are used when
12764 # linking a shared library.
12765 #
12766 # There doesn't appear to be a way to prevent this compiler from
12767 # explicitly linking system object files so we need to strip them
12768 # from the output so that they don't get included in the library
12769 # dependencies.
12770 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"'
12771
12772 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12773 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12774
12775 # Archives containing C++ object files must be created using
12776 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12777 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12778 ;;
12779 icpc* | ecpc* )
12780 # Intel C++
12781 with_gnu_ld=yes
12782 # version 8.0 and above of icpc choke on multiply defined symbols
12783 # if we add $predep_objects and $postdep_objects, however 7.1 and
12784 # earlier do not add the objects themselves.
12785 case `$CC -V 2>&1` in
12786 *"Version 7."*)
12787 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12788 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'
12789 ;;
12790 *) # Version 8.0 or newer
12791 tmp_idyn=
12792 case $host_cpu in
12793 ia64*) tmp_idyn=' -i_dynamic';;
12794 esac
12795 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12796 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'
12797 ;;
12798 esac
12799 archive_cmds_need_lc_CXX=no
12800 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12801 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12802 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12803 ;;
12804 pgCC* | pgcpp*)
12805 # Portland Group C++ compiler
12806 case `$CC -V` in
12807 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12808 prelink_cmds_CXX='tpldir=Template.dir~
12809 rm -rf $tpldir~
12810 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12811 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12812 old_archive_cmds_CXX='tpldir=Template.dir~
12813 rm -rf $tpldir~
12814 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12815 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12816 $RANLIB $oldlib'
12817 archive_cmds_CXX='tpldir=Template.dir~
12818 rm -rf $tpldir~
12819 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12820 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12821 archive_expsym_cmds_CXX='tpldir=Template.dir~
12822 rm -rf $tpldir~
12823 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12824 $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'
12825 ;;
12826 *) # Version 6 and above use weak symbols
12827 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12828 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'
12829 ;;
12830 esac
12831
12832 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12833 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12834 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'
12835 ;;
12836 cxx*)
12837 # Compaq C++
12838 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12839 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'
12840
12841 runpath_var=LD_RUN_PATH
12842 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12843 hardcode_libdir_separator_CXX=:
12844
12845 # Commands to make compiler produce verbose output that lists
12846 # what "hidden" libraries, object files and flags are used when
12847 # linking a shared library.
12848 #
12849 # There doesn't appear to be a way to prevent this compiler from
12850 # explicitly linking system object files so we need to strip them
12851 # from the output so that they don't get included in the library
12852 # dependencies.
12853 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'
12854 ;;
12855 xl* | mpixl* | bgxl*)
12856 # IBM XL 8.0 on PPC, with GNU ld
12857 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12858 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12859 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12860 if test "x$supports_anon_versioning" = xyes; then
12861 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12862 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12863 echo "local: *; };" >> $output_objdir/$libname.ver~
12864 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12865 fi
12866 ;;
12867 *)
12868 case `$CC -V 2>&1 | sed 5q` in
12869 *Sun\ C*)
12870 # Sun C++ 5.9
12871 no_undefined_flag_CXX=' -zdefs'
12872 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12873 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'
12874 hardcode_libdir_flag_spec_CXX='-R$libdir'
12875 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'
12876 compiler_needs_object_CXX=yes
12877
12878 # Not sure whether something based on
12879 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12880 # would be better.
12881 output_verbose_link_cmd='func_echo_all'
12882
12883 # Archives containing C++ object files must be created using
12884 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12885 # necessary to make sure instantiated templates are included
12886 # in the archive.
12887 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12888 ;;
12889 esac
12890 ;;
12891 esac
12892 ;;
12893
12894 lynxos*)
12895 # FIXME: insert proper C++ library support
12896 ld_shlibs_CXX=no
12897 ;;
12898
12899 m88k*)
12900 # FIXME: insert proper C++ library support
12901 ld_shlibs_CXX=no
12902 ;;
12903
12904 mvs*)
12905 case $cc_basename in
12906 cxx*)
12907 # FIXME: insert proper C++ library support
12908 ld_shlibs_CXX=no
12909 ;;
12910 *)
12911 # FIXME: insert proper C++ library support
12912 ld_shlibs_CXX=no
12913 ;;
12914 esac
12915 ;;
12916
12917 netbsd*)
12918 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12919 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12920 wlarc=
12921 hardcode_libdir_flag_spec_CXX='-R$libdir'
12922 hardcode_direct_CXX=yes
12923 hardcode_shlibpath_var_CXX=no
12924 fi
12925 # Workaround some broken pre-1.5 toolchains
12926 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12927 ;;
12928
12929 *nto* | *qnx*)
12930 ld_shlibs_CXX=yes
12931 ;;
12932
12933 openbsd2*)
12934 # C++ shared libraries are fairly broken
12935 ld_shlibs_CXX=no
12936 ;;
12937
12938 openbsd*)
12939 if test -f /usr/libexec/ld.so; then
12940 hardcode_direct_CXX=yes
12941 hardcode_shlibpath_var_CXX=no
12942 hardcode_direct_absolute_CXX=yes
12943 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12944 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12945 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12946 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12947 export_dynamic_flag_spec_CXX='${wl}-E'
12948 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12949 fi
12950 output_verbose_link_cmd=func_echo_all
12951 else
12952 ld_shlibs_CXX=no
12953 fi
12954 ;;
12955
12956 osf3* | osf4* | osf5*)
12957 case $cc_basename in
12958 KCC*)
12959 # Kuck and Associates, Inc. (KAI) C++ Compiler
12960
12961 # KCC will only create a shared library if the output file
12962 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12963 # to its proper name (with version) after linking.
12964 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'
12965
12966 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12967 hardcode_libdir_separator_CXX=:
12968
12969 # Archives containing C++ object files must be created using
12970 # the KAI C++ compiler.
12971 case $host in
12972 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12973 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12974 esac
12975 ;;
12976 RCC*)
12977 # Rational C++ 2.4.1
12978 # FIXME: insert proper C++ library support
12979 ld_shlibs_CXX=no
12980 ;;
12981 cxx*)
12982 case $host in
12983 osf3*)
12984 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12985 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'
12986 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12987 ;;
12988 *)
12989 allow_undefined_flag_CXX=' -expect_unresolved \*'
12990 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'
12991 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12992 echo "-hidden">> $lib.exp~
12993 $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~
12994 $RM $lib.exp'
12995 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12996 ;;
12997 esac
12998
12999 hardcode_libdir_separator_CXX=:
13000
13001 # Commands to make compiler produce verbose output that lists
13002 # what "hidden" libraries, object files and flags are used when
13003 # linking a shared library.
13004 #
13005 # There doesn't appear to be a way to prevent this compiler from
13006 # explicitly linking system object files so we need to strip them
13007 # from the output so that they don't get included in the library
13008 # dependencies.
13009 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"'
13010 ;;
13011 *)
13012 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13013 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13014 case $host in
13015 osf3*)
13016 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'
13017 ;;
13018 *)
13019 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'
13020 ;;
13021 esac
13022
13023 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13024 hardcode_libdir_separator_CXX=:
13025
13026 # Commands to make compiler produce verbose output that lists
13027 # what "hidden" libraries, object files and flags are used when
13028 # linking a shared library.
13029 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13030
13031 else
13032 # FIXME: insert proper C++ library support
13033 ld_shlibs_CXX=no
13034 fi
13035 ;;
13036 esac
13037 ;;
13038
13039 psos*)
13040 # FIXME: insert proper C++ library support
13041 ld_shlibs_CXX=no
13042 ;;
13043
13044 sunos4*)
13045 case $cc_basename in
13046 CC*)
13047 # Sun C++ 4.x
13048 # FIXME: insert proper C++ library support
13049 ld_shlibs_CXX=no
13050 ;;
13051 lcc*)
13052 # Lucid
13053 # FIXME: insert proper C++ library support
13054 ld_shlibs_CXX=no
13055 ;;
13056 *)
13057 # FIXME: insert proper C++ library support
13058 ld_shlibs_CXX=no
13059 ;;
13060 esac
13061 ;;
13062
13063 solaris*)
13064 case $cc_basename in
13065 CC*)
13066 # Sun C++ 4.2, 5.x and Centerline C++
13067 archive_cmds_need_lc_CXX=yes
13068 no_undefined_flag_CXX=' -zdefs'
13069 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13070 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13071 $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'
13072
13073 hardcode_libdir_flag_spec_CXX='-R$libdir'
13074 hardcode_shlibpath_var_CXX=no
13075 case $host_os in
13076 solaris2.[0-5] | solaris2.[0-5].*) ;;
13077 *)
13078 # The compiler driver will combine and reorder linker options,
13079 # but understands `-z linker_flag'.
13080 # Supported since Solaris 2.6 (maybe 2.5.1?)
13081 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13082 ;;
13083 esac
13084 link_all_deplibs_CXX=yes
13085
13086 output_verbose_link_cmd='func_echo_all'
13087
13088 # Archives containing C++ object files must be created using
13089 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13090 # necessary to make sure instantiated templates are included
13091 # in the archive.
13092 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13093 ;;
13094 gcx*)
13095 # Green Hills C++ Compiler
13096 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13097
13098 # The C++ compiler must be used to create the archive.
13099 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13100 ;;
13101 *)
13102 # GNU C++ compiler with Solaris linker
13103 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13104 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13105 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13106 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13107 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13108 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13109
13110 # Commands to make compiler produce verbose output that lists
13111 # what "hidden" libraries, object files and flags are used when
13112 # linking a shared library.
13113 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13114 else
13115 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13116 # platform.
13117 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13118 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13119 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13120
13121 # Commands to make compiler produce verbose output that lists
13122 # what "hidden" libraries, object files and flags are used when
13123 # linking a shared library.
13124 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13125 fi
13126
13127 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13128 case $host_os in
13129 solaris2.[0-5] | solaris2.[0-5].*) ;;
13130 *)
13131 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13132 ;;
13133 esac
13134 fi
13135 ;;
13136 esac
13137 ;;
13138
13139 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13140 no_undefined_flag_CXX='${wl}-z,text'
13141 archive_cmds_need_lc_CXX=no
13142 hardcode_shlibpath_var_CXX=no
13143 runpath_var='LD_RUN_PATH'
13144
13145 case $cc_basename in
13146 CC*)
13147 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13148 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13149 ;;
13150 *)
13151 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13152 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13153 ;;
13154 esac
13155 ;;
13156
13157 sysv5* | sco3.2v5* | sco5v6*)
13158 # Note: We can NOT use -z defs as we might desire, because we do not
13159 # link with -lc, and that would cause any symbols used from libc to
13160 # always be unresolved, which means just about no library would
13161 # ever link correctly. If we're not using GNU ld we use -z text
13162 # though, which does catch some bad symbols but isn't as heavy-handed
13163 # as -z defs.
13164 no_undefined_flag_CXX='${wl}-z,text'
13165 allow_undefined_flag_CXX='${wl}-z,nodefs'
13166 archive_cmds_need_lc_CXX=no
13167 hardcode_shlibpath_var_CXX=no
13168 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13169 hardcode_libdir_separator_CXX=':'
13170 link_all_deplibs_CXX=yes
13171 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13172 runpath_var='LD_RUN_PATH'
13173
13174 case $cc_basename in
13175 CC*)
13176 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13177 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13178 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13179 '"$old_archive_cmds_CXX"
13180 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13181 '"$reload_cmds_CXX"
13182 ;;
13183 *)
13184 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13185 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13186 ;;
13187 esac
13188 ;;
13189
13190 tandem*)
13191 case $cc_basename in
13192 NCC*)
13193 # NonStop-UX NCC 3.20
13194 # FIXME: insert proper C++ library support
13195 ld_shlibs_CXX=no
13196 ;;
13197 *)
13198 # FIXME: insert proper C++ library support
13199 ld_shlibs_CXX=no
13200 ;;
13201 esac
13202 ;;
13203
13204 vxworks*)
13205 # FIXME: insert proper C++ library support
13206 ld_shlibs_CXX=no
13207 ;;
13208
13209 *)
13210 # FIXME: insert proper C++ library support
13211 ld_shlibs_CXX=no
13212 ;;
13213 esac
13214
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13216 $as_echo "$ld_shlibs_CXX" >&6; }
13217 test "$ld_shlibs_CXX" = no && can_build_shared=no
13218
13219 GCC_CXX="$GXX"
13220 LD_CXX="$LD"
13221
13222 ## CAVEAT EMPTOR:
13223 ## There is no encapsulation within the following macros, do not change
13224 ## the running order or otherwise move them around unless you know exactly
13225 ## what you are doing...
13226 # Dependencies to place before and after the object being linked:
13227 predep_objects_CXX=
13228 postdep_objects_CXX=
13229 predeps_CXX=
13230 postdeps_CXX=
13231 compiler_lib_search_path_CXX=
13232
13233 cat > conftest.$ac_ext <<_LT_EOF
13234 class Foo
13235 {
13236 public:
13237 Foo (void) { a = 0; }
13238 private:
13239 int a;
13240 };
13241 _LT_EOF
13242
13243 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13244 (eval $ac_compile) 2>&5
13245 ac_status=$?
13246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13247 test $ac_status = 0; }; then
13248 # Parse the compiler output and extract the necessary
13249 # objects, libraries and library flags.
13250
13251 # Sentinel used to keep track of whether or not we are before
13252 # the conftest object file.
13253 pre_test_object_deps_done=no
13254
13255 for p in `eval "$output_verbose_link_cmd"`; do
13256 case $p in
13257
13258 -L* | -R* | -l*)
13259 # Some compilers place space between "-{L,R}" and the path.
13260 # Remove the space.
13261 if test $p = "-L" ||
13262 test $p = "-R"; then
13263 prev=$p
13264 continue
13265 else
13266 prev=
13267 fi
13268
13269 if test "$pre_test_object_deps_done" = no; then
13270 case $p in
13271 -L* | -R*)
13272 # Internal compiler library paths should come after those
13273 # provided the user. The postdeps already come after the
13274 # user supplied libs so there is no need to process them.
13275 if test -z "$compiler_lib_search_path_CXX"; then
13276 compiler_lib_search_path_CXX="${prev}${p}"
13277 else
13278 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13279 fi
13280 ;;
13281 # The "-l" case would never come before the object being
13282 # linked, so don't bother handling this case.
13283 esac
13284 else
13285 if test -z "$postdeps_CXX"; then
13286 postdeps_CXX="${prev}${p}"
13287 else
13288 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13289 fi
13290 fi
13291 ;;
13292
13293 *.$objext)
13294 # This assumes that the test object file only shows up
13295 # once in the compiler output.
13296 if test "$p" = "conftest.$objext"; then
13297 pre_test_object_deps_done=yes
13298 continue
13299 fi
13300
13301 if test "$pre_test_object_deps_done" = no; then
13302 if test -z "$predep_objects_CXX"; then
13303 predep_objects_CXX="$p"
13304 else
13305 predep_objects_CXX="$predep_objects_CXX $p"
13306 fi
13307 else
13308 if test -z "$postdep_objects_CXX"; then
13309 postdep_objects_CXX="$p"
13310 else
13311 postdep_objects_CXX="$postdep_objects_CXX $p"
13312 fi
13313 fi
13314 ;;
13315
13316 *) ;; # Ignore the rest.
13317
13318 esac
13319 done
13320
13321 # Clean up.
13322 rm -f a.out a.exe
13323 else
13324 echo "libtool.m4: error: problem compiling CXX test program"
13325 fi
13326
13327 $RM -f confest.$objext
13328
13329 # PORTME: override above test on systems where it is broken
13330 case $host_os in
13331 interix[3-9]*)
13332 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13333 # hack all around it, let's just trust "g++" to DTRT.
13334 predep_objects_CXX=
13335 postdep_objects_CXX=
13336 postdeps_CXX=
13337 ;;
13338
13339 linux*)
13340 case `$CC -V 2>&1 | sed 5q` in
13341 *Sun\ C*)
13342 # Sun C++ 5.9
13343
13344 # The more standards-conforming stlport4 library is
13345 # incompatible with the Cstd library. Avoid specifying
13346 # it if it's in CXXFLAGS. Ignore libCrun as
13347 # -library=stlport4 depends on it.
13348 case " $CXX $CXXFLAGS " in
13349 *" -library=stlport4 "*)
13350 solaris_use_stlport4=yes
13351 ;;
13352 esac
13353
13354 if test "$solaris_use_stlport4" != yes; then
13355 postdeps_CXX='-library=Cstd -library=Crun'
13356 fi
13357 ;;
13358 esac
13359 ;;
13360
13361 solaris*)
13362 case $cc_basename in
13363 CC*)
13364 # The more standards-conforming stlport4 library is
13365 # incompatible with the Cstd library. Avoid specifying
13366 # it if it's in CXXFLAGS. Ignore libCrun as
13367 # -library=stlport4 depends on it.
13368 case " $CXX $CXXFLAGS " in
13369 *" -library=stlport4 "*)
13370 solaris_use_stlport4=yes
13371 ;;
13372 esac
13373
13374 # Adding this requires a known-good setup of shared libraries for
13375 # Sun compiler versions before 5.6, else PIC objects from an old
13376 # archive will be linked into the output, leading to subtle bugs.
13377 if test "$solaris_use_stlport4" != yes; then
13378 postdeps_CXX='-library=Cstd -library=Crun'
13379 fi
13380 ;;
13381 esac
13382 ;;
13383 esac
13384
13385
13386 case " $postdeps_CXX " in
13387 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13388 esac
13389 compiler_lib_search_dirs_CXX=
13390 if test -n "${compiler_lib_search_path_CXX}"; then
13391 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13392 fi
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424 lt_prog_compiler_wl_CXX=
13425 lt_prog_compiler_pic_CXX=
13426 lt_prog_compiler_static_CXX=
13427
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13429 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13430
13431 # C++ specific cases for pic, static, wl, etc.
13432 if test "$GXX" = yes; then
13433 lt_prog_compiler_wl_CXX='-Wl,'
13434 lt_prog_compiler_static_CXX='-static'
13435
13436 case $host_os in
13437 aix*)
13438 # All AIX code is PIC.
13439 if test "$host_cpu" = ia64; then
13440 # AIX 5 now supports IA64 processor
13441 lt_prog_compiler_static_CXX='-Bstatic'
13442 fi
13443 lt_prog_compiler_pic_CXX='-fPIC'
13444 ;;
13445
13446 amigaos*)
13447 case $host_cpu in
13448 powerpc)
13449 # see comment about AmigaOS4 .so support
13450 lt_prog_compiler_pic_CXX='-fPIC'
13451 ;;
13452 m68k)
13453 # FIXME: we need at least 68020 code to build shared libraries, but
13454 # adding the `-m68020' flag to GCC prevents building anything better,
13455 # like `-m68040'.
13456 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13457 ;;
13458 esac
13459 ;;
13460
13461 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13462 # PIC is the default for these OSes.
13463 ;;
13464 mingw* | cygwin* | os2* | pw32* | cegcc*)
13465 # This hack is so that the source file can tell whether it is being
13466 # built for inclusion in a dll (and should export symbols for example).
13467 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13468 # (--disable-auto-import) libraries
13469 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13470 ;;
13471 darwin* | rhapsody*)
13472 # PIC is the default on this platform
13473 # Common symbols not allowed in MH_DYLIB files
13474 lt_prog_compiler_pic_CXX='-fno-common'
13475 ;;
13476 *djgpp*)
13477 # DJGPP does not support shared libraries at all
13478 lt_prog_compiler_pic_CXX=
13479 ;;
13480 haiku*)
13481 # PIC is the default for Haiku.
13482 # The "-static" flag exists, but is broken.
13483 lt_prog_compiler_static_CXX=
13484 ;;
13485 interix[3-9]*)
13486 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13487 # Instead, we relocate shared libraries at runtime.
13488 ;;
13489 sysv4*MP*)
13490 if test -d /usr/nec; then
13491 lt_prog_compiler_pic_CXX=-Kconform_pic
13492 fi
13493 ;;
13494 hpux*)
13495 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13496 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13497 # sets the default TLS model and affects inlining.
13498 case $host_cpu in
13499 hppa*64*)
13500 ;;
13501 *)
13502 lt_prog_compiler_pic_CXX='-fPIC'
13503 ;;
13504 esac
13505 ;;
13506 *qnx* | *nto*)
13507 # QNX uses GNU C++, but need to define -shared option too, otherwise
13508 # it will coredump.
13509 lt_prog_compiler_pic_CXX='-fPIC -shared'
13510 ;;
13511 *)
13512 lt_prog_compiler_pic_CXX='-fPIC'
13513 ;;
13514 esac
13515 else
13516 case $host_os in
13517 aix[4-9]*)
13518 # All AIX code is PIC.
13519 if test "$host_cpu" = ia64; then
13520 # AIX 5 now supports IA64 processor
13521 lt_prog_compiler_static_CXX='-Bstatic'
13522 else
13523 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13524 fi
13525 ;;
13526 chorus*)
13527 case $cc_basename in
13528 cxch68*)
13529 # Green Hills C++ Compiler
13530 # _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"
13531 ;;
13532 esac
13533 ;;
13534 dgux*)
13535 case $cc_basename in
13536 ec++*)
13537 lt_prog_compiler_pic_CXX='-KPIC'
13538 ;;
13539 ghcx*)
13540 # Green Hills C++ Compiler
13541 lt_prog_compiler_pic_CXX='-pic'
13542 ;;
13543 *)
13544 ;;
13545 esac
13546 ;;
13547 freebsd* | dragonfly*)
13548 # FreeBSD uses GNU C++
13549 ;;
13550 hpux9* | hpux10* | hpux11*)
13551 case $cc_basename in
13552 CC*)
13553 lt_prog_compiler_wl_CXX='-Wl,'
13554 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13555 if test "$host_cpu" != ia64; then
13556 lt_prog_compiler_pic_CXX='+Z'
13557 fi
13558 ;;
13559 aCC*)
13560 lt_prog_compiler_wl_CXX='-Wl,'
13561 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13562 case $host_cpu in
13563 hppa*64*|ia64*)
13564 # +Z the default
13565 ;;
13566 *)
13567 lt_prog_compiler_pic_CXX='+Z'
13568 ;;
13569 esac
13570 ;;
13571 *)
13572 ;;
13573 esac
13574 ;;
13575 interix*)
13576 # This is c89, which is MS Visual C++ (no shared libs)
13577 # Anyone wants to do a port?
13578 ;;
13579 irix5* | irix6* | nonstopux*)
13580 case $cc_basename in
13581 CC*)
13582 lt_prog_compiler_wl_CXX='-Wl,'
13583 lt_prog_compiler_static_CXX='-non_shared'
13584 # CC pic flag -KPIC is the default.
13585 ;;
13586 *)
13587 ;;
13588 esac
13589 ;;
13590 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13591 case $cc_basename in
13592 KCC*)
13593 # KAI C++ Compiler
13594 lt_prog_compiler_wl_CXX='--backend -Wl,'
13595 lt_prog_compiler_pic_CXX='-fPIC'
13596 ;;
13597 ecpc* )
13598 # old Intel C++ for x86_64 which still supported -KPIC.
13599 lt_prog_compiler_wl_CXX='-Wl,'
13600 lt_prog_compiler_pic_CXX='-KPIC'
13601 lt_prog_compiler_static_CXX='-static'
13602 ;;
13603 icpc* )
13604 # Intel C++, used to be incompatible with GCC.
13605 # ICC 10 doesn't accept -KPIC any more.
13606 lt_prog_compiler_wl_CXX='-Wl,'
13607 lt_prog_compiler_pic_CXX='-fPIC'
13608 lt_prog_compiler_static_CXX='-static'
13609 ;;
13610 pgCC* | pgcpp*)
13611 # Portland Group C++ compiler
13612 lt_prog_compiler_wl_CXX='-Wl,'
13613 lt_prog_compiler_pic_CXX='-fpic'
13614 lt_prog_compiler_static_CXX='-Bstatic'
13615 ;;
13616 cxx*)
13617 # Compaq C++
13618 # Make sure the PIC flag is empty. It appears that all Alpha
13619 # Linux and Compaq Tru64 Unix objects are PIC.
13620 lt_prog_compiler_pic_CXX=
13621 lt_prog_compiler_static_CXX='-non_shared'
13622 ;;
13623 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13624 # IBM XL 8.0, 9.0 on PPC and BlueGene
13625 lt_prog_compiler_wl_CXX='-Wl,'
13626 lt_prog_compiler_pic_CXX='-qpic'
13627 lt_prog_compiler_static_CXX='-qstaticlink'
13628 ;;
13629 *)
13630 case `$CC -V 2>&1 | sed 5q` in
13631 *Sun\ C*)
13632 # Sun C++ 5.9
13633 lt_prog_compiler_pic_CXX='-KPIC'
13634 lt_prog_compiler_static_CXX='-Bstatic'
13635 lt_prog_compiler_wl_CXX='-Qoption ld '
13636 ;;
13637 esac
13638 ;;
13639 esac
13640 ;;
13641 lynxos*)
13642 ;;
13643 m88k*)
13644 ;;
13645 mvs*)
13646 case $cc_basename in
13647 cxx*)
13648 lt_prog_compiler_pic_CXX='-W c,exportall'
13649 ;;
13650 *)
13651 ;;
13652 esac
13653 ;;
13654 netbsd*)
13655 ;;
13656 *qnx* | *nto*)
13657 # QNX uses GNU C++, but need to define -shared option too, otherwise
13658 # it will coredump.
13659 lt_prog_compiler_pic_CXX='-fPIC -shared'
13660 ;;
13661 osf3* | osf4* | osf5*)
13662 case $cc_basename in
13663 KCC*)
13664 lt_prog_compiler_wl_CXX='--backend -Wl,'
13665 ;;
13666 RCC*)
13667 # Rational C++ 2.4.1
13668 lt_prog_compiler_pic_CXX='-pic'
13669 ;;
13670 cxx*)
13671 # Digital/Compaq C++
13672 lt_prog_compiler_wl_CXX='-Wl,'
13673 # Make sure the PIC flag is empty. It appears that all Alpha
13674 # Linux and Compaq Tru64 Unix objects are PIC.
13675 lt_prog_compiler_pic_CXX=
13676 lt_prog_compiler_static_CXX='-non_shared'
13677 ;;
13678 *)
13679 ;;
13680 esac
13681 ;;
13682 psos*)
13683 ;;
13684 solaris*)
13685 case $cc_basename in
13686 CC*)
13687 # Sun C++ 4.2, 5.x and Centerline C++
13688 lt_prog_compiler_pic_CXX='-KPIC'
13689 lt_prog_compiler_static_CXX='-Bstatic'
13690 lt_prog_compiler_wl_CXX='-Qoption ld '
13691 ;;
13692 gcx*)
13693 # Green Hills C++ Compiler
13694 lt_prog_compiler_pic_CXX='-PIC'
13695 ;;
13696 *)
13697 ;;
13698 esac
13699 ;;
13700 sunos4*)
13701 case $cc_basename in
13702 CC*)
13703 # Sun C++ 4.x
13704 lt_prog_compiler_pic_CXX='-pic'
13705 lt_prog_compiler_static_CXX='-Bstatic'
13706 ;;
13707 lcc*)
13708 # Lucid
13709 lt_prog_compiler_pic_CXX='-pic'
13710 ;;
13711 *)
13712 ;;
13713 esac
13714 ;;
13715 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13716 case $cc_basename in
13717 CC*)
13718 lt_prog_compiler_wl_CXX='-Wl,'
13719 lt_prog_compiler_pic_CXX='-KPIC'
13720 lt_prog_compiler_static_CXX='-Bstatic'
13721 ;;
13722 esac
13723 ;;
13724 tandem*)
13725 case $cc_basename in
13726 NCC*)
13727 # NonStop-UX NCC 3.20
13728 lt_prog_compiler_pic_CXX='-KPIC'
13729 ;;
13730 *)
13731 ;;
13732 esac
13733 ;;
13734 vxworks*)
13735 ;;
13736 *)
13737 lt_prog_compiler_can_build_shared_CXX=no
13738 ;;
13739 esac
13740 fi
13741
13742 case $host_os in
13743 # For platforms which do not support PIC, -DPIC is meaningless:
13744 *djgpp*)
13745 lt_prog_compiler_pic_CXX=
13746 ;;
13747 *)
13748 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13749 ;;
13750 esac
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13752 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13753
13754
13755
13756 #
13757 # Check to make sure the PIC flag actually works.
13758 #
13759 if test -n "$lt_prog_compiler_pic_CXX"; then
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13761 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13762 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13763 $as_echo_n "(cached) " >&6
13764 else
13765 lt_cv_prog_compiler_pic_works_CXX=no
13766 ac_outfile=conftest.$ac_objext
13767 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13768 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13769 # Insert the option either (1) after the last *FLAGS variable, or
13770 # (2) before a word containing "conftest.", or (3) at the end.
13771 # Note that $ac_compile itself does not contain backslashes and begins
13772 # with a dollar sign (not a hyphen), so the echo should work correctly.
13773 # The option is referenced via a variable to avoid confusing sed.
13774 lt_compile=`echo "$ac_compile" | $SED \
13775 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13776 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13777 -e 's:$: $lt_compiler_flag:'`
13778 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13779 (eval "$lt_compile" 2>conftest.err)
13780 ac_status=$?
13781 cat conftest.err >&5
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 if (exit $ac_status) && test -s "$ac_outfile"; then
13784 # The compiler can only warn and ignore the option if not recognized
13785 # So say no if there are warnings other than the usual output.
13786 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13787 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13788 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13789 lt_cv_prog_compiler_pic_works_CXX=yes
13790 fi
13791 fi
13792 $RM conftest*
13793
13794 fi
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13796 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13797
13798 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13799 case $lt_prog_compiler_pic_CXX in
13800 "" | " "*) ;;
13801 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13802 esac
13803 else
13804 lt_prog_compiler_pic_CXX=
13805 lt_prog_compiler_can_build_shared_CXX=no
13806 fi
13807
13808 fi
13809
13810
13811
13812 #
13813 # Check to make sure the static flag actually works.
13814 #
13815 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13817 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13818 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13819 $as_echo_n "(cached) " >&6
13820 else
13821 lt_cv_prog_compiler_static_works_CXX=no
13822 save_LDFLAGS="$LDFLAGS"
13823 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13824 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13825 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13826 # The linker can only warn and ignore the option if not recognized
13827 # So say no if there are warnings
13828 if test -s conftest.err; then
13829 # Append any errors to the config.log.
13830 cat conftest.err 1>&5
13831 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13832 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13833 if diff conftest.exp conftest.er2 >/dev/null; then
13834 lt_cv_prog_compiler_static_works_CXX=yes
13835 fi
13836 else
13837 lt_cv_prog_compiler_static_works_CXX=yes
13838 fi
13839 fi
13840 $RM -r conftest*
13841 LDFLAGS="$save_LDFLAGS"
13842
13843 fi
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13845 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13846
13847 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13848 :
13849 else
13850 lt_prog_compiler_static_CXX=
13851 fi
13852
13853
13854
13855
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13857 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13858 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13859 $as_echo_n "(cached) " >&6
13860 else
13861 lt_cv_prog_compiler_c_o_CXX=no
13862 $RM -r conftest 2>/dev/null
13863 mkdir conftest
13864 cd conftest
13865 mkdir out
13866 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13867
13868 lt_compiler_flag="-o out/conftest2.$ac_objext"
13869 # Insert the option either (1) after the last *FLAGS variable, or
13870 # (2) before a word containing "conftest.", or (3) at the end.
13871 # Note that $ac_compile itself does not contain backslashes and begins
13872 # with a dollar sign (not a hyphen), so the echo should work correctly.
13873 lt_compile=`echo "$ac_compile" | $SED \
13874 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13875 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13876 -e 's:$: $lt_compiler_flag:'`
13877 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13878 (eval "$lt_compile" 2>out/conftest.err)
13879 ac_status=$?
13880 cat out/conftest.err >&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13883 then
13884 # The compiler can only warn and ignore the option if not recognized
13885 # So say no if there are warnings
13886 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13887 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13888 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13889 lt_cv_prog_compiler_c_o_CXX=yes
13890 fi
13891 fi
13892 chmod u+w . 2>&5
13893 $RM conftest*
13894 # SGI C++ compiler will create directory out/ii_files/ for
13895 # template instantiation
13896 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13897 $RM out/* && rmdir out
13898 cd ..
13899 $RM -r conftest
13900 $RM conftest*
13901
13902 fi
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13904 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13905
13906
13907
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13909 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13910 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13911 $as_echo_n "(cached) " >&6
13912 else
13913 lt_cv_prog_compiler_c_o_CXX=no
13914 $RM -r conftest 2>/dev/null
13915 mkdir conftest
13916 cd conftest
13917 mkdir out
13918 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13919
13920 lt_compiler_flag="-o out/conftest2.$ac_objext"
13921 # Insert the option either (1) after the last *FLAGS variable, or
13922 # (2) before a word containing "conftest.", or (3) at the end.
13923 # Note that $ac_compile itself does not contain backslashes and begins
13924 # with a dollar sign (not a hyphen), so the echo should work correctly.
13925 lt_compile=`echo "$ac_compile" | $SED \
13926 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13927 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13928 -e 's:$: $lt_compiler_flag:'`
13929 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13930 (eval "$lt_compile" 2>out/conftest.err)
13931 ac_status=$?
13932 cat out/conftest.err >&5
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13935 then
13936 # The compiler can only warn and ignore the option if not recognized
13937 # So say no if there are warnings
13938 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13939 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13940 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13941 lt_cv_prog_compiler_c_o_CXX=yes
13942 fi
13943 fi
13944 chmod u+w . 2>&5
13945 $RM conftest*
13946 # SGI C++ compiler will create directory out/ii_files/ for
13947 # template instantiation
13948 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13949 $RM out/* && rmdir out
13950 cd ..
13951 $RM -r conftest
13952 $RM conftest*
13953
13954 fi
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13956 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13957
13958
13959
13960
13961 hard_links="nottested"
13962 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13963 # do not overwrite the value of need_locks provided by the user
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13965 $as_echo_n "checking if we can lock with hard links... " >&6; }
13966 hard_links=yes
13967 $RM conftest*
13968 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13969 touch conftest.a
13970 ln conftest.a conftest.b 2>&5 || hard_links=no
13971 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13973 $as_echo "$hard_links" >&6; }
13974 if test "$hard_links" = no; then
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13976 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13977 need_locks=warn
13978 fi
13979 else
13980 need_locks=no
13981 fi
13982
13983
13984
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13986 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13987
13988 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13989 case $host_os in
13990 aix[4-9]*)
13991 # If we're using GNU nm, then we don't want the "-C" option.
13992 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13993 # Also, AIX nm treats weak defined symbols like other global defined
13994 # symbols, whereas GNU nm marks them as "W".
13995 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13996 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'
13997 else
13998 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'
13999 fi
14000 ;;
14001 pw32*)
14002 export_symbols_cmds_CXX="$ltdll_cmds"
14003 ;;
14004 cygwin* | mingw* | cegcc*)
14005 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'
14006 ;;
14007 *)
14008 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14009 ;;
14010 esac
14011 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14012
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14014 $as_echo "$ld_shlibs_CXX" >&6; }
14015 test "$ld_shlibs_CXX" = no && can_build_shared=no
14016
14017 with_gnu_ld_CXX=$with_gnu_ld
14018
14019
14020
14021
14022
14023
14024 #
14025 # Do we need to explicitly link libc?
14026 #
14027 case "x$archive_cmds_need_lc_CXX" in
14028 x|xyes)
14029 # Assume -lc should be added
14030 archive_cmds_need_lc_CXX=yes
14031
14032 if test "$enable_shared" = yes && test "$GCC" = yes; then
14033 case $archive_cmds_CXX in
14034 *'~'*)
14035 # FIXME: we may have to deal with multi-command sequences.
14036 ;;
14037 '$CC '*)
14038 # Test whether the compiler implicitly links with -lc since on some
14039 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14040 # to ld, don't add -lc before -lgcc.
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14042 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14043 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14044 $as_echo_n "(cached) " >&6
14045 else
14046 $RM conftest*
14047 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14048
14049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14050 (eval $ac_compile) 2>&5
14051 ac_status=$?
14052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14053 test $ac_status = 0; } 2>conftest.err; then
14054 soname=conftest
14055 lib=conftest
14056 libobjs=conftest.$ac_objext
14057 deplibs=
14058 wl=$lt_prog_compiler_wl_CXX
14059 pic_flag=$lt_prog_compiler_pic_CXX
14060 compiler_flags=-v
14061 linker_flags=-v
14062 verstring=
14063 output_objdir=.
14064 libname=conftest
14065 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14066 allow_undefined_flag_CXX=
14067 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14068 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14069 ac_status=$?
14070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14071 test $ac_status = 0; }
14072 then
14073 lt_cv_archive_cmds_need_lc_CXX=no
14074 else
14075 lt_cv_archive_cmds_need_lc_CXX=yes
14076 fi
14077 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14078 else
14079 cat conftest.err 1>&5
14080 fi
14081 $RM conftest*
14082
14083 fi
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14085 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14086 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14087 ;;
14088 esac
14089 fi
14090 ;;
14091 esac
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14157 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14158
14159 library_names_spec=
14160 libname_spec='lib$name'
14161 soname_spec=
14162 shrext_cmds=".so"
14163 postinstall_cmds=
14164 postuninstall_cmds=
14165 finish_cmds=
14166 finish_eval=
14167 shlibpath_var=
14168 shlibpath_overrides_runpath=unknown
14169 version_type=none
14170 dynamic_linker="$host_os ld.so"
14171 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14172 need_lib_prefix=unknown
14173 hardcode_into_libs=no
14174
14175 # when you set need_version to no, make sure it does not cause -set_version
14176 # flags to be left without arguments
14177 need_version=unknown
14178
14179 case $host_os in
14180 aix3*)
14181 version_type=linux
14182 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14183 shlibpath_var=LIBPATH
14184
14185 # AIX 3 has no versioning support, so we append a major version to the name.
14186 soname_spec='${libname}${release}${shared_ext}$major'
14187 ;;
14188
14189 aix[4-9]*)
14190 version_type=linux
14191 need_lib_prefix=no
14192 need_version=no
14193 hardcode_into_libs=yes
14194 if test "$host_cpu" = ia64; then
14195 # AIX 5 supports IA64
14196 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14197 shlibpath_var=LD_LIBRARY_PATH
14198 else
14199 # With GCC up to 2.95.x, collect2 would create an import file
14200 # for dependence libraries. The import file would start with
14201 # the line `#! .'. This would cause the generated library to
14202 # depend on `.', always an invalid library. This was fixed in
14203 # development snapshots of GCC prior to 3.0.
14204 case $host_os in
14205 aix4 | aix4.[01] | aix4.[01].*)
14206 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14207 echo ' yes '
14208 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14209 :
14210 else
14211 can_build_shared=no
14212 fi
14213 ;;
14214 esac
14215 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14216 # soname into executable. Probably we can add versioning support to
14217 # collect2, so additional links can be useful in future.
14218 if test "$aix_use_runtimelinking" = yes; then
14219 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14220 # instead of lib<name>.a to let people know that these are not
14221 # typical AIX shared libraries.
14222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14223 else
14224 # We preserve .a as extension for shared libraries through AIX4.2
14225 # and later when we are not doing run time linking.
14226 library_names_spec='${libname}${release}.a $libname.a'
14227 soname_spec='${libname}${release}${shared_ext}$major'
14228 fi
14229 shlibpath_var=LIBPATH
14230 fi
14231 ;;
14232
14233 amigaos*)
14234 case $host_cpu in
14235 powerpc)
14236 # Since July 2007 AmigaOS4 officially supports .so libraries.
14237 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14239 ;;
14240 m68k)
14241 library_names_spec='$libname.ixlibrary $libname.a'
14242 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14243 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'
14244 ;;
14245 esac
14246 ;;
14247
14248 beos*)
14249 library_names_spec='${libname}${shared_ext}'
14250 dynamic_linker="$host_os ld.so"
14251 shlibpath_var=LIBRARY_PATH
14252 ;;
14253
14254 bsdi[45]*)
14255 version_type=linux
14256 need_version=no
14257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14258 soname_spec='${libname}${release}${shared_ext}$major'
14259 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14260 shlibpath_var=LD_LIBRARY_PATH
14261 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14262 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14263 # the default ld.so.conf also contains /usr/contrib/lib and
14264 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14265 # libtool to hard-code these into programs
14266 ;;
14267
14268 cygwin* | mingw* | pw32* | cegcc*)
14269 version_type=windows
14270 shrext_cmds=".dll"
14271 need_version=no
14272 need_lib_prefix=no
14273
14274 case $GCC,$host_os in
14275 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14276 library_names_spec='$libname.dll.a'
14277 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14278 postinstall_cmds='base_file=`basename \${file}`~
14279 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14280 dldir=$destdir/`dirname \$dlpath`~
14281 test -d \$dldir || mkdir -p \$dldir~
14282 $install_prog $dir/$dlname \$dldir/$dlname~
14283 chmod a+x \$dldir/$dlname~
14284 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14285 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14286 fi'
14287 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14288 dlpath=$dir/\$dldll~
14289 $RM \$dlpath'
14290 shlibpath_overrides_runpath=yes
14291
14292 case $host_os in
14293 cygwin*)
14294 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14295 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14296
14297 ;;
14298 mingw* | cegcc*)
14299 # MinGW DLLs use traditional 'lib' prefix
14300 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14301 ;;
14302 pw32*)
14303 # pw32 DLLs use 'pw' prefix rather than 'lib'
14304 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14305 ;;
14306 esac
14307 ;;
14308
14309 *)
14310 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14311 ;;
14312 esac
14313 dynamic_linker='Win32 ld.exe'
14314 # FIXME: first we should search . and the directory the executable is in
14315 shlibpath_var=PATH
14316 ;;
14317
14318 darwin* | rhapsody*)
14319 dynamic_linker="$host_os dyld"
14320 version_type=darwin
14321 need_lib_prefix=no
14322 need_version=no
14323 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14324 soname_spec='${libname}${release}${major}$shared_ext'
14325 shlibpath_overrides_runpath=yes
14326 shlibpath_var=DYLD_LIBRARY_PATH
14327 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14328
14329 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14330 ;;
14331
14332 dgux*)
14333 version_type=linux
14334 need_lib_prefix=no
14335 need_version=no
14336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14337 soname_spec='${libname}${release}${shared_ext}$major'
14338 shlibpath_var=LD_LIBRARY_PATH
14339 ;;
14340
14341 freebsd* | dragonfly*)
14342 # DragonFly does not have aout. When/if they implement a new
14343 # versioning mechanism, adjust this.
14344 if test -x /usr/bin/objformat; then
14345 objformat=`/usr/bin/objformat`
14346 else
14347 case $host_os in
14348 freebsd[23].*) objformat=aout ;;
14349 *) objformat=elf ;;
14350 esac
14351 fi
14352 version_type=freebsd-$objformat
14353 case $version_type in
14354 freebsd-elf*)
14355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14356 need_version=no
14357 need_lib_prefix=no
14358 ;;
14359 freebsd-*)
14360 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14361 need_version=yes
14362 ;;
14363 esac
14364 shlibpath_var=LD_LIBRARY_PATH
14365 case $host_os in
14366 freebsd2.*)
14367 shlibpath_overrides_runpath=yes
14368 ;;
14369 freebsd3.[01]* | freebsdelf3.[01]*)
14370 shlibpath_overrides_runpath=yes
14371 hardcode_into_libs=yes
14372 ;;
14373 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14374 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14375 shlibpath_overrides_runpath=no
14376 hardcode_into_libs=yes
14377 ;;
14378 *) # from 4.6 on, and DragonFly
14379 shlibpath_overrides_runpath=yes
14380 hardcode_into_libs=yes
14381 ;;
14382 esac
14383 ;;
14384
14385 gnu*)
14386 version_type=linux
14387 need_lib_prefix=no
14388 need_version=no
14389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14390 soname_spec='${libname}${release}${shared_ext}$major'
14391 shlibpath_var=LD_LIBRARY_PATH
14392 hardcode_into_libs=yes
14393 ;;
14394
14395 haiku*)
14396 version_type=linux
14397 need_lib_prefix=no
14398 need_version=no
14399 dynamic_linker="$host_os runtime_loader"
14400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14401 soname_spec='${libname}${release}${shared_ext}$major'
14402 shlibpath_var=LIBRARY_PATH
14403 shlibpath_overrides_runpath=yes
14404 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14405 hardcode_into_libs=yes
14406 ;;
14407
14408 hpux9* | hpux10* | hpux11*)
14409 # Give a soname corresponding to the major version so that dld.sl refuses to
14410 # link against other versions.
14411 version_type=sunos
14412 need_lib_prefix=no
14413 need_version=no
14414 case $host_cpu in
14415 ia64*)
14416 shrext_cmds='.so'
14417 hardcode_into_libs=yes
14418 dynamic_linker="$host_os dld.so"
14419 shlibpath_var=LD_LIBRARY_PATH
14420 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14422 soname_spec='${libname}${release}${shared_ext}$major'
14423 if test "X$HPUX_IA64_MODE" = X32; then
14424 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14425 else
14426 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14427 fi
14428 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14429 ;;
14430 hppa*64*)
14431 shrext_cmds='.sl'
14432 hardcode_into_libs=yes
14433 dynamic_linker="$host_os dld.sl"
14434 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14435 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14437 soname_spec='${libname}${release}${shared_ext}$major'
14438 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14439 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14440 ;;
14441 *)
14442 shrext_cmds='.sl'
14443 dynamic_linker="$host_os dld.sl"
14444 shlibpath_var=SHLIB_PATH
14445 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14447 soname_spec='${libname}${release}${shared_ext}$major'
14448 ;;
14449 esac
14450 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14451 postinstall_cmds='chmod 555 $lib'
14452 # or fails outright, so override atomically:
14453 install_override_mode=555
14454 ;;
14455
14456 interix[3-9]*)
14457 version_type=linux
14458 need_lib_prefix=no
14459 need_version=no
14460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14461 soname_spec='${libname}${release}${shared_ext}$major'
14462 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14463 shlibpath_var=LD_LIBRARY_PATH
14464 shlibpath_overrides_runpath=no
14465 hardcode_into_libs=yes
14466 ;;
14467
14468 irix5* | irix6* | nonstopux*)
14469 case $host_os in
14470 nonstopux*) version_type=nonstopux ;;
14471 *)
14472 if test "$lt_cv_prog_gnu_ld" = yes; then
14473 version_type=linux
14474 else
14475 version_type=irix
14476 fi ;;
14477 esac
14478 need_lib_prefix=no
14479 need_version=no
14480 soname_spec='${libname}${release}${shared_ext}$major'
14481 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14482 case $host_os in
14483 irix5* | nonstopux*)
14484 libsuff= shlibsuff=
14485 ;;
14486 *)
14487 case $LD in # libtool.m4 will add one of these switches to LD
14488 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14489 libsuff= shlibsuff= libmagic=32-bit;;
14490 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14491 libsuff=32 shlibsuff=N32 libmagic=N32;;
14492 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14493 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14494 *) libsuff= shlibsuff= libmagic=never-match;;
14495 esac
14496 ;;
14497 esac
14498 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14499 shlibpath_overrides_runpath=no
14500 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14501 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14502 hardcode_into_libs=yes
14503 ;;
14504
14505 # No shared lib support for Linux oldld, aout, or coff.
14506 linux*oldld* | linux*aout* | linux*coff*)
14507 dynamic_linker=no
14508 ;;
14509
14510 # This must be Linux ELF.
14511 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14512 version_type=linux
14513 need_lib_prefix=no
14514 need_version=no
14515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14516 soname_spec='${libname}${release}${shared_ext}$major'
14517 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14518 shlibpath_var=LD_LIBRARY_PATH
14519 shlibpath_overrides_runpath=no
14520
14521 # Some binutils ld are patched to set DT_RUNPATH
14522 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14523 $as_echo_n "(cached) " >&6
14524 else
14525 lt_cv_shlibpath_overrides_runpath=no
14526 save_LDFLAGS=$LDFLAGS
14527 save_libdir=$libdir
14528 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14529 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14530 if test x$gcc_no_link = xyes; then
14531 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14532 fi
14533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14534 /* end confdefs.h. */
14535
14536 int
14537 main ()
14538 {
14539
14540 ;
14541 return 0;
14542 }
14543 _ACEOF
14544 if ac_fn_cxx_try_link "$LINENO"; then :
14545 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14546 lt_cv_shlibpath_overrides_runpath=yes
14547 fi
14548 fi
14549 rm -f core conftest.err conftest.$ac_objext \
14550 conftest$ac_exeext conftest.$ac_ext
14551 LDFLAGS=$save_LDFLAGS
14552 libdir=$save_libdir
14553
14554 fi
14555
14556 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14557
14558 # This implies no fast_install, which is unacceptable.
14559 # Some rework will be needed to allow for fast_install
14560 # before this can be enabled.
14561 hardcode_into_libs=yes
14562
14563 # Append ld.so.conf contents to the search path
14564 if test -f /etc/ld.so.conf; then
14565 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' ' '`
14566 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14567 fi
14568
14569 # We used to test for /lib/ld.so.1 and disable shared libraries on
14570 # powerpc, because MkLinux only supported shared libraries with the
14571 # GNU dynamic linker. Since this was broken with cross compilers,
14572 # most powerpc-linux boxes support dynamic linking these days and
14573 # people can always --disable-shared, the test was removed, and we
14574 # assume the GNU/Linux dynamic linker is in use.
14575 dynamic_linker='GNU/Linux ld.so'
14576 ;;
14577
14578 netbsd*)
14579 version_type=sunos
14580 need_lib_prefix=no
14581 need_version=no
14582 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14584 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14585 dynamic_linker='NetBSD (a.out) ld.so'
14586 else
14587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14588 soname_spec='${libname}${release}${shared_ext}$major'
14589 dynamic_linker='NetBSD ld.elf_so'
14590 fi
14591 shlibpath_var=LD_LIBRARY_PATH
14592 shlibpath_overrides_runpath=yes
14593 hardcode_into_libs=yes
14594 ;;
14595
14596 newsos6)
14597 version_type=linux
14598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14599 shlibpath_var=LD_LIBRARY_PATH
14600 shlibpath_overrides_runpath=yes
14601 ;;
14602
14603 *nto* | *qnx*)
14604 version_type=qnx
14605 need_lib_prefix=no
14606 need_version=no
14607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14608 soname_spec='${libname}${release}${shared_ext}$major'
14609 shlibpath_var=LD_LIBRARY_PATH
14610 shlibpath_overrides_runpath=no
14611 hardcode_into_libs=yes
14612 dynamic_linker='ldqnx.so'
14613 ;;
14614
14615 openbsd*)
14616 version_type=sunos
14617 sys_lib_dlsearch_path_spec="/usr/lib"
14618 need_lib_prefix=no
14619 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14620 case $host_os in
14621 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14622 *) need_version=no ;;
14623 esac
14624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14625 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14626 shlibpath_var=LD_LIBRARY_PATH
14627 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14628 case $host_os in
14629 openbsd2.[89] | openbsd2.[89].*)
14630 shlibpath_overrides_runpath=no
14631 ;;
14632 *)
14633 shlibpath_overrides_runpath=yes
14634 ;;
14635 esac
14636 else
14637 shlibpath_overrides_runpath=yes
14638 fi
14639 ;;
14640
14641 os2*)
14642 libname_spec='$name'
14643 shrext_cmds=".dll"
14644 need_lib_prefix=no
14645 library_names_spec='$libname${shared_ext} $libname.a'
14646 dynamic_linker='OS/2 ld.exe'
14647 shlibpath_var=LIBPATH
14648 ;;
14649
14650 osf3* | osf4* | osf5*)
14651 version_type=osf
14652 need_lib_prefix=no
14653 need_version=no
14654 soname_spec='${libname}${release}${shared_ext}$major'
14655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14656 shlibpath_var=LD_LIBRARY_PATH
14657 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14658 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14659 ;;
14660
14661 rdos*)
14662 dynamic_linker=no
14663 ;;
14664
14665 solaris*)
14666 version_type=linux
14667 need_lib_prefix=no
14668 need_version=no
14669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14670 soname_spec='${libname}${release}${shared_ext}$major'
14671 shlibpath_var=LD_LIBRARY_PATH
14672 shlibpath_overrides_runpath=yes
14673 hardcode_into_libs=yes
14674 # ldd complains unless libraries are executable
14675 postinstall_cmds='chmod +x $lib'
14676 ;;
14677
14678 sunos4*)
14679 version_type=sunos
14680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14681 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14682 shlibpath_var=LD_LIBRARY_PATH
14683 shlibpath_overrides_runpath=yes
14684 if test "$with_gnu_ld" = yes; then
14685 need_lib_prefix=no
14686 fi
14687 need_version=yes
14688 ;;
14689
14690 sysv4 | sysv4.3*)
14691 version_type=linux
14692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14693 soname_spec='${libname}${release}${shared_ext}$major'
14694 shlibpath_var=LD_LIBRARY_PATH
14695 case $host_vendor in
14696 sni)
14697 shlibpath_overrides_runpath=no
14698 need_lib_prefix=no
14699 runpath_var=LD_RUN_PATH
14700 ;;
14701 siemens)
14702 need_lib_prefix=no
14703 ;;
14704 motorola)
14705 need_lib_prefix=no
14706 need_version=no
14707 shlibpath_overrides_runpath=no
14708 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14709 ;;
14710 esac
14711 ;;
14712
14713 sysv4*MP*)
14714 if test -d /usr/nec ;then
14715 version_type=linux
14716 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14717 soname_spec='$libname${shared_ext}.$major'
14718 shlibpath_var=LD_LIBRARY_PATH
14719 fi
14720 ;;
14721
14722 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14723 version_type=freebsd-elf
14724 need_lib_prefix=no
14725 need_version=no
14726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14727 soname_spec='${libname}${release}${shared_ext}$major'
14728 shlibpath_var=LD_LIBRARY_PATH
14729 shlibpath_overrides_runpath=yes
14730 hardcode_into_libs=yes
14731 if test "$with_gnu_ld" = yes; then
14732 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14733 else
14734 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14735 case $host_os in
14736 sco3.2v5*)
14737 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14738 ;;
14739 esac
14740 fi
14741 sys_lib_dlsearch_path_spec='/usr/lib'
14742 ;;
14743
14744 tpf*)
14745 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14746 version_type=linux
14747 need_lib_prefix=no
14748 need_version=no
14749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14750 shlibpath_var=LD_LIBRARY_PATH
14751 shlibpath_overrides_runpath=no
14752 hardcode_into_libs=yes
14753 ;;
14754
14755 uts4*)
14756 version_type=linux
14757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14758 soname_spec='${libname}${release}${shared_ext}$major'
14759 shlibpath_var=LD_LIBRARY_PATH
14760 ;;
14761
14762 *)
14763 dynamic_linker=no
14764 ;;
14765 esac
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14767 $as_echo "$dynamic_linker" >&6; }
14768 test "$dynamic_linker" = no && can_build_shared=no
14769
14770 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14771 if test "$GCC" = yes; then
14772 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14773 fi
14774
14775 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14776 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14777 fi
14778 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14779 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14780 fi
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14820 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14821 hardcode_action_CXX=
14822 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14823 test -n "$runpath_var_CXX" ||
14824 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14825
14826 # We can hardcode non-existent directories.
14827 if test "$hardcode_direct_CXX" != no &&
14828 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14829 # have to relink, otherwise we might link with an installed library
14830 # when we should be linking with a yet-to-be-installed one
14831 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14832 test "$hardcode_minus_L_CXX" != no; then
14833 # Linking always hardcodes the temporary library directory.
14834 hardcode_action_CXX=relink
14835 else
14836 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14837 hardcode_action_CXX=immediate
14838 fi
14839 else
14840 # We cannot hardcode anything, or else we can only hardcode existing
14841 # directories.
14842 hardcode_action_CXX=unsupported
14843 fi
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14845 $as_echo "$hardcode_action_CXX" >&6; }
14846
14847 if test "$hardcode_action_CXX" = relink ||
14848 test "$inherit_rpath_CXX" = yes; then
14849 # Fast installation is not supported
14850 enable_fast_install=no
14851 elif test "$shlibpath_overrides_runpath" = yes ||
14852 test "$enable_shared" = no; then
14853 # Fast installation is not necessary
14854 enable_fast_install=needless
14855 fi
14856
14857
14858
14859
14860
14861
14862
14863 fi # test -n "$compiler"
14864
14865 CC=$lt_save_CC
14866 LDCXX=$LD
14867 LD=$lt_save_LD
14868 GCC=$lt_save_GCC
14869 with_gnu_ld=$lt_save_with_gnu_ld
14870 lt_cv_path_LDCXX=$lt_cv_path_LD
14871 lt_cv_path_LD=$lt_save_path_LD
14872 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14873 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14874 fi # test "$_lt_caught_CXX_error" != yes
14875
14876 ac_ext=c
14877 ac_cpp='$CPP $CPPFLAGS'
14878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894 ac_config_commands="$ac_config_commands libtool"
14895
14896
14897
14898
14899 # Only expand once:
14900
14901
14902
14903
14904
14905 case $host in
14906 *-cygwin* | *-mingw*)
14907 # 'host' will be top-level target in the case of a target lib,
14908 # we must compare to with_cross_host to decide if this is a native
14909 # or cross-compiler and select where to install dlls appropriately.
14910 if test -n "$with_cross_host" &&
14911 test x"$with_cross_host" != x"no"; then
14912 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14913 else
14914 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14915 fi
14916 ;;
14917 *)
14918 lt_host_flags=
14919 ;;
14920 esac
14921
14922
14923
14924
14925
14926
14927 if test "$enable_vtable_verify" = yes; then
14928 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14929 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14930 fi
14931
14932
14933 # libtool variables for C++ shared and position-independent compiles.
14934 #
14935 # Use glibcxx_lt_pic_flag to designate the automake variable
14936 # used to encapsulate the default libtool approach to creating objects
14937 # with position-independent code. Default: -prefer-pic.
14938 #
14939 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14940 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14941 #
14942 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14943 # creating position-independent objects. This varies with the target
14944 # hardware and operating system, but is often: -DPIC -fPIC.
14945 if test "$enable_shared" = yes; then
14946 glibcxx_lt_pic_flag="-prefer-pic"
14947 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14948 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14949
14950 else
14951 glibcxx_lt_pic_flag=
14952 glibcxx_compiler_pic_flag=
14953 glibcxx_compiler_shared_flag=
14954 fi
14955
14956
14957
14958
14959 # Override the libtool's pic_flag and pic_mode.
14960 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14961 # NB: this impacts --with-pic and --without-pic.
14962 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14963 pic_mode='default'
14964
14965 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14966 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14967
14968 # Possibly disable most of the library.
14969 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14970 ## than just ignoring the results. Faster /and/ more correct, win win.
14971
14972 # Check whether --enable-hosted-libstdcxx was given.
14973 if test "${enable_hosted_libstdcxx+set}" = set; then :
14974 enableval=$enable_hosted_libstdcxx;
14975 else
14976 case "$host" in
14977 arm*-*-symbianelf*)
14978 enable_hosted_libstdcxx=no
14979 ;;
14980 *)
14981 enable_hosted_libstdcxx=yes
14982 ;;
14983 esac
14984 fi
14985
14986 if test "$enable_hosted_libstdcxx" = no; then
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14988 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14989 is_hosted=no
14990 hosted_define=0
14991 enable_abi_check=no
14992 enable_libstdcxx_pch=no
14993 else
14994 is_hosted=yes
14995 hosted_define=1
14996 fi
14997
14998
14999 cat >>confdefs.h <<_ACEOF
15000 #define _GLIBCXX_HOSTED $hosted_define
15001 _ACEOF
15002
15003
15004
15005 # Enable descriptive messages to standard output on termination.
15006
15007 # Check whether --enable-libstdcxx-verbose was given.
15008 if test "${enable_libstdcxx_verbose+set}" = set; then :
15009 enableval=$enable_libstdcxx_verbose;
15010 else
15011 enable_libstdcxx_verbose=yes
15012 fi
15013
15014 if test x"$enable_libstdcxx_verbose" = xyes; then
15015 verbose_define=1
15016 else
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15018 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15019 verbose_define=0
15020 fi
15021
15022 cat >>confdefs.h <<_ACEOF
15023 #define _GLIBCXX_VERBOSE $verbose_define
15024 _ACEOF
15025
15026
15027
15028 # Enable compiler support that doesn't require linking.
15029
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15031 $as_echo_n "checking for exception model to use... " >&6; }
15032
15033 ac_ext=cpp
15034 ac_cpp='$CXXCPP $CPPFLAGS'
15035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15038
15039 # Check whether --enable-sjlj-exceptions was given.
15040 if test "${enable_sjlj_exceptions+set}" = set; then :
15041 enableval=$enable_sjlj_exceptions;
15042 case "$enableval" in
15043 yes|no|auto) ;;
15044 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15045 esac
15046
15047 else
15048 enable_sjlj_exceptions=auto
15049 fi
15050
15051
15052
15053 if test $enable_sjlj_exceptions = auto; then
15054 # Botheration. Now we've got to detect the exception model. Link tests
15055 # against libgcc.a are problematic since we've not been given proper -L
15056 # bits for single-tree newlib and libgloss.
15057 #
15058 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15059 cat > conftest.$ac_ext << EOF
15060 #line 15060 "configure"
15061 struct S { ~S(); };
15062 void bar();
15063 void foo()
15064 {
15065 S s;
15066 bar();
15067 }
15068 EOF
15069 old_CXXFLAGS="$CXXFLAGS"
15070 CXXFLAGS=-S
15071 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15072 (eval $ac_compile) 2>&5
15073 ac_status=$?
15074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15075 test $ac_status = 0; }; then
15076 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15077 enable_sjlj_exceptions=yes
15078 elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15079 enable_sjlj_exceptions=yes
15080 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15081 enable_sjlj_exceptions=no
15082 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15083 enable_sjlj_exceptions=no
15084 fi
15085 fi
15086 CXXFLAGS="$old_CXXFLAGS"
15087 rm -f conftest*
15088 fi
15089
15090 # This is a tad weird, for hysterical raisins. We have to map
15091 # enable/disable to two different models.
15092 case $enable_sjlj_exceptions in
15093 yes)
15094
15095 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15096
15097 ac_exception_model_name=sjlj
15098 ;;
15099 no)
15100 ac_exception_model_name="call frame"
15101 ;;
15102 *)
15103 as_fn_error "unable to detect exception model" "$LINENO" 5
15104 ;;
15105 esac
15106 ac_ext=c
15107 ac_cpp='$CPP $CPPFLAGS'
15108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15111
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15113 $as_echo "$ac_exception_model_name" >&6; }
15114
15115
15116 # Check whether --enable-libstdcxx-pch was given.
15117 if test "${enable_libstdcxx_pch+set}" = set; then :
15118 enableval=$enable_libstdcxx_pch;
15119 case "$enableval" in
15120 yes|no) ;;
15121 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15122 esac
15123
15124 else
15125 enable_libstdcxx_pch=$is_hosted
15126 fi
15127
15128
15129 if test $enable_libstdcxx_pch = yes; then
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15131 $as_echo_n "checking for compiler with PCH support... " >&6; }
15132 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15133 $as_echo_n "(cached) " >&6
15134 else
15135 ac_save_CXXFLAGS="$CXXFLAGS"
15136 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15137
15138 ac_ext=cpp
15139 ac_cpp='$CXXCPP $CPPFLAGS'
15140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15143
15144 echo '#include <math.h>' > conftest.h
15145 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15146 -o conftest.h.gch 1>&5 2>&1 &&
15147 echo '#error "pch failed"' > conftest.h &&
15148 echo '#include "conftest.h"' > conftest.cc &&
15149 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15150 then
15151 glibcxx_cv_prog_CXX_pch=yes
15152 else
15153 glibcxx_cv_prog_CXX_pch=no
15154 fi
15155 rm -f conftest*
15156 CXXFLAGS=$ac_save_CXXFLAGS
15157 ac_ext=c
15158 ac_cpp='$CPP $CPPFLAGS'
15159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15162
15163
15164 fi
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15166 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15167 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15168 fi
15169
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15171 $as_echo_n "checking for enabled PCH... " >&6; }
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15173 $as_echo "$enable_libstdcxx_pch" >&6; }
15174
15175
15176 if test $enable_libstdcxx_pch = yes; then
15177 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15178 else
15179 glibcxx_PCHFLAGS=""
15180 fi
15181
15182
15183
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15185 $as_echo_n "checking for thread model used by GCC... " >&6; }
15186 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15188 $as_echo "$target_thread_file" >&6; }
15189
15190 case $target_thread_file in
15191 aix) thread_header=config/rs6000/gthr-aix.h ;;
15192 dce) thread_header=config/pa/gthr-dce.h ;;
15193 lynx) thread_header=config/gthr-lynx.h ;;
15194 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15195 posix) thread_header=gthr-posix.h ;;
15196 rtems) thread_header=config/gthr-rtems.h ;;
15197 single) thread_header=gthr-single.h ;;
15198 tpf) thread_header=config/s390/gthr-tpf.h ;;
15199 vxworks) thread_header=config/gthr-vxworks.h ;;
15200 win32) thread_header=config/i386/gthr-win32.h ;;
15201 esac
15202
15203
15204
15205
15206
15207 ac_ext=cpp
15208 ac_cpp='$CXXCPP $CPPFLAGS'
15209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15212
15213 old_CXXFLAGS="$CXXFLAGS"
15214
15215 # Do link tests if possible, instead asm tests, limited to some platforms
15216 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15217 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15218 atomic_builtins_link_tests=no
15219 if test x$gcc_no_link != xyes; then
15220 # Can do link tests. Limit to some tested platforms
15221 case "$host" in
15222 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15223 atomic_builtins_link_tests=yes
15224 ;;
15225 esac
15226 fi
15227
15228 if test x$atomic_builtins_link_tests = xyes; then
15229
15230 # Do link tests.
15231
15232 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15233
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15235 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15236 if test "${glibcxx_cv_atomic_bool+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 bool 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_bool=yes
15265 else
15266 glibcxx_cv_atomic_bool=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_bool" >&5
15274 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15275
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15277 $as_echo_n "checking for atomic builtins for short... " >&6; }
15278 if test "${glibcxx_cv_atomic_short+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 short 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_short=yes
15307 else
15308 glibcxx_cv_atomic_short=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_short" >&5
15316 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15317
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15319 $as_echo_n "checking for atomic builtins for int... " >&6; }
15320 if test "${glibcxx_cv_atomic_int+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 int 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_int=yes
15349 else
15350 glibcxx_cv_atomic_int=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_int" >&5
15358 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15359
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15361 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15362 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15363 $as_echo_n "(cached) " >&6
15364 else
15365
15366 if test x$gcc_no_link = xyes; then
15367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15368 fi
15369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15370 /* end confdefs.h. */
15371
15372 int
15373 main ()
15374 {
15375 typedef long long atomic_type;
15376 atomic_type c1;
15377 atomic_type c2;
15378 atomic_type c3(0);
15379 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15380 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15381 __ATOMIC_RELAXED);
15382 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15383 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15384
15385 ;
15386 return 0;
15387 }
15388 _ACEOF
15389 if ac_fn_cxx_try_link "$LINENO"; then :
15390 glibcxx_cv_atomic_long_long=yes
15391 else
15392 glibcxx_cv_atomic_long_long=no
15393 fi
15394 rm -f core conftest.err conftest.$ac_objext \
15395 conftest$ac_exeext conftest.$ac_ext
15396
15397 fi
15398
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15400 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15401
15402 else
15403
15404 # Do asm tests.
15405
15406 # Compile unoptimized.
15407 CXXFLAGS='-O0 -S'
15408
15409 # Fake what AC_TRY_COMPILE does.
15410
15411 cat > conftest.$ac_ext << EOF
15412 #line 15412 "configure"
15413 int main()
15414 {
15415 typedef bool atomic_type;
15416 atomic_type c1;
15417 atomic_type c2;
15418 atomic_type c3(0);
15419 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15420 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15421 __ATOMIC_RELAXED);
15422 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15423 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15424
15425 return 0;
15426 }
15427 EOF
15428
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15430 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15431 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15432 (eval $ac_compile) 2>&5
15433 ac_status=$?
15434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15435 test $ac_status = 0; }; then
15436 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15437 glibcxx_cv_atomic_bool=no
15438 else
15439 glibcxx_cv_atomic_bool=yes
15440 fi
15441 fi
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15443 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15444 rm -f conftest*
15445
15446 cat > conftest.$ac_ext << EOF
15447 #line 15447 "configure"
15448 int main()
15449 {
15450 typedef short atomic_type;
15451 atomic_type c1;
15452 atomic_type c2;
15453 atomic_type c3(0);
15454 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15455 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15456 __ATOMIC_RELAXED);
15457 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15458 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15459
15460 return 0;
15461 }
15462 EOF
15463
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15465 $as_echo_n "checking for atomic builtins for short... " >&6; }
15466 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15467 (eval $ac_compile) 2>&5
15468 ac_status=$?
15469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15470 test $ac_status = 0; }; then
15471 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15472 glibcxx_cv_atomic_short=no
15473 else
15474 glibcxx_cv_atomic_short=yes
15475 fi
15476 fi
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15478 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15479 rm -f conftest*
15480
15481 cat > conftest.$ac_ext << EOF
15482 #line 15482 "configure"
15483 int main()
15484 {
15485 // NB: _Atomic_word not necessarily int.
15486 typedef int atomic_type;
15487 atomic_type c1;
15488 atomic_type c2;
15489 atomic_type c3(0);
15490 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15491 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15492 __ATOMIC_RELAXED);
15493 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15494 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15495
15496 return 0;
15497 }
15498 EOF
15499
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15501 $as_echo_n "checking for atomic builtins for int... " >&6; }
15502 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15503 (eval $ac_compile) 2>&5
15504 ac_status=$?
15505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15506 test $ac_status = 0; }; then
15507 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15508 glibcxx_cv_atomic_int=no
15509 else
15510 glibcxx_cv_atomic_int=yes
15511 fi
15512 fi
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15514 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15515 rm -f conftest*
15516
15517 cat > conftest.$ac_ext << EOF
15518 #line 15518 "configure"
15519 int main()
15520 {
15521 typedef long long atomic_type;
15522 atomic_type c1;
15523 atomic_type c2;
15524 atomic_type c3(0);
15525 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15526 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15527 __ATOMIC_RELAXED);
15528 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15529 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15530
15531 return 0;
15532 }
15533 EOF
15534
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15536 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15537 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15538 (eval $ac_compile) 2>&5
15539 ac_status=$?
15540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15541 test $ac_status = 0; }; then
15542 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15543 glibcxx_cv_atomic_long_long=no
15544 else
15545 glibcxx_cv_atomic_long_long=yes
15546 fi
15547 fi
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15549 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15550 rm -f conftest*
15551
15552 fi
15553
15554 CXXFLAGS="$old_CXXFLAGS"
15555 ac_ext=c
15556 ac_cpp='$CPP $CPPFLAGS'
15557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15560
15561
15562 # Set atomicity_dir to builtins if all but the long long test above passes.
15563 if test $glibcxx_cv_atomic_bool = yes \
15564 && test $glibcxx_cv_atomic_short = yes \
15565 && test $glibcxx_cv_atomic_int = yes; then
15566
15567 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15568
15569 atomicity_dir=cpu/generic/atomicity_builtins
15570 fi
15571
15572 # If still generic, set to mutex.
15573 if test $atomicity_dir = "cpu/generic" ; then
15574 atomicity_dir=cpu/generic/atomicity_mutex
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15576 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15577 if test "x$target_thread_file" = xsingle; then
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15579 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15581 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15582 else
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15584 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15586 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15587 fi
15588 fi
15589
15590
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 int main()
15599 {
15600 _Decimal32 d1;
15601 _Decimal64 d2;
15602 _Decimal128 d3;
15603 return 0;
15604 }
15605 EOF
15606
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15608 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15609 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15610 (eval $ac_compile) 2>&5
15611 ac_status=$?
15612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15613 test $ac_status = 0; }; then
15614
15615 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15616
15617 enable_dfp=yes
15618 else
15619 enable_dfp=no
15620 fi
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15622 $as_echo "$enable_dfp" >&6; }
15623 rm -f conftest*
15624
15625
15626
15627
15628 ac_ext=cpp
15629 ac_cpp='$CXXCPP $CPPFLAGS'
15630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15633
15634
15635 # Fake what AC_TRY_COMPILE does, without linking as this is
15636 # unnecessary for this test.
15637
15638 cat > conftest.$ac_ext << EOF
15639 #line 15639 "configure"
15640 template<typename T1, typename T2>
15641 struct same
15642 { typedef T2 type; };
15643
15644 template<typename T>
15645 struct same<T, T>;
15646
15647 int main()
15648 {
15649 typename same<long, __int128>::type i1;
15650 typename same<long long, __int128>::type i2;
15651 }
15652 EOF
15653
15654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15655 $as_echo_n "checking for __int128... " >&6; }
15656 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15657 (eval $ac_compile) 2>&5
15658 ac_status=$?
15659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15660 test $ac_status = 0; }; then
15661
15662 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15663
15664 enable_int128=yes
15665 else
15666 enable_int128=no
15667 fi
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15669 $as_echo "$enable_int128" >&6; }
15670 rm -f conftest*
15671
15672 cat > conftest.$ac_ext << EOF
15673 #line 15673 "configure"
15674 template<typename T1, typename T2>
15675 struct same
15676 { typedef T2 type; };
15677
15678 template<typename T>
15679 struct same<T, T>;
15680
15681 int main()
15682 {
15683 typename same<double, __float128>::type f1;
15684 typename same<long double, __float128>::type f2;
15685 }
15686 EOF
15687
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15689 $as_echo_n "checking for __float128... " >&6; }
15690 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15691 (eval $ac_compile) 2>&5
15692 ac_status=$?
15693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15694 test $ac_status = 0; }; then
15695
15696 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15697
15698 enable_float128=yes
15699 else
15700 enable_float128=no
15701 fi
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15703 $as_echo "$enable_float128" >&6; }
15704 rm -f conftest*
15705
15706 ac_ext=c
15707 ac_cpp='$CPP $CPPFLAGS'
15708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15711
15712
15713 if test "$enable_float128" = yes; then
15714 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15715 fi
15716
15717 # Checks for compiler support that doesn't require linking.
15718
15719 # All these tests are for C++; save the language and the compiler flags.
15720 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15721 # found in GLIBCXX_CONFIGURE.
15722
15723 ac_ext=cpp
15724 ac_cpp='$CXXCPP $CPPFLAGS'
15725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15728
15729 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15730 ac_save_CXXFLAGS="$CXXFLAGS"
15731
15732 # Check for maintainer-mode bits.
15733 if test x"$USE_MAINTAINER_MODE" = xno; then
15734 WERROR=''
15735 else
15736 WERROR='-Werror'
15737 fi
15738
15739 # Check for -ffunction-sections -fdata-sections
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15741 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15742 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15744 /* end confdefs.h. */
15745 int foo; void bar() { };
15746 int
15747 main ()
15748 {
15749
15750 ;
15751 return 0;
15752 }
15753 _ACEOF
15754 if ac_fn_cxx_try_compile "$LINENO"; then :
15755 ac_fdsections=yes
15756 else
15757 ac_fdsections=no
15758 fi
15759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15760 if test "$ac_test_CXXFLAGS" = set; then
15761 CXXFLAGS="$ac_save_CXXFLAGS"
15762 else
15763 # this is the suspicious part
15764 CXXFLAGS=''
15765 fi
15766 if test x"$ac_fdsections" = x"yes"; then
15767 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15768 fi
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15770 $as_echo "$ac_fdsections" >&6; }
15771
15772 ac_ext=c
15773 ac_cpp='$CPP $CPPFLAGS'
15774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15777
15778
15779
15780
15781
15782 # Enable all the variable C++ runtime options that don't require linking.
15783
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15785 $as_echo_n "checking for underlying I/O to use... " >&6; }
15786 # Check whether --enable-cstdio was given.
15787 if test "${enable_cstdio+set}" = set; then :
15788 enableval=$enable_cstdio;
15789 case "$enableval" in
15790 stdio) ;;
15791 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15792 esac
15793
15794 else
15795 enable_cstdio=stdio
15796 fi
15797
15798
15799
15800 # Now that libio has been removed, you can have any color you want as long
15801 # as it's black. This is one big no-op until other packages are added, but
15802 # showing the framework never hurts.
15803 case ${enable_cstdio} in
15804 stdio)
15805 CSTDIO_H=config/io/c_io_stdio.h
15806 BASIC_FILE_H=config/io/basic_file_stdio.h
15807 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15809 $as_echo "stdio" >&6; }
15810 ;;
15811 esac
15812
15813
15814
15815
15816
15817
15818 # Check whether --enable-clocale was given.
15819 if test "${enable_clocale+set}" = set; then :
15820 enableval=$enable_clocale;
15821 case "$enableval" in
15822 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15823 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15824 esac
15825
15826 else
15827 enable_clocale=auto
15828 fi
15829
15830
15831
15832 # Deal with gettext issues. Default to not using it (=no) until we detect
15833 # support for it later. Let the user turn it off via --e/d, but let that
15834 # default to on for easier handling.
15835 USE_NLS=no
15836 # Check whether --enable-nls was given.
15837 if test "${enable_nls+set}" = set; then :
15838 enableval=$enable_nls;
15839 else
15840 enable_nls=yes
15841 fi
15842
15843
15844 # Either a known package, or "auto"
15845 if test $enable_clocale = no || test $enable_clocale = yes; then
15846 enable_clocale=auto
15847 fi
15848 enable_clocale_flag=$enable_clocale
15849
15850 # Probe for locale model to use if none specified.
15851 # Default to "generic".
15852 if test $enable_clocale_flag = auto; then
15853 case ${target_os} in
15854 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15855 enable_clocale_flag=gnu
15856 ;;
15857 darwin* | freebsd*)
15858 enable_clocale_flag=darwin
15859 ;;
15860 dragonfly*)
15861 enable_clocale_flag=dragonfly
15862 ;;
15863 openbsd*)
15864 enable_clocale_flag=newlib
15865 ;;
15866 *)
15867 if test x"$with_newlib" = x"yes"; then
15868 enable_clocale_flag=newlib
15869 else
15870 enable_clocale_flag=generic
15871 fi
15872 ;;
15873 esac
15874 fi
15875
15876 # Sanity check model, and test for special functionality.
15877 if test $enable_clocale_flag = gnu; then
15878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15879 /* end confdefs.h. */
15880
15881 #include <features.h>
15882 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15883 _GLIBCXX_ok
15884 #endif
15885
15886 _ACEOF
15887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15888 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15889 enable_clocale_flag=gnu
15890 else
15891 enable_clocale_flag=generic
15892 fi
15893 rm -f conftest*
15894
15895
15896 # Set it to scream when it hurts.
15897 ac_save_CFLAGS="$CFLAGS"
15898 CFLAGS="-Wimplicit-function-declaration -Werror"
15899
15900 # Use strxfrm_l if available.
15901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h. */
15903 #define _GNU_SOURCE 1
15904 #include <string.h>
15905 #include <locale.h>
15906 int
15907 main ()
15908 {
15909 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15910 ;
15911 return 0;
15912 }
15913 _ACEOF
15914 if ac_fn_c_try_compile "$LINENO"; then :
15915
15916 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15917
15918 fi
15919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15920
15921 # Use strerror_l if available.
15922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15923 /* end confdefs.h. */
15924 #define _GNU_SOURCE 1
15925 #include <string.h>
15926 #include <locale.h>
15927 int
15928 main ()
15929 {
15930 __locale_t loc; strerror_l(5, loc);
15931 ;
15932 return 0;
15933 }
15934 _ACEOF
15935 if ac_fn_c_try_compile "$LINENO"; then :
15936
15937 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15938
15939 fi
15940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15941
15942 CFLAGS="$ac_save_CFLAGS"
15943 fi
15944
15945 # Perhaps use strerror_r if available, and strerror_l isn't.
15946 ac_save_CFLAGS="$CFLAGS"
15947 CFLAGS="-Wimplicit-function-declaration -Werror"
15948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15949 /* end confdefs.h. */
15950 #define _GNU_SOURCE 1
15951 #include <string.h>
15952 #include <locale.h>
15953 int
15954 main ()
15955 {
15956 char s[128]; strerror_r(5, s, 128);
15957 ;
15958 return 0;
15959 }
15960 _ACEOF
15961 if ac_fn_c_try_compile "$LINENO"; then :
15962
15963 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15964
15965 fi
15966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15967 CFLAGS="$ac_save_CFLAGS"
15968
15969 # Set configure bits for specified locale package
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15971 $as_echo_n "checking for C locale to use... " >&6; }
15972 case ${enable_clocale_flag} in
15973 generic)
15974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15975 $as_echo "generic" >&6; }
15976
15977 CLOCALE_H=config/locale/generic/c_locale.h
15978 CLOCALE_CC=config/locale/generic/c_locale.cc
15979 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15980 CCOLLATE_CC=config/locale/generic/collate_members.cc
15981 CCTYPE_CC=config/locale/generic/ctype_members.cc
15982 CMESSAGES_H=config/locale/generic/messages_members.h
15983 CMESSAGES_CC=config/locale/generic/messages_members.cc
15984 CMONEY_CC=config/locale/generic/monetary_members.cc
15985 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15986 CTIME_H=config/locale/generic/time_members.h
15987 CTIME_CC=config/locale/generic/time_members.cc
15988 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15989 ;;
15990 darwin)
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15992 $as_echo "darwin or freebsd" >&6; }
15993
15994 CLOCALE_H=config/locale/generic/c_locale.h
15995 CLOCALE_CC=config/locale/generic/c_locale.cc
15996 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15997 CCOLLATE_CC=config/locale/generic/collate_members.cc
15998 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15999 CMESSAGES_H=config/locale/generic/messages_members.h
16000 CMESSAGES_CC=config/locale/generic/messages_members.cc
16001 CMONEY_CC=config/locale/generic/monetary_members.cc
16002 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16003 CTIME_H=config/locale/generic/time_members.h
16004 CTIME_CC=config/locale/generic/time_members.cc
16005 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16006 ;;
16007
16008 dragonfly)
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
16010 $as_echo "dragonfly" >&6; }
16011
16012 CLOCALE_H=config/locale/generic/c_locale.h
16013 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16014 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16015 CCOLLATE_CC=config/locale/generic/collate_members.cc
16016 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16017 CMESSAGES_H=config/locale/generic/messages_members.h
16018 CMESSAGES_CC=config/locale/generic/messages_members.cc
16019 CMONEY_CC=config/locale/generic/monetary_members.cc
16020 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16021 CTIME_H=config/locale/generic/time_members.h
16022 CTIME_CC=config/locale/generic/time_members.cc
16023 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16024 ;;
16025
16026 gnu)
16027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16028 $as_echo "gnu" >&6; }
16029
16030 # Declare intention to use gettext, and add support for specific
16031 # languages.
16032 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16033 ALL_LINGUAS="de fr"
16034
16035 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16036 # Extract the first word of "msgfmt", so it can be a program name with args.
16037 set dummy msgfmt; ac_word=$2
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16039 $as_echo_n "checking for $ac_word... " >&6; }
16040 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16041 $as_echo_n "(cached) " >&6
16042 else
16043 if test -n "$check_msgfmt"; then
16044 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16045 else
16046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16047 for as_dir in $PATH
16048 do
16049 IFS=$as_save_IFS
16050 test -z "$as_dir" && as_dir=.
16051 for ac_exec_ext in '' $ac_executable_extensions; do
16052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16053 ac_cv_prog_check_msgfmt="yes"
16054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16055 break 2
16056 fi
16057 done
16058 done
16059 IFS=$as_save_IFS
16060
16061 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16062 fi
16063 fi
16064 check_msgfmt=$ac_cv_prog_check_msgfmt
16065 if test -n "$check_msgfmt"; then
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16067 $as_echo "$check_msgfmt" >&6; }
16068 else
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16070 $as_echo "no" >&6; }
16071 fi
16072
16073
16074 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16075 USE_NLS=yes
16076 fi
16077 # Export the build objects.
16078 for ling in $ALL_LINGUAS; do \
16079 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16080 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16081 done
16082
16083
16084
16085 CLOCALE_H=config/locale/gnu/c_locale.h
16086 CLOCALE_CC=config/locale/gnu/c_locale.cc
16087 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16088 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16089 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16090 CMESSAGES_H=config/locale/gnu/messages_members.h
16091 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16092 CMONEY_CC=config/locale/gnu/monetary_members.cc
16093 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16094 CTIME_H=config/locale/gnu/time_members.h
16095 CTIME_CC=config/locale/gnu/time_members.cc
16096 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16097 ;;
16098 ieee_1003.1-2001)
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16100 $as_echo "IEEE 1003.1" >&6; }
16101
16102 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16103 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16104 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16105 CCOLLATE_CC=config/locale/generic/collate_members.cc
16106 CCTYPE_CC=config/locale/generic/ctype_members.cc
16107 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16108 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16109 CMONEY_CC=config/locale/generic/monetary_members.cc
16110 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16111 CTIME_H=config/locale/generic/time_members.h
16112 CTIME_CC=config/locale/generic/time_members.cc
16113 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16114 ;;
16115 newlib)
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16117 $as_echo "newlib" >&6; }
16118
16119 CLOCALE_H=config/locale/generic/c_locale.h
16120 CLOCALE_CC=config/locale/generic/c_locale.cc
16121 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16122 CCOLLATE_CC=config/locale/generic/collate_members.cc
16123 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16124 CMESSAGES_H=config/locale/generic/messages_members.h
16125 CMESSAGES_CC=config/locale/generic/messages_members.cc
16126 CMONEY_CC=config/locale/generic/monetary_members.cc
16127 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16128 CTIME_H=config/locale/generic/time_members.h
16129 CTIME_CC=config/locale/generic/time_members.cc
16130 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16131 ;;
16132 esac
16133
16134 # This is where the testsuite looks for locale catalogs, using the
16135 # -DLOCALEDIR define during testsuite compilation.
16136 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16137
16138
16139 # A standalone libintl (e.g., GNU libintl) may be in use.
16140 if test $USE_NLS = yes; then
16141 for ac_header in libintl.h
16142 do :
16143 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16144 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16145 cat >>confdefs.h <<_ACEOF
16146 #define HAVE_LIBINTL_H 1
16147 _ACEOF
16148
16149 else
16150 USE_NLS=no
16151 fi
16152
16153 done
16154
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16156 $as_echo_n "checking for library containing gettext... " >&6; }
16157 if test "${ac_cv_search_gettext+set}" = set; then :
16158 $as_echo_n "(cached) " >&6
16159 else
16160 ac_func_search_save_LIBS=$LIBS
16161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16162 /* end confdefs.h. */
16163
16164 /* Override any GCC internal prototype to avoid an error.
16165 Use char because int might match the return type of a GCC
16166 builtin and then its argument prototype would still apply. */
16167 #ifdef __cplusplus
16168 extern "C"
16169 #endif
16170 char gettext ();
16171 int
16172 main ()
16173 {
16174 return gettext ();
16175 ;
16176 return 0;
16177 }
16178 _ACEOF
16179 for ac_lib in '' intl; do
16180 if test -z "$ac_lib"; then
16181 ac_res="none required"
16182 else
16183 ac_res=-l$ac_lib
16184 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16185 fi
16186 if test x$gcc_no_link = xyes; then
16187 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16188 fi
16189 if ac_fn_c_try_link "$LINENO"; then :
16190 ac_cv_search_gettext=$ac_res
16191 fi
16192 rm -f core conftest.err conftest.$ac_objext \
16193 conftest$ac_exeext
16194 if test "${ac_cv_search_gettext+set}" = set; then :
16195 break
16196 fi
16197 done
16198 if test "${ac_cv_search_gettext+set}" = set; then :
16199
16200 else
16201 ac_cv_search_gettext=no
16202 fi
16203 rm conftest.$ac_ext
16204 LIBS=$ac_func_search_save_LIBS
16205 fi
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16207 $as_echo "$ac_cv_search_gettext" >&6; }
16208 ac_res=$ac_cv_search_gettext
16209 if test "$ac_res" != no; then :
16210 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16211
16212 else
16213 USE_NLS=no
16214 fi
16215
16216 fi
16217 if test $USE_NLS = yes; then
16218
16219 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16220
16221 fi
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16239 $as_echo_n "checking for std::allocator base class... " >&6; }
16240 # Check whether --enable-libstdcxx-allocator was given.
16241 if test "${enable_libstdcxx_allocator+set}" = set; then :
16242 enableval=$enable_libstdcxx_allocator;
16243 case "$enableval" in
16244 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16245 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16246 esac
16247
16248 else
16249 enable_libstdcxx_allocator=auto
16250 fi
16251
16252
16253
16254 # If they didn't use this option switch, or if they specified --enable
16255 # with no specific model, we'll have to look for one. If they
16256 # specified --disable (???), do likewise.
16257 if test $enable_libstdcxx_allocator = no ||
16258 test $enable_libstdcxx_allocator = yes;
16259 then
16260 enable_libstdcxx_allocator=auto
16261 fi
16262
16263 # Either a known package, or "auto". Auto implies the default choice
16264 # for a particular platform.
16265 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16266
16267 # Probe for host-specific support if no specific model is specified.
16268 # Default to "new".
16269 if test $enable_libstdcxx_allocator_flag = auto; then
16270 case ${target_os} in
16271 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16272 enable_libstdcxx_allocator_flag=new
16273 ;;
16274 *)
16275 enable_libstdcxx_allocator_flag=new
16276 ;;
16277 esac
16278 fi
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16280 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16281
16282
16283 # Set configure bits for specified locale package
16284 case ${enable_libstdcxx_allocator_flag} in
16285 bitmap)
16286 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16287 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16288 ;;
16289 malloc)
16290 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16291 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16292 ;;
16293 mt)
16294 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16295 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16296 ;;
16297 new)
16298 ALLOCATOR_H=config/allocator/new_allocator_base.h
16299 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16300 ;;
16301 pool)
16302 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16303 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16304 ;;
16305 esac
16306
16307
16308
16309
16310
16311 # Check whether --enable-cheaders was given.
16312 if test "${enable_cheaders+set}" = set; then :
16313 enableval=$enable_cheaders;
16314 case "$enableval" in
16315 c|c_std|c_global) ;;
16316 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16317 esac
16318
16319 else
16320 enable_cheaders=$c_model
16321 fi
16322
16323
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16325 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16326
16327 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16328
16329 # Allow overrides to configure.host here.
16330 if test $enable_cheaders = c_global; then
16331 c_compatibility=yes
16332 fi
16333
16334
16335
16336
16337
16338
16339
16340 # Check whether --enable-long-long was given.
16341 if test "${enable_long_long+set}" = set; then :
16342 enableval=$enable_long_long;
16343 case "$enableval" in
16344 yes|no) ;;
16345 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16346 esac
16347
16348 else
16349 enable_long_long=yes
16350 fi
16351
16352
16353 if test $enable_long_long = yes; then
16354
16355 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16356
16357 fi
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16359 $as_echo_n "checking for enabled long long specializations... " >&6; }
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16361 $as_echo "$enable_long_long" >&6; }
16362
16363
16364 # Check whether --enable-wchar_t was given.
16365 if test "${enable_wchar_t+set}" = set; then :
16366 enableval=$enable_wchar_t;
16367 case "$enableval" in
16368 yes|no) ;;
16369 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16370 esac
16371
16372 else
16373 enable_wchar_t=yes
16374 fi
16375
16376
16377
16378 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16379 for ac_header in wchar.h
16380 do :
16381 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16382 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16383 cat >>confdefs.h <<_ACEOF
16384 #define HAVE_WCHAR_H 1
16385 _ACEOF
16386 ac_has_wchar_h=yes
16387 else
16388 ac_has_wchar_h=no
16389 fi
16390
16391 done
16392
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16394 $as_echo_n "checking for mbstate_t... " >&6; }
16395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16396 /* end confdefs.h. */
16397 #include <wchar.h>
16398 int
16399 main ()
16400 {
16401 mbstate_t teststate;
16402 ;
16403 return 0;
16404 }
16405 _ACEOF
16406 if ac_fn_c_try_compile "$LINENO"; then :
16407 have_mbstate_t=yes
16408 else
16409 have_mbstate_t=no
16410 fi
16411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16413 $as_echo "$have_mbstate_t" >&6; }
16414 if test x"$have_mbstate_t" = xyes; then
16415
16416 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16417
16418 fi
16419
16420 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16421 # ac_has_wchar_h.
16422 for ac_header in wctype.h
16423 do :
16424 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16425 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16426 cat >>confdefs.h <<_ACEOF
16427 #define HAVE_WCTYPE_H 1
16428 _ACEOF
16429 ac_has_wctype_h=yes
16430 else
16431 ac_has_wctype_h=no
16432 fi
16433
16434 done
16435
16436
16437 if test x"$enable_wchar_t" = x"yes"; then
16438
16439
16440 ac_ext=cpp
16441 ac_cpp='$CXXCPP $CPPFLAGS'
16442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16445
16446
16447 if test x"$ac_has_wchar_h" = xyes &&
16448 test x"$ac_has_wctype_h" = xyes; then
16449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16450 /* end confdefs.h. */
16451 #include <wchar.h>
16452 #include <stddef.h>
16453 wint_t i;
16454 long l = WEOF;
16455 long j = WCHAR_MIN;
16456 long k = WCHAR_MAX;
16457 namespace test
16458 {
16459 using ::btowc;
16460 using ::fgetwc;
16461 using ::fgetws;
16462 using ::fputwc;
16463 using ::fputws;
16464 using ::fwide;
16465 using ::fwprintf;
16466 using ::fwscanf;
16467 using ::getwc;
16468 using ::getwchar;
16469 using ::mbrlen;
16470 using ::mbrtowc;
16471 using ::mbsinit;
16472 using ::mbsrtowcs;
16473 using ::putwc;
16474 using ::putwchar;
16475 using ::swprintf;
16476 using ::swscanf;
16477 using ::ungetwc;
16478 using ::vfwprintf;
16479 using ::vswprintf;
16480 using ::vwprintf;
16481 using ::wcrtomb;
16482 using ::wcscat;
16483 using ::wcschr;
16484 using ::wcscmp;
16485 using ::wcscoll;
16486 using ::wcscpy;
16487 using ::wcscspn;
16488 using ::wcsftime;
16489 using ::wcslen;
16490 using ::wcsncat;
16491 using ::wcsncmp;
16492 using ::wcsncpy;
16493 using ::wcspbrk;
16494 using ::wcsrchr;
16495 using ::wcsrtombs;
16496 using ::wcsspn;
16497 using ::wcsstr;
16498 using ::wcstod;
16499 using ::wcstok;
16500 using ::wcstol;
16501 using ::wcstoul;
16502 using ::wcsxfrm;
16503 using ::wctob;
16504 using ::wmemchr;
16505 using ::wmemcmp;
16506 using ::wmemcpy;
16507 using ::wmemmove;
16508 using ::wmemset;
16509 using ::wprintf;
16510 using ::wscanf;
16511 }
16512
16513 int
16514 main ()
16515 {
16516
16517 ;
16518 return 0;
16519 }
16520 _ACEOF
16521 if ac_fn_cxx_try_compile "$LINENO"; then :
16522
16523 else
16524 enable_wchar_t=no
16525 fi
16526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16527 else
16528 enable_wchar_t=no
16529 fi
16530
16531 ac_ext=c
16532 ac_cpp='$CPP $CPPFLAGS'
16533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16536
16537 fi
16538
16539 if test x"$enable_wchar_t" = x"yes"; then
16540
16541 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16542
16543 fi
16544
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16546 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16548 $as_echo "$enable_wchar_t" >&6; }
16549
16550
16551
16552 # Check whether --enable-c99 was given.
16553 if test "${enable_c99+set}" = set; then :
16554 enableval=$enable_c99;
16555 case "$enableval" in
16556 yes|no) ;;
16557 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16558 esac
16559
16560 else
16561 enable_c99=yes
16562 fi
16563
16564
16565
16566 if test x"$enable_c99" = x"yes"; then
16567
16568
16569 ac_ext=cpp
16570 ac_cpp='$CXXCPP $CPPFLAGS'
16571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16574
16575
16576 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16577 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16578 # spuriously enabled.
16579 # Long term, -std=c++0x could be even better, could manage to explicitly
16580 # request C99 facilities to the underlying C headers.
16581 ac_save_CXXFLAGS="$CXXFLAGS"
16582 CXXFLAGS="$CXXFLAGS -std=c++98"
16583 ac_save_LIBS="$LIBS"
16584 ac_save_gcc_no_link="$gcc_no_link"
16585
16586 if test x$gcc_no_link != xyes; then
16587 # Use -fno-exceptions to that the C driver can link these tests without
16588 # hitting undefined references to personality routines.
16589 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16591 $as_echo_n "checking for sin in -lm... " >&6; }
16592 if test "${ac_cv_lib_m_sin+set}" = set; then :
16593 $as_echo_n "(cached) " >&6
16594 else
16595 ac_check_lib_save_LIBS=$LIBS
16596 LIBS="-lm $LIBS"
16597 if test x$gcc_no_link = xyes; then
16598 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16599 fi
16600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h. */
16602
16603 /* Override any GCC internal prototype to avoid an error.
16604 Use char because int might match the return type of a GCC
16605 builtin and then its argument prototype would still apply. */
16606 #ifdef __cplusplus
16607 extern "C"
16608 #endif
16609 char sin ();
16610 int
16611 main ()
16612 {
16613 return sin ();
16614 ;
16615 return 0;
16616 }
16617 _ACEOF
16618 if ac_fn_cxx_try_link "$LINENO"; then :
16619 ac_cv_lib_m_sin=yes
16620 else
16621 ac_cv_lib_m_sin=no
16622 fi
16623 rm -f core conftest.err conftest.$ac_objext \
16624 conftest$ac_exeext conftest.$ac_ext
16625 LIBS=$ac_check_lib_save_LIBS
16626 fi
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16628 $as_echo "$ac_cv_lib_m_sin" >&6; }
16629 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16630
16631 LIBS="$LIBS -lm"
16632
16633 else
16634
16635 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16636 gcc_no_link=yes
16637
16638 fi
16639
16640 fi
16641
16642 # Check for the existence of <math.h> functions used if C99 is enabled.
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16644 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16645 if test "${glibcxx_cv_c99_math+set}" = set; then :
16646 $as_echo_n "(cached) " >&6
16647 else
16648
16649 if test x$gcc_no_link = xyes; then
16650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16651 /* end confdefs.h. */
16652 #include <math.h>
16653 volatile double d1, d2;
16654 volatile int i;
16655 int
16656 main ()
16657 {
16658 i = fpclassify(d1);
16659 i = isfinite(d1);
16660 i = isinf(d1);
16661 i = isnan(d1);
16662 i = isnormal(d1);
16663 i = signbit(d1);
16664 i = isgreater(d1, d2);
16665 i = isgreaterequal(d1, d2);
16666 i = isless(d1, d2);
16667 i = islessequal(d1, d2);
16668 i = islessgreater(d1, d2);
16669 i = islessgreater(d1, d2);
16670 i = isunordered(d1, d2);
16671
16672 ;
16673 return 0;
16674 }
16675 _ACEOF
16676 if ac_fn_cxx_try_compile "$LINENO"; then :
16677 glibcxx_cv_c99_math=yes
16678 else
16679 glibcxx_cv_c99_math=no
16680 fi
16681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16682 else
16683 if test x$gcc_no_link = xyes; then
16684 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16685 fi
16686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16687 /* end confdefs.h. */
16688 #include <math.h>
16689 volatile double d1, d2;
16690 volatile int i;
16691 int
16692 main ()
16693 {
16694 i = fpclassify(d1);
16695 i = isfinite(d1);
16696 i = isinf(d1);
16697 i = isnan(d1);
16698 i = isnormal(d1);
16699 i = signbit(d1);
16700 i = isgreater(d1, d2);
16701 i = isgreaterequal(d1, d2);
16702 i = isless(d1, d2);
16703 i = islessequal(d1, d2);
16704 i = islessgreater(d1, d2);
16705 i = islessgreater(d1, d2);
16706 i = isunordered(d1, d2);
16707
16708 ;
16709 return 0;
16710 }
16711 _ACEOF
16712 if ac_fn_cxx_try_link "$LINENO"; then :
16713 glibcxx_cv_c99_math=yes
16714 else
16715 glibcxx_cv_c99_math=no
16716 fi
16717 rm -f core conftest.err conftest.$ac_objext \
16718 conftest$ac_exeext conftest.$ac_ext
16719 fi
16720
16721 fi
16722
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16724 $as_echo "$glibcxx_cv_c99_math" >&6; }
16725 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16726
16727 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16728
16729 fi
16730
16731 # Check for the existence of <complex.h> complex math functions.
16732 # This is necessary even though libstdc++ uses the builtin versions
16733 # of these functions, because if the builtin cannot be used, a reference
16734 # to the library function is emitted.
16735 for ac_header in tgmath.h
16736 do :
16737 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16738 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16739 cat >>confdefs.h <<_ACEOF
16740 #define HAVE_TGMATH_H 1
16741 _ACEOF
16742 ac_has_tgmath_h=yes
16743 else
16744 ac_has_tgmath_h=no
16745 fi
16746
16747 done
16748
16749 for ac_header in complex.h
16750 do :
16751 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16752 if test "x$ac_cv_header_complex_h" = x""yes; then :
16753 cat >>confdefs.h <<_ACEOF
16754 #define HAVE_COMPLEX_H 1
16755 _ACEOF
16756 ac_has_complex_h=yes
16757 else
16758 ac_has_complex_h=no
16759 fi
16760
16761 done
16762
16763 glibcxx_cv_c99_complex=no;
16764 if test x"$ac_has_complex_h" = x"yes"; then
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16766 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16767 if test x$gcc_no_link = xyes; then
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_compile "$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 conftest.$ac_ext
16833 else
16834 if test x$gcc_no_link = xyes; then
16835 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16836 fi
16837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16838 /* end confdefs.h. */
16839 #include <complex.h>
16840 typedef __complex__ float float_type;
16841 typedef __complex__ double double_type;
16842 typedef __complex__ long double ld_type;
16843 volatile float_type tmpf;
16844 volatile double_type tmpd;
16845 volatile ld_type tmpld;
16846 volatile float f;
16847 volatile double d;
16848 volatile long double ld;
16849 int
16850 main ()
16851 {
16852 f = cabsf(tmpf);
16853 f = cargf(tmpf);
16854 tmpf = ccosf(tmpf);
16855 tmpf = ccoshf(tmpf);
16856 tmpf = cexpf(tmpf);
16857 tmpf = clogf(tmpf);
16858 tmpf = csinf(tmpf);
16859 tmpf = csinhf(tmpf);
16860 tmpf = csqrtf(tmpf);
16861 tmpf = ctanf(tmpf);
16862 tmpf = ctanhf(tmpf);
16863 tmpf = cpowf(tmpf, tmpf);
16864 tmpf = cprojf(tmpf);
16865 d = cabs(tmpd);
16866 d = carg(tmpd);
16867 tmpd = ccos(tmpd);
16868 tmpd = ccosh(tmpd);
16869 tmpd = cexp(tmpd);
16870 tmpd = clog(tmpd);
16871 tmpd = csin(tmpd);
16872 tmpd = csinh(tmpd);
16873 tmpd = csqrt(tmpd);
16874 tmpd = ctan(tmpd);
16875 tmpd = ctanh(tmpd);
16876 tmpd = cpow(tmpd, tmpd);
16877 tmpd = cproj(tmpd);
16878 ld = cabsl(tmpld);
16879 ld = cargl(tmpld);
16880 tmpld = ccosl(tmpld);
16881 tmpld = ccoshl(tmpld);
16882 tmpld = cexpl(tmpld);
16883 tmpld = clogl(tmpld);
16884 tmpld = csinl(tmpld);
16885 tmpld = csinhl(tmpld);
16886 tmpld = csqrtl(tmpld);
16887 tmpld = ctanl(tmpld);
16888 tmpld = ctanhl(tmpld);
16889 tmpld = cpowl(tmpld, tmpld);
16890 tmpld = cprojl(tmpld);
16891
16892 ;
16893 return 0;
16894 }
16895 _ACEOF
16896 if ac_fn_cxx_try_link "$LINENO"; then :
16897 glibcxx_cv_c99_complex=yes
16898 else
16899 glibcxx_cv_c99_complex=no
16900 fi
16901 rm -f core conftest.err conftest.$ac_objext \
16902 conftest$ac_exeext conftest.$ac_ext
16903 fi
16904 fi
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16906 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16907 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16908
16909 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16910
16911 fi
16912
16913 # Check for the existence in <stdio.h> of vscanf, et. al.
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16915 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16916 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16917 $as_echo_n "(cached) " >&6
16918 else
16919
16920 if test x$gcc_no_link = xyes; then
16921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16922 /* end confdefs.h. */
16923 #include <stdio.h>
16924 #include <stdarg.h>
16925 void foo(char* fmt, ...)
16926 {
16927 va_list args; va_start(args, fmt);
16928 vfscanf(stderr, "%i", args);
16929 vscanf("%i", args);
16930 vsnprintf(fmt, 0, "%i", args);
16931 vsscanf(fmt, "%i", args);
16932 snprintf(fmt, 0, "%i");
16933 }
16934 int
16935 main ()
16936 {
16937
16938 ;
16939 return 0;
16940 }
16941 _ACEOF
16942 if ac_fn_cxx_try_compile "$LINENO"; then :
16943 glibcxx_cv_c99_stdio=yes
16944 else
16945 glibcxx_cv_c99_stdio=no
16946 fi
16947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16948 else
16949 if test x$gcc_no_link = xyes; then
16950 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16951 fi
16952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16953 /* end confdefs.h. */
16954 #include <stdio.h>
16955 #include <stdarg.h>
16956 void foo(char* fmt, ...)
16957 {
16958 va_list args; va_start(args, fmt);
16959 vfscanf(stderr, "%i", args);
16960 vscanf("%i", args);
16961 vsnprintf(fmt, 0, "%i", args);
16962 vsscanf(fmt, "%i", args);
16963 snprintf(fmt, 0, "%i");
16964 }
16965 int
16966 main ()
16967 {
16968
16969 ;
16970 return 0;
16971 }
16972 _ACEOF
16973 if ac_fn_cxx_try_link "$LINENO"; then :
16974 glibcxx_cv_c99_stdio=yes
16975 else
16976 glibcxx_cv_c99_stdio=no
16977 fi
16978 rm -f core conftest.err conftest.$ac_objext \
16979 conftest$ac_exeext conftest.$ac_ext
16980 fi
16981
16982 fi
16983
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16985 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16986
16987 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16989 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16990 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16991 $as_echo_n "(cached) " >&6
16992 else
16993
16994 if test x$gcc_no_link = xyes; then
16995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16996 /* end confdefs.h. */
16997 #include <stdlib.h>
16998 volatile float f;
16999 volatile long double ld;
17000 volatile unsigned long long ll;
17001 lldiv_t mydivt;
17002 int
17003 main ()
17004 {
17005 char* tmp;
17006 f = strtof("gnu", &tmp);
17007 ld = strtold("gnu", &tmp);
17008 ll = strtoll("gnu", &tmp, 10);
17009 ll = strtoull("gnu", &tmp, 10);
17010 ll = llabs(10);
17011 mydivt = lldiv(10,1);
17012 ll = mydivt.quot;
17013 ll = mydivt.rem;
17014 ll = atoll("10");
17015 _Exit(0);
17016
17017 ;
17018 return 0;
17019 }
17020 _ACEOF
17021 if ac_fn_cxx_try_compile "$LINENO"; then :
17022 glibcxx_cv_c99_stdlib=yes
17023 else
17024 glibcxx_cv_c99_stdlib=no
17025 fi
17026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17027 else
17028 if test x$gcc_no_link = xyes; then
17029 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17030 fi
17031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17033 #include <stdlib.h>
17034 volatile float f;
17035 volatile long double ld;
17036 volatile unsigned long long ll;
17037 lldiv_t mydivt;
17038 int
17039 main ()
17040 {
17041 char* tmp;
17042 f = strtof("gnu", &tmp);
17043 ld = strtold("gnu", &tmp);
17044 ll = strtoll("gnu", &tmp, 10);
17045 ll = strtoull("gnu", &tmp, 10);
17046 ll = llabs(10);
17047 mydivt = lldiv(10,1);
17048 ll = mydivt.quot;
17049 ll = mydivt.rem;
17050 ll = atoll("10");
17051 _Exit(0);
17052
17053 ;
17054 return 0;
17055 }
17056 _ACEOF
17057 if ac_fn_cxx_try_link "$LINENO"; then :
17058 glibcxx_cv_c99_stdlib=yes
17059 else
17060 glibcxx_cv_c99_stdlib=no
17061 fi
17062 rm -f core conftest.err conftest.$ac_objext \
17063 conftest$ac_exeext conftest.$ac_ext
17064 fi
17065
17066 fi
17067
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17069 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17070
17071 # Check for the existence in <wchar.h> of wcstold, etc.
17072 glibcxx_cv_c99_wchar=no;
17073 if test x"$ac_has_wchar_h" = xyes &&
17074 test x"$ac_has_wctype_h" = xyes; then
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17076 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17079 #include <wchar.h>
17080 namespace test
17081 {
17082 using ::wcstold;
17083 using ::wcstoll;
17084 using ::wcstoull;
17085 }
17086
17087 int
17088 main ()
17089 {
17090
17091 ;
17092 return 0;
17093 }
17094 _ACEOF
17095 if ac_fn_cxx_try_compile "$LINENO"; then :
17096 glibcxx_cv_c99_wchar=yes
17097 else
17098 glibcxx_cv_c99_wchar=no
17099 fi
17100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17101
17102 # Checks for wide character functions that may not be present.
17103 # Injection of these is wrapped with guard macros.
17104 # NB: only put functions here, instead of immediately above, if
17105 # absolutely necessary.
17106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 /* end confdefs.h. */
17108 #include <wchar.h>
17109 namespace test { using ::vfwscanf; }
17110 int
17111 main ()
17112 {
17113
17114 ;
17115 return 0;
17116 }
17117 _ACEOF
17118 if ac_fn_cxx_try_compile "$LINENO"; then :
17119
17120 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17121
17122 fi
17123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17124
17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17127 #include <wchar.h>
17128 namespace test { using ::vswscanf; }
17129 int
17130 main ()
17131 {
17132
17133 ;
17134 return 0;
17135 }
17136 _ACEOF
17137 if ac_fn_cxx_try_compile "$LINENO"; then :
17138
17139 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17140
17141 fi
17142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17143
17144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17145 /* end confdefs.h. */
17146 #include <wchar.h>
17147 namespace test { using ::vwscanf; }
17148 int
17149 main ()
17150 {
17151
17152 ;
17153 return 0;
17154 }
17155 _ACEOF
17156 if ac_fn_cxx_try_compile "$LINENO"; then :
17157
17158 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17159
17160 fi
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17162
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17165 #include <wchar.h>
17166 namespace test { using ::wcstof; }
17167 int
17168 main ()
17169 {
17170
17171 ;
17172 return 0;
17173 }
17174 _ACEOF
17175 if ac_fn_cxx_try_compile "$LINENO"; then :
17176
17177 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17178
17179 fi
17180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17181
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 #include <wctype.h>
17185 int
17186 main ()
17187 {
17188 wint_t t; int i = iswblank(t);
17189 ;
17190 return 0;
17191 }
17192 _ACEOF
17193 if ac_fn_cxx_try_compile "$LINENO"; then :
17194
17195 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17196
17197 fi
17198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17199
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17201 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17202 fi
17203
17204 # Option parsed, now set things appropriately.
17205 if test x"$glibcxx_cv_c99_math" = x"no" ||
17206 test x"$glibcxx_cv_c99_complex" = x"no" ||
17207 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17208 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17209 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17210 enable_c99=no;
17211 else
17212
17213 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17214
17215 fi
17216
17217 gcc_no_link="$ac_save_gcc_no_link"
17218 LIBS="$ac_save_LIBS"
17219 CXXFLAGS="$ac_save_CXXFLAGS"
17220 ac_ext=c
17221 ac_cpp='$CPP $CPPFLAGS'
17222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17225
17226 fi
17227
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17229 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17231 $as_echo "$enable_c99" >&6; }
17232
17233
17234 # Check whether --enable-concept-checks was given.
17235 if test "${enable_concept_checks+set}" = set; then :
17236 enableval=$enable_concept_checks;
17237 case "$enableval" in
17238 yes|no) ;;
17239 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17240 esac
17241
17242 else
17243 enable_concept_checks=no
17244 fi
17245
17246
17247 if test $enable_concept_checks = yes; then
17248
17249 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17250
17251 fi
17252
17253
17254 # Check whether --enable-libstdcxx-debug-flags was given.
17255 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17256 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17257 xno | x) enable_libstdcxx_debug_flags= ;;
17258 x-*) ;;
17259 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17260 esac
17261 else
17262 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17263 fi
17264
17265
17266
17267 # Option parsed, now set things appropriately
17268 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17269
17270
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17272 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17273
17274
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17276 $as_echo_n "checking for additional debug build... " >&6; }
17277 # Check whether --enable-libstdcxx-debug was given.
17278 if test "${enable_libstdcxx_debug+set}" = set; then :
17279 enableval=$enable_libstdcxx_debug;
17280 case "$enableval" in
17281 yes|no) ;;
17282 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17283 esac
17284
17285 else
17286 enable_libstdcxx_debug=no
17287 fi
17288
17289
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17291 $as_echo "$enable_libstdcxx_debug" >&6; }
17292
17293
17294
17295
17296 enable_parallel=no;
17297
17298 # See if configured libgomp/omp.h exists. (libgomp may be in
17299 # noconfigdirs but not explicitly disabled.)
17300 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17301 enable_parallel=yes;
17302 else
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17304 $as_echo "$as_me: target-libgomp not built" >&6;}
17305 fi
17306
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17308 $as_echo_n "checking for parallel mode support... " >&6; }
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17310 $as_echo "$enable_parallel" >&6; }
17311
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17313 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17314 # Check whether --enable-cxx-flags was given.
17315 if test "${enable_cxx_flags+set}" = set; then :
17316 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17317 xno | x) enable_cxx_flags= ;;
17318 x-*) ;;
17319 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17320 esac
17321 else
17322 enable_cxx_flags=
17323 fi
17324
17325
17326
17327 # Run through flags (either default or command-line) and set anything
17328 # extra (e.g., #defines) that must accompany particular g++ options.
17329 if test -n "$enable_cxx_flags"; then
17330 for f in $enable_cxx_flags; do
17331 case "$f" in
17332 -fhonor-std) ;;
17333 -*) ;;
17334 *) # and we're trying to pass /what/ exactly?
17335 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17336 esac
17337 done
17338 fi
17339
17340 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17342 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17343
17344
17345
17346 # Check whether --enable-fully-dynamic-string was given.
17347 if test "${enable_fully_dynamic_string+set}" = set; then :
17348 enableval=$enable_fully_dynamic_string;
17349 case "$enableval" in
17350 yes|no) ;;
17351 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17352 esac
17353
17354 else
17355 enable_fully_dynamic_string=no
17356 fi
17357
17358
17359 if test $enable_fully_dynamic_string = yes; then
17360 enable_fully_dynamic_string_def=1
17361 else
17362 enable_fully_dynamic_string_def=0
17363 fi
17364
17365 cat >>confdefs.h <<_ACEOF
17366 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17367 _ACEOF
17368
17369
17370
17371
17372 # Check whether --enable-extern-template was given.
17373 if test "${enable_extern_template+set}" = set; then :
17374 enableval=$enable_extern_template;
17375 case "$enableval" in
17376 yes|no) ;;
17377 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17378 esac
17379
17380 else
17381 enable_extern_template=yes
17382 fi
17383
17384
17385
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17387 $as_echo_n "checking for extern template support... " >&6; }
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17389 $as_echo "$enable_extern_template" >&6; }
17390
17391
17392
17393
17394
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17396 $as_echo_n "checking for custom python install directory... " >&6; }
17397
17398 # Check whether --with-python-dir was given.
17399 if test "${with_python_dir+set}" = set; then :
17400 withval=$with_python_dir; with_python_dir=$withval
17401 else
17402 with_python_dir="no"
17403 fi
17404
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17406 $as_echo "${with_python_dir}" >&6; }
17407
17408 # Needed for installing Python modules during make install.
17409 python_mod_dir="${with_python_dir}"
17410
17411
17412
17413
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17415 $as_echo_n "checking for -Werror... " >&6; }
17416 # Check whether --enable-werror was given.
17417 if test "${enable_werror+set}" = set; then :
17418 enableval=$enable_werror;
17419 case "$enableval" in
17420 yes|no) ;;
17421 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17422 esac
17423
17424 else
17425 enable_werror=yes
17426 fi
17427
17428
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17430 $as_echo "$enable_werror" >&6; }
17431
17432
17433
17434
17435 # Check whether --enable-vtable-verify was given.
17436 if test "${enable_vtable_verify+set}" = set; then :
17437 enableval=$enable_vtable_verify;
17438 case "$enableval" in
17439 yes|no) ;;
17440 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17441 esac
17442
17443 else
17444 enable_vtable_verify=no
17445 fi
17446
17447
17448
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17450 $as_echo_n "checking for vtable verify support... " >&6; }
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17452 $as_echo "$enable_vtable_verify" >&6; }
17453
17454 if test $enable_vtable_verify = yes; then
17455 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17456 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17457 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17458 else
17459 VTV_CXXFLAGS=
17460 VTV_PCH_CXXFLAGS=
17461 VTV_CXXLINKFLAGS=
17462 fi
17463
17464
17465
17466
17467
17468
17469
17470 # Checks for operating systems support that doesn't require linking.
17471
17472
17473
17474 ac_ext=cpp
17475 ac_cpp='$CXXCPP $CPPFLAGS'
17476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17479
17480
17481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17482 $as_echo_n "checking for gets declaration... " >&6; }
17483 if test "${glibcxx_cv_gets+set}" = set; then :
17484 $as_echo_n "(cached) " >&6
17485 else
17486
17487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17488 /* end confdefs.h. */
17489 #include <stdio.h>
17490 namespace test
17491 {
17492 using ::gets;
17493 }
17494
17495 _ACEOF
17496 if ac_fn_cxx_try_compile "$LINENO"; then :
17497 glibcxx_cv_gets=yes
17498 else
17499 glibcxx_cv_gets=no
17500
17501 fi
17502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17503 fi
17504
17505
17506 if test $glibcxx_cv_gets = yes; then
17507
17508 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17509
17510 fi
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17512 $as_echo "$glibcxx_cv_gets" >&6; }
17513
17514 ac_ext=c
17515 ac_cpp='$CPP $CPPFLAGS'
17516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17519
17520
17521
17522
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17524 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17525 if test "${glibcxx_cv_system_error1+set}" = set; then :
17526 $as_echo_n "(cached) " >&6
17527 else
17528
17529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17530 /* end confdefs.h. */
17531 #include <errno.h>
17532 int
17533 main ()
17534 {
17535 int i = EOWNERDEAD;
17536 ;
17537 return 0;
17538 }
17539 _ACEOF
17540 if ac_fn_c_try_compile "$LINENO"; then :
17541 glibcxx_cv_system_error1=yes
17542 else
17543 glibcxx_cv_system_error1=no
17544 fi
17545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17546
17547 fi
17548
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17550 $as_echo "$glibcxx_cv_system_error1" >&6; }
17551 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17552
17553 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17554
17555 fi
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17557 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17558 if test "${glibcxx_cv_system_error2+set}" = set; then :
17559 $as_echo_n "(cached) " >&6
17560 else
17561
17562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17564 #include <errno.h>
17565 int
17566 main ()
17567 {
17568 int i = ENOTRECOVERABLE;
17569 ;
17570 return 0;
17571 }
17572 _ACEOF
17573 if ac_fn_c_try_compile "$LINENO"; then :
17574 glibcxx_cv_system_error2=yes
17575 else
17576 glibcxx_cv_system_error2=no
17577 fi
17578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17579
17580 fi
17581
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17583 $as_echo "$glibcxx_cv_system_error2" >&6; }
17584 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17585
17586 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17587
17588 fi
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17590 $as_echo_n "checking for ENOLINK... " >&6; }
17591 if test "${glibcxx_cv_system_error3+set}" = set; then :
17592 $as_echo_n "(cached) " >&6
17593 else
17594
17595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17596 /* end confdefs.h. */
17597 #include <errno.h>
17598 int
17599 main ()
17600 {
17601 int i = ENOLINK;
17602 ;
17603 return 0;
17604 }
17605 _ACEOF
17606 if ac_fn_c_try_compile "$LINENO"; then :
17607 glibcxx_cv_system_error3=yes
17608 else
17609 glibcxx_cv_system_error3=no
17610 fi
17611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17612
17613 fi
17614
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17616 $as_echo "$glibcxx_cv_system_error3" >&6; }
17617 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17618
17619 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17620
17621 fi
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17623 $as_echo_n "checking for EPROTO... " >&6; }
17624 if test "${glibcxx_cv_system_error4+set}" = set; then :
17625 $as_echo_n "(cached) " >&6
17626 else
17627
17628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17629 /* end confdefs.h. */
17630 #include <errno.h>
17631 int
17632 main ()
17633 {
17634 int i = EPROTO;
17635 ;
17636 return 0;
17637 }
17638 _ACEOF
17639 if ac_fn_c_try_compile "$LINENO"; then :
17640 glibcxx_cv_system_error4=yes
17641 else
17642 glibcxx_cv_system_error4=no
17643 fi
17644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17645
17646 fi
17647
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17649 $as_echo "$glibcxx_cv_system_error4" >&6; }
17650 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17651
17652 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17653
17654 fi
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17656 $as_echo_n "checking for ENODATA... " >&6; }
17657 if test "${glibcxx_cv_system_error5+set}" = set; then :
17658 $as_echo_n "(cached) " >&6
17659 else
17660
17661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17662 /* end confdefs.h. */
17663 #include <errno.h>
17664 int
17665 main ()
17666 {
17667 int i = ENODATA;
17668 ;
17669 return 0;
17670 }
17671 _ACEOF
17672 if ac_fn_c_try_compile "$LINENO"; then :
17673 glibcxx_cv_system_error5=yes
17674 else
17675 glibcxx_cv_system_error5=no
17676 fi
17677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17678
17679 fi
17680
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17682 $as_echo "$glibcxx_cv_system_error5" >&6; }
17683 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17684
17685 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17686
17687 fi
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17689 $as_echo_n "checking for ENOSR... " >&6; }
17690 if test "${glibcxx_cv_system_error6+set}" = set; then :
17691 $as_echo_n "(cached) " >&6
17692 else
17693
17694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17695 /* end confdefs.h. */
17696 #include <errno.h>
17697 int
17698 main ()
17699 {
17700 int i = ENOSR;
17701 ;
17702 return 0;
17703 }
17704 _ACEOF
17705 if ac_fn_c_try_compile "$LINENO"; then :
17706 glibcxx_cv_system_error6=yes
17707 else
17708 glibcxx_cv_system_error6=no
17709 fi
17710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17711
17712 fi
17713
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17715 $as_echo "$glibcxx_cv_system_error6" >&6; }
17716 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17717
17718 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17719
17720 fi
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17722 $as_echo_n "checking for ENOSTR... " >&6; }
17723 if test "${glibcxx_cv_system_error7+set}" = set; then :
17724 $as_echo_n "(cached) " >&6
17725 else
17726
17727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17728 /* end confdefs.h. */
17729 #include <errno.h>
17730 int
17731 main ()
17732 {
17733 int i = ENOSTR;
17734 ;
17735 return 0;
17736 }
17737 _ACEOF
17738 if ac_fn_c_try_compile "$LINENO"; then :
17739 glibcxx_cv_system_error7=yes
17740 else
17741 glibcxx_cv_system_error7=no
17742 fi
17743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17744
17745 fi
17746
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17748 $as_echo "$glibcxx_cv_system_error7" >&6; }
17749 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17750
17751 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17752
17753 fi
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17755 $as_echo_n "checking for ETIME... " >&6; }
17756 if test "${glibcxx_cv_system_error8+set}" = set; then :
17757 $as_echo_n "(cached) " >&6
17758 else
17759
17760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17761 /* end confdefs.h. */
17762 #include <errno.h>
17763 int
17764 main ()
17765 {
17766 int i = ETIME;
17767 ;
17768 return 0;
17769 }
17770 _ACEOF
17771 if ac_fn_c_try_compile "$LINENO"; then :
17772 glibcxx_cv_system_error8=yes
17773 else
17774 glibcxx_cv_system_error8=no
17775 fi
17776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17777
17778 fi
17779
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17781 $as_echo "$glibcxx_cv_system_error8" >&6; }
17782 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17783
17784 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17785
17786 fi
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17788 $as_echo_n "checking for EBADMSG... " >&6; }
17789 if test "${glibcxx_cv_system_error9+set}" = set; then :
17790 $as_echo_n "(cached) " >&6
17791 else
17792
17793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17794 /* end confdefs.h. */
17795 #include <errno.h>
17796 int
17797 main ()
17798 {
17799 int i = EBADMSG;
17800 ;
17801 return 0;
17802 }
17803 _ACEOF
17804 if ac_fn_c_try_compile "$LINENO"; then :
17805 glibcxx_cv_system_error9=yes
17806 else
17807 glibcxx_cv_system_error9=no
17808 fi
17809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17810
17811 fi
17812
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17814 $as_echo "$glibcxx_cv_system_error9" >&6; }
17815 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17816
17817 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17818
17819 fi
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17821 $as_echo_n "checking for ECANCELED... " >&6; }
17822 if test "${glibcxx_cv_system_error10+set}" = set; then :
17823 $as_echo_n "(cached) " >&6
17824 else
17825
17826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17827 /* end confdefs.h. */
17828 #include <errno.h>
17829 int
17830 main ()
17831 {
17832 int i = ECANCELED;
17833 ;
17834 return 0;
17835 }
17836 _ACEOF
17837 if ac_fn_c_try_compile "$LINENO"; then :
17838 glibcxx_cv_system_error10=yes
17839 else
17840 glibcxx_cv_system_error10=no
17841 fi
17842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17843
17844 fi
17845
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17847 $as_echo "$glibcxx_cv_system_error10" >&6; }
17848 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17849
17850 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17851
17852 fi
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17854 $as_echo_n "checking for EOVERFLOW... " >&6; }
17855 if test "${glibcxx_cv_system_error11+set}" = set; then :
17856 $as_echo_n "(cached) " >&6
17857 else
17858
17859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17860 /* end confdefs.h. */
17861 #include <errno.h>
17862 int
17863 main ()
17864 {
17865 int i = EOVERFLOW;
17866 ;
17867 return 0;
17868 }
17869 _ACEOF
17870 if ac_fn_c_try_compile "$LINENO"; then :
17871 glibcxx_cv_system_error11=yes
17872 else
17873 glibcxx_cv_system_error11=no
17874 fi
17875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17876
17877 fi
17878
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17880 $as_echo "$glibcxx_cv_system_error11" >&6; }
17881 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17882
17883 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17884
17885 fi
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17887 $as_echo_n "checking for ENOTSUP... " >&6; }
17888 if test "${glibcxx_cv_system_error12+set}" = set; then :
17889 $as_echo_n "(cached) " >&6
17890 else
17891
17892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17893 /* end confdefs.h. */
17894 #include <errno.h>
17895 int
17896 main ()
17897 {
17898 int i = ENOTSUP;
17899 ;
17900 return 0;
17901 }
17902 _ACEOF
17903 if ac_fn_c_try_compile "$LINENO"; then :
17904 glibcxx_cv_system_error12=yes
17905 else
17906 glibcxx_cv_system_error12=no
17907 fi
17908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17909
17910 fi
17911
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17913 $as_echo "$glibcxx_cv_system_error12" >&6; }
17914 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17915
17916 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17917
17918 fi
17919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17920 $as_echo_n "checking for EIDRM... " >&6; }
17921 if test "${glibcxx_cv_system_error13+set}" = set; then :
17922 $as_echo_n "(cached) " >&6
17923 else
17924
17925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17926 /* end confdefs.h. */
17927 #include <errno.h>
17928 int
17929 main ()
17930 {
17931 int i = EIDRM;
17932 ;
17933 return 0;
17934 }
17935 _ACEOF
17936 if ac_fn_c_try_compile "$LINENO"; then :
17937 glibcxx_cv_system_error13=yes
17938 else
17939 glibcxx_cv_system_error13=no
17940 fi
17941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17942
17943 fi
17944
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17946 $as_echo "$glibcxx_cv_system_error13" >&6; }
17947 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17948
17949 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17950
17951 fi
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17953 $as_echo_n "checking for ETXTBSY... " >&6; }
17954 if test "${glibcxx_cv_system_error14+set}" = set; then :
17955 $as_echo_n "(cached) " >&6
17956 else
17957
17958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17959 /* end confdefs.h. */
17960 #include <errno.h>
17961 int
17962 main ()
17963 {
17964 int i = ETXTBSY;
17965 ;
17966 return 0;
17967 }
17968 _ACEOF
17969 if ac_fn_c_try_compile "$LINENO"; then :
17970 glibcxx_cv_system_error14=yes
17971 else
17972 glibcxx_cv_system_error14=no
17973 fi
17974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17975
17976 fi
17977
17978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17979 $as_echo "$glibcxx_cv_system_error14" >&6; }
17980 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17981
17982 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17983
17984 fi
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17986 $as_echo_n "checking for ECHILD... " >&6; }
17987 if test "${glibcxx_cv_system_error15+set}" = set; then :
17988 $as_echo_n "(cached) " >&6
17989 else
17990
17991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17992 /* end confdefs.h. */
17993 #include <errno.h>
17994 int
17995 main ()
17996 {
17997 int i = ECHILD;
17998 ;
17999 return 0;
18000 }
18001 _ACEOF
18002 if ac_fn_c_try_compile "$LINENO"; then :
18003 glibcxx_cv_system_error15=yes
18004 else
18005 glibcxx_cv_system_error15=no
18006 fi
18007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18008
18009 fi
18010
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18012 $as_echo "$glibcxx_cv_system_error15" >&6; }
18013 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18014
18015 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18016
18017 fi
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18019 $as_echo_n "checking for ENOSPC... " >&6; }
18020 if test "${glibcxx_cv_system_error16+set}" = set; then :
18021 $as_echo_n "(cached) " >&6
18022 else
18023
18024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18025 /* end confdefs.h. */
18026 #include <errno.h>
18027 int
18028 main ()
18029 {
18030 int i = ENOSPC;
18031 ;
18032 return 0;
18033 }
18034 _ACEOF
18035 if ac_fn_c_try_compile "$LINENO"; then :
18036 glibcxx_cv_system_error16=yes
18037 else
18038 glibcxx_cv_system_error16=no
18039 fi
18040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18041
18042 fi
18043
18044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18045 $as_echo "$glibcxx_cv_system_error16" >&6; }
18046 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18047
18048 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18049
18050 fi
18051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18052 $as_echo_n "checking for EPERM... " >&6; }
18053 if test "${glibcxx_cv_system_error17+set}" = set; then :
18054 $as_echo_n "(cached) " >&6
18055 else
18056
18057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18058 /* end confdefs.h. */
18059 #include <errno.h>
18060 int
18061 main ()
18062 {
18063 int i = EPERM;
18064 ;
18065 return 0;
18066 }
18067 _ACEOF
18068 if ac_fn_c_try_compile "$LINENO"; then :
18069 glibcxx_cv_system_error17=yes
18070 else
18071 glibcxx_cv_system_error17=no
18072 fi
18073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18074
18075 fi
18076
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18078 $as_echo "$glibcxx_cv_system_error17" >&6; }
18079 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18080
18081 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18082
18083 fi
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18085 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18086 if test "${glibcxx_cv_system_error18+set}" = set; then :
18087 $as_echo_n "(cached) " >&6
18088 else
18089
18090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18091 /* end confdefs.h. */
18092 #include <errno.h>
18093 int
18094 main ()
18095 {
18096 int i = ETIMEDOUT;
18097 ;
18098 return 0;
18099 }
18100 _ACEOF
18101 if ac_fn_c_try_compile "$LINENO"; then :
18102 glibcxx_cv_system_error18=yes
18103 else
18104 glibcxx_cv_system_error18=no
18105 fi
18106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18107
18108 fi
18109
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18111 $as_echo "$glibcxx_cv_system_error18" >&6; }
18112 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18113
18114 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18115
18116 fi
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18118 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18119 if test "${glibcxx_cv_system_error19+set}" = set; then :
18120 $as_echo_n "(cached) " >&6
18121 else
18122
18123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18124 /* end confdefs.h. */
18125 #include <errno.h>
18126 int
18127 main ()
18128 {
18129 int i = EWOULDBLOCK;
18130 ;
18131 return 0;
18132 }
18133 _ACEOF
18134 if ac_fn_c_try_compile "$LINENO"; then :
18135 glibcxx_cv_system_error19=yes
18136 else
18137 glibcxx_cv_system_error19=no
18138 fi
18139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18140
18141 fi
18142
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18144 $as_echo "$glibcxx_cv_system_error19" >&6; }
18145 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18146
18147 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18148
18149 fi
18150
18151
18152
18153 # For the streamoff typedef.
18154
18155
18156
18157 ac_ext=cpp
18158 ac_cpp='$CXXCPP $CPPFLAGS'
18159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18162
18163
18164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18165 $as_echo_n "checking for int64_t... " >&6; }
18166 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18167 $as_echo_n "(cached) " >&6
18168 else
18169
18170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18171 /* end confdefs.h. */
18172 #include <stdint.h>
18173 int
18174 main ()
18175 {
18176 int64_t var;
18177 ;
18178 return 0;
18179 }
18180 _ACEOF
18181 if ac_fn_cxx_try_compile "$LINENO"; then :
18182 glibcxx_cv_INT64_T=yes
18183 else
18184 glibcxx_cv_INT64_T=no
18185 fi
18186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18187
18188 fi
18189
18190
18191 if test $glibcxx_cv_INT64_T = yes; then
18192
18193 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18194
18195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18196 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18197
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18199 $as_echo_n "checking for int64_t as long... " >&6; }
18200 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18201 $as_echo_n "(cached) " >&6
18202 else
18203
18204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18205 /* end confdefs.h. */
18206 #include <stdint.h>
18207 template<typename, typename> struct same { enum { value = -1 }; };
18208 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18209 int array[same<int64_t, long>::value];
18210 int
18211 main ()
18212 {
18213
18214 ;
18215 return 0;
18216 }
18217 _ACEOF
18218 if ac_fn_cxx_try_compile "$LINENO"; then :
18219 glibcxx_cv_int64_t_long=yes
18220 else
18221 glibcxx_cv_int64_t_long=no
18222 fi
18223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18224
18225 fi
18226
18227
18228 if test $glibcxx_cv_int64_t_long = yes; then
18229
18230 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18231
18232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18233 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18234 fi
18235
18236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18237 $as_echo_n "checking for int64_t as long long... " >&6; }
18238 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18239 $as_echo_n "(cached) " >&6
18240 else
18241
18242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18243 /* end confdefs.h. */
18244 #include <stdint.h>
18245 template<typename, typename> struct same { enum { value = -1 }; };
18246 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18247 int array[same<int64_t, long long>::value];
18248 int
18249 main ()
18250 {
18251
18252 ;
18253 return 0;
18254 }
18255 _ACEOF
18256 if ac_fn_cxx_try_compile "$LINENO"; then :
18257 glibcxx_cv_int64_t_long_long=yes
18258 else
18259 glibcxx_cv_int64_t_long_long=no
18260 fi
18261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18262
18263 fi
18264
18265
18266 if test $glibcxx_cv_int64_t_long_long = yes; then
18267
18268 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18269
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18271 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18272 fi
18273 fi
18274
18275 ac_ext=c
18276 ac_cpp='$CPP $CPPFLAGS'
18277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18280
18281
18282
18283 # For LFS support.
18284
18285
18286 ac_ext=cpp
18287 ac_cpp='$CXXCPP $CPPFLAGS'
18288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18291
18292 ac_save_CXXFLAGS="$CXXFLAGS"
18293 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18295 $as_echo_n "checking for LFS support... " >&6; }
18296 if test "${glibcxx_cv_LFS+set}" = set; then :
18297 $as_echo_n "(cached) " >&6
18298 else
18299
18300 if test x$gcc_no_link = xyes; then
18301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18302 /* end confdefs.h. */
18303 #include <unistd.h>
18304 #include <stdio.h>
18305 #include <sys/stat.h>
18306
18307 int
18308 main ()
18309 {
18310 FILE* fp;
18311 fopen64("t", "w");
18312 fseeko64(fp, 0, SEEK_CUR);
18313 ftello64(fp);
18314 lseek64(1, 0, SEEK_CUR);
18315 struct stat64 buf;
18316 fstat64(1, &buf);
18317 ;
18318 return 0;
18319 }
18320 _ACEOF
18321 if ac_fn_cxx_try_compile "$LINENO"; then :
18322 glibcxx_cv_LFS=yes
18323 else
18324 glibcxx_cv_LFS=no
18325 fi
18326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18327 else
18328 if test x$gcc_no_link = xyes; then
18329 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18330 fi
18331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18332 /* end confdefs.h. */
18333 #include <unistd.h>
18334 #include <stdio.h>
18335 #include <sys/stat.h>
18336
18337 int
18338 main ()
18339 {
18340 FILE* fp;
18341 fopen64("t", "w");
18342 fseeko64(fp, 0, SEEK_CUR);
18343 ftello64(fp);
18344 lseek64(1, 0, SEEK_CUR);
18345 struct stat64 buf;
18346 fstat64(1, &buf);
18347 ;
18348 return 0;
18349 }
18350 _ACEOF
18351 if ac_fn_cxx_try_link "$LINENO"; then :
18352 glibcxx_cv_LFS=yes
18353 else
18354 glibcxx_cv_LFS=no
18355 fi
18356 rm -f core conftest.err conftest.$ac_objext \
18357 conftest$ac_exeext conftest.$ac_ext
18358 fi
18359
18360 fi
18361
18362 if test $glibcxx_cv_LFS = yes; then
18363
18364 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18365
18366 fi
18367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18368 $as_echo "$glibcxx_cv_LFS" >&6; }
18369 CXXFLAGS="$ac_save_CXXFLAGS"
18370 ac_ext=c
18371 ac_cpp='$CPP $CPPFLAGS'
18372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18375
18376
18377
18378 # For showmanyc_helper().
18379 for ac_header in sys/ioctl.h sys/filio.h
18380 do :
18381 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18382 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18383 eval as_val=\$$as_ac_Header
18384 if test "x$as_val" = x""yes; then :
18385 cat >>confdefs.h <<_ACEOF
18386 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18387 _ACEOF
18388
18389 fi
18390
18391 done
18392
18393
18394
18395
18396 ac_ext=cpp
18397 ac_cpp='$CXXCPP $CPPFLAGS'
18398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18401
18402 ac_save_CXXFLAGS="$CXXFLAGS"
18403 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18404
18405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18406 $as_echo_n "checking for poll... " >&6; }
18407 if test "${glibcxx_cv_POLL+set}" = set; then :
18408 $as_echo_n "(cached) " >&6
18409 else
18410
18411 if test x$gcc_no_link = xyes; then
18412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18413 /* end confdefs.h. */
18414 #include <poll.h>
18415 int
18416 main ()
18417 {
18418 struct pollfd pfd[1];
18419 pfd[0].events = POLLIN;
18420 poll(pfd, 1, 0);
18421 ;
18422 return 0;
18423 }
18424 _ACEOF
18425 if ac_fn_cxx_try_compile "$LINENO"; then :
18426 glibcxx_cv_POLL=yes
18427 else
18428 glibcxx_cv_POLL=no
18429 fi
18430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18431 else
18432 if test x$gcc_no_link = xyes; then
18433 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18434 fi
18435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18436 /* end confdefs.h. */
18437 #include <poll.h>
18438 int
18439 main ()
18440 {
18441 struct pollfd pfd[1];
18442 pfd[0].events = POLLIN;
18443 poll(pfd, 1, 0);
18444 ;
18445 return 0;
18446 }
18447 _ACEOF
18448 if ac_fn_cxx_try_link "$LINENO"; then :
18449 glibcxx_cv_POLL=yes
18450 else
18451 glibcxx_cv_POLL=no
18452 fi
18453 rm -f core conftest.err conftest.$ac_objext \
18454 conftest$ac_exeext conftest.$ac_ext
18455 fi
18456
18457 fi
18458
18459 if test $glibcxx_cv_POLL = yes; then
18460
18461 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18462
18463 fi
18464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18465 $as_echo "$glibcxx_cv_POLL" >&6; }
18466
18467 CXXFLAGS="$ac_save_CXXFLAGS"
18468 ac_ext=c
18469 ac_cpp='$CPP $CPPFLAGS'
18470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18473
18474
18475
18476
18477
18478 ac_ext=cpp
18479 ac_cpp='$CXXCPP $CPPFLAGS'
18480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18483
18484 ac_save_CXXFLAGS="$CXXFLAGS"
18485 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18486
18487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18488 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18489 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18490 $as_echo_n "(cached) " >&6
18491 else
18492
18493 if test x$gcc_no_link = xyes; then
18494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18495 /* end confdefs.h. */
18496 #include <sys/stat.h>
18497 int
18498 main ()
18499 {
18500 struct stat buffer;
18501 fstat(0, &buffer);
18502 S_ISREG(buffer.st_mode);
18503 ;
18504 return 0;
18505 }
18506 _ACEOF
18507 if ac_fn_cxx_try_compile "$LINENO"; then :
18508 glibcxx_cv_S_ISREG=yes
18509 else
18510 glibcxx_cv_S_ISREG=no
18511 fi
18512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18513 else
18514 if test x$gcc_no_link = xyes; then
18515 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18516 fi
18517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18518 /* end confdefs.h. */
18519 #include <sys/stat.h>
18520 int
18521 main ()
18522 {
18523 struct stat buffer;
18524 fstat(0, &buffer);
18525 S_ISREG(buffer.st_mode);
18526 ;
18527 return 0;
18528 }
18529 _ACEOF
18530 if ac_fn_cxx_try_link "$LINENO"; then :
18531 glibcxx_cv_S_ISREG=yes
18532 else
18533 glibcxx_cv_S_ISREG=no
18534 fi
18535 rm -f core conftest.err conftest.$ac_objext \
18536 conftest$ac_exeext conftest.$ac_ext
18537 fi
18538
18539 fi
18540
18541 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18542 $as_echo_n "(cached) " >&6
18543 else
18544
18545 if test x$gcc_no_link = xyes; then
18546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18547 /* end confdefs.h. */
18548 #include <sys/stat.h>
18549 int
18550 main ()
18551 {
18552 struct stat buffer;
18553 fstat(0, &buffer);
18554 S_IFREG & buffer.st_mode;
18555 ;
18556 return 0;
18557 }
18558 _ACEOF
18559 if ac_fn_cxx_try_compile "$LINENO"; then :
18560 glibcxx_cv_S_IFREG=yes
18561 else
18562 glibcxx_cv_S_IFREG=no
18563 fi
18564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18565 else
18566 if test x$gcc_no_link = xyes; then
18567 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18568 fi
18569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18570 /* end confdefs.h. */
18571 #include <sys/stat.h>
18572 int
18573 main ()
18574 {
18575 struct stat buffer;
18576 fstat(0, &buffer);
18577 S_IFREG & buffer.st_mode;
18578 ;
18579 return 0;
18580 }
18581 _ACEOF
18582 if ac_fn_cxx_try_link "$LINENO"; then :
18583 glibcxx_cv_S_IFREG=yes
18584 else
18585 glibcxx_cv_S_IFREG=no
18586 fi
18587 rm -f core conftest.err conftest.$ac_objext \
18588 conftest$ac_exeext conftest.$ac_ext
18589 fi
18590
18591 fi
18592
18593 res=no
18594 if test $glibcxx_cv_S_ISREG = yes; then
18595
18596 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18597
18598 res=S_ISREG
18599 elif test $glibcxx_cv_S_IFREG = yes; then
18600
18601 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18602
18603 res=S_IFREG
18604 fi
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18606 $as_echo "$res" >&6; }
18607
18608 CXXFLAGS="$ac_save_CXXFLAGS"
18609 ac_ext=c
18610 ac_cpp='$CPP $CPPFLAGS'
18611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18614
18615
18616
18617 # For xsputn_2().
18618 for ac_header in sys/uio.h
18619 do :
18620 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18621 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18622 cat >>confdefs.h <<_ACEOF
18623 #define HAVE_SYS_UIO_H 1
18624 _ACEOF
18625
18626 fi
18627
18628 done
18629
18630
18631
18632
18633 ac_ext=cpp
18634 ac_cpp='$CXXCPP $CPPFLAGS'
18635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18638
18639 ac_save_CXXFLAGS="$CXXFLAGS"
18640 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18641
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18643 $as_echo_n "checking for writev... " >&6; }
18644 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18645 $as_echo_n "(cached) " >&6
18646 else
18647
18648 if test x$gcc_no_link = xyes; then
18649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18650 /* end confdefs.h. */
18651 #include <sys/uio.h>
18652 int
18653 main ()
18654 {
18655 struct iovec iov[2];
18656 writev(0, iov, 0);
18657 ;
18658 return 0;
18659 }
18660 _ACEOF
18661 if ac_fn_cxx_try_compile "$LINENO"; then :
18662 glibcxx_cv_WRITEV=yes
18663 else
18664 glibcxx_cv_WRITEV=no
18665 fi
18666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18667 else
18668 if test x$gcc_no_link = xyes; then
18669 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18670 fi
18671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18672 /* end confdefs.h. */
18673 #include <sys/uio.h>
18674 int
18675 main ()
18676 {
18677 struct iovec iov[2];
18678 writev(0, iov, 0);
18679 ;
18680 return 0;
18681 }
18682 _ACEOF
18683 if ac_fn_cxx_try_link "$LINENO"; then :
18684 glibcxx_cv_WRITEV=yes
18685 else
18686 glibcxx_cv_WRITEV=no
18687 fi
18688 rm -f core conftest.err conftest.$ac_objext \
18689 conftest$ac_exeext conftest.$ac_ext
18690 fi
18691
18692 fi
18693
18694 if test $glibcxx_cv_WRITEV = yes; then
18695
18696 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18697
18698 fi
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18700 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18701
18702 CXXFLAGS="$ac_save_CXXFLAGS"
18703 ac_ext=c
18704 ac_cpp='$CPP $CPPFLAGS'
18705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18708
18709
18710
18711 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18712 # so that the check is done with the C compiler (not C++).
18713 # Checking with C++ can break a canadian cross build if either
18714 # file does not exist in C but does in C++.
18715 for ac_header in fenv.h complex.h
18716 do :
18717 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18718 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18719 eval as_val=\$$as_ac_Header
18720 if test "x$as_val" = x""yes; then :
18721 cat >>confdefs.h <<_ACEOF
18722 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18723 _ACEOF
18724
18725 fi
18726
18727 done
18728
18729
18730 # For C99 support to TR1.
18731
18732
18733
18734 ac_ext=cpp
18735 ac_cpp='$CXXCPP $CPPFLAGS'
18736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18739
18740
18741 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18742 # undefined and fake C99 facilities may be spuriously enabled.
18743 ac_save_CXXFLAGS="$CXXFLAGS"
18744 CXXFLAGS="$CXXFLAGS -std=c++98"
18745
18746 # Check for the existence of <complex.h> complex math functions used
18747 # by tr1/complex.
18748 for ac_header in complex.h
18749 do :
18750 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18751 if test "x$ac_cv_header_complex_h" = x""yes; then :
18752 cat >>confdefs.h <<_ACEOF
18753 #define HAVE_COMPLEX_H 1
18754 _ACEOF
18755 ac_has_complex_h=yes
18756 else
18757 ac_has_complex_h=no
18758 fi
18759
18760 done
18761
18762 ac_c99_complex_tr1=no;
18763 if test x"$ac_has_complex_h" = x"yes"; then
18764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18765 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18767 /* end confdefs.h. */
18768 #include <complex.h>
18769 int
18770 main ()
18771 {
18772 typedef __complex__ float float_type; float_type tmpf;
18773 cacosf(tmpf);
18774 casinf(tmpf);
18775 catanf(tmpf);
18776 cacoshf(tmpf);
18777 casinhf(tmpf);
18778 catanhf(tmpf);
18779 typedef __complex__ double double_type; double_type tmpd;
18780 cacos(tmpd);
18781 casin(tmpd);
18782 catan(tmpd);
18783 cacosh(tmpd);
18784 casinh(tmpd);
18785 catanh(tmpd);
18786 typedef __complex__ long double ld_type; ld_type tmpld;
18787 cacosl(tmpld);
18788 casinl(tmpld);
18789 catanl(tmpld);
18790 cacoshl(tmpld);
18791 casinhl(tmpld);
18792 catanhl(tmpld);
18793
18794 ;
18795 return 0;
18796 }
18797 _ACEOF
18798 if ac_fn_cxx_try_compile "$LINENO"; then :
18799 ac_c99_complex_tr1=yes
18800 else
18801 ac_c99_complex_tr1=no
18802 fi
18803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18804 fi
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18806 $as_echo "$ac_c99_complex_tr1" >&6; }
18807 if test x"$ac_c99_complex_tr1" = x"yes"; then
18808
18809 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18810
18811 fi
18812
18813 # Check for the existence of <ctype.h> functions.
18814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18815 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18816 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18817 $as_echo_n "(cached) " >&6
18818 else
18819
18820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18821 /* end confdefs.h. */
18822 #include <ctype.h>
18823 int
18824 main ()
18825 {
18826 int ch;
18827 int ret;
18828 ret = isblank(ch);
18829
18830 ;
18831 return 0;
18832 }
18833 _ACEOF
18834 if ac_fn_cxx_try_compile "$LINENO"; then :
18835 glibcxx_cv_c99_ctype_tr1=yes
18836 else
18837 glibcxx_cv_c99_ctype_tr1=no
18838 fi
18839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18840
18841 fi
18842
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18844 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18845 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18846
18847 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18848
18849 fi
18850
18851 # Check for the existence of <fenv.h> functions.
18852 for ac_header in fenv.h
18853 do :
18854 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18855 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18856 cat >>confdefs.h <<_ACEOF
18857 #define HAVE_FENV_H 1
18858 _ACEOF
18859 ac_has_fenv_h=yes
18860 else
18861 ac_has_fenv_h=no
18862 fi
18863
18864 done
18865
18866 ac_c99_fenv_tr1=no;
18867 if test x"$ac_has_fenv_h" = x"yes"; then
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18869 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18871 /* end confdefs.h. */
18872 #include <fenv.h>
18873 int
18874 main ()
18875 {
18876 int except, mode;
18877 fexcept_t* pflag;
18878 fenv_t* penv;
18879 int ret;
18880 ret = feclearexcept(except);
18881 ret = fegetexceptflag(pflag, except);
18882 ret = feraiseexcept(except);
18883 ret = fesetexceptflag(pflag, except);
18884 ret = fetestexcept(except);
18885 ret = fegetround();
18886 ret = fesetround(mode);
18887 ret = fegetenv(penv);
18888 ret = feholdexcept(penv);
18889 ret = fesetenv(penv);
18890 ret = feupdateenv(penv);
18891
18892 ;
18893 return 0;
18894 }
18895 _ACEOF
18896 if ac_fn_cxx_try_compile "$LINENO"; then :
18897 ac_c99_fenv_tr1=yes
18898 else
18899 ac_c99_fenv_tr1=no
18900 fi
18901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18902 fi
18903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18904 $as_echo "$ac_c99_fenv_tr1" >&6; }
18905 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18906
18907 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18908
18909 fi
18910
18911 # Check for the existence of <stdint.h> types.
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18913 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18914 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18915 $as_echo_n "(cached) " >&6
18916 else
18917
18918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18919 /* end confdefs.h. */
18920 #define __STDC_LIMIT_MACROS
18921 #define __STDC_CONSTANT_MACROS
18922 #include <stdint.h>
18923 int
18924 main ()
18925 {
18926 typedef int8_t my_int8_t;
18927 my_int8_t i8 = INT8_MIN;
18928 i8 = INT8_MAX;
18929 typedef int16_t my_int16_t;
18930 my_int16_t i16 = INT16_MIN;
18931 i16 = INT16_MAX;
18932 typedef int32_t my_int32_t;
18933 my_int32_t i32 = INT32_MIN;
18934 i32 = INT32_MAX;
18935 typedef int64_t my_int64_t;
18936 my_int64_t i64 = INT64_MIN;
18937 i64 = INT64_MAX;
18938 typedef int_fast8_t my_int_fast8_t;
18939 my_int_fast8_t if8 = INT_FAST8_MIN;
18940 if8 = INT_FAST8_MAX;
18941 typedef int_fast16_t my_int_fast16_t;
18942 my_int_fast16_t if16 = INT_FAST16_MIN;
18943 if16 = INT_FAST16_MAX;
18944 typedef int_fast32_t my_int_fast32_t;
18945 my_int_fast32_t if32 = INT_FAST32_MIN;
18946 if32 = INT_FAST32_MAX;
18947 typedef int_fast64_t my_int_fast64_t;
18948 my_int_fast64_t if64 = INT_FAST64_MIN;
18949 if64 = INT_FAST64_MAX;
18950 typedef int_least8_t my_int_least8_t;
18951 my_int_least8_t il8 = INT_LEAST8_MIN;
18952 il8 = INT_LEAST8_MAX;
18953 typedef int_least16_t my_int_least16_t;
18954 my_int_least16_t il16 = INT_LEAST16_MIN;
18955 il16 = INT_LEAST16_MAX;
18956 typedef int_least32_t my_int_least32_t;
18957 my_int_least32_t il32 = INT_LEAST32_MIN;
18958 il32 = INT_LEAST32_MAX;
18959 typedef int_least64_t my_int_least64_t;
18960 my_int_least64_t il64 = INT_LEAST64_MIN;
18961 il64 = INT_LEAST64_MAX;
18962 typedef intmax_t my_intmax_t;
18963 my_intmax_t im = INTMAX_MAX;
18964 im = INTMAX_MIN;
18965 typedef intptr_t my_intptr_t;
18966 my_intptr_t ip = INTPTR_MAX;
18967 ip = INTPTR_MIN;
18968 typedef uint8_t my_uint8_t;
18969 my_uint8_t ui8 = UINT8_MAX;
18970 ui8 = UINT8_MAX;
18971 typedef uint16_t my_uint16_t;
18972 my_uint16_t ui16 = UINT16_MAX;
18973 ui16 = UINT16_MAX;
18974 typedef uint32_t my_uint32_t;
18975 my_uint32_t ui32 = UINT32_MAX;
18976 ui32 = UINT32_MAX;
18977 typedef uint64_t my_uint64_t;
18978 my_uint64_t ui64 = UINT64_MAX;
18979 ui64 = UINT64_MAX;
18980 typedef uint_fast8_t my_uint_fast8_t;
18981 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18982 uif8 = UINT_FAST8_MAX;
18983 typedef uint_fast16_t my_uint_fast16_t;
18984 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18985 uif16 = UINT_FAST16_MAX;
18986 typedef uint_fast32_t my_uint_fast32_t;
18987 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18988 uif32 = UINT_FAST32_MAX;
18989 typedef uint_fast64_t my_uint_fast64_t;
18990 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18991 uif64 = UINT_FAST64_MAX;
18992 typedef uint_least8_t my_uint_least8_t;
18993 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18994 uil8 = UINT_LEAST8_MAX;
18995 typedef uint_least16_t my_uint_least16_t;
18996 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18997 uil16 = UINT_LEAST16_MAX;
18998 typedef uint_least32_t my_uint_least32_t;
18999 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19000 uil32 = UINT_LEAST32_MAX;
19001 typedef uint_least64_t my_uint_least64_t;
19002 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19003 uil64 = UINT_LEAST64_MAX;
19004 typedef uintmax_t my_uintmax_t;
19005 my_uintmax_t uim = UINTMAX_MAX;
19006 uim = UINTMAX_MAX;
19007 typedef uintptr_t my_uintptr_t;
19008 my_uintptr_t uip = UINTPTR_MAX;
19009 uip = UINTPTR_MAX;
19010
19011 ;
19012 return 0;
19013 }
19014 _ACEOF
19015 if ac_fn_cxx_try_compile "$LINENO"; then :
19016 glibcxx_cv_c99_stdint_tr1=yes
19017 else
19018 glibcxx_cv_c99_stdint_tr1=no
19019 fi
19020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19021
19022 fi
19023
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19025 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19026 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19027
19028 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19029
19030 fi
19031
19032 # Check for the existence of <math.h> functions.
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19034 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19035 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19036 $as_echo_n "(cached) " >&6
19037 else
19038
19039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19040 /* end confdefs.h. */
19041 #include <math.h>
19042 int
19043 main ()
19044 {
19045 typedef double_t my_double_t;
19046 typedef float_t my_float_t;
19047 acosh(0.0);
19048 acoshf(0.0f);
19049 acoshl(0.0l);
19050 asinh(0.0);
19051 asinhf(0.0f);
19052 asinhl(0.0l);
19053 atanh(0.0);
19054 atanhf(0.0f);
19055 atanhl(0.0l);
19056 cbrt(0.0);
19057 cbrtf(0.0f);
19058 cbrtl(0.0l);
19059 copysign(0.0, 0.0);
19060 copysignf(0.0f, 0.0f);
19061 copysignl(0.0l, 0.0l);
19062 erf(0.0);
19063 erff(0.0f);
19064 erfl(0.0l);
19065 erfc(0.0);
19066 erfcf(0.0f);
19067 erfcl(0.0l);
19068 exp2(0.0);
19069 exp2f(0.0f);
19070 exp2l(0.0l);
19071 expm1(0.0);
19072 expm1f(0.0f);
19073 expm1l(0.0l);
19074 fdim(0.0, 0.0);
19075 fdimf(0.0f, 0.0f);
19076 fdiml(0.0l, 0.0l);
19077 fma(0.0, 0.0, 0.0);
19078 fmaf(0.0f, 0.0f, 0.0f);
19079 fmal(0.0l, 0.0l, 0.0l);
19080 fmax(0.0, 0.0);
19081 fmaxf(0.0f, 0.0f);
19082 fmaxl(0.0l, 0.0l);
19083 fmin(0.0, 0.0);
19084 fminf(0.0f, 0.0f);
19085 fminl(0.0l, 0.0l);
19086 hypot(0.0, 0.0);
19087 hypotf(0.0f, 0.0f);
19088 hypotl(0.0l, 0.0l);
19089 ilogb(0.0);
19090 ilogbf(0.0f);
19091 ilogbl(0.0l);
19092 lgamma(0.0);
19093 lgammaf(0.0f);
19094 lgammal(0.0l);
19095 llrint(0.0);
19096 llrintf(0.0f);
19097 llrintl(0.0l);
19098 llround(0.0);
19099 llroundf(0.0f);
19100 llroundl(0.0l);
19101 log1p(0.0);
19102 log1pf(0.0f);
19103 log1pl(0.0l);
19104 log2(0.0);
19105 log2f(0.0f);
19106 log2l(0.0l);
19107 logb(0.0);
19108 logbf(0.0f);
19109 logbl(0.0l);
19110 lrint(0.0);
19111 lrintf(0.0f);
19112 lrintl(0.0l);
19113 lround(0.0);
19114 lroundf(0.0f);
19115 lroundl(0.0l);
19116 nan(0);
19117 nanf(0);
19118 nanl(0);
19119 nearbyint(0.0);
19120 nearbyintf(0.0f);
19121 nearbyintl(0.0l);
19122 nextafter(0.0, 0.0);
19123 nextafterf(0.0f, 0.0f);
19124 nextafterl(0.0l, 0.0l);
19125 nexttoward(0.0, 0.0);
19126 nexttowardf(0.0f, 0.0f);
19127 nexttowardl(0.0l, 0.0l);
19128 remainder(0.0, 0.0);
19129 remainderf(0.0f, 0.0f);
19130 remainderl(0.0l, 0.0l);
19131 remquo(0.0, 0.0, 0);
19132 remquof(0.0f, 0.0f, 0);
19133 remquol(0.0l, 0.0l, 0);
19134 rint(0.0);
19135 rintf(0.0f);
19136 rintl(0.0l);
19137 round(0.0);
19138 roundf(0.0f);
19139 roundl(0.0l);
19140 scalbln(0.0, 0l);
19141 scalblnf(0.0f, 0l);
19142 scalblnl(0.0l, 0l);
19143 scalbn(0.0, 0);
19144 scalbnf(0.0f, 0);
19145 scalbnl(0.0l, 0);
19146 tgamma(0.0);
19147 tgammaf(0.0f);
19148 tgammal(0.0l);
19149 trunc(0.0);
19150 truncf(0.0f);
19151 truncl(0.0l);
19152
19153 ;
19154 return 0;
19155 }
19156 _ACEOF
19157 if ac_fn_cxx_try_compile "$LINENO"; then :
19158 glibcxx_cv_c99_math_tr1=yes
19159 else
19160 glibcxx_cv_c99_math_tr1=no
19161 fi
19162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19163
19164 fi
19165
19166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19167 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19168 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19169
19170 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19171
19172 fi
19173
19174 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19175 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19176 ac_c99_inttypes_tr1=no;
19177 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19179 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19181 /* end confdefs.h. */
19182 #include <inttypes.h>
19183 int
19184 main ()
19185 {
19186 intmax_t i, numer, denom, base;
19187 const char* s;
19188 char** endptr;
19189 intmax_t ret = imaxabs(i);
19190 imaxdiv_t dret = imaxdiv(numer, denom);
19191 ret = strtoimax(s, endptr, base);
19192 uintmax_t uret = strtoumax(s, endptr, base);
19193
19194 ;
19195 return 0;
19196 }
19197 _ACEOF
19198 if ac_fn_cxx_try_compile "$LINENO"; then :
19199 ac_c99_inttypes_tr1=yes
19200 else
19201 ac_c99_inttypes_tr1=no
19202 fi
19203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19204 fi
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19206 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19207 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19208
19209 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19210
19211 fi
19212
19213 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19214 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19215 ac_c99_inttypes_wchar_t_tr1=no;
19216 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19218 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19220 /* end confdefs.h. */
19221 #include <inttypes.h>
19222 int
19223 main ()
19224 {
19225 intmax_t base;
19226 const wchar_t* s;
19227 wchar_t** endptr;
19228 intmax_t ret = wcstoimax(s, endptr, base);
19229 uintmax_t uret = wcstoumax(s, endptr, base);
19230
19231 ;
19232 return 0;
19233 }
19234 _ACEOF
19235 if ac_fn_cxx_try_compile "$LINENO"; then :
19236 ac_c99_inttypes_wchar_t_tr1=yes
19237 else
19238 ac_c99_inttypes_wchar_t_tr1=no
19239 fi
19240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19241 fi
19242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19243 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19244 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19245
19246 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19247
19248 fi
19249
19250 # Check for the existence of the <stdbool.h> header.
19251 for ac_header in stdbool.h
19252 do :
19253 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19254 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19255 cat >>confdefs.h <<_ACEOF
19256 #define HAVE_STDBOOL_H 1
19257 _ACEOF
19258
19259 fi
19260
19261 done
19262
19263
19264 # Check for the existence of the <stdalign.h> header.
19265 for ac_header in stdalign.h
19266 do :
19267 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19268 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19269 cat >>confdefs.h <<_ACEOF
19270 #define HAVE_STDALIGN_H 1
19271 _ACEOF
19272
19273 fi
19274
19275 done
19276
19277
19278 CXXFLAGS="$ac_save_CXXFLAGS"
19279 ac_ext=c
19280 ac_cpp='$CPP $CPPFLAGS'
19281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19284
19285
19286
19287 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19288
19289
19290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19291 $as_echo_n "checking for the value of EOF... " >&6; }
19292 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19293 $as_echo_n "(cached) " >&6
19294 else
19295
19296 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19297
19298 else
19299 as_fn_error "computing EOF failed" "$LINENO" 5
19300 fi
19301
19302
19303 fi
19304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19305 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19306
19307 cat >>confdefs.h <<_ACEOF
19308 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19309 _ACEOF
19310
19311
19312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19313 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19314 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19315 $as_echo_n "(cached) " >&6
19316 else
19317
19318 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19319
19320 else
19321 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19322 fi
19323
19324
19325 fi
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19327 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19328
19329 cat >>confdefs.h <<_ACEOF
19330 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19331 _ACEOF
19332
19333
19334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19335 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19336 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19337 $as_echo_n "(cached) " >&6
19338 else
19339
19340 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19341
19342 else
19343 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19344 fi
19345
19346
19347 fi
19348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19349 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19350
19351 cat >>confdefs.h <<_ACEOF
19352 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19353 _ACEOF
19354
19355
19356
19357 # For gettimeofday support.
19358
19359
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19361 $as_echo_n "checking for gettimeofday... " >&6; }
19362
19363
19364 ac_ext=cpp
19365 ac_cpp='$CXXCPP $CPPFLAGS'
19366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19369
19370 ac_save_CXXFLAGS="$CXXFLAGS"
19371 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19372
19373 ac_has_gettimeofday=no;
19374 for ac_header in sys/time.h
19375 do :
19376 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19377 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19378 cat >>confdefs.h <<_ACEOF
19379 #define HAVE_SYS_TIME_H 1
19380 _ACEOF
19381 ac_has_sys_time_h=yes
19382 else
19383 ac_has_sys_time_h=no
19384 fi
19385
19386 done
19387
19388 if test x"$ac_has_sys_time_h" = x"yes"; then
19389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19390 $as_echo_n "checking for gettimeofday... " >&6; }
19391 if test x$gcc_no_link = xyes; then
19392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19393 /* end confdefs.h. */
19394 #include <sys/time.h>
19395 int
19396 main ()
19397 {
19398 timeval tv; gettimeofday(&tv, 0);
19399 ;
19400 return 0;
19401 }
19402 _ACEOF
19403 if ac_fn_cxx_try_compile "$LINENO"; then :
19404 ac_has_gettimeofday=yes
19405 else
19406 ac_has_gettimeofday=no
19407 fi
19408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19409 else
19410 if test x$gcc_no_link = xyes; then
19411 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19412 fi
19413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19414 /* end confdefs.h. */
19415 #include <sys/time.h>
19416 int
19417 main ()
19418 {
19419 timeval tv; gettimeofday(&tv, 0);
19420 ;
19421 return 0;
19422 }
19423 _ACEOF
19424 if ac_fn_cxx_try_link "$LINENO"; then :
19425 ac_has_gettimeofday=yes
19426 else
19427 ac_has_gettimeofday=no
19428 fi
19429 rm -f core conftest.err conftest.$ac_objext \
19430 conftest$ac_exeext conftest.$ac_ext
19431 fi
19432
19433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19434 $as_echo "$ac_has_gettimeofday" >&6; }
19435 fi
19436
19437 if test x"$ac_has_gettimeofday" = x"yes"; then
19438
19439 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19440
19441 fi
19442
19443 CXXFLAGS="$ac_save_CXXFLAGS"
19444 ac_ext=c
19445 ac_cpp='$CPP $CPPFLAGS'
19446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19449
19450
19451
19452 # For clock_gettime, nanosleep and sched_yield support.
19453
19454
19455 # Check whether --enable-libstdcxx-time was given.
19456 if test "${enable_libstdcxx_time+set}" = set; then :
19457 enableval=$enable_libstdcxx_time;
19458 case "$enableval" in
19459 yes|no|rt) ;;
19460 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19461 esac
19462
19463 else
19464 enable_libstdcxx_time=auto
19465 fi
19466
19467
19468
19469
19470 ac_ext=cpp
19471 ac_cpp='$CXXCPP $CPPFLAGS'
19472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19475
19476 ac_save_CXXFLAGS="$CXXFLAGS"
19477 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19478 ac_save_LIBS="$LIBS"
19479
19480 ac_has_clock_monotonic=no
19481 ac_has_clock_realtime=no
19482 ac_has_nanosleep=no
19483 ac_has_sched_yield=no
19484
19485 if test x"$enable_libstdcxx_time" = x"auto"; then
19486
19487 case "${target_os}" in
19488 cygwin*)
19489 ac_has_nanosleep=yes
19490 ;;
19491 darwin*)
19492 ac_has_nanosleep=yes
19493 ac_has_sched_yield=yes
19494 ;;
19495 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19497 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19499 /* end confdefs.h. */
19500 #include <features.h>
19501 int
19502 main ()
19503 {
19504
19505 #if ! __GLIBC_PREREQ(2, 17)
19506 #error
19507 #endif
19508
19509 ;
19510 return 0;
19511 }
19512 _ACEOF
19513 if ac_fn_cxx_try_compile "$LINENO"; then :
19514 glibcxx_glibc217=yes
19515 else
19516 glibcxx_glibc217=no
19517 fi
19518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19520 $as_echo "$glibcxx_glibc217" >&6; }
19521
19522 if test x"$glibcxx_glibc217" = x"yes"; then
19523 ac_has_clock_monotonic=yes
19524 ac_has_clock_realtime=yes
19525 fi
19526 ac_has_nanosleep=yes
19527 ac_has_sched_yield=yes
19528 ;;
19529 freebsd*|netbsd*)
19530 ac_has_clock_monotonic=yes
19531 ac_has_clock_realtime=yes
19532 ac_has_nanosleep=yes
19533 ac_has_sched_yield=yes
19534 ;;
19535 openbsd*)
19536 ac_has_clock_monotonic=yes
19537 ac_has_clock_realtime=yes
19538 ac_has_nanosleep=yes
19539 ;;
19540 solaris*)
19541 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19542 ac_has_clock_monotonic=yes
19543 ac_has_clock_realtime=yes
19544 ac_has_nanosleep=yes
19545 ac_has_sched_yield=yes
19546 ;;
19547 esac
19548
19549 elif test x"$enable_libstdcxx_time" != x"no"; then
19550
19551 if test x"$enable_libstdcxx_time" = x"rt"; then
19552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19553 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19554 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19555 $as_echo_n "(cached) " >&6
19556 else
19557 ac_func_search_save_LIBS=$LIBS
19558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19559 /* end confdefs.h. */
19560
19561 /* Override any GCC internal prototype to avoid an error.
19562 Use char because int might match the return type of a GCC
19563 builtin and then its argument prototype would still apply. */
19564 #ifdef __cplusplus
19565 extern "C"
19566 #endif
19567 char clock_gettime ();
19568 int
19569 main ()
19570 {
19571 return clock_gettime ();
19572 ;
19573 return 0;
19574 }
19575 _ACEOF
19576 for ac_lib in '' rt posix4; do
19577 if test -z "$ac_lib"; then
19578 ac_res="none required"
19579 else
19580 ac_res=-l$ac_lib
19581 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19582 fi
19583 if test x$gcc_no_link = xyes; then
19584 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19585 fi
19586 if ac_fn_cxx_try_link "$LINENO"; then :
19587 ac_cv_search_clock_gettime=$ac_res
19588 fi
19589 rm -f core conftest.err conftest.$ac_objext \
19590 conftest$ac_exeext
19591 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19592 break
19593 fi
19594 done
19595 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19596
19597 else
19598 ac_cv_search_clock_gettime=no
19599 fi
19600 rm conftest.$ac_ext
19601 LIBS=$ac_func_search_save_LIBS
19602 fi
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19604 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19605 ac_res=$ac_cv_search_clock_gettime
19606 if test "$ac_res" != no; then :
19607 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19608
19609 fi
19610
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19612 $as_echo_n "checking for library containing nanosleep... " >&6; }
19613 if test "${ac_cv_search_nanosleep+set}" = set; then :
19614 $as_echo_n "(cached) " >&6
19615 else
19616 ac_func_search_save_LIBS=$LIBS
19617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19618 /* end confdefs.h. */
19619
19620 /* Override any GCC internal prototype to avoid an error.
19621 Use char because int might match the return type of a GCC
19622 builtin and then its argument prototype would still apply. */
19623 #ifdef __cplusplus
19624 extern "C"
19625 #endif
19626 char nanosleep ();
19627 int
19628 main ()
19629 {
19630 return nanosleep ();
19631 ;
19632 return 0;
19633 }
19634 _ACEOF
19635 for ac_lib in '' rt posix4; do
19636 if test -z "$ac_lib"; then
19637 ac_res="none required"
19638 else
19639 ac_res=-l$ac_lib
19640 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19641 fi
19642 if test x$gcc_no_link = xyes; then
19643 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19644 fi
19645 if ac_fn_cxx_try_link "$LINENO"; then :
19646 ac_cv_search_nanosleep=$ac_res
19647 fi
19648 rm -f core conftest.err conftest.$ac_objext \
19649 conftest$ac_exeext
19650 if test "${ac_cv_search_nanosleep+set}" = set; then :
19651 break
19652 fi
19653 done
19654 if test "${ac_cv_search_nanosleep+set}" = set; then :
19655
19656 else
19657 ac_cv_search_nanosleep=no
19658 fi
19659 rm conftest.$ac_ext
19660 LIBS=$ac_func_search_save_LIBS
19661 fi
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19663 $as_echo "$ac_cv_search_nanosleep" >&6; }
19664 ac_res=$ac_cv_search_nanosleep
19665 if test "$ac_res" != no; then :
19666 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19667
19668 fi
19669
19670 else
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19672 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19673 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19674 $as_echo_n "(cached) " >&6
19675 else
19676 ac_func_search_save_LIBS=$LIBS
19677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19678 /* end confdefs.h. */
19679
19680 /* Override any GCC internal prototype to avoid an error.
19681 Use char because int might match the return type of a GCC
19682 builtin and then its argument prototype would still apply. */
19683 #ifdef __cplusplus
19684 extern "C"
19685 #endif
19686 char clock_gettime ();
19687 int
19688 main ()
19689 {
19690 return clock_gettime ();
19691 ;
19692 return 0;
19693 }
19694 _ACEOF
19695 for ac_lib in '' posix4; do
19696 if test -z "$ac_lib"; then
19697 ac_res="none required"
19698 else
19699 ac_res=-l$ac_lib
19700 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19701 fi
19702 if test x$gcc_no_link = xyes; then
19703 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19704 fi
19705 if ac_fn_cxx_try_link "$LINENO"; then :
19706 ac_cv_search_clock_gettime=$ac_res
19707 fi
19708 rm -f core conftest.err conftest.$ac_objext \
19709 conftest$ac_exeext
19710 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19711 break
19712 fi
19713 done
19714 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19715
19716 else
19717 ac_cv_search_clock_gettime=no
19718 fi
19719 rm conftest.$ac_ext
19720 LIBS=$ac_func_search_save_LIBS
19721 fi
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19723 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19724 ac_res=$ac_cv_search_clock_gettime
19725 if test "$ac_res" != no; then :
19726 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19727
19728 fi
19729
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19731 $as_echo_n "checking for library containing nanosleep... " >&6; }
19732 if test "${ac_cv_search_nanosleep+set}" = set; then :
19733 $as_echo_n "(cached) " >&6
19734 else
19735 ac_func_search_save_LIBS=$LIBS
19736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19737 /* end confdefs.h. */
19738
19739 /* Override any GCC internal prototype to avoid an error.
19740 Use char because int might match the return type of a GCC
19741 builtin and then its argument prototype would still apply. */
19742 #ifdef __cplusplus
19743 extern "C"
19744 #endif
19745 char nanosleep ();
19746 int
19747 main ()
19748 {
19749 return nanosleep ();
19750 ;
19751 return 0;
19752 }
19753 _ACEOF
19754 for ac_lib in '' posix4; do
19755 if test -z "$ac_lib"; then
19756 ac_res="none required"
19757 else
19758 ac_res=-l$ac_lib
19759 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19760 fi
19761 if test x$gcc_no_link = xyes; then
19762 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19763 fi
19764 if ac_fn_cxx_try_link "$LINENO"; then :
19765 ac_cv_search_nanosleep=$ac_res
19766 fi
19767 rm -f core conftest.err conftest.$ac_objext \
19768 conftest$ac_exeext
19769 if test "${ac_cv_search_nanosleep+set}" = set; then :
19770 break
19771 fi
19772 done
19773 if test "${ac_cv_search_nanosleep+set}" = set; then :
19774
19775 else
19776 ac_cv_search_nanosleep=no
19777 fi
19778 rm conftest.$ac_ext
19779 LIBS=$ac_func_search_save_LIBS
19780 fi
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19782 $as_echo "$ac_cv_search_nanosleep" >&6; }
19783 ac_res=$ac_cv_search_nanosleep
19784 if test "$ac_res" != no; then :
19785 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19786
19787 fi
19788
19789 fi
19790
19791 case "$ac_cv_search_clock_gettime" in
19792 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19793 ;;
19794 esac
19795 case "$ac_cv_search_nanosleep" in
19796 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19797 ;;
19798 esac
19799
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19801 $as_echo_n "checking for library containing sched_yield... " >&6; }
19802 if test "${ac_cv_search_sched_yield+set}" = set; then :
19803 $as_echo_n "(cached) " >&6
19804 else
19805 ac_func_search_save_LIBS=$LIBS
19806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19807 /* end confdefs.h. */
19808
19809 /* Override any GCC internal prototype to avoid an error.
19810 Use char because int might match the return type of a GCC
19811 builtin and then its argument prototype would still apply. */
19812 #ifdef __cplusplus
19813 extern "C"
19814 #endif
19815 char sched_yield ();
19816 int
19817 main ()
19818 {
19819 return sched_yield ();
19820 ;
19821 return 0;
19822 }
19823 _ACEOF
19824 for ac_lib in '' rt posix4; do
19825 if test -z "$ac_lib"; then
19826 ac_res="none required"
19827 else
19828 ac_res=-l$ac_lib
19829 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19830 fi
19831 if test x$gcc_no_link = xyes; then
19832 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19833 fi
19834 if ac_fn_cxx_try_link "$LINENO"; then :
19835 ac_cv_search_sched_yield=$ac_res
19836 fi
19837 rm -f core conftest.err conftest.$ac_objext \
19838 conftest$ac_exeext
19839 if test "${ac_cv_search_sched_yield+set}" = set; then :
19840 break
19841 fi
19842 done
19843 if test "${ac_cv_search_sched_yield+set}" = set; then :
19844
19845 else
19846 ac_cv_search_sched_yield=no
19847 fi
19848 rm conftest.$ac_ext
19849 LIBS=$ac_func_search_save_LIBS
19850 fi
19851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19852 $as_echo "$ac_cv_search_sched_yield" >&6; }
19853 ac_res=$ac_cv_search_sched_yield
19854 if test "$ac_res" != no; then :
19855 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19856
19857 fi
19858
19859
19860 case "$ac_cv_search_sched_yield" in
19861 -lposix4*)
19862 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19863 ac_has_sched_yield=yes
19864 ;;
19865 -lrt*)
19866 if test x"$enable_libstdcxx_time" = x"rt"; then
19867 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19868 ac_has_sched_yield=yes
19869 fi
19870 ;;
19871 *)
19872 ac_has_sched_yield=yes
19873 ;;
19874 esac
19875
19876 for ac_header in unistd.h
19877 do :
19878 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19879 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19880 cat >>confdefs.h <<_ACEOF
19881 #define HAVE_UNISTD_H 1
19882 _ACEOF
19883 ac_has_unistd_h=yes
19884 else
19885 ac_has_unistd_h=no
19886 fi
19887
19888 done
19889
19890
19891 if test x"$ac_has_unistd_h" = x"yes"; then
19892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19893 $as_echo_n "checking for monotonic clock... " >&6; }
19894 if test x$gcc_no_link = xyes; then
19895 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19896 fi
19897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19898 /* end confdefs.h. */
19899 #include <unistd.h>
19900 #include <time.h>
19901
19902 int
19903 main ()
19904 {
19905 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19906 timespec tp;
19907 #endif
19908 clock_gettime(CLOCK_MONOTONIC, &tp);
19909
19910 ;
19911 return 0;
19912 }
19913 _ACEOF
19914 if ac_fn_cxx_try_link "$LINENO"; then :
19915 ac_has_clock_monotonic=yes
19916 else
19917 ac_has_clock_monotonic=no
19918 fi
19919 rm -f core conftest.err conftest.$ac_objext \
19920 conftest$ac_exeext conftest.$ac_ext
19921
19922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19923 $as_echo "$ac_has_clock_monotonic" >&6; }
19924
19925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19926 $as_echo_n "checking for realtime clock... " >&6; }
19927 if test x$gcc_no_link = xyes; then
19928 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19929 fi
19930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19931 /* end confdefs.h. */
19932 #include <unistd.h>
19933 #include <time.h>
19934
19935 int
19936 main ()
19937 {
19938 #if _POSIX_TIMERS > 0
19939 timespec tp;
19940 #endif
19941 clock_gettime(CLOCK_REALTIME, &tp);
19942
19943 ;
19944 return 0;
19945 }
19946 _ACEOF
19947 if ac_fn_cxx_try_link "$LINENO"; then :
19948 ac_has_clock_realtime=yes
19949 else
19950 ac_has_clock_realtime=no
19951 fi
19952 rm -f core conftest.err conftest.$ac_objext \
19953 conftest$ac_exeext conftest.$ac_ext
19954
19955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19956 $as_echo "$ac_has_clock_realtime" >&6; }
19957
19958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19959 $as_echo_n "checking for nanosleep... " >&6; }
19960 if test x$gcc_no_link = xyes; then
19961 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19962 fi
19963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19964 /* end confdefs.h. */
19965 #include <unistd.h>
19966 #include <time.h>
19967
19968 int
19969 main ()
19970 {
19971 #if _POSIX_TIMERS > 0
19972 timespec tp;
19973 #endif
19974 nanosleep(&tp, 0);
19975
19976 ;
19977 return 0;
19978 }
19979 _ACEOF
19980 if ac_fn_cxx_try_link "$LINENO"; then :
19981 ac_has_nanosleep=yes
19982 else
19983 ac_has_nanosleep=no
19984 fi
19985 rm -f core conftest.err conftest.$ac_objext \
19986 conftest$ac_exeext conftest.$ac_ext
19987
19988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19989 $as_echo "$ac_has_nanosleep" >&6; }
19990 fi
19991 fi
19992
19993 if test x"$ac_has_clock_monotonic" != x"yes"; then
19994 case ${target_os} in
19995 linux*)
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19997 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19999 /* end confdefs.h. */
20000 #include <unistd.h>
20001 #include <time.h>
20002 #include <sys/syscall.h>
20003
20004 int
20005 main ()
20006 {
20007 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20008 timespec tp;
20009 #endif
20010 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20011 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20012
20013 ;
20014 return 0;
20015 }
20016 _ACEOF
20017 if ac_fn_cxx_try_compile "$LINENO"; then :
20018 ac_has_clock_monotonic_syscall=yes
20019 else
20020 ac_has_clock_monotonic_syscall=no
20021 fi
20022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20024 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20025 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20026
20027 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20028
20029 ac_has_clock_monotonic=yes
20030 ac_has_clock_realtime=yes
20031 fi;;
20032 esac
20033 fi
20034
20035 if test x"$ac_has_clock_monotonic" = x"yes"; then
20036
20037 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20038
20039 fi
20040
20041 if test x"$ac_has_clock_realtime" = x"yes"; then
20042
20043 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20044
20045 fi
20046
20047 if test x"$ac_has_sched_yield" = x"yes"; then
20048
20049 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20050
20051 fi
20052
20053 if test x"$ac_has_nanosleep" = x"yes"; then
20054
20055 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20056
20057 else
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20059 $as_echo_n "checking for sleep... " >&6; }
20060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20061 /* end confdefs.h. */
20062 #include <unistd.h>
20063 int
20064 main ()
20065 {
20066 sleep(1)
20067 ;
20068 return 0;
20069 }
20070 _ACEOF
20071 if ac_fn_cxx_try_compile "$LINENO"; then :
20072 ac_has_sleep=yes
20073 else
20074 ac_has_sleep=no
20075 fi
20076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20077 if test x"$ac_has_sleep" = x"yes"; then
20078
20079 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20080
20081 fi
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20083 $as_echo "$ac_has_sleep" >&6; }
20084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20085 $as_echo_n "checking for usleep... " >&6; }
20086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20087 /* end confdefs.h. */
20088 #include <unistd.h>
20089 int
20090 main ()
20091 {
20092 sleep(1);
20093 usleep(100);
20094 ;
20095 return 0;
20096 }
20097 _ACEOF
20098 if ac_fn_cxx_try_compile "$LINENO"; then :
20099 ac_has_usleep=yes
20100 else
20101 ac_has_usleep=no
20102 fi
20103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20104 if test x"$ac_has_usleep" = x"yes"; then
20105
20106 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20107
20108 fi
20109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20110 $as_echo "$ac_has_usleep" >&6; }
20111 fi
20112
20113 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20115 $as_echo_n "checking for Sleep... " >&6; }
20116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20117 /* end confdefs.h. */
20118 #include <windows.h>
20119 int
20120 main ()
20121 {
20122 Sleep(1)
20123 ;
20124 return 0;
20125 }
20126 _ACEOF
20127 if ac_fn_cxx_try_compile "$LINENO"; then :
20128 ac_has_win32_sleep=yes
20129 else
20130 ac_has_win32_sleep=no
20131 fi
20132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20133 if test x"$ac_has_win32_sleep" = x"yes"; then
20134
20135 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20136
20137 fi
20138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20139 $as_echo "$ac_has_win32_sleep" >&6; }
20140 fi
20141
20142
20143
20144 CXXFLAGS="$ac_save_CXXFLAGS"
20145 LIBS="$ac_save_LIBS"
20146 ac_ext=c
20147 ac_cpp='$CPP $CPPFLAGS'
20148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20151
20152
20153
20154 # Check for tmpnam which is obsolescent in POSIX.1-2008
20155
20156 ac_ext=cpp
20157 ac_cpp='$CXXCPP $CPPFLAGS'
20158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20161
20162 ac_save_CXXFLAGS="$CXXFLAGS"
20163 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20165 $as_echo_n "checking for tmpnam... " >&6; }
20166 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20167 $as_echo_n "(cached) " >&6
20168 else
20169 if test x$gcc_no_link = xyes; then
20170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20171 /* end confdefs.h. */
20172 #include <stdio.h>
20173 int
20174 main ()
20175 {
20176 char *tmp = tmpnam(NULL);
20177 ;
20178 return 0;
20179 }
20180 _ACEOF
20181 if ac_fn_cxx_try_compile "$LINENO"; then :
20182 glibcxx_cv_TMPNAM=yes
20183 else
20184 glibcxx_cv_TMPNAM=no
20185 fi
20186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20187 else
20188 if test x$gcc_no_link = xyes; then
20189 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20190 fi
20191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20192 /* end confdefs.h. */
20193 #include <stdio.h>
20194 int
20195 main ()
20196 {
20197 char *tmp = tmpnam(NULL);
20198 ;
20199 return 0;
20200 }
20201 _ACEOF
20202 if ac_fn_cxx_try_link "$LINENO"; then :
20203 glibcxx_cv_TMPNAM=yes
20204 else
20205 glibcxx_cv_TMPNAM=no
20206 fi
20207 rm -f core conftest.err conftest.$ac_objext \
20208 conftest$ac_exeext conftest.$ac_ext
20209 fi
20210
20211 fi
20212
20213 if test $glibcxx_cv_TMPNAM = yes; then
20214
20215 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20216
20217 fi
20218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20219 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20220 CXXFLAGS="$ac_save_CXXFLAGS"
20221 ac_ext=c
20222 ac_cpp='$CPP $CPPFLAGS'
20223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20226
20227
20228
20229
20230 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20231 if test "x$ac_cv_header_locale_h" = x""yes; then :
20232
20233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20234 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20235 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20236 $as_echo_n "(cached) " >&6
20237 else
20238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20239 /* end confdefs.h. */
20240 #include <locale.h>
20241 int
20242 main ()
20243 {
20244 return LC_MESSAGES
20245 ;
20246 return 0;
20247 }
20248 _ACEOF
20249 if ac_fn_c_try_compile "$LINENO"; then :
20250 ac_cv_val_LC_MESSAGES=yes
20251 else
20252 ac_cv_val_LC_MESSAGES=no
20253 fi
20254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20255 fi
20256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20257 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20258 if test $ac_cv_val_LC_MESSAGES = yes; then
20259
20260 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20261
20262 fi
20263
20264 fi
20265
20266
20267
20268
20269 # For hardware_concurrency
20270 for ac_header in sys/sysinfo.h
20271 do :
20272 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20273 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20274 cat >>confdefs.h <<_ACEOF
20275 #define HAVE_SYS_SYSINFO_H 1
20276 _ACEOF
20277
20278 fi
20279
20280 done
20281
20282
20283
20284
20285 ac_ext=cpp
20286 ac_cpp='$CXXCPP $CPPFLAGS'
20287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20290
20291 ac_save_CXXFLAGS="$CXXFLAGS"
20292 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20293
20294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20295 $as_echo_n "checking for get_nprocs... " >&6; }
20296 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20297 $as_echo_n "(cached) " >&6
20298 else
20299
20300 if test x$gcc_no_link = xyes; then
20301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20302 /* end confdefs.h. */
20303 #include <sys/sysinfo.h>
20304 int
20305 main ()
20306 {
20307 int n = get_nprocs();
20308 ;
20309 return 0;
20310 }
20311 _ACEOF
20312 if ac_fn_cxx_try_compile "$LINENO"; then :
20313 glibcxx_cv_GET_NPROCS=yes
20314 else
20315 glibcxx_cv_GET_NPROCS=no
20316 fi
20317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20318 else
20319 if test x$gcc_no_link = xyes; then
20320 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20321 fi
20322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20323 /* end confdefs.h. */
20324 #include <sys/sysinfo.h>
20325 int
20326 main ()
20327 {
20328 int n = get_nprocs();
20329 ;
20330 return 0;
20331 }
20332 _ACEOF
20333 if ac_fn_cxx_try_link "$LINENO"; then :
20334 glibcxx_cv_GET_NPROCS=yes
20335 else
20336 glibcxx_cv_GET_NPROCS=no
20337 fi
20338 rm -f core conftest.err conftest.$ac_objext \
20339 conftest$ac_exeext conftest.$ac_ext
20340 fi
20341
20342 fi
20343
20344 if test $glibcxx_cv_GET_NPROCS = yes; then
20345
20346 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20347
20348 fi
20349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20350 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20351
20352 CXXFLAGS="$ac_save_CXXFLAGS"
20353 ac_ext=c
20354 ac_cpp='$CPP $CPPFLAGS'
20355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20358
20359
20360 for ac_header in unistd.h
20361 do :
20362 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20363 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20364 cat >>confdefs.h <<_ACEOF
20365 #define HAVE_UNISTD_H 1
20366 _ACEOF
20367
20368 fi
20369
20370 done
20371
20372
20373
20374
20375 ac_ext=cpp
20376 ac_cpp='$CXXCPP $CPPFLAGS'
20377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20380
20381 ac_save_CXXFLAGS="$CXXFLAGS"
20382 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20383
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20385 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20386 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20387 $as_echo_n "(cached) " >&6
20388 else
20389
20390 if test x$gcc_no_link = xyes; then
20391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20392 /* end confdefs.h. */
20393 #include <unistd.h>
20394 int
20395 main ()
20396 {
20397 int n = sysconf(_SC_NPROCESSORS_ONLN);
20398 ;
20399 return 0;
20400 }
20401 _ACEOF
20402 if ac_fn_cxx_try_compile "$LINENO"; then :
20403 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20404 else
20405 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20406 fi
20407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20408 else
20409 if test x$gcc_no_link = xyes; then
20410 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20411 fi
20412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20413 /* end confdefs.h. */
20414 #include <unistd.h>
20415 int
20416 main ()
20417 {
20418 int n = sysconf(_SC_NPROCESSORS_ONLN);
20419 ;
20420 return 0;
20421 }
20422 _ACEOF
20423 if ac_fn_cxx_try_link "$LINENO"; then :
20424 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20425 else
20426 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20427 fi
20428 rm -f core conftest.err conftest.$ac_objext \
20429 conftest$ac_exeext conftest.$ac_ext
20430 fi
20431
20432 fi
20433
20434 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20435
20436 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20437
20438 fi
20439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20440 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20441
20442 CXXFLAGS="$ac_save_CXXFLAGS"
20443 ac_ext=c
20444 ac_cpp='$CPP $CPPFLAGS'
20445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20448
20449
20450
20451
20452
20453 ac_ext=cpp
20454 ac_cpp='$CXXCPP $CPPFLAGS'
20455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20458
20459 ac_save_CXXFLAGS="$CXXFLAGS"
20460 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20461
20462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20463 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20464 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20465 $as_echo_n "(cached) " >&6
20466 else
20467
20468 if test x$gcc_no_link = xyes; then
20469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20470 /* end confdefs.h. */
20471 #include <unistd.h>
20472 int
20473 main ()
20474 {
20475 int n = sysconf(_SC_NPROC_ONLN);
20476 ;
20477 return 0;
20478 }
20479 _ACEOF
20480 if ac_fn_cxx_try_compile "$LINENO"; then :
20481 glibcxx_cv_SC_NPROC_ONLN=yes
20482 else
20483 glibcxx_cv_SC_NPROC_ONLN=no
20484 fi
20485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20486 else
20487 if test x$gcc_no_link = xyes; then
20488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20489 fi
20490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20491 /* end confdefs.h. */
20492 #include <unistd.h>
20493 int
20494 main ()
20495 {
20496 int n = sysconf(_SC_NPROC_ONLN);
20497 ;
20498 return 0;
20499 }
20500 _ACEOF
20501 if ac_fn_cxx_try_link "$LINENO"; then :
20502 glibcxx_cv_SC_NPROC_ONLN=yes
20503 else
20504 glibcxx_cv_SC_NPROC_ONLN=no
20505 fi
20506 rm -f core conftest.err conftest.$ac_objext \
20507 conftest$ac_exeext conftest.$ac_ext
20508 fi
20509
20510 fi
20511
20512 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20513
20514 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20515
20516 fi
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20518 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20519
20520 CXXFLAGS="$ac_save_CXXFLAGS"
20521 ac_ext=c
20522 ac_cpp='$CPP $CPPFLAGS'
20523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20526
20527
20528
20529
20530
20531 ac_ext=cpp
20532 ac_cpp='$CXXCPP $CPPFLAGS'
20533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20536
20537 ac_save_CXXFLAGS="$CXXFLAGS"
20538 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20539
20540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20541 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20542 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20543 $as_echo_n "(cached) " >&6
20544 else
20545
20546 if test x$gcc_no_link = xyes; then
20547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20548 /* end confdefs.h. */
20549 #include <pthread.h>
20550 int
20551 main ()
20552 {
20553 int n = pthread_num_processors_np();
20554 ;
20555 return 0;
20556 }
20557 _ACEOF
20558 if ac_fn_cxx_try_compile "$LINENO"; then :
20559 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20560 else
20561 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20562 fi
20563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20564 else
20565 if test x$gcc_no_link = xyes; then
20566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20567 fi
20568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20569 /* end confdefs.h. */
20570 #include <pthread.h>
20571 int
20572 main ()
20573 {
20574 int n = pthread_num_processors_np();
20575 ;
20576 return 0;
20577 }
20578 _ACEOF
20579 if ac_fn_cxx_try_link "$LINENO"; then :
20580 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20581 else
20582 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20583 fi
20584 rm -f core conftest.err conftest.$ac_objext \
20585 conftest$ac_exeext conftest.$ac_ext
20586 fi
20587
20588 fi
20589
20590 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20591
20592 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20593
20594 fi
20595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20596 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20597
20598 CXXFLAGS="$ac_save_CXXFLAGS"
20599 ac_ext=c
20600 ac_cpp='$CPP $CPPFLAGS'
20601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20604
20605
20606
20607
20608
20609 ac_ext=cpp
20610 ac_cpp='$CXXCPP $CPPFLAGS'
20611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20614
20615 ac_save_CXXFLAGS="$CXXFLAGS"
20616 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20617
20618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20619 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20620 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20621 $as_echo_n "(cached) " >&6
20622 else
20623
20624 if test x$gcc_no_link = xyes; then
20625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20626 /* end confdefs.h. */
20627
20628 #include <stddef.h>
20629 #include <sys/sysctl.h>
20630
20631 int
20632 main ()
20633 {
20634
20635 int count;
20636 size_t size = sizeof(count);
20637 int mib[] = { CTL_HW, HW_NCPU };
20638 sysctl(mib, 2, &count, &size, NULL, 0);
20639
20640 ;
20641 return 0;
20642 }
20643 _ACEOF
20644 if ac_fn_cxx_try_compile "$LINENO"; then :
20645 glibcxx_cv_SYSCTL_HW_NCPU=yes
20646 else
20647 glibcxx_cv_SYSCTL_HW_NCPU=no
20648 fi
20649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20650 else
20651 if test x$gcc_no_link = xyes; then
20652 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20653 fi
20654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20655 /* end confdefs.h. */
20656
20657 #include <stddef.h>
20658 #include <sys/sysctl.h>
20659
20660 int
20661 main ()
20662 {
20663
20664 int count;
20665 size_t size = sizeof(count);
20666 int mib[] = { CTL_HW, HW_NCPU };
20667 sysctl(mib, 2, &count, &size, NULL, 0);
20668
20669 ;
20670 return 0;
20671 }
20672 _ACEOF
20673 if ac_fn_cxx_try_link "$LINENO"; then :
20674 glibcxx_cv_SYSCTL_HW_NCPU=yes
20675 else
20676 glibcxx_cv_SYSCTL_HW_NCPU=no
20677 fi
20678 rm -f core conftest.err conftest.$ac_objext \
20679 conftest$ac_exeext conftest.$ac_ext
20680 fi
20681
20682 fi
20683
20684 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20685
20686 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20687
20688 fi
20689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20690 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20691
20692 CXXFLAGS="$ac_save_CXXFLAGS"
20693 ac_ext=c
20694 ac_cpp='$CPP $CPPFLAGS'
20695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20698
20699
20700
20701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
20702 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
20703 # Note that this test has to be run with the C language.
20704 # Otherwise, sdt.h will try to include some headers from
20705 # libstdc++ itself.
20706
20707 ac_ext=c
20708 ac_cpp='$CPP $CPPFLAGS'
20709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20712
20713 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20714 $as_echo_n "(cached) " >&6
20715 else
20716
20717 # Because we have to run the test in C, we use grep rather
20718 # than the compiler to check for the bug. The bug is that
20719 # were strings without trailing whitespace, causing g++
20720 # to look for operator"". The pattern searches for the fixed
20721 # output.
20722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20723 /* end confdefs.h. */
20724
20725 #include <sys/sdt.h>
20726 int f() { STAP_PROBE(hi, bob); }
20727
20728 _ACEOF
20729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20730 $EGREP " \",\" " >/dev/null 2>&1; then :
20731 glibcxx_cv_sys_sdt_h=yes
20732 else
20733 glibcxx_cv_sys_sdt_h=no
20734 fi
20735 rm -f conftest*
20736
20737
20738 fi
20739
20740 ac_ext=c
20741 ac_cpp='$CPP $CPPFLAGS'
20742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20745
20746 if test $glibcxx_cv_sys_sdt_h = yes; then
20747
20748 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20749
20750 fi
20751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20752 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20753
20754
20755 # Check for available headers.
20756 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20757 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20758 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20759 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20760 wchar.h wctype.h
20761 do :
20762 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20763 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20764 eval as_val=\$$as_ac_Header
20765 if test "x$as_val" = x""yes; then :
20766 cat >>confdefs.h <<_ACEOF
20767 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20768 _ACEOF
20769
20770 fi
20771
20772 done
20773
20774
20775 # Only do link tests if native. Else, hardcode.
20776 if $GLIBCXX_IS_NATIVE; then
20777
20778 # We can do more elaborate tests that assume a working linker.
20779 CANADIAN=no
20780
20781
20782
20783 # Check whether --with-gnu-ld was given.
20784 if test "${with_gnu_ld+set}" = set; then :
20785 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20786 else
20787 with_gnu_ld=no
20788 fi
20789
20790 ac_prog=ld
20791 if test "$GCC" = yes; then
20792 # Check if gcc -print-prog-name=ld gives a path.
20793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20794 $as_echo_n "checking for ld used by $CC... " >&6; }
20795 case $host in
20796 *-*-mingw*)
20797 # gcc leaves a trailing carriage return which upsets mingw
20798 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20799 *)
20800 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20801 esac
20802 case $ac_prog in
20803 # Accept absolute paths.
20804 [\\/]* | ?:[\\/]*)
20805 re_direlt='/[^/][^/]*/\.\./'
20806 # Canonicalize the pathname of ld
20807 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20808 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20809 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20810 done
20811 test -z "$LD" && LD="$ac_prog"
20812 ;;
20813 "")
20814 # If it fails, then pretend we aren't using GCC.
20815 ac_prog=ld
20816 ;;
20817 *)
20818 # If it is relative, then search for the first ld in PATH.
20819 with_gnu_ld=unknown
20820 ;;
20821 esac
20822 elif test "$with_gnu_ld" = yes; then
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20824 $as_echo_n "checking for GNU ld... " >&6; }
20825 else
20826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20827 $as_echo_n "checking for non-GNU ld... " >&6; }
20828 fi
20829 if test "${lt_cv_path_LD+set}" = set; then :
20830 $as_echo_n "(cached) " >&6
20831 else
20832 if test -z "$LD"; then
20833 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20834 for ac_dir in $PATH; do
20835 IFS="$lt_save_ifs"
20836 test -z "$ac_dir" && ac_dir=.
20837 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20838 lt_cv_path_LD="$ac_dir/$ac_prog"
20839 # Check to see if the program is GNU ld. I'd rather use --version,
20840 # but apparently some variants of GNU ld only accept -v.
20841 # Break only if it was the GNU/non-GNU ld that we prefer.
20842 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20843 *GNU* | *'with BFD'*)
20844 test "$with_gnu_ld" != no && break
20845 ;;
20846 *)
20847 test "$with_gnu_ld" != yes && break
20848 ;;
20849 esac
20850 fi
20851 done
20852 IFS="$lt_save_ifs"
20853 else
20854 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20855 fi
20856 fi
20857
20858 LD="$lt_cv_path_LD"
20859 if test -n "$LD"; then
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20861 $as_echo "$LD" >&6; }
20862 else
20863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20864 $as_echo "no" >&6; }
20865 fi
20866 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20868 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20869 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20870 $as_echo_n "(cached) " >&6
20871 else
20872 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20873 case `$LD -v 2>&1 </dev/null` in
20874 *GNU* | *'with BFD'*)
20875 lt_cv_prog_gnu_ld=yes
20876 ;;
20877 *)
20878 lt_cv_prog_gnu_ld=no
20879 ;;
20880 esac
20881 fi
20882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20883 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20884 with_gnu_ld=$lt_cv_prog_gnu_ld
20885
20886
20887
20888
20889
20890
20891
20892 # If we're not using GNU ld, then there's no point in even trying these
20893 # tests. Check for that first. We should have already tested for gld
20894 # by now (in libtool), but require it now just to be safe...
20895 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20896 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20897
20898
20899
20900 # The name set by libtool depends on the version of libtool. Shame on us
20901 # for depending on an impl detail, but c'est la vie. Older versions used
20902 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20903 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20904 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20905 # set (hence we're using an older libtool), then set it.
20906 if test x${with_gnu_ld+set} != xset; then
20907 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20908 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20909 with_gnu_ld=no
20910 else
20911 with_gnu_ld=$ac_cv_prog_gnu_ld
20912 fi
20913 fi
20914
20915 # Start by getting the version number. I think the libtool test already
20916 # does some of this, but throws away the result.
20917 glibcxx_ld_is_gold=no
20918 if test x"$with_gnu_ld" = x"yes"; then
20919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20920 $as_echo_n "checking for ld version... " >&6; }
20921
20922 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20923 glibcxx_ld_is_gold=yes
20924 fi
20925 ldver=`$LD --version 2>/dev/null |
20926 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'`
20927
20928 glibcxx_gnu_ld_version=`echo $ldver | \
20929 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20931 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20932 fi
20933
20934 # Set --gc-sections.
20935 glibcxx_have_gc_sections=no
20936 if test "$glibcxx_ld_is_gold" = "yes"; then
20937 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20938 glibcxx_have_gc_sections=yes
20939 fi
20940 else
20941 glibcxx_gcsections_min_ld=21602
20942 if test x"$with_gnu_ld" = x"yes" &&
20943 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20944 glibcxx_have_gc_sections=yes
20945 fi
20946 fi
20947 if test "$glibcxx_have_gc_sections" = "yes"; then
20948 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20949 # NB: This flag only works reliably after 2.16.1. Configure tests
20950 # for this are difficult, so hard wire a value that should work.
20951
20952 ac_test_CFLAGS="${CFLAGS+set}"
20953 ac_save_CFLAGS="$CFLAGS"
20954 CFLAGS='-Wl,--gc-sections'
20955
20956 # Check for -Wl,--gc-sections
20957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20958 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20959 if test x$gcc_no_link = xyes; then
20960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20961 fi
20962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20963 /* end confdefs.h. */
20964 int one(void) { return 1; }
20965 int two(void) { return 2; }
20966
20967 int
20968 main ()
20969 {
20970 two();
20971 ;
20972 return 0;
20973 }
20974 _ACEOF
20975 if ac_fn_c_try_link "$LINENO"; then :
20976 ac_gcsections=yes
20977 else
20978 ac_gcsections=no
20979 fi
20980 rm -f core conftest.err conftest.$ac_objext \
20981 conftest$ac_exeext conftest.$ac_ext
20982 if test "$ac_gcsections" = "yes"; then
20983 rm -f conftest.c
20984 touch conftest.c
20985 if $CC -c conftest.c; then
20986 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20987 grep "Warning: gc-sections option ignored" > /dev/null; then
20988 ac_gcsections=no
20989 fi
20990 fi
20991 rm -f conftest.c conftest.o conftest
20992 fi
20993 if test "$ac_gcsections" = "yes"; then
20994 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20995 fi
20996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20997 $as_echo "$ac_gcsections" >&6; }
20998
20999 if test "$ac_test_CFLAGS" = set; then
21000 CFLAGS="$ac_save_CFLAGS"
21001 else
21002 # this is the suspicious part
21003 CFLAGS=''
21004 fi
21005 fi
21006
21007 # Set -z,relro.
21008 # Note this is only for shared objects.
21009 ac_ld_relro=no
21010 if test x"$with_gnu_ld" = x"yes"; then
21011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21012 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21013 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21014 if test -n "$cxx_z_relo"; then
21015 OPT_LDFLAGS="-Wl,-z,relro"
21016 ac_ld_relro=yes
21017 fi
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21019 $as_echo "$ac_ld_relro" >&6; }
21020 fi
21021
21022 # Set linker optimization flags.
21023 if test x"$with_gnu_ld" = x"yes"; then
21024 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21025 fi
21026
21027
21028
21029
21030
21031 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21032 ac_save_CXXFLAGS="$CXXFLAGS"
21033 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21034
21035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21036 $as_echo_n "checking for sin in -lm... " >&6; }
21037 if test "${ac_cv_lib_m_sin+set}" = set; then :
21038 $as_echo_n "(cached) " >&6
21039 else
21040 ac_check_lib_save_LIBS=$LIBS
21041 LIBS="-lm $LIBS"
21042 if test x$gcc_no_link = xyes; then
21043 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21044 fi
21045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21046 /* end confdefs.h. */
21047
21048 /* Override any GCC internal prototype to avoid an error.
21049 Use char because int might match the return type of a GCC
21050 builtin and then its argument prototype would still apply. */
21051 #ifdef __cplusplus
21052 extern "C"
21053 #endif
21054 char sin ();
21055 int
21056 main ()
21057 {
21058 return sin ();
21059 ;
21060 return 0;
21061 }
21062 _ACEOF
21063 if ac_fn_c_try_link "$LINENO"; then :
21064 ac_cv_lib_m_sin=yes
21065 else
21066 ac_cv_lib_m_sin=no
21067 fi
21068 rm -f core conftest.err conftest.$ac_objext \
21069 conftest$ac_exeext conftest.$ac_ext
21070 LIBS=$ac_check_lib_save_LIBS
21071 fi
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21073 $as_echo "$ac_cv_lib_m_sin" >&6; }
21074 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21075 libm="-lm"
21076 fi
21077
21078 ac_save_LIBS="$LIBS"
21079 LIBS="$LIBS $libm"
21080
21081
21082
21083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21084 $as_echo_n "checking for isinf declaration... " >&6; }
21085 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21086 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21087 $as_echo_n "(cached) " >&6
21088 else
21089
21090
21091 ac_ext=cpp
21092 ac_cpp='$CXXCPP $CPPFLAGS'
21093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21096
21097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21098 /* end confdefs.h. */
21099 #include <math.h>
21100 #ifdef HAVE_IEEEFP_H
21101 #include <ieeefp.h>
21102 #endif
21103
21104 int
21105 main ()
21106 {
21107 isinf(0);
21108 ;
21109 return 0;
21110 }
21111 _ACEOF
21112 if ac_fn_cxx_try_compile "$LINENO"; then :
21113 glibcxx_cv_func_isinf_use=yes
21114 else
21115 glibcxx_cv_func_isinf_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_isinf_use" >&5
21129 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21130
21131 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21132 for ac_func in isinf
21133 do :
21134 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21135 if test "x$ac_cv_func_isinf" = x""yes; then :
21136 cat >>confdefs.h <<_ACEOF
21137 #define HAVE_ISINF 1
21138 _ACEOF
21139
21140 fi
21141 done
21142
21143 else
21144
21145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21146 $as_echo_n "checking for _isinf declaration... " >&6; }
21147 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21148 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21149 $as_echo_n "(cached) " >&6
21150 else
21151
21152
21153 ac_ext=cpp
21154 ac_cpp='$CXXCPP $CPPFLAGS'
21155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21158
21159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21160 /* end confdefs.h. */
21161 #include <math.h>
21162 #ifdef HAVE_IEEEFP_H
21163 #include <ieeefp.h>
21164 #endif
21165
21166 int
21167 main ()
21168 {
21169 _isinf(0);
21170 ;
21171 return 0;
21172 }
21173 _ACEOF
21174 if ac_fn_cxx_try_compile "$LINENO"; then :
21175 glibcxx_cv_func__isinf_use=yes
21176 else
21177 glibcxx_cv_func__isinf_use=no
21178 fi
21179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21180 ac_ext=c
21181 ac_cpp='$CPP $CPPFLAGS'
21182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21185
21186
21187 fi
21188
21189 fi
21190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21191 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21192
21193 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21194 for ac_func in _isinf
21195 do :
21196 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21197 if test "x$ac_cv_func__isinf" = x""yes; then :
21198 cat >>confdefs.h <<_ACEOF
21199 #define HAVE__ISINF 1
21200 _ACEOF
21201
21202 fi
21203 done
21204
21205 fi
21206 fi
21207
21208
21209
21210
21211
21212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21213 $as_echo_n "checking for isnan declaration... " >&6; }
21214 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21215 if test "${glibcxx_cv_func_isnan_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 isnan(0);
21237 ;
21238 return 0;
21239 }
21240 _ACEOF
21241 if ac_fn_cxx_try_compile "$LINENO"; then :
21242 glibcxx_cv_func_isnan_use=yes
21243 else
21244 glibcxx_cv_func_isnan_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_isnan_use" >&5
21258 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21259
21260 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21261 for ac_func in isnan
21262 do :
21263 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21264 if test "x$ac_cv_func_isnan" = x""yes; then :
21265 cat >>confdefs.h <<_ACEOF
21266 #define HAVE_ISNAN 1
21267 _ACEOF
21268
21269 fi
21270 done
21271
21272 else
21273
21274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21275 $as_echo_n "checking for _isnan declaration... " >&6; }
21276 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21277 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21278 $as_echo_n "(cached) " >&6
21279 else
21280
21281
21282 ac_ext=cpp
21283 ac_cpp='$CXXCPP $CPPFLAGS'
21284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21287
21288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21289 /* end confdefs.h. */
21290 #include <math.h>
21291 #ifdef HAVE_IEEEFP_H
21292 #include <ieeefp.h>
21293 #endif
21294
21295 int
21296 main ()
21297 {
21298 _isnan(0);
21299 ;
21300 return 0;
21301 }
21302 _ACEOF
21303 if ac_fn_cxx_try_compile "$LINENO"; then :
21304 glibcxx_cv_func__isnan_use=yes
21305 else
21306 glibcxx_cv_func__isnan_use=no
21307 fi
21308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21309 ac_ext=c
21310 ac_cpp='$CPP $CPPFLAGS'
21311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21314
21315
21316 fi
21317
21318 fi
21319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21320 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21321
21322 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21323 for ac_func in _isnan
21324 do :
21325 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21326 if test "x$ac_cv_func__isnan" = x""yes; then :
21327 cat >>confdefs.h <<_ACEOF
21328 #define HAVE__ISNAN 1
21329 _ACEOF
21330
21331 fi
21332 done
21333
21334 fi
21335 fi
21336
21337
21338
21339
21340
21341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21342 $as_echo_n "checking for finite declaration... " >&6; }
21343 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21344 if test "${glibcxx_cv_func_finite_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 finite(0);
21366 ;
21367 return 0;
21368 }
21369 _ACEOF
21370 if ac_fn_cxx_try_compile "$LINENO"; then :
21371 glibcxx_cv_func_finite_use=yes
21372 else
21373 glibcxx_cv_func_finite_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_finite_use" >&5
21387 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21388
21389 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21390 for ac_func in finite
21391 do :
21392 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21393 if test "x$ac_cv_func_finite" = x""yes; then :
21394 cat >>confdefs.h <<_ACEOF
21395 #define HAVE_FINITE 1
21396 _ACEOF
21397
21398 fi
21399 done
21400
21401 else
21402
21403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21404 $as_echo_n "checking for _finite declaration... " >&6; }
21405 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21406 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21407 $as_echo_n "(cached) " >&6
21408 else
21409
21410
21411 ac_ext=cpp
21412 ac_cpp='$CXXCPP $CPPFLAGS'
21413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21416
21417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21418 /* end confdefs.h. */
21419 #include <math.h>
21420 #ifdef HAVE_IEEEFP_H
21421 #include <ieeefp.h>
21422 #endif
21423
21424 int
21425 main ()
21426 {
21427 _finite(0);
21428 ;
21429 return 0;
21430 }
21431 _ACEOF
21432 if ac_fn_cxx_try_compile "$LINENO"; then :
21433 glibcxx_cv_func__finite_use=yes
21434 else
21435 glibcxx_cv_func__finite_use=no
21436 fi
21437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21438 ac_ext=c
21439 ac_cpp='$CPP $CPPFLAGS'
21440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21443
21444
21445 fi
21446
21447 fi
21448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21449 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21450
21451 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21452 for ac_func in _finite
21453 do :
21454 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21455 if test "x$ac_cv_func__finite" = x""yes; then :
21456 cat >>confdefs.h <<_ACEOF
21457 #define HAVE__FINITE 1
21458 _ACEOF
21459
21460 fi
21461 done
21462
21463 fi
21464 fi
21465
21466
21467
21468
21469
21470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21471 $as_echo_n "checking for sincos declaration... " >&6; }
21472 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21473 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21474 $as_echo_n "(cached) " >&6
21475 else
21476
21477
21478 ac_ext=cpp
21479 ac_cpp='$CXXCPP $CPPFLAGS'
21480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21483
21484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21485 /* end confdefs.h. */
21486 #include <math.h>
21487 int
21488 main ()
21489 {
21490 sincos(0, 0, 0);
21491 ;
21492 return 0;
21493 }
21494 _ACEOF
21495 if ac_fn_cxx_try_compile "$LINENO"; then :
21496 glibcxx_cv_func_sincos_use=yes
21497 else
21498 glibcxx_cv_func_sincos_use=no
21499 fi
21500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21501 ac_ext=c
21502 ac_cpp='$CPP $CPPFLAGS'
21503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21506
21507
21508 fi
21509
21510 fi
21511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21512 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21513
21514 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21515 for ac_func in sincos
21516 do :
21517 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21518 if test "x$ac_cv_func_sincos" = x""yes; then :
21519 cat >>confdefs.h <<_ACEOF
21520 #define HAVE_SINCOS 1
21521 _ACEOF
21522
21523 fi
21524 done
21525
21526 else
21527
21528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21529 $as_echo_n "checking for _sincos declaration... " >&6; }
21530 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21531 if test "${glibcxx_cv_func__sincos_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 _sincos(0, 0, 0);
21549 ;
21550 return 0;
21551 }
21552 _ACEOF
21553 if ac_fn_cxx_try_compile "$LINENO"; then :
21554 glibcxx_cv_func__sincos_use=yes
21555 else
21556 glibcxx_cv_func__sincos_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
21566 fi
21567
21568 fi
21569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21570 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21571
21572 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21573 for ac_func in _sincos
21574 do :
21575 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21576 if test "x$ac_cv_func__sincos" = x""yes; then :
21577 cat >>confdefs.h <<_ACEOF
21578 #define HAVE__SINCOS 1
21579 _ACEOF
21580
21581 fi
21582 done
21583
21584 fi
21585 fi
21586
21587
21588
21589
21590
21591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21592 $as_echo_n "checking for fpclass declaration... " >&6; }
21593 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21594 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21595 $as_echo_n "(cached) " >&6
21596 else
21597
21598
21599 ac_ext=cpp
21600 ac_cpp='$CXXCPP $CPPFLAGS'
21601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21604
21605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21606 /* end confdefs.h. */
21607 #include <math.h>
21608 #ifdef HAVE_IEEEFP_H
21609 #include <ieeefp.h>
21610 #endif
21611
21612 int
21613 main ()
21614 {
21615 fpclass(0);
21616 ;
21617 return 0;
21618 }
21619 _ACEOF
21620 if ac_fn_cxx_try_compile "$LINENO"; then :
21621 glibcxx_cv_func_fpclass_use=yes
21622 else
21623 glibcxx_cv_func_fpclass_use=no
21624 fi
21625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21626 ac_ext=c
21627 ac_cpp='$CPP $CPPFLAGS'
21628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21631
21632
21633 fi
21634
21635 fi
21636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21637 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21638
21639 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21640 for ac_func in fpclass
21641 do :
21642 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21643 if test "x$ac_cv_func_fpclass" = x""yes; then :
21644 cat >>confdefs.h <<_ACEOF
21645 #define HAVE_FPCLASS 1
21646 _ACEOF
21647
21648 fi
21649 done
21650
21651 else
21652
21653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21654 $as_echo_n "checking for _fpclass declaration... " >&6; }
21655 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21656 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21657 $as_echo_n "(cached) " >&6
21658 else
21659
21660
21661 ac_ext=cpp
21662 ac_cpp='$CXXCPP $CPPFLAGS'
21663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21666
21667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21668 /* end confdefs.h. */
21669 #include <math.h>
21670 #ifdef HAVE_IEEEFP_H
21671 #include <ieeefp.h>
21672 #endif
21673
21674 int
21675 main ()
21676 {
21677 _fpclass(0);
21678 ;
21679 return 0;
21680 }
21681 _ACEOF
21682 if ac_fn_cxx_try_compile "$LINENO"; then :
21683 glibcxx_cv_func__fpclass_use=yes
21684 else
21685 glibcxx_cv_func__fpclass_use=no
21686 fi
21687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21688 ac_ext=c
21689 ac_cpp='$CPP $CPPFLAGS'
21690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21693
21694
21695 fi
21696
21697 fi
21698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21699 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21700
21701 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21702 for ac_func in _fpclass
21703 do :
21704 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21705 if test "x$ac_cv_func__fpclass" = x""yes; then :
21706 cat >>confdefs.h <<_ACEOF
21707 #define HAVE__FPCLASS 1
21708 _ACEOF
21709
21710 fi
21711 done
21712
21713 fi
21714 fi
21715
21716
21717
21718
21719
21720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21721 $as_echo_n "checking for qfpclass declaration... " >&6; }
21722 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21723 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21724 $as_echo_n "(cached) " >&6
21725 else
21726
21727
21728 ac_ext=cpp
21729 ac_cpp='$CXXCPP $CPPFLAGS'
21730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21733
21734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21735 /* end confdefs.h. */
21736 #include <math.h>
21737 #ifdef HAVE_IEEEFP_H
21738 #include <ieeefp.h>
21739 #endif
21740
21741 int
21742 main ()
21743 {
21744 qfpclass(0);
21745 ;
21746 return 0;
21747 }
21748 _ACEOF
21749 if ac_fn_cxx_try_compile "$LINENO"; then :
21750 glibcxx_cv_func_qfpclass_use=yes
21751 else
21752 glibcxx_cv_func_qfpclass_use=no
21753 fi
21754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21755 ac_ext=c
21756 ac_cpp='$CPP $CPPFLAGS'
21757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21760
21761
21762 fi
21763
21764 fi
21765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21766 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21767
21768 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21769 for ac_func in qfpclass
21770 do :
21771 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21772 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21773 cat >>confdefs.h <<_ACEOF
21774 #define HAVE_QFPCLASS 1
21775 _ACEOF
21776
21777 fi
21778 done
21779
21780 else
21781
21782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21783 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21784 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21785 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21786 $as_echo_n "(cached) " >&6
21787 else
21788
21789
21790 ac_ext=cpp
21791 ac_cpp='$CXXCPP $CPPFLAGS'
21792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21795
21796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21797 /* end confdefs.h. */
21798 #include <math.h>
21799 #ifdef HAVE_IEEEFP_H
21800 #include <ieeefp.h>
21801 #endif
21802
21803 int
21804 main ()
21805 {
21806 _qfpclass(0);
21807 ;
21808 return 0;
21809 }
21810 _ACEOF
21811 if ac_fn_cxx_try_compile "$LINENO"; then :
21812 glibcxx_cv_func__qfpclass_use=yes
21813 else
21814 glibcxx_cv_func__qfpclass_use=no
21815 fi
21816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21817 ac_ext=c
21818 ac_cpp='$CPP $CPPFLAGS'
21819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21822
21823
21824 fi
21825
21826 fi
21827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21828 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21829
21830 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21831 for ac_func in _qfpclass
21832 do :
21833 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21834 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21835 cat >>confdefs.h <<_ACEOF
21836 #define HAVE__QFPCLASS 1
21837 _ACEOF
21838
21839 fi
21840 done
21841
21842 fi
21843 fi
21844
21845
21846
21847
21848
21849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21850 $as_echo_n "checking for hypot declaration... " >&6; }
21851 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21852 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21853 $as_echo_n "(cached) " >&6
21854 else
21855
21856
21857 ac_ext=cpp
21858 ac_cpp='$CXXCPP $CPPFLAGS'
21859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21862
21863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21864 /* end confdefs.h. */
21865 #include <math.h>
21866 int
21867 main ()
21868 {
21869 hypot(0, 0);
21870 ;
21871 return 0;
21872 }
21873 _ACEOF
21874 if ac_fn_cxx_try_compile "$LINENO"; then :
21875 glibcxx_cv_func_hypot_use=yes
21876 else
21877 glibcxx_cv_func_hypot_use=no
21878 fi
21879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21880 ac_ext=c
21881 ac_cpp='$CPP $CPPFLAGS'
21882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21885
21886
21887 fi
21888
21889 fi
21890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21891 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21892
21893 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21894 for ac_func in hypot
21895 do :
21896 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21897 if test "x$ac_cv_func_hypot" = x""yes; then :
21898 cat >>confdefs.h <<_ACEOF
21899 #define HAVE_HYPOT 1
21900 _ACEOF
21901
21902 fi
21903 done
21904
21905 else
21906
21907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21908 $as_echo_n "checking for _hypot declaration... " >&6; }
21909 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21910 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21911 $as_echo_n "(cached) " >&6
21912 else
21913
21914
21915 ac_ext=cpp
21916 ac_cpp='$CXXCPP $CPPFLAGS'
21917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21920
21921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21922 /* end confdefs.h. */
21923 #include <math.h>
21924 int
21925 main ()
21926 {
21927 _hypot(0, 0);
21928 ;
21929 return 0;
21930 }
21931 _ACEOF
21932 if ac_fn_cxx_try_compile "$LINENO"; then :
21933 glibcxx_cv_func__hypot_use=yes
21934 else
21935 glibcxx_cv_func__hypot_use=no
21936 fi
21937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21938 ac_ext=c
21939 ac_cpp='$CPP $CPPFLAGS'
21940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21943
21944
21945 fi
21946
21947 fi
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21949 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21950
21951 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21952 for ac_func in _hypot
21953 do :
21954 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21955 if test "x$ac_cv_func__hypot" = x""yes; then :
21956 cat >>confdefs.h <<_ACEOF
21957 #define HAVE__HYPOT 1
21958 _ACEOF
21959
21960 fi
21961 done
21962
21963 fi
21964 fi
21965
21966
21967
21968
21969
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21971 $as_echo_n "checking for float trig functions... " >&6; }
21972 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21973 $as_echo_n "(cached) " >&6
21974 else
21975
21976
21977 ac_ext=cpp
21978 ac_cpp='$CXXCPP $CPPFLAGS'
21979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21982
21983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21984 /* end confdefs.h. */
21985 #include <math.h>
21986 int
21987 main ()
21988 {
21989 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21990 ;
21991 return 0;
21992 }
21993 _ACEOF
21994 if ac_fn_cxx_try_compile "$LINENO"; then :
21995 glibcxx_cv_func_float_trig_use=yes
21996 else
21997 glibcxx_cv_func_float_trig_use=no
21998 fi
21999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22000 ac_ext=c
22001 ac_cpp='$CPP $CPPFLAGS'
22002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22005
22006 fi
22007
22008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22009 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22010 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22011 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22012 do :
22013 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22014 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22015 eval as_val=\$$as_ac_var
22016 if test "x$as_val" = x""yes; then :
22017 cat >>confdefs.h <<_ACEOF
22018 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22019 _ACEOF
22020
22021 fi
22022 done
22023
22024 else
22025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22026 $as_echo_n "checking for _float trig functions... " >&6; }
22027 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22028 $as_echo_n "(cached) " >&6
22029 else
22030
22031
22032 ac_ext=cpp
22033 ac_cpp='$CXXCPP $CPPFLAGS'
22034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22037
22038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22039 /* end confdefs.h. */
22040 #include <math.h>
22041 int
22042 main ()
22043 {
22044 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22045 ;
22046 return 0;
22047 }
22048 _ACEOF
22049 if ac_fn_cxx_try_compile "$LINENO"; then :
22050 glibcxx_cv_func__float_trig_use=yes
22051 else
22052 glibcxx_cv_func__float_trig_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 fi
22062
22063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22064 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22065 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22066 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22067 do :
22068 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22069 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22070 eval as_val=\$$as_ac_var
22071 if test "x$as_val" = x""yes; then :
22072 cat >>confdefs.h <<_ACEOF
22073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22074 _ACEOF
22075
22076 fi
22077 done
22078
22079 fi
22080 fi
22081
22082
22083
22084
22085
22086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22087 $as_echo_n "checking for float round functions... " >&6; }
22088 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22089 $as_echo_n "(cached) " >&6
22090 else
22091
22092
22093 ac_ext=cpp
22094 ac_cpp='$CXXCPP $CPPFLAGS'
22095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22098
22099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22100 /* end confdefs.h. */
22101 #include <math.h>
22102 int
22103 main ()
22104 {
22105 ceilf (0); floorf (0);
22106 ;
22107 return 0;
22108 }
22109 _ACEOF
22110 if ac_fn_cxx_try_compile "$LINENO"; then :
22111 glibcxx_cv_func_float_round_use=yes
22112 else
22113 glibcxx_cv_func_float_round_use=no
22114 fi
22115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22116 ac_ext=c
22117 ac_cpp='$CPP $CPPFLAGS'
22118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22121
22122 fi
22123
22124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22125 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22126 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22127 for ac_func in ceilf floorf
22128 do :
22129 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22130 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22131 eval as_val=\$$as_ac_var
22132 if test "x$as_val" = x""yes; then :
22133 cat >>confdefs.h <<_ACEOF
22134 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22135 _ACEOF
22136
22137 fi
22138 done
22139
22140 else
22141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22142 $as_echo_n "checking for _float round functions... " >&6; }
22143 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22144 $as_echo_n "(cached) " >&6
22145 else
22146
22147
22148 ac_ext=cpp
22149 ac_cpp='$CXXCPP $CPPFLAGS'
22150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22153
22154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22155 /* end confdefs.h. */
22156 #include <math.h>
22157 int
22158 main ()
22159 {
22160 _ceilf (0); _floorf (0);
22161 ;
22162 return 0;
22163 }
22164 _ACEOF
22165 if ac_fn_cxx_try_compile "$LINENO"; then :
22166 glibcxx_cv_func__float_round_use=yes
22167 else
22168 glibcxx_cv_func__float_round_use=no
22169 fi
22170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22171 ac_ext=c
22172 ac_cpp='$CPP $CPPFLAGS'
22173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22176
22177 fi
22178
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22180 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22181 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22182 for ac_func in _ceilf _floorf
22183 do :
22184 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22185 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22186 eval as_val=\$$as_ac_var
22187 if test "x$as_val" = x""yes; then :
22188 cat >>confdefs.h <<_ACEOF
22189 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22190 _ACEOF
22191
22192 fi
22193 done
22194
22195 fi
22196 fi
22197
22198
22199
22200
22201
22202
22203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22204 $as_echo_n "checking for expf declaration... " >&6; }
22205 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22206 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22207 $as_echo_n "(cached) " >&6
22208 else
22209
22210
22211 ac_ext=cpp
22212 ac_cpp='$CXXCPP $CPPFLAGS'
22213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22216
22217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22218 /* end confdefs.h. */
22219 #include <math.h>
22220 #ifdef HAVE_IEEEFP_H
22221 #include <ieeefp.h>
22222 #endif
22223
22224 int
22225 main ()
22226 {
22227 expf(0);
22228 ;
22229 return 0;
22230 }
22231 _ACEOF
22232 if ac_fn_cxx_try_compile "$LINENO"; then :
22233 glibcxx_cv_func_expf_use=yes
22234 else
22235 glibcxx_cv_func_expf_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_expf_use" >&5
22249 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22250
22251 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22252 for ac_func in expf
22253 do :
22254 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22255 if test "x$ac_cv_func_expf" = x""yes; then :
22256 cat >>confdefs.h <<_ACEOF
22257 #define HAVE_EXPF 1
22258 _ACEOF
22259
22260 fi
22261 done
22262
22263 else
22264
22265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22266 $as_echo_n "checking for _expf declaration... " >&6; }
22267 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22268 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22269 $as_echo_n "(cached) " >&6
22270 else
22271
22272
22273 ac_ext=cpp
22274 ac_cpp='$CXXCPP $CPPFLAGS'
22275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22278
22279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22280 /* end confdefs.h. */
22281 #include <math.h>
22282 #ifdef HAVE_IEEEFP_H
22283 #include <ieeefp.h>
22284 #endif
22285
22286 int
22287 main ()
22288 {
22289 _expf(0);
22290 ;
22291 return 0;
22292 }
22293 _ACEOF
22294 if ac_fn_cxx_try_compile "$LINENO"; then :
22295 glibcxx_cv_func__expf_use=yes
22296 else
22297 glibcxx_cv_func__expf_use=no
22298 fi
22299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22300 ac_ext=c
22301 ac_cpp='$CPP $CPPFLAGS'
22302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22305
22306
22307 fi
22308
22309 fi
22310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22311 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22312
22313 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22314 for ac_func in _expf
22315 do :
22316 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22317 if test "x$ac_cv_func__expf" = x""yes; then :
22318 cat >>confdefs.h <<_ACEOF
22319 #define HAVE__EXPF 1
22320 _ACEOF
22321
22322 fi
22323 done
22324
22325 fi
22326 fi
22327
22328
22329
22330
22331
22332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22333 $as_echo_n "checking for isnanf declaration... " >&6; }
22334 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22335 if test "${glibcxx_cv_func_isnanf_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 isnanf(0);
22357 ;
22358 return 0;
22359 }
22360 _ACEOF
22361 if ac_fn_cxx_try_compile "$LINENO"; then :
22362 glibcxx_cv_func_isnanf_use=yes
22363 else
22364 glibcxx_cv_func_isnanf_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_isnanf_use" >&5
22378 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22379
22380 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22381 for ac_func in isnanf
22382 do :
22383 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22384 if test "x$ac_cv_func_isnanf" = x""yes; then :
22385 cat >>confdefs.h <<_ACEOF
22386 #define HAVE_ISNANF 1
22387 _ACEOF
22388
22389 fi
22390 done
22391
22392 else
22393
22394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22395 $as_echo_n "checking for _isnanf declaration... " >&6; }
22396 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22397 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22398 $as_echo_n "(cached) " >&6
22399 else
22400
22401
22402 ac_ext=cpp
22403 ac_cpp='$CXXCPP $CPPFLAGS'
22404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22407
22408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22409 /* end confdefs.h. */
22410 #include <math.h>
22411 #ifdef HAVE_IEEEFP_H
22412 #include <ieeefp.h>
22413 #endif
22414
22415 int
22416 main ()
22417 {
22418 _isnanf(0);
22419 ;
22420 return 0;
22421 }
22422 _ACEOF
22423 if ac_fn_cxx_try_compile "$LINENO"; then :
22424 glibcxx_cv_func__isnanf_use=yes
22425 else
22426 glibcxx_cv_func__isnanf_use=no
22427 fi
22428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22429 ac_ext=c
22430 ac_cpp='$CPP $CPPFLAGS'
22431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22434
22435
22436 fi
22437
22438 fi
22439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22440 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22441
22442 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22443 for ac_func in _isnanf
22444 do :
22445 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22446 if test "x$ac_cv_func__isnanf" = x""yes; then :
22447 cat >>confdefs.h <<_ACEOF
22448 #define HAVE__ISNANF 1
22449 _ACEOF
22450
22451 fi
22452 done
22453
22454 fi
22455 fi
22456
22457
22458
22459
22460
22461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22462 $as_echo_n "checking for isinff declaration... " >&6; }
22463 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22464 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22465 $as_echo_n "(cached) " >&6
22466 else
22467
22468
22469 ac_ext=cpp
22470 ac_cpp='$CXXCPP $CPPFLAGS'
22471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22474
22475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22476 /* end confdefs.h. */
22477 #include <math.h>
22478 #ifdef HAVE_IEEEFP_H
22479 #include <ieeefp.h>
22480 #endif
22481
22482 int
22483 main ()
22484 {
22485 isinff(0);
22486 ;
22487 return 0;
22488 }
22489 _ACEOF
22490 if ac_fn_cxx_try_compile "$LINENO"; then :
22491 glibcxx_cv_func_isinff_use=yes
22492 else
22493 glibcxx_cv_func_isinff_use=no
22494 fi
22495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22496 ac_ext=c
22497 ac_cpp='$CPP $CPPFLAGS'
22498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22501
22502
22503 fi
22504
22505 fi
22506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22507 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22508
22509 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22510 for ac_func in isinff
22511 do :
22512 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22513 if test "x$ac_cv_func_isinff" = x""yes; then :
22514 cat >>confdefs.h <<_ACEOF
22515 #define HAVE_ISINFF 1
22516 _ACEOF
22517
22518 fi
22519 done
22520
22521 else
22522
22523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22524 $as_echo_n "checking for _isinff declaration... " >&6; }
22525 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22526 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22527 $as_echo_n "(cached) " >&6
22528 else
22529
22530
22531 ac_ext=cpp
22532 ac_cpp='$CXXCPP $CPPFLAGS'
22533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22536
22537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22538 /* end confdefs.h. */
22539 #include <math.h>
22540 #ifdef HAVE_IEEEFP_H
22541 #include <ieeefp.h>
22542 #endif
22543
22544 int
22545 main ()
22546 {
22547 _isinff(0);
22548 ;
22549 return 0;
22550 }
22551 _ACEOF
22552 if ac_fn_cxx_try_compile "$LINENO"; then :
22553 glibcxx_cv_func__isinff_use=yes
22554 else
22555 glibcxx_cv_func__isinff_use=no
22556 fi
22557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22558 ac_ext=c
22559 ac_cpp='$CPP $CPPFLAGS'
22560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22563
22564
22565 fi
22566
22567 fi
22568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22569 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22570
22571 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22572 for ac_func in _isinff
22573 do :
22574 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22575 if test "x$ac_cv_func__isinff" = x""yes; then :
22576 cat >>confdefs.h <<_ACEOF
22577 #define HAVE__ISINFF 1
22578 _ACEOF
22579
22580 fi
22581 done
22582
22583 fi
22584 fi
22585
22586
22587
22588
22589
22590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22591 $as_echo_n "checking for atan2f declaration... " >&6; }
22592 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22593 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22594 $as_echo_n "(cached) " >&6
22595 else
22596
22597
22598 ac_ext=cpp
22599 ac_cpp='$CXXCPP $CPPFLAGS'
22600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22603
22604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22605 /* end confdefs.h. */
22606 #include <math.h>
22607 int
22608 main ()
22609 {
22610 atan2f(0, 0);
22611 ;
22612 return 0;
22613 }
22614 _ACEOF
22615 if ac_fn_cxx_try_compile "$LINENO"; then :
22616 glibcxx_cv_func_atan2f_use=yes
22617 else
22618 glibcxx_cv_func_atan2f_use=no
22619 fi
22620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22621 ac_ext=c
22622 ac_cpp='$CPP $CPPFLAGS'
22623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22626
22627
22628 fi
22629
22630 fi
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22632 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22633
22634 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22635 for ac_func in atan2f
22636 do :
22637 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22638 if test "x$ac_cv_func_atan2f" = x""yes; then :
22639 cat >>confdefs.h <<_ACEOF
22640 #define HAVE_ATAN2F 1
22641 _ACEOF
22642
22643 fi
22644 done
22645
22646 else
22647
22648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22649 $as_echo_n "checking for _atan2f declaration... " >&6; }
22650 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22651 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22652 $as_echo_n "(cached) " >&6
22653 else
22654
22655
22656 ac_ext=cpp
22657 ac_cpp='$CXXCPP $CPPFLAGS'
22658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22661
22662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22663 /* end confdefs.h. */
22664 #include <math.h>
22665 int
22666 main ()
22667 {
22668 _atan2f(0, 0);
22669 ;
22670 return 0;
22671 }
22672 _ACEOF
22673 if ac_fn_cxx_try_compile "$LINENO"; then :
22674 glibcxx_cv_func__atan2f_use=yes
22675 else
22676 glibcxx_cv_func__atan2f_use=no
22677 fi
22678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22679 ac_ext=c
22680 ac_cpp='$CPP $CPPFLAGS'
22681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22684
22685
22686 fi
22687
22688 fi
22689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22690 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22691
22692 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22693 for ac_func in _atan2f
22694 do :
22695 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22696 if test "x$ac_cv_func__atan2f" = x""yes; then :
22697 cat >>confdefs.h <<_ACEOF
22698 #define HAVE__ATAN2F 1
22699 _ACEOF
22700
22701 fi
22702 done
22703
22704 fi
22705 fi
22706
22707
22708
22709
22710
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22712 $as_echo_n "checking for fabsf declaration... " >&6; }
22713 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22714 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22715 $as_echo_n "(cached) " >&6
22716 else
22717
22718
22719 ac_ext=cpp
22720 ac_cpp='$CXXCPP $CPPFLAGS'
22721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22724
22725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22726 /* end confdefs.h. */
22727 #include <math.h>
22728 #ifdef HAVE_IEEEFP_H
22729 #include <ieeefp.h>
22730 #endif
22731
22732 int
22733 main ()
22734 {
22735 fabsf(0);
22736 ;
22737 return 0;
22738 }
22739 _ACEOF
22740 if ac_fn_cxx_try_compile "$LINENO"; then :
22741 glibcxx_cv_func_fabsf_use=yes
22742 else
22743 glibcxx_cv_func_fabsf_use=no
22744 fi
22745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22746 ac_ext=c
22747 ac_cpp='$CPP $CPPFLAGS'
22748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22751
22752
22753 fi
22754
22755 fi
22756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22757 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22758
22759 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22760 for ac_func in fabsf
22761 do :
22762 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22763 if test "x$ac_cv_func_fabsf" = x""yes; then :
22764 cat >>confdefs.h <<_ACEOF
22765 #define HAVE_FABSF 1
22766 _ACEOF
22767
22768 fi
22769 done
22770
22771 else
22772
22773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22774 $as_echo_n "checking for _fabsf declaration... " >&6; }
22775 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22776 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22777 $as_echo_n "(cached) " >&6
22778 else
22779
22780
22781 ac_ext=cpp
22782 ac_cpp='$CXXCPP $CPPFLAGS'
22783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22786
22787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22788 /* end confdefs.h. */
22789 #include <math.h>
22790 #ifdef HAVE_IEEEFP_H
22791 #include <ieeefp.h>
22792 #endif
22793
22794 int
22795 main ()
22796 {
22797 _fabsf(0);
22798 ;
22799 return 0;
22800 }
22801 _ACEOF
22802 if ac_fn_cxx_try_compile "$LINENO"; then :
22803 glibcxx_cv_func__fabsf_use=yes
22804 else
22805 glibcxx_cv_func__fabsf_use=no
22806 fi
22807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22808 ac_ext=c
22809 ac_cpp='$CPP $CPPFLAGS'
22810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22813
22814
22815 fi
22816
22817 fi
22818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22819 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22820
22821 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22822 for ac_func in _fabsf
22823 do :
22824 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22825 if test "x$ac_cv_func__fabsf" = x""yes; then :
22826 cat >>confdefs.h <<_ACEOF
22827 #define HAVE__FABSF 1
22828 _ACEOF
22829
22830 fi
22831 done
22832
22833 fi
22834 fi
22835
22836
22837
22838
22839
22840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22841 $as_echo_n "checking for fmodf declaration... " >&6; }
22842 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22843 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22844 $as_echo_n "(cached) " >&6
22845 else
22846
22847
22848 ac_ext=cpp
22849 ac_cpp='$CXXCPP $CPPFLAGS'
22850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22853
22854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22855 /* end confdefs.h. */
22856 #include <math.h>
22857 int
22858 main ()
22859 {
22860 fmodf(0, 0);
22861 ;
22862 return 0;
22863 }
22864 _ACEOF
22865 if ac_fn_cxx_try_compile "$LINENO"; then :
22866 glibcxx_cv_func_fmodf_use=yes
22867 else
22868 glibcxx_cv_func_fmodf_use=no
22869 fi
22870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22871 ac_ext=c
22872 ac_cpp='$CPP $CPPFLAGS'
22873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22876
22877
22878 fi
22879
22880 fi
22881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22882 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22883
22884 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22885 for ac_func in fmodf
22886 do :
22887 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22888 if test "x$ac_cv_func_fmodf" = x""yes; then :
22889 cat >>confdefs.h <<_ACEOF
22890 #define HAVE_FMODF 1
22891 _ACEOF
22892
22893 fi
22894 done
22895
22896 else
22897
22898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22899 $as_echo_n "checking for _fmodf declaration... " >&6; }
22900 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22901 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22902 $as_echo_n "(cached) " >&6
22903 else
22904
22905
22906 ac_ext=cpp
22907 ac_cpp='$CXXCPP $CPPFLAGS'
22908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22911
22912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22913 /* end confdefs.h. */
22914 #include <math.h>
22915 int
22916 main ()
22917 {
22918 _fmodf(0, 0);
22919 ;
22920 return 0;
22921 }
22922 _ACEOF
22923 if ac_fn_cxx_try_compile "$LINENO"; then :
22924 glibcxx_cv_func__fmodf_use=yes
22925 else
22926 glibcxx_cv_func__fmodf_use=no
22927 fi
22928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22929 ac_ext=c
22930 ac_cpp='$CPP $CPPFLAGS'
22931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22934
22935
22936 fi
22937
22938 fi
22939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22940 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22941
22942 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22943 for ac_func in _fmodf
22944 do :
22945 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22946 if test "x$ac_cv_func__fmodf" = x""yes; then :
22947 cat >>confdefs.h <<_ACEOF
22948 #define HAVE__FMODF 1
22949 _ACEOF
22950
22951 fi
22952 done
22953
22954 fi
22955 fi
22956
22957
22958
22959
22960
22961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22962 $as_echo_n "checking for frexpf declaration... " >&6; }
22963 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22964 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22965 $as_echo_n "(cached) " >&6
22966 else
22967
22968
22969 ac_ext=cpp
22970 ac_cpp='$CXXCPP $CPPFLAGS'
22971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22974
22975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22976 /* end confdefs.h. */
22977 #include <math.h>
22978 int
22979 main ()
22980 {
22981 frexpf(0, 0);
22982 ;
22983 return 0;
22984 }
22985 _ACEOF
22986 if ac_fn_cxx_try_compile "$LINENO"; then :
22987 glibcxx_cv_func_frexpf_use=yes
22988 else
22989 glibcxx_cv_func_frexpf_use=no
22990 fi
22991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22992 ac_ext=c
22993 ac_cpp='$CPP $CPPFLAGS'
22994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22997
22998
22999 fi
23000
23001 fi
23002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23003 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23004
23005 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23006 for ac_func in frexpf
23007 do :
23008 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23009 if test "x$ac_cv_func_frexpf" = x""yes; then :
23010 cat >>confdefs.h <<_ACEOF
23011 #define HAVE_FREXPF 1
23012 _ACEOF
23013
23014 fi
23015 done
23016
23017 else
23018
23019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23020 $as_echo_n "checking for _frexpf declaration... " >&6; }
23021 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23022 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23023 $as_echo_n "(cached) " >&6
23024 else
23025
23026
23027 ac_ext=cpp
23028 ac_cpp='$CXXCPP $CPPFLAGS'
23029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23032
23033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23034 /* end confdefs.h. */
23035 #include <math.h>
23036 int
23037 main ()
23038 {
23039 _frexpf(0, 0);
23040 ;
23041 return 0;
23042 }
23043 _ACEOF
23044 if ac_fn_cxx_try_compile "$LINENO"; then :
23045 glibcxx_cv_func__frexpf_use=yes
23046 else
23047 glibcxx_cv_func__frexpf_use=no
23048 fi
23049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23050 ac_ext=c
23051 ac_cpp='$CPP $CPPFLAGS'
23052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23055
23056
23057 fi
23058
23059 fi
23060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23061 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23062
23063 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23064 for ac_func in _frexpf
23065 do :
23066 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23067 if test "x$ac_cv_func__frexpf" = x""yes; then :
23068 cat >>confdefs.h <<_ACEOF
23069 #define HAVE__FREXPF 1
23070 _ACEOF
23071
23072 fi
23073 done
23074
23075 fi
23076 fi
23077
23078
23079
23080
23081
23082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23083 $as_echo_n "checking for hypotf declaration... " >&6; }
23084 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23085 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23086 $as_echo_n "(cached) " >&6
23087 else
23088
23089
23090 ac_ext=cpp
23091 ac_cpp='$CXXCPP $CPPFLAGS'
23092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23095
23096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23097 /* end confdefs.h. */
23098 #include <math.h>
23099 int
23100 main ()
23101 {
23102 hypotf(0, 0);
23103 ;
23104 return 0;
23105 }
23106 _ACEOF
23107 if ac_fn_cxx_try_compile "$LINENO"; then :
23108 glibcxx_cv_func_hypotf_use=yes
23109 else
23110 glibcxx_cv_func_hypotf_use=no
23111 fi
23112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23113 ac_ext=c
23114 ac_cpp='$CPP $CPPFLAGS'
23115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23118
23119
23120 fi
23121
23122 fi
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23124 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23125
23126 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23127 for ac_func in hypotf
23128 do :
23129 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23130 if test "x$ac_cv_func_hypotf" = x""yes; then :
23131 cat >>confdefs.h <<_ACEOF
23132 #define HAVE_HYPOTF 1
23133 _ACEOF
23134
23135 fi
23136 done
23137
23138 else
23139
23140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23141 $as_echo_n "checking for _hypotf declaration... " >&6; }
23142 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23143 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23144 $as_echo_n "(cached) " >&6
23145 else
23146
23147
23148 ac_ext=cpp
23149 ac_cpp='$CXXCPP $CPPFLAGS'
23150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23153
23154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23155 /* end confdefs.h. */
23156 #include <math.h>
23157 int
23158 main ()
23159 {
23160 _hypotf(0, 0);
23161 ;
23162 return 0;
23163 }
23164 _ACEOF
23165 if ac_fn_cxx_try_compile "$LINENO"; then :
23166 glibcxx_cv_func__hypotf_use=yes
23167 else
23168 glibcxx_cv_func__hypotf_use=no
23169 fi
23170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23171 ac_ext=c
23172 ac_cpp='$CPP $CPPFLAGS'
23173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23176
23177
23178 fi
23179
23180 fi
23181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23182 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23183
23184 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23185 for ac_func in _hypotf
23186 do :
23187 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23188 if test "x$ac_cv_func__hypotf" = x""yes; then :
23189 cat >>confdefs.h <<_ACEOF
23190 #define HAVE__HYPOTF 1
23191 _ACEOF
23192
23193 fi
23194 done
23195
23196 fi
23197 fi
23198
23199
23200
23201
23202
23203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23204 $as_echo_n "checking for ldexpf declaration... " >&6; }
23205 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23206 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23207 $as_echo_n "(cached) " >&6
23208 else
23209
23210
23211 ac_ext=cpp
23212 ac_cpp='$CXXCPP $CPPFLAGS'
23213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23216
23217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23218 /* end confdefs.h. */
23219 #include <math.h>
23220 int
23221 main ()
23222 {
23223 ldexpf(0, 0);
23224 ;
23225 return 0;
23226 }
23227 _ACEOF
23228 if ac_fn_cxx_try_compile "$LINENO"; then :
23229 glibcxx_cv_func_ldexpf_use=yes
23230 else
23231 glibcxx_cv_func_ldexpf_use=no
23232 fi
23233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23234 ac_ext=c
23235 ac_cpp='$CPP $CPPFLAGS'
23236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23239
23240
23241 fi
23242
23243 fi
23244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23245 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23246
23247 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23248 for ac_func in ldexpf
23249 do :
23250 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23251 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23252 cat >>confdefs.h <<_ACEOF
23253 #define HAVE_LDEXPF 1
23254 _ACEOF
23255
23256 fi
23257 done
23258
23259 else
23260
23261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23262 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23263 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23264 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23265 $as_echo_n "(cached) " >&6
23266 else
23267
23268
23269 ac_ext=cpp
23270 ac_cpp='$CXXCPP $CPPFLAGS'
23271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23274
23275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23276 /* end confdefs.h. */
23277 #include <math.h>
23278 int
23279 main ()
23280 {
23281 _ldexpf(0, 0);
23282 ;
23283 return 0;
23284 }
23285 _ACEOF
23286 if ac_fn_cxx_try_compile "$LINENO"; then :
23287 glibcxx_cv_func__ldexpf_use=yes
23288 else
23289 glibcxx_cv_func__ldexpf_use=no
23290 fi
23291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23292 ac_ext=c
23293 ac_cpp='$CPP $CPPFLAGS'
23294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23297
23298
23299 fi
23300
23301 fi
23302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23303 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23304
23305 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23306 for ac_func in _ldexpf
23307 do :
23308 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23309 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23310 cat >>confdefs.h <<_ACEOF
23311 #define HAVE__LDEXPF 1
23312 _ACEOF
23313
23314 fi
23315 done
23316
23317 fi
23318 fi
23319
23320
23321
23322
23323
23324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23325 $as_echo_n "checking for logf declaration... " >&6; }
23326 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23327 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23328 $as_echo_n "(cached) " >&6
23329 else
23330
23331
23332 ac_ext=cpp
23333 ac_cpp='$CXXCPP $CPPFLAGS'
23334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23337
23338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23339 /* end confdefs.h. */
23340 #include <math.h>
23341 #ifdef HAVE_IEEEFP_H
23342 #include <ieeefp.h>
23343 #endif
23344
23345 int
23346 main ()
23347 {
23348 logf(0);
23349 ;
23350 return 0;
23351 }
23352 _ACEOF
23353 if ac_fn_cxx_try_compile "$LINENO"; then :
23354 glibcxx_cv_func_logf_use=yes
23355 else
23356 glibcxx_cv_func_logf_use=no
23357 fi
23358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23359 ac_ext=c
23360 ac_cpp='$CPP $CPPFLAGS'
23361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23364
23365
23366 fi
23367
23368 fi
23369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23370 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23371
23372 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23373 for ac_func in logf
23374 do :
23375 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23376 if test "x$ac_cv_func_logf" = x""yes; then :
23377 cat >>confdefs.h <<_ACEOF
23378 #define HAVE_LOGF 1
23379 _ACEOF
23380
23381 fi
23382 done
23383
23384 else
23385
23386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23387 $as_echo_n "checking for _logf declaration... " >&6; }
23388 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23389 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23390 $as_echo_n "(cached) " >&6
23391 else
23392
23393
23394 ac_ext=cpp
23395 ac_cpp='$CXXCPP $CPPFLAGS'
23396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23399
23400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23401 /* end confdefs.h. */
23402 #include <math.h>
23403 #ifdef HAVE_IEEEFP_H
23404 #include <ieeefp.h>
23405 #endif
23406
23407 int
23408 main ()
23409 {
23410 _logf(0);
23411 ;
23412 return 0;
23413 }
23414 _ACEOF
23415 if ac_fn_cxx_try_compile "$LINENO"; then :
23416 glibcxx_cv_func__logf_use=yes
23417 else
23418 glibcxx_cv_func__logf_use=no
23419 fi
23420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23421 ac_ext=c
23422 ac_cpp='$CPP $CPPFLAGS'
23423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23426
23427
23428 fi
23429
23430 fi
23431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23432 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23433
23434 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23435 for ac_func in _logf
23436 do :
23437 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23438 if test "x$ac_cv_func__logf" = x""yes; then :
23439 cat >>confdefs.h <<_ACEOF
23440 #define HAVE__LOGF 1
23441 _ACEOF
23442
23443 fi
23444 done
23445
23446 fi
23447 fi
23448
23449
23450
23451
23452
23453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23454 $as_echo_n "checking for log10f declaration... " >&6; }
23455 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23456 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23457 $as_echo_n "(cached) " >&6
23458 else
23459
23460
23461 ac_ext=cpp
23462 ac_cpp='$CXXCPP $CPPFLAGS'
23463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23466
23467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23468 /* end confdefs.h. */
23469 #include <math.h>
23470 #ifdef HAVE_IEEEFP_H
23471 #include <ieeefp.h>
23472 #endif
23473
23474 int
23475 main ()
23476 {
23477 log10f(0);
23478 ;
23479 return 0;
23480 }
23481 _ACEOF
23482 if ac_fn_cxx_try_compile "$LINENO"; then :
23483 glibcxx_cv_func_log10f_use=yes
23484 else
23485 glibcxx_cv_func_log10f_use=no
23486 fi
23487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23488 ac_ext=c
23489 ac_cpp='$CPP $CPPFLAGS'
23490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23493
23494
23495 fi
23496
23497 fi
23498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23499 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23500
23501 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23502 for ac_func in log10f
23503 do :
23504 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23505 if test "x$ac_cv_func_log10f" = x""yes; then :
23506 cat >>confdefs.h <<_ACEOF
23507 #define HAVE_LOG10F 1
23508 _ACEOF
23509
23510 fi
23511 done
23512
23513 else
23514
23515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23516 $as_echo_n "checking for _log10f declaration... " >&6; }
23517 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23518 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23519 $as_echo_n "(cached) " >&6
23520 else
23521
23522
23523 ac_ext=cpp
23524 ac_cpp='$CXXCPP $CPPFLAGS'
23525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23528
23529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23530 /* end confdefs.h. */
23531 #include <math.h>
23532 #ifdef HAVE_IEEEFP_H
23533 #include <ieeefp.h>
23534 #endif
23535
23536 int
23537 main ()
23538 {
23539 _log10f(0);
23540 ;
23541 return 0;
23542 }
23543 _ACEOF
23544 if ac_fn_cxx_try_compile "$LINENO"; then :
23545 glibcxx_cv_func__log10f_use=yes
23546 else
23547 glibcxx_cv_func__log10f_use=no
23548 fi
23549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23550 ac_ext=c
23551 ac_cpp='$CPP $CPPFLAGS'
23552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23555
23556
23557 fi
23558
23559 fi
23560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23561 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23562
23563 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23564 for ac_func in _log10f
23565 do :
23566 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23567 if test "x$ac_cv_func__log10f" = x""yes; then :
23568 cat >>confdefs.h <<_ACEOF
23569 #define HAVE__LOG10F 1
23570 _ACEOF
23571
23572 fi
23573 done
23574
23575 fi
23576 fi
23577
23578
23579
23580
23581
23582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23583 $as_echo_n "checking for modff declaration... " >&6; }
23584 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23585 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23586 $as_echo_n "(cached) " >&6
23587 else
23588
23589
23590 ac_ext=cpp
23591 ac_cpp='$CXXCPP $CPPFLAGS'
23592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23595
23596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23597 /* end confdefs.h. */
23598 #include <math.h>
23599 int
23600 main ()
23601 {
23602 modff(0, 0);
23603 ;
23604 return 0;
23605 }
23606 _ACEOF
23607 if ac_fn_cxx_try_compile "$LINENO"; then :
23608 glibcxx_cv_func_modff_use=yes
23609 else
23610 glibcxx_cv_func_modff_use=no
23611 fi
23612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23613 ac_ext=c
23614 ac_cpp='$CPP $CPPFLAGS'
23615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23618
23619
23620 fi
23621
23622 fi
23623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23624 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23625
23626 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23627 for ac_func in modff
23628 do :
23629 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23630 if test "x$ac_cv_func_modff" = x""yes; then :
23631 cat >>confdefs.h <<_ACEOF
23632 #define HAVE_MODFF 1
23633 _ACEOF
23634
23635 fi
23636 done
23637
23638 else
23639
23640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23641 $as_echo_n "checking for _modff declaration... " >&6; }
23642 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23643 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23644 $as_echo_n "(cached) " >&6
23645 else
23646
23647
23648 ac_ext=cpp
23649 ac_cpp='$CXXCPP $CPPFLAGS'
23650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23653
23654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23655 /* end confdefs.h. */
23656 #include <math.h>
23657 int
23658 main ()
23659 {
23660 _modff(0, 0);
23661 ;
23662 return 0;
23663 }
23664 _ACEOF
23665 if ac_fn_cxx_try_compile "$LINENO"; then :
23666 glibcxx_cv_func__modff_use=yes
23667 else
23668 glibcxx_cv_func__modff_use=no
23669 fi
23670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23671 ac_ext=c
23672 ac_cpp='$CPP $CPPFLAGS'
23673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23676
23677
23678 fi
23679
23680 fi
23681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23682 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23683
23684 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23685 for ac_func in _modff
23686 do :
23687 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23688 if test "x$ac_cv_func__modff" = x""yes; then :
23689 cat >>confdefs.h <<_ACEOF
23690 #define HAVE__MODFF 1
23691 _ACEOF
23692
23693 fi
23694 done
23695
23696 fi
23697 fi
23698
23699
23700
23701
23702
23703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23704 $as_echo_n "checking for modf declaration... " >&6; }
23705 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23706 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23707 $as_echo_n "(cached) " >&6
23708 else
23709
23710
23711 ac_ext=cpp
23712 ac_cpp='$CXXCPP $CPPFLAGS'
23713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23716
23717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23718 /* end confdefs.h. */
23719 #include <math.h>
23720 int
23721 main ()
23722 {
23723 modf(0, 0);
23724 ;
23725 return 0;
23726 }
23727 _ACEOF
23728 if ac_fn_cxx_try_compile "$LINENO"; then :
23729 glibcxx_cv_func_modf_use=yes
23730 else
23731 glibcxx_cv_func_modf_use=no
23732 fi
23733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23734 ac_ext=c
23735 ac_cpp='$CPP $CPPFLAGS'
23736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23739
23740
23741 fi
23742
23743 fi
23744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23745 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23746
23747 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23748 for ac_func in modf
23749 do :
23750 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23751 if test "x$ac_cv_func_modf" = x""yes; then :
23752 cat >>confdefs.h <<_ACEOF
23753 #define HAVE_MODF 1
23754 _ACEOF
23755
23756 fi
23757 done
23758
23759 else
23760
23761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23762 $as_echo_n "checking for _modf declaration... " >&6; }
23763 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23764 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23765 $as_echo_n "(cached) " >&6
23766 else
23767
23768
23769 ac_ext=cpp
23770 ac_cpp='$CXXCPP $CPPFLAGS'
23771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23774
23775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23776 /* end confdefs.h. */
23777 #include <math.h>
23778 int
23779 main ()
23780 {
23781 _modf(0, 0);
23782 ;
23783 return 0;
23784 }
23785 _ACEOF
23786 if ac_fn_cxx_try_compile "$LINENO"; then :
23787 glibcxx_cv_func__modf_use=yes
23788 else
23789 glibcxx_cv_func__modf_use=no
23790 fi
23791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23792 ac_ext=c
23793 ac_cpp='$CPP $CPPFLAGS'
23794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23797
23798
23799 fi
23800
23801 fi
23802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23803 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23804
23805 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23806 for ac_func in _modf
23807 do :
23808 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23809 if test "x$ac_cv_func__modf" = x""yes; then :
23810 cat >>confdefs.h <<_ACEOF
23811 #define HAVE__MODF 1
23812 _ACEOF
23813
23814 fi
23815 done
23816
23817 fi
23818 fi
23819
23820
23821
23822
23823
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23825 $as_echo_n "checking for powf declaration... " >&6; }
23826 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23827 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23828 $as_echo_n "(cached) " >&6
23829 else
23830
23831
23832 ac_ext=cpp
23833 ac_cpp='$CXXCPP $CPPFLAGS'
23834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23837
23838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23839 /* end confdefs.h. */
23840 #include <math.h>
23841 int
23842 main ()
23843 {
23844 powf(0, 0);
23845 ;
23846 return 0;
23847 }
23848 _ACEOF
23849 if ac_fn_cxx_try_compile "$LINENO"; then :
23850 glibcxx_cv_func_powf_use=yes
23851 else
23852 glibcxx_cv_func_powf_use=no
23853 fi
23854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23855 ac_ext=c
23856 ac_cpp='$CPP $CPPFLAGS'
23857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23860
23861
23862 fi
23863
23864 fi
23865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23866 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23867
23868 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23869 for ac_func in powf
23870 do :
23871 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23872 if test "x$ac_cv_func_powf" = x""yes; then :
23873 cat >>confdefs.h <<_ACEOF
23874 #define HAVE_POWF 1
23875 _ACEOF
23876
23877 fi
23878 done
23879
23880 else
23881
23882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23883 $as_echo_n "checking for _powf declaration... " >&6; }
23884 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23885 if test "${glibcxx_cv_func__powf_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 _powf(0, 0);
23903 ;
23904 return 0;
23905 }
23906 _ACEOF
23907 if ac_fn_cxx_try_compile "$LINENO"; then :
23908 glibcxx_cv_func__powf_use=yes
23909 else
23910 glibcxx_cv_func__powf_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
23920 fi
23921
23922 fi
23923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23924 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23925
23926 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23927 for ac_func in _powf
23928 do :
23929 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23930 if test "x$ac_cv_func__powf" = x""yes; then :
23931 cat >>confdefs.h <<_ACEOF
23932 #define HAVE__POWF 1
23933 _ACEOF
23934
23935 fi
23936 done
23937
23938 fi
23939 fi
23940
23941
23942
23943
23944
23945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23946 $as_echo_n "checking for sqrtf declaration... " >&6; }
23947 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23948 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23949 $as_echo_n "(cached) " >&6
23950 else
23951
23952
23953 ac_ext=cpp
23954 ac_cpp='$CXXCPP $CPPFLAGS'
23955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23958
23959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23960 /* end confdefs.h. */
23961 #include <math.h>
23962 #ifdef HAVE_IEEEFP_H
23963 #include <ieeefp.h>
23964 #endif
23965
23966 int
23967 main ()
23968 {
23969 sqrtf(0);
23970 ;
23971 return 0;
23972 }
23973 _ACEOF
23974 if ac_fn_cxx_try_compile "$LINENO"; then :
23975 glibcxx_cv_func_sqrtf_use=yes
23976 else
23977 glibcxx_cv_func_sqrtf_use=no
23978 fi
23979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23980 ac_ext=c
23981 ac_cpp='$CPP $CPPFLAGS'
23982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23985
23986
23987 fi
23988
23989 fi
23990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23991 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23992
23993 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23994 for ac_func in sqrtf
23995 do :
23996 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23997 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23998 cat >>confdefs.h <<_ACEOF
23999 #define HAVE_SQRTF 1
24000 _ACEOF
24001
24002 fi
24003 done
24004
24005 else
24006
24007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24008 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24009 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24010 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24011 $as_echo_n "(cached) " >&6
24012 else
24013
24014
24015 ac_ext=cpp
24016 ac_cpp='$CXXCPP $CPPFLAGS'
24017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24020
24021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24022 /* end confdefs.h. */
24023 #include <math.h>
24024 #ifdef HAVE_IEEEFP_H
24025 #include <ieeefp.h>
24026 #endif
24027
24028 int
24029 main ()
24030 {
24031 _sqrtf(0);
24032 ;
24033 return 0;
24034 }
24035 _ACEOF
24036 if ac_fn_cxx_try_compile "$LINENO"; then :
24037 glibcxx_cv_func__sqrtf_use=yes
24038 else
24039 glibcxx_cv_func__sqrtf_use=no
24040 fi
24041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24042 ac_ext=c
24043 ac_cpp='$CPP $CPPFLAGS'
24044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24047
24048
24049 fi
24050
24051 fi
24052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24053 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24054
24055 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24056 for ac_func in _sqrtf
24057 do :
24058 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24059 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24060 cat >>confdefs.h <<_ACEOF
24061 #define HAVE__SQRTF 1
24062 _ACEOF
24063
24064 fi
24065 done
24066
24067 fi
24068 fi
24069
24070
24071
24072
24073
24074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24075 $as_echo_n "checking for sincosf declaration... " >&6; }
24076 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24077 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24078 $as_echo_n "(cached) " >&6
24079 else
24080
24081
24082 ac_ext=cpp
24083 ac_cpp='$CXXCPP $CPPFLAGS'
24084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24087
24088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24089 /* end confdefs.h. */
24090 #include <math.h>
24091 int
24092 main ()
24093 {
24094 sincosf(0, 0, 0);
24095 ;
24096 return 0;
24097 }
24098 _ACEOF
24099 if ac_fn_cxx_try_compile "$LINENO"; then :
24100 glibcxx_cv_func_sincosf_use=yes
24101 else
24102 glibcxx_cv_func_sincosf_use=no
24103 fi
24104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24105 ac_ext=c
24106 ac_cpp='$CPP $CPPFLAGS'
24107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24110
24111
24112 fi
24113
24114 fi
24115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24116 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24117
24118 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24119 for ac_func in sincosf
24120 do :
24121 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24122 if test "x$ac_cv_func_sincosf" = x""yes; then :
24123 cat >>confdefs.h <<_ACEOF
24124 #define HAVE_SINCOSF 1
24125 _ACEOF
24126
24127 fi
24128 done
24129
24130 else
24131
24132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24133 $as_echo_n "checking for _sincosf declaration... " >&6; }
24134 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24135 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24136 $as_echo_n "(cached) " >&6
24137 else
24138
24139
24140 ac_ext=cpp
24141 ac_cpp='$CXXCPP $CPPFLAGS'
24142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24145
24146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24147 /* end confdefs.h. */
24148 #include <math.h>
24149 int
24150 main ()
24151 {
24152 _sincosf(0, 0, 0);
24153 ;
24154 return 0;
24155 }
24156 _ACEOF
24157 if ac_fn_cxx_try_compile "$LINENO"; then :
24158 glibcxx_cv_func__sincosf_use=yes
24159 else
24160 glibcxx_cv_func__sincosf_use=no
24161 fi
24162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24163 ac_ext=c
24164 ac_cpp='$CPP $CPPFLAGS'
24165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24168
24169
24170 fi
24171
24172 fi
24173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24174 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24175
24176 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24177 for ac_func in _sincosf
24178 do :
24179 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24180 if test "x$ac_cv_func__sincosf" = x""yes; then :
24181 cat >>confdefs.h <<_ACEOF
24182 #define HAVE__SINCOSF 1
24183 _ACEOF
24184
24185 fi
24186 done
24187
24188 fi
24189 fi
24190
24191
24192
24193
24194
24195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24196 $as_echo_n "checking for finitef declaration... " >&6; }
24197 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24198 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24199 $as_echo_n "(cached) " >&6
24200 else
24201
24202
24203 ac_ext=cpp
24204 ac_cpp='$CXXCPP $CPPFLAGS'
24205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24208
24209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24210 /* end confdefs.h. */
24211 #include <math.h>
24212 #ifdef HAVE_IEEEFP_H
24213 #include <ieeefp.h>
24214 #endif
24215
24216 int
24217 main ()
24218 {
24219 finitef(0);
24220 ;
24221 return 0;
24222 }
24223 _ACEOF
24224 if ac_fn_cxx_try_compile "$LINENO"; then :
24225 glibcxx_cv_func_finitef_use=yes
24226 else
24227 glibcxx_cv_func_finitef_use=no
24228 fi
24229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24230 ac_ext=c
24231 ac_cpp='$CPP $CPPFLAGS'
24232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24235
24236
24237 fi
24238
24239 fi
24240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24241 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24242
24243 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24244 for ac_func in finitef
24245 do :
24246 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24247 if test "x$ac_cv_func_finitef" = x""yes; then :
24248 cat >>confdefs.h <<_ACEOF
24249 #define HAVE_FINITEF 1
24250 _ACEOF
24251
24252 fi
24253 done
24254
24255 else
24256
24257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24258 $as_echo_n "checking for _finitef declaration... " >&6; }
24259 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24260 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24261 $as_echo_n "(cached) " >&6
24262 else
24263
24264
24265 ac_ext=cpp
24266 ac_cpp='$CXXCPP $CPPFLAGS'
24267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24270
24271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24272 /* end confdefs.h. */
24273 #include <math.h>
24274 #ifdef HAVE_IEEEFP_H
24275 #include <ieeefp.h>
24276 #endif
24277
24278 int
24279 main ()
24280 {
24281 _finitef(0);
24282 ;
24283 return 0;
24284 }
24285 _ACEOF
24286 if ac_fn_cxx_try_compile "$LINENO"; then :
24287 glibcxx_cv_func__finitef_use=yes
24288 else
24289 glibcxx_cv_func__finitef_use=no
24290 fi
24291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24292 ac_ext=c
24293 ac_cpp='$CPP $CPPFLAGS'
24294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24297
24298
24299 fi
24300
24301 fi
24302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24303 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24304
24305 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24306 for ac_func in _finitef
24307 do :
24308 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24309 if test "x$ac_cv_func__finitef" = x""yes; then :
24310 cat >>confdefs.h <<_ACEOF
24311 #define HAVE__FINITEF 1
24312 _ACEOF
24313
24314 fi
24315 done
24316
24317 fi
24318 fi
24319
24320
24321
24322
24323
24324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24325 $as_echo_n "checking for long double trig functions... " >&6; }
24326 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24327 $as_echo_n "(cached) " >&6
24328 else
24329
24330
24331 ac_ext=cpp
24332 ac_cpp='$CXXCPP $CPPFLAGS'
24333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24336
24337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24338 /* end confdefs.h. */
24339 #include <math.h>
24340 int
24341 main ()
24342 {
24343 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24344 ;
24345 return 0;
24346 }
24347 _ACEOF
24348 if ac_fn_cxx_try_compile "$LINENO"; then :
24349 glibcxx_cv_func_long_double_trig_use=yes
24350 else
24351 glibcxx_cv_func_long_double_trig_use=no
24352 fi
24353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24354 ac_ext=c
24355 ac_cpp='$CPP $CPPFLAGS'
24356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24359
24360 fi
24361
24362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24363 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24364 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24365 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24366 do :
24367 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24368 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24369 eval as_val=\$$as_ac_var
24370 if test "x$as_val" = x""yes; then :
24371 cat >>confdefs.h <<_ACEOF
24372 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24373 _ACEOF
24374
24375 fi
24376 done
24377
24378 else
24379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24380 $as_echo_n "checking for _long double trig functions... " >&6; }
24381 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24382 $as_echo_n "(cached) " >&6
24383 else
24384
24385
24386 ac_ext=cpp
24387 ac_cpp='$CXXCPP $CPPFLAGS'
24388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24391
24392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24393 /* end confdefs.h. */
24394 #include <math.h>
24395 int
24396 main ()
24397 {
24398 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24399 ;
24400 return 0;
24401 }
24402 _ACEOF
24403 if ac_fn_cxx_try_compile "$LINENO"; then :
24404 glibcxx_cv_func__long_double_trig_use=yes
24405 else
24406 glibcxx_cv_func__long_double_trig_use=no
24407 fi
24408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24409 ac_ext=c
24410 ac_cpp='$CPP $CPPFLAGS'
24411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24414
24415 fi
24416
24417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24418 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24419 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24420 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24421 do :
24422 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24423 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24424 eval as_val=\$$as_ac_var
24425 if test "x$as_val" = x""yes; then :
24426 cat >>confdefs.h <<_ACEOF
24427 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24428 _ACEOF
24429
24430 fi
24431 done
24432
24433 fi
24434 fi
24435
24436
24437
24438
24439
24440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24441 $as_echo_n "checking for long double round functions... " >&6; }
24442 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24443 $as_echo_n "(cached) " >&6
24444 else
24445
24446
24447 ac_ext=cpp
24448 ac_cpp='$CXXCPP $CPPFLAGS'
24449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24452
24453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24454 /* end confdefs.h. */
24455 #include <math.h>
24456 int
24457 main ()
24458 {
24459 ceill (0); floorl (0);
24460 ;
24461 return 0;
24462 }
24463 _ACEOF
24464 if ac_fn_cxx_try_compile "$LINENO"; then :
24465 glibcxx_cv_func_long_double_round_use=yes
24466 else
24467 glibcxx_cv_func_long_double_round_use=no
24468 fi
24469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24470 ac_ext=c
24471 ac_cpp='$CPP $CPPFLAGS'
24472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24475
24476 fi
24477
24478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24479 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24480 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24481 for ac_func in ceill floorl
24482 do :
24483 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24484 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24485 eval as_val=\$$as_ac_var
24486 if test "x$as_val" = x""yes; then :
24487 cat >>confdefs.h <<_ACEOF
24488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24489 _ACEOF
24490
24491 fi
24492 done
24493
24494 else
24495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24496 $as_echo_n "checking for _long double round functions... " >&6; }
24497 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24498 $as_echo_n "(cached) " >&6
24499 else
24500
24501
24502 ac_ext=cpp
24503 ac_cpp='$CXXCPP $CPPFLAGS'
24504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24507
24508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24509 /* end confdefs.h. */
24510 #include <math.h>
24511 int
24512 main ()
24513 {
24514 _ceill (0); _floorl (0);
24515 ;
24516 return 0;
24517 }
24518 _ACEOF
24519 if ac_fn_cxx_try_compile "$LINENO"; then :
24520 glibcxx_cv_func__long_double_round_use=yes
24521 else
24522 glibcxx_cv_func__long_double_round_use=no
24523 fi
24524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24525 ac_ext=c
24526 ac_cpp='$CPP $CPPFLAGS'
24527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24530
24531 fi
24532
24533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24534 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24535 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24536 for ac_func in _ceill _floorl
24537 do :
24538 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24540 eval as_val=\$$as_ac_var
24541 if test "x$as_val" = x""yes; then :
24542 cat >>confdefs.h <<_ACEOF
24543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24544 _ACEOF
24545
24546 fi
24547 done
24548
24549 fi
24550 fi
24551
24552
24553
24554
24555
24556
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24558 $as_echo_n "checking for isnanl declaration... " >&6; }
24559 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24560 if test "${glibcxx_cv_func_isnanl_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 isnanl(0);
24582 ;
24583 return 0;
24584 }
24585 _ACEOF
24586 if ac_fn_cxx_try_compile "$LINENO"; then :
24587 glibcxx_cv_func_isnanl_use=yes
24588 else
24589 glibcxx_cv_func_isnanl_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_isnanl_use" >&5
24603 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24604
24605 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24606 for ac_func in isnanl
24607 do :
24608 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24609 if test "x$ac_cv_func_isnanl" = x""yes; then :
24610 cat >>confdefs.h <<_ACEOF
24611 #define HAVE_ISNANL 1
24612 _ACEOF
24613
24614 fi
24615 done
24616
24617 else
24618
24619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24620 $as_echo_n "checking for _isnanl declaration... " >&6; }
24621 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24622 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24623 $as_echo_n "(cached) " >&6
24624 else
24625
24626
24627 ac_ext=cpp
24628 ac_cpp='$CXXCPP $CPPFLAGS'
24629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24632
24633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24634 /* end confdefs.h. */
24635 #include <math.h>
24636 #ifdef HAVE_IEEEFP_H
24637 #include <ieeefp.h>
24638 #endif
24639
24640 int
24641 main ()
24642 {
24643 _isnanl(0);
24644 ;
24645 return 0;
24646 }
24647 _ACEOF
24648 if ac_fn_cxx_try_compile "$LINENO"; then :
24649 glibcxx_cv_func__isnanl_use=yes
24650 else
24651 glibcxx_cv_func__isnanl_use=no
24652 fi
24653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24654 ac_ext=c
24655 ac_cpp='$CPP $CPPFLAGS'
24656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24659
24660
24661 fi
24662
24663 fi
24664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24665 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24666
24667 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24668 for ac_func in _isnanl
24669 do :
24670 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24671 if test "x$ac_cv_func__isnanl" = x""yes; then :
24672 cat >>confdefs.h <<_ACEOF
24673 #define HAVE__ISNANL 1
24674 _ACEOF
24675
24676 fi
24677 done
24678
24679 fi
24680 fi
24681
24682
24683
24684
24685
24686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24687 $as_echo_n "checking for isinfl declaration... " >&6; }
24688 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24689 if test "${glibcxx_cv_func_isinfl_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 isinfl(0);
24711 ;
24712 return 0;
24713 }
24714 _ACEOF
24715 if ac_fn_cxx_try_compile "$LINENO"; then :
24716 glibcxx_cv_func_isinfl_use=yes
24717 else
24718 glibcxx_cv_func_isinfl_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_isinfl_use" >&5
24732 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24733
24734 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24735 for ac_func in isinfl
24736 do :
24737 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24738 if test "x$ac_cv_func_isinfl" = x""yes; then :
24739 cat >>confdefs.h <<_ACEOF
24740 #define HAVE_ISINFL 1
24741 _ACEOF
24742
24743 fi
24744 done
24745
24746 else
24747
24748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24749 $as_echo_n "checking for _isinfl declaration... " >&6; }
24750 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24751 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24752 $as_echo_n "(cached) " >&6
24753 else
24754
24755
24756 ac_ext=cpp
24757 ac_cpp='$CXXCPP $CPPFLAGS'
24758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24761
24762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24763 /* end confdefs.h. */
24764 #include <math.h>
24765 #ifdef HAVE_IEEEFP_H
24766 #include <ieeefp.h>
24767 #endif
24768
24769 int
24770 main ()
24771 {
24772 _isinfl(0);
24773 ;
24774 return 0;
24775 }
24776 _ACEOF
24777 if ac_fn_cxx_try_compile "$LINENO"; then :
24778 glibcxx_cv_func__isinfl_use=yes
24779 else
24780 glibcxx_cv_func__isinfl_use=no
24781 fi
24782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24783 ac_ext=c
24784 ac_cpp='$CPP $CPPFLAGS'
24785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24788
24789
24790 fi
24791
24792 fi
24793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24794 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24795
24796 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24797 for ac_func in _isinfl
24798 do :
24799 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24800 if test "x$ac_cv_func__isinfl" = x""yes; then :
24801 cat >>confdefs.h <<_ACEOF
24802 #define HAVE__ISINFL 1
24803 _ACEOF
24804
24805 fi
24806 done
24807
24808 fi
24809 fi
24810
24811
24812
24813
24814
24815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24816 $as_echo_n "checking for atan2l declaration... " >&6; }
24817 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24818 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24819 $as_echo_n "(cached) " >&6
24820 else
24821
24822
24823 ac_ext=cpp
24824 ac_cpp='$CXXCPP $CPPFLAGS'
24825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24828
24829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24830 /* end confdefs.h. */
24831 #include <math.h>
24832 int
24833 main ()
24834 {
24835 atan2l(0, 0);
24836 ;
24837 return 0;
24838 }
24839 _ACEOF
24840 if ac_fn_cxx_try_compile "$LINENO"; then :
24841 glibcxx_cv_func_atan2l_use=yes
24842 else
24843 glibcxx_cv_func_atan2l_use=no
24844 fi
24845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24846 ac_ext=c
24847 ac_cpp='$CPP $CPPFLAGS'
24848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24851
24852
24853 fi
24854
24855 fi
24856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24857 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24858
24859 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24860 for ac_func in atan2l
24861 do :
24862 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24863 if test "x$ac_cv_func_atan2l" = x""yes; then :
24864 cat >>confdefs.h <<_ACEOF
24865 #define HAVE_ATAN2L 1
24866 _ACEOF
24867
24868 fi
24869 done
24870
24871 else
24872
24873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24874 $as_echo_n "checking for _atan2l declaration... " >&6; }
24875 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24876 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24877 $as_echo_n "(cached) " >&6
24878 else
24879
24880
24881 ac_ext=cpp
24882 ac_cpp='$CXXCPP $CPPFLAGS'
24883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24886
24887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24888 /* end confdefs.h. */
24889 #include <math.h>
24890 int
24891 main ()
24892 {
24893 _atan2l(0, 0);
24894 ;
24895 return 0;
24896 }
24897 _ACEOF
24898 if ac_fn_cxx_try_compile "$LINENO"; then :
24899 glibcxx_cv_func__atan2l_use=yes
24900 else
24901 glibcxx_cv_func__atan2l_use=no
24902 fi
24903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24904 ac_ext=c
24905 ac_cpp='$CPP $CPPFLAGS'
24906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24909
24910
24911 fi
24912
24913 fi
24914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24915 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24916
24917 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24918 for ac_func in _atan2l
24919 do :
24920 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24921 if test "x$ac_cv_func__atan2l" = x""yes; then :
24922 cat >>confdefs.h <<_ACEOF
24923 #define HAVE__ATAN2L 1
24924 _ACEOF
24925
24926 fi
24927 done
24928
24929 fi
24930 fi
24931
24932
24933
24934
24935
24936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24937 $as_echo_n "checking for expl declaration... " >&6; }
24938 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24939 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24940 $as_echo_n "(cached) " >&6
24941 else
24942
24943
24944 ac_ext=cpp
24945 ac_cpp='$CXXCPP $CPPFLAGS'
24946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24949
24950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24951 /* end confdefs.h. */
24952 #include <math.h>
24953 #ifdef HAVE_IEEEFP_H
24954 #include <ieeefp.h>
24955 #endif
24956
24957 int
24958 main ()
24959 {
24960 expl(0);
24961 ;
24962 return 0;
24963 }
24964 _ACEOF
24965 if ac_fn_cxx_try_compile "$LINENO"; then :
24966 glibcxx_cv_func_expl_use=yes
24967 else
24968 glibcxx_cv_func_expl_use=no
24969 fi
24970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24971 ac_ext=c
24972 ac_cpp='$CPP $CPPFLAGS'
24973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24976
24977
24978 fi
24979
24980 fi
24981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24982 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24983
24984 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24985 for ac_func in expl
24986 do :
24987 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24988 if test "x$ac_cv_func_expl" = x""yes; then :
24989 cat >>confdefs.h <<_ACEOF
24990 #define HAVE_EXPL 1
24991 _ACEOF
24992
24993 fi
24994 done
24995
24996 else
24997
24998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24999 $as_echo_n "checking for _expl declaration... " >&6; }
25000 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25001 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25002 $as_echo_n "(cached) " >&6
25003 else
25004
25005
25006 ac_ext=cpp
25007 ac_cpp='$CXXCPP $CPPFLAGS'
25008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25011
25012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25013 /* end confdefs.h. */
25014 #include <math.h>
25015 #ifdef HAVE_IEEEFP_H
25016 #include <ieeefp.h>
25017 #endif
25018
25019 int
25020 main ()
25021 {
25022 _expl(0);
25023 ;
25024 return 0;
25025 }
25026 _ACEOF
25027 if ac_fn_cxx_try_compile "$LINENO"; then :
25028 glibcxx_cv_func__expl_use=yes
25029 else
25030 glibcxx_cv_func__expl_use=no
25031 fi
25032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25033 ac_ext=c
25034 ac_cpp='$CPP $CPPFLAGS'
25035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25038
25039
25040 fi
25041
25042 fi
25043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25044 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25045
25046 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25047 for ac_func in _expl
25048 do :
25049 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25050 if test "x$ac_cv_func__expl" = x""yes; then :
25051 cat >>confdefs.h <<_ACEOF
25052 #define HAVE__EXPL 1
25053 _ACEOF
25054
25055 fi
25056 done
25057
25058 fi
25059 fi
25060
25061
25062
25063
25064
25065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25066 $as_echo_n "checking for fabsl declaration... " >&6; }
25067 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25068 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25069 $as_echo_n "(cached) " >&6
25070 else
25071
25072
25073 ac_ext=cpp
25074 ac_cpp='$CXXCPP $CPPFLAGS'
25075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25078
25079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25080 /* end confdefs.h. */
25081 #include <math.h>
25082 #ifdef HAVE_IEEEFP_H
25083 #include <ieeefp.h>
25084 #endif
25085
25086 int
25087 main ()
25088 {
25089 fabsl(0);
25090 ;
25091 return 0;
25092 }
25093 _ACEOF
25094 if ac_fn_cxx_try_compile "$LINENO"; then :
25095 glibcxx_cv_func_fabsl_use=yes
25096 else
25097 glibcxx_cv_func_fabsl_use=no
25098 fi
25099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25100 ac_ext=c
25101 ac_cpp='$CPP $CPPFLAGS'
25102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25105
25106
25107 fi
25108
25109 fi
25110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25111 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25112
25113 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25114 for ac_func in fabsl
25115 do :
25116 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25117 if test "x$ac_cv_func_fabsl" = x""yes; then :
25118 cat >>confdefs.h <<_ACEOF
25119 #define HAVE_FABSL 1
25120 _ACEOF
25121
25122 fi
25123 done
25124
25125 else
25126
25127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25128 $as_echo_n "checking for _fabsl declaration... " >&6; }
25129 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25130 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25131 $as_echo_n "(cached) " >&6
25132 else
25133
25134
25135 ac_ext=cpp
25136 ac_cpp='$CXXCPP $CPPFLAGS'
25137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25140
25141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25142 /* end confdefs.h. */
25143 #include <math.h>
25144 #ifdef HAVE_IEEEFP_H
25145 #include <ieeefp.h>
25146 #endif
25147
25148 int
25149 main ()
25150 {
25151 _fabsl(0);
25152 ;
25153 return 0;
25154 }
25155 _ACEOF
25156 if ac_fn_cxx_try_compile "$LINENO"; then :
25157 glibcxx_cv_func__fabsl_use=yes
25158 else
25159 glibcxx_cv_func__fabsl_use=no
25160 fi
25161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25162 ac_ext=c
25163 ac_cpp='$CPP $CPPFLAGS'
25164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25167
25168
25169 fi
25170
25171 fi
25172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25173 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25174
25175 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25176 for ac_func in _fabsl
25177 do :
25178 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25179 if test "x$ac_cv_func__fabsl" = x""yes; then :
25180 cat >>confdefs.h <<_ACEOF
25181 #define HAVE__FABSL 1
25182 _ACEOF
25183
25184 fi
25185 done
25186
25187 fi
25188 fi
25189
25190
25191
25192
25193
25194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25195 $as_echo_n "checking for fmodl declaration... " >&6; }
25196 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25197 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25198 $as_echo_n "(cached) " >&6
25199 else
25200
25201
25202 ac_ext=cpp
25203 ac_cpp='$CXXCPP $CPPFLAGS'
25204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25207
25208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25209 /* end confdefs.h. */
25210 #include <math.h>
25211 int
25212 main ()
25213 {
25214 fmodl(0, 0);
25215 ;
25216 return 0;
25217 }
25218 _ACEOF
25219 if ac_fn_cxx_try_compile "$LINENO"; then :
25220 glibcxx_cv_func_fmodl_use=yes
25221 else
25222 glibcxx_cv_func_fmodl_use=no
25223 fi
25224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25225 ac_ext=c
25226 ac_cpp='$CPP $CPPFLAGS'
25227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25230
25231
25232 fi
25233
25234 fi
25235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25236 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25237
25238 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25239 for ac_func in fmodl
25240 do :
25241 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25242 if test "x$ac_cv_func_fmodl" = x""yes; then :
25243 cat >>confdefs.h <<_ACEOF
25244 #define HAVE_FMODL 1
25245 _ACEOF
25246
25247 fi
25248 done
25249
25250 else
25251
25252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25253 $as_echo_n "checking for _fmodl declaration... " >&6; }
25254 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25255 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25256 $as_echo_n "(cached) " >&6
25257 else
25258
25259
25260 ac_ext=cpp
25261 ac_cpp='$CXXCPP $CPPFLAGS'
25262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25265
25266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25267 /* end confdefs.h. */
25268 #include <math.h>
25269 int
25270 main ()
25271 {
25272 _fmodl(0, 0);
25273 ;
25274 return 0;
25275 }
25276 _ACEOF
25277 if ac_fn_cxx_try_compile "$LINENO"; then :
25278 glibcxx_cv_func__fmodl_use=yes
25279 else
25280 glibcxx_cv_func__fmodl_use=no
25281 fi
25282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25283 ac_ext=c
25284 ac_cpp='$CPP $CPPFLAGS'
25285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25288
25289
25290 fi
25291
25292 fi
25293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25294 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25295
25296 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25297 for ac_func in _fmodl
25298 do :
25299 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25300 if test "x$ac_cv_func__fmodl" = x""yes; then :
25301 cat >>confdefs.h <<_ACEOF
25302 #define HAVE__FMODL 1
25303 _ACEOF
25304
25305 fi
25306 done
25307
25308 fi
25309 fi
25310
25311
25312
25313
25314
25315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25316 $as_echo_n "checking for frexpl declaration... " >&6; }
25317 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25318 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25319 $as_echo_n "(cached) " >&6
25320 else
25321
25322
25323 ac_ext=cpp
25324 ac_cpp='$CXXCPP $CPPFLAGS'
25325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25328
25329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25330 /* end confdefs.h. */
25331 #include <math.h>
25332 int
25333 main ()
25334 {
25335 frexpl(0, 0);
25336 ;
25337 return 0;
25338 }
25339 _ACEOF
25340 if ac_fn_cxx_try_compile "$LINENO"; then :
25341 glibcxx_cv_func_frexpl_use=yes
25342 else
25343 glibcxx_cv_func_frexpl_use=no
25344 fi
25345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25346 ac_ext=c
25347 ac_cpp='$CPP $CPPFLAGS'
25348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25351
25352
25353 fi
25354
25355 fi
25356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25357 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25358
25359 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25360 for ac_func in frexpl
25361 do :
25362 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25363 if test "x$ac_cv_func_frexpl" = x""yes; then :
25364 cat >>confdefs.h <<_ACEOF
25365 #define HAVE_FREXPL 1
25366 _ACEOF
25367
25368 fi
25369 done
25370
25371 else
25372
25373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25374 $as_echo_n "checking for _frexpl declaration... " >&6; }
25375 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25376 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25377 $as_echo_n "(cached) " >&6
25378 else
25379
25380
25381 ac_ext=cpp
25382 ac_cpp='$CXXCPP $CPPFLAGS'
25383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25386
25387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25388 /* end confdefs.h. */
25389 #include <math.h>
25390 int
25391 main ()
25392 {
25393 _frexpl(0, 0);
25394 ;
25395 return 0;
25396 }
25397 _ACEOF
25398 if ac_fn_cxx_try_compile "$LINENO"; then :
25399 glibcxx_cv_func__frexpl_use=yes
25400 else
25401 glibcxx_cv_func__frexpl_use=no
25402 fi
25403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25404 ac_ext=c
25405 ac_cpp='$CPP $CPPFLAGS'
25406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25409
25410
25411 fi
25412
25413 fi
25414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25415 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25416
25417 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25418 for ac_func in _frexpl
25419 do :
25420 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25421 if test "x$ac_cv_func__frexpl" = x""yes; then :
25422 cat >>confdefs.h <<_ACEOF
25423 #define HAVE__FREXPL 1
25424 _ACEOF
25425
25426 fi
25427 done
25428
25429 fi
25430 fi
25431
25432
25433
25434
25435
25436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25437 $as_echo_n "checking for hypotl declaration... " >&6; }
25438 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25439 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25440 $as_echo_n "(cached) " >&6
25441 else
25442
25443
25444 ac_ext=cpp
25445 ac_cpp='$CXXCPP $CPPFLAGS'
25446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25449
25450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25451 /* end confdefs.h. */
25452 #include <math.h>
25453 int
25454 main ()
25455 {
25456 hypotl(0, 0);
25457 ;
25458 return 0;
25459 }
25460 _ACEOF
25461 if ac_fn_cxx_try_compile "$LINENO"; then :
25462 glibcxx_cv_func_hypotl_use=yes
25463 else
25464 glibcxx_cv_func_hypotl_use=no
25465 fi
25466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25467 ac_ext=c
25468 ac_cpp='$CPP $CPPFLAGS'
25469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25472
25473
25474 fi
25475
25476 fi
25477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25478 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25479
25480 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25481 for ac_func in hypotl
25482 do :
25483 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25484 if test "x$ac_cv_func_hypotl" = x""yes; then :
25485 cat >>confdefs.h <<_ACEOF
25486 #define HAVE_HYPOTL 1
25487 _ACEOF
25488
25489 fi
25490 done
25491
25492 else
25493
25494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25495 $as_echo_n "checking for _hypotl declaration... " >&6; }
25496 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25497 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25498 $as_echo_n "(cached) " >&6
25499 else
25500
25501
25502 ac_ext=cpp
25503 ac_cpp='$CXXCPP $CPPFLAGS'
25504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25507
25508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25509 /* end confdefs.h. */
25510 #include <math.h>
25511 int
25512 main ()
25513 {
25514 _hypotl(0, 0);
25515 ;
25516 return 0;
25517 }
25518 _ACEOF
25519 if ac_fn_cxx_try_compile "$LINENO"; then :
25520 glibcxx_cv_func__hypotl_use=yes
25521 else
25522 glibcxx_cv_func__hypotl_use=no
25523 fi
25524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25525 ac_ext=c
25526 ac_cpp='$CPP $CPPFLAGS'
25527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25530
25531
25532 fi
25533
25534 fi
25535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25536 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25537
25538 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25539 for ac_func in _hypotl
25540 do :
25541 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25542 if test "x$ac_cv_func__hypotl" = x""yes; then :
25543 cat >>confdefs.h <<_ACEOF
25544 #define HAVE__HYPOTL 1
25545 _ACEOF
25546
25547 fi
25548 done
25549
25550 fi
25551 fi
25552
25553
25554
25555
25556
25557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25558 $as_echo_n "checking for ldexpl declaration... " >&6; }
25559 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25560 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25561 $as_echo_n "(cached) " >&6
25562 else
25563
25564
25565 ac_ext=cpp
25566 ac_cpp='$CXXCPP $CPPFLAGS'
25567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25570
25571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25572 /* end confdefs.h. */
25573 #include <math.h>
25574 int
25575 main ()
25576 {
25577 ldexpl(0, 0);
25578 ;
25579 return 0;
25580 }
25581 _ACEOF
25582 if ac_fn_cxx_try_compile "$LINENO"; then :
25583 glibcxx_cv_func_ldexpl_use=yes
25584 else
25585 glibcxx_cv_func_ldexpl_use=no
25586 fi
25587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25588 ac_ext=c
25589 ac_cpp='$CPP $CPPFLAGS'
25590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25593
25594
25595 fi
25596
25597 fi
25598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25599 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25600
25601 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25602 for ac_func in ldexpl
25603 do :
25604 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25605 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25606 cat >>confdefs.h <<_ACEOF
25607 #define HAVE_LDEXPL 1
25608 _ACEOF
25609
25610 fi
25611 done
25612
25613 else
25614
25615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25616 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25617 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25618 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25619 $as_echo_n "(cached) " >&6
25620 else
25621
25622
25623 ac_ext=cpp
25624 ac_cpp='$CXXCPP $CPPFLAGS'
25625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25628
25629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25630 /* end confdefs.h. */
25631 #include <math.h>
25632 int
25633 main ()
25634 {
25635 _ldexpl(0, 0);
25636 ;
25637 return 0;
25638 }
25639 _ACEOF
25640 if ac_fn_cxx_try_compile "$LINENO"; then :
25641 glibcxx_cv_func__ldexpl_use=yes
25642 else
25643 glibcxx_cv_func__ldexpl_use=no
25644 fi
25645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25646 ac_ext=c
25647 ac_cpp='$CPP $CPPFLAGS'
25648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25651
25652
25653 fi
25654
25655 fi
25656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25657 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25658
25659 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25660 for ac_func in _ldexpl
25661 do :
25662 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25663 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25664 cat >>confdefs.h <<_ACEOF
25665 #define HAVE__LDEXPL 1
25666 _ACEOF
25667
25668 fi
25669 done
25670
25671 fi
25672 fi
25673
25674
25675
25676
25677
25678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25679 $as_echo_n "checking for logl declaration... " >&6; }
25680 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25681 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25682 $as_echo_n "(cached) " >&6
25683 else
25684
25685
25686 ac_ext=cpp
25687 ac_cpp='$CXXCPP $CPPFLAGS'
25688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25691
25692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25693 /* end confdefs.h. */
25694 #include <math.h>
25695 #ifdef HAVE_IEEEFP_H
25696 #include <ieeefp.h>
25697 #endif
25698
25699 int
25700 main ()
25701 {
25702 logl(0);
25703 ;
25704 return 0;
25705 }
25706 _ACEOF
25707 if ac_fn_cxx_try_compile "$LINENO"; then :
25708 glibcxx_cv_func_logl_use=yes
25709 else
25710 glibcxx_cv_func_logl_use=no
25711 fi
25712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25713 ac_ext=c
25714 ac_cpp='$CPP $CPPFLAGS'
25715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25718
25719
25720 fi
25721
25722 fi
25723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25724 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25725
25726 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25727 for ac_func in logl
25728 do :
25729 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25730 if test "x$ac_cv_func_logl" = x""yes; then :
25731 cat >>confdefs.h <<_ACEOF
25732 #define HAVE_LOGL 1
25733 _ACEOF
25734
25735 fi
25736 done
25737
25738 else
25739
25740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25741 $as_echo_n "checking for _logl declaration... " >&6; }
25742 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25743 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25744 $as_echo_n "(cached) " >&6
25745 else
25746
25747
25748 ac_ext=cpp
25749 ac_cpp='$CXXCPP $CPPFLAGS'
25750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25753
25754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25755 /* end confdefs.h. */
25756 #include <math.h>
25757 #ifdef HAVE_IEEEFP_H
25758 #include <ieeefp.h>
25759 #endif
25760
25761 int
25762 main ()
25763 {
25764 _logl(0);
25765 ;
25766 return 0;
25767 }
25768 _ACEOF
25769 if ac_fn_cxx_try_compile "$LINENO"; then :
25770 glibcxx_cv_func__logl_use=yes
25771 else
25772 glibcxx_cv_func__logl_use=no
25773 fi
25774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25775 ac_ext=c
25776 ac_cpp='$CPP $CPPFLAGS'
25777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25780
25781
25782 fi
25783
25784 fi
25785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25786 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25787
25788 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25789 for ac_func in _logl
25790 do :
25791 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25792 if test "x$ac_cv_func__logl" = x""yes; then :
25793 cat >>confdefs.h <<_ACEOF
25794 #define HAVE__LOGL 1
25795 _ACEOF
25796
25797 fi
25798 done
25799
25800 fi
25801 fi
25802
25803
25804
25805
25806
25807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25808 $as_echo_n "checking for log10l declaration... " >&6; }
25809 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25810 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25811 $as_echo_n "(cached) " >&6
25812 else
25813
25814
25815 ac_ext=cpp
25816 ac_cpp='$CXXCPP $CPPFLAGS'
25817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25820
25821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25822 /* end confdefs.h. */
25823 #include <math.h>
25824 #ifdef HAVE_IEEEFP_H
25825 #include <ieeefp.h>
25826 #endif
25827
25828 int
25829 main ()
25830 {
25831 log10l(0);
25832 ;
25833 return 0;
25834 }
25835 _ACEOF
25836 if ac_fn_cxx_try_compile "$LINENO"; then :
25837 glibcxx_cv_func_log10l_use=yes
25838 else
25839 glibcxx_cv_func_log10l_use=no
25840 fi
25841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25842 ac_ext=c
25843 ac_cpp='$CPP $CPPFLAGS'
25844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25847
25848
25849 fi
25850
25851 fi
25852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25853 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25854
25855 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25856 for ac_func in log10l
25857 do :
25858 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25859 if test "x$ac_cv_func_log10l" = x""yes; then :
25860 cat >>confdefs.h <<_ACEOF
25861 #define HAVE_LOG10L 1
25862 _ACEOF
25863
25864 fi
25865 done
25866
25867 else
25868
25869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25870 $as_echo_n "checking for _log10l declaration... " >&6; }
25871 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25872 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25873 $as_echo_n "(cached) " >&6
25874 else
25875
25876
25877 ac_ext=cpp
25878 ac_cpp='$CXXCPP $CPPFLAGS'
25879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25882
25883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25884 /* end confdefs.h. */
25885 #include <math.h>
25886 #ifdef HAVE_IEEEFP_H
25887 #include <ieeefp.h>
25888 #endif
25889
25890 int
25891 main ()
25892 {
25893 _log10l(0);
25894 ;
25895 return 0;
25896 }
25897 _ACEOF
25898 if ac_fn_cxx_try_compile "$LINENO"; then :
25899 glibcxx_cv_func__log10l_use=yes
25900 else
25901 glibcxx_cv_func__log10l_use=no
25902 fi
25903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25904 ac_ext=c
25905 ac_cpp='$CPP $CPPFLAGS'
25906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25909
25910
25911 fi
25912
25913 fi
25914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25915 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25916
25917 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25918 for ac_func in _log10l
25919 do :
25920 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25921 if test "x$ac_cv_func__log10l" = x""yes; then :
25922 cat >>confdefs.h <<_ACEOF
25923 #define HAVE__LOG10L 1
25924 _ACEOF
25925
25926 fi
25927 done
25928
25929 fi
25930 fi
25931
25932
25933
25934
25935
25936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25937 $as_echo_n "checking for modfl declaration... " >&6; }
25938 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25939 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25940 $as_echo_n "(cached) " >&6
25941 else
25942
25943
25944 ac_ext=cpp
25945 ac_cpp='$CXXCPP $CPPFLAGS'
25946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25949
25950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25951 /* end confdefs.h. */
25952 #include <math.h>
25953 int
25954 main ()
25955 {
25956 modfl(0, 0);
25957 ;
25958 return 0;
25959 }
25960 _ACEOF
25961 if ac_fn_cxx_try_compile "$LINENO"; then :
25962 glibcxx_cv_func_modfl_use=yes
25963 else
25964 glibcxx_cv_func_modfl_use=no
25965 fi
25966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25967 ac_ext=c
25968 ac_cpp='$CPP $CPPFLAGS'
25969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25972
25973
25974 fi
25975
25976 fi
25977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25978 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25979
25980 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25981 for ac_func in modfl
25982 do :
25983 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25984 if test "x$ac_cv_func_modfl" = x""yes; then :
25985 cat >>confdefs.h <<_ACEOF
25986 #define HAVE_MODFL 1
25987 _ACEOF
25988
25989 fi
25990 done
25991
25992 else
25993
25994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25995 $as_echo_n "checking for _modfl declaration... " >&6; }
25996 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25997 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25998 $as_echo_n "(cached) " >&6
25999 else
26000
26001
26002 ac_ext=cpp
26003 ac_cpp='$CXXCPP $CPPFLAGS'
26004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26007
26008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26009 /* end confdefs.h. */
26010 #include <math.h>
26011 int
26012 main ()
26013 {
26014 _modfl(0, 0);
26015 ;
26016 return 0;
26017 }
26018 _ACEOF
26019 if ac_fn_cxx_try_compile "$LINENO"; then :
26020 glibcxx_cv_func__modfl_use=yes
26021 else
26022 glibcxx_cv_func__modfl_use=no
26023 fi
26024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26025 ac_ext=c
26026 ac_cpp='$CPP $CPPFLAGS'
26027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26030
26031
26032 fi
26033
26034 fi
26035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26036 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26037
26038 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26039 for ac_func in _modfl
26040 do :
26041 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26042 if test "x$ac_cv_func__modfl" = x""yes; then :
26043 cat >>confdefs.h <<_ACEOF
26044 #define HAVE__MODFL 1
26045 _ACEOF
26046
26047 fi
26048 done
26049
26050 fi
26051 fi
26052
26053
26054
26055
26056
26057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26058 $as_echo_n "checking for powl declaration... " >&6; }
26059 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26060 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26061 $as_echo_n "(cached) " >&6
26062 else
26063
26064
26065 ac_ext=cpp
26066 ac_cpp='$CXXCPP $CPPFLAGS'
26067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26070
26071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26072 /* end confdefs.h. */
26073 #include <math.h>
26074 int
26075 main ()
26076 {
26077 powl(0, 0);
26078 ;
26079 return 0;
26080 }
26081 _ACEOF
26082 if ac_fn_cxx_try_compile "$LINENO"; then :
26083 glibcxx_cv_func_powl_use=yes
26084 else
26085 glibcxx_cv_func_powl_use=no
26086 fi
26087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26088 ac_ext=c
26089 ac_cpp='$CPP $CPPFLAGS'
26090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26093
26094
26095 fi
26096
26097 fi
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26099 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26100
26101 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26102 for ac_func in powl
26103 do :
26104 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26105 if test "x$ac_cv_func_powl" = x""yes; then :
26106 cat >>confdefs.h <<_ACEOF
26107 #define HAVE_POWL 1
26108 _ACEOF
26109
26110 fi
26111 done
26112
26113 else
26114
26115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26116 $as_echo_n "checking for _powl declaration... " >&6; }
26117 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26118 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26119 $as_echo_n "(cached) " >&6
26120 else
26121
26122
26123 ac_ext=cpp
26124 ac_cpp='$CXXCPP $CPPFLAGS'
26125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26128
26129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26130 /* end confdefs.h. */
26131 #include <math.h>
26132 int
26133 main ()
26134 {
26135 _powl(0, 0);
26136 ;
26137 return 0;
26138 }
26139 _ACEOF
26140 if ac_fn_cxx_try_compile "$LINENO"; then :
26141 glibcxx_cv_func__powl_use=yes
26142 else
26143 glibcxx_cv_func__powl_use=no
26144 fi
26145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26146 ac_ext=c
26147 ac_cpp='$CPP $CPPFLAGS'
26148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26151
26152
26153 fi
26154
26155 fi
26156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26157 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26158
26159 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26160 for ac_func in _powl
26161 do :
26162 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26163 if test "x$ac_cv_func__powl" = x""yes; then :
26164 cat >>confdefs.h <<_ACEOF
26165 #define HAVE__POWL 1
26166 _ACEOF
26167
26168 fi
26169 done
26170
26171 fi
26172 fi
26173
26174
26175
26176
26177
26178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26179 $as_echo_n "checking for sqrtl declaration... " >&6; }
26180 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26181 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26182 $as_echo_n "(cached) " >&6
26183 else
26184
26185
26186 ac_ext=cpp
26187 ac_cpp='$CXXCPP $CPPFLAGS'
26188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26191
26192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26193 /* end confdefs.h. */
26194 #include <math.h>
26195 #ifdef HAVE_IEEEFP_H
26196 #include <ieeefp.h>
26197 #endif
26198
26199 int
26200 main ()
26201 {
26202 sqrtl(0);
26203 ;
26204 return 0;
26205 }
26206 _ACEOF
26207 if ac_fn_cxx_try_compile "$LINENO"; then :
26208 glibcxx_cv_func_sqrtl_use=yes
26209 else
26210 glibcxx_cv_func_sqrtl_use=no
26211 fi
26212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26213 ac_ext=c
26214 ac_cpp='$CPP $CPPFLAGS'
26215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26218
26219
26220 fi
26221
26222 fi
26223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26224 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26225
26226 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26227 for ac_func in sqrtl
26228 do :
26229 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26230 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26231 cat >>confdefs.h <<_ACEOF
26232 #define HAVE_SQRTL 1
26233 _ACEOF
26234
26235 fi
26236 done
26237
26238 else
26239
26240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26241 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26242 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26243 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26244 $as_echo_n "(cached) " >&6
26245 else
26246
26247
26248 ac_ext=cpp
26249 ac_cpp='$CXXCPP $CPPFLAGS'
26250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26253
26254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26255 /* end confdefs.h. */
26256 #include <math.h>
26257 #ifdef HAVE_IEEEFP_H
26258 #include <ieeefp.h>
26259 #endif
26260
26261 int
26262 main ()
26263 {
26264 _sqrtl(0);
26265 ;
26266 return 0;
26267 }
26268 _ACEOF
26269 if ac_fn_cxx_try_compile "$LINENO"; then :
26270 glibcxx_cv_func__sqrtl_use=yes
26271 else
26272 glibcxx_cv_func__sqrtl_use=no
26273 fi
26274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26275 ac_ext=c
26276 ac_cpp='$CPP $CPPFLAGS'
26277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26280
26281
26282 fi
26283
26284 fi
26285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26286 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26287
26288 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26289 for ac_func in _sqrtl
26290 do :
26291 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26292 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26293 cat >>confdefs.h <<_ACEOF
26294 #define HAVE__SQRTL 1
26295 _ACEOF
26296
26297 fi
26298 done
26299
26300 fi
26301 fi
26302
26303
26304
26305
26306
26307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26308 $as_echo_n "checking for sincosl declaration... " >&6; }
26309 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26310 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26311 $as_echo_n "(cached) " >&6
26312 else
26313
26314
26315 ac_ext=cpp
26316 ac_cpp='$CXXCPP $CPPFLAGS'
26317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26320
26321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26322 /* end confdefs.h. */
26323 #include <math.h>
26324 int
26325 main ()
26326 {
26327 sincosl(0, 0, 0);
26328 ;
26329 return 0;
26330 }
26331 _ACEOF
26332 if ac_fn_cxx_try_compile "$LINENO"; then :
26333 glibcxx_cv_func_sincosl_use=yes
26334 else
26335 glibcxx_cv_func_sincosl_use=no
26336 fi
26337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26338 ac_ext=c
26339 ac_cpp='$CPP $CPPFLAGS'
26340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26343
26344
26345 fi
26346
26347 fi
26348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26349 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26350
26351 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26352 for ac_func in sincosl
26353 do :
26354 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26355 if test "x$ac_cv_func_sincosl" = x""yes; then :
26356 cat >>confdefs.h <<_ACEOF
26357 #define HAVE_SINCOSL 1
26358 _ACEOF
26359
26360 fi
26361 done
26362
26363 else
26364
26365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26366 $as_echo_n "checking for _sincosl declaration... " >&6; }
26367 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26368 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26369 $as_echo_n "(cached) " >&6
26370 else
26371
26372
26373 ac_ext=cpp
26374 ac_cpp='$CXXCPP $CPPFLAGS'
26375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26378
26379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26380 /* end confdefs.h. */
26381 #include <math.h>
26382 int
26383 main ()
26384 {
26385 _sincosl(0, 0, 0);
26386 ;
26387 return 0;
26388 }
26389 _ACEOF
26390 if ac_fn_cxx_try_compile "$LINENO"; then :
26391 glibcxx_cv_func__sincosl_use=yes
26392 else
26393 glibcxx_cv_func__sincosl_use=no
26394 fi
26395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26396 ac_ext=c
26397 ac_cpp='$CPP $CPPFLAGS'
26398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26401
26402
26403 fi
26404
26405 fi
26406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26407 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26408
26409 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26410 for ac_func in _sincosl
26411 do :
26412 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26413 if test "x$ac_cv_func__sincosl" = x""yes; then :
26414 cat >>confdefs.h <<_ACEOF
26415 #define HAVE__SINCOSL 1
26416 _ACEOF
26417
26418 fi
26419 done
26420
26421 fi
26422 fi
26423
26424
26425
26426
26427
26428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26429 $as_echo_n "checking for finitel declaration... " >&6; }
26430 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26431 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26432 $as_echo_n "(cached) " >&6
26433 else
26434
26435
26436 ac_ext=cpp
26437 ac_cpp='$CXXCPP $CPPFLAGS'
26438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26441
26442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26443 /* end confdefs.h. */
26444 #include <math.h>
26445 #ifdef HAVE_IEEEFP_H
26446 #include <ieeefp.h>
26447 #endif
26448
26449 int
26450 main ()
26451 {
26452 finitel(0);
26453 ;
26454 return 0;
26455 }
26456 _ACEOF
26457 if ac_fn_cxx_try_compile "$LINENO"; then :
26458 glibcxx_cv_func_finitel_use=yes
26459 else
26460 glibcxx_cv_func_finitel_use=no
26461 fi
26462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26463 ac_ext=c
26464 ac_cpp='$CPP $CPPFLAGS'
26465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26468
26469
26470 fi
26471
26472 fi
26473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26474 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26475
26476 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26477 for ac_func in finitel
26478 do :
26479 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26480 if test "x$ac_cv_func_finitel" = x""yes; then :
26481 cat >>confdefs.h <<_ACEOF
26482 #define HAVE_FINITEL 1
26483 _ACEOF
26484
26485 fi
26486 done
26487
26488 else
26489
26490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26491 $as_echo_n "checking for _finitel declaration... " >&6; }
26492 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26493 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26494 $as_echo_n "(cached) " >&6
26495 else
26496
26497
26498 ac_ext=cpp
26499 ac_cpp='$CXXCPP $CPPFLAGS'
26500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26503
26504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26505 /* end confdefs.h. */
26506 #include <math.h>
26507 #ifdef HAVE_IEEEFP_H
26508 #include <ieeefp.h>
26509 #endif
26510
26511 int
26512 main ()
26513 {
26514 _finitel(0);
26515 ;
26516 return 0;
26517 }
26518 _ACEOF
26519 if ac_fn_cxx_try_compile "$LINENO"; then :
26520 glibcxx_cv_func__finitel_use=yes
26521 else
26522 glibcxx_cv_func__finitel_use=no
26523 fi
26524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26525 ac_ext=c
26526 ac_cpp='$CPP $CPPFLAGS'
26527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26530
26531
26532 fi
26533
26534 fi
26535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26536 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26537
26538 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26539 for ac_func in _finitel
26540 do :
26541 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26542 if test "x$ac_cv_func__finitel" = x""yes; then :
26543 cat >>confdefs.h <<_ACEOF
26544 #define HAVE__FINITEL 1
26545 _ACEOF
26546
26547 fi
26548 done
26549
26550 fi
26551 fi
26552
26553
26554
26555
26556 LIBS="$ac_save_LIBS"
26557 CXXFLAGS="$ac_save_CXXFLAGS"
26558
26559
26560 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26561 ac_save_CXXFLAGS="$CXXFLAGS"
26562 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26563
26564
26565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26566 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26567 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26568 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26569 $as_echo_n "(cached) " >&6
26570 else
26571
26572
26573 ac_ext=cpp
26574 ac_cpp='$CXXCPP $CPPFLAGS'
26575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26578
26579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26580 /* end confdefs.h. */
26581 #include <stdlib.h>
26582 int
26583 main ()
26584 {
26585 at_quick_exit(0);
26586 ;
26587 return 0;
26588 }
26589 _ACEOF
26590 if ac_fn_cxx_try_compile "$LINENO"; then :
26591 glibcxx_cv_func_at_quick_exit_use=yes
26592 else
26593 glibcxx_cv_func_at_quick_exit_use=no
26594 fi
26595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26596 ac_ext=c
26597 ac_cpp='$CPP $CPPFLAGS'
26598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26601
26602
26603 fi
26604
26605 fi
26606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26607 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26608 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26609 for ac_func in at_quick_exit
26610 do :
26611 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26612 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26613 cat >>confdefs.h <<_ACEOF
26614 #define HAVE_AT_QUICK_EXIT 1
26615 _ACEOF
26616
26617 fi
26618 done
26619
26620 fi
26621
26622
26623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26624 $as_echo_n "checking for quick_exit declaration... " >&6; }
26625 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26626 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26627 $as_echo_n "(cached) " >&6
26628 else
26629
26630
26631 ac_ext=cpp
26632 ac_cpp='$CXXCPP $CPPFLAGS'
26633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26636
26637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26638 /* end confdefs.h. */
26639 #include <stdlib.h>
26640 int
26641 main ()
26642 {
26643 quick_exit(0);
26644 ;
26645 return 0;
26646 }
26647 _ACEOF
26648 if ac_fn_cxx_try_compile "$LINENO"; then :
26649 glibcxx_cv_func_quick_exit_use=yes
26650 else
26651 glibcxx_cv_func_quick_exit_use=no
26652 fi
26653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26654 ac_ext=c
26655 ac_cpp='$CPP $CPPFLAGS'
26656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26659
26660
26661 fi
26662
26663 fi
26664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26665 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26666 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26667 for ac_func in quick_exit
26668 do :
26669 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26670 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26671 cat >>confdefs.h <<_ACEOF
26672 #define HAVE_QUICK_EXIT 1
26673 _ACEOF
26674
26675 fi
26676 done
26677
26678 fi
26679
26680
26681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26682 $as_echo_n "checking for strtold declaration... " >&6; }
26683 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26684 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26685 $as_echo_n "(cached) " >&6
26686 else
26687
26688
26689 ac_ext=cpp
26690 ac_cpp='$CXXCPP $CPPFLAGS'
26691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26694
26695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26696 /* end confdefs.h. */
26697 #include <stdlib.h>
26698 int
26699 main ()
26700 {
26701 strtold(0, 0);
26702 ;
26703 return 0;
26704 }
26705 _ACEOF
26706 if ac_fn_cxx_try_compile "$LINENO"; then :
26707 glibcxx_cv_func_strtold_use=yes
26708 else
26709 glibcxx_cv_func_strtold_use=no
26710 fi
26711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26712 ac_ext=c
26713 ac_cpp='$CPP $CPPFLAGS'
26714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26717
26718
26719 fi
26720
26721 fi
26722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26723 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26724 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26725 for ac_func in strtold
26726 do :
26727 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26728 if test "x$ac_cv_func_strtold" = x""yes; then :
26729 cat >>confdefs.h <<_ACEOF
26730 #define HAVE_STRTOLD 1
26731 _ACEOF
26732
26733 fi
26734 done
26735
26736 fi
26737
26738
26739
26740
26741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26742 $as_echo_n "checking for strtof declaration... " >&6; }
26743 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26744 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26745 $as_echo_n "(cached) " >&6
26746 else
26747
26748
26749 ac_ext=cpp
26750 ac_cpp='$CXXCPP $CPPFLAGS'
26751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26754
26755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26756 /* end confdefs.h. */
26757 #include <stdlib.h>
26758 int
26759 main ()
26760 {
26761 strtof(0, 0);
26762 ;
26763 return 0;
26764 }
26765 _ACEOF
26766 if ac_fn_cxx_try_compile "$LINENO"; then :
26767 glibcxx_cv_func_strtof_use=yes
26768 else
26769 glibcxx_cv_func_strtof_use=no
26770 fi
26771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26772 ac_ext=c
26773 ac_cpp='$CPP $CPPFLAGS'
26774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26777
26778
26779 fi
26780
26781 fi
26782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26783 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26784 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26785 for ac_func in strtof
26786 do :
26787 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26788 if test "x$ac_cv_func_strtof" = x""yes; then :
26789 cat >>confdefs.h <<_ACEOF
26790 #define HAVE_STRTOF 1
26791 _ACEOF
26792
26793 fi
26794 done
26795
26796 fi
26797
26798
26799
26800
26801 CXXFLAGS="$ac_save_CXXFLAGS"
26802
26803
26804 # For /dev/random and /dev/urandom for TR1.
26805
26806
26807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26808 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26809 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26810 $as_echo_n "(cached) " >&6
26811 else
26812
26813 if test -r /dev/random && test -r /dev/urandom; then
26814 ## For MSys environment the test above is detect as false-positive
26815 ## on mingw-targets. So disable it explicit for them.
26816 case ${target_os} in
26817 *mingw*) glibcxx_cv_random_tr1=no ;;
26818 *) glibcxx_cv_random_tr1=yes ;;
26819 esac
26820 else
26821 glibcxx_cv_random_tr1=no;
26822 fi
26823
26824 fi
26825
26826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26827 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26828
26829 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26830
26831 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26832
26833 fi
26834
26835
26836
26837 # For TLS support.
26838
26839
26840 # Check whether --enable-tls was given.
26841 if test "${enable_tls+set}" = set; then :
26842 enableval=$enable_tls;
26843 case "$enableval" in
26844 yes|no) ;;
26845 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26846 esac
26847
26848 else
26849 enable_tls=yes
26850 fi
26851
26852
26853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26854 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26855 if test "${gcc_cv_have_tls+set}" = set; then :
26856 $as_echo_n "(cached) " >&6
26857 else
26858
26859 if test "$cross_compiling" = yes; then :
26860 if test x$gcc_no_link = xyes; then
26861 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26862 fi
26863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26864 /* end confdefs.h. */
26865 __thread int a; int b; int main() { return a = b; }
26866 _ACEOF
26867 if ac_fn_c_try_link "$LINENO"; then :
26868 chktls_save_LDFLAGS="$LDFLAGS"
26869 case $host in
26870 *-*-linux*)
26871 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26872 ;;
26873 esac
26874 chktls_save_CFLAGS="$CFLAGS"
26875 CFLAGS="-fPIC $CFLAGS"
26876 if test x$gcc_no_link = xyes; then
26877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26878 fi
26879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26880 /* end confdefs.h. */
26881 int f() { return 0; }
26882 _ACEOF
26883 if ac_fn_c_try_link "$LINENO"; then :
26884 if test x$gcc_no_link = xyes; then
26885 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26886 fi
26887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26888 /* end confdefs.h. */
26889 __thread int a; int b; int f() { return a = b; }
26890 _ACEOF
26891 if ac_fn_c_try_link "$LINENO"; then :
26892 gcc_cv_have_tls=yes
26893 else
26894 gcc_cv_have_tls=no
26895 fi
26896 rm -f core conftest.err conftest.$ac_objext \
26897 conftest$ac_exeext conftest.$ac_ext
26898 else
26899 gcc_cv_have_tls=yes
26900 fi
26901 rm -f core conftest.err conftest.$ac_objext \
26902 conftest$ac_exeext conftest.$ac_ext
26903 CFLAGS="$chktls_save_CFLAGS"
26904 LDFLAGS="$chktls_save_LDFLAGS"
26905 else
26906 gcc_cv_have_tls=no
26907 fi
26908 rm -f core conftest.err conftest.$ac_objext \
26909 conftest$ac_exeext conftest.$ac_ext
26910
26911
26912 else
26913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26914 /* end confdefs.h. */
26915 __thread int a; int b; int main() { return a = b; }
26916 _ACEOF
26917 if ac_fn_c_try_run "$LINENO"; then :
26918 chktls_save_LDFLAGS="$LDFLAGS"
26919 LDFLAGS="-static $LDFLAGS"
26920 if test x$gcc_no_link = xyes; then
26921 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26922 fi
26923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26924 /* end confdefs.h. */
26925 int main() { return 0; }
26926 _ACEOF
26927 if ac_fn_c_try_link "$LINENO"; then :
26928 if test "$cross_compiling" = yes; then :
26929 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26931 as_fn_error "cannot run test program while cross compiling
26932 See \`config.log' for more details." "$LINENO" 5; }
26933 else
26934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26935 /* end confdefs.h. */
26936 __thread int a; int b; int main() { return a = b; }
26937 _ACEOF
26938 if ac_fn_c_try_run "$LINENO"; then :
26939 gcc_cv_have_tls=yes
26940 else
26941 gcc_cv_have_tls=no
26942 fi
26943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26944 conftest.$ac_objext conftest.beam conftest.$ac_ext
26945 fi
26946
26947 else
26948 gcc_cv_have_tls=yes
26949 fi
26950 rm -f core conftest.err conftest.$ac_objext \
26951 conftest$ac_exeext conftest.$ac_ext
26952 LDFLAGS="$chktls_save_LDFLAGS"
26953 if test $gcc_cv_have_tls = yes; then
26954 chktls_save_CFLAGS="$CFLAGS"
26955 thread_CFLAGS=failed
26956 for flag in '' '-pthread' '-lpthread'; do
26957 CFLAGS="$flag $chktls_save_CFLAGS"
26958 if test x$gcc_no_link = xyes; then
26959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26960 fi
26961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26962 /* end confdefs.h. */
26963 #include <pthread.h>
26964 void *g(void *d) { return NULL; }
26965 int
26966 main ()
26967 {
26968 pthread_t t; pthread_create(&t,NULL,g,NULL);
26969 ;
26970 return 0;
26971 }
26972 _ACEOF
26973 if ac_fn_c_try_link "$LINENO"; then :
26974 thread_CFLAGS="$flag"
26975 fi
26976 rm -f core conftest.err conftest.$ac_objext \
26977 conftest$ac_exeext conftest.$ac_ext
26978 if test "X$thread_CFLAGS" != Xfailed; then
26979 break
26980 fi
26981 done
26982 CFLAGS="$chktls_save_CFLAGS"
26983 if test "X$thread_CFLAGS" != Xfailed; then
26984 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26985 if test "$cross_compiling" = yes; then :
26986 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26988 as_fn_error "cannot run test program while cross compiling
26989 See \`config.log' for more details." "$LINENO" 5; }
26990 else
26991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26992 /* end confdefs.h. */
26993 #include <pthread.h>
26994 __thread int a;
26995 static int *volatile a_in_other_thread;
26996 static void *
26997 thread_func (void *arg)
26998 {
26999 a_in_other_thread = &a;
27000 return (void *)0;
27001 }
27002 int
27003 main ()
27004 {
27005 pthread_t thread;
27006 void *thread_retval;
27007 int *volatile a_in_main_thread;
27008 a_in_main_thread = &a;
27009 if (pthread_create (&thread, (pthread_attr_t *)0,
27010 thread_func, (void *)0))
27011 return 0;
27012 if (pthread_join (thread, &thread_retval))
27013 return 0;
27014 return (a_in_other_thread == a_in_main_thread);
27015 ;
27016 return 0;
27017 }
27018 _ACEOF
27019 if ac_fn_c_try_run "$LINENO"; then :
27020 gcc_cv_have_tls=yes
27021 else
27022 gcc_cv_have_tls=no
27023 fi
27024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27025 conftest.$ac_objext conftest.beam conftest.$ac_ext
27026 fi
27027
27028 CFLAGS="$chktls_save_CFLAGS"
27029 fi
27030 fi
27031 else
27032 gcc_cv_have_tls=no
27033 fi
27034 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27035 conftest.$ac_objext conftest.beam conftest.$ac_ext
27036 fi
27037
27038 fi
27039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27040 $as_echo "$gcc_cv_have_tls" >&6; }
27041 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27042
27043 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27044
27045 fi
27046
27047 for ac_func in __cxa_thread_atexit_impl
27048 do :
27049 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27050 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27051 cat >>confdefs.h <<_ACEOF
27052 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27053 _ACEOF
27054
27055 fi
27056 done
27057
27058
27059 # For iconv support.
27060
27061 if test "X$prefix" = "XNONE"; then
27062 acl_final_prefix="$ac_default_prefix"
27063 else
27064 acl_final_prefix="$prefix"
27065 fi
27066 if test "X$exec_prefix" = "XNONE"; then
27067 acl_final_exec_prefix='${prefix}'
27068 else
27069 acl_final_exec_prefix="$exec_prefix"
27070 fi
27071 acl_save_prefix="$prefix"
27072 prefix="$acl_final_prefix"
27073 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27074 prefix="$acl_save_prefix"
27075
27076
27077 # Check whether --with-gnu-ld was given.
27078 if test "${with_gnu_ld+set}" = set; then :
27079 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27080 else
27081 with_gnu_ld=no
27082 fi
27083
27084 # Prepare PATH_SEPARATOR.
27085 # The user is always right.
27086 if test "${PATH_SEPARATOR+set}" != set; then
27087 echo "#! /bin/sh" >conf$$.sh
27088 echo "exit 0" >>conf$$.sh
27089 chmod +x conf$$.sh
27090 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27091 PATH_SEPARATOR=';'
27092 else
27093 PATH_SEPARATOR=:
27094 fi
27095 rm -f conf$$.sh
27096 fi
27097 ac_prog=ld
27098 if test "$GCC" = yes; then
27099 # Check if gcc -print-prog-name=ld gives a path.
27100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27101 $as_echo_n "checking for ld used by GCC... " >&6; }
27102 case $host in
27103 *-*-mingw*)
27104 # gcc leaves a trailing carriage return which upsets mingw
27105 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27106 *)
27107 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27108 esac
27109 case $ac_prog in
27110 # Accept absolute paths.
27111 [\\/]* | [A-Za-z]:[\\/]*)
27112 re_direlt='/[^/][^/]*/\.\./'
27113 # Canonicalize the path of ld
27114 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27115 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27116 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27117 done
27118 test -z "$LD" && LD="$ac_prog"
27119 ;;
27120 "")
27121 # If it fails, then pretend we aren't using GCC.
27122 ac_prog=ld
27123 ;;
27124 *)
27125 # If it is relative, then search for the first ld in PATH.
27126 with_gnu_ld=unknown
27127 ;;
27128 esac
27129 elif test "$with_gnu_ld" = yes; then
27130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27131 $as_echo_n "checking for GNU ld... " >&6; }
27132 else
27133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27134 $as_echo_n "checking for non-GNU ld... " >&6; }
27135 fi
27136 if test "${acl_cv_path_LD+set}" = set; then :
27137 $as_echo_n "(cached) " >&6
27138 else
27139 if test -z "$LD"; then
27140 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27141 for ac_dir in $PATH; do
27142 test -z "$ac_dir" && ac_dir=.
27143 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27144 acl_cv_path_LD="$ac_dir/$ac_prog"
27145 # Check to see if the program is GNU ld. I'd rather use --version,
27146 # but apparently some GNU ld's only accept -v.
27147 # Break only if it was the GNU/non-GNU ld that we prefer.
27148 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27149 test "$with_gnu_ld" != no && break
27150 else
27151 test "$with_gnu_ld" != yes && break
27152 fi
27153 fi
27154 done
27155 IFS="$ac_save_ifs"
27156 else
27157 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27158 fi
27159 fi
27160
27161 LD="$acl_cv_path_LD"
27162 if test -n "$LD"; then
27163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27164 $as_echo "$LD" >&6; }
27165 else
27166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27167 $as_echo "no" >&6; }
27168 fi
27169 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27171 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27172 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27173 $as_echo_n "(cached) " >&6
27174 else
27175 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27176 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27177 acl_cv_prog_gnu_ld=yes
27178 else
27179 acl_cv_prog_gnu_ld=no
27180 fi
27181 fi
27182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27183 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27184 with_gnu_ld=$acl_cv_prog_gnu_ld
27185
27186
27187
27188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27189 $as_echo_n "checking for shared library run path origin... " >&6; }
27190 if test "${acl_cv_rpath+set}" = set; then :
27191 $as_echo_n "(cached) " >&6
27192 else
27193
27194 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27195 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27196 . ./conftest.sh
27197 rm -f ./conftest.sh
27198 acl_cv_rpath=done
27199
27200 fi
27201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27202 $as_echo "$acl_cv_rpath" >&6; }
27203 wl="$acl_cv_wl"
27204 libext="$acl_cv_libext"
27205 shlibext="$acl_cv_shlibext"
27206 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27207 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27208 hardcode_direct="$acl_cv_hardcode_direct"
27209 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27210 # Check whether --enable-rpath was given.
27211 if test "${enable_rpath+set}" = set; then :
27212 enableval=$enable_rpath; :
27213 else
27214 enable_rpath=yes
27215 fi
27216
27217
27218
27219
27220
27221
27222
27223
27224 use_additional=yes
27225
27226 acl_save_prefix="$prefix"
27227 prefix="$acl_final_prefix"
27228 acl_save_exec_prefix="$exec_prefix"
27229 exec_prefix="$acl_final_exec_prefix"
27230
27231 eval additional_includedir=\"$includedir\"
27232 eval additional_libdir=\"$libdir\"
27233
27234 exec_prefix="$acl_save_exec_prefix"
27235 prefix="$acl_save_prefix"
27236
27237
27238 # Check whether --with-libiconv-prefix was given.
27239 if test "${with_libiconv_prefix+set}" = set; then :
27240 withval=$with_libiconv_prefix;
27241 if test "X$withval" = "Xno"; then
27242 use_additional=no
27243 else
27244 if test "X$withval" = "X"; then
27245
27246 acl_save_prefix="$prefix"
27247 prefix="$acl_final_prefix"
27248 acl_save_exec_prefix="$exec_prefix"
27249 exec_prefix="$acl_final_exec_prefix"
27250
27251 eval additional_includedir=\"$includedir\"
27252 eval additional_libdir=\"$libdir\"
27253
27254 exec_prefix="$acl_save_exec_prefix"
27255 prefix="$acl_save_prefix"
27256
27257 else
27258 additional_includedir="$withval/include"
27259 additional_libdir="$withval/lib"
27260 fi
27261 fi
27262
27263 fi
27264
27265 LIBICONV=
27266 LTLIBICONV=
27267 INCICONV=
27268 rpathdirs=
27269 ltrpathdirs=
27270 names_already_handled=
27271 names_next_round='iconv '
27272 while test -n "$names_next_round"; do
27273 names_this_round="$names_next_round"
27274 names_next_round=
27275 for name in $names_this_round; do
27276 already_handled=
27277 for n in $names_already_handled; do
27278 if test "$n" = "$name"; then
27279 already_handled=yes
27280 break
27281 fi
27282 done
27283 if test -z "$already_handled"; then
27284 names_already_handled="$names_already_handled $name"
27285 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27286 eval value=\"\$HAVE_LIB$uppername\"
27287 if test -n "$value"; then
27288 if test "$value" = yes; then
27289 eval value=\"\$LIB$uppername\"
27290 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27291 eval value=\"\$LTLIB$uppername\"
27292 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27293 else
27294 :
27295 fi
27296 else
27297 found_dir=
27298 found_la=
27299 found_so=
27300 found_a=
27301 if test $use_additional = yes; then
27302 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27303 found_dir="$additional_libdir"
27304 found_so="$additional_libdir/lib$name.$shlibext"
27305 if test -f "$additional_libdir/lib$name.la"; then
27306 found_la="$additional_libdir/lib$name.la"
27307 fi
27308 else
27309 if test -f "$additional_libdir/lib$name.$libext"; then
27310 found_dir="$additional_libdir"
27311 found_a="$additional_libdir/lib$name.$libext"
27312 if test -f "$additional_libdir/lib$name.la"; then
27313 found_la="$additional_libdir/lib$name.la"
27314 fi
27315 fi
27316 fi
27317 fi
27318 if test "X$found_dir" = "X"; then
27319 for x in $LDFLAGS $LTLIBICONV; do
27320
27321 acl_save_prefix="$prefix"
27322 prefix="$acl_final_prefix"
27323 acl_save_exec_prefix="$exec_prefix"
27324 exec_prefix="$acl_final_exec_prefix"
27325 eval x=\"$x\"
27326 exec_prefix="$acl_save_exec_prefix"
27327 prefix="$acl_save_prefix"
27328
27329 case "$x" in
27330 -L*)
27331 dir=`echo "X$x" | sed -e 's/^X-L//'`
27332 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27333 found_dir="$dir"
27334 found_so="$dir/lib$name.$shlibext"
27335 if test -f "$dir/lib$name.la"; then
27336 found_la="$dir/lib$name.la"
27337 fi
27338 else
27339 if test -f "$dir/lib$name.$libext"; then
27340 found_dir="$dir"
27341 found_a="$dir/lib$name.$libext"
27342 if test -f "$dir/lib$name.la"; then
27343 found_la="$dir/lib$name.la"
27344 fi
27345 fi
27346 fi
27347 ;;
27348 esac
27349 if test "X$found_dir" != "X"; then
27350 break
27351 fi
27352 done
27353 fi
27354 if test "X$found_dir" != "X"; then
27355 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27356 if test "X$found_so" != "X"; then
27357 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27358 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27359 else
27360 haveit=
27361 for x in $ltrpathdirs; do
27362 if test "X$x" = "X$found_dir"; then
27363 haveit=yes
27364 break
27365 fi
27366 done
27367 if test -z "$haveit"; then
27368 ltrpathdirs="$ltrpathdirs $found_dir"
27369 fi
27370 if test "$hardcode_direct" = yes; then
27371 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27372 else
27373 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27374 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27375 haveit=
27376 for x in $rpathdirs; do
27377 if test "X$x" = "X$found_dir"; then
27378 haveit=yes
27379 break
27380 fi
27381 done
27382 if test -z "$haveit"; then
27383 rpathdirs="$rpathdirs $found_dir"
27384 fi
27385 else
27386 haveit=
27387 for x in $LDFLAGS $LIBICONV; do
27388
27389 acl_save_prefix="$prefix"
27390 prefix="$acl_final_prefix"
27391 acl_save_exec_prefix="$exec_prefix"
27392 exec_prefix="$acl_final_exec_prefix"
27393 eval x=\"$x\"
27394 exec_prefix="$acl_save_exec_prefix"
27395 prefix="$acl_save_prefix"
27396
27397 if test "X$x" = "X-L$found_dir"; then
27398 haveit=yes
27399 break
27400 fi
27401 done
27402 if test -z "$haveit"; then
27403 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27404 fi
27405 if test "$hardcode_minus_L" != no; then
27406 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27407 else
27408 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27409 fi
27410 fi
27411 fi
27412 fi
27413 else
27414 if test "X$found_a" != "X"; then
27415 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27416 else
27417 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27418 fi
27419 fi
27420 additional_includedir=
27421 case "$found_dir" in
27422 */lib | */lib/)
27423 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27424 additional_includedir="$basedir/include"
27425 ;;
27426 esac
27427 if test "X$additional_includedir" != "X"; then
27428 if test "X$additional_includedir" != "X/usr/include"; then
27429 haveit=
27430 if test "X$additional_includedir" = "X/usr/local/include"; then
27431 if test -n "$GCC"; then
27432 case $host_os in
27433 linux*) haveit=yes;;
27434 esac
27435 fi
27436 fi
27437 if test -z "$haveit"; then
27438 for x in $CPPFLAGS $INCICONV; do
27439
27440 acl_save_prefix="$prefix"
27441 prefix="$acl_final_prefix"
27442 acl_save_exec_prefix="$exec_prefix"
27443 exec_prefix="$acl_final_exec_prefix"
27444 eval x=\"$x\"
27445 exec_prefix="$acl_save_exec_prefix"
27446 prefix="$acl_save_prefix"
27447
27448 if test "X$x" = "X-I$additional_includedir"; then
27449 haveit=yes
27450 break
27451 fi
27452 done
27453 if test -z "$haveit"; then
27454 if test -d "$additional_includedir"; then
27455 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27456 fi
27457 fi
27458 fi
27459 fi
27460 fi
27461 if test -n "$found_la"; then
27462 save_libdir="$libdir"
27463 case "$found_la" in
27464 */* | *\\*) . "$found_la" ;;
27465 *) . "./$found_la" ;;
27466 esac
27467 libdir="$save_libdir"
27468 for dep in $dependency_libs; do
27469 case "$dep" in
27470 -L*)
27471 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27472 if test "X$additional_libdir" != "X/usr/lib"; then
27473 haveit=
27474 if test "X$additional_libdir" = "X/usr/local/lib"; then
27475 if test -n "$GCC"; then
27476 case $host_os in
27477 linux*) haveit=yes;;
27478 esac
27479 fi
27480 fi
27481 if test -z "$haveit"; then
27482 haveit=
27483 for x in $LDFLAGS $LIBICONV; do
27484
27485 acl_save_prefix="$prefix"
27486 prefix="$acl_final_prefix"
27487 acl_save_exec_prefix="$exec_prefix"
27488 exec_prefix="$acl_final_exec_prefix"
27489 eval x=\"$x\"
27490 exec_prefix="$acl_save_exec_prefix"
27491 prefix="$acl_save_prefix"
27492
27493 if test "X$x" = "X-L$additional_libdir"; then
27494 haveit=yes
27495 break
27496 fi
27497 done
27498 if test -z "$haveit"; then
27499 if test -d "$additional_libdir"; then
27500 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27501 fi
27502 fi
27503 haveit=
27504 for x in $LDFLAGS $LTLIBICONV; do
27505
27506 acl_save_prefix="$prefix"
27507 prefix="$acl_final_prefix"
27508 acl_save_exec_prefix="$exec_prefix"
27509 exec_prefix="$acl_final_exec_prefix"
27510 eval x=\"$x\"
27511 exec_prefix="$acl_save_exec_prefix"
27512 prefix="$acl_save_prefix"
27513
27514 if test "X$x" = "X-L$additional_libdir"; then
27515 haveit=yes
27516 break
27517 fi
27518 done
27519 if test -z "$haveit"; then
27520 if test -d "$additional_libdir"; then
27521 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27522 fi
27523 fi
27524 fi
27525 fi
27526 ;;
27527 -R*)
27528 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27529 if test "$enable_rpath" != no; then
27530 haveit=
27531 for x in $rpathdirs; do
27532 if test "X$x" = "X$dir"; then
27533 haveit=yes
27534 break
27535 fi
27536 done
27537 if test -z "$haveit"; then
27538 rpathdirs="$rpathdirs $dir"
27539 fi
27540 haveit=
27541 for x in $ltrpathdirs; do
27542 if test "X$x" = "X$dir"; then
27543 haveit=yes
27544 break
27545 fi
27546 done
27547 if test -z "$haveit"; then
27548 ltrpathdirs="$ltrpathdirs $dir"
27549 fi
27550 fi
27551 ;;
27552 -l*)
27553 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27554 ;;
27555 *.la)
27556 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27557 ;;
27558 *)
27559 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27560 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27561 ;;
27562 esac
27563 done
27564 fi
27565 else
27566 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27567 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27568 fi
27569 fi
27570 fi
27571 done
27572 done
27573 if test "X$rpathdirs" != "X"; then
27574 if test -n "$hardcode_libdir_separator"; then
27575 alldirs=
27576 for found_dir in $rpathdirs; do
27577 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27578 done
27579 acl_save_libdir="$libdir"
27580 libdir="$alldirs"
27581 eval flag=\"$hardcode_libdir_flag_spec\"
27582 libdir="$acl_save_libdir"
27583 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27584 else
27585 for found_dir in $rpathdirs; do
27586 acl_save_libdir="$libdir"
27587 libdir="$found_dir"
27588 eval flag=\"$hardcode_libdir_flag_spec\"
27589 libdir="$acl_save_libdir"
27590 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27591 done
27592 fi
27593 fi
27594 if test "X$ltrpathdirs" != "X"; then
27595 for found_dir in $ltrpathdirs; do
27596 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27597 done
27598 fi
27599
27600
27601
27602
27603
27604
27605
27606 am_save_CPPFLAGS="$CPPFLAGS"
27607
27608 for element in $INCICONV; do
27609 haveit=
27610 for x in $CPPFLAGS; do
27611
27612 acl_save_prefix="$prefix"
27613 prefix="$acl_final_prefix"
27614 acl_save_exec_prefix="$exec_prefix"
27615 exec_prefix="$acl_final_exec_prefix"
27616 eval x=\"$x\"
27617 exec_prefix="$acl_save_exec_prefix"
27618 prefix="$acl_save_prefix"
27619
27620 if test "X$x" = "X$element"; then
27621 haveit=yes
27622 break
27623 fi
27624 done
27625 if test -z "$haveit"; then
27626 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27627 fi
27628 done
27629
27630
27631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27632 $as_echo_n "checking for iconv... " >&6; }
27633 if test "${am_cv_func_iconv+set}" = set; then :
27634 $as_echo_n "(cached) " >&6
27635 else
27636
27637 am_cv_func_iconv="no, consider installing GNU libiconv"
27638 am_cv_lib_iconv=no
27639 if test x$gcc_no_link = xyes; then
27640 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27641 fi
27642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27643 /* end confdefs.h. */
27644 #include <stdlib.h>
27645 #include <iconv.h>
27646 int
27647 main ()
27648 {
27649 iconv_t cd = iconv_open("","");
27650 iconv(cd,NULL,NULL,NULL,NULL);
27651 iconv_close(cd);
27652 ;
27653 return 0;
27654 }
27655 _ACEOF
27656 if ac_fn_c_try_link "$LINENO"; then :
27657 am_cv_func_iconv=yes
27658 fi
27659 rm -f core conftest.err conftest.$ac_objext \
27660 conftest$ac_exeext conftest.$ac_ext
27661 if test "$am_cv_func_iconv" != yes; then
27662 am_save_LIBS="$LIBS"
27663 LIBS="$LIBS $LIBICONV"
27664 if test x$gcc_no_link = xyes; then
27665 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27666 fi
27667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27668 /* end confdefs.h. */
27669 #include <stdlib.h>
27670 #include <iconv.h>
27671 int
27672 main ()
27673 {
27674 iconv_t cd = iconv_open("","");
27675 iconv(cd,NULL,NULL,NULL,NULL);
27676 iconv_close(cd);
27677 ;
27678 return 0;
27679 }
27680 _ACEOF
27681 if ac_fn_c_try_link "$LINENO"; then :
27682 am_cv_lib_iconv=yes
27683 am_cv_func_iconv=yes
27684 fi
27685 rm -f core conftest.err conftest.$ac_objext \
27686 conftest$ac_exeext conftest.$ac_ext
27687 LIBS="$am_save_LIBS"
27688 fi
27689
27690 fi
27691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27692 $as_echo "$am_cv_func_iconv" >&6; }
27693 if test "$am_cv_func_iconv" = yes; then
27694
27695 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27696
27697 fi
27698 if test "$am_cv_lib_iconv" = yes; then
27699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27700 $as_echo_n "checking how to link with libiconv... " >&6; }
27701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27702 $as_echo "$LIBICONV" >&6; }
27703 else
27704 CPPFLAGS="$am_save_CPPFLAGS"
27705 LIBICONV=
27706 LTLIBICONV=
27707 fi
27708
27709
27710
27711 if test "$am_cv_func_iconv" = yes; then
27712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27713 $as_echo_n "checking for iconv declaration... " >&6; }
27714 if test "${am_cv_proto_iconv+set}" = set; then :
27715 $as_echo_n "(cached) " >&6
27716 else
27717
27718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27719 /* end confdefs.h. */
27720
27721 #include <stdlib.h>
27722 #include <iconv.h>
27723 extern
27724 #ifdef __cplusplus
27725 "C"
27726 #endif
27727 #if defined(__STDC__) || defined(__cplusplus)
27728 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27729 #else
27730 size_t iconv();
27731 #endif
27732
27733 int
27734 main ()
27735 {
27736
27737 ;
27738 return 0;
27739 }
27740 _ACEOF
27741 if ac_fn_c_try_compile "$LINENO"; then :
27742 am_cv_proto_iconv_arg1=""
27743 else
27744 am_cv_proto_iconv_arg1="const"
27745 fi
27746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27747 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);"
27748 fi
27749
27750 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27752 }$am_cv_proto_iconv" >&5
27753 $as_echo "${ac_t:-
27754 }$am_cv_proto_iconv" >&6; }
27755
27756 cat >>confdefs.h <<_ACEOF
27757 #define ICONV_CONST $am_cv_proto_iconv_arg1
27758 _ACEOF
27759
27760 fi
27761
27762
27763 else
27764
27765 # This lets us hard-code the functionality we know we'll have in the cross
27766 # target environment. "Let" is a sugar-coated word placed on an especially
27767 # dull and tedious hack, actually.
27768 #
27769 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27770 # that involve linking, can't be used:
27771 # "cannot open sim-crt0.o"
27772 # "cannot open crt0.o"
27773 # etc. All this is because there currently exists no unified, consistent
27774 # way for top level CC information to be passed down to target directories:
27775 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27776 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27777 # crosses can be removed.
27778
27779 # If Canadian cross, then don't pick up tools from the build directory.
27780 # Used only in GLIBCXX_EXPORT_INCLUDES.
27781 if test -n "$with_cross_host" &&
27782 test x"$build_alias" != x"$with_cross_host" &&
27783 test x"$build" != x"$target";
27784 then
27785 CANADIAN=yes
27786 else
27787 CANADIAN=no
27788 fi
27789
27790 # Construct crosses by hand, eliminating bits that need ld...
27791 # GLIBCXX_CHECK_MATH_SUPPORT
27792
27793 # First, test for "known" system libraries. We may be using newlib even
27794 # on a hosted environment.
27795 if test "x${with_newlib}" = "xyes"; then
27796 os_include_dir="os/newlib"
27797 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27798
27799
27800 # GLIBCXX_CHECK_STDLIB_SUPPORT
27801 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27802
27803
27804 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27805
27806 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27807
27808 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27809
27810 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27811
27812 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27813
27814 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27815
27816 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27817
27818 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27819
27820 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27821
27822 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27823
27824 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27825
27826 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27827
27828 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27829
27830 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27831
27832 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27833
27834 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27835
27836 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27837
27838 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27839
27840 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27841
27842 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27843
27844 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27845
27846 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27847
27848
27849 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27850
27851 else
27852
27853 # Base decisions on target environment.
27854 case "${host}" in
27855 arm*-*-symbianelf*)
27856 # This is a freestanding configuration; there is nothing to do here.
27857 ;;
27858
27859 mips*-sde-elf*)
27860 # These definitions are for the SDE C library rather than newlib.
27861 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27862
27863
27864 # All these tests are for C++; save the language and the compiler flags.
27865 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27866 # found in GLIBCXX_CONFIGURE.
27867
27868 ac_ext=cpp
27869 ac_cpp='$CXXCPP $CPPFLAGS'
27870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27873
27874 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27875 ac_save_CXXFLAGS="$CXXFLAGS"
27876
27877 # Check for maintainer-mode bits.
27878 if test x"$USE_MAINTAINER_MODE" = xno; then
27879 WERROR=''
27880 else
27881 WERROR='-Werror'
27882 fi
27883
27884 # Check for -ffunction-sections -fdata-sections
27885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27886 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27887 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27889 /* end confdefs.h. */
27890 int foo; void bar() { };
27891 int
27892 main ()
27893 {
27894
27895 ;
27896 return 0;
27897 }
27898 _ACEOF
27899 if ac_fn_cxx_try_compile "$LINENO"; then :
27900 ac_fdsections=yes
27901 else
27902 ac_fdsections=no
27903 fi
27904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27905 if test "$ac_test_CXXFLAGS" = set; then
27906 CXXFLAGS="$ac_save_CXXFLAGS"
27907 else
27908 # this is the suspicious part
27909 CXXFLAGS=''
27910 fi
27911 if test x"$ac_fdsections" = x"yes"; then
27912 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27913 fi
27914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27915 $as_echo "$ac_fdsections" >&6; }
27916
27917 ac_ext=c
27918 ac_cpp='$CPP $CPPFLAGS'
27919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27922
27923
27924
27925
27926
27927 # If we're not using GNU ld, then there's no point in even trying these
27928 # tests. Check for that first. We should have already tested for gld
27929 # by now (in libtool), but require it now just to be safe...
27930 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27931 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27932
27933
27934
27935 # The name set by libtool depends on the version of libtool. Shame on us
27936 # for depending on an impl detail, but c'est la vie. Older versions used
27937 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27938 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27939 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27940 # set (hence we're using an older libtool), then set it.
27941 if test x${with_gnu_ld+set} != xset; then
27942 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27943 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27944 with_gnu_ld=no
27945 else
27946 with_gnu_ld=$ac_cv_prog_gnu_ld
27947 fi
27948 fi
27949
27950 # Start by getting the version number. I think the libtool test already
27951 # does some of this, but throws away the result.
27952 glibcxx_ld_is_gold=no
27953 if test x"$with_gnu_ld" = x"yes"; then
27954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27955 $as_echo_n "checking for ld version... " >&6; }
27956
27957 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27958 glibcxx_ld_is_gold=yes
27959 fi
27960 ldver=`$LD --version 2>/dev/null |
27961 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'`
27962
27963 glibcxx_gnu_ld_version=`echo $ldver | \
27964 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27966 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27967 fi
27968
27969 # Set --gc-sections.
27970 glibcxx_have_gc_sections=no
27971 if test "$glibcxx_ld_is_gold" = "yes"; then
27972 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27973 glibcxx_have_gc_sections=yes
27974 fi
27975 else
27976 glibcxx_gcsections_min_ld=21602
27977 if test x"$with_gnu_ld" = x"yes" &&
27978 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27979 glibcxx_have_gc_sections=yes
27980 fi
27981 fi
27982 if test "$glibcxx_have_gc_sections" = "yes"; then
27983 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27984 # NB: This flag only works reliably after 2.16.1. Configure tests
27985 # for this are difficult, so hard wire a value that should work.
27986
27987 ac_test_CFLAGS="${CFLAGS+set}"
27988 ac_save_CFLAGS="$CFLAGS"
27989 CFLAGS='-Wl,--gc-sections'
27990
27991 # Check for -Wl,--gc-sections
27992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27993 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27994 if test x$gcc_no_link = xyes; then
27995 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27996 fi
27997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27998 /* end confdefs.h. */
27999 int one(void) { return 1; }
28000 int two(void) { return 2; }
28001
28002 int
28003 main ()
28004 {
28005 two();
28006 ;
28007 return 0;
28008 }
28009 _ACEOF
28010 if ac_fn_c_try_link "$LINENO"; then :
28011 ac_gcsections=yes
28012 else
28013 ac_gcsections=no
28014 fi
28015 rm -f core conftest.err conftest.$ac_objext \
28016 conftest$ac_exeext conftest.$ac_ext
28017 if test "$ac_gcsections" = "yes"; then
28018 rm -f conftest.c
28019 touch conftest.c
28020 if $CC -c conftest.c; then
28021 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28022 grep "Warning: gc-sections option ignored" > /dev/null; then
28023 ac_gcsections=no
28024 fi
28025 fi
28026 rm -f conftest.c conftest.o conftest
28027 fi
28028 if test "$ac_gcsections" = "yes"; then
28029 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28030 fi
28031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28032 $as_echo "$ac_gcsections" >&6; }
28033
28034 if test "$ac_test_CFLAGS" = set; then
28035 CFLAGS="$ac_save_CFLAGS"
28036 else
28037 # this is the suspicious part
28038 CFLAGS=''
28039 fi
28040 fi
28041
28042 # Set -z,relro.
28043 # Note this is only for shared objects.
28044 ac_ld_relro=no
28045 if test x"$with_gnu_ld" = x"yes"; then
28046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28047 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28048 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28049 if test -n "$cxx_z_relo"; then
28050 OPT_LDFLAGS="-Wl,-z,relro"
28051 ac_ld_relro=yes
28052 fi
28053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28054 $as_echo "$ac_ld_relro" >&6; }
28055 fi
28056
28057 # Set linker optimization flags.
28058 if test x"$with_gnu_ld" = x"yes"; then
28059 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28060 fi
28061
28062
28063
28064
28065
28066 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28067 ac_save_CXXFLAGS="$CXXFLAGS"
28068 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28069
28070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28071 $as_echo_n "checking for sin in -lm... " >&6; }
28072 if test "${ac_cv_lib_m_sin+set}" = set; then :
28073 $as_echo_n "(cached) " >&6
28074 else
28075 ac_check_lib_save_LIBS=$LIBS
28076 LIBS="-lm $LIBS"
28077 if test x$gcc_no_link = xyes; then
28078 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28079 fi
28080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28081 /* end confdefs.h. */
28082
28083 /* Override any GCC internal prototype to avoid an error.
28084 Use char because int might match the return type of a GCC
28085 builtin and then its argument prototype would still apply. */
28086 #ifdef __cplusplus
28087 extern "C"
28088 #endif
28089 char sin ();
28090 int
28091 main ()
28092 {
28093 return sin ();
28094 ;
28095 return 0;
28096 }
28097 _ACEOF
28098 if ac_fn_c_try_link "$LINENO"; then :
28099 ac_cv_lib_m_sin=yes
28100 else
28101 ac_cv_lib_m_sin=no
28102 fi
28103 rm -f core conftest.err conftest.$ac_objext \
28104 conftest$ac_exeext conftest.$ac_ext
28105 LIBS=$ac_check_lib_save_LIBS
28106 fi
28107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28108 $as_echo "$ac_cv_lib_m_sin" >&6; }
28109 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28110 libm="-lm"
28111 fi
28112
28113 ac_save_LIBS="$LIBS"
28114 LIBS="$LIBS $libm"
28115
28116
28117
28118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28119 $as_echo_n "checking for isinf declaration... " >&6; }
28120 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28121 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28122 $as_echo_n "(cached) " >&6
28123 else
28124
28125
28126 ac_ext=cpp
28127 ac_cpp='$CXXCPP $CPPFLAGS'
28128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28131
28132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28133 /* end confdefs.h. */
28134 #include <math.h>
28135 #ifdef HAVE_IEEEFP_H
28136 #include <ieeefp.h>
28137 #endif
28138
28139 int
28140 main ()
28141 {
28142 isinf(0);
28143 ;
28144 return 0;
28145 }
28146 _ACEOF
28147 if ac_fn_cxx_try_compile "$LINENO"; then :
28148 glibcxx_cv_func_isinf_use=yes
28149 else
28150 glibcxx_cv_func_isinf_use=no
28151 fi
28152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28153 ac_ext=c
28154 ac_cpp='$CPP $CPPFLAGS'
28155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28158
28159
28160 fi
28161
28162 fi
28163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28164 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28165
28166 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28167 for ac_func in isinf
28168 do :
28169 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28170 if test "x$ac_cv_func_isinf" = x""yes; then :
28171 cat >>confdefs.h <<_ACEOF
28172 #define HAVE_ISINF 1
28173 _ACEOF
28174
28175 fi
28176 done
28177
28178 else
28179
28180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28181 $as_echo_n "checking for _isinf declaration... " >&6; }
28182 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28183 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28184 $as_echo_n "(cached) " >&6
28185 else
28186
28187
28188 ac_ext=cpp
28189 ac_cpp='$CXXCPP $CPPFLAGS'
28190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28193
28194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28195 /* end confdefs.h. */
28196 #include <math.h>
28197 #ifdef HAVE_IEEEFP_H
28198 #include <ieeefp.h>
28199 #endif
28200
28201 int
28202 main ()
28203 {
28204 _isinf(0);
28205 ;
28206 return 0;
28207 }
28208 _ACEOF
28209 if ac_fn_cxx_try_compile "$LINENO"; then :
28210 glibcxx_cv_func__isinf_use=yes
28211 else
28212 glibcxx_cv_func__isinf_use=no
28213 fi
28214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28215 ac_ext=c
28216 ac_cpp='$CPP $CPPFLAGS'
28217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28220
28221
28222 fi
28223
28224 fi
28225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28226 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28227
28228 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28229 for ac_func in _isinf
28230 do :
28231 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28232 if test "x$ac_cv_func__isinf" = x""yes; then :
28233 cat >>confdefs.h <<_ACEOF
28234 #define HAVE__ISINF 1
28235 _ACEOF
28236
28237 fi
28238 done
28239
28240 fi
28241 fi
28242
28243
28244
28245
28246
28247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28248 $as_echo_n "checking for isnan declaration... " >&6; }
28249 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28250 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28251 $as_echo_n "(cached) " >&6
28252 else
28253
28254
28255 ac_ext=cpp
28256 ac_cpp='$CXXCPP $CPPFLAGS'
28257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28260
28261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28262 /* end confdefs.h. */
28263 #include <math.h>
28264 #ifdef HAVE_IEEEFP_H
28265 #include <ieeefp.h>
28266 #endif
28267
28268 int
28269 main ()
28270 {
28271 isnan(0);
28272 ;
28273 return 0;
28274 }
28275 _ACEOF
28276 if ac_fn_cxx_try_compile "$LINENO"; then :
28277 glibcxx_cv_func_isnan_use=yes
28278 else
28279 glibcxx_cv_func_isnan_use=no
28280 fi
28281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28282 ac_ext=c
28283 ac_cpp='$CPP $CPPFLAGS'
28284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28287
28288
28289 fi
28290
28291 fi
28292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28293 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28294
28295 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28296 for ac_func in isnan
28297 do :
28298 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28299 if test "x$ac_cv_func_isnan" = x""yes; then :
28300 cat >>confdefs.h <<_ACEOF
28301 #define HAVE_ISNAN 1
28302 _ACEOF
28303
28304 fi
28305 done
28306
28307 else
28308
28309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28310 $as_echo_n "checking for _isnan declaration... " >&6; }
28311 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28312 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28313 $as_echo_n "(cached) " >&6
28314 else
28315
28316
28317 ac_ext=cpp
28318 ac_cpp='$CXXCPP $CPPFLAGS'
28319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28322
28323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28324 /* end confdefs.h. */
28325 #include <math.h>
28326 #ifdef HAVE_IEEEFP_H
28327 #include <ieeefp.h>
28328 #endif
28329
28330 int
28331 main ()
28332 {
28333 _isnan(0);
28334 ;
28335 return 0;
28336 }
28337 _ACEOF
28338 if ac_fn_cxx_try_compile "$LINENO"; then :
28339 glibcxx_cv_func__isnan_use=yes
28340 else
28341 glibcxx_cv_func__isnan_use=no
28342 fi
28343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28344 ac_ext=c
28345 ac_cpp='$CPP $CPPFLAGS'
28346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28349
28350
28351 fi
28352
28353 fi
28354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28355 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28356
28357 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28358 for ac_func in _isnan
28359 do :
28360 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28361 if test "x$ac_cv_func__isnan" = x""yes; then :
28362 cat >>confdefs.h <<_ACEOF
28363 #define HAVE__ISNAN 1
28364 _ACEOF
28365
28366 fi
28367 done
28368
28369 fi
28370 fi
28371
28372
28373
28374
28375
28376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28377 $as_echo_n "checking for finite declaration... " >&6; }
28378 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28379 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28380 $as_echo_n "(cached) " >&6
28381 else
28382
28383
28384 ac_ext=cpp
28385 ac_cpp='$CXXCPP $CPPFLAGS'
28386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28389
28390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28391 /* end confdefs.h. */
28392 #include <math.h>
28393 #ifdef HAVE_IEEEFP_H
28394 #include <ieeefp.h>
28395 #endif
28396
28397 int
28398 main ()
28399 {
28400 finite(0);
28401 ;
28402 return 0;
28403 }
28404 _ACEOF
28405 if ac_fn_cxx_try_compile "$LINENO"; then :
28406 glibcxx_cv_func_finite_use=yes
28407 else
28408 glibcxx_cv_func_finite_use=no
28409 fi
28410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28411 ac_ext=c
28412 ac_cpp='$CPP $CPPFLAGS'
28413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28416
28417
28418 fi
28419
28420 fi
28421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28422 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28423
28424 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28425 for ac_func in finite
28426 do :
28427 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28428 if test "x$ac_cv_func_finite" = x""yes; then :
28429 cat >>confdefs.h <<_ACEOF
28430 #define HAVE_FINITE 1
28431 _ACEOF
28432
28433 fi
28434 done
28435
28436 else
28437
28438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28439 $as_echo_n "checking for _finite declaration... " >&6; }
28440 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28441 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28442 $as_echo_n "(cached) " >&6
28443 else
28444
28445
28446 ac_ext=cpp
28447 ac_cpp='$CXXCPP $CPPFLAGS'
28448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28451
28452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28453 /* end confdefs.h. */
28454 #include <math.h>
28455 #ifdef HAVE_IEEEFP_H
28456 #include <ieeefp.h>
28457 #endif
28458
28459 int
28460 main ()
28461 {
28462 _finite(0);
28463 ;
28464 return 0;
28465 }
28466 _ACEOF
28467 if ac_fn_cxx_try_compile "$LINENO"; then :
28468 glibcxx_cv_func__finite_use=yes
28469 else
28470 glibcxx_cv_func__finite_use=no
28471 fi
28472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28473 ac_ext=c
28474 ac_cpp='$CPP $CPPFLAGS'
28475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28478
28479
28480 fi
28481
28482 fi
28483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28484 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28485
28486 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28487 for ac_func in _finite
28488 do :
28489 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28490 if test "x$ac_cv_func__finite" = x""yes; then :
28491 cat >>confdefs.h <<_ACEOF
28492 #define HAVE__FINITE 1
28493 _ACEOF
28494
28495 fi
28496 done
28497
28498 fi
28499 fi
28500
28501
28502
28503
28504
28505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28506 $as_echo_n "checking for sincos declaration... " >&6; }
28507 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28508 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28509 $as_echo_n "(cached) " >&6
28510 else
28511
28512
28513 ac_ext=cpp
28514 ac_cpp='$CXXCPP $CPPFLAGS'
28515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28518
28519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28520 /* end confdefs.h. */
28521 #include <math.h>
28522 int
28523 main ()
28524 {
28525 sincos(0, 0, 0);
28526 ;
28527 return 0;
28528 }
28529 _ACEOF
28530 if ac_fn_cxx_try_compile "$LINENO"; then :
28531 glibcxx_cv_func_sincos_use=yes
28532 else
28533 glibcxx_cv_func_sincos_use=no
28534 fi
28535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28536 ac_ext=c
28537 ac_cpp='$CPP $CPPFLAGS'
28538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28541
28542
28543 fi
28544
28545 fi
28546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28547 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28548
28549 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28550 for ac_func in sincos
28551 do :
28552 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28553 if test "x$ac_cv_func_sincos" = x""yes; then :
28554 cat >>confdefs.h <<_ACEOF
28555 #define HAVE_SINCOS 1
28556 _ACEOF
28557
28558 fi
28559 done
28560
28561 else
28562
28563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28564 $as_echo_n "checking for _sincos declaration... " >&6; }
28565 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28566 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28567 $as_echo_n "(cached) " >&6
28568 else
28569
28570
28571 ac_ext=cpp
28572 ac_cpp='$CXXCPP $CPPFLAGS'
28573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28576
28577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28578 /* end confdefs.h. */
28579 #include <math.h>
28580 int
28581 main ()
28582 {
28583 _sincos(0, 0, 0);
28584 ;
28585 return 0;
28586 }
28587 _ACEOF
28588 if ac_fn_cxx_try_compile "$LINENO"; then :
28589 glibcxx_cv_func__sincos_use=yes
28590 else
28591 glibcxx_cv_func__sincos_use=no
28592 fi
28593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28594 ac_ext=c
28595 ac_cpp='$CPP $CPPFLAGS'
28596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28599
28600
28601 fi
28602
28603 fi
28604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28605 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28606
28607 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28608 for ac_func in _sincos
28609 do :
28610 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28611 if test "x$ac_cv_func__sincos" = x""yes; then :
28612 cat >>confdefs.h <<_ACEOF
28613 #define HAVE__SINCOS 1
28614 _ACEOF
28615
28616 fi
28617 done
28618
28619 fi
28620 fi
28621
28622
28623
28624
28625
28626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28627 $as_echo_n "checking for fpclass declaration... " >&6; }
28628 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28629 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28630 $as_echo_n "(cached) " >&6
28631 else
28632
28633
28634 ac_ext=cpp
28635 ac_cpp='$CXXCPP $CPPFLAGS'
28636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28639
28640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28641 /* end confdefs.h. */
28642 #include <math.h>
28643 #ifdef HAVE_IEEEFP_H
28644 #include <ieeefp.h>
28645 #endif
28646
28647 int
28648 main ()
28649 {
28650 fpclass(0);
28651 ;
28652 return 0;
28653 }
28654 _ACEOF
28655 if ac_fn_cxx_try_compile "$LINENO"; then :
28656 glibcxx_cv_func_fpclass_use=yes
28657 else
28658 glibcxx_cv_func_fpclass_use=no
28659 fi
28660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28661 ac_ext=c
28662 ac_cpp='$CPP $CPPFLAGS'
28663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28666
28667
28668 fi
28669
28670 fi
28671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28672 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28673
28674 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28675 for ac_func in fpclass
28676 do :
28677 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28678 if test "x$ac_cv_func_fpclass" = x""yes; then :
28679 cat >>confdefs.h <<_ACEOF
28680 #define HAVE_FPCLASS 1
28681 _ACEOF
28682
28683 fi
28684 done
28685
28686 else
28687
28688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28689 $as_echo_n "checking for _fpclass declaration... " >&6; }
28690 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28691 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28692 $as_echo_n "(cached) " >&6
28693 else
28694
28695
28696 ac_ext=cpp
28697 ac_cpp='$CXXCPP $CPPFLAGS'
28698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28701
28702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28703 /* end confdefs.h. */
28704 #include <math.h>
28705 #ifdef HAVE_IEEEFP_H
28706 #include <ieeefp.h>
28707 #endif
28708
28709 int
28710 main ()
28711 {
28712 _fpclass(0);
28713 ;
28714 return 0;
28715 }
28716 _ACEOF
28717 if ac_fn_cxx_try_compile "$LINENO"; then :
28718 glibcxx_cv_func__fpclass_use=yes
28719 else
28720 glibcxx_cv_func__fpclass_use=no
28721 fi
28722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28723 ac_ext=c
28724 ac_cpp='$CPP $CPPFLAGS'
28725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28728
28729
28730 fi
28731
28732 fi
28733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28734 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28735
28736 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28737 for ac_func in _fpclass
28738 do :
28739 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28740 if test "x$ac_cv_func__fpclass" = x""yes; then :
28741 cat >>confdefs.h <<_ACEOF
28742 #define HAVE__FPCLASS 1
28743 _ACEOF
28744
28745 fi
28746 done
28747
28748 fi
28749 fi
28750
28751
28752
28753
28754
28755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28756 $as_echo_n "checking for qfpclass declaration... " >&6; }
28757 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28758 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28759 $as_echo_n "(cached) " >&6
28760 else
28761
28762
28763 ac_ext=cpp
28764 ac_cpp='$CXXCPP $CPPFLAGS'
28765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28768
28769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28770 /* end confdefs.h. */
28771 #include <math.h>
28772 #ifdef HAVE_IEEEFP_H
28773 #include <ieeefp.h>
28774 #endif
28775
28776 int
28777 main ()
28778 {
28779 qfpclass(0);
28780 ;
28781 return 0;
28782 }
28783 _ACEOF
28784 if ac_fn_cxx_try_compile "$LINENO"; then :
28785 glibcxx_cv_func_qfpclass_use=yes
28786 else
28787 glibcxx_cv_func_qfpclass_use=no
28788 fi
28789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28790 ac_ext=c
28791 ac_cpp='$CPP $CPPFLAGS'
28792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28795
28796
28797 fi
28798
28799 fi
28800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28801 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28802
28803 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28804 for ac_func in qfpclass
28805 do :
28806 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28807 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28808 cat >>confdefs.h <<_ACEOF
28809 #define HAVE_QFPCLASS 1
28810 _ACEOF
28811
28812 fi
28813 done
28814
28815 else
28816
28817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28818 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28819 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28820 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28821 $as_echo_n "(cached) " >&6
28822 else
28823
28824
28825 ac_ext=cpp
28826 ac_cpp='$CXXCPP $CPPFLAGS'
28827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28830
28831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28832 /* end confdefs.h. */
28833 #include <math.h>
28834 #ifdef HAVE_IEEEFP_H
28835 #include <ieeefp.h>
28836 #endif
28837
28838 int
28839 main ()
28840 {
28841 _qfpclass(0);
28842 ;
28843 return 0;
28844 }
28845 _ACEOF
28846 if ac_fn_cxx_try_compile "$LINENO"; then :
28847 glibcxx_cv_func__qfpclass_use=yes
28848 else
28849 glibcxx_cv_func__qfpclass_use=no
28850 fi
28851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28852 ac_ext=c
28853 ac_cpp='$CPP $CPPFLAGS'
28854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28857
28858
28859 fi
28860
28861 fi
28862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28863 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28864
28865 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28866 for ac_func in _qfpclass
28867 do :
28868 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28869 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28870 cat >>confdefs.h <<_ACEOF
28871 #define HAVE__QFPCLASS 1
28872 _ACEOF
28873
28874 fi
28875 done
28876
28877 fi
28878 fi
28879
28880
28881
28882
28883
28884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28885 $as_echo_n "checking for hypot declaration... " >&6; }
28886 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28887 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28888 $as_echo_n "(cached) " >&6
28889 else
28890
28891
28892 ac_ext=cpp
28893 ac_cpp='$CXXCPP $CPPFLAGS'
28894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28897
28898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28899 /* end confdefs.h. */
28900 #include <math.h>
28901 int
28902 main ()
28903 {
28904 hypot(0, 0);
28905 ;
28906 return 0;
28907 }
28908 _ACEOF
28909 if ac_fn_cxx_try_compile "$LINENO"; then :
28910 glibcxx_cv_func_hypot_use=yes
28911 else
28912 glibcxx_cv_func_hypot_use=no
28913 fi
28914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28915 ac_ext=c
28916 ac_cpp='$CPP $CPPFLAGS'
28917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28920
28921
28922 fi
28923
28924 fi
28925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28926 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28927
28928 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28929 for ac_func in hypot
28930 do :
28931 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28932 if test "x$ac_cv_func_hypot" = x""yes; then :
28933 cat >>confdefs.h <<_ACEOF
28934 #define HAVE_HYPOT 1
28935 _ACEOF
28936
28937 fi
28938 done
28939
28940 else
28941
28942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28943 $as_echo_n "checking for _hypot declaration... " >&6; }
28944 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28945 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28946 $as_echo_n "(cached) " >&6
28947 else
28948
28949
28950 ac_ext=cpp
28951 ac_cpp='$CXXCPP $CPPFLAGS'
28952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28955
28956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28957 /* end confdefs.h. */
28958 #include <math.h>
28959 int
28960 main ()
28961 {
28962 _hypot(0, 0);
28963 ;
28964 return 0;
28965 }
28966 _ACEOF
28967 if ac_fn_cxx_try_compile "$LINENO"; then :
28968 glibcxx_cv_func__hypot_use=yes
28969 else
28970 glibcxx_cv_func__hypot_use=no
28971 fi
28972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28973 ac_ext=c
28974 ac_cpp='$CPP $CPPFLAGS'
28975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28978
28979
28980 fi
28981
28982 fi
28983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28984 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28985
28986 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28987 for ac_func in _hypot
28988 do :
28989 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28990 if test "x$ac_cv_func__hypot" = x""yes; then :
28991 cat >>confdefs.h <<_ACEOF
28992 #define HAVE__HYPOT 1
28993 _ACEOF
28994
28995 fi
28996 done
28997
28998 fi
28999 fi
29000
29001
29002
29003
29004
29005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29006 $as_echo_n "checking for float trig functions... " >&6; }
29007 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29008 $as_echo_n "(cached) " >&6
29009 else
29010
29011
29012 ac_ext=cpp
29013 ac_cpp='$CXXCPP $CPPFLAGS'
29014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29017
29018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29019 /* end confdefs.h. */
29020 #include <math.h>
29021 int
29022 main ()
29023 {
29024 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29025 ;
29026 return 0;
29027 }
29028 _ACEOF
29029 if ac_fn_cxx_try_compile "$LINENO"; then :
29030 glibcxx_cv_func_float_trig_use=yes
29031 else
29032 glibcxx_cv_func_float_trig_use=no
29033 fi
29034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29035 ac_ext=c
29036 ac_cpp='$CPP $CPPFLAGS'
29037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29040
29041 fi
29042
29043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29044 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29045 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29046 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29047 do :
29048 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29049 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29050 eval as_val=\$$as_ac_var
29051 if test "x$as_val" = x""yes; then :
29052 cat >>confdefs.h <<_ACEOF
29053 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29054 _ACEOF
29055
29056 fi
29057 done
29058
29059 else
29060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29061 $as_echo_n "checking for _float trig functions... " >&6; }
29062 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29063 $as_echo_n "(cached) " >&6
29064 else
29065
29066
29067 ac_ext=cpp
29068 ac_cpp='$CXXCPP $CPPFLAGS'
29069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29072
29073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29074 /* end confdefs.h. */
29075 #include <math.h>
29076 int
29077 main ()
29078 {
29079 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29080 ;
29081 return 0;
29082 }
29083 _ACEOF
29084 if ac_fn_cxx_try_compile "$LINENO"; then :
29085 glibcxx_cv_func__float_trig_use=yes
29086 else
29087 glibcxx_cv_func__float_trig_use=no
29088 fi
29089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29090 ac_ext=c
29091 ac_cpp='$CPP $CPPFLAGS'
29092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29095
29096 fi
29097
29098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29099 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29100 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29101 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29102 do :
29103 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29104 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29105 eval as_val=\$$as_ac_var
29106 if test "x$as_val" = x""yes; then :
29107 cat >>confdefs.h <<_ACEOF
29108 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29109 _ACEOF
29110
29111 fi
29112 done
29113
29114 fi
29115 fi
29116
29117
29118
29119
29120
29121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29122 $as_echo_n "checking for float round functions... " >&6; }
29123 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29124 $as_echo_n "(cached) " >&6
29125 else
29126
29127
29128 ac_ext=cpp
29129 ac_cpp='$CXXCPP $CPPFLAGS'
29130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29133
29134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29135 /* end confdefs.h. */
29136 #include <math.h>
29137 int
29138 main ()
29139 {
29140 ceilf (0); floorf (0);
29141 ;
29142 return 0;
29143 }
29144 _ACEOF
29145 if ac_fn_cxx_try_compile "$LINENO"; then :
29146 glibcxx_cv_func_float_round_use=yes
29147 else
29148 glibcxx_cv_func_float_round_use=no
29149 fi
29150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29151 ac_ext=c
29152 ac_cpp='$CPP $CPPFLAGS'
29153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29156
29157 fi
29158
29159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29160 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29161 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29162 for ac_func in ceilf floorf
29163 do :
29164 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29165 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29166 eval as_val=\$$as_ac_var
29167 if test "x$as_val" = x""yes; then :
29168 cat >>confdefs.h <<_ACEOF
29169 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29170 _ACEOF
29171
29172 fi
29173 done
29174
29175 else
29176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29177 $as_echo_n "checking for _float round functions... " >&6; }
29178 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29179 $as_echo_n "(cached) " >&6
29180 else
29181
29182
29183 ac_ext=cpp
29184 ac_cpp='$CXXCPP $CPPFLAGS'
29185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29188
29189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29190 /* end confdefs.h. */
29191 #include <math.h>
29192 int
29193 main ()
29194 {
29195 _ceilf (0); _floorf (0);
29196 ;
29197 return 0;
29198 }
29199 _ACEOF
29200 if ac_fn_cxx_try_compile "$LINENO"; then :
29201 glibcxx_cv_func__float_round_use=yes
29202 else
29203 glibcxx_cv_func__float_round_use=no
29204 fi
29205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29206 ac_ext=c
29207 ac_cpp='$CPP $CPPFLAGS'
29208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29211
29212 fi
29213
29214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29215 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29216 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29217 for ac_func in _ceilf _floorf
29218 do :
29219 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29221 eval as_val=\$$as_ac_var
29222 if test "x$as_val" = x""yes; then :
29223 cat >>confdefs.h <<_ACEOF
29224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29225 _ACEOF
29226
29227 fi
29228 done
29229
29230 fi
29231 fi
29232
29233
29234
29235
29236
29237
29238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29239 $as_echo_n "checking for expf declaration... " >&6; }
29240 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29241 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29242 $as_echo_n "(cached) " >&6
29243 else
29244
29245
29246 ac_ext=cpp
29247 ac_cpp='$CXXCPP $CPPFLAGS'
29248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29251
29252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29253 /* end confdefs.h. */
29254 #include <math.h>
29255 #ifdef HAVE_IEEEFP_H
29256 #include <ieeefp.h>
29257 #endif
29258
29259 int
29260 main ()
29261 {
29262 expf(0);
29263 ;
29264 return 0;
29265 }
29266 _ACEOF
29267 if ac_fn_cxx_try_compile "$LINENO"; then :
29268 glibcxx_cv_func_expf_use=yes
29269 else
29270 glibcxx_cv_func_expf_use=no
29271 fi
29272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29273 ac_ext=c
29274 ac_cpp='$CPP $CPPFLAGS'
29275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29278
29279
29280 fi
29281
29282 fi
29283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29284 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29285
29286 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29287 for ac_func in expf
29288 do :
29289 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29290 if test "x$ac_cv_func_expf" = x""yes; then :
29291 cat >>confdefs.h <<_ACEOF
29292 #define HAVE_EXPF 1
29293 _ACEOF
29294
29295 fi
29296 done
29297
29298 else
29299
29300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29301 $as_echo_n "checking for _expf declaration... " >&6; }
29302 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29303 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29304 $as_echo_n "(cached) " >&6
29305 else
29306
29307
29308 ac_ext=cpp
29309 ac_cpp='$CXXCPP $CPPFLAGS'
29310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29313
29314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29315 /* end confdefs.h. */
29316 #include <math.h>
29317 #ifdef HAVE_IEEEFP_H
29318 #include <ieeefp.h>
29319 #endif
29320
29321 int
29322 main ()
29323 {
29324 _expf(0);
29325 ;
29326 return 0;
29327 }
29328 _ACEOF
29329 if ac_fn_cxx_try_compile "$LINENO"; then :
29330 glibcxx_cv_func__expf_use=yes
29331 else
29332 glibcxx_cv_func__expf_use=no
29333 fi
29334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29335 ac_ext=c
29336 ac_cpp='$CPP $CPPFLAGS'
29337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29340
29341
29342 fi
29343
29344 fi
29345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29346 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29347
29348 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29349 for ac_func in _expf
29350 do :
29351 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29352 if test "x$ac_cv_func__expf" = x""yes; then :
29353 cat >>confdefs.h <<_ACEOF
29354 #define HAVE__EXPF 1
29355 _ACEOF
29356
29357 fi
29358 done
29359
29360 fi
29361 fi
29362
29363
29364
29365
29366
29367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29368 $as_echo_n "checking for isnanf declaration... " >&6; }
29369 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29370 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29371 $as_echo_n "(cached) " >&6
29372 else
29373
29374
29375 ac_ext=cpp
29376 ac_cpp='$CXXCPP $CPPFLAGS'
29377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29380
29381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29382 /* end confdefs.h. */
29383 #include <math.h>
29384 #ifdef HAVE_IEEEFP_H
29385 #include <ieeefp.h>
29386 #endif
29387
29388 int
29389 main ()
29390 {
29391 isnanf(0);
29392 ;
29393 return 0;
29394 }
29395 _ACEOF
29396 if ac_fn_cxx_try_compile "$LINENO"; then :
29397 glibcxx_cv_func_isnanf_use=yes
29398 else
29399 glibcxx_cv_func_isnanf_use=no
29400 fi
29401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29402 ac_ext=c
29403 ac_cpp='$CPP $CPPFLAGS'
29404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29407
29408
29409 fi
29410
29411 fi
29412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29413 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29414
29415 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29416 for ac_func in isnanf
29417 do :
29418 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29419 if test "x$ac_cv_func_isnanf" = x""yes; then :
29420 cat >>confdefs.h <<_ACEOF
29421 #define HAVE_ISNANF 1
29422 _ACEOF
29423
29424 fi
29425 done
29426
29427 else
29428
29429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29430 $as_echo_n "checking for _isnanf declaration... " >&6; }
29431 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29432 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29433 $as_echo_n "(cached) " >&6
29434 else
29435
29436
29437 ac_ext=cpp
29438 ac_cpp='$CXXCPP $CPPFLAGS'
29439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29442
29443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29444 /* end confdefs.h. */
29445 #include <math.h>
29446 #ifdef HAVE_IEEEFP_H
29447 #include <ieeefp.h>
29448 #endif
29449
29450 int
29451 main ()
29452 {
29453 _isnanf(0);
29454 ;
29455 return 0;
29456 }
29457 _ACEOF
29458 if ac_fn_cxx_try_compile "$LINENO"; then :
29459 glibcxx_cv_func__isnanf_use=yes
29460 else
29461 glibcxx_cv_func__isnanf_use=no
29462 fi
29463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29464 ac_ext=c
29465 ac_cpp='$CPP $CPPFLAGS'
29466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29469
29470
29471 fi
29472
29473 fi
29474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29475 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29476
29477 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29478 for ac_func in _isnanf
29479 do :
29480 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29481 if test "x$ac_cv_func__isnanf" = x""yes; then :
29482 cat >>confdefs.h <<_ACEOF
29483 #define HAVE__ISNANF 1
29484 _ACEOF
29485
29486 fi
29487 done
29488
29489 fi
29490 fi
29491
29492
29493
29494
29495
29496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29497 $as_echo_n "checking for isinff declaration... " >&6; }
29498 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29499 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29500 $as_echo_n "(cached) " >&6
29501 else
29502
29503
29504 ac_ext=cpp
29505 ac_cpp='$CXXCPP $CPPFLAGS'
29506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29509
29510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29511 /* end confdefs.h. */
29512 #include <math.h>
29513 #ifdef HAVE_IEEEFP_H
29514 #include <ieeefp.h>
29515 #endif
29516
29517 int
29518 main ()
29519 {
29520 isinff(0);
29521 ;
29522 return 0;
29523 }
29524 _ACEOF
29525 if ac_fn_cxx_try_compile "$LINENO"; then :
29526 glibcxx_cv_func_isinff_use=yes
29527 else
29528 glibcxx_cv_func_isinff_use=no
29529 fi
29530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29531 ac_ext=c
29532 ac_cpp='$CPP $CPPFLAGS'
29533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29536
29537
29538 fi
29539
29540 fi
29541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29542 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29543
29544 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29545 for ac_func in isinff
29546 do :
29547 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29548 if test "x$ac_cv_func_isinff" = x""yes; then :
29549 cat >>confdefs.h <<_ACEOF
29550 #define HAVE_ISINFF 1
29551 _ACEOF
29552
29553 fi
29554 done
29555
29556 else
29557
29558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29559 $as_echo_n "checking for _isinff declaration... " >&6; }
29560 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29561 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29562 $as_echo_n "(cached) " >&6
29563 else
29564
29565
29566 ac_ext=cpp
29567 ac_cpp='$CXXCPP $CPPFLAGS'
29568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29571
29572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29573 /* end confdefs.h. */
29574 #include <math.h>
29575 #ifdef HAVE_IEEEFP_H
29576 #include <ieeefp.h>
29577 #endif
29578
29579 int
29580 main ()
29581 {
29582 _isinff(0);
29583 ;
29584 return 0;
29585 }
29586 _ACEOF
29587 if ac_fn_cxx_try_compile "$LINENO"; then :
29588 glibcxx_cv_func__isinff_use=yes
29589 else
29590 glibcxx_cv_func__isinff_use=no
29591 fi
29592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29593 ac_ext=c
29594 ac_cpp='$CPP $CPPFLAGS'
29595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29598
29599
29600 fi
29601
29602 fi
29603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29604 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29605
29606 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29607 for ac_func in _isinff
29608 do :
29609 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29610 if test "x$ac_cv_func__isinff" = x""yes; then :
29611 cat >>confdefs.h <<_ACEOF
29612 #define HAVE__ISINFF 1
29613 _ACEOF
29614
29615 fi
29616 done
29617
29618 fi
29619 fi
29620
29621
29622
29623
29624
29625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29626 $as_echo_n "checking for atan2f declaration... " >&6; }
29627 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29628 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29629 $as_echo_n "(cached) " >&6
29630 else
29631
29632
29633 ac_ext=cpp
29634 ac_cpp='$CXXCPP $CPPFLAGS'
29635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29638
29639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29640 /* end confdefs.h. */
29641 #include <math.h>
29642 int
29643 main ()
29644 {
29645 atan2f(0, 0);
29646 ;
29647 return 0;
29648 }
29649 _ACEOF
29650 if ac_fn_cxx_try_compile "$LINENO"; then :
29651 glibcxx_cv_func_atan2f_use=yes
29652 else
29653 glibcxx_cv_func_atan2f_use=no
29654 fi
29655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29656 ac_ext=c
29657 ac_cpp='$CPP $CPPFLAGS'
29658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29661
29662
29663 fi
29664
29665 fi
29666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29667 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29668
29669 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29670 for ac_func in atan2f
29671 do :
29672 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29673 if test "x$ac_cv_func_atan2f" = x""yes; then :
29674 cat >>confdefs.h <<_ACEOF
29675 #define HAVE_ATAN2F 1
29676 _ACEOF
29677
29678 fi
29679 done
29680
29681 else
29682
29683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29684 $as_echo_n "checking for _atan2f declaration... " >&6; }
29685 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29686 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29687 $as_echo_n "(cached) " >&6
29688 else
29689
29690
29691 ac_ext=cpp
29692 ac_cpp='$CXXCPP $CPPFLAGS'
29693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29696
29697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29698 /* end confdefs.h. */
29699 #include <math.h>
29700 int
29701 main ()
29702 {
29703 _atan2f(0, 0);
29704 ;
29705 return 0;
29706 }
29707 _ACEOF
29708 if ac_fn_cxx_try_compile "$LINENO"; then :
29709 glibcxx_cv_func__atan2f_use=yes
29710 else
29711 glibcxx_cv_func__atan2f_use=no
29712 fi
29713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29714 ac_ext=c
29715 ac_cpp='$CPP $CPPFLAGS'
29716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29719
29720
29721 fi
29722
29723 fi
29724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29725 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29726
29727 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29728 for ac_func in _atan2f
29729 do :
29730 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29731 if test "x$ac_cv_func__atan2f" = x""yes; then :
29732 cat >>confdefs.h <<_ACEOF
29733 #define HAVE__ATAN2F 1
29734 _ACEOF
29735
29736 fi
29737 done
29738
29739 fi
29740 fi
29741
29742
29743
29744
29745
29746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29747 $as_echo_n "checking for fabsf declaration... " >&6; }
29748 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29749 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29750 $as_echo_n "(cached) " >&6
29751 else
29752
29753
29754 ac_ext=cpp
29755 ac_cpp='$CXXCPP $CPPFLAGS'
29756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29759
29760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29761 /* end confdefs.h. */
29762 #include <math.h>
29763 #ifdef HAVE_IEEEFP_H
29764 #include <ieeefp.h>
29765 #endif
29766
29767 int
29768 main ()
29769 {
29770 fabsf(0);
29771 ;
29772 return 0;
29773 }
29774 _ACEOF
29775 if ac_fn_cxx_try_compile "$LINENO"; then :
29776 glibcxx_cv_func_fabsf_use=yes
29777 else
29778 glibcxx_cv_func_fabsf_use=no
29779 fi
29780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29781 ac_ext=c
29782 ac_cpp='$CPP $CPPFLAGS'
29783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29786
29787
29788 fi
29789
29790 fi
29791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29792 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29793
29794 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29795 for ac_func in fabsf
29796 do :
29797 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29798 if test "x$ac_cv_func_fabsf" = x""yes; then :
29799 cat >>confdefs.h <<_ACEOF
29800 #define HAVE_FABSF 1
29801 _ACEOF
29802
29803 fi
29804 done
29805
29806 else
29807
29808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29809 $as_echo_n "checking for _fabsf declaration... " >&6; }
29810 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29811 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29812 $as_echo_n "(cached) " >&6
29813 else
29814
29815
29816 ac_ext=cpp
29817 ac_cpp='$CXXCPP $CPPFLAGS'
29818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29821
29822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29823 /* end confdefs.h. */
29824 #include <math.h>
29825 #ifdef HAVE_IEEEFP_H
29826 #include <ieeefp.h>
29827 #endif
29828
29829 int
29830 main ()
29831 {
29832 _fabsf(0);
29833 ;
29834 return 0;
29835 }
29836 _ACEOF
29837 if ac_fn_cxx_try_compile "$LINENO"; then :
29838 glibcxx_cv_func__fabsf_use=yes
29839 else
29840 glibcxx_cv_func__fabsf_use=no
29841 fi
29842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29843 ac_ext=c
29844 ac_cpp='$CPP $CPPFLAGS'
29845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29848
29849
29850 fi
29851
29852 fi
29853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29854 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29855
29856 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29857 for ac_func in _fabsf
29858 do :
29859 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29860 if test "x$ac_cv_func__fabsf" = x""yes; then :
29861 cat >>confdefs.h <<_ACEOF
29862 #define HAVE__FABSF 1
29863 _ACEOF
29864
29865 fi
29866 done
29867
29868 fi
29869 fi
29870
29871
29872
29873
29874
29875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29876 $as_echo_n "checking for fmodf declaration... " >&6; }
29877 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29878 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29879 $as_echo_n "(cached) " >&6
29880 else
29881
29882
29883 ac_ext=cpp
29884 ac_cpp='$CXXCPP $CPPFLAGS'
29885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29888
29889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29890 /* end confdefs.h. */
29891 #include <math.h>
29892 int
29893 main ()
29894 {
29895 fmodf(0, 0);
29896 ;
29897 return 0;
29898 }
29899 _ACEOF
29900 if ac_fn_cxx_try_compile "$LINENO"; then :
29901 glibcxx_cv_func_fmodf_use=yes
29902 else
29903 glibcxx_cv_func_fmodf_use=no
29904 fi
29905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29906 ac_ext=c
29907 ac_cpp='$CPP $CPPFLAGS'
29908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29911
29912
29913 fi
29914
29915 fi
29916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29917 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29918
29919 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29920 for ac_func in fmodf
29921 do :
29922 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29923 if test "x$ac_cv_func_fmodf" = x""yes; then :
29924 cat >>confdefs.h <<_ACEOF
29925 #define HAVE_FMODF 1
29926 _ACEOF
29927
29928 fi
29929 done
29930
29931 else
29932
29933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29934 $as_echo_n "checking for _fmodf declaration... " >&6; }
29935 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29936 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29937 $as_echo_n "(cached) " >&6
29938 else
29939
29940
29941 ac_ext=cpp
29942 ac_cpp='$CXXCPP $CPPFLAGS'
29943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29946
29947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29948 /* end confdefs.h. */
29949 #include <math.h>
29950 int
29951 main ()
29952 {
29953 _fmodf(0, 0);
29954 ;
29955 return 0;
29956 }
29957 _ACEOF
29958 if ac_fn_cxx_try_compile "$LINENO"; then :
29959 glibcxx_cv_func__fmodf_use=yes
29960 else
29961 glibcxx_cv_func__fmodf_use=no
29962 fi
29963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29964 ac_ext=c
29965 ac_cpp='$CPP $CPPFLAGS'
29966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29969
29970
29971 fi
29972
29973 fi
29974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29975 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29976
29977 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29978 for ac_func in _fmodf
29979 do :
29980 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29981 if test "x$ac_cv_func__fmodf" = x""yes; then :
29982 cat >>confdefs.h <<_ACEOF
29983 #define HAVE__FMODF 1
29984 _ACEOF
29985
29986 fi
29987 done
29988
29989 fi
29990 fi
29991
29992
29993
29994
29995
29996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29997 $as_echo_n "checking for frexpf declaration... " >&6; }
29998 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29999 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30000 $as_echo_n "(cached) " >&6
30001 else
30002
30003
30004 ac_ext=cpp
30005 ac_cpp='$CXXCPP $CPPFLAGS'
30006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30009
30010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30011 /* end confdefs.h. */
30012 #include <math.h>
30013 int
30014 main ()
30015 {
30016 frexpf(0, 0);
30017 ;
30018 return 0;
30019 }
30020 _ACEOF
30021 if ac_fn_cxx_try_compile "$LINENO"; then :
30022 glibcxx_cv_func_frexpf_use=yes
30023 else
30024 glibcxx_cv_func_frexpf_use=no
30025 fi
30026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30027 ac_ext=c
30028 ac_cpp='$CPP $CPPFLAGS'
30029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30032
30033
30034 fi
30035
30036 fi
30037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30038 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30039
30040 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30041 for ac_func in frexpf
30042 do :
30043 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30044 if test "x$ac_cv_func_frexpf" = x""yes; then :
30045 cat >>confdefs.h <<_ACEOF
30046 #define HAVE_FREXPF 1
30047 _ACEOF
30048
30049 fi
30050 done
30051
30052 else
30053
30054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30055 $as_echo_n "checking for _frexpf declaration... " >&6; }
30056 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30057 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30058 $as_echo_n "(cached) " >&6
30059 else
30060
30061
30062 ac_ext=cpp
30063 ac_cpp='$CXXCPP $CPPFLAGS'
30064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30067
30068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30069 /* end confdefs.h. */
30070 #include <math.h>
30071 int
30072 main ()
30073 {
30074 _frexpf(0, 0);
30075 ;
30076 return 0;
30077 }
30078 _ACEOF
30079 if ac_fn_cxx_try_compile "$LINENO"; then :
30080 glibcxx_cv_func__frexpf_use=yes
30081 else
30082 glibcxx_cv_func__frexpf_use=no
30083 fi
30084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30085 ac_ext=c
30086 ac_cpp='$CPP $CPPFLAGS'
30087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30090
30091
30092 fi
30093
30094 fi
30095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30096 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30097
30098 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30099 for ac_func in _frexpf
30100 do :
30101 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30102 if test "x$ac_cv_func__frexpf" = x""yes; then :
30103 cat >>confdefs.h <<_ACEOF
30104 #define HAVE__FREXPF 1
30105 _ACEOF
30106
30107 fi
30108 done
30109
30110 fi
30111 fi
30112
30113
30114
30115
30116
30117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30118 $as_echo_n "checking for hypotf declaration... " >&6; }
30119 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30120 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30121 $as_echo_n "(cached) " >&6
30122 else
30123
30124
30125 ac_ext=cpp
30126 ac_cpp='$CXXCPP $CPPFLAGS'
30127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30130
30131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30132 /* end confdefs.h. */
30133 #include <math.h>
30134 int
30135 main ()
30136 {
30137 hypotf(0, 0);
30138 ;
30139 return 0;
30140 }
30141 _ACEOF
30142 if ac_fn_cxx_try_compile "$LINENO"; then :
30143 glibcxx_cv_func_hypotf_use=yes
30144 else
30145 glibcxx_cv_func_hypotf_use=no
30146 fi
30147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30148 ac_ext=c
30149 ac_cpp='$CPP $CPPFLAGS'
30150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30153
30154
30155 fi
30156
30157 fi
30158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30159 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30160
30161 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30162 for ac_func in hypotf
30163 do :
30164 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30165 if test "x$ac_cv_func_hypotf" = x""yes; then :
30166 cat >>confdefs.h <<_ACEOF
30167 #define HAVE_HYPOTF 1
30168 _ACEOF
30169
30170 fi
30171 done
30172
30173 else
30174
30175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30176 $as_echo_n "checking for _hypotf declaration... " >&6; }
30177 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30178 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30179 $as_echo_n "(cached) " >&6
30180 else
30181
30182
30183 ac_ext=cpp
30184 ac_cpp='$CXXCPP $CPPFLAGS'
30185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30188
30189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30190 /* end confdefs.h. */
30191 #include <math.h>
30192 int
30193 main ()
30194 {
30195 _hypotf(0, 0);
30196 ;
30197 return 0;
30198 }
30199 _ACEOF
30200 if ac_fn_cxx_try_compile "$LINENO"; then :
30201 glibcxx_cv_func__hypotf_use=yes
30202 else
30203 glibcxx_cv_func__hypotf_use=no
30204 fi
30205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30206 ac_ext=c
30207 ac_cpp='$CPP $CPPFLAGS'
30208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30211
30212
30213 fi
30214
30215 fi
30216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30217 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30218
30219 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30220 for ac_func in _hypotf
30221 do :
30222 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30223 if test "x$ac_cv_func__hypotf" = x""yes; then :
30224 cat >>confdefs.h <<_ACEOF
30225 #define HAVE__HYPOTF 1
30226 _ACEOF
30227
30228 fi
30229 done
30230
30231 fi
30232 fi
30233
30234
30235
30236
30237
30238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30239 $as_echo_n "checking for ldexpf declaration... " >&6; }
30240 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30241 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30242 $as_echo_n "(cached) " >&6
30243 else
30244
30245
30246 ac_ext=cpp
30247 ac_cpp='$CXXCPP $CPPFLAGS'
30248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30251
30252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30253 /* end confdefs.h. */
30254 #include <math.h>
30255 int
30256 main ()
30257 {
30258 ldexpf(0, 0);
30259 ;
30260 return 0;
30261 }
30262 _ACEOF
30263 if ac_fn_cxx_try_compile "$LINENO"; then :
30264 glibcxx_cv_func_ldexpf_use=yes
30265 else
30266 glibcxx_cv_func_ldexpf_use=no
30267 fi
30268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30269 ac_ext=c
30270 ac_cpp='$CPP $CPPFLAGS'
30271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30274
30275
30276 fi
30277
30278 fi
30279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30280 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30281
30282 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30283 for ac_func in ldexpf
30284 do :
30285 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30286 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30287 cat >>confdefs.h <<_ACEOF
30288 #define HAVE_LDEXPF 1
30289 _ACEOF
30290
30291 fi
30292 done
30293
30294 else
30295
30296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30297 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30298 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30299 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30300 $as_echo_n "(cached) " >&6
30301 else
30302
30303
30304 ac_ext=cpp
30305 ac_cpp='$CXXCPP $CPPFLAGS'
30306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30309
30310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30311 /* end confdefs.h. */
30312 #include <math.h>
30313 int
30314 main ()
30315 {
30316 _ldexpf(0, 0);
30317 ;
30318 return 0;
30319 }
30320 _ACEOF
30321 if ac_fn_cxx_try_compile "$LINENO"; then :
30322 glibcxx_cv_func__ldexpf_use=yes
30323 else
30324 glibcxx_cv_func__ldexpf_use=no
30325 fi
30326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30327 ac_ext=c
30328 ac_cpp='$CPP $CPPFLAGS'
30329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30332
30333
30334 fi
30335
30336 fi
30337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30338 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30339
30340 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30341 for ac_func in _ldexpf
30342 do :
30343 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30344 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30345 cat >>confdefs.h <<_ACEOF
30346 #define HAVE__LDEXPF 1
30347 _ACEOF
30348
30349 fi
30350 done
30351
30352 fi
30353 fi
30354
30355
30356
30357
30358
30359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30360 $as_echo_n "checking for logf declaration... " >&6; }
30361 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30362 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30363 $as_echo_n "(cached) " >&6
30364 else
30365
30366
30367 ac_ext=cpp
30368 ac_cpp='$CXXCPP $CPPFLAGS'
30369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30372
30373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30374 /* end confdefs.h. */
30375 #include <math.h>
30376 #ifdef HAVE_IEEEFP_H
30377 #include <ieeefp.h>
30378 #endif
30379
30380 int
30381 main ()
30382 {
30383 logf(0);
30384 ;
30385 return 0;
30386 }
30387 _ACEOF
30388 if ac_fn_cxx_try_compile "$LINENO"; then :
30389 glibcxx_cv_func_logf_use=yes
30390 else
30391 glibcxx_cv_func_logf_use=no
30392 fi
30393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30394 ac_ext=c
30395 ac_cpp='$CPP $CPPFLAGS'
30396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30399
30400
30401 fi
30402
30403 fi
30404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30405 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30406
30407 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30408 for ac_func in logf
30409 do :
30410 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30411 if test "x$ac_cv_func_logf" = x""yes; then :
30412 cat >>confdefs.h <<_ACEOF
30413 #define HAVE_LOGF 1
30414 _ACEOF
30415
30416 fi
30417 done
30418
30419 else
30420
30421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30422 $as_echo_n "checking for _logf declaration... " >&6; }
30423 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30424 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30425 $as_echo_n "(cached) " >&6
30426 else
30427
30428
30429 ac_ext=cpp
30430 ac_cpp='$CXXCPP $CPPFLAGS'
30431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30434
30435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30436 /* end confdefs.h. */
30437 #include <math.h>
30438 #ifdef HAVE_IEEEFP_H
30439 #include <ieeefp.h>
30440 #endif
30441
30442 int
30443 main ()
30444 {
30445 _logf(0);
30446 ;
30447 return 0;
30448 }
30449 _ACEOF
30450 if ac_fn_cxx_try_compile "$LINENO"; then :
30451 glibcxx_cv_func__logf_use=yes
30452 else
30453 glibcxx_cv_func__logf_use=no
30454 fi
30455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30456 ac_ext=c
30457 ac_cpp='$CPP $CPPFLAGS'
30458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30461
30462
30463 fi
30464
30465 fi
30466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30467 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30468
30469 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30470 for ac_func in _logf
30471 do :
30472 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30473 if test "x$ac_cv_func__logf" = x""yes; then :
30474 cat >>confdefs.h <<_ACEOF
30475 #define HAVE__LOGF 1
30476 _ACEOF
30477
30478 fi
30479 done
30480
30481 fi
30482 fi
30483
30484
30485
30486
30487
30488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30489 $as_echo_n "checking for log10f declaration... " >&6; }
30490 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30491 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30492 $as_echo_n "(cached) " >&6
30493 else
30494
30495
30496 ac_ext=cpp
30497 ac_cpp='$CXXCPP $CPPFLAGS'
30498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30501
30502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30503 /* end confdefs.h. */
30504 #include <math.h>
30505 #ifdef HAVE_IEEEFP_H
30506 #include <ieeefp.h>
30507 #endif
30508
30509 int
30510 main ()
30511 {
30512 log10f(0);
30513 ;
30514 return 0;
30515 }
30516 _ACEOF
30517 if ac_fn_cxx_try_compile "$LINENO"; then :
30518 glibcxx_cv_func_log10f_use=yes
30519 else
30520 glibcxx_cv_func_log10f_use=no
30521 fi
30522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30523 ac_ext=c
30524 ac_cpp='$CPP $CPPFLAGS'
30525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30528
30529
30530 fi
30531
30532 fi
30533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30534 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30535
30536 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30537 for ac_func in log10f
30538 do :
30539 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30540 if test "x$ac_cv_func_log10f" = x""yes; then :
30541 cat >>confdefs.h <<_ACEOF
30542 #define HAVE_LOG10F 1
30543 _ACEOF
30544
30545 fi
30546 done
30547
30548 else
30549
30550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30551 $as_echo_n "checking for _log10f declaration... " >&6; }
30552 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30553 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30554 $as_echo_n "(cached) " >&6
30555 else
30556
30557
30558 ac_ext=cpp
30559 ac_cpp='$CXXCPP $CPPFLAGS'
30560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30563
30564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30565 /* end confdefs.h. */
30566 #include <math.h>
30567 #ifdef HAVE_IEEEFP_H
30568 #include <ieeefp.h>
30569 #endif
30570
30571 int
30572 main ()
30573 {
30574 _log10f(0);
30575 ;
30576 return 0;
30577 }
30578 _ACEOF
30579 if ac_fn_cxx_try_compile "$LINENO"; then :
30580 glibcxx_cv_func__log10f_use=yes
30581 else
30582 glibcxx_cv_func__log10f_use=no
30583 fi
30584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30585 ac_ext=c
30586 ac_cpp='$CPP $CPPFLAGS'
30587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30590
30591
30592 fi
30593
30594 fi
30595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30596 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30597
30598 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30599 for ac_func in _log10f
30600 do :
30601 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30602 if test "x$ac_cv_func__log10f" = x""yes; then :
30603 cat >>confdefs.h <<_ACEOF
30604 #define HAVE__LOG10F 1
30605 _ACEOF
30606
30607 fi
30608 done
30609
30610 fi
30611 fi
30612
30613
30614
30615
30616
30617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30618 $as_echo_n "checking for modff declaration... " >&6; }
30619 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30620 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30621 $as_echo_n "(cached) " >&6
30622 else
30623
30624
30625 ac_ext=cpp
30626 ac_cpp='$CXXCPP $CPPFLAGS'
30627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30630
30631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30632 /* end confdefs.h. */
30633 #include <math.h>
30634 int
30635 main ()
30636 {
30637 modff(0, 0);
30638 ;
30639 return 0;
30640 }
30641 _ACEOF
30642 if ac_fn_cxx_try_compile "$LINENO"; then :
30643 glibcxx_cv_func_modff_use=yes
30644 else
30645 glibcxx_cv_func_modff_use=no
30646 fi
30647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30648 ac_ext=c
30649 ac_cpp='$CPP $CPPFLAGS'
30650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30653
30654
30655 fi
30656
30657 fi
30658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30659 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30660
30661 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30662 for ac_func in modff
30663 do :
30664 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30665 if test "x$ac_cv_func_modff" = x""yes; then :
30666 cat >>confdefs.h <<_ACEOF
30667 #define HAVE_MODFF 1
30668 _ACEOF
30669
30670 fi
30671 done
30672
30673 else
30674
30675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30676 $as_echo_n "checking for _modff declaration... " >&6; }
30677 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30678 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30679 $as_echo_n "(cached) " >&6
30680 else
30681
30682
30683 ac_ext=cpp
30684 ac_cpp='$CXXCPP $CPPFLAGS'
30685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30688
30689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30690 /* end confdefs.h. */
30691 #include <math.h>
30692 int
30693 main ()
30694 {
30695 _modff(0, 0);
30696 ;
30697 return 0;
30698 }
30699 _ACEOF
30700 if ac_fn_cxx_try_compile "$LINENO"; then :
30701 glibcxx_cv_func__modff_use=yes
30702 else
30703 glibcxx_cv_func__modff_use=no
30704 fi
30705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30706 ac_ext=c
30707 ac_cpp='$CPP $CPPFLAGS'
30708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30711
30712
30713 fi
30714
30715 fi
30716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30717 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30718
30719 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30720 for ac_func in _modff
30721 do :
30722 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30723 if test "x$ac_cv_func__modff" = x""yes; then :
30724 cat >>confdefs.h <<_ACEOF
30725 #define HAVE__MODFF 1
30726 _ACEOF
30727
30728 fi
30729 done
30730
30731 fi
30732 fi
30733
30734
30735
30736
30737
30738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30739 $as_echo_n "checking for modf declaration... " >&6; }
30740 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30741 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30742 $as_echo_n "(cached) " >&6
30743 else
30744
30745
30746 ac_ext=cpp
30747 ac_cpp='$CXXCPP $CPPFLAGS'
30748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30751
30752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30753 /* end confdefs.h. */
30754 #include <math.h>
30755 int
30756 main ()
30757 {
30758 modf(0, 0);
30759 ;
30760 return 0;
30761 }
30762 _ACEOF
30763 if ac_fn_cxx_try_compile "$LINENO"; then :
30764 glibcxx_cv_func_modf_use=yes
30765 else
30766 glibcxx_cv_func_modf_use=no
30767 fi
30768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30769 ac_ext=c
30770 ac_cpp='$CPP $CPPFLAGS'
30771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30774
30775
30776 fi
30777
30778 fi
30779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30780 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30781
30782 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30783 for ac_func in modf
30784 do :
30785 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30786 if test "x$ac_cv_func_modf" = x""yes; then :
30787 cat >>confdefs.h <<_ACEOF
30788 #define HAVE_MODF 1
30789 _ACEOF
30790
30791 fi
30792 done
30793
30794 else
30795
30796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30797 $as_echo_n "checking for _modf declaration... " >&6; }
30798 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30799 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30800 $as_echo_n "(cached) " >&6
30801 else
30802
30803
30804 ac_ext=cpp
30805 ac_cpp='$CXXCPP $CPPFLAGS'
30806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30809
30810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30811 /* end confdefs.h. */
30812 #include <math.h>
30813 int
30814 main ()
30815 {
30816 _modf(0, 0);
30817 ;
30818 return 0;
30819 }
30820 _ACEOF
30821 if ac_fn_cxx_try_compile "$LINENO"; then :
30822 glibcxx_cv_func__modf_use=yes
30823 else
30824 glibcxx_cv_func__modf_use=no
30825 fi
30826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30827 ac_ext=c
30828 ac_cpp='$CPP $CPPFLAGS'
30829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30832
30833
30834 fi
30835
30836 fi
30837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30838 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30839
30840 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30841 for ac_func in _modf
30842 do :
30843 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30844 if test "x$ac_cv_func__modf" = x""yes; then :
30845 cat >>confdefs.h <<_ACEOF
30846 #define HAVE__MODF 1
30847 _ACEOF
30848
30849 fi
30850 done
30851
30852 fi
30853 fi
30854
30855
30856
30857
30858
30859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30860 $as_echo_n "checking for powf declaration... " >&6; }
30861 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30862 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30863 $as_echo_n "(cached) " >&6
30864 else
30865
30866
30867 ac_ext=cpp
30868 ac_cpp='$CXXCPP $CPPFLAGS'
30869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30872
30873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30874 /* end confdefs.h. */
30875 #include <math.h>
30876 int
30877 main ()
30878 {
30879 powf(0, 0);
30880 ;
30881 return 0;
30882 }
30883 _ACEOF
30884 if ac_fn_cxx_try_compile "$LINENO"; then :
30885 glibcxx_cv_func_powf_use=yes
30886 else
30887 glibcxx_cv_func_powf_use=no
30888 fi
30889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30890 ac_ext=c
30891 ac_cpp='$CPP $CPPFLAGS'
30892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30895
30896
30897 fi
30898
30899 fi
30900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30901 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30902
30903 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30904 for ac_func in powf
30905 do :
30906 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30907 if test "x$ac_cv_func_powf" = x""yes; then :
30908 cat >>confdefs.h <<_ACEOF
30909 #define HAVE_POWF 1
30910 _ACEOF
30911
30912 fi
30913 done
30914
30915 else
30916
30917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30918 $as_echo_n "checking for _powf declaration... " >&6; }
30919 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30920 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30921 $as_echo_n "(cached) " >&6
30922 else
30923
30924
30925 ac_ext=cpp
30926 ac_cpp='$CXXCPP $CPPFLAGS'
30927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30930
30931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30932 /* end confdefs.h. */
30933 #include <math.h>
30934 int
30935 main ()
30936 {
30937 _powf(0, 0);
30938 ;
30939 return 0;
30940 }
30941 _ACEOF
30942 if ac_fn_cxx_try_compile "$LINENO"; then :
30943 glibcxx_cv_func__powf_use=yes
30944 else
30945 glibcxx_cv_func__powf_use=no
30946 fi
30947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30948 ac_ext=c
30949 ac_cpp='$CPP $CPPFLAGS'
30950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30953
30954
30955 fi
30956
30957 fi
30958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30959 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30960
30961 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30962 for ac_func in _powf
30963 do :
30964 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30965 if test "x$ac_cv_func__powf" = x""yes; then :
30966 cat >>confdefs.h <<_ACEOF
30967 #define HAVE__POWF 1
30968 _ACEOF
30969
30970 fi
30971 done
30972
30973 fi
30974 fi
30975
30976
30977
30978
30979
30980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30981 $as_echo_n "checking for sqrtf declaration... " >&6; }
30982 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30983 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30984 $as_echo_n "(cached) " >&6
30985 else
30986
30987
30988 ac_ext=cpp
30989 ac_cpp='$CXXCPP $CPPFLAGS'
30990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30993
30994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30995 /* end confdefs.h. */
30996 #include <math.h>
30997 #ifdef HAVE_IEEEFP_H
30998 #include <ieeefp.h>
30999 #endif
31000
31001 int
31002 main ()
31003 {
31004 sqrtf(0);
31005 ;
31006 return 0;
31007 }
31008 _ACEOF
31009 if ac_fn_cxx_try_compile "$LINENO"; then :
31010 glibcxx_cv_func_sqrtf_use=yes
31011 else
31012 glibcxx_cv_func_sqrtf_use=no
31013 fi
31014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31015 ac_ext=c
31016 ac_cpp='$CPP $CPPFLAGS'
31017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31020
31021
31022 fi
31023
31024 fi
31025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31026 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31027
31028 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31029 for ac_func in sqrtf
31030 do :
31031 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31032 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31033 cat >>confdefs.h <<_ACEOF
31034 #define HAVE_SQRTF 1
31035 _ACEOF
31036
31037 fi
31038 done
31039
31040 else
31041
31042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31043 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31044 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31045 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31046 $as_echo_n "(cached) " >&6
31047 else
31048
31049
31050 ac_ext=cpp
31051 ac_cpp='$CXXCPP $CPPFLAGS'
31052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31055
31056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31057 /* end confdefs.h. */
31058 #include <math.h>
31059 #ifdef HAVE_IEEEFP_H
31060 #include <ieeefp.h>
31061 #endif
31062
31063 int
31064 main ()
31065 {
31066 _sqrtf(0);
31067 ;
31068 return 0;
31069 }
31070 _ACEOF
31071 if ac_fn_cxx_try_compile "$LINENO"; then :
31072 glibcxx_cv_func__sqrtf_use=yes
31073 else
31074 glibcxx_cv_func__sqrtf_use=no
31075 fi
31076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31077 ac_ext=c
31078 ac_cpp='$CPP $CPPFLAGS'
31079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31082
31083
31084 fi
31085
31086 fi
31087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31088 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31089
31090 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31091 for ac_func in _sqrtf
31092 do :
31093 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31094 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31095 cat >>confdefs.h <<_ACEOF
31096 #define HAVE__SQRTF 1
31097 _ACEOF
31098
31099 fi
31100 done
31101
31102 fi
31103 fi
31104
31105
31106
31107
31108
31109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31110 $as_echo_n "checking for sincosf declaration... " >&6; }
31111 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31112 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31113 $as_echo_n "(cached) " >&6
31114 else
31115
31116
31117 ac_ext=cpp
31118 ac_cpp='$CXXCPP $CPPFLAGS'
31119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31122
31123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31124 /* end confdefs.h. */
31125 #include <math.h>
31126 int
31127 main ()
31128 {
31129 sincosf(0, 0, 0);
31130 ;
31131 return 0;
31132 }
31133 _ACEOF
31134 if ac_fn_cxx_try_compile "$LINENO"; then :
31135 glibcxx_cv_func_sincosf_use=yes
31136 else
31137 glibcxx_cv_func_sincosf_use=no
31138 fi
31139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31140 ac_ext=c
31141 ac_cpp='$CPP $CPPFLAGS'
31142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31145
31146
31147 fi
31148
31149 fi
31150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31151 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31152
31153 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31154 for ac_func in sincosf
31155 do :
31156 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31157 if test "x$ac_cv_func_sincosf" = x""yes; then :
31158 cat >>confdefs.h <<_ACEOF
31159 #define HAVE_SINCOSF 1
31160 _ACEOF
31161
31162 fi
31163 done
31164
31165 else
31166
31167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31168 $as_echo_n "checking for _sincosf declaration... " >&6; }
31169 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31170 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31171 $as_echo_n "(cached) " >&6
31172 else
31173
31174
31175 ac_ext=cpp
31176 ac_cpp='$CXXCPP $CPPFLAGS'
31177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31180
31181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31182 /* end confdefs.h. */
31183 #include <math.h>
31184 int
31185 main ()
31186 {
31187 _sincosf(0, 0, 0);
31188 ;
31189 return 0;
31190 }
31191 _ACEOF
31192 if ac_fn_cxx_try_compile "$LINENO"; then :
31193 glibcxx_cv_func__sincosf_use=yes
31194 else
31195 glibcxx_cv_func__sincosf_use=no
31196 fi
31197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31198 ac_ext=c
31199 ac_cpp='$CPP $CPPFLAGS'
31200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31203
31204
31205 fi
31206
31207 fi
31208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31209 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31210
31211 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31212 for ac_func in _sincosf
31213 do :
31214 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31215 if test "x$ac_cv_func__sincosf" = x""yes; then :
31216 cat >>confdefs.h <<_ACEOF
31217 #define HAVE__SINCOSF 1
31218 _ACEOF
31219
31220 fi
31221 done
31222
31223 fi
31224 fi
31225
31226
31227
31228
31229
31230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31231 $as_echo_n "checking for finitef declaration... " >&6; }
31232 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31233 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31234 $as_echo_n "(cached) " >&6
31235 else
31236
31237
31238 ac_ext=cpp
31239 ac_cpp='$CXXCPP $CPPFLAGS'
31240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31243
31244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31245 /* end confdefs.h. */
31246 #include <math.h>
31247 #ifdef HAVE_IEEEFP_H
31248 #include <ieeefp.h>
31249 #endif
31250
31251 int
31252 main ()
31253 {
31254 finitef(0);
31255 ;
31256 return 0;
31257 }
31258 _ACEOF
31259 if ac_fn_cxx_try_compile "$LINENO"; then :
31260 glibcxx_cv_func_finitef_use=yes
31261 else
31262 glibcxx_cv_func_finitef_use=no
31263 fi
31264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31265 ac_ext=c
31266 ac_cpp='$CPP $CPPFLAGS'
31267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31270
31271
31272 fi
31273
31274 fi
31275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31276 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31277
31278 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31279 for ac_func in finitef
31280 do :
31281 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31282 if test "x$ac_cv_func_finitef" = x""yes; then :
31283 cat >>confdefs.h <<_ACEOF
31284 #define HAVE_FINITEF 1
31285 _ACEOF
31286
31287 fi
31288 done
31289
31290 else
31291
31292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31293 $as_echo_n "checking for _finitef declaration... " >&6; }
31294 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31295 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31296 $as_echo_n "(cached) " >&6
31297 else
31298
31299
31300 ac_ext=cpp
31301 ac_cpp='$CXXCPP $CPPFLAGS'
31302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31305
31306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31307 /* end confdefs.h. */
31308 #include <math.h>
31309 #ifdef HAVE_IEEEFP_H
31310 #include <ieeefp.h>
31311 #endif
31312
31313 int
31314 main ()
31315 {
31316 _finitef(0);
31317 ;
31318 return 0;
31319 }
31320 _ACEOF
31321 if ac_fn_cxx_try_compile "$LINENO"; then :
31322 glibcxx_cv_func__finitef_use=yes
31323 else
31324 glibcxx_cv_func__finitef_use=no
31325 fi
31326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31327 ac_ext=c
31328 ac_cpp='$CPP $CPPFLAGS'
31329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31332
31333
31334 fi
31335
31336 fi
31337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31338 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31339
31340 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31341 for ac_func in _finitef
31342 do :
31343 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31344 if test "x$ac_cv_func__finitef" = x""yes; then :
31345 cat >>confdefs.h <<_ACEOF
31346 #define HAVE__FINITEF 1
31347 _ACEOF
31348
31349 fi
31350 done
31351
31352 fi
31353 fi
31354
31355
31356
31357
31358
31359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31360 $as_echo_n "checking for long double trig functions... " >&6; }
31361 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31362 $as_echo_n "(cached) " >&6
31363 else
31364
31365
31366 ac_ext=cpp
31367 ac_cpp='$CXXCPP $CPPFLAGS'
31368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31371
31372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31373 /* end confdefs.h. */
31374 #include <math.h>
31375 int
31376 main ()
31377 {
31378 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31379 ;
31380 return 0;
31381 }
31382 _ACEOF
31383 if ac_fn_cxx_try_compile "$LINENO"; then :
31384 glibcxx_cv_func_long_double_trig_use=yes
31385 else
31386 glibcxx_cv_func_long_double_trig_use=no
31387 fi
31388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31389 ac_ext=c
31390 ac_cpp='$CPP $CPPFLAGS'
31391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31394
31395 fi
31396
31397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31398 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31399 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31400 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31401 do :
31402 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31403 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31404 eval as_val=\$$as_ac_var
31405 if test "x$as_val" = x""yes; then :
31406 cat >>confdefs.h <<_ACEOF
31407 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31408 _ACEOF
31409
31410 fi
31411 done
31412
31413 else
31414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31415 $as_echo_n "checking for _long double trig functions... " >&6; }
31416 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31417 $as_echo_n "(cached) " >&6
31418 else
31419
31420
31421 ac_ext=cpp
31422 ac_cpp='$CXXCPP $CPPFLAGS'
31423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31426
31427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31428 /* end confdefs.h. */
31429 #include <math.h>
31430 int
31431 main ()
31432 {
31433 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31434 ;
31435 return 0;
31436 }
31437 _ACEOF
31438 if ac_fn_cxx_try_compile "$LINENO"; then :
31439 glibcxx_cv_func__long_double_trig_use=yes
31440 else
31441 glibcxx_cv_func__long_double_trig_use=no
31442 fi
31443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31444 ac_ext=c
31445 ac_cpp='$CPP $CPPFLAGS'
31446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31449
31450 fi
31451
31452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31453 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31454 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31455 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31456 do :
31457 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31458 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31459 eval as_val=\$$as_ac_var
31460 if test "x$as_val" = x""yes; then :
31461 cat >>confdefs.h <<_ACEOF
31462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31463 _ACEOF
31464
31465 fi
31466 done
31467
31468 fi
31469 fi
31470
31471
31472
31473
31474
31475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31476 $as_echo_n "checking for long double round functions... " >&6; }
31477 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31478 $as_echo_n "(cached) " >&6
31479 else
31480
31481
31482 ac_ext=cpp
31483 ac_cpp='$CXXCPP $CPPFLAGS'
31484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31487
31488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31489 /* end confdefs.h. */
31490 #include <math.h>
31491 int
31492 main ()
31493 {
31494 ceill (0); floorl (0);
31495 ;
31496 return 0;
31497 }
31498 _ACEOF
31499 if ac_fn_cxx_try_compile "$LINENO"; then :
31500 glibcxx_cv_func_long_double_round_use=yes
31501 else
31502 glibcxx_cv_func_long_double_round_use=no
31503 fi
31504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31505 ac_ext=c
31506 ac_cpp='$CPP $CPPFLAGS'
31507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31510
31511 fi
31512
31513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31514 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31515 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31516 for ac_func in ceill floorl
31517 do :
31518 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31519 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31520 eval as_val=\$$as_ac_var
31521 if test "x$as_val" = x""yes; then :
31522 cat >>confdefs.h <<_ACEOF
31523 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31524 _ACEOF
31525
31526 fi
31527 done
31528
31529 else
31530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31531 $as_echo_n "checking for _long double round functions... " >&6; }
31532 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31533 $as_echo_n "(cached) " >&6
31534 else
31535
31536
31537 ac_ext=cpp
31538 ac_cpp='$CXXCPP $CPPFLAGS'
31539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31542
31543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31544 /* end confdefs.h. */
31545 #include <math.h>
31546 int
31547 main ()
31548 {
31549 _ceill (0); _floorl (0);
31550 ;
31551 return 0;
31552 }
31553 _ACEOF
31554 if ac_fn_cxx_try_compile "$LINENO"; then :
31555 glibcxx_cv_func__long_double_round_use=yes
31556 else
31557 glibcxx_cv_func__long_double_round_use=no
31558 fi
31559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31560 ac_ext=c
31561 ac_cpp='$CPP $CPPFLAGS'
31562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31565
31566 fi
31567
31568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31569 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31570 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31571 for ac_func in _ceill _floorl
31572 do :
31573 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31574 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31575 eval as_val=\$$as_ac_var
31576 if test "x$as_val" = x""yes; then :
31577 cat >>confdefs.h <<_ACEOF
31578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31579 _ACEOF
31580
31581 fi
31582 done
31583
31584 fi
31585 fi
31586
31587
31588
31589
31590
31591
31592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31593 $as_echo_n "checking for isnanl declaration... " >&6; }
31594 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31595 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31596 $as_echo_n "(cached) " >&6
31597 else
31598
31599
31600 ac_ext=cpp
31601 ac_cpp='$CXXCPP $CPPFLAGS'
31602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31605
31606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31607 /* end confdefs.h. */
31608 #include <math.h>
31609 #ifdef HAVE_IEEEFP_H
31610 #include <ieeefp.h>
31611 #endif
31612
31613 int
31614 main ()
31615 {
31616 isnanl(0);
31617 ;
31618 return 0;
31619 }
31620 _ACEOF
31621 if ac_fn_cxx_try_compile "$LINENO"; then :
31622 glibcxx_cv_func_isnanl_use=yes
31623 else
31624 glibcxx_cv_func_isnanl_use=no
31625 fi
31626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31627 ac_ext=c
31628 ac_cpp='$CPP $CPPFLAGS'
31629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31632
31633
31634 fi
31635
31636 fi
31637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31638 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31639
31640 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31641 for ac_func in isnanl
31642 do :
31643 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31644 if test "x$ac_cv_func_isnanl" = x""yes; then :
31645 cat >>confdefs.h <<_ACEOF
31646 #define HAVE_ISNANL 1
31647 _ACEOF
31648
31649 fi
31650 done
31651
31652 else
31653
31654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31655 $as_echo_n "checking for _isnanl declaration... " >&6; }
31656 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31657 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31658 $as_echo_n "(cached) " >&6
31659 else
31660
31661
31662 ac_ext=cpp
31663 ac_cpp='$CXXCPP $CPPFLAGS'
31664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31667
31668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31669 /* end confdefs.h. */
31670 #include <math.h>
31671 #ifdef HAVE_IEEEFP_H
31672 #include <ieeefp.h>
31673 #endif
31674
31675 int
31676 main ()
31677 {
31678 _isnanl(0);
31679 ;
31680 return 0;
31681 }
31682 _ACEOF
31683 if ac_fn_cxx_try_compile "$LINENO"; then :
31684 glibcxx_cv_func__isnanl_use=yes
31685 else
31686 glibcxx_cv_func__isnanl_use=no
31687 fi
31688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31689 ac_ext=c
31690 ac_cpp='$CPP $CPPFLAGS'
31691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31694
31695
31696 fi
31697
31698 fi
31699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31700 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31701
31702 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31703 for ac_func in _isnanl
31704 do :
31705 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31706 if test "x$ac_cv_func__isnanl" = x""yes; then :
31707 cat >>confdefs.h <<_ACEOF
31708 #define HAVE__ISNANL 1
31709 _ACEOF
31710
31711 fi
31712 done
31713
31714 fi
31715 fi
31716
31717
31718
31719
31720
31721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31722 $as_echo_n "checking for isinfl declaration... " >&6; }
31723 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31724 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31725 $as_echo_n "(cached) " >&6
31726 else
31727
31728
31729 ac_ext=cpp
31730 ac_cpp='$CXXCPP $CPPFLAGS'
31731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31734
31735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31736 /* end confdefs.h. */
31737 #include <math.h>
31738 #ifdef HAVE_IEEEFP_H
31739 #include <ieeefp.h>
31740 #endif
31741
31742 int
31743 main ()
31744 {
31745 isinfl(0);
31746 ;
31747 return 0;
31748 }
31749 _ACEOF
31750 if ac_fn_cxx_try_compile "$LINENO"; then :
31751 glibcxx_cv_func_isinfl_use=yes
31752 else
31753 glibcxx_cv_func_isinfl_use=no
31754 fi
31755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31756 ac_ext=c
31757 ac_cpp='$CPP $CPPFLAGS'
31758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31761
31762
31763 fi
31764
31765 fi
31766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31767 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31768
31769 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31770 for ac_func in isinfl
31771 do :
31772 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31773 if test "x$ac_cv_func_isinfl" = x""yes; then :
31774 cat >>confdefs.h <<_ACEOF
31775 #define HAVE_ISINFL 1
31776 _ACEOF
31777
31778 fi
31779 done
31780
31781 else
31782
31783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31784 $as_echo_n "checking for _isinfl declaration... " >&6; }
31785 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31786 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31787 $as_echo_n "(cached) " >&6
31788 else
31789
31790
31791 ac_ext=cpp
31792 ac_cpp='$CXXCPP $CPPFLAGS'
31793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31796
31797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31798 /* end confdefs.h. */
31799 #include <math.h>
31800 #ifdef HAVE_IEEEFP_H
31801 #include <ieeefp.h>
31802 #endif
31803
31804 int
31805 main ()
31806 {
31807 _isinfl(0);
31808 ;
31809 return 0;
31810 }
31811 _ACEOF
31812 if ac_fn_cxx_try_compile "$LINENO"; then :
31813 glibcxx_cv_func__isinfl_use=yes
31814 else
31815 glibcxx_cv_func__isinfl_use=no
31816 fi
31817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31818 ac_ext=c
31819 ac_cpp='$CPP $CPPFLAGS'
31820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31823
31824
31825 fi
31826
31827 fi
31828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31829 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31830
31831 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31832 for ac_func in _isinfl
31833 do :
31834 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31835 if test "x$ac_cv_func__isinfl" = x""yes; then :
31836 cat >>confdefs.h <<_ACEOF
31837 #define HAVE__ISINFL 1
31838 _ACEOF
31839
31840 fi
31841 done
31842
31843 fi
31844 fi
31845
31846
31847
31848
31849
31850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31851 $as_echo_n "checking for atan2l declaration... " >&6; }
31852 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31853 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31854 $as_echo_n "(cached) " >&6
31855 else
31856
31857
31858 ac_ext=cpp
31859 ac_cpp='$CXXCPP $CPPFLAGS'
31860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31863
31864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31865 /* end confdefs.h. */
31866 #include <math.h>
31867 int
31868 main ()
31869 {
31870 atan2l(0, 0);
31871 ;
31872 return 0;
31873 }
31874 _ACEOF
31875 if ac_fn_cxx_try_compile "$LINENO"; then :
31876 glibcxx_cv_func_atan2l_use=yes
31877 else
31878 glibcxx_cv_func_atan2l_use=no
31879 fi
31880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31881 ac_ext=c
31882 ac_cpp='$CPP $CPPFLAGS'
31883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31886
31887
31888 fi
31889
31890 fi
31891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31892 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31893
31894 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31895 for ac_func in atan2l
31896 do :
31897 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31898 if test "x$ac_cv_func_atan2l" = x""yes; then :
31899 cat >>confdefs.h <<_ACEOF
31900 #define HAVE_ATAN2L 1
31901 _ACEOF
31902
31903 fi
31904 done
31905
31906 else
31907
31908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31909 $as_echo_n "checking for _atan2l declaration... " >&6; }
31910 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31911 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31912 $as_echo_n "(cached) " >&6
31913 else
31914
31915
31916 ac_ext=cpp
31917 ac_cpp='$CXXCPP $CPPFLAGS'
31918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31921
31922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31923 /* end confdefs.h. */
31924 #include <math.h>
31925 int
31926 main ()
31927 {
31928 _atan2l(0, 0);
31929 ;
31930 return 0;
31931 }
31932 _ACEOF
31933 if ac_fn_cxx_try_compile "$LINENO"; then :
31934 glibcxx_cv_func__atan2l_use=yes
31935 else
31936 glibcxx_cv_func__atan2l_use=no
31937 fi
31938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31939 ac_ext=c
31940 ac_cpp='$CPP $CPPFLAGS'
31941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31944
31945
31946 fi
31947
31948 fi
31949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31950 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31951
31952 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31953 for ac_func in _atan2l
31954 do :
31955 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31956 if test "x$ac_cv_func__atan2l" = x""yes; then :
31957 cat >>confdefs.h <<_ACEOF
31958 #define HAVE__ATAN2L 1
31959 _ACEOF
31960
31961 fi
31962 done
31963
31964 fi
31965 fi
31966
31967
31968
31969
31970
31971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31972 $as_echo_n "checking for expl declaration... " >&6; }
31973 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31974 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31975 $as_echo_n "(cached) " >&6
31976 else
31977
31978
31979 ac_ext=cpp
31980 ac_cpp='$CXXCPP $CPPFLAGS'
31981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31984
31985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31986 /* end confdefs.h. */
31987 #include <math.h>
31988 #ifdef HAVE_IEEEFP_H
31989 #include <ieeefp.h>
31990 #endif
31991
31992 int
31993 main ()
31994 {
31995 expl(0);
31996 ;
31997 return 0;
31998 }
31999 _ACEOF
32000 if ac_fn_cxx_try_compile "$LINENO"; then :
32001 glibcxx_cv_func_expl_use=yes
32002 else
32003 glibcxx_cv_func_expl_use=no
32004 fi
32005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32006 ac_ext=c
32007 ac_cpp='$CPP $CPPFLAGS'
32008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32011
32012
32013 fi
32014
32015 fi
32016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32017 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32018
32019 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32020 for ac_func in expl
32021 do :
32022 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32023 if test "x$ac_cv_func_expl" = x""yes; then :
32024 cat >>confdefs.h <<_ACEOF
32025 #define HAVE_EXPL 1
32026 _ACEOF
32027
32028 fi
32029 done
32030
32031 else
32032
32033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32034 $as_echo_n "checking for _expl declaration... " >&6; }
32035 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32036 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32037 $as_echo_n "(cached) " >&6
32038 else
32039
32040
32041 ac_ext=cpp
32042 ac_cpp='$CXXCPP $CPPFLAGS'
32043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32046
32047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32048 /* end confdefs.h. */
32049 #include <math.h>
32050 #ifdef HAVE_IEEEFP_H
32051 #include <ieeefp.h>
32052 #endif
32053
32054 int
32055 main ()
32056 {
32057 _expl(0);
32058 ;
32059 return 0;
32060 }
32061 _ACEOF
32062 if ac_fn_cxx_try_compile "$LINENO"; then :
32063 glibcxx_cv_func__expl_use=yes
32064 else
32065 glibcxx_cv_func__expl_use=no
32066 fi
32067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32068 ac_ext=c
32069 ac_cpp='$CPP $CPPFLAGS'
32070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32073
32074
32075 fi
32076
32077 fi
32078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32079 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32080
32081 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32082 for ac_func in _expl
32083 do :
32084 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32085 if test "x$ac_cv_func__expl" = x""yes; then :
32086 cat >>confdefs.h <<_ACEOF
32087 #define HAVE__EXPL 1
32088 _ACEOF
32089
32090 fi
32091 done
32092
32093 fi
32094 fi
32095
32096
32097
32098
32099
32100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32101 $as_echo_n "checking for fabsl declaration... " >&6; }
32102 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32103 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32104 $as_echo_n "(cached) " >&6
32105 else
32106
32107
32108 ac_ext=cpp
32109 ac_cpp='$CXXCPP $CPPFLAGS'
32110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32113
32114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32115 /* end confdefs.h. */
32116 #include <math.h>
32117 #ifdef HAVE_IEEEFP_H
32118 #include <ieeefp.h>
32119 #endif
32120
32121 int
32122 main ()
32123 {
32124 fabsl(0);
32125 ;
32126 return 0;
32127 }
32128 _ACEOF
32129 if ac_fn_cxx_try_compile "$LINENO"; then :
32130 glibcxx_cv_func_fabsl_use=yes
32131 else
32132 glibcxx_cv_func_fabsl_use=no
32133 fi
32134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32135 ac_ext=c
32136 ac_cpp='$CPP $CPPFLAGS'
32137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32140
32141
32142 fi
32143
32144 fi
32145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32146 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32147
32148 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32149 for ac_func in fabsl
32150 do :
32151 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32152 if test "x$ac_cv_func_fabsl" = x""yes; then :
32153 cat >>confdefs.h <<_ACEOF
32154 #define HAVE_FABSL 1
32155 _ACEOF
32156
32157 fi
32158 done
32159
32160 else
32161
32162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32163 $as_echo_n "checking for _fabsl declaration... " >&6; }
32164 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32165 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32166 $as_echo_n "(cached) " >&6
32167 else
32168
32169
32170 ac_ext=cpp
32171 ac_cpp='$CXXCPP $CPPFLAGS'
32172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32175
32176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32177 /* end confdefs.h. */
32178 #include <math.h>
32179 #ifdef HAVE_IEEEFP_H
32180 #include <ieeefp.h>
32181 #endif
32182
32183 int
32184 main ()
32185 {
32186 _fabsl(0);
32187 ;
32188 return 0;
32189 }
32190 _ACEOF
32191 if ac_fn_cxx_try_compile "$LINENO"; then :
32192 glibcxx_cv_func__fabsl_use=yes
32193 else
32194 glibcxx_cv_func__fabsl_use=no
32195 fi
32196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32197 ac_ext=c
32198 ac_cpp='$CPP $CPPFLAGS'
32199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32202
32203
32204 fi
32205
32206 fi
32207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32208 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32209
32210 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32211 for ac_func in _fabsl
32212 do :
32213 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32214 if test "x$ac_cv_func__fabsl" = x""yes; then :
32215 cat >>confdefs.h <<_ACEOF
32216 #define HAVE__FABSL 1
32217 _ACEOF
32218
32219 fi
32220 done
32221
32222 fi
32223 fi
32224
32225
32226
32227
32228
32229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32230 $as_echo_n "checking for fmodl declaration... " >&6; }
32231 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32232 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32233 $as_echo_n "(cached) " >&6
32234 else
32235
32236
32237 ac_ext=cpp
32238 ac_cpp='$CXXCPP $CPPFLAGS'
32239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32242
32243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32244 /* end confdefs.h. */
32245 #include <math.h>
32246 int
32247 main ()
32248 {
32249 fmodl(0, 0);
32250 ;
32251 return 0;
32252 }
32253 _ACEOF
32254 if ac_fn_cxx_try_compile "$LINENO"; then :
32255 glibcxx_cv_func_fmodl_use=yes
32256 else
32257 glibcxx_cv_func_fmodl_use=no
32258 fi
32259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32260 ac_ext=c
32261 ac_cpp='$CPP $CPPFLAGS'
32262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32265
32266
32267 fi
32268
32269 fi
32270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32271 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32272
32273 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32274 for ac_func in fmodl
32275 do :
32276 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32277 if test "x$ac_cv_func_fmodl" = x""yes; then :
32278 cat >>confdefs.h <<_ACEOF
32279 #define HAVE_FMODL 1
32280 _ACEOF
32281
32282 fi
32283 done
32284
32285 else
32286
32287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32288 $as_echo_n "checking for _fmodl declaration... " >&6; }
32289 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32290 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32291 $as_echo_n "(cached) " >&6
32292 else
32293
32294
32295 ac_ext=cpp
32296 ac_cpp='$CXXCPP $CPPFLAGS'
32297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32300
32301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32302 /* end confdefs.h. */
32303 #include <math.h>
32304 int
32305 main ()
32306 {
32307 _fmodl(0, 0);
32308 ;
32309 return 0;
32310 }
32311 _ACEOF
32312 if ac_fn_cxx_try_compile "$LINENO"; then :
32313 glibcxx_cv_func__fmodl_use=yes
32314 else
32315 glibcxx_cv_func__fmodl_use=no
32316 fi
32317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32318 ac_ext=c
32319 ac_cpp='$CPP $CPPFLAGS'
32320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32323
32324
32325 fi
32326
32327 fi
32328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32329 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32330
32331 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32332 for ac_func in _fmodl
32333 do :
32334 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32335 if test "x$ac_cv_func__fmodl" = x""yes; then :
32336 cat >>confdefs.h <<_ACEOF
32337 #define HAVE__FMODL 1
32338 _ACEOF
32339
32340 fi
32341 done
32342
32343 fi
32344 fi
32345
32346
32347
32348
32349
32350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32351 $as_echo_n "checking for frexpl declaration... " >&6; }
32352 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32353 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32354 $as_echo_n "(cached) " >&6
32355 else
32356
32357
32358 ac_ext=cpp
32359 ac_cpp='$CXXCPP $CPPFLAGS'
32360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32363
32364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32365 /* end confdefs.h. */
32366 #include <math.h>
32367 int
32368 main ()
32369 {
32370 frexpl(0, 0);
32371 ;
32372 return 0;
32373 }
32374 _ACEOF
32375 if ac_fn_cxx_try_compile "$LINENO"; then :
32376 glibcxx_cv_func_frexpl_use=yes
32377 else
32378 glibcxx_cv_func_frexpl_use=no
32379 fi
32380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32381 ac_ext=c
32382 ac_cpp='$CPP $CPPFLAGS'
32383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32386
32387
32388 fi
32389
32390 fi
32391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32392 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32393
32394 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32395 for ac_func in frexpl
32396 do :
32397 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32398 if test "x$ac_cv_func_frexpl" = x""yes; then :
32399 cat >>confdefs.h <<_ACEOF
32400 #define HAVE_FREXPL 1
32401 _ACEOF
32402
32403 fi
32404 done
32405
32406 else
32407
32408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32409 $as_echo_n "checking for _frexpl declaration... " >&6; }
32410 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32411 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32412 $as_echo_n "(cached) " >&6
32413 else
32414
32415
32416 ac_ext=cpp
32417 ac_cpp='$CXXCPP $CPPFLAGS'
32418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32421
32422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32423 /* end confdefs.h. */
32424 #include <math.h>
32425 int
32426 main ()
32427 {
32428 _frexpl(0, 0);
32429 ;
32430 return 0;
32431 }
32432 _ACEOF
32433 if ac_fn_cxx_try_compile "$LINENO"; then :
32434 glibcxx_cv_func__frexpl_use=yes
32435 else
32436 glibcxx_cv_func__frexpl_use=no
32437 fi
32438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32439 ac_ext=c
32440 ac_cpp='$CPP $CPPFLAGS'
32441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32444
32445
32446 fi
32447
32448 fi
32449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32450 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32451
32452 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32453 for ac_func in _frexpl
32454 do :
32455 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32456 if test "x$ac_cv_func__frexpl" = x""yes; then :
32457 cat >>confdefs.h <<_ACEOF
32458 #define HAVE__FREXPL 1
32459 _ACEOF
32460
32461 fi
32462 done
32463
32464 fi
32465 fi
32466
32467
32468
32469
32470
32471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32472 $as_echo_n "checking for hypotl declaration... " >&6; }
32473 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32474 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32475 $as_echo_n "(cached) " >&6
32476 else
32477
32478
32479 ac_ext=cpp
32480 ac_cpp='$CXXCPP $CPPFLAGS'
32481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32484
32485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32486 /* end confdefs.h. */
32487 #include <math.h>
32488 int
32489 main ()
32490 {
32491 hypotl(0, 0);
32492 ;
32493 return 0;
32494 }
32495 _ACEOF
32496 if ac_fn_cxx_try_compile "$LINENO"; then :
32497 glibcxx_cv_func_hypotl_use=yes
32498 else
32499 glibcxx_cv_func_hypotl_use=no
32500 fi
32501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32502 ac_ext=c
32503 ac_cpp='$CPP $CPPFLAGS'
32504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32507
32508
32509 fi
32510
32511 fi
32512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32513 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32514
32515 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32516 for ac_func in hypotl
32517 do :
32518 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32519 if test "x$ac_cv_func_hypotl" = x""yes; then :
32520 cat >>confdefs.h <<_ACEOF
32521 #define HAVE_HYPOTL 1
32522 _ACEOF
32523
32524 fi
32525 done
32526
32527 else
32528
32529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32530 $as_echo_n "checking for _hypotl declaration... " >&6; }
32531 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32532 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32533 $as_echo_n "(cached) " >&6
32534 else
32535
32536
32537 ac_ext=cpp
32538 ac_cpp='$CXXCPP $CPPFLAGS'
32539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32542
32543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32544 /* end confdefs.h. */
32545 #include <math.h>
32546 int
32547 main ()
32548 {
32549 _hypotl(0, 0);
32550 ;
32551 return 0;
32552 }
32553 _ACEOF
32554 if ac_fn_cxx_try_compile "$LINENO"; then :
32555 glibcxx_cv_func__hypotl_use=yes
32556 else
32557 glibcxx_cv_func__hypotl_use=no
32558 fi
32559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32560 ac_ext=c
32561 ac_cpp='$CPP $CPPFLAGS'
32562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32565
32566
32567 fi
32568
32569 fi
32570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32571 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32572
32573 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32574 for ac_func in _hypotl
32575 do :
32576 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32577 if test "x$ac_cv_func__hypotl" = x""yes; then :
32578 cat >>confdefs.h <<_ACEOF
32579 #define HAVE__HYPOTL 1
32580 _ACEOF
32581
32582 fi
32583 done
32584
32585 fi
32586 fi
32587
32588
32589
32590
32591
32592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32593 $as_echo_n "checking for ldexpl declaration... " >&6; }
32594 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32595 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32596 $as_echo_n "(cached) " >&6
32597 else
32598
32599
32600 ac_ext=cpp
32601 ac_cpp='$CXXCPP $CPPFLAGS'
32602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32605
32606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32607 /* end confdefs.h. */
32608 #include <math.h>
32609 int
32610 main ()
32611 {
32612 ldexpl(0, 0);
32613 ;
32614 return 0;
32615 }
32616 _ACEOF
32617 if ac_fn_cxx_try_compile "$LINENO"; then :
32618 glibcxx_cv_func_ldexpl_use=yes
32619 else
32620 glibcxx_cv_func_ldexpl_use=no
32621 fi
32622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32623 ac_ext=c
32624 ac_cpp='$CPP $CPPFLAGS'
32625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32628
32629
32630 fi
32631
32632 fi
32633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32634 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32635
32636 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32637 for ac_func in ldexpl
32638 do :
32639 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32640 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32641 cat >>confdefs.h <<_ACEOF
32642 #define HAVE_LDEXPL 1
32643 _ACEOF
32644
32645 fi
32646 done
32647
32648 else
32649
32650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32651 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32652 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32653 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32654 $as_echo_n "(cached) " >&6
32655 else
32656
32657
32658 ac_ext=cpp
32659 ac_cpp='$CXXCPP $CPPFLAGS'
32660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32663
32664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32665 /* end confdefs.h. */
32666 #include <math.h>
32667 int
32668 main ()
32669 {
32670 _ldexpl(0, 0);
32671 ;
32672 return 0;
32673 }
32674 _ACEOF
32675 if ac_fn_cxx_try_compile "$LINENO"; then :
32676 glibcxx_cv_func__ldexpl_use=yes
32677 else
32678 glibcxx_cv_func__ldexpl_use=no
32679 fi
32680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32681 ac_ext=c
32682 ac_cpp='$CPP $CPPFLAGS'
32683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32686
32687
32688 fi
32689
32690 fi
32691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32692 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32693
32694 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32695 for ac_func in _ldexpl
32696 do :
32697 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32698 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32699 cat >>confdefs.h <<_ACEOF
32700 #define HAVE__LDEXPL 1
32701 _ACEOF
32702
32703 fi
32704 done
32705
32706 fi
32707 fi
32708
32709
32710
32711
32712
32713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32714 $as_echo_n "checking for logl declaration... " >&6; }
32715 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32716 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32717 $as_echo_n "(cached) " >&6
32718 else
32719
32720
32721 ac_ext=cpp
32722 ac_cpp='$CXXCPP $CPPFLAGS'
32723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32726
32727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32728 /* end confdefs.h. */
32729 #include <math.h>
32730 #ifdef HAVE_IEEEFP_H
32731 #include <ieeefp.h>
32732 #endif
32733
32734 int
32735 main ()
32736 {
32737 logl(0);
32738 ;
32739 return 0;
32740 }
32741 _ACEOF
32742 if ac_fn_cxx_try_compile "$LINENO"; then :
32743 glibcxx_cv_func_logl_use=yes
32744 else
32745 glibcxx_cv_func_logl_use=no
32746 fi
32747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32748 ac_ext=c
32749 ac_cpp='$CPP $CPPFLAGS'
32750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32753
32754
32755 fi
32756
32757 fi
32758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32759 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32760
32761 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32762 for ac_func in logl
32763 do :
32764 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32765 if test "x$ac_cv_func_logl" = x""yes; then :
32766 cat >>confdefs.h <<_ACEOF
32767 #define HAVE_LOGL 1
32768 _ACEOF
32769
32770 fi
32771 done
32772
32773 else
32774
32775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32776 $as_echo_n "checking for _logl declaration... " >&6; }
32777 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32778 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32779 $as_echo_n "(cached) " >&6
32780 else
32781
32782
32783 ac_ext=cpp
32784 ac_cpp='$CXXCPP $CPPFLAGS'
32785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32788
32789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32790 /* end confdefs.h. */
32791 #include <math.h>
32792 #ifdef HAVE_IEEEFP_H
32793 #include <ieeefp.h>
32794 #endif
32795
32796 int
32797 main ()
32798 {
32799 _logl(0);
32800 ;
32801 return 0;
32802 }
32803 _ACEOF
32804 if ac_fn_cxx_try_compile "$LINENO"; then :
32805 glibcxx_cv_func__logl_use=yes
32806 else
32807 glibcxx_cv_func__logl_use=no
32808 fi
32809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32810 ac_ext=c
32811 ac_cpp='$CPP $CPPFLAGS'
32812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32815
32816
32817 fi
32818
32819 fi
32820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32821 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32822
32823 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32824 for ac_func in _logl
32825 do :
32826 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32827 if test "x$ac_cv_func__logl" = x""yes; then :
32828 cat >>confdefs.h <<_ACEOF
32829 #define HAVE__LOGL 1
32830 _ACEOF
32831
32832 fi
32833 done
32834
32835 fi
32836 fi
32837
32838
32839
32840
32841
32842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32843 $as_echo_n "checking for log10l declaration... " >&6; }
32844 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32845 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32846 $as_echo_n "(cached) " >&6
32847 else
32848
32849
32850 ac_ext=cpp
32851 ac_cpp='$CXXCPP $CPPFLAGS'
32852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32855
32856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32857 /* end confdefs.h. */
32858 #include <math.h>
32859 #ifdef HAVE_IEEEFP_H
32860 #include <ieeefp.h>
32861 #endif
32862
32863 int
32864 main ()
32865 {
32866 log10l(0);
32867 ;
32868 return 0;
32869 }
32870 _ACEOF
32871 if ac_fn_cxx_try_compile "$LINENO"; then :
32872 glibcxx_cv_func_log10l_use=yes
32873 else
32874 glibcxx_cv_func_log10l_use=no
32875 fi
32876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32877 ac_ext=c
32878 ac_cpp='$CPP $CPPFLAGS'
32879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32882
32883
32884 fi
32885
32886 fi
32887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32888 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32889
32890 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32891 for ac_func in log10l
32892 do :
32893 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32894 if test "x$ac_cv_func_log10l" = x""yes; then :
32895 cat >>confdefs.h <<_ACEOF
32896 #define HAVE_LOG10L 1
32897 _ACEOF
32898
32899 fi
32900 done
32901
32902 else
32903
32904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32905 $as_echo_n "checking for _log10l declaration... " >&6; }
32906 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32907 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32908 $as_echo_n "(cached) " >&6
32909 else
32910
32911
32912 ac_ext=cpp
32913 ac_cpp='$CXXCPP $CPPFLAGS'
32914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32917
32918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32919 /* end confdefs.h. */
32920 #include <math.h>
32921 #ifdef HAVE_IEEEFP_H
32922 #include <ieeefp.h>
32923 #endif
32924
32925 int
32926 main ()
32927 {
32928 _log10l(0);
32929 ;
32930 return 0;
32931 }
32932 _ACEOF
32933 if ac_fn_cxx_try_compile "$LINENO"; then :
32934 glibcxx_cv_func__log10l_use=yes
32935 else
32936 glibcxx_cv_func__log10l_use=no
32937 fi
32938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32939 ac_ext=c
32940 ac_cpp='$CPP $CPPFLAGS'
32941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32944
32945
32946 fi
32947
32948 fi
32949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32950 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32951
32952 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32953 for ac_func in _log10l
32954 do :
32955 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32956 if test "x$ac_cv_func__log10l" = x""yes; then :
32957 cat >>confdefs.h <<_ACEOF
32958 #define HAVE__LOG10L 1
32959 _ACEOF
32960
32961 fi
32962 done
32963
32964 fi
32965 fi
32966
32967
32968
32969
32970
32971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32972 $as_echo_n "checking for modfl declaration... " >&6; }
32973 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32974 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32975 $as_echo_n "(cached) " >&6
32976 else
32977
32978
32979 ac_ext=cpp
32980 ac_cpp='$CXXCPP $CPPFLAGS'
32981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32984
32985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32986 /* end confdefs.h. */
32987 #include <math.h>
32988 int
32989 main ()
32990 {
32991 modfl(0, 0);
32992 ;
32993 return 0;
32994 }
32995 _ACEOF
32996 if ac_fn_cxx_try_compile "$LINENO"; then :
32997 glibcxx_cv_func_modfl_use=yes
32998 else
32999 glibcxx_cv_func_modfl_use=no
33000 fi
33001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33002 ac_ext=c
33003 ac_cpp='$CPP $CPPFLAGS'
33004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33007
33008
33009 fi
33010
33011 fi
33012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33013 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33014
33015 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33016 for ac_func in modfl
33017 do :
33018 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33019 if test "x$ac_cv_func_modfl" = x""yes; then :
33020 cat >>confdefs.h <<_ACEOF
33021 #define HAVE_MODFL 1
33022 _ACEOF
33023
33024 fi
33025 done
33026
33027 else
33028
33029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33030 $as_echo_n "checking for _modfl declaration... " >&6; }
33031 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33032 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33033 $as_echo_n "(cached) " >&6
33034 else
33035
33036
33037 ac_ext=cpp
33038 ac_cpp='$CXXCPP $CPPFLAGS'
33039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33042
33043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33044 /* end confdefs.h. */
33045 #include <math.h>
33046 int
33047 main ()
33048 {
33049 _modfl(0, 0);
33050 ;
33051 return 0;
33052 }
33053 _ACEOF
33054 if ac_fn_cxx_try_compile "$LINENO"; then :
33055 glibcxx_cv_func__modfl_use=yes
33056 else
33057 glibcxx_cv_func__modfl_use=no
33058 fi
33059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33060 ac_ext=c
33061 ac_cpp='$CPP $CPPFLAGS'
33062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33065
33066
33067 fi
33068
33069 fi
33070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33071 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33072
33073 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33074 for ac_func in _modfl
33075 do :
33076 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33077 if test "x$ac_cv_func__modfl" = x""yes; then :
33078 cat >>confdefs.h <<_ACEOF
33079 #define HAVE__MODFL 1
33080 _ACEOF
33081
33082 fi
33083 done
33084
33085 fi
33086 fi
33087
33088
33089
33090
33091
33092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33093 $as_echo_n "checking for powl declaration... " >&6; }
33094 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33095 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33096 $as_echo_n "(cached) " >&6
33097 else
33098
33099
33100 ac_ext=cpp
33101 ac_cpp='$CXXCPP $CPPFLAGS'
33102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33105
33106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33107 /* end confdefs.h. */
33108 #include <math.h>
33109 int
33110 main ()
33111 {
33112 powl(0, 0);
33113 ;
33114 return 0;
33115 }
33116 _ACEOF
33117 if ac_fn_cxx_try_compile "$LINENO"; then :
33118 glibcxx_cv_func_powl_use=yes
33119 else
33120 glibcxx_cv_func_powl_use=no
33121 fi
33122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33123 ac_ext=c
33124 ac_cpp='$CPP $CPPFLAGS'
33125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33128
33129
33130 fi
33131
33132 fi
33133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33134 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33135
33136 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33137 for ac_func in powl
33138 do :
33139 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33140 if test "x$ac_cv_func_powl" = x""yes; then :
33141 cat >>confdefs.h <<_ACEOF
33142 #define HAVE_POWL 1
33143 _ACEOF
33144
33145 fi
33146 done
33147
33148 else
33149
33150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33151 $as_echo_n "checking for _powl declaration... " >&6; }
33152 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33153 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33154 $as_echo_n "(cached) " >&6
33155 else
33156
33157
33158 ac_ext=cpp
33159 ac_cpp='$CXXCPP $CPPFLAGS'
33160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33163
33164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33165 /* end confdefs.h. */
33166 #include <math.h>
33167 int
33168 main ()
33169 {
33170 _powl(0, 0);
33171 ;
33172 return 0;
33173 }
33174 _ACEOF
33175 if ac_fn_cxx_try_compile "$LINENO"; then :
33176 glibcxx_cv_func__powl_use=yes
33177 else
33178 glibcxx_cv_func__powl_use=no
33179 fi
33180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33181 ac_ext=c
33182 ac_cpp='$CPP $CPPFLAGS'
33183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33186
33187
33188 fi
33189
33190 fi
33191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33192 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33193
33194 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33195 for ac_func in _powl
33196 do :
33197 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33198 if test "x$ac_cv_func__powl" = x""yes; then :
33199 cat >>confdefs.h <<_ACEOF
33200 #define HAVE__POWL 1
33201 _ACEOF
33202
33203 fi
33204 done
33205
33206 fi
33207 fi
33208
33209
33210
33211
33212
33213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33214 $as_echo_n "checking for sqrtl declaration... " >&6; }
33215 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33216 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33217 $as_echo_n "(cached) " >&6
33218 else
33219
33220
33221 ac_ext=cpp
33222 ac_cpp='$CXXCPP $CPPFLAGS'
33223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33226
33227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33228 /* end confdefs.h. */
33229 #include <math.h>
33230 #ifdef HAVE_IEEEFP_H
33231 #include <ieeefp.h>
33232 #endif
33233
33234 int
33235 main ()
33236 {
33237 sqrtl(0);
33238 ;
33239 return 0;
33240 }
33241 _ACEOF
33242 if ac_fn_cxx_try_compile "$LINENO"; then :
33243 glibcxx_cv_func_sqrtl_use=yes
33244 else
33245 glibcxx_cv_func_sqrtl_use=no
33246 fi
33247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33248 ac_ext=c
33249 ac_cpp='$CPP $CPPFLAGS'
33250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33253
33254
33255 fi
33256
33257 fi
33258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33259 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33260
33261 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33262 for ac_func in sqrtl
33263 do :
33264 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33265 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33266 cat >>confdefs.h <<_ACEOF
33267 #define HAVE_SQRTL 1
33268 _ACEOF
33269
33270 fi
33271 done
33272
33273 else
33274
33275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33276 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33277 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33278 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33279 $as_echo_n "(cached) " >&6
33280 else
33281
33282
33283 ac_ext=cpp
33284 ac_cpp='$CXXCPP $CPPFLAGS'
33285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33288
33289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33290 /* end confdefs.h. */
33291 #include <math.h>
33292 #ifdef HAVE_IEEEFP_H
33293 #include <ieeefp.h>
33294 #endif
33295
33296 int
33297 main ()
33298 {
33299 _sqrtl(0);
33300 ;
33301 return 0;
33302 }
33303 _ACEOF
33304 if ac_fn_cxx_try_compile "$LINENO"; then :
33305 glibcxx_cv_func__sqrtl_use=yes
33306 else
33307 glibcxx_cv_func__sqrtl_use=no
33308 fi
33309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33310 ac_ext=c
33311 ac_cpp='$CPP $CPPFLAGS'
33312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33315
33316
33317 fi
33318
33319 fi
33320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33321 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33322
33323 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33324 for ac_func in _sqrtl
33325 do :
33326 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33327 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33328 cat >>confdefs.h <<_ACEOF
33329 #define HAVE__SQRTL 1
33330 _ACEOF
33331
33332 fi
33333 done
33334
33335 fi
33336 fi
33337
33338
33339
33340
33341
33342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33343 $as_echo_n "checking for sincosl declaration... " >&6; }
33344 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33345 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33346 $as_echo_n "(cached) " >&6
33347 else
33348
33349
33350 ac_ext=cpp
33351 ac_cpp='$CXXCPP $CPPFLAGS'
33352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33355
33356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33357 /* end confdefs.h. */
33358 #include <math.h>
33359 int
33360 main ()
33361 {
33362 sincosl(0, 0, 0);
33363 ;
33364 return 0;
33365 }
33366 _ACEOF
33367 if ac_fn_cxx_try_compile "$LINENO"; then :
33368 glibcxx_cv_func_sincosl_use=yes
33369 else
33370 glibcxx_cv_func_sincosl_use=no
33371 fi
33372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33373 ac_ext=c
33374 ac_cpp='$CPP $CPPFLAGS'
33375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33378
33379
33380 fi
33381
33382 fi
33383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33384 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33385
33386 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33387 for ac_func in sincosl
33388 do :
33389 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33390 if test "x$ac_cv_func_sincosl" = x""yes; then :
33391 cat >>confdefs.h <<_ACEOF
33392 #define HAVE_SINCOSL 1
33393 _ACEOF
33394
33395 fi
33396 done
33397
33398 else
33399
33400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33401 $as_echo_n "checking for _sincosl declaration... " >&6; }
33402 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33403 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33404 $as_echo_n "(cached) " >&6
33405 else
33406
33407
33408 ac_ext=cpp
33409 ac_cpp='$CXXCPP $CPPFLAGS'
33410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33413
33414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33415 /* end confdefs.h. */
33416 #include <math.h>
33417 int
33418 main ()
33419 {
33420 _sincosl(0, 0, 0);
33421 ;
33422 return 0;
33423 }
33424 _ACEOF
33425 if ac_fn_cxx_try_compile "$LINENO"; then :
33426 glibcxx_cv_func__sincosl_use=yes
33427 else
33428 glibcxx_cv_func__sincosl_use=no
33429 fi
33430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33431 ac_ext=c
33432 ac_cpp='$CPP $CPPFLAGS'
33433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33436
33437
33438 fi
33439
33440 fi
33441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33442 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33443
33444 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33445 for ac_func in _sincosl
33446 do :
33447 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33448 if test "x$ac_cv_func__sincosl" = x""yes; then :
33449 cat >>confdefs.h <<_ACEOF
33450 #define HAVE__SINCOSL 1
33451 _ACEOF
33452
33453 fi
33454 done
33455
33456 fi
33457 fi
33458
33459
33460
33461
33462
33463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33464 $as_echo_n "checking for finitel declaration... " >&6; }
33465 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33466 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33467 $as_echo_n "(cached) " >&6
33468 else
33469
33470
33471 ac_ext=cpp
33472 ac_cpp='$CXXCPP $CPPFLAGS'
33473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33476
33477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33478 /* end confdefs.h. */
33479 #include <math.h>
33480 #ifdef HAVE_IEEEFP_H
33481 #include <ieeefp.h>
33482 #endif
33483
33484 int
33485 main ()
33486 {
33487 finitel(0);
33488 ;
33489 return 0;
33490 }
33491 _ACEOF
33492 if ac_fn_cxx_try_compile "$LINENO"; then :
33493 glibcxx_cv_func_finitel_use=yes
33494 else
33495 glibcxx_cv_func_finitel_use=no
33496 fi
33497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33498 ac_ext=c
33499 ac_cpp='$CPP $CPPFLAGS'
33500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33503
33504
33505 fi
33506
33507 fi
33508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33509 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33510
33511 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33512 for ac_func in finitel
33513 do :
33514 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33515 if test "x$ac_cv_func_finitel" = x""yes; then :
33516 cat >>confdefs.h <<_ACEOF
33517 #define HAVE_FINITEL 1
33518 _ACEOF
33519
33520 fi
33521 done
33522
33523 else
33524
33525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33526 $as_echo_n "checking for _finitel declaration... " >&6; }
33527 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33528 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33529 $as_echo_n "(cached) " >&6
33530 else
33531
33532
33533 ac_ext=cpp
33534 ac_cpp='$CXXCPP $CPPFLAGS'
33535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33538
33539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33540 /* end confdefs.h. */
33541 #include <math.h>
33542 #ifdef HAVE_IEEEFP_H
33543 #include <ieeefp.h>
33544 #endif
33545
33546 int
33547 main ()
33548 {
33549 _finitel(0);
33550 ;
33551 return 0;
33552 }
33553 _ACEOF
33554 if ac_fn_cxx_try_compile "$LINENO"; then :
33555 glibcxx_cv_func__finitel_use=yes
33556 else
33557 glibcxx_cv_func__finitel_use=no
33558 fi
33559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33560 ac_ext=c
33561 ac_cpp='$CPP $CPPFLAGS'
33562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33565
33566
33567 fi
33568
33569 fi
33570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33571 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33572
33573 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33574 for ac_func in _finitel
33575 do :
33576 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33577 if test "x$ac_cv_func__finitel" = x""yes; then :
33578 cat >>confdefs.h <<_ACEOF
33579 #define HAVE__FINITEL 1
33580 _ACEOF
33581
33582 fi
33583 done
33584
33585 fi
33586 fi
33587
33588
33589
33590
33591 LIBS="$ac_save_LIBS"
33592 CXXFLAGS="$ac_save_CXXFLAGS"
33593
33594
33595 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33596 ac_save_CXXFLAGS="$CXXFLAGS"
33597 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33598
33599
33600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33601 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33602 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33603 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33604 $as_echo_n "(cached) " >&6
33605 else
33606
33607
33608 ac_ext=cpp
33609 ac_cpp='$CXXCPP $CPPFLAGS'
33610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33613
33614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33615 /* end confdefs.h. */
33616 #include <stdlib.h>
33617 int
33618 main ()
33619 {
33620 at_quick_exit(0);
33621 ;
33622 return 0;
33623 }
33624 _ACEOF
33625 if ac_fn_cxx_try_compile "$LINENO"; then :
33626 glibcxx_cv_func_at_quick_exit_use=yes
33627 else
33628 glibcxx_cv_func_at_quick_exit_use=no
33629 fi
33630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33631 ac_ext=c
33632 ac_cpp='$CPP $CPPFLAGS'
33633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33636
33637
33638 fi
33639
33640 fi
33641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33642 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33643 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33644 for ac_func in at_quick_exit
33645 do :
33646 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33647 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33648 cat >>confdefs.h <<_ACEOF
33649 #define HAVE_AT_QUICK_EXIT 1
33650 _ACEOF
33651
33652 fi
33653 done
33654
33655 fi
33656
33657
33658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33659 $as_echo_n "checking for quick_exit declaration... " >&6; }
33660 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33661 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33662 $as_echo_n "(cached) " >&6
33663 else
33664
33665
33666 ac_ext=cpp
33667 ac_cpp='$CXXCPP $CPPFLAGS'
33668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33671
33672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33673 /* end confdefs.h. */
33674 #include <stdlib.h>
33675 int
33676 main ()
33677 {
33678 quick_exit(0);
33679 ;
33680 return 0;
33681 }
33682 _ACEOF
33683 if ac_fn_cxx_try_compile "$LINENO"; then :
33684 glibcxx_cv_func_quick_exit_use=yes
33685 else
33686 glibcxx_cv_func_quick_exit_use=no
33687 fi
33688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33689 ac_ext=c
33690 ac_cpp='$CPP $CPPFLAGS'
33691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33694
33695
33696 fi
33697
33698 fi
33699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33700 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33701 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33702 for ac_func in quick_exit
33703 do :
33704 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33705 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33706 cat >>confdefs.h <<_ACEOF
33707 #define HAVE_QUICK_EXIT 1
33708 _ACEOF
33709
33710 fi
33711 done
33712
33713 fi
33714
33715
33716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33717 $as_echo_n "checking for strtold declaration... " >&6; }
33718 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33719 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33720 $as_echo_n "(cached) " >&6
33721 else
33722
33723
33724 ac_ext=cpp
33725 ac_cpp='$CXXCPP $CPPFLAGS'
33726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33729
33730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33731 /* end confdefs.h. */
33732 #include <stdlib.h>
33733 int
33734 main ()
33735 {
33736 strtold(0, 0);
33737 ;
33738 return 0;
33739 }
33740 _ACEOF
33741 if ac_fn_cxx_try_compile "$LINENO"; then :
33742 glibcxx_cv_func_strtold_use=yes
33743 else
33744 glibcxx_cv_func_strtold_use=no
33745 fi
33746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33747 ac_ext=c
33748 ac_cpp='$CPP $CPPFLAGS'
33749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33752
33753
33754 fi
33755
33756 fi
33757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33758 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33759 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33760 for ac_func in strtold
33761 do :
33762 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33763 if test "x$ac_cv_func_strtold" = x""yes; then :
33764 cat >>confdefs.h <<_ACEOF
33765 #define HAVE_STRTOLD 1
33766 _ACEOF
33767
33768 fi
33769 done
33770
33771 fi
33772
33773
33774
33775
33776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33777 $as_echo_n "checking for strtof declaration... " >&6; }
33778 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33779 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33780 $as_echo_n "(cached) " >&6
33781 else
33782
33783
33784 ac_ext=cpp
33785 ac_cpp='$CXXCPP $CPPFLAGS'
33786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33789
33790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33791 /* end confdefs.h. */
33792 #include <stdlib.h>
33793 int
33794 main ()
33795 {
33796 strtof(0, 0);
33797 ;
33798 return 0;
33799 }
33800 _ACEOF
33801 if ac_fn_cxx_try_compile "$LINENO"; then :
33802 glibcxx_cv_func_strtof_use=yes
33803 else
33804 glibcxx_cv_func_strtof_use=no
33805 fi
33806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33807 ac_ext=c
33808 ac_cpp='$CPP $CPPFLAGS'
33809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33812
33813
33814 fi
33815
33816 fi
33817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33818 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33819 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33820 for ac_func in strtof
33821 do :
33822 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33823 if test "x$ac_cv_func_strtof" = x""yes; then :
33824 cat >>confdefs.h <<_ACEOF
33825 #define HAVE_STRTOF 1
33826 _ACEOF
33827
33828 fi
33829 done
33830
33831 fi
33832
33833
33834
33835
33836 CXXFLAGS="$ac_save_CXXFLAGS"
33837
33838
33839 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33840
33841 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33842
33843 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33844
33845 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33846
33847
33848 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33849
33850 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33851
33852 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33853
33854 ;;
33855
33856 spu-*-elf*)
33857
33858 # All these tests are for C++; save the language and the compiler flags.
33859 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33860 # found in GLIBCXX_CONFIGURE.
33861
33862 ac_ext=cpp
33863 ac_cpp='$CXXCPP $CPPFLAGS'
33864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33867
33868 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33869 ac_save_CXXFLAGS="$CXXFLAGS"
33870
33871 # Check for maintainer-mode bits.
33872 if test x"$USE_MAINTAINER_MODE" = xno; then
33873 WERROR=''
33874 else
33875 WERROR='-Werror'
33876 fi
33877
33878 # Check for -ffunction-sections -fdata-sections
33879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33880 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
33881 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
33882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33883 /* end confdefs.h. */
33884 int foo; void bar() { };
33885 int
33886 main ()
33887 {
33888
33889 ;
33890 return 0;
33891 }
33892 _ACEOF
33893 if ac_fn_cxx_try_compile "$LINENO"; then :
33894 ac_fdsections=yes
33895 else
33896 ac_fdsections=no
33897 fi
33898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33899 if test "$ac_test_CXXFLAGS" = set; then
33900 CXXFLAGS="$ac_save_CXXFLAGS"
33901 else
33902 # this is the suspicious part
33903 CXXFLAGS=''
33904 fi
33905 if test x"$ac_fdsections" = x"yes"; then
33906 SECTION_FLAGS='-ffunction-sections -fdata-sections'
33907 fi
33908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
33909 $as_echo "$ac_fdsections" >&6; }
33910
33911 ac_ext=c
33912 ac_cpp='$CPP $CPPFLAGS'
33913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33916
33917
33918
33919
33920
33921 # If we're not using GNU ld, then there's no point in even trying these
33922 # tests. Check for that first. We should have already tested for gld
33923 # by now (in libtool), but require it now just to be safe...
33924 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33925 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33926
33927
33928
33929 # The name set by libtool depends on the version of libtool. Shame on us
33930 # for depending on an impl detail, but c'est la vie. Older versions used
33931 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33932 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33933 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33934 # set (hence we're using an older libtool), then set it.
33935 if test x${with_gnu_ld+set} != xset; then
33936 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33937 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33938 with_gnu_ld=no
33939 else
33940 with_gnu_ld=$ac_cv_prog_gnu_ld
33941 fi
33942 fi
33943
33944 # Start by getting the version number. I think the libtool test already
33945 # does some of this, but throws away the result.
33946 glibcxx_ld_is_gold=no
33947 if test x"$with_gnu_ld" = x"yes"; then
33948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33949 $as_echo_n "checking for ld version... " >&6; }
33950
33951 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33952 glibcxx_ld_is_gold=yes
33953 fi
33954 ldver=`$LD --version 2>/dev/null |
33955 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'`
33956
33957 glibcxx_gnu_ld_version=`echo $ldver | \
33958 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33960 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33961 fi
33962
33963 # Set --gc-sections.
33964 glibcxx_have_gc_sections=no
33965 if test "$glibcxx_ld_is_gold" = "yes"; then
33966 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33967 glibcxx_have_gc_sections=yes
33968 fi
33969 else
33970 glibcxx_gcsections_min_ld=21602
33971 if test x"$with_gnu_ld" = x"yes" &&
33972 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33973 glibcxx_have_gc_sections=yes
33974 fi
33975 fi
33976 if test "$glibcxx_have_gc_sections" = "yes"; then
33977 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33978 # NB: This flag only works reliably after 2.16.1. Configure tests
33979 # for this are difficult, so hard wire a value that should work.
33980
33981 ac_test_CFLAGS="${CFLAGS+set}"
33982 ac_save_CFLAGS="$CFLAGS"
33983 CFLAGS='-Wl,--gc-sections'
33984
33985 # Check for -Wl,--gc-sections
33986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33987 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33988 if test x$gcc_no_link = xyes; then
33989 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33990 fi
33991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33992 /* end confdefs.h. */
33993 int one(void) { return 1; }
33994 int two(void) { return 2; }
33995
33996 int
33997 main ()
33998 {
33999 two();
34000 ;
34001 return 0;
34002 }
34003 _ACEOF
34004 if ac_fn_c_try_link "$LINENO"; then :
34005 ac_gcsections=yes
34006 else
34007 ac_gcsections=no
34008 fi
34009 rm -f core conftest.err conftest.$ac_objext \
34010 conftest$ac_exeext conftest.$ac_ext
34011 if test "$ac_gcsections" = "yes"; then
34012 rm -f conftest.c
34013 touch conftest.c
34014 if $CC -c conftest.c; then
34015 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34016 grep "Warning: gc-sections option ignored" > /dev/null; then
34017 ac_gcsections=no
34018 fi
34019 fi
34020 rm -f conftest.c conftest.o conftest
34021 fi
34022 if test "$ac_gcsections" = "yes"; then
34023 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34024 fi
34025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34026 $as_echo "$ac_gcsections" >&6; }
34027
34028 if test "$ac_test_CFLAGS" = set; then
34029 CFLAGS="$ac_save_CFLAGS"
34030 else
34031 # this is the suspicious part
34032 CFLAGS=''
34033 fi
34034 fi
34035
34036 # Set -z,relro.
34037 # Note this is only for shared objects.
34038 ac_ld_relro=no
34039 if test x"$with_gnu_ld" = x"yes"; then
34040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34041 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34042 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34043 if test -n "$cxx_z_relo"; then
34044 OPT_LDFLAGS="-Wl,-z,relro"
34045 ac_ld_relro=yes
34046 fi
34047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34048 $as_echo "$ac_ld_relro" >&6; }
34049 fi
34050
34051 # Set linker optimization flags.
34052 if test x"$with_gnu_ld" = x"yes"; then
34053 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34054 fi
34055
34056
34057
34058
34059
34060 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34061 ac_save_CXXFLAGS="$CXXFLAGS"
34062 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34063
34064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34065 $as_echo_n "checking for sin in -lm... " >&6; }
34066 if test "${ac_cv_lib_m_sin+set}" = set; then :
34067 $as_echo_n "(cached) " >&6
34068 else
34069 ac_check_lib_save_LIBS=$LIBS
34070 LIBS="-lm $LIBS"
34071 if test x$gcc_no_link = xyes; then
34072 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34073 fi
34074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34075 /* end confdefs.h. */
34076
34077 /* Override any GCC internal prototype to avoid an error.
34078 Use char because int might match the return type of a GCC
34079 builtin and then its argument prototype would still apply. */
34080 #ifdef __cplusplus
34081 extern "C"
34082 #endif
34083 char sin ();
34084 int
34085 main ()
34086 {
34087 return sin ();
34088 ;
34089 return 0;
34090 }
34091 _ACEOF
34092 if ac_fn_c_try_link "$LINENO"; then :
34093 ac_cv_lib_m_sin=yes
34094 else
34095 ac_cv_lib_m_sin=no
34096 fi
34097 rm -f core conftest.err conftest.$ac_objext \
34098 conftest$ac_exeext conftest.$ac_ext
34099 LIBS=$ac_check_lib_save_LIBS
34100 fi
34101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34102 $as_echo "$ac_cv_lib_m_sin" >&6; }
34103 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34104 libm="-lm"
34105 fi
34106
34107 ac_save_LIBS="$LIBS"
34108 LIBS="$LIBS $libm"
34109
34110
34111
34112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34113 $as_echo_n "checking for isinf declaration... " >&6; }
34114 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34115 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34116 $as_echo_n "(cached) " >&6
34117 else
34118
34119
34120 ac_ext=cpp
34121 ac_cpp='$CXXCPP $CPPFLAGS'
34122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34125
34126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34127 /* end confdefs.h. */
34128 #include <math.h>
34129 #ifdef HAVE_IEEEFP_H
34130 #include <ieeefp.h>
34131 #endif
34132
34133 int
34134 main ()
34135 {
34136 isinf(0);
34137 ;
34138 return 0;
34139 }
34140 _ACEOF
34141 if ac_fn_cxx_try_compile "$LINENO"; then :
34142 glibcxx_cv_func_isinf_use=yes
34143 else
34144 glibcxx_cv_func_isinf_use=no
34145 fi
34146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34147 ac_ext=c
34148 ac_cpp='$CPP $CPPFLAGS'
34149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34152
34153
34154 fi
34155
34156 fi
34157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34158 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34159
34160 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34161 for ac_func in isinf
34162 do :
34163 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34164 if test "x$ac_cv_func_isinf" = x""yes; then :
34165 cat >>confdefs.h <<_ACEOF
34166 #define HAVE_ISINF 1
34167 _ACEOF
34168
34169 fi
34170 done
34171
34172 else
34173
34174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34175 $as_echo_n "checking for _isinf declaration... " >&6; }
34176 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34177 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34178 $as_echo_n "(cached) " >&6
34179 else
34180
34181
34182 ac_ext=cpp
34183 ac_cpp='$CXXCPP $CPPFLAGS'
34184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34187
34188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34189 /* end confdefs.h. */
34190 #include <math.h>
34191 #ifdef HAVE_IEEEFP_H
34192 #include <ieeefp.h>
34193 #endif
34194
34195 int
34196 main ()
34197 {
34198 _isinf(0);
34199 ;
34200 return 0;
34201 }
34202 _ACEOF
34203 if ac_fn_cxx_try_compile "$LINENO"; then :
34204 glibcxx_cv_func__isinf_use=yes
34205 else
34206 glibcxx_cv_func__isinf_use=no
34207 fi
34208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34209 ac_ext=c
34210 ac_cpp='$CPP $CPPFLAGS'
34211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34214
34215
34216 fi
34217
34218 fi
34219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34220 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34221
34222 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34223 for ac_func in _isinf
34224 do :
34225 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34226 if test "x$ac_cv_func__isinf" = x""yes; then :
34227 cat >>confdefs.h <<_ACEOF
34228 #define HAVE__ISINF 1
34229 _ACEOF
34230
34231 fi
34232 done
34233
34234 fi
34235 fi
34236
34237
34238
34239
34240
34241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34242 $as_echo_n "checking for isnan declaration... " >&6; }
34243 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34244 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34245 $as_echo_n "(cached) " >&6
34246 else
34247
34248
34249 ac_ext=cpp
34250 ac_cpp='$CXXCPP $CPPFLAGS'
34251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34254
34255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34256 /* end confdefs.h. */
34257 #include <math.h>
34258 #ifdef HAVE_IEEEFP_H
34259 #include <ieeefp.h>
34260 #endif
34261
34262 int
34263 main ()
34264 {
34265 isnan(0);
34266 ;
34267 return 0;
34268 }
34269 _ACEOF
34270 if ac_fn_cxx_try_compile "$LINENO"; then :
34271 glibcxx_cv_func_isnan_use=yes
34272 else
34273 glibcxx_cv_func_isnan_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
34283 fi
34284
34285 fi
34286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34287 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34288
34289 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34290 for ac_func in isnan
34291 do :
34292 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34293 if test "x$ac_cv_func_isnan" = x""yes; then :
34294 cat >>confdefs.h <<_ACEOF
34295 #define HAVE_ISNAN 1
34296 _ACEOF
34297
34298 fi
34299 done
34300
34301 else
34302
34303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34304 $as_echo_n "checking for _isnan declaration... " >&6; }
34305 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34306 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34307 $as_echo_n "(cached) " >&6
34308 else
34309
34310
34311 ac_ext=cpp
34312 ac_cpp='$CXXCPP $CPPFLAGS'
34313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34316
34317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34318 /* end confdefs.h. */
34319 #include <math.h>
34320 #ifdef HAVE_IEEEFP_H
34321 #include <ieeefp.h>
34322 #endif
34323
34324 int
34325 main ()
34326 {
34327 _isnan(0);
34328 ;
34329 return 0;
34330 }
34331 _ACEOF
34332 if ac_fn_cxx_try_compile "$LINENO"; then :
34333 glibcxx_cv_func__isnan_use=yes
34334 else
34335 glibcxx_cv_func__isnan_use=no
34336 fi
34337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34338 ac_ext=c
34339 ac_cpp='$CPP $CPPFLAGS'
34340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34343
34344
34345 fi
34346
34347 fi
34348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34349 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34350
34351 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34352 for ac_func in _isnan
34353 do :
34354 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34355 if test "x$ac_cv_func__isnan" = x""yes; then :
34356 cat >>confdefs.h <<_ACEOF
34357 #define HAVE__ISNAN 1
34358 _ACEOF
34359
34360 fi
34361 done
34362
34363 fi
34364 fi
34365
34366
34367
34368
34369
34370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34371 $as_echo_n "checking for finite declaration... " >&6; }
34372 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34373 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34374 $as_echo_n "(cached) " >&6
34375 else
34376
34377
34378 ac_ext=cpp
34379 ac_cpp='$CXXCPP $CPPFLAGS'
34380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34383
34384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34385 /* end confdefs.h. */
34386 #include <math.h>
34387 #ifdef HAVE_IEEEFP_H
34388 #include <ieeefp.h>
34389 #endif
34390
34391 int
34392 main ()
34393 {
34394 finite(0);
34395 ;
34396 return 0;
34397 }
34398 _ACEOF
34399 if ac_fn_cxx_try_compile "$LINENO"; then :
34400 glibcxx_cv_func_finite_use=yes
34401 else
34402 glibcxx_cv_func_finite_use=no
34403 fi
34404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34405 ac_ext=c
34406 ac_cpp='$CPP $CPPFLAGS'
34407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34410
34411
34412 fi
34413
34414 fi
34415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34416 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34417
34418 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34419 for ac_func in finite
34420 do :
34421 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34422 if test "x$ac_cv_func_finite" = x""yes; then :
34423 cat >>confdefs.h <<_ACEOF
34424 #define HAVE_FINITE 1
34425 _ACEOF
34426
34427 fi
34428 done
34429
34430 else
34431
34432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34433 $as_echo_n "checking for _finite declaration... " >&6; }
34434 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34435 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34436 $as_echo_n "(cached) " >&6
34437 else
34438
34439
34440 ac_ext=cpp
34441 ac_cpp='$CXXCPP $CPPFLAGS'
34442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34445
34446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34447 /* end confdefs.h. */
34448 #include <math.h>
34449 #ifdef HAVE_IEEEFP_H
34450 #include <ieeefp.h>
34451 #endif
34452
34453 int
34454 main ()
34455 {
34456 _finite(0);
34457 ;
34458 return 0;
34459 }
34460 _ACEOF
34461 if ac_fn_cxx_try_compile "$LINENO"; then :
34462 glibcxx_cv_func__finite_use=yes
34463 else
34464 glibcxx_cv_func__finite_use=no
34465 fi
34466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34467 ac_ext=c
34468 ac_cpp='$CPP $CPPFLAGS'
34469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34472
34473
34474 fi
34475
34476 fi
34477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34478 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34479
34480 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34481 for ac_func in _finite
34482 do :
34483 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34484 if test "x$ac_cv_func__finite" = x""yes; then :
34485 cat >>confdefs.h <<_ACEOF
34486 #define HAVE__FINITE 1
34487 _ACEOF
34488
34489 fi
34490 done
34491
34492 fi
34493 fi
34494
34495
34496
34497
34498
34499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34500 $as_echo_n "checking for sincos declaration... " >&6; }
34501 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34502 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34503 $as_echo_n "(cached) " >&6
34504 else
34505
34506
34507 ac_ext=cpp
34508 ac_cpp='$CXXCPP $CPPFLAGS'
34509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34512
34513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34514 /* end confdefs.h. */
34515 #include <math.h>
34516 int
34517 main ()
34518 {
34519 sincos(0, 0, 0);
34520 ;
34521 return 0;
34522 }
34523 _ACEOF
34524 if ac_fn_cxx_try_compile "$LINENO"; then :
34525 glibcxx_cv_func_sincos_use=yes
34526 else
34527 glibcxx_cv_func_sincos_use=no
34528 fi
34529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34530 ac_ext=c
34531 ac_cpp='$CPP $CPPFLAGS'
34532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34535
34536
34537 fi
34538
34539 fi
34540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34541 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34542
34543 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34544 for ac_func in sincos
34545 do :
34546 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34547 if test "x$ac_cv_func_sincos" = x""yes; then :
34548 cat >>confdefs.h <<_ACEOF
34549 #define HAVE_SINCOS 1
34550 _ACEOF
34551
34552 fi
34553 done
34554
34555 else
34556
34557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34558 $as_echo_n "checking for _sincos declaration... " >&6; }
34559 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34560 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34561 $as_echo_n "(cached) " >&6
34562 else
34563
34564
34565 ac_ext=cpp
34566 ac_cpp='$CXXCPP $CPPFLAGS'
34567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34570
34571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34572 /* end confdefs.h. */
34573 #include <math.h>
34574 int
34575 main ()
34576 {
34577 _sincos(0, 0, 0);
34578 ;
34579 return 0;
34580 }
34581 _ACEOF
34582 if ac_fn_cxx_try_compile "$LINENO"; then :
34583 glibcxx_cv_func__sincos_use=yes
34584 else
34585 glibcxx_cv_func__sincos_use=no
34586 fi
34587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34588 ac_ext=c
34589 ac_cpp='$CPP $CPPFLAGS'
34590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34593
34594
34595 fi
34596
34597 fi
34598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34599 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34600
34601 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34602 for ac_func in _sincos
34603 do :
34604 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34605 if test "x$ac_cv_func__sincos" = x""yes; then :
34606 cat >>confdefs.h <<_ACEOF
34607 #define HAVE__SINCOS 1
34608 _ACEOF
34609
34610 fi
34611 done
34612
34613 fi
34614 fi
34615
34616
34617
34618
34619
34620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34621 $as_echo_n "checking for fpclass declaration... " >&6; }
34622 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34623 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34624 $as_echo_n "(cached) " >&6
34625 else
34626
34627
34628 ac_ext=cpp
34629 ac_cpp='$CXXCPP $CPPFLAGS'
34630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34633
34634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34635 /* end confdefs.h. */
34636 #include <math.h>
34637 #ifdef HAVE_IEEEFP_H
34638 #include <ieeefp.h>
34639 #endif
34640
34641 int
34642 main ()
34643 {
34644 fpclass(0);
34645 ;
34646 return 0;
34647 }
34648 _ACEOF
34649 if ac_fn_cxx_try_compile "$LINENO"; then :
34650 glibcxx_cv_func_fpclass_use=yes
34651 else
34652 glibcxx_cv_func_fpclass_use=no
34653 fi
34654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34655 ac_ext=c
34656 ac_cpp='$CPP $CPPFLAGS'
34657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34660
34661
34662 fi
34663
34664 fi
34665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34666 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34667
34668 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34669 for ac_func in fpclass
34670 do :
34671 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34672 if test "x$ac_cv_func_fpclass" = x""yes; then :
34673 cat >>confdefs.h <<_ACEOF
34674 #define HAVE_FPCLASS 1
34675 _ACEOF
34676
34677 fi
34678 done
34679
34680 else
34681
34682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34683 $as_echo_n "checking for _fpclass declaration... " >&6; }
34684 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34685 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34686 $as_echo_n "(cached) " >&6
34687 else
34688
34689
34690 ac_ext=cpp
34691 ac_cpp='$CXXCPP $CPPFLAGS'
34692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34695
34696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34697 /* end confdefs.h. */
34698 #include <math.h>
34699 #ifdef HAVE_IEEEFP_H
34700 #include <ieeefp.h>
34701 #endif
34702
34703 int
34704 main ()
34705 {
34706 _fpclass(0);
34707 ;
34708 return 0;
34709 }
34710 _ACEOF
34711 if ac_fn_cxx_try_compile "$LINENO"; then :
34712 glibcxx_cv_func__fpclass_use=yes
34713 else
34714 glibcxx_cv_func__fpclass_use=no
34715 fi
34716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34717 ac_ext=c
34718 ac_cpp='$CPP $CPPFLAGS'
34719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34722
34723
34724 fi
34725
34726 fi
34727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34728 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34729
34730 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34731 for ac_func in _fpclass
34732 do :
34733 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34734 if test "x$ac_cv_func__fpclass" = x""yes; then :
34735 cat >>confdefs.h <<_ACEOF
34736 #define HAVE__FPCLASS 1
34737 _ACEOF
34738
34739 fi
34740 done
34741
34742 fi
34743 fi
34744
34745
34746
34747
34748
34749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34750 $as_echo_n "checking for qfpclass declaration... " >&6; }
34751 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34752 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34753 $as_echo_n "(cached) " >&6
34754 else
34755
34756
34757 ac_ext=cpp
34758 ac_cpp='$CXXCPP $CPPFLAGS'
34759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34762
34763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34764 /* end confdefs.h. */
34765 #include <math.h>
34766 #ifdef HAVE_IEEEFP_H
34767 #include <ieeefp.h>
34768 #endif
34769
34770 int
34771 main ()
34772 {
34773 qfpclass(0);
34774 ;
34775 return 0;
34776 }
34777 _ACEOF
34778 if ac_fn_cxx_try_compile "$LINENO"; then :
34779 glibcxx_cv_func_qfpclass_use=yes
34780 else
34781 glibcxx_cv_func_qfpclass_use=no
34782 fi
34783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34784 ac_ext=c
34785 ac_cpp='$CPP $CPPFLAGS'
34786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34789
34790
34791 fi
34792
34793 fi
34794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34795 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34796
34797 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34798 for ac_func in qfpclass
34799 do :
34800 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34801 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34802 cat >>confdefs.h <<_ACEOF
34803 #define HAVE_QFPCLASS 1
34804 _ACEOF
34805
34806 fi
34807 done
34808
34809 else
34810
34811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34812 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34813 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34814 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34815 $as_echo_n "(cached) " >&6
34816 else
34817
34818
34819 ac_ext=cpp
34820 ac_cpp='$CXXCPP $CPPFLAGS'
34821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34824
34825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34826 /* end confdefs.h. */
34827 #include <math.h>
34828 #ifdef HAVE_IEEEFP_H
34829 #include <ieeefp.h>
34830 #endif
34831
34832 int
34833 main ()
34834 {
34835 _qfpclass(0);
34836 ;
34837 return 0;
34838 }
34839 _ACEOF
34840 if ac_fn_cxx_try_compile "$LINENO"; then :
34841 glibcxx_cv_func__qfpclass_use=yes
34842 else
34843 glibcxx_cv_func__qfpclass_use=no
34844 fi
34845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34846 ac_ext=c
34847 ac_cpp='$CPP $CPPFLAGS'
34848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34851
34852
34853 fi
34854
34855 fi
34856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34857 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34858
34859 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34860 for ac_func in _qfpclass
34861 do :
34862 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34863 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34864 cat >>confdefs.h <<_ACEOF
34865 #define HAVE__QFPCLASS 1
34866 _ACEOF
34867
34868 fi
34869 done
34870
34871 fi
34872 fi
34873
34874
34875
34876
34877
34878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34879 $as_echo_n "checking for hypot declaration... " >&6; }
34880 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34881 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34882 $as_echo_n "(cached) " >&6
34883 else
34884
34885
34886 ac_ext=cpp
34887 ac_cpp='$CXXCPP $CPPFLAGS'
34888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34891
34892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34893 /* end confdefs.h. */
34894 #include <math.h>
34895 int
34896 main ()
34897 {
34898 hypot(0, 0);
34899 ;
34900 return 0;
34901 }
34902 _ACEOF
34903 if ac_fn_cxx_try_compile "$LINENO"; then :
34904 glibcxx_cv_func_hypot_use=yes
34905 else
34906 glibcxx_cv_func_hypot_use=no
34907 fi
34908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34909 ac_ext=c
34910 ac_cpp='$CPP $CPPFLAGS'
34911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34914
34915
34916 fi
34917
34918 fi
34919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34920 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34921
34922 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34923 for ac_func in hypot
34924 do :
34925 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34926 if test "x$ac_cv_func_hypot" = x""yes; then :
34927 cat >>confdefs.h <<_ACEOF
34928 #define HAVE_HYPOT 1
34929 _ACEOF
34930
34931 fi
34932 done
34933
34934 else
34935
34936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34937 $as_echo_n "checking for _hypot declaration... " >&6; }
34938 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34939 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34940 $as_echo_n "(cached) " >&6
34941 else
34942
34943
34944 ac_ext=cpp
34945 ac_cpp='$CXXCPP $CPPFLAGS'
34946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34949
34950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34951 /* end confdefs.h. */
34952 #include <math.h>
34953 int
34954 main ()
34955 {
34956 _hypot(0, 0);
34957 ;
34958 return 0;
34959 }
34960 _ACEOF
34961 if ac_fn_cxx_try_compile "$LINENO"; then :
34962 glibcxx_cv_func__hypot_use=yes
34963 else
34964 glibcxx_cv_func__hypot_use=no
34965 fi
34966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34967 ac_ext=c
34968 ac_cpp='$CPP $CPPFLAGS'
34969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34972
34973
34974 fi
34975
34976 fi
34977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34978 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34979
34980 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34981 for ac_func in _hypot
34982 do :
34983 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34984 if test "x$ac_cv_func__hypot" = x""yes; then :
34985 cat >>confdefs.h <<_ACEOF
34986 #define HAVE__HYPOT 1
34987 _ACEOF
34988
34989 fi
34990 done
34991
34992 fi
34993 fi
34994
34995
34996
34997
34998
34999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35000 $as_echo_n "checking for float trig functions... " >&6; }
35001 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35002 $as_echo_n "(cached) " >&6
35003 else
35004
35005
35006 ac_ext=cpp
35007 ac_cpp='$CXXCPP $CPPFLAGS'
35008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35011
35012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35013 /* end confdefs.h. */
35014 #include <math.h>
35015 int
35016 main ()
35017 {
35018 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35019 ;
35020 return 0;
35021 }
35022 _ACEOF
35023 if ac_fn_cxx_try_compile "$LINENO"; then :
35024 glibcxx_cv_func_float_trig_use=yes
35025 else
35026 glibcxx_cv_func_float_trig_use=no
35027 fi
35028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35029 ac_ext=c
35030 ac_cpp='$CPP $CPPFLAGS'
35031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35034
35035 fi
35036
35037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35038 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35039 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35040 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35041 do :
35042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35043 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35044 eval as_val=\$$as_ac_var
35045 if test "x$as_val" = x""yes; then :
35046 cat >>confdefs.h <<_ACEOF
35047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35048 _ACEOF
35049
35050 fi
35051 done
35052
35053 else
35054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35055 $as_echo_n "checking for _float trig functions... " >&6; }
35056 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35057 $as_echo_n "(cached) " >&6
35058 else
35059
35060
35061 ac_ext=cpp
35062 ac_cpp='$CXXCPP $CPPFLAGS'
35063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35066
35067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35068 /* end confdefs.h. */
35069 #include <math.h>
35070 int
35071 main ()
35072 {
35073 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35074 ;
35075 return 0;
35076 }
35077 _ACEOF
35078 if ac_fn_cxx_try_compile "$LINENO"; then :
35079 glibcxx_cv_func__float_trig_use=yes
35080 else
35081 glibcxx_cv_func__float_trig_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 fi
35091
35092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35093 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35094 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35095 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35096 do :
35097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35099 eval as_val=\$$as_ac_var
35100 if test "x$as_val" = x""yes; then :
35101 cat >>confdefs.h <<_ACEOF
35102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35103 _ACEOF
35104
35105 fi
35106 done
35107
35108 fi
35109 fi
35110
35111
35112
35113
35114
35115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35116 $as_echo_n "checking for float round functions... " >&6; }
35117 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35118 $as_echo_n "(cached) " >&6
35119 else
35120
35121
35122 ac_ext=cpp
35123 ac_cpp='$CXXCPP $CPPFLAGS'
35124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35127
35128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35129 /* end confdefs.h. */
35130 #include <math.h>
35131 int
35132 main ()
35133 {
35134 ceilf (0); floorf (0);
35135 ;
35136 return 0;
35137 }
35138 _ACEOF
35139 if ac_fn_cxx_try_compile "$LINENO"; then :
35140 glibcxx_cv_func_float_round_use=yes
35141 else
35142 glibcxx_cv_func_float_round_use=no
35143 fi
35144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35145 ac_ext=c
35146 ac_cpp='$CPP $CPPFLAGS'
35147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35150
35151 fi
35152
35153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35154 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35155 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35156 for ac_func in ceilf floorf
35157 do :
35158 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35159 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35160 eval as_val=\$$as_ac_var
35161 if test "x$as_val" = x""yes; then :
35162 cat >>confdefs.h <<_ACEOF
35163 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35164 _ACEOF
35165
35166 fi
35167 done
35168
35169 else
35170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35171 $as_echo_n "checking for _float round functions... " >&6; }
35172 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35173 $as_echo_n "(cached) " >&6
35174 else
35175
35176
35177 ac_ext=cpp
35178 ac_cpp='$CXXCPP $CPPFLAGS'
35179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35182
35183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35184 /* end confdefs.h. */
35185 #include <math.h>
35186 int
35187 main ()
35188 {
35189 _ceilf (0); _floorf (0);
35190 ;
35191 return 0;
35192 }
35193 _ACEOF
35194 if ac_fn_cxx_try_compile "$LINENO"; then :
35195 glibcxx_cv_func__float_round_use=yes
35196 else
35197 glibcxx_cv_func__float_round_use=no
35198 fi
35199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35200 ac_ext=c
35201 ac_cpp='$CPP $CPPFLAGS'
35202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35205
35206 fi
35207
35208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35209 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35210 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35211 for ac_func in _ceilf _floorf
35212 do :
35213 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35215 eval as_val=\$$as_ac_var
35216 if test "x$as_val" = x""yes; then :
35217 cat >>confdefs.h <<_ACEOF
35218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35219 _ACEOF
35220
35221 fi
35222 done
35223
35224 fi
35225 fi
35226
35227
35228
35229
35230
35231
35232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35233 $as_echo_n "checking for expf declaration... " >&6; }
35234 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35235 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35236 $as_echo_n "(cached) " >&6
35237 else
35238
35239
35240 ac_ext=cpp
35241 ac_cpp='$CXXCPP $CPPFLAGS'
35242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35245
35246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35247 /* end confdefs.h. */
35248 #include <math.h>
35249 #ifdef HAVE_IEEEFP_H
35250 #include <ieeefp.h>
35251 #endif
35252
35253 int
35254 main ()
35255 {
35256 expf(0);
35257 ;
35258 return 0;
35259 }
35260 _ACEOF
35261 if ac_fn_cxx_try_compile "$LINENO"; then :
35262 glibcxx_cv_func_expf_use=yes
35263 else
35264 glibcxx_cv_func_expf_use=no
35265 fi
35266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35267 ac_ext=c
35268 ac_cpp='$CPP $CPPFLAGS'
35269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35272
35273
35274 fi
35275
35276 fi
35277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35278 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35279
35280 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35281 for ac_func in expf
35282 do :
35283 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35284 if test "x$ac_cv_func_expf" = x""yes; then :
35285 cat >>confdefs.h <<_ACEOF
35286 #define HAVE_EXPF 1
35287 _ACEOF
35288
35289 fi
35290 done
35291
35292 else
35293
35294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35295 $as_echo_n "checking for _expf declaration... " >&6; }
35296 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35297 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35298 $as_echo_n "(cached) " >&6
35299 else
35300
35301
35302 ac_ext=cpp
35303 ac_cpp='$CXXCPP $CPPFLAGS'
35304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35307
35308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35309 /* end confdefs.h. */
35310 #include <math.h>
35311 #ifdef HAVE_IEEEFP_H
35312 #include <ieeefp.h>
35313 #endif
35314
35315 int
35316 main ()
35317 {
35318 _expf(0);
35319 ;
35320 return 0;
35321 }
35322 _ACEOF
35323 if ac_fn_cxx_try_compile "$LINENO"; then :
35324 glibcxx_cv_func__expf_use=yes
35325 else
35326 glibcxx_cv_func__expf_use=no
35327 fi
35328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35329 ac_ext=c
35330 ac_cpp='$CPP $CPPFLAGS'
35331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35334
35335
35336 fi
35337
35338 fi
35339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35340 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35341
35342 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35343 for ac_func in _expf
35344 do :
35345 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35346 if test "x$ac_cv_func__expf" = x""yes; then :
35347 cat >>confdefs.h <<_ACEOF
35348 #define HAVE__EXPF 1
35349 _ACEOF
35350
35351 fi
35352 done
35353
35354 fi
35355 fi
35356
35357
35358
35359
35360
35361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35362 $as_echo_n "checking for isnanf declaration... " >&6; }
35363 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35364 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35365 $as_echo_n "(cached) " >&6
35366 else
35367
35368
35369 ac_ext=cpp
35370 ac_cpp='$CXXCPP $CPPFLAGS'
35371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35374
35375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35376 /* end confdefs.h. */
35377 #include <math.h>
35378 #ifdef HAVE_IEEEFP_H
35379 #include <ieeefp.h>
35380 #endif
35381
35382 int
35383 main ()
35384 {
35385 isnanf(0);
35386 ;
35387 return 0;
35388 }
35389 _ACEOF
35390 if ac_fn_cxx_try_compile "$LINENO"; then :
35391 glibcxx_cv_func_isnanf_use=yes
35392 else
35393 glibcxx_cv_func_isnanf_use=no
35394 fi
35395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35396 ac_ext=c
35397 ac_cpp='$CPP $CPPFLAGS'
35398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35401
35402
35403 fi
35404
35405 fi
35406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35407 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35408
35409 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35410 for ac_func in isnanf
35411 do :
35412 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35413 if test "x$ac_cv_func_isnanf" = x""yes; then :
35414 cat >>confdefs.h <<_ACEOF
35415 #define HAVE_ISNANF 1
35416 _ACEOF
35417
35418 fi
35419 done
35420
35421 else
35422
35423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35424 $as_echo_n "checking for _isnanf declaration... " >&6; }
35425 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35426 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35427 $as_echo_n "(cached) " >&6
35428 else
35429
35430
35431 ac_ext=cpp
35432 ac_cpp='$CXXCPP $CPPFLAGS'
35433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35436
35437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35438 /* end confdefs.h. */
35439 #include <math.h>
35440 #ifdef HAVE_IEEEFP_H
35441 #include <ieeefp.h>
35442 #endif
35443
35444 int
35445 main ()
35446 {
35447 _isnanf(0);
35448 ;
35449 return 0;
35450 }
35451 _ACEOF
35452 if ac_fn_cxx_try_compile "$LINENO"; then :
35453 glibcxx_cv_func__isnanf_use=yes
35454 else
35455 glibcxx_cv_func__isnanf_use=no
35456 fi
35457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35458 ac_ext=c
35459 ac_cpp='$CPP $CPPFLAGS'
35460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35463
35464
35465 fi
35466
35467 fi
35468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35469 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35470
35471 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35472 for ac_func in _isnanf
35473 do :
35474 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35475 if test "x$ac_cv_func__isnanf" = x""yes; then :
35476 cat >>confdefs.h <<_ACEOF
35477 #define HAVE__ISNANF 1
35478 _ACEOF
35479
35480 fi
35481 done
35482
35483 fi
35484 fi
35485
35486
35487
35488
35489
35490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35491 $as_echo_n "checking for isinff declaration... " >&6; }
35492 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35493 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35494 $as_echo_n "(cached) " >&6
35495 else
35496
35497
35498 ac_ext=cpp
35499 ac_cpp='$CXXCPP $CPPFLAGS'
35500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35503
35504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35505 /* end confdefs.h. */
35506 #include <math.h>
35507 #ifdef HAVE_IEEEFP_H
35508 #include <ieeefp.h>
35509 #endif
35510
35511 int
35512 main ()
35513 {
35514 isinff(0);
35515 ;
35516 return 0;
35517 }
35518 _ACEOF
35519 if ac_fn_cxx_try_compile "$LINENO"; then :
35520 glibcxx_cv_func_isinff_use=yes
35521 else
35522 glibcxx_cv_func_isinff_use=no
35523 fi
35524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35525 ac_ext=c
35526 ac_cpp='$CPP $CPPFLAGS'
35527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35530
35531
35532 fi
35533
35534 fi
35535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35536 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35537
35538 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35539 for ac_func in isinff
35540 do :
35541 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35542 if test "x$ac_cv_func_isinff" = x""yes; then :
35543 cat >>confdefs.h <<_ACEOF
35544 #define HAVE_ISINFF 1
35545 _ACEOF
35546
35547 fi
35548 done
35549
35550 else
35551
35552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35553 $as_echo_n "checking for _isinff declaration... " >&6; }
35554 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35555 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35556 $as_echo_n "(cached) " >&6
35557 else
35558
35559
35560 ac_ext=cpp
35561 ac_cpp='$CXXCPP $CPPFLAGS'
35562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35565
35566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35567 /* end confdefs.h. */
35568 #include <math.h>
35569 #ifdef HAVE_IEEEFP_H
35570 #include <ieeefp.h>
35571 #endif
35572
35573 int
35574 main ()
35575 {
35576 _isinff(0);
35577 ;
35578 return 0;
35579 }
35580 _ACEOF
35581 if ac_fn_cxx_try_compile "$LINENO"; then :
35582 glibcxx_cv_func__isinff_use=yes
35583 else
35584 glibcxx_cv_func__isinff_use=no
35585 fi
35586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35587 ac_ext=c
35588 ac_cpp='$CPP $CPPFLAGS'
35589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35592
35593
35594 fi
35595
35596 fi
35597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35598 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35599
35600 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35601 for ac_func in _isinff
35602 do :
35603 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35604 if test "x$ac_cv_func__isinff" = x""yes; then :
35605 cat >>confdefs.h <<_ACEOF
35606 #define HAVE__ISINFF 1
35607 _ACEOF
35608
35609 fi
35610 done
35611
35612 fi
35613 fi
35614
35615
35616
35617
35618
35619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35620 $as_echo_n "checking for atan2f declaration... " >&6; }
35621 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35622 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35623 $as_echo_n "(cached) " >&6
35624 else
35625
35626
35627 ac_ext=cpp
35628 ac_cpp='$CXXCPP $CPPFLAGS'
35629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35632
35633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35634 /* end confdefs.h. */
35635 #include <math.h>
35636 int
35637 main ()
35638 {
35639 atan2f(0, 0);
35640 ;
35641 return 0;
35642 }
35643 _ACEOF
35644 if ac_fn_cxx_try_compile "$LINENO"; then :
35645 glibcxx_cv_func_atan2f_use=yes
35646 else
35647 glibcxx_cv_func_atan2f_use=no
35648 fi
35649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35650 ac_ext=c
35651 ac_cpp='$CPP $CPPFLAGS'
35652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35655
35656
35657 fi
35658
35659 fi
35660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35661 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35662
35663 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35664 for ac_func in atan2f
35665 do :
35666 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35667 if test "x$ac_cv_func_atan2f" = x""yes; then :
35668 cat >>confdefs.h <<_ACEOF
35669 #define HAVE_ATAN2F 1
35670 _ACEOF
35671
35672 fi
35673 done
35674
35675 else
35676
35677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35678 $as_echo_n "checking for _atan2f declaration... " >&6; }
35679 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35680 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35681 $as_echo_n "(cached) " >&6
35682 else
35683
35684
35685 ac_ext=cpp
35686 ac_cpp='$CXXCPP $CPPFLAGS'
35687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35690
35691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35692 /* end confdefs.h. */
35693 #include <math.h>
35694 int
35695 main ()
35696 {
35697 _atan2f(0, 0);
35698 ;
35699 return 0;
35700 }
35701 _ACEOF
35702 if ac_fn_cxx_try_compile "$LINENO"; then :
35703 glibcxx_cv_func__atan2f_use=yes
35704 else
35705 glibcxx_cv_func__atan2f_use=no
35706 fi
35707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35708 ac_ext=c
35709 ac_cpp='$CPP $CPPFLAGS'
35710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35713
35714
35715 fi
35716
35717 fi
35718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35719 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35720
35721 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35722 for ac_func in _atan2f
35723 do :
35724 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35725 if test "x$ac_cv_func__atan2f" = x""yes; then :
35726 cat >>confdefs.h <<_ACEOF
35727 #define HAVE__ATAN2F 1
35728 _ACEOF
35729
35730 fi
35731 done
35732
35733 fi
35734 fi
35735
35736
35737
35738
35739
35740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35741 $as_echo_n "checking for fabsf declaration... " >&6; }
35742 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35743 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35744 $as_echo_n "(cached) " >&6
35745 else
35746
35747
35748 ac_ext=cpp
35749 ac_cpp='$CXXCPP $CPPFLAGS'
35750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35753
35754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35755 /* end confdefs.h. */
35756 #include <math.h>
35757 #ifdef HAVE_IEEEFP_H
35758 #include <ieeefp.h>
35759 #endif
35760
35761 int
35762 main ()
35763 {
35764 fabsf(0);
35765 ;
35766 return 0;
35767 }
35768 _ACEOF
35769 if ac_fn_cxx_try_compile "$LINENO"; then :
35770 glibcxx_cv_func_fabsf_use=yes
35771 else
35772 glibcxx_cv_func_fabsf_use=no
35773 fi
35774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35775 ac_ext=c
35776 ac_cpp='$CPP $CPPFLAGS'
35777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35780
35781
35782 fi
35783
35784 fi
35785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35786 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35787
35788 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35789 for ac_func in fabsf
35790 do :
35791 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35792 if test "x$ac_cv_func_fabsf" = x""yes; then :
35793 cat >>confdefs.h <<_ACEOF
35794 #define HAVE_FABSF 1
35795 _ACEOF
35796
35797 fi
35798 done
35799
35800 else
35801
35802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35803 $as_echo_n "checking for _fabsf declaration... " >&6; }
35804 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35805 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35806 $as_echo_n "(cached) " >&6
35807 else
35808
35809
35810 ac_ext=cpp
35811 ac_cpp='$CXXCPP $CPPFLAGS'
35812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35815
35816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35817 /* end confdefs.h. */
35818 #include <math.h>
35819 #ifdef HAVE_IEEEFP_H
35820 #include <ieeefp.h>
35821 #endif
35822
35823 int
35824 main ()
35825 {
35826 _fabsf(0);
35827 ;
35828 return 0;
35829 }
35830 _ACEOF
35831 if ac_fn_cxx_try_compile "$LINENO"; then :
35832 glibcxx_cv_func__fabsf_use=yes
35833 else
35834 glibcxx_cv_func__fabsf_use=no
35835 fi
35836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35837 ac_ext=c
35838 ac_cpp='$CPP $CPPFLAGS'
35839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35842
35843
35844 fi
35845
35846 fi
35847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35848 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35849
35850 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35851 for ac_func in _fabsf
35852 do :
35853 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35854 if test "x$ac_cv_func__fabsf" = x""yes; then :
35855 cat >>confdefs.h <<_ACEOF
35856 #define HAVE__FABSF 1
35857 _ACEOF
35858
35859 fi
35860 done
35861
35862 fi
35863 fi
35864
35865
35866
35867
35868
35869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35870 $as_echo_n "checking for fmodf declaration... " >&6; }
35871 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35872 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35873 $as_echo_n "(cached) " >&6
35874 else
35875
35876
35877 ac_ext=cpp
35878 ac_cpp='$CXXCPP $CPPFLAGS'
35879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35882
35883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35884 /* end confdefs.h. */
35885 #include <math.h>
35886 int
35887 main ()
35888 {
35889 fmodf(0, 0);
35890 ;
35891 return 0;
35892 }
35893 _ACEOF
35894 if ac_fn_cxx_try_compile "$LINENO"; then :
35895 glibcxx_cv_func_fmodf_use=yes
35896 else
35897 glibcxx_cv_func_fmodf_use=no
35898 fi
35899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35900 ac_ext=c
35901 ac_cpp='$CPP $CPPFLAGS'
35902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35905
35906
35907 fi
35908
35909 fi
35910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35911 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35912
35913 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35914 for ac_func in fmodf
35915 do :
35916 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35917 if test "x$ac_cv_func_fmodf" = x""yes; then :
35918 cat >>confdefs.h <<_ACEOF
35919 #define HAVE_FMODF 1
35920 _ACEOF
35921
35922 fi
35923 done
35924
35925 else
35926
35927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35928 $as_echo_n "checking for _fmodf declaration... " >&6; }
35929 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35930 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35931 $as_echo_n "(cached) " >&6
35932 else
35933
35934
35935 ac_ext=cpp
35936 ac_cpp='$CXXCPP $CPPFLAGS'
35937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35940
35941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35942 /* end confdefs.h. */
35943 #include <math.h>
35944 int
35945 main ()
35946 {
35947 _fmodf(0, 0);
35948 ;
35949 return 0;
35950 }
35951 _ACEOF
35952 if ac_fn_cxx_try_compile "$LINENO"; then :
35953 glibcxx_cv_func__fmodf_use=yes
35954 else
35955 glibcxx_cv_func__fmodf_use=no
35956 fi
35957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35958 ac_ext=c
35959 ac_cpp='$CPP $CPPFLAGS'
35960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35963
35964
35965 fi
35966
35967 fi
35968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35969 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35970
35971 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35972 for ac_func in _fmodf
35973 do :
35974 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35975 if test "x$ac_cv_func__fmodf" = x""yes; then :
35976 cat >>confdefs.h <<_ACEOF
35977 #define HAVE__FMODF 1
35978 _ACEOF
35979
35980 fi
35981 done
35982
35983 fi
35984 fi
35985
35986
35987
35988
35989
35990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35991 $as_echo_n "checking for frexpf declaration... " >&6; }
35992 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35993 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35994 $as_echo_n "(cached) " >&6
35995 else
35996
35997
35998 ac_ext=cpp
35999 ac_cpp='$CXXCPP $CPPFLAGS'
36000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36003
36004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36005 /* end confdefs.h. */
36006 #include <math.h>
36007 int
36008 main ()
36009 {
36010 frexpf(0, 0);
36011 ;
36012 return 0;
36013 }
36014 _ACEOF
36015 if ac_fn_cxx_try_compile "$LINENO"; then :
36016 glibcxx_cv_func_frexpf_use=yes
36017 else
36018 glibcxx_cv_func_frexpf_use=no
36019 fi
36020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36021 ac_ext=c
36022 ac_cpp='$CPP $CPPFLAGS'
36023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36026
36027
36028 fi
36029
36030 fi
36031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36032 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36033
36034 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36035 for ac_func in frexpf
36036 do :
36037 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36038 if test "x$ac_cv_func_frexpf" = x""yes; then :
36039 cat >>confdefs.h <<_ACEOF
36040 #define HAVE_FREXPF 1
36041 _ACEOF
36042
36043 fi
36044 done
36045
36046 else
36047
36048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36049 $as_echo_n "checking for _frexpf declaration... " >&6; }
36050 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36051 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36052 $as_echo_n "(cached) " >&6
36053 else
36054
36055
36056 ac_ext=cpp
36057 ac_cpp='$CXXCPP $CPPFLAGS'
36058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36061
36062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36063 /* end confdefs.h. */
36064 #include <math.h>
36065 int
36066 main ()
36067 {
36068 _frexpf(0, 0);
36069 ;
36070 return 0;
36071 }
36072 _ACEOF
36073 if ac_fn_cxx_try_compile "$LINENO"; then :
36074 glibcxx_cv_func__frexpf_use=yes
36075 else
36076 glibcxx_cv_func__frexpf_use=no
36077 fi
36078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36079 ac_ext=c
36080 ac_cpp='$CPP $CPPFLAGS'
36081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36084
36085
36086 fi
36087
36088 fi
36089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36090 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36091
36092 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36093 for ac_func in _frexpf
36094 do :
36095 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36096 if test "x$ac_cv_func__frexpf" = x""yes; then :
36097 cat >>confdefs.h <<_ACEOF
36098 #define HAVE__FREXPF 1
36099 _ACEOF
36100
36101 fi
36102 done
36103
36104 fi
36105 fi
36106
36107
36108
36109
36110
36111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36112 $as_echo_n "checking for hypotf declaration... " >&6; }
36113 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36114 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36115 $as_echo_n "(cached) " >&6
36116 else
36117
36118
36119 ac_ext=cpp
36120 ac_cpp='$CXXCPP $CPPFLAGS'
36121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36124
36125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36126 /* end confdefs.h. */
36127 #include <math.h>
36128 int
36129 main ()
36130 {
36131 hypotf(0, 0);
36132 ;
36133 return 0;
36134 }
36135 _ACEOF
36136 if ac_fn_cxx_try_compile "$LINENO"; then :
36137 glibcxx_cv_func_hypotf_use=yes
36138 else
36139 glibcxx_cv_func_hypotf_use=no
36140 fi
36141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36142 ac_ext=c
36143 ac_cpp='$CPP $CPPFLAGS'
36144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36147
36148
36149 fi
36150
36151 fi
36152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36153 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36154
36155 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36156 for ac_func in hypotf
36157 do :
36158 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36159 if test "x$ac_cv_func_hypotf" = x""yes; then :
36160 cat >>confdefs.h <<_ACEOF
36161 #define HAVE_HYPOTF 1
36162 _ACEOF
36163
36164 fi
36165 done
36166
36167 else
36168
36169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36170 $as_echo_n "checking for _hypotf declaration... " >&6; }
36171 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36172 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36173 $as_echo_n "(cached) " >&6
36174 else
36175
36176
36177 ac_ext=cpp
36178 ac_cpp='$CXXCPP $CPPFLAGS'
36179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36182
36183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36184 /* end confdefs.h. */
36185 #include <math.h>
36186 int
36187 main ()
36188 {
36189 _hypotf(0, 0);
36190 ;
36191 return 0;
36192 }
36193 _ACEOF
36194 if ac_fn_cxx_try_compile "$LINENO"; then :
36195 glibcxx_cv_func__hypotf_use=yes
36196 else
36197 glibcxx_cv_func__hypotf_use=no
36198 fi
36199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36200 ac_ext=c
36201 ac_cpp='$CPP $CPPFLAGS'
36202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36205
36206
36207 fi
36208
36209 fi
36210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36211 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36212
36213 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36214 for ac_func in _hypotf
36215 do :
36216 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36217 if test "x$ac_cv_func__hypotf" = x""yes; then :
36218 cat >>confdefs.h <<_ACEOF
36219 #define HAVE__HYPOTF 1
36220 _ACEOF
36221
36222 fi
36223 done
36224
36225 fi
36226 fi
36227
36228
36229
36230
36231
36232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36233 $as_echo_n "checking for ldexpf declaration... " >&6; }
36234 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36235 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36236 $as_echo_n "(cached) " >&6
36237 else
36238
36239
36240 ac_ext=cpp
36241 ac_cpp='$CXXCPP $CPPFLAGS'
36242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36245
36246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36247 /* end confdefs.h. */
36248 #include <math.h>
36249 int
36250 main ()
36251 {
36252 ldexpf(0, 0);
36253 ;
36254 return 0;
36255 }
36256 _ACEOF
36257 if ac_fn_cxx_try_compile "$LINENO"; then :
36258 glibcxx_cv_func_ldexpf_use=yes
36259 else
36260 glibcxx_cv_func_ldexpf_use=no
36261 fi
36262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36263 ac_ext=c
36264 ac_cpp='$CPP $CPPFLAGS'
36265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36268
36269
36270 fi
36271
36272 fi
36273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36274 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36275
36276 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36277 for ac_func in ldexpf
36278 do :
36279 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36280 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36281 cat >>confdefs.h <<_ACEOF
36282 #define HAVE_LDEXPF 1
36283 _ACEOF
36284
36285 fi
36286 done
36287
36288 else
36289
36290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36291 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36292 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36293 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36294 $as_echo_n "(cached) " >&6
36295 else
36296
36297
36298 ac_ext=cpp
36299 ac_cpp='$CXXCPP $CPPFLAGS'
36300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36303
36304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36305 /* end confdefs.h. */
36306 #include <math.h>
36307 int
36308 main ()
36309 {
36310 _ldexpf(0, 0);
36311 ;
36312 return 0;
36313 }
36314 _ACEOF
36315 if ac_fn_cxx_try_compile "$LINENO"; then :
36316 glibcxx_cv_func__ldexpf_use=yes
36317 else
36318 glibcxx_cv_func__ldexpf_use=no
36319 fi
36320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36321 ac_ext=c
36322 ac_cpp='$CPP $CPPFLAGS'
36323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36326
36327
36328 fi
36329
36330 fi
36331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36332 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36333
36334 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36335 for ac_func in _ldexpf
36336 do :
36337 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36338 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36339 cat >>confdefs.h <<_ACEOF
36340 #define HAVE__LDEXPF 1
36341 _ACEOF
36342
36343 fi
36344 done
36345
36346 fi
36347 fi
36348
36349
36350
36351
36352
36353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36354 $as_echo_n "checking for logf declaration... " >&6; }
36355 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36356 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36357 $as_echo_n "(cached) " >&6
36358 else
36359
36360
36361 ac_ext=cpp
36362 ac_cpp='$CXXCPP $CPPFLAGS'
36363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36366
36367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36368 /* end confdefs.h. */
36369 #include <math.h>
36370 #ifdef HAVE_IEEEFP_H
36371 #include <ieeefp.h>
36372 #endif
36373
36374 int
36375 main ()
36376 {
36377 logf(0);
36378 ;
36379 return 0;
36380 }
36381 _ACEOF
36382 if ac_fn_cxx_try_compile "$LINENO"; then :
36383 glibcxx_cv_func_logf_use=yes
36384 else
36385 glibcxx_cv_func_logf_use=no
36386 fi
36387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36388 ac_ext=c
36389 ac_cpp='$CPP $CPPFLAGS'
36390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36393
36394
36395 fi
36396
36397 fi
36398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36399 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36400
36401 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36402 for ac_func in logf
36403 do :
36404 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36405 if test "x$ac_cv_func_logf" = x""yes; then :
36406 cat >>confdefs.h <<_ACEOF
36407 #define HAVE_LOGF 1
36408 _ACEOF
36409
36410 fi
36411 done
36412
36413 else
36414
36415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36416 $as_echo_n "checking for _logf declaration... " >&6; }
36417 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36418 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36419 $as_echo_n "(cached) " >&6
36420 else
36421
36422
36423 ac_ext=cpp
36424 ac_cpp='$CXXCPP $CPPFLAGS'
36425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36428
36429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36430 /* end confdefs.h. */
36431 #include <math.h>
36432 #ifdef HAVE_IEEEFP_H
36433 #include <ieeefp.h>
36434 #endif
36435
36436 int
36437 main ()
36438 {
36439 _logf(0);
36440 ;
36441 return 0;
36442 }
36443 _ACEOF
36444 if ac_fn_cxx_try_compile "$LINENO"; then :
36445 glibcxx_cv_func__logf_use=yes
36446 else
36447 glibcxx_cv_func__logf_use=no
36448 fi
36449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36450 ac_ext=c
36451 ac_cpp='$CPP $CPPFLAGS'
36452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36455
36456
36457 fi
36458
36459 fi
36460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36461 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36462
36463 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36464 for ac_func in _logf
36465 do :
36466 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36467 if test "x$ac_cv_func__logf" = x""yes; then :
36468 cat >>confdefs.h <<_ACEOF
36469 #define HAVE__LOGF 1
36470 _ACEOF
36471
36472 fi
36473 done
36474
36475 fi
36476 fi
36477
36478
36479
36480
36481
36482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36483 $as_echo_n "checking for log10f declaration... " >&6; }
36484 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36485 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36486 $as_echo_n "(cached) " >&6
36487 else
36488
36489
36490 ac_ext=cpp
36491 ac_cpp='$CXXCPP $CPPFLAGS'
36492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36495
36496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36497 /* end confdefs.h. */
36498 #include <math.h>
36499 #ifdef HAVE_IEEEFP_H
36500 #include <ieeefp.h>
36501 #endif
36502
36503 int
36504 main ()
36505 {
36506 log10f(0);
36507 ;
36508 return 0;
36509 }
36510 _ACEOF
36511 if ac_fn_cxx_try_compile "$LINENO"; then :
36512 glibcxx_cv_func_log10f_use=yes
36513 else
36514 glibcxx_cv_func_log10f_use=no
36515 fi
36516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36517 ac_ext=c
36518 ac_cpp='$CPP $CPPFLAGS'
36519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36522
36523
36524 fi
36525
36526 fi
36527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36528 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36529
36530 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36531 for ac_func in log10f
36532 do :
36533 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36534 if test "x$ac_cv_func_log10f" = x""yes; then :
36535 cat >>confdefs.h <<_ACEOF
36536 #define HAVE_LOG10F 1
36537 _ACEOF
36538
36539 fi
36540 done
36541
36542 else
36543
36544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36545 $as_echo_n "checking for _log10f declaration... " >&6; }
36546 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36547 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36548 $as_echo_n "(cached) " >&6
36549 else
36550
36551
36552 ac_ext=cpp
36553 ac_cpp='$CXXCPP $CPPFLAGS'
36554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36557
36558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36559 /* end confdefs.h. */
36560 #include <math.h>
36561 #ifdef HAVE_IEEEFP_H
36562 #include <ieeefp.h>
36563 #endif
36564
36565 int
36566 main ()
36567 {
36568 _log10f(0);
36569 ;
36570 return 0;
36571 }
36572 _ACEOF
36573 if ac_fn_cxx_try_compile "$LINENO"; then :
36574 glibcxx_cv_func__log10f_use=yes
36575 else
36576 glibcxx_cv_func__log10f_use=no
36577 fi
36578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36579 ac_ext=c
36580 ac_cpp='$CPP $CPPFLAGS'
36581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36584
36585
36586 fi
36587
36588 fi
36589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36590 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36591
36592 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36593 for ac_func in _log10f
36594 do :
36595 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36596 if test "x$ac_cv_func__log10f" = x""yes; then :
36597 cat >>confdefs.h <<_ACEOF
36598 #define HAVE__LOG10F 1
36599 _ACEOF
36600
36601 fi
36602 done
36603
36604 fi
36605 fi
36606
36607
36608
36609
36610
36611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36612 $as_echo_n "checking for modff declaration... " >&6; }
36613 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36614 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36615 $as_echo_n "(cached) " >&6
36616 else
36617
36618
36619 ac_ext=cpp
36620 ac_cpp='$CXXCPP $CPPFLAGS'
36621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36624
36625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36626 /* end confdefs.h. */
36627 #include <math.h>
36628 int
36629 main ()
36630 {
36631 modff(0, 0);
36632 ;
36633 return 0;
36634 }
36635 _ACEOF
36636 if ac_fn_cxx_try_compile "$LINENO"; then :
36637 glibcxx_cv_func_modff_use=yes
36638 else
36639 glibcxx_cv_func_modff_use=no
36640 fi
36641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36642 ac_ext=c
36643 ac_cpp='$CPP $CPPFLAGS'
36644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36647
36648
36649 fi
36650
36651 fi
36652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36653 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36654
36655 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36656 for ac_func in modff
36657 do :
36658 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36659 if test "x$ac_cv_func_modff" = x""yes; then :
36660 cat >>confdefs.h <<_ACEOF
36661 #define HAVE_MODFF 1
36662 _ACEOF
36663
36664 fi
36665 done
36666
36667 else
36668
36669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36670 $as_echo_n "checking for _modff declaration... " >&6; }
36671 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36672 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36673 $as_echo_n "(cached) " >&6
36674 else
36675
36676
36677 ac_ext=cpp
36678 ac_cpp='$CXXCPP $CPPFLAGS'
36679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36682
36683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36684 /* end confdefs.h. */
36685 #include <math.h>
36686 int
36687 main ()
36688 {
36689 _modff(0, 0);
36690 ;
36691 return 0;
36692 }
36693 _ACEOF
36694 if ac_fn_cxx_try_compile "$LINENO"; then :
36695 glibcxx_cv_func__modff_use=yes
36696 else
36697 glibcxx_cv_func__modff_use=no
36698 fi
36699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36700 ac_ext=c
36701 ac_cpp='$CPP $CPPFLAGS'
36702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36705
36706
36707 fi
36708
36709 fi
36710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36711 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36712
36713 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36714 for ac_func in _modff
36715 do :
36716 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36717 if test "x$ac_cv_func__modff" = x""yes; then :
36718 cat >>confdefs.h <<_ACEOF
36719 #define HAVE__MODFF 1
36720 _ACEOF
36721
36722 fi
36723 done
36724
36725 fi
36726 fi
36727
36728
36729
36730
36731
36732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36733 $as_echo_n "checking for modf declaration... " >&6; }
36734 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36735 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36736 $as_echo_n "(cached) " >&6
36737 else
36738
36739
36740 ac_ext=cpp
36741 ac_cpp='$CXXCPP $CPPFLAGS'
36742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36745
36746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36747 /* end confdefs.h. */
36748 #include <math.h>
36749 int
36750 main ()
36751 {
36752 modf(0, 0);
36753 ;
36754 return 0;
36755 }
36756 _ACEOF
36757 if ac_fn_cxx_try_compile "$LINENO"; then :
36758 glibcxx_cv_func_modf_use=yes
36759 else
36760 glibcxx_cv_func_modf_use=no
36761 fi
36762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36763 ac_ext=c
36764 ac_cpp='$CPP $CPPFLAGS'
36765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36768
36769
36770 fi
36771
36772 fi
36773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36774 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36775
36776 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36777 for ac_func in modf
36778 do :
36779 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36780 if test "x$ac_cv_func_modf" = x""yes; then :
36781 cat >>confdefs.h <<_ACEOF
36782 #define HAVE_MODF 1
36783 _ACEOF
36784
36785 fi
36786 done
36787
36788 else
36789
36790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36791 $as_echo_n "checking for _modf declaration... " >&6; }
36792 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36793 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36794 $as_echo_n "(cached) " >&6
36795 else
36796
36797
36798 ac_ext=cpp
36799 ac_cpp='$CXXCPP $CPPFLAGS'
36800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36803
36804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36805 /* end confdefs.h. */
36806 #include <math.h>
36807 int
36808 main ()
36809 {
36810 _modf(0, 0);
36811 ;
36812 return 0;
36813 }
36814 _ACEOF
36815 if ac_fn_cxx_try_compile "$LINENO"; then :
36816 glibcxx_cv_func__modf_use=yes
36817 else
36818 glibcxx_cv_func__modf_use=no
36819 fi
36820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36821 ac_ext=c
36822 ac_cpp='$CPP $CPPFLAGS'
36823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36826
36827
36828 fi
36829
36830 fi
36831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36832 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36833
36834 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36835 for ac_func in _modf
36836 do :
36837 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36838 if test "x$ac_cv_func__modf" = x""yes; then :
36839 cat >>confdefs.h <<_ACEOF
36840 #define HAVE__MODF 1
36841 _ACEOF
36842
36843 fi
36844 done
36845
36846 fi
36847 fi
36848
36849
36850
36851
36852
36853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36854 $as_echo_n "checking for powf declaration... " >&6; }
36855 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36856 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36857 $as_echo_n "(cached) " >&6
36858 else
36859
36860
36861 ac_ext=cpp
36862 ac_cpp='$CXXCPP $CPPFLAGS'
36863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36866
36867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36868 /* end confdefs.h. */
36869 #include <math.h>
36870 int
36871 main ()
36872 {
36873 powf(0, 0);
36874 ;
36875 return 0;
36876 }
36877 _ACEOF
36878 if ac_fn_cxx_try_compile "$LINENO"; then :
36879 glibcxx_cv_func_powf_use=yes
36880 else
36881 glibcxx_cv_func_powf_use=no
36882 fi
36883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36884 ac_ext=c
36885 ac_cpp='$CPP $CPPFLAGS'
36886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36889
36890
36891 fi
36892
36893 fi
36894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36895 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36896
36897 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36898 for ac_func in powf
36899 do :
36900 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36901 if test "x$ac_cv_func_powf" = x""yes; then :
36902 cat >>confdefs.h <<_ACEOF
36903 #define HAVE_POWF 1
36904 _ACEOF
36905
36906 fi
36907 done
36908
36909 else
36910
36911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36912 $as_echo_n "checking for _powf declaration... " >&6; }
36913 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36914 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36915 $as_echo_n "(cached) " >&6
36916 else
36917
36918
36919 ac_ext=cpp
36920 ac_cpp='$CXXCPP $CPPFLAGS'
36921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36924
36925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36926 /* end confdefs.h. */
36927 #include <math.h>
36928 int
36929 main ()
36930 {
36931 _powf(0, 0);
36932 ;
36933 return 0;
36934 }
36935 _ACEOF
36936 if ac_fn_cxx_try_compile "$LINENO"; then :
36937 glibcxx_cv_func__powf_use=yes
36938 else
36939 glibcxx_cv_func__powf_use=no
36940 fi
36941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36942 ac_ext=c
36943 ac_cpp='$CPP $CPPFLAGS'
36944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36947
36948
36949 fi
36950
36951 fi
36952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36953 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36954
36955 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36956 for ac_func in _powf
36957 do :
36958 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36959 if test "x$ac_cv_func__powf" = x""yes; then :
36960 cat >>confdefs.h <<_ACEOF
36961 #define HAVE__POWF 1
36962 _ACEOF
36963
36964 fi
36965 done
36966
36967 fi
36968 fi
36969
36970
36971
36972
36973
36974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36975 $as_echo_n "checking for sqrtf declaration... " >&6; }
36976 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36977 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36978 $as_echo_n "(cached) " >&6
36979 else
36980
36981
36982 ac_ext=cpp
36983 ac_cpp='$CXXCPP $CPPFLAGS'
36984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36987
36988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36989 /* end confdefs.h. */
36990 #include <math.h>
36991 #ifdef HAVE_IEEEFP_H
36992 #include <ieeefp.h>
36993 #endif
36994
36995 int
36996 main ()
36997 {
36998 sqrtf(0);
36999 ;
37000 return 0;
37001 }
37002 _ACEOF
37003 if ac_fn_cxx_try_compile "$LINENO"; then :
37004 glibcxx_cv_func_sqrtf_use=yes
37005 else
37006 glibcxx_cv_func_sqrtf_use=no
37007 fi
37008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37009 ac_ext=c
37010 ac_cpp='$CPP $CPPFLAGS'
37011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37014
37015
37016 fi
37017
37018 fi
37019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37020 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37021
37022 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37023 for ac_func in sqrtf
37024 do :
37025 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37026 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37027 cat >>confdefs.h <<_ACEOF
37028 #define HAVE_SQRTF 1
37029 _ACEOF
37030
37031 fi
37032 done
37033
37034 else
37035
37036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37037 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37038 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37039 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37040 $as_echo_n "(cached) " >&6
37041 else
37042
37043
37044 ac_ext=cpp
37045 ac_cpp='$CXXCPP $CPPFLAGS'
37046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37049
37050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37051 /* end confdefs.h. */
37052 #include <math.h>
37053 #ifdef HAVE_IEEEFP_H
37054 #include <ieeefp.h>
37055 #endif
37056
37057 int
37058 main ()
37059 {
37060 _sqrtf(0);
37061 ;
37062 return 0;
37063 }
37064 _ACEOF
37065 if ac_fn_cxx_try_compile "$LINENO"; then :
37066 glibcxx_cv_func__sqrtf_use=yes
37067 else
37068 glibcxx_cv_func__sqrtf_use=no
37069 fi
37070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37071 ac_ext=c
37072 ac_cpp='$CPP $CPPFLAGS'
37073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37076
37077
37078 fi
37079
37080 fi
37081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37082 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37083
37084 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37085 for ac_func in _sqrtf
37086 do :
37087 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37088 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37089 cat >>confdefs.h <<_ACEOF
37090 #define HAVE__SQRTF 1
37091 _ACEOF
37092
37093 fi
37094 done
37095
37096 fi
37097 fi
37098
37099
37100
37101
37102
37103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37104 $as_echo_n "checking for sincosf declaration... " >&6; }
37105 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37106 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37107 $as_echo_n "(cached) " >&6
37108 else
37109
37110
37111 ac_ext=cpp
37112 ac_cpp='$CXXCPP $CPPFLAGS'
37113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37116
37117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37118 /* end confdefs.h. */
37119 #include <math.h>
37120 int
37121 main ()
37122 {
37123 sincosf(0, 0, 0);
37124 ;
37125 return 0;
37126 }
37127 _ACEOF
37128 if ac_fn_cxx_try_compile "$LINENO"; then :
37129 glibcxx_cv_func_sincosf_use=yes
37130 else
37131 glibcxx_cv_func_sincosf_use=no
37132 fi
37133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37134 ac_ext=c
37135 ac_cpp='$CPP $CPPFLAGS'
37136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37139
37140
37141 fi
37142
37143 fi
37144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37145 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37146
37147 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37148 for ac_func in sincosf
37149 do :
37150 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37151 if test "x$ac_cv_func_sincosf" = x""yes; then :
37152 cat >>confdefs.h <<_ACEOF
37153 #define HAVE_SINCOSF 1
37154 _ACEOF
37155
37156 fi
37157 done
37158
37159 else
37160
37161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37162 $as_echo_n "checking for _sincosf declaration... " >&6; }
37163 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37164 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37165 $as_echo_n "(cached) " >&6
37166 else
37167
37168
37169 ac_ext=cpp
37170 ac_cpp='$CXXCPP $CPPFLAGS'
37171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37174
37175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37176 /* end confdefs.h. */
37177 #include <math.h>
37178 int
37179 main ()
37180 {
37181 _sincosf(0, 0, 0);
37182 ;
37183 return 0;
37184 }
37185 _ACEOF
37186 if ac_fn_cxx_try_compile "$LINENO"; then :
37187 glibcxx_cv_func__sincosf_use=yes
37188 else
37189 glibcxx_cv_func__sincosf_use=no
37190 fi
37191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37192 ac_ext=c
37193 ac_cpp='$CPP $CPPFLAGS'
37194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37197
37198
37199 fi
37200
37201 fi
37202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37203 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37204
37205 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37206 for ac_func in _sincosf
37207 do :
37208 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37209 if test "x$ac_cv_func__sincosf" = x""yes; then :
37210 cat >>confdefs.h <<_ACEOF
37211 #define HAVE__SINCOSF 1
37212 _ACEOF
37213
37214 fi
37215 done
37216
37217 fi
37218 fi
37219
37220
37221
37222
37223
37224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37225 $as_echo_n "checking for finitef declaration... " >&6; }
37226 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37227 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37228 $as_echo_n "(cached) " >&6
37229 else
37230
37231
37232 ac_ext=cpp
37233 ac_cpp='$CXXCPP $CPPFLAGS'
37234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37237
37238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37239 /* end confdefs.h. */
37240 #include <math.h>
37241 #ifdef HAVE_IEEEFP_H
37242 #include <ieeefp.h>
37243 #endif
37244
37245 int
37246 main ()
37247 {
37248 finitef(0);
37249 ;
37250 return 0;
37251 }
37252 _ACEOF
37253 if ac_fn_cxx_try_compile "$LINENO"; then :
37254 glibcxx_cv_func_finitef_use=yes
37255 else
37256 glibcxx_cv_func_finitef_use=no
37257 fi
37258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37259 ac_ext=c
37260 ac_cpp='$CPP $CPPFLAGS'
37261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37264
37265
37266 fi
37267
37268 fi
37269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37270 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37271
37272 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37273 for ac_func in finitef
37274 do :
37275 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37276 if test "x$ac_cv_func_finitef" = x""yes; then :
37277 cat >>confdefs.h <<_ACEOF
37278 #define HAVE_FINITEF 1
37279 _ACEOF
37280
37281 fi
37282 done
37283
37284 else
37285
37286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37287 $as_echo_n "checking for _finitef declaration... " >&6; }
37288 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37289 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37290 $as_echo_n "(cached) " >&6
37291 else
37292
37293
37294 ac_ext=cpp
37295 ac_cpp='$CXXCPP $CPPFLAGS'
37296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37299
37300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37301 /* end confdefs.h. */
37302 #include <math.h>
37303 #ifdef HAVE_IEEEFP_H
37304 #include <ieeefp.h>
37305 #endif
37306
37307 int
37308 main ()
37309 {
37310 _finitef(0);
37311 ;
37312 return 0;
37313 }
37314 _ACEOF
37315 if ac_fn_cxx_try_compile "$LINENO"; then :
37316 glibcxx_cv_func__finitef_use=yes
37317 else
37318 glibcxx_cv_func__finitef_use=no
37319 fi
37320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37321 ac_ext=c
37322 ac_cpp='$CPP $CPPFLAGS'
37323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37326
37327
37328 fi
37329
37330 fi
37331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37332 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37333
37334 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37335 for ac_func in _finitef
37336 do :
37337 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37338 if test "x$ac_cv_func__finitef" = x""yes; then :
37339 cat >>confdefs.h <<_ACEOF
37340 #define HAVE__FINITEF 1
37341 _ACEOF
37342
37343 fi
37344 done
37345
37346 fi
37347 fi
37348
37349
37350
37351
37352
37353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37354 $as_echo_n "checking for long double trig functions... " >&6; }
37355 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37356 $as_echo_n "(cached) " >&6
37357 else
37358
37359
37360 ac_ext=cpp
37361 ac_cpp='$CXXCPP $CPPFLAGS'
37362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37365
37366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37367 /* end confdefs.h. */
37368 #include <math.h>
37369 int
37370 main ()
37371 {
37372 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37373 ;
37374 return 0;
37375 }
37376 _ACEOF
37377 if ac_fn_cxx_try_compile "$LINENO"; then :
37378 glibcxx_cv_func_long_double_trig_use=yes
37379 else
37380 glibcxx_cv_func_long_double_trig_use=no
37381 fi
37382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37383 ac_ext=c
37384 ac_cpp='$CPP $CPPFLAGS'
37385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37388
37389 fi
37390
37391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37392 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37393 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37394 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37395 do :
37396 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37397 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37398 eval as_val=\$$as_ac_var
37399 if test "x$as_val" = x""yes; then :
37400 cat >>confdefs.h <<_ACEOF
37401 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37402 _ACEOF
37403
37404 fi
37405 done
37406
37407 else
37408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37409 $as_echo_n "checking for _long double trig functions... " >&6; }
37410 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37411 $as_echo_n "(cached) " >&6
37412 else
37413
37414
37415 ac_ext=cpp
37416 ac_cpp='$CXXCPP $CPPFLAGS'
37417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37420
37421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37422 /* end confdefs.h. */
37423 #include <math.h>
37424 int
37425 main ()
37426 {
37427 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37428 ;
37429 return 0;
37430 }
37431 _ACEOF
37432 if ac_fn_cxx_try_compile "$LINENO"; then :
37433 glibcxx_cv_func__long_double_trig_use=yes
37434 else
37435 glibcxx_cv_func__long_double_trig_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 fi
37445
37446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37447 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37448 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37449 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37450 do :
37451 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37452 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37453 eval as_val=\$$as_ac_var
37454 if test "x$as_val" = x""yes; then :
37455 cat >>confdefs.h <<_ACEOF
37456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37457 _ACEOF
37458
37459 fi
37460 done
37461
37462 fi
37463 fi
37464
37465
37466
37467
37468
37469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37470 $as_echo_n "checking for long double round functions... " >&6; }
37471 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37472 $as_echo_n "(cached) " >&6
37473 else
37474
37475
37476 ac_ext=cpp
37477 ac_cpp='$CXXCPP $CPPFLAGS'
37478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37481
37482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37483 /* end confdefs.h. */
37484 #include <math.h>
37485 int
37486 main ()
37487 {
37488 ceill (0); floorl (0);
37489 ;
37490 return 0;
37491 }
37492 _ACEOF
37493 if ac_fn_cxx_try_compile "$LINENO"; then :
37494 glibcxx_cv_func_long_double_round_use=yes
37495 else
37496 glibcxx_cv_func_long_double_round_use=no
37497 fi
37498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37499 ac_ext=c
37500 ac_cpp='$CPP $CPPFLAGS'
37501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37504
37505 fi
37506
37507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37508 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37509 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37510 for ac_func in ceill floorl
37511 do :
37512 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37513 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37514 eval as_val=\$$as_ac_var
37515 if test "x$as_val" = x""yes; then :
37516 cat >>confdefs.h <<_ACEOF
37517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37518 _ACEOF
37519
37520 fi
37521 done
37522
37523 else
37524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37525 $as_echo_n "checking for _long double round functions... " >&6; }
37526 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37527 $as_echo_n "(cached) " >&6
37528 else
37529
37530
37531 ac_ext=cpp
37532 ac_cpp='$CXXCPP $CPPFLAGS'
37533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37536
37537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37538 /* end confdefs.h. */
37539 #include <math.h>
37540 int
37541 main ()
37542 {
37543 _ceill (0); _floorl (0);
37544 ;
37545 return 0;
37546 }
37547 _ACEOF
37548 if ac_fn_cxx_try_compile "$LINENO"; then :
37549 glibcxx_cv_func__long_double_round_use=yes
37550 else
37551 glibcxx_cv_func__long_double_round_use=no
37552 fi
37553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37554 ac_ext=c
37555 ac_cpp='$CPP $CPPFLAGS'
37556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37559
37560 fi
37561
37562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37563 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37564 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37565 for ac_func in _ceill _floorl
37566 do :
37567 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37568 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37569 eval as_val=\$$as_ac_var
37570 if test "x$as_val" = x""yes; then :
37571 cat >>confdefs.h <<_ACEOF
37572 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37573 _ACEOF
37574
37575 fi
37576 done
37577
37578 fi
37579 fi
37580
37581
37582
37583
37584
37585
37586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37587 $as_echo_n "checking for isnanl declaration... " >&6; }
37588 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37589 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37590 $as_echo_n "(cached) " >&6
37591 else
37592
37593
37594 ac_ext=cpp
37595 ac_cpp='$CXXCPP $CPPFLAGS'
37596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37599
37600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37601 /* end confdefs.h. */
37602 #include <math.h>
37603 #ifdef HAVE_IEEEFP_H
37604 #include <ieeefp.h>
37605 #endif
37606
37607 int
37608 main ()
37609 {
37610 isnanl(0);
37611 ;
37612 return 0;
37613 }
37614 _ACEOF
37615 if ac_fn_cxx_try_compile "$LINENO"; then :
37616 glibcxx_cv_func_isnanl_use=yes
37617 else
37618 glibcxx_cv_func_isnanl_use=no
37619 fi
37620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37621 ac_ext=c
37622 ac_cpp='$CPP $CPPFLAGS'
37623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37626
37627
37628 fi
37629
37630 fi
37631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37632 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37633
37634 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37635 for ac_func in isnanl
37636 do :
37637 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37638 if test "x$ac_cv_func_isnanl" = x""yes; then :
37639 cat >>confdefs.h <<_ACEOF
37640 #define HAVE_ISNANL 1
37641 _ACEOF
37642
37643 fi
37644 done
37645
37646 else
37647
37648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37649 $as_echo_n "checking for _isnanl declaration... " >&6; }
37650 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37651 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37652 $as_echo_n "(cached) " >&6
37653 else
37654
37655
37656 ac_ext=cpp
37657 ac_cpp='$CXXCPP $CPPFLAGS'
37658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37661
37662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37663 /* end confdefs.h. */
37664 #include <math.h>
37665 #ifdef HAVE_IEEEFP_H
37666 #include <ieeefp.h>
37667 #endif
37668
37669 int
37670 main ()
37671 {
37672 _isnanl(0);
37673 ;
37674 return 0;
37675 }
37676 _ACEOF
37677 if ac_fn_cxx_try_compile "$LINENO"; then :
37678 glibcxx_cv_func__isnanl_use=yes
37679 else
37680 glibcxx_cv_func__isnanl_use=no
37681 fi
37682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37683 ac_ext=c
37684 ac_cpp='$CPP $CPPFLAGS'
37685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37688
37689
37690 fi
37691
37692 fi
37693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37694 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37695
37696 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37697 for ac_func in _isnanl
37698 do :
37699 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37700 if test "x$ac_cv_func__isnanl" = x""yes; then :
37701 cat >>confdefs.h <<_ACEOF
37702 #define HAVE__ISNANL 1
37703 _ACEOF
37704
37705 fi
37706 done
37707
37708 fi
37709 fi
37710
37711
37712
37713
37714
37715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37716 $as_echo_n "checking for isinfl declaration... " >&6; }
37717 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37718 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37719 $as_echo_n "(cached) " >&6
37720 else
37721
37722
37723 ac_ext=cpp
37724 ac_cpp='$CXXCPP $CPPFLAGS'
37725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37728
37729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37730 /* end confdefs.h. */
37731 #include <math.h>
37732 #ifdef HAVE_IEEEFP_H
37733 #include <ieeefp.h>
37734 #endif
37735
37736 int
37737 main ()
37738 {
37739 isinfl(0);
37740 ;
37741 return 0;
37742 }
37743 _ACEOF
37744 if ac_fn_cxx_try_compile "$LINENO"; then :
37745 glibcxx_cv_func_isinfl_use=yes
37746 else
37747 glibcxx_cv_func_isinfl_use=no
37748 fi
37749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37750 ac_ext=c
37751 ac_cpp='$CPP $CPPFLAGS'
37752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37755
37756
37757 fi
37758
37759 fi
37760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37761 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37762
37763 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37764 for ac_func in isinfl
37765 do :
37766 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37767 if test "x$ac_cv_func_isinfl" = x""yes; then :
37768 cat >>confdefs.h <<_ACEOF
37769 #define HAVE_ISINFL 1
37770 _ACEOF
37771
37772 fi
37773 done
37774
37775 else
37776
37777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37778 $as_echo_n "checking for _isinfl declaration... " >&6; }
37779 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37780 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37781 $as_echo_n "(cached) " >&6
37782 else
37783
37784
37785 ac_ext=cpp
37786 ac_cpp='$CXXCPP $CPPFLAGS'
37787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37790
37791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37792 /* end confdefs.h. */
37793 #include <math.h>
37794 #ifdef HAVE_IEEEFP_H
37795 #include <ieeefp.h>
37796 #endif
37797
37798 int
37799 main ()
37800 {
37801 _isinfl(0);
37802 ;
37803 return 0;
37804 }
37805 _ACEOF
37806 if ac_fn_cxx_try_compile "$LINENO"; then :
37807 glibcxx_cv_func__isinfl_use=yes
37808 else
37809 glibcxx_cv_func__isinfl_use=no
37810 fi
37811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37812 ac_ext=c
37813 ac_cpp='$CPP $CPPFLAGS'
37814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37817
37818
37819 fi
37820
37821 fi
37822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37823 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37824
37825 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37826 for ac_func in _isinfl
37827 do :
37828 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37829 if test "x$ac_cv_func__isinfl" = x""yes; then :
37830 cat >>confdefs.h <<_ACEOF
37831 #define HAVE__ISINFL 1
37832 _ACEOF
37833
37834 fi
37835 done
37836
37837 fi
37838 fi
37839
37840
37841
37842
37843
37844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37845 $as_echo_n "checking for atan2l declaration... " >&6; }
37846 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37847 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37848 $as_echo_n "(cached) " >&6
37849 else
37850
37851
37852 ac_ext=cpp
37853 ac_cpp='$CXXCPP $CPPFLAGS'
37854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37857
37858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37859 /* end confdefs.h. */
37860 #include <math.h>
37861 int
37862 main ()
37863 {
37864 atan2l(0, 0);
37865 ;
37866 return 0;
37867 }
37868 _ACEOF
37869 if ac_fn_cxx_try_compile "$LINENO"; then :
37870 glibcxx_cv_func_atan2l_use=yes
37871 else
37872 glibcxx_cv_func_atan2l_use=no
37873 fi
37874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37875 ac_ext=c
37876 ac_cpp='$CPP $CPPFLAGS'
37877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37880
37881
37882 fi
37883
37884 fi
37885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37886 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37887
37888 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37889 for ac_func in atan2l
37890 do :
37891 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37892 if test "x$ac_cv_func_atan2l" = x""yes; then :
37893 cat >>confdefs.h <<_ACEOF
37894 #define HAVE_ATAN2L 1
37895 _ACEOF
37896
37897 fi
37898 done
37899
37900 else
37901
37902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37903 $as_echo_n "checking for _atan2l declaration... " >&6; }
37904 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37905 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37906 $as_echo_n "(cached) " >&6
37907 else
37908
37909
37910 ac_ext=cpp
37911 ac_cpp='$CXXCPP $CPPFLAGS'
37912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37915
37916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37917 /* end confdefs.h. */
37918 #include <math.h>
37919 int
37920 main ()
37921 {
37922 _atan2l(0, 0);
37923 ;
37924 return 0;
37925 }
37926 _ACEOF
37927 if ac_fn_cxx_try_compile "$LINENO"; then :
37928 glibcxx_cv_func__atan2l_use=yes
37929 else
37930 glibcxx_cv_func__atan2l_use=no
37931 fi
37932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37933 ac_ext=c
37934 ac_cpp='$CPP $CPPFLAGS'
37935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37938
37939
37940 fi
37941
37942 fi
37943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37944 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37945
37946 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37947 for ac_func in _atan2l
37948 do :
37949 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37950 if test "x$ac_cv_func__atan2l" = x""yes; then :
37951 cat >>confdefs.h <<_ACEOF
37952 #define HAVE__ATAN2L 1
37953 _ACEOF
37954
37955 fi
37956 done
37957
37958 fi
37959 fi
37960
37961
37962
37963
37964
37965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37966 $as_echo_n "checking for expl declaration... " >&6; }
37967 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37968 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37969 $as_echo_n "(cached) " >&6
37970 else
37971
37972
37973 ac_ext=cpp
37974 ac_cpp='$CXXCPP $CPPFLAGS'
37975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37978
37979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37980 /* end confdefs.h. */
37981 #include <math.h>
37982 #ifdef HAVE_IEEEFP_H
37983 #include <ieeefp.h>
37984 #endif
37985
37986 int
37987 main ()
37988 {
37989 expl(0);
37990 ;
37991 return 0;
37992 }
37993 _ACEOF
37994 if ac_fn_cxx_try_compile "$LINENO"; then :
37995 glibcxx_cv_func_expl_use=yes
37996 else
37997 glibcxx_cv_func_expl_use=no
37998 fi
37999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38000 ac_ext=c
38001 ac_cpp='$CPP $CPPFLAGS'
38002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38005
38006
38007 fi
38008
38009 fi
38010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38011 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38012
38013 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38014 for ac_func in expl
38015 do :
38016 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38017 if test "x$ac_cv_func_expl" = x""yes; then :
38018 cat >>confdefs.h <<_ACEOF
38019 #define HAVE_EXPL 1
38020 _ACEOF
38021
38022 fi
38023 done
38024
38025 else
38026
38027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38028 $as_echo_n "checking for _expl declaration... " >&6; }
38029 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38030 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38031 $as_echo_n "(cached) " >&6
38032 else
38033
38034
38035 ac_ext=cpp
38036 ac_cpp='$CXXCPP $CPPFLAGS'
38037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38040
38041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38042 /* end confdefs.h. */
38043 #include <math.h>
38044 #ifdef HAVE_IEEEFP_H
38045 #include <ieeefp.h>
38046 #endif
38047
38048 int
38049 main ()
38050 {
38051 _expl(0);
38052 ;
38053 return 0;
38054 }
38055 _ACEOF
38056 if ac_fn_cxx_try_compile "$LINENO"; then :
38057 glibcxx_cv_func__expl_use=yes
38058 else
38059 glibcxx_cv_func__expl_use=no
38060 fi
38061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38062 ac_ext=c
38063 ac_cpp='$CPP $CPPFLAGS'
38064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38067
38068
38069 fi
38070
38071 fi
38072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38073 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38074
38075 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38076 for ac_func in _expl
38077 do :
38078 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38079 if test "x$ac_cv_func__expl" = x""yes; then :
38080 cat >>confdefs.h <<_ACEOF
38081 #define HAVE__EXPL 1
38082 _ACEOF
38083
38084 fi
38085 done
38086
38087 fi
38088 fi
38089
38090
38091
38092
38093
38094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38095 $as_echo_n "checking for fabsl declaration... " >&6; }
38096 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38097 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38098 $as_echo_n "(cached) " >&6
38099 else
38100
38101
38102 ac_ext=cpp
38103 ac_cpp='$CXXCPP $CPPFLAGS'
38104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38107
38108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38109 /* end confdefs.h. */
38110 #include <math.h>
38111 #ifdef HAVE_IEEEFP_H
38112 #include <ieeefp.h>
38113 #endif
38114
38115 int
38116 main ()
38117 {
38118 fabsl(0);
38119 ;
38120 return 0;
38121 }
38122 _ACEOF
38123 if ac_fn_cxx_try_compile "$LINENO"; then :
38124 glibcxx_cv_func_fabsl_use=yes
38125 else
38126 glibcxx_cv_func_fabsl_use=no
38127 fi
38128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38129 ac_ext=c
38130 ac_cpp='$CPP $CPPFLAGS'
38131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38134
38135
38136 fi
38137
38138 fi
38139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38140 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38141
38142 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38143 for ac_func in fabsl
38144 do :
38145 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38146 if test "x$ac_cv_func_fabsl" = x""yes; then :
38147 cat >>confdefs.h <<_ACEOF
38148 #define HAVE_FABSL 1
38149 _ACEOF
38150
38151 fi
38152 done
38153
38154 else
38155
38156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38157 $as_echo_n "checking for _fabsl declaration... " >&6; }
38158 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38159 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38160 $as_echo_n "(cached) " >&6
38161 else
38162
38163
38164 ac_ext=cpp
38165 ac_cpp='$CXXCPP $CPPFLAGS'
38166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38169
38170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38171 /* end confdefs.h. */
38172 #include <math.h>
38173 #ifdef HAVE_IEEEFP_H
38174 #include <ieeefp.h>
38175 #endif
38176
38177 int
38178 main ()
38179 {
38180 _fabsl(0);
38181 ;
38182 return 0;
38183 }
38184 _ACEOF
38185 if ac_fn_cxx_try_compile "$LINENO"; then :
38186 glibcxx_cv_func__fabsl_use=yes
38187 else
38188 glibcxx_cv_func__fabsl_use=no
38189 fi
38190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38191 ac_ext=c
38192 ac_cpp='$CPP $CPPFLAGS'
38193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38196
38197
38198 fi
38199
38200 fi
38201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38202 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38203
38204 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38205 for ac_func in _fabsl
38206 do :
38207 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38208 if test "x$ac_cv_func__fabsl" = x""yes; then :
38209 cat >>confdefs.h <<_ACEOF
38210 #define HAVE__FABSL 1
38211 _ACEOF
38212
38213 fi
38214 done
38215
38216 fi
38217 fi
38218
38219
38220
38221
38222
38223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38224 $as_echo_n "checking for fmodl declaration... " >&6; }
38225 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38226 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38227 $as_echo_n "(cached) " >&6
38228 else
38229
38230
38231 ac_ext=cpp
38232 ac_cpp='$CXXCPP $CPPFLAGS'
38233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38236
38237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38238 /* end confdefs.h. */
38239 #include <math.h>
38240 int
38241 main ()
38242 {
38243 fmodl(0, 0);
38244 ;
38245 return 0;
38246 }
38247 _ACEOF
38248 if ac_fn_cxx_try_compile "$LINENO"; then :
38249 glibcxx_cv_func_fmodl_use=yes
38250 else
38251 glibcxx_cv_func_fmodl_use=no
38252 fi
38253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38254 ac_ext=c
38255 ac_cpp='$CPP $CPPFLAGS'
38256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38259
38260
38261 fi
38262
38263 fi
38264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38265 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38266
38267 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38268 for ac_func in fmodl
38269 do :
38270 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38271 if test "x$ac_cv_func_fmodl" = x""yes; then :
38272 cat >>confdefs.h <<_ACEOF
38273 #define HAVE_FMODL 1
38274 _ACEOF
38275
38276 fi
38277 done
38278
38279 else
38280
38281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38282 $as_echo_n "checking for _fmodl declaration... " >&6; }
38283 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38284 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38285 $as_echo_n "(cached) " >&6
38286 else
38287
38288
38289 ac_ext=cpp
38290 ac_cpp='$CXXCPP $CPPFLAGS'
38291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38294
38295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38296 /* end confdefs.h. */
38297 #include <math.h>
38298 int
38299 main ()
38300 {
38301 _fmodl(0, 0);
38302 ;
38303 return 0;
38304 }
38305 _ACEOF
38306 if ac_fn_cxx_try_compile "$LINENO"; then :
38307 glibcxx_cv_func__fmodl_use=yes
38308 else
38309 glibcxx_cv_func__fmodl_use=no
38310 fi
38311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38312 ac_ext=c
38313 ac_cpp='$CPP $CPPFLAGS'
38314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38317
38318
38319 fi
38320
38321 fi
38322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38323 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38324
38325 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38326 for ac_func in _fmodl
38327 do :
38328 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38329 if test "x$ac_cv_func__fmodl" = x""yes; then :
38330 cat >>confdefs.h <<_ACEOF
38331 #define HAVE__FMODL 1
38332 _ACEOF
38333
38334 fi
38335 done
38336
38337 fi
38338 fi
38339
38340
38341
38342
38343
38344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38345 $as_echo_n "checking for frexpl declaration... " >&6; }
38346 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38347 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38348 $as_echo_n "(cached) " >&6
38349 else
38350
38351
38352 ac_ext=cpp
38353 ac_cpp='$CXXCPP $CPPFLAGS'
38354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38357
38358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38359 /* end confdefs.h. */
38360 #include <math.h>
38361 int
38362 main ()
38363 {
38364 frexpl(0, 0);
38365 ;
38366 return 0;
38367 }
38368 _ACEOF
38369 if ac_fn_cxx_try_compile "$LINENO"; then :
38370 glibcxx_cv_func_frexpl_use=yes
38371 else
38372 glibcxx_cv_func_frexpl_use=no
38373 fi
38374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38375 ac_ext=c
38376 ac_cpp='$CPP $CPPFLAGS'
38377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38380
38381
38382 fi
38383
38384 fi
38385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38386 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38387
38388 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38389 for ac_func in frexpl
38390 do :
38391 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38392 if test "x$ac_cv_func_frexpl" = x""yes; then :
38393 cat >>confdefs.h <<_ACEOF
38394 #define HAVE_FREXPL 1
38395 _ACEOF
38396
38397 fi
38398 done
38399
38400 else
38401
38402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38403 $as_echo_n "checking for _frexpl declaration... " >&6; }
38404 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38405 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38406 $as_echo_n "(cached) " >&6
38407 else
38408
38409
38410 ac_ext=cpp
38411 ac_cpp='$CXXCPP $CPPFLAGS'
38412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38415
38416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38417 /* end confdefs.h. */
38418 #include <math.h>
38419 int
38420 main ()
38421 {
38422 _frexpl(0, 0);
38423 ;
38424 return 0;
38425 }
38426 _ACEOF
38427 if ac_fn_cxx_try_compile "$LINENO"; then :
38428 glibcxx_cv_func__frexpl_use=yes
38429 else
38430 glibcxx_cv_func__frexpl_use=no
38431 fi
38432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38433 ac_ext=c
38434 ac_cpp='$CPP $CPPFLAGS'
38435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38438
38439
38440 fi
38441
38442 fi
38443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38444 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38445
38446 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38447 for ac_func in _frexpl
38448 do :
38449 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38450 if test "x$ac_cv_func__frexpl" = x""yes; then :
38451 cat >>confdefs.h <<_ACEOF
38452 #define HAVE__FREXPL 1
38453 _ACEOF
38454
38455 fi
38456 done
38457
38458 fi
38459 fi
38460
38461
38462
38463
38464
38465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38466 $as_echo_n "checking for hypotl declaration... " >&6; }
38467 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38468 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38469 $as_echo_n "(cached) " >&6
38470 else
38471
38472
38473 ac_ext=cpp
38474 ac_cpp='$CXXCPP $CPPFLAGS'
38475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38478
38479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38480 /* end confdefs.h. */
38481 #include <math.h>
38482 int
38483 main ()
38484 {
38485 hypotl(0, 0);
38486 ;
38487 return 0;
38488 }
38489 _ACEOF
38490 if ac_fn_cxx_try_compile "$LINENO"; then :
38491 glibcxx_cv_func_hypotl_use=yes
38492 else
38493 glibcxx_cv_func_hypotl_use=no
38494 fi
38495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38496 ac_ext=c
38497 ac_cpp='$CPP $CPPFLAGS'
38498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38501
38502
38503 fi
38504
38505 fi
38506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38507 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38508
38509 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38510 for ac_func in hypotl
38511 do :
38512 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38513 if test "x$ac_cv_func_hypotl" = x""yes; then :
38514 cat >>confdefs.h <<_ACEOF
38515 #define HAVE_HYPOTL 1
38516 _ACEOF
38517
38518 fi
38519 done
38520
38521 else
38522
38523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38524 $as_echo_n "checking for _hypotl declaration... " >&6; }
38525 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38526 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38527 $as_echo_n "(cached) " >&6
38528 else
38529
38530
38531 ac_ext=cpp
38532 ac_cpp='$CXXCPP $CPPFLAGS'
38533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38536
38537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38538 /* end confdefs.h. */
38539 #include <math.h>
38540 int
38541 main ()
38542 {
38543 _hypotl(0, 0);
38544 ;
38545 return 0;
38546 }
38547 _ACEOF
38548 if ac_fn_cxx_try_compile "$LINENO"; then :
38549 glibcxx_cv_func__hypotl_use=yes
38550 else
38551 glibcxx_cv_func__hypotl_use=no
38552 fi
38553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38554 ac_ext=c
38555 ac_cpp='$CPP $CPPFLAGS'
38556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38559
38560
38561 fi
38562
38563 fi
38564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38565 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38566
38567 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38568 for ac_func in _hypotl
38569 do :
38570 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38571 if test "x$ac_cv_func__hypotl" = x""yes; then :
38572 cat >>confdefs.h <<_ACEOF
38573 #define HAVE__HYPOTL 1
38574 _ACEOF
38575
38576 fi
38577 done
38578
38579 fi
38580 fi
38581
38582
38583
38584
38585
38586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38587 $as_echo_n "checking for ldexpl declaration... " >&6; }
38588 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38589 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38590 $as_echo_n "(cached) " >&6
38591 else
38592
38593
38594 ac_ext=cpp
38595 ac_cpp='$CXXCPP $CPPFLAGS'
38596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38599
38600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38601 /* end confdefs.h. */
38602 #include <math.h>
38603 int
38604 main ()
38605 {
38606 ldexpl(0, 0);
38607 ;
38608 return 0;
38609 }
38610 _ACEOF
38611 if ac_fn_cxx_try_compile "$LINENO"; then :
38612 glibcxx_cv_func_ldexpl_use=yes
38613 else
38614 glibcxx_cv_func_ldexpl_use=no
38615 fi
38616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38617 ac_ext=c
38618 ac_cpp='$CPP $CPPFLAGS'
38619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38622
38623
38624 fi
38625
38626 fi
38627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38628 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38629
38630 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38631 for ac_func in ldexpl
38632 do :
38633 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38634 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38635 cat >>confdefs.h <<_ACEOF
38636 #define HAVE_LDEXPL 1
38637 _ACEOF
38638
38639 fi
38640 done
38641
38642 else
38643
38644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38645 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38646 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38647 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38648 $as_echo_n "(cached) " >&6
38649 else
38650
38651
38652 ac_ext=cpp
38653 ac_cpp='$CXXCPP $CPPFLAGS'
38654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38657
38658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38659 /* end confdefs.h. */
38660 #include <math.h>
38661 int
38662 main ()
38663 {
38664 _ldexpl(0, 0);
38665 ;
38666 return 0;
38667 }
38668 _ACEOF
38669 if ac_fn_cxx_try_compile "$LINENO"; then :
38670 glibcxx_cv_func__ldexpl_use=yes
38671 else
38672 glibcxx_cv_func__ldexpl_use=no
38673 fi
38674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38675 ac_ext=c
38676 ac_cpp='$CPP $CPPFLAGS'
38677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38680
38681
38682 fi
38683
38684 fi
38685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38686 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38687
38688 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38689 for ac_func in _ldexpl
38690 do :
38691 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38692 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38693 cat >>confdefs.h <<_ACEOF
38694 #define HAVE__LDEXPL 1
38695 _ACEOF
38696
38697 fi
38698 done
38699
38700 fi
38701 fi
38702
38703
38704
38705
38706
38707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38708 $as_echo_n "checking for logl declaration... " >&6; }
38709 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38710 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38711 $as_echo_n "(cached) " >&6
38712 else
38713
38714
38715 ac_ext=cpp
38716 ac_cpp='$CXXCPP $CPPFLAGS'
38717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38720
38721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38722 /* end confdefs.h. */
38723 #include <math.h>
38724 #ifdef HAVE_IEEEFP_H
38725 #include <ieeefp.h>
38726 #endif
38727
38728 int
38729 main ()
38730 {
38731 logl(0);
38732 ;
38733 return 0;
38734 }
38735 _ACEOF
38736 if ac_fn_cxx_try_compile "$LINENO"; then :
38737 glibcxx_cv_func_logl_use=yes
38738 else
38739 glibcxx_cv_func_logl_use=no
38740 fi
38741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38742 ac_ext=c
38743 ac_cpp='$CPP $CPPFLAGS'
38744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38747
38748
38749 fi
38750
38751 fi
38752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38753 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38754
38755 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38756 for ac_func in logl
38757 do :
38758 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38759 if test "x$ac_cv_func_logl" = x""yes; then :
38760 cat >>confdefs.h <<_ACEOF
38761 #define HAVE_LOGL 1
38762 _ACEOF
38763
38764 fi
38765 done
38766
38767 else
38768
38769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38770 $as_echo_n "checking for _logl declaration... " >&6; }
38771 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38772 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38773 $as_echo_n "(cached) " >&6
38774 else
38775
38776
38777 ac_ext=cpp
38778 ac_cpp='$CXXCPP $CPPFLAGS'
38779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38782
38783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38784 /* end confdefs.h. */
38785 #include <math.h>
38786 #ifdef HAVE_IEEEFP_H
38787 #include <ieeefp.h>
38788 #endif
38789
38790 int
38791 main ()
38792 {
38793 _logl(0);
38794 ;
38795 return 0;
38796 }
38797 _ACEOF
38798 if ac_fn_cxx_try_compile "$LINENO"; then :
38799 glibcxx_cv_func__logl_use=yes
38800 else
38801 glibcxx_cv_func__logl_use=no
38802 fi
38803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38804 ac_ext=c
38805 ac_cpp='$CPP $CPPFLAGS'
38806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38809
38810
38811 fi
38812
38813 fi
38814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38815 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38816
38817 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38818 for ac_func in _logl
38819 do :
38820 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38821 if test "x$ac_cv_func__logl" = x""yes; then :
38822 cat >>confdefs.h <<_ACEOF
38823 #define HAVE__LOGL 1
38824 _ACEOF
38825
38826 fi
38827 done
38828
38829 fi
38830 fi
38831
38832
38833
38834
38835
38836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38837 $as_echo_n "checking for log10l declaration... " >&6; }
38838 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38839 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38840 $as_echo_n "(cached) " >&6
38841 else
38842
38843
38844 ac_ext=cpp
38845 ac_cpp='$CXXCPP $CPPFLAGS'
38846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38849
38850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38851 /* end confdefs.h. */
38852 #include <math.h>
38853 #ifdef HAVE_IEEEFP_H
38854 #include <ieeefp.h>
38855 #endif
38856
38857 int
38858 main ()
38859 {
38860 log10l(0);
38861 ;
38862 return 0;
38863 }
38864 _ACEOF
38865 if ac_fn_cxx_try_compile "$LINENO"; then :
38866 glibcxx_cv_func_log10l_use=yes
38867 else
38868 glibcxx_cv_func_log10l_use=no
38869 fi
38870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38871 ac_ext=c
38872 ac_cpp='$CPP $CPPFLAGS'
38873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38876
38877
38878 fi
38879
38880 fi
38881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38882 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38883
38884 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38885 for ac_func in log10l
38886 do :
38887 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38888 if test "x$ac_cv_func_log10l" = x""yes; then :
38889 cat >>confdefs.h <<_ACEOF
38890 #define HAVE_LOG10L 1
38891 _ACEOF
38892
38893 fi
38894 done
38895
38896 else
38897
38898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38899 $as_echo_n "checking for _log10l declaration... " >&6; }
38900 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38901 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38902 $as_echo_n "(cached) " >&6
38903 else
38904
38905
38906 ac_ext=cpp
38907 ac_cpp='$CXXCPP $CPPFLAGS'
38908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38911
38912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38913 /* end confdefs.h. */
38914 #include <math.h>
38915 #ifdef HAVE_IEEEFP_H
38916 #include <ieeefp.h>
38917 #endif
38918
38919 int
38920 main ()
38921 {
38922 _log10l(0);
38923 ;
38924 return 0;
38925 }
38926 _ACEOF
38927 if ac_fn_cxx_try_compile "$LINENO"; then :
38928 glibcxx_cv_func__log10l_use=yes
38929 else
38930 glibcxx_cv_func__log10l_use=no
38931 fi
38932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38933 ac_ext=c
38934 ac_cpp='$CPP $CPPFLAGS'
38935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38938
38939
38940 fi
38941
38942 fi
38943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38944 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38945
38946 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38947 for ac_func in _log10l
38948 do :
38949 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38950 if test "x$ac_cv_func__log10l" = x""yes; then :
38951 cat >>confdefs.h <<_ACEOF
38952 #define HAVE__LOG10L 1
38953 _ACEOF
38954
38955 fi
38956 done
38957
38958 fi
38959 fi
38960
38961
38962
38963
38964
38965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38966 $as_echo_n "checking for modfl declaration... " >&6; }
38967 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38968 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38969 $as_echo_n "(cached) " >&6
38970 else
38971
38972
38973 ac_ext=cpp
38974 ac_cpp='$CXXCPP $CPPFLAGS'
38975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38978
38979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38980 /* end confdefs.h. */
38981 #include <math.h>
38982 int
38983 main ()
38984 {
38985 modfl(0, 0);
38986 ;
38987 return 0;
38988 }
38989 _ACEOF
38990 if ac_fn_cxx_try_compile "$LINENO"; then :
38991 glibcxx_cv_func_modfl_use=yes
38992 else
38993 glibcxx_cv_func_modfl_use=no
38994 fi
38995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38996 ac_ext=c
38997 ac_cpp='$CPP $CPPFLAGS'
38998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39001
39002
39003 fi
39004
39005 fi
39006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39007 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39008
39009 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39010 for ac_func in modfl
39011 do :
39012 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39013 if test "x$ac_cv_func_modfl" = x""yes; then :
39014 cat >>confdefs.h <<_ACEOF
39015 #define HAVE_MODFL 1
39016 _ACEOF
39017
39018 fi
39019 done
39020
39021 else
39022
39023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39024 $as_echo_n "checking for _modfl declaration... " >&6; }
39025 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39026 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39027 $as_echo_n "(cached) " >&6
39028 else
39029
39030
39031 ac_ext=cpp
39032 ac_cpp='$CXXCPP $CPPFLAGS'
39033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39036
39037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39038 /* end confdefs.h. */
39039 #include <math.h>
39040 int
39041 main ()
39042 {
39043 _modfl(0, 0);
39044 ;
39045 return 0;
39046 }
39047 _ACEOF
39048 if ac_fn_cxx_try_compile "$LINENO"; then :
39049 glibcxx_cv_func__modfl_use=yes
39050 else
39051 glibcxx_cv_func__modfl_use=no
39052 fi
39053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39054 ac_ext=c
39055 ac_cpp='$CPP $CPPFLAGS'
39056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39059
39060
39061 fi
39062
39063 fi
39064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39065 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39066
39067 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39068 for ac_func in _modfl
39069 do :
39070 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39071 if test "x$ac_cv_func__modfl" = x""yes; then :
39072 cat >>confdefs.h <<_ACEOF
39073 #define HAVE__MODFL 1
39074 _ACEOF
39075
39076 fi
39077 done
39078
39079 fi
39080 fi
39081
39082
39083
39084
39085
39086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39087 $as_echo_n "checking for powl declaration... " >&6; }
39088 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39089 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39090 $as_echo_n "(cached) " >&6
39091 else
39092
39093
39094 ac_ext=cpp
39095 ac_cpp='$CXXCPP $CPPFLAGS'
39096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39099
39100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39101 /* end confdefs.h. */
39102 #include <math.h>
39103 int
39104 main ()
39105 {
39106 powl(0, 0);
39107 ;
39108 return 0;
39109 }
39110 _ACEOF
39111 if ac_fn_cxx_try_compile "$LINENO"; then :
39112 glibcxx_cv_func_powl_use=yes
39113 else
39114 glibcxx_cv_func_powl_use=no
39115 fi
39116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39117 ac_ext=c
39118 ac_cpp='$CPP $CPPFLAGS'
39119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39122
39123
39124 fi
39125
39126 fi
39127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39128 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39129
39130 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39131 for ac_func in powl
39132 do :
39133 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39134 if test "x$ac_cv_func_powl" = x""yes; then :
39135 cat >>confdefs.h <<_ACEOF
39136 #define HAVE_POWL 1
39137 _ACEOF
39138
39139 fi
39140 done
39141
39142 else
39143
39144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39145 $as_echo_n "checking for _powl declaration... " >&6; }
39146 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39147 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39148 $as_echo_n "(cached) " >&6
39149 else
39150
39151
39152 ac_ext=cpp
39153 ac_cpp='$CXXCPP $CPPFLAGS'
39154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39157
39158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39159 /* end confdefs.h. */
39160 #include <math.h>
39161 int
39162 main ()
39163 {
39164 _powl(0, 0);
39165 ;
39166 return 0;
39167 }
39168 _ACEOF
39169 if ac_fn_cxx_try_compile "$LINENO"; then :
39170 glibcxx_cv_func__powl_use=yes
39171 else
39172 glibcxx_cv_func__powl_use=no
39173 fi
39174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39175 ac_ext=c
39176 ac_cpp='$CPP $CPPFLAGS'
39177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39180
39181
39182 fi
39183
39184 fi
39185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39186 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39187
39188 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39189 for ac_func in _powl
39190 do :
39191 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39192 if test "x$ac_cv_func__powl" = x""yes; then :
39193 cat >>confdefs.h <<_ACEOF
39194 #define HAVE__POWL 1
39195 _ACEOF
39196
39197 fi
39198 done
39199
39200 fi
39201 fi
39202
39203
39204
39205
39206
39207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39208 $as_echo_n "checking for sqrtl declaration... " >&6; }
39209 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39210 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39211 $as_echo_n "(cached) " >&6
39212 else
39213
39214
39215 ac_ext=cpp
39216 ac_cpp='$CXXCPP $CPPFLAGS'
39217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39220
39221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39222 /* end confdefs.h. */
39223 #include <math.h>
39224 #ifdef HAVE_IEEEFP_H
39225 #include <ieeefp.h>
39226 #endif
39227
39228 int
39229 main ()
39230 {
39231 sqrtl(0);
39232 ;
39233 return 0;
39234 }
39235 _ACEOF
39236 if ac_fn_cxx_try_compile "$LINENO"; then :
39237 glibcxx_cv_func_sqrtl_use=yes
39238 else
39239 glibcxx_cv_func_sqrtl_use=no
39240 fi
39241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39242 ac_ext=c
39243 ac_cpp='$CPP $CPPFLAGS'
39244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39247
39248
39249 fi
39250
39251 fi
39252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39253 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39254
39255 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39256 for ac_func in sqrtl
39257 do :
39258 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39259 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39260 cat >>confdefs.h <<_ACEOF
39261 #define HAVE_SQRTL 1
39262 _ACEOF
39263
39264 fi
39265 done
39266
39267 else
39268
39269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39270 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39271 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39272 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39273 $as_echo_n "(cached) " >&6
39274 else
39275
39276
39277 ac_ext=cpp
39278 ac_cpp='$CXXCPP $CPPFLAGS'
39279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39282
39283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39284 /* end confdefs.h. */
39285 #include <math.h>
39286 #ifdef HAVE_IEEEFP_H
39287 #include <ieeefp.h>
39288 #endif
39289
39290 int
39291 main ()
39292 {
39293 _sqrtl(0);
39294 ;
39295 return 0;
39296 }
39297 _ACEOF
39298 if ac_fn_cxx_try_compile "$LINENO"; then :
39299 glibcxx_cv_func__sqrtl_use=yes
39300 else
39301 glibcxx_cv_func__sqrtl_use=no
39302 fi
39303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39304 ac_ext=c
39305 ac_cpp='$CPP $CPPFLAGS'
39306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39309
39310
39311 fi
39312
39313 fi
39314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39315 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39316
39317 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39318 for ac_func in _sqrtl
39319 do :
39320 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39321 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39322 cat >>confdefs.h <<_ACEOF
39323 #define HAVE__SQRTL 1
39324 _ACEOF
39325
39326 fi
39327 done
39328
39329 fi
39330 fi
39331
39332
39333
39334
39335
39336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39337 $as_echo_n "checking for sincosl declaration... " >&6; }
39338 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39339 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39340 $as_echo_n "(cached) " >&6
39341 else
39342
39343
39344 ac_ext=cpp
39345 ac_cpp='$CXXCPP $CPPFLAGS'
39346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39349
39350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39351 /* end confdefs.h. */
39352 #include <math.h>
39353 int
39354 main ()
39355 {
39356 sincosl(0, 0, 0);
39357 ;
39358 return 0;
39359 }
39360 _ACEOF
39361 if ac_fn_cxx_try_compile "$LINENO"; then :
39362 glibcxx_cv_func_sincosl_use=yes
39363 else
39364 glibcxx_cv_func_sincosl_use=no
39365 fi
39366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39367 ac_ext=c
39368 ac_cpp='$CPP $CPPFLAGS'
39369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39372
39373
39374 fi
39375
39376 fi
39377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39378 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39379
39380 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39381 for ac_func in sincosl
39382 do :
39383 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39384 if test "x$ac_cv_func_sincosl" = x""yes; then :
39385 cat >>confdefs.h <<_ACEOF
39386 #define HAVE_SINCOSL 1
39387 _ACEOF
39388
39389 fi
39390 done
39391
39392 else
39393
39394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39395 $as_echo_n "checking for _sincosl declaration... " >&6; }
39396 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39397 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39398 $as_echo_n "(cached) " >&6
39399 else
39400
39401
39402 ac_ext=cpp
39403 ac_cpp='$CXXCPP $CPPFLAGS'
39404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39407
39408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39409 /* end confdefs.h. */
39410 #include <math.h>
39411 int
39412 main ()
39413 {
39414 _sincosl(0, 0, 0);
39415 ;
39416 return 0;
39417 }
39418 _ACEOF
39419 if ac_fn_cxx_try_compile "$LINENO"; then :
39420 glibcxx_cv_func__sincosl_use=yes
39421 else
39422 glibcxx_cv_func__sincosl_use=no
39423 fi
39424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39425 ac_ext=c
39426 ac_cpp='$CPP $CPPFLAGS'
39427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39430
39431
39432 fi
39433
39434 fi
39435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39436 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39437
39438 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39439 for ac_func in _sincosl
39440 do :
39441 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39442 if test "x$ac_cv_func__sincosl" = x""yes; then :
39443 cat >>confdefs.h <<_ACEOF
39444 #define HAVE__SINCOSL 1
39445 _ACEOF
39446
39447 fi
39448 done
39449
39450 fi
39451 fi
39452
39453
39454
39455
39456
39457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39458 $as_echo_n "checking for finitel declaration... " >&6; }
39459 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39460 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39461 $as_echo_n "(cached) " >&6
39462 else
39463
39464
39465 ac_ext=cpp
39466 ac_cpp='$CXXCPP $CPPFLAGS'
39467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39470
39471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39472 /* end confdefs.h. */
39473 #include <math.h>
39474 #ifdef HAVE_IEEEFP_H
39475 #include <ieeefp.h>
39476 #endif
39477
39478 int
39479 main ()
39480 {
39481 finitel(0);
39482 ;
39483 return 0;
39484 }
39485 _ACEOF
39486 if ac_fn_cxx_try_compile "$LINENO"; then :
39487 glibcxx_cv_func_finitel_use=yes
39488 else
39489 glibcxx_cv_func_finitel_use=no
39490 fi
39491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39492 ac_ext=c
39493 ac_cpp='$CPP $CPPFLAGS'
39494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39497
39498
39499 fi
39500
39501 fi
39502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39503 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39504
39505 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39506 for ac_func in finitel
39507 do :
39508 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39509 if test "x$ac_cv_func_finitel" = x""yes; then :
39510 cat >>confdefs.h <<_ACEOF
39511 #define HAVE_FINITEL 1
39512 _ACEOF
39513
39514 fi
39515 done
39516
39517 else
39518
39519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39520 $as_echo_n "checking for _finitel declaration... " >&6; }
39521 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39522 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39523 $as_echo_n "(cached) " >&6
39524 else
39525
39526
39527 ac_ext=cpp
39528 ac_cpp='$CXXCPP $CPPFLAGS'
39529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39532
39533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39534 /* end confdefs.h. */
39535 #include <math.h>
39536 #ifdef HAVE_IEEEFP_H
39537 #include <ieeefp.h>
39538 #endif
39539
39540 int
39541 main ()
39542 {
39543 _finitel(0);
39544 ;
39545 return 0;
39546 }
39547 _ACEOF
39548 if ac_fn_cxx_try_compile "$LINENO"; then :
39549 glibcxx_cv_func__finitel_use=yes
39550 else
39551 glibcxx_cv_func__finitel_use=no
39552 fi
39553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39554 ac_ext=c
39555 ac_cpp='$CPP $CPPFLAGS'
39556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39559
39560
39561 fi
39562
39563 fi
39564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39565 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39566
39567 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39568 for ac_func in _finitel
39569 do :
39570 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39571 if test "x$ac_cv_func__finitel" = x""yes; then :
39572 cat >>confdefs.h <<_ACEOF
39573 #define HAVE__FINITEL 1
39574 _ACEOF
39575
39576 fi
39577 done
39578
39579 fi
39580 fi
39581
39582
39583
39584
39585 LIBS="$ac_save_LIBS"
39586 CXXFLAGS="$ac_save_CXXFLAGS"
39587
39588
39589 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39590 ac_save_CXXFLAGS="$CXXFLAGS"
39591 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39592
39593
39594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39595 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39596 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39597 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39598 $as_echo_n "(cached) " >&6
39599 else
39600
39601
39602 ac_ext=cpp
39603 ac_cpp='$CXXCPP $CPPFLAGS'
39604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39607
39608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39609 /* end confdefs.h. */
39610 #include <stdlib.h>
39611 int
39612 main ()
39613 {
39614 at_quick_exit(0);
39615 ;
39616 return 0;
39617 }
39618 _ACEOF
39619 if ac_fn_cxx_try_compile "$LINENO"; then :
39620 glibcxx_cv_func_at_quick_exit_use=yes
39621 else
39622 glibcxx_cv_func_at_quick_exit_use=no
39623 fi
39624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39625 ac_ext=c
39626 ac_cpp='$CPP $CPPFLAGS'
39627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39630
39631
39632 fi
39633
39634 fi
39635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39636 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39637 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39638 for ac_func in at_quick_exit
39639 do :
39640 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39641 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39642 cat >>confdefs.h <<_ACEOF
39643 #define HAVE_AT_QUICK_EXIT 1
39644 _ACEOF
39645
39646 fi
39647 done
39648
39649 fi
39650
39651
39652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39653 $as_echo_n "checking for quick_exit declaration... " >&6; }
39654 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39655 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39656 $as_echo_n "(cached) " >&6
39657 else
39658
39659
39660 ac_ext=cpp
39661 ac_cpp='$CXXCPP $CPPFLAGS'
39662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39665
39666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39667 /* end confdefs.h. */
39668 #include <stdlib.h>
39669 int
39670 main ()
39671 {
39672 quick_exit(0);
39673 ;
39674 return 0;
39675 }
39676 _ACEOF
39677 if ac_fn_cxx_try_compile "$LINENO"; then :
39678 glibcxx_cv_func_quick_exit_use=yes
39679 else
39680 glibcxx_cv_func_quick_exit_use=no
39681 fi
39682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39683 ac_ext=c
39684 ac_cpp='$CPP $CPPFLAGS'
39685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39688
39689
39690 fi
39691
39692 fi
39693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39694 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39695 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39696 for ac_func in quick_exit
39697 do :
39698 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39699 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39700 cat >>confdefs.h <<_ACEOF
39701 #define HAVE_QUICK_EXIT 1
39702 _ACEOF
39703
39704 fi
39705 done
39706
39707 fi
39708
39709
39710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39711 $as_echo_n "checking for strtold declaration... " >&6; }
39712 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39713 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39714 $as_echo_n "(cached) " >&6
39715 else
39716
39717
39718 ac_ext=cpp
39719 ac_cpp='$CXXCPP $CPPFLAGS'
39720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39723
39724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39725 /* end confdefs.h. */
39726 #include <stdlib.h>
39727 int
39728 main ()
39729 {
39730 strtold(0, 0);
39731 ;
39732 return 0;
39733 }
39734 _ACEOF
39735 if ac_fn_cxx_try_compile "$LINENO"; then :
39736 glibcxx_cv_func_strtold_use=yes
39737 else
39738 glibcxx_cv_func_strtold_use=no
39739 fi
39740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39741 ac_ext=c
39742 ac_cpp='$CPP $CPPFLAGS'
39743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39746
39747
39748 fi
39749
39750 fi
39751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39752 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39753 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39754 for ac_func in strtold
39755 do :
39756 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39757 if test "x$ac_cv_func_strtold" = x""yes; then :
39758 cat >>confdefs.h <<_ACEOF
39759 #define HAVE_STRTOLD 1
39760 _ACEOF
39761
39762 fi
39763 done
39764
39765 fi
39766
39767
39768
39769
39770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39771 $as_echo_n "checking for strtof declaration... " >&6; }
39772 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39773 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39774 $as_echo_n "(cached) " >&6
39775 else
39776
39777
39778 ac_ext=cpp
39779 ac_cpp='$CXXCPP $CPPFLAGS'
39780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39783
39784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39785 /* end confdefs.h. */
39786 #include <stdlib.h>
39787 int
39788 main ()
39789 {
39790 strtof(0, 0);
39791 ;
39792 return 0;
39793 }
39794 _ACEOF
39795 if ac_fn_cxx_try_compile "$LINENO"; then :
39796 glibcxx_cv_func_strtof_use=yes
39797 else
39798 glibcxx_cv_func_strtof_use=no
39799 fi
39800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39801 ac_ext=c
39802 ac_cpp='$CPP $CPPFLAGS'
39803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39806
39807
39808 fi
39809
39810 fi
39811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39812 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39813 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39814 for ac_func in strtof
39815 do :
39816 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39817 if test "x$ac_cv_func_strtof" = x""yes; then :
39818 cat >>confdefs.h <<_ACEOF
39819 #define HAVE_STRTOF 1
39820 _ACEOF
39821
39822 fi
39823 done
39824
39825 fi
39826
39827
39828
39829
39830 CXXFLAGS="$ac_save_CXXFLAGS"
39831
39832
39833
39834
39835
39836
39837 am_save_CPPFLAGS="$CPPFLAGS"
39838
39839 for element in $INCICONV; do
39840 haveit=
39841 for x in $CPPFLAGS; do
39842
39843 acl_save_prefix="$prefix"
39844 prefix="$acl_final_prefix"
39845 acl_save_exec_prefix="$exec_prefix"
39846 exec_prefix="$acl_final_exec_prefix"
39847 eval x=\"$x\"
39848 exec_prefix="$acl_save_exec_prefix"
39849 prefix="$acl_save_prefix"
39850
39851 if test "X$x" = "X$element"; then
39852 haveit=yes
39853 break
39854 fi
39855 done
39856 if test -z "$haveit"; then
39857 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39858 fi
39859 done
39860
39861
39862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39863 $as_echo_n "checking for iconv... " >&6; }
39864 if test "${am_cv_func_iconv+set}" = set; then :
39865 $as_echo_n "(cached) " >&6
39866 else
39867
39868 am_cv_func_iconv="no, consider installing GNU libiconv"
39869 am_cv_lib_iconv=no
39870 if test x$gcc_no_link = xyes; then
39871 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39872 fi
39873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39874 /* end confdefs.h. */
39875 #include <stdlib.h>
39876 #include <iconv.h>
39877 int
39878 main ()
39879 {
39880 iconv_t cd = iconv_open("","");
39881 iconv(cd,NULL,NULL,NULL,NULL);
39882 iconv_close(cd);
39883 ;
39884 return 0;
39885 }
39886 _ACEOF
39887 if ac_fn_c_try_link "$LINENO"; then :
39888 am_cv_func_iconv=yes
39889 fi
39890 rm -f core conftest.err conftest.$ac_objext \
39891 conftest$ac_exeext conftest.$ac_ext
39892 if test "$am_cv_func_iconv" != yes; then
39893 am_save_LIBS="$LIBS"
39894 LIBS="$LIBS $LIBICONV"
39895 if test x$gcc_no_link = xyes; then
39896 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39897 fi
39898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39899 /* end confdefs.h. */
39900 #include <stdlib.h>
39901 #include <iconv.h>
39902 int
39903 main ()
39904 {
39905 iconv_t cd = iconv_open("","");
39906 iconv(cd,NULL,NULL,NULL,NULL);
39907 iconv_close(cd);
39908 ;
39909 return 0;
39910 }
39911 _ACEOF
39912 if ac_fn_c_try_link "$LINENO"; then :
39913 am_cv_lib_iconv=yes
39914 am_cv_func_iconv=yes
39915 fi
39916 rm -f core conftest.err conftest.$ac_objext \
39917 conftest$ac_exeext conftest.$ac_ext
39918 LIBS="$am_save_LIBS"
39919 fi
39920
39921 fi
39922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39923 $as_echo "$am_cv_func_iconv" >&6; }
39924 if test "$am_cv_func_iconv" = yes; then
39925
39926 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39927
39928 fi
39929 if test "$am_cv_lib_iconv" = yes; then
39930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39931 $as_echo_n "checking how to link with libiconv... " >&6; }
39932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39933 $as_echo "$LIBICONV" >&6; }
39934 else
39935 CPPFLAGS="$am_save_CPPFLAGS"
39936 LIBICONV=
39937 LTLIBICONV=
39938 fi
39939
39940
39941
39942 if test "$am_cv_func_iconv" = yes; then
39943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39944 $as_echo_n "checking for iconv declaration... " >&6; }
39945 if test "${am_cv_proto_iconv+set}" = set; then :
39946 $as_echo_n "(cached) " >&6
39947 else
39948
39949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39950 /* end confdefs.h. */
39951
39952 #include <stdlib.h>
39953 #include <iconv.h>
39954 extern
39955 #ifdef __cplusplus
39956 "C"
39957 #endif
39958 #if defined(__STDC__) || defined(__cplusplus)
39959 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39960 #else
39961 size_t iconv();
39962 #endif
39963
39964 int
39965 main ()
39966 {
39967
39968 ;
39969 return 0;
39970 }
39971 _ACEOF
39972 if ac_fn_c_try_compile "$LINENO"; then :
39973 am_cv_proto_iconv_arg1=""
39974 else
39975 am_cv_proto_iconv_arg1="const"
39976 fi
39977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39978 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);"
39979 fi
39980
39981 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39983 }$am_cv_proto_iconv" >&5
39984 $as_echo "${ac_t:-
39985 }$am_cv_proto_iconv" >&6; }
39986
39987 cat >>confdefs.h <<_ACEOF
39988 #define ICONV_CONST $am_cv_proto_iconv_arg1
39989 _ACEOF
39990
39991 fi
39992
39993 ;;
39994
39995 *-aix*)
39996
39997 # If we're not using GNU ld, then there's no point in even trying these
39998 # tests. Check for that first. We should have already tested for gld
39999 # by now (in libtool), but require it now just to be safe...
40000 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
40001 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
40002
40003
40004
40005 # The name set by libtool depends on the version of libtool. Shame on us
40006 # for depending on an impl detail, but c'est la vie. Older versions used
40007 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40008 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40009 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40010 # set (hence we're using an older libtool), then set it.
40011 if test x${with_gnu_ld+set} != xset; then
40012 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40013 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40014 with_gnu_ld=no
40015 else
40016 with_gnu_ld=$ac_cv_prog_gnu_ld
40017 fi
40018 fi
40019
40020 # Start by getting the version number. I think the libtool test already
40021 # does some of this, but throws away the result.
40022 glibcxx_ld_is_gold=no
40023 if test x"$with_gnu_ld" = x"yes"; then
40024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40025 $as_echo_n "checking for ld version... " >&6; }
40026
40027 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40028 glibcxx_ld_is_gold=yes
40029 fi
40030 ldver=`$LD --version 2>/dev/null |
40031 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'`
40032
40033 glibcxx_gnu_ld_version=`echo $ldver | \
40034 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40036 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40037 fi
40038
40039 # Set --gc-sections.
40040 glibcxx_have_gc_sections=no
40041 if test "$glibcxx_ld_is_gold" = "yes"; then
40042 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40043 glibcxx_have_gc_sections=yes
40044 fi
40045 else
40046 glibcxx_gcsections_min_ld=21602
40047 if test x"$with_gnu_ld" = x"yes" &&
40048 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40049 glibcxx_have_gc_sections=yes
40050 fi
40051 fi
40052 if test "$glibcxx_have_gc_sections" = "yes"; then
40053 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40054 # NB: This flag only works reliably after 2.16.1. Configure tests
40055 # for this are difficult, so hard wire a value that should work.
40056
40057 ac_test_CFLAGS="${CFLAGS+set}"
40058 ac_save_CFLAGS="$CFLAGS"
40059 CFLAGS='-Wl,--gc-sections'
40060
40061 # Check for -Wl,--gc-sections
40062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40063 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40064 if test x$gcc_no_link = xyes; then
40065 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40066 fi
40067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40068 /* end confdefs.h. */
40069 int one(void) { return 1; }
40070 int two(void) { return 2; }
40071
40072 int
40073 main ()
40074 {
40075 two();
40076 ;
40077 return 0;
40078 }
40079 _ACEOF
40080 if ac_fn_c_try_link "$LINENO"; then :
40081 ac_gcsections=yes
40082 else
40083 ac_gcsections=no
40084 fi
40085 rm -f core conftest.err conftest.$ac_objext \
40086 conftest$ac_exeext conftest.$ac_ext
40087 if test "$ac_gcsections" = "yes"; then
40088 rm -f conftest.c
40089 touch conftest.c
40090 if $CC -c conftest.c; then
40091 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40092 grep "Warning: gc-sections option ignored" > /dev/null; then
40093 ac_gcsections=no
40094 fi
40095 fi
40096 rm -f conftest.c conftest.o conftest
40097 fi
40098 if test "$ac_gcsections" = "yes"; then
40099 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40100 fi
40101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40102 $as_echo "$ac_gcsections" >&6; }
40103
40104 if test "$ac_test_CFLAGS" = set; then
40105 CFLAGS="$ac_save_CFLAGS"
40106 else
40107 # this is the suspicious part
40108 CFLAGS=''
40109 fi
40110 fi
40111
40112 # Set -z,relro.
40113 # Note this is only for shared objects.
40114 ac_ld_relro=no
40115 if test x"$with_gnu_ld" = x"yes"; then
40116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40117 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40118 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40119 if test -n "$cxx_z_relo"; then
40120 OPT_LDFLAGS="-Wl,-z,relro"
40121 ac_ld_relro=yes
40122 fi
40123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40124 $as_echo "$ac_ld_relro" >&6; }
40125 fi
40126
40127 # Set linker optimization flags.
40128 if test x"$with_gnu_ld" = x"yes"; then
40129 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40130 fi
40131
40132
40133
40134
40135
40136 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40137 ac_save_CXXFLAGS="$CXXFLAGS"
40138 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40139
40140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40141 $as_echo_n "checking for sin in -lm... " >&6; }
40142 if test "${ac_cv_lib_m_sin+set}" = set; then :
40143 $as_echo_n "(cached) " >&6
40144 else
40145 ac_check_lib_save_LIBS=$LIBS
40146 LIBS="-lm $LIBS"
40147 if test x$gcc_no_link = xyes; then
40148 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40149 fi
40150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40151 /* end confdefs.h. */
40152
40153 /* Override any GCC internal prototype to avoid an error.
40154 Use char because int might match the return type of a GCC
40155 builtin and then its argument prototype would still apply. */
40156 #ifdef __cplusplus
40157 extern "C"
40158 #endif
40159 char sin ();
40160 int
40161 main ()
40162 {
40163 return sin ();
40164 ;
40165 return 0;
40166 }
40167 _ACEOF
40168 if ac_fn_c_try_link "$LINENO"; then :
40169 ac_cv_lib_m_sin=yes
40170 else
40171 ac_cv_lib_m_sin=no
40172 fi
40173 rm -f core conftest.err conftest.$ac_objext \
40174 conftest$ac_exeext conftest.$ac_ext
40175 LIBS=$ac_check_lib_save_LIBS
40176 fi
40177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40178 $as_echo "$ac_cv_lib_m_sin" >&6; }
40179 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40180 libm="-lm"
40181 fi
40182
40183 ac_save_LIBS="$LIBS"
40184 LIBS="$LIBS $libm"
40185
40186
40187
40188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40189 $as_echo_n "checking for isinf declaration... " >&6; }
40190 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40191 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40192 $as_echo_n "(cached) " >&6
40193 else
40194
40195
40196 ac_ext=cpp
40197 ac_cpp='$CXXCPP $CPPFLAGS'
40198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40201
40202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40203 /* end confdefs.h. */
40204 #include <math.h>
40205 #ifdef HAVE_IEEEFP_H
40206 #include <ieeefp.h>
40207 #endif
40208
40209 int
40210 main ()
40211 {
40212 isinf(0);
40213 ;
40214 return 0;
40215 }
40216 _ACEOF
40217 if ac_fn_cxx_try_compile "$LINENO"; then :
40218 glibcxx_cv_func_isinf_use=yes
40219 else
40220 glibcxx_cv_func_isinf_use=no
40221 fi
40222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40223 ac_ext=c
40224 ac_cpp='$CPP $CPPFLAGS'
40225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40228
40229
40230 fi
40231
40232 fi
40233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40234 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40235
40236 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40237 for ac_func in isinf
40238 do :
40239 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40240 if test "x$ac_cv_func_isinf" = x""yes; then :
40241 cat >>confdefs.h <<_ACEOF
40242 #define HAVE_ISINF 1
40243 _ACEOF
40244
40245 fi
40246 done
40247
40248 else
40249
40250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40251 $as_echo_n "checking for _isinf declaration... " >&6; }
40252 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40253 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40254 $as_echo_n "(cached) " >&6
40255 else
40256
40257
40258 ac_ext=cpp
40259 ac_cpp='$CXXCPP $CPPFLAGS'
40260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40263
40264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40265 /* end confdefs.h. */
40266 #include <math.h>
40267 #ifdef HAVE_IEEEFP_H
40268 #include <ieeefp.h>
40269 #endif
40270
40271 int
40272 main ()
40273 {
40274 _isinf(0);
40275 ;
40276 return 0;
40277 }
40278 _ACEOF
40279 if ac_fn_cxx_try_compile "$LINENO"; then :
40280 glibcxx_cv_func__isinf_use=yes
40281 else
40282 glibcxx_cv_func__isinf_use=no
40283 fi
40284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40285 ac_ext=c
40286 ac_cpp='$CPP $CPPFLAGS'
40287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40290
40291
40292 fi
40293
40294 fi
40295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40296 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40297
40298 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40299 for ac_func in _isinf
40300 do :
40301 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40302 if test "x$ac_cv_func__isinf" = x""yes; then :
40303 cat >>confdefs.h <<_ACEOF
40304 #define HAVE__ISINF 1
40305 _ACEOF
40306
40307 fi
40308 done
40309
40310 fi
40311 fi
40312
40313
40314
40315
40316
40317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40318 $as_echo_n "checking for isnan declaration... " >&6; }
40319 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40320 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40321 $as_echo_n "(cached) " >&6
40322 else
40323
40324
40325 ac_ext=cpp
40326 ac_cpp='$CXXCPP $CPPFLAGS'
40327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40330
40331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40332 /* end confdefs.h. */
40333 #include <math.h>
40334 #ifdef HAVE_IEEEFP_H
40335 #include <ieeefp.h>
40336 #endif
40337
40338 int
40339 main ()
40340 {
40341 isnan(0);
40342 ;
40343 return 0;
40344 }
40345 _ACEOF
40346 if ac_fn_cxx_try_compile "$LINENO"; then :
40347 glibcxx_cv_func_isnan_use=yes
40348 else
40349 glibcxx_cv_func_isnan_use=no
40350 fi
40351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40352 ac_ext=c
40353 ac_cpp='$CPP $CPPFLAGS'
40354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40357
40358
40359 fi
40360
40361 fi
40362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40363 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40364
40365 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40366 for ac_func in isnan
40367 do :
40368 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40369 if test "x$ac_cv_func_isnan" = x""yes; then :
40370 cat >>confdefs.h <<_ACEOF
40371 #define HAVE_ISNAN 1
40372 _ACEOF
40373
40374 fi
40375 done
40376
40377 else
40378
40379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40380 $as_echo_n "checking for _isnan declaration... " >&6; }
40381 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40382 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40383 $as_echo_n "(cached) " >&6
40384 else
40385
40386
40387 ac_ext=cpp
40388 ac_cpp='$CXXCPP $CPPFLAGS'
40389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40392
40393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40394 /* end confdefs.h. */
40395 #include <math.h>
40396 #ifdef HAVE_IEEEFP_H
40397 #include <ieeefp.h>
40398 #endif
40399
40400 int
40401 main ()
40402 {
40403 _isnan(0);
40404 ;
40405 return 0;
40406 }
40407 _ACEOF
40408 if ac_fn_cxx_try_compile "$LINENO"; then :
40409 glibcxx_cv_func__isnan_use=yes
40410 else
40411 glibcxx_cv_func__isnan_use=no
40412 fi
40413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40414 ac_ext=c
40415 ac_cpp='$CPP $CPPFLAGS'
40416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40419
40420
40421 fi
40422
40423 fi
40424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40425 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40426
40427 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40428 for ac_func in _isnan
40429 do :
40430 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40431 if test "x$ac_cv_func__isnan" = x""yes; then :
40432 cat >>confdefs.h <<_ACEOF
40433 #define HAVE__ISNAN 1
40434 _ACEOF
40435
40436 fi
40437 done
40438
40439 fi
40440 fi
40441
40442
40443
40444
40445
40446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40447 $as_echo_n "checking for finite declaration... " >&6; }
40448 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40449 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40450 $as_echo_n "(cached) " >&6
40451 else
40452
40453
40454 ac_ext=cpp
40455 ac_cpp='$CXXCPP $CPPFLAGS'
40456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40459
40460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40461 /* end confdefs.h. */
40462 #include <math.h>
40463 #ifdef HAVE_IEEEFP_H
40464 #include <ieeefp.h>
40465 #endif
40466
40467 int
40468 main ()
40469 {
40470 finite(0);
40471 ;
40472 return 0;
40473 }
40474 _ACEOF
40475 if ac_fn_cxx_try_compile "$LINENO"; then :
40476 glibcxx_cv_func_finite_use=yes
40477 else
40478 glibcxx_cv_func_finite_use=no
40479 fi
40480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40481 ac_ext=c
40482 ac_cpp='$CPP $CPPFLAGS'
40483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40486
40487
40488 fi
40489
40490 fi
40491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40492 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40493
40494 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40495 for ac_func in finite
40496 do :
40497 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40498 if test "x$ac_cv_func_finite" = x""yes; then :
40499 cat >>confdefs.h <<_ACEOF
40500 #define HAVE_FINITE 1
40501 _ACEOF
40502
40503 fi
40504 done
40505
40506 else
40507
40508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40509 $as_echo_n "checking for _finite declaration... " >&6; }
40510 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40511 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40512 $as_echo_n "(cached) " >&6
40513 else
40514
40515
40516 ac_ext=cpp
40517 ac_cpp='$CXXCPP $CPPFLAGS'
40518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40521
40522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40523 /* end confdefs.h. */
40524 #include <math.h>
40525 #ifdef HAVE_IEEEFP_H
40526 #include <ieeefp.h>
40527 #endif
40528
40529 int
40530 main ()
40531 {
40532 _finite(0);
40533 ;
40534 return 0;
40535 }
40536 _ACEOF
40537 if ac_fn_cxx_try_compile "$LINENO"; then :
40538 glibcxx_cv_func__finite_use=yes
40539 else
40540 glibcxx_cv_func__finite_use=no
40541 fi
40542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40543 ac_ext=c
40544 ac_cpp='$CPP $CPPFLAGS'
40545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40548
40549
40550 fi
40551
40552 fi
40553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40554 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40555
40556 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40557 for ac_func in _finite
40558 do :
40559 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40560 if test "x$ac_cv_func__finite" = x""yes; then :
40561 cat >>confdefs.h <<_ACEOF
40562 #define HAVE__FINITE 1
40563 _ACEOF
40564
40565 fi
40566 done
40567
40568 fi
40569 fi
40570
40571
40572
40573
40574
40575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40576 $as_echo_n "checking for sincos declaration... " >&6; }
40577 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40578 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40579 $as_echo_n "(cached) " >&6
40580 else
40581
40582
40583 ac_ext=cpp
40584 ac_cpp='$CXXCPP $CPPFLAGS'
40585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40588
40589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40590 /* end confdefs.h. */
40591 #include <math.h>
40592 int
40593 main ()
40594 {
40595 sincos(0, 0, 0);
40596 ;
40597 return 0;
40598 }
40599 _ACEOF
40600 if ac_fn_cxx_try_compile "$LINENO"; then :
40601 glibcxx_cv_func_sincos_use=yes
40602 else
40603 glibcxx_cv_func_sincos_use=no
40604 fi
40605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40606 ac_ext=c
40607 ac_cpp='$CPP $CPPFLAGS'
40608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40611
40612
40613 fi
40614
40615 fi
40616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40617 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40618
40619 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40620 for ac_func in sincos
40621 do :
40622 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40623 if test "x$ac_cv_func_sincos" = x""yes; then :
40624 cat >>confdefs.h <<_ACEOF
40625 #define HAVE_SINCOS 1
40626 _ACEOF
40627
40628 fi
40629 done
40630
40631 else
40632
40633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40634 $as_echo_n "checking for _sincos declaration... " >&6; }
40635 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40636 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40637 $as_echo_n "(cached) " >&6
40638 else
40639
40640
40641 ac_ext=cpp
40642 ac_cpp='$CXXCPP $CPPFLAGS'
40643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40646
40647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40648 /* end confdefs.h. */
40649 #include <math.h>
40650 int
40651 main ()
40652 {
40653 _sincos(0, 0, 0);
40654 ;
40655 return 0;
40656 }
40657 _ACEOF
40658 if ac_fn_cxx_try_compile "$LINENO"; then :
40659 glibcxx_cv_func__sincos_use=yes
40660 else
40661 glibcxx_cv_func__sincos_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__sincos_use" >&5
40675 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40676
40677 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40678 for ac_func in _sincos
40679 do :
40680 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40681 if test "x$ac_cv_func__sincos" = x""yes; then :
40682 cat >>confdefs.h <<_ACEOF
40683 #define HAVE__SINCOS 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 fpclass declaration" >&5
40697 $as_echo_n "checking for fpclass declaration... " >&6; }
40698 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40699 if test "${glibcxx_cv_func_fpclass_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 #ifdef HAVE_IEEEFP_H
40714 #include <ieeefp.h>
40715 #endif
40716
40717 int
40718 main ()
40719 {
40720 fpclass(0);
40721 ;
40722 return 0;
40723 }
40724 _ACEOF
40725 if ac_fn_cxx_try_compile "$LINENO"; then :
40726 glibcxx_cv_func_fpclass_use=yes
40727 else
40728 glibcxx_cv_func_fpclass_use=no
40729 fi
40730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40731 ac_ext=c
40732 ac_cpp='$CPP $CPPFLAGS'
40733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40736
40737
40738 fi
40739
40740 fi
40741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40742 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40743
40744 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40745 for ac_func in fpclass
40746 do :
40747 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40748 if test "x$ac_cv_func_fpclass" = x""yes; then :
40749 cat >>confdefs.h <<_ACEOF
40750 #define HAVE_FPCLASS 1
40751 _ACEOF
40752
40753 fi
40754 done
40755
40756 else
40757
40758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40759 $as_echo_n "checking for _fpclass declaration... " >&6; }
40760 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40761 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40762 $as_echo_n "(cached) " >&6
40763 else
40764
40765
40766 ac_ext=cpp
40767 ac_cpp='$CXXCPP $CPPFLAGS'
40768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40771
40772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40773 /* end confdefs.h. */
40774 #include <math.h>
40775 #ifdef HAVE_IEEEFP_H
40776 #include <ieeefp.h>
40777 #endif
40778
40779 int
40780 main ()
40781 {
40782 _fpclass(0);
40783 ;
40784 return 0;
40785 }
40786 _ACEOF
40787 if ac_fn_cxx_try_compile "$LINENO"; then :
40788 glibcxx_cv_func__fpclass_use=yes
40789 else
40790 glibcxx_cv_func__fpclass_use=no
40791 fi
40792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40793 ac_ext=c
40794 ac_cpp='$CPP $CPPFLAGS'
40795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40798
40799
40800 fi
40801
40802 fi
40803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40804 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40805
40806 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40807 for ac_func in _fpclass
40808 do :
40809 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40810 if test "x$ac_cv_func__fpclass" = x""yes; then :
40811 cat >>confdefs.h <<_ACEOF
40812 #define HAVE__FPCLASS 1
40813 _ACEOF
40814
40815 fi
40816 done
40817
40818 fi
40819 fi
40820
40821
40822
40823
40824
40825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40826 $as_echo_n "checking for qfpclass declaration... " >&6; }
40827 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40828 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40829 $as_echo_n "(cached) " >&6
40830 else
40831
40832
40833 ac_ext=cpp
40834 ac_cpp='$CXXCPP $CPPFLAGS'
40835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40838
40839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40840 /* end confdefs.h. */
40841 #include <math.h>
40842 #ifdef HAVE_IEEEFP_H
40843 #include <ieeefp.h>
40844 #endif
40845
40846 int
40847 main ()
40848 {
40849 qfpclass(0);
40850 ;
40851 return 0;
40852 }
40853 _ACEOF
40854 if ac_fn_cxx_try_compile "$LINENO"; then :
40855 glibcxx_cv_func_qfpclass_use=yes
40856 else
40857 glibcxx_cv_func_qfpclass_use=no
40858 fi
40859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40860 ac_ext=c
40861 ac_cpp='$CPP $CPPFLAGS'
40862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40865
40866
40867 fi
40868
40869 fi
40870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40871 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40872
40873 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40874 for ac_func in qfpclass
40875 do :
40876 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40877 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40878 cat >>confdefs.h <<_ACEOF
40879 #define HAVE_QFPCLASS 1
40880 _ACEOF
40881
40882 fi
40883 done
40884
40885 else
40886
40887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40888 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40889 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40890 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40891 $as_echo_n "(cached) " >&6
40892 else
40893
40894
40895 ac_ext=cpp
40896 ac_cpp='$CXXCPP $CPPFLAGS'
40897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40900
40901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40902 /* end confdefs.h. */
40903 #include <math.h>
40904 #ifdef HAVE_IEEEFP_H
40905 #include <ieeefp.h>
40906 #endif
40907
40908 int
40909 main ()
40910 {
40911 _qfpclass(0);
40912 ;
40913 return 0;
40914 }
40915 _ACEOF
40916 if ac_fn_cxx_try_compile "$LINENO"; then :
40917 glibcxx_cv_func__qfpclass_use=yes
40918 else
40919 glibcxx_cv_func__qfpclass_use=no
40920 fi
40921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40922 ac_ext=c
40923 ac_cpp='$CPP $CPPFLAGS'
40924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40927
40928
40929 fi
40930
40931 fi
40932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40933 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40934
40935 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40936 for ac_func in _qfpclass
40937 do :
40938 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40939 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40940 cat >>confdefs.h <<_ACEOF
40941 #define HAVE__QFPCLASS 1
40942 _ACEOF
40943
40944 fi
40945 done
40946
40947 fi
40948 fi
40949
40950
40951
40952
40953
40954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40955 $as_echo_n "checking for hypot declaration... " >&6; }
40956 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40957 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40958 $as_echo_n "(cached) " >&6
40959 else
40960
40961
40962 ac_ext=cpp
40963 ac_cpp='$CXXCPP $CPPFLAGS'
40964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40967
40968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40969 /* end confdefs.h. */
40970 #include <math.h>
40971 int
40972 main ()
40973 {
40974 hypot(0, 0);
40975 ;
40976 return 0;
40977 }
40978 _ACEOF
40979 if ac_fn_cxx_try_compile "$LINENO"; then :
40980 glibcxx_cv_func_hypot_use=yes
40981 else
40982 glibcxx_cv_func_hypot_use=no
40983 fi
40984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40985 ac_ext=c
40986 ac_cpp='$CPP $CPPFLAGS'
40987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40990
40991
40992 fi
40993
40994 fi
40995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40996 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40997
40998 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40999 for ac_func in hypot
41000 do :
41001 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
41002 if test "x$ac_cv_func_hypot" = x""yes; then :
41003 cat >>confdefs.h <<_ACEOF
41004 #define HAVE_HYPOT 1
41005 _ACEOF
41006
41007 fi
41008 done
41009
41010 else
41011
41012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41013 $as_echo_n "checking for _hypot declaration... " >&6; }
41014 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41015 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41016 $as_echo_n "(cached) " >&6
41017 else
41018
41019
41020 ac_ext=cpp
41021 ac_cpp='$CXXCPP $CPPFLAGS'
41022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41025
41026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41027 /* end confdefs.h. */
41028 #include <math.h>
41029 int
41030 main ()
41031 {
41032 _hypot(0, 0);
41033 ;
41034 return 0;
41035 }
41036 _ACEOF
41037 if ac_fn_cxx_try_compile "$LINENO"; then :
41038 glibcxx_cv_func__hypot_use=yes
41039 else
41040 glibcxx_cv_func__hypot_use=no
41041 fi
41042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41043 ac_ext=c
41044 ac_cpp='$CPP $CPPFLAGS'
41045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41048
41049
41050 fi
41051
41052 fi
41053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41054 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41055
41056 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41057 for ac_func in _hypot
41058 do :
41059 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41060 if test "x$ac_cv_func__hypot" = x""yes; then :
41061 cat >>confdefs.h <<_ACEOF
41062 #define HAVE__HYPOT 1
41063 _ACEOF
41064
41065 fi
41066 done
41067
41068 fi
41069 fi
41070
41071
41072
41073
41074
41075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41076 $as_echo_n "checking for float trig functions... " >&6; }
41077 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41078 $as_echo_n "(cached) " >&6
41079 else
41080
41081
41082 ac_ext=cpp
41083 ac_cpp='$CXXCPP $CPPFLAGS'
41084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41087
41088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41089 /* end confdefs.h. */
41090 #include <math.h>
41091 int
41092 main ()
41093 {
41094 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41095 ;
41096 return 0;
41097 }
41098 _ACEOF
41099 if ac_fn_cxx_try_compile "$LINENO"; then :
41100 glibcxx_cv_func_float_trig_use=yes
41101 else
41102 glibcxx_cv_func_float_trig_use=no
41103 fi
41104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41105 ac_ext=c
41106 ac_cpp='$CPP $CPPFLAGS'
41107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41110
41111 fi
41112
41113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41114 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41115 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41116 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41117 do :
41118 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41120 eval as_val=\$$as_ac_var
41121 if test "x$as_val" = x""yes; then :
41122 cat >>confdefs.h <<_ACEOF
41123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41124 _ACEOF
41125
41126 fi
41127 done
41128
41129 else
41130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41131 $as_echo_n "checking for _float trig functions... " >&6; }
41132 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41133 $as_echo_n "(cached) " >&6
41134 else
41135
41136
41137 ac_ext=cpp
41138 ac_cpp='$CXXCPP $CPPFLAGS'
41139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41142
41143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41144 /* end confdefs.h. */
41145 #include <math.h>
41146 int
41147 main ()
41148 {
41149 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41150 ;
41151 return 0;
41152 }
41153 _ACEOF
41154 if ac_fn_cxx_try_compile "$LINENO"; then :
41155 glibcxx_cv_func__float_trig_use=yes
41156 else
41157 glibcxx_cv_func__float_trig_use=no
41158 fi
41159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41160 ac_ext=c
41161 ac_cpp='$CPP $CPPFLAGS'
41162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41165
41166 fi
41167
41168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41169 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41170 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41171 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41172 do :
41173 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41174 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41175 eval as_val=\$$as_ac_var
41176 if test "x$as_val" = x""yes; then :
41177 cat >>confdefs.h <<_ACEOF
41178 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41179 _ACEOF
41180
41181 fi
41182 done
41183
41184 fi
41185 fi
41186
41187
41188
41189
41190
41191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41192 $as_echo_n "checking for float round functions... " >&6; }
41193 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41194 $as_echo_n "(cached) " >&6
41195 else
41196
41197
41198 ac_ext=cpp
41199 ac_cpp='$CXXCPP $CPPFLAGS'
41200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41203
41204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41205 /* end confdefs.h. */
41206 #include <math.h>
41207 int
41208 main ()
41209 {
41210 ceilf (0); floorf (0);
41211 ;
41212 return 0;
41213 }
41214 _ACEOF
41215 if ac_fn_cxx_try_compile "$LINENO"; then :
41216 glibcxx_cv_func_float_round_use=yes
41217 else
41218 glibcxx_cv_func_float_round_use=no
41219 fi
41220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41221 ac_ext=c
41222 ac_cpp='$CPP $CPPFLAGS'
41223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41226
41227 fi
41228
41229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41230 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41231 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41232 for ac_func in ceilf floorf
41233 do :
41234 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41235 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41236 eval as_val=\$$as_ac_var
41237 if test "x$as_val" = x""yes; then :
41238 cat >>confdefs.h <<_ACEOF
41239 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41240 _ACEOF
41241
41242 fi
41243 done
41244
41245 else
41246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41247 $as_echo_n "checking for _float round functions... " >&6; }
41248 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41249 $as_echo_n "(cached) " >&6
41250 else
41251
41252
41253 ac_ext=cpp
41254 ac_cpp='$CXXCPP $CPPFLAGS'
41255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41258
41259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41260 /* end confdefs.h. */
41261 #include <math.h>
41262 int
41263 main ()
41264 {
41265 _ceilf (0); _floorf (0);
41266 ;
41267 return 0;
41268 }
41269 _ACEOF
41270 if ac_fn_cxx_try_compile "$LINENO"; then :
41271 glibcxx_cv_func__float_round_use=yes
41272 else
41273 glibcxx_cv_func__float_round_use=no
41274 fi
41275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41276 ac_ext=c
41277 ac_cpp='$CPP $CPPFLAGS'
41278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41281
41282 fi
41283
41284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41285 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41286 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41287 for ac_func in _ceilf _floorf
41288 do :
41289 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41290 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41291 eval as_val=\$$as_ac_var
41292 if test "x$as_val" = x""yes; then :
41293 cat >>confdefs.h <<_ACEOF
41294 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41295 _ACEOF
41296
41297 fi
41298 done
41299
41300 fi
41301 fi
41302
41303
41304
41305
41306
41307
41308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41309 $as_echo_n "checking for expf declaration... " >&6; }
41310 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41311 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41312 $as_echo_n "(cached) " >&6
41313 else
41314
41315
41316 ac_ext=cpp
41317 ac_cpp='$CXXCPP $CPPFLAGS'
41318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41321
41322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41323 /* end confdefs.h. */
41324 #include <math.h>
41325 #ifdef HAVE_IEEEFP_H
41326 #include <ieeefp.h>
41327 #endif
41328
41329 int
41330 main ()
41331 {
41332 expf(0);
41333 ;
41334 return 0;
41335 }
41336 _ACEOF
41337 if ac_fn_cxx_try_compile "$LINENO"; then :
41338 glibcxx_cv_func_expf_use=yes
41339 else
41340 glibcxx_cv_func_expf_use=no
41341 fi
41342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41343 ac_ext=c
41344 ac_cpp='$CPP $CPPFLAGS'
41345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41348
41349
41350 fi
41351
41352 fi
41353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41354 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41355
41356 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41357 for ac_func in expf
41358 do :
41359 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41360 if test "x$ac_cv_func_expf" = x""yes; then :
41361 cat >>confdefs.h <<_ACEOF
41362 #define HAVE_EXPF 1
41363 _ACEOF
41364
41365 fi
41366 done
41367
41368 else
41369
41370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41371 $as_echo_n "checking for _expf declaration... " >&6; }
41372 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41373 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41374 $as_echo_n "(cached) " >&6
41375 else
41376
41377
41378 ac_ext=cpp
41379 ac_cpp='$CXXCPP $CPPFLAGS'
41380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41383
41384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41385 /* end confdefs.h. */
41386 #include <math.h>
41387 #ifdef HAVE_IEEEFP_H
41388 #include <ieeefp.h>
41389 #endif
41390
41391 int
41392 main ()
41393 {
41394 _expf(0);
41395 ;
41396 return 0;
41397 }
41398 _ACEOF
41399 if ac_fn_cxx_try_compile "$LINENO"; then :
41400 glibcxx_cv_func__expf_use=yes
41401 else
41402 glibcxx_cv_func__expf_use=no
41403 fi
41404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41405 ac_ext=c
41406 ac_cpp='$CPP $CPPFLAGS'
41407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41410
41411
41412 fi
41413
41414 fi
41415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41416 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41417
41418 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41419 for ac_func in _expf
41420 do :
41421 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41422 if test "x$ac_cv_func__expf" = x""yes; then :
41423 cat >>confdefs.h <<_ACEOF
41424 #define HAVE__EXPF 1
41425 _ACEOF
41426
41427 fi
41428 done
41429
41430 fi
41431 fi
41432
41433
41434
41435
41436
41437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41438 $as_echo_n "checking for isnanf declaration... " >&6; }
41439 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41440 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41441 $as_echo_n "(cached) " >&6
41442 else
41443
41444
41445 ac_ext=cpp
41446 ac_cpp='$CXXCPP $CPPFLAGS'
41447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41450
41451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41452 /* end confdefs.h. */
41453 #include <math.h>
41454 #ifdef HAVE_IEEEFP_H
41455 #include <ieeefp.h>
41456 #endif
41457
41458 int
41459 main ()
41460 {
41461 isnanf(0);
41462 ;
41463 return 0;
41464 }
41465 _ACEOF
41466 if ac_fn_cxx_try_compile "$LINENO"; then :
41467 glibcxx_cv_func_isnanf_use=yes
41468 else
41469 glibcxx_cv_func_isnanf_use=no
41470 fi
41471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41472 ac_ext=c
41473 ac_cpp='$CPP $CPPFLAGS'
41474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41477
41478
41479 fi
41480
41481 fi
41482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41483 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41484
41485 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41486 for ac_func in isnanf
41487 do :
41488 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41489 if test "x$ac_cv_func_isnanf" = x""yes; then :
41490 cat >>confdefs.h <<_ACEOF
41491 #define HAVE_ISNANF 1
41492 _ACEOF
41493
41494 fi
41495 done
41496
41497 else
41498
41499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41500 $as_echo_n "checking for _isnanf declaration... " >&6; }
41501 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41502 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41503 $as_echo_n "(cached) " >&6
41504 else
41505
41506
41507 ac_ext=cpp
41508 ac_cpp='$CXXCPP $CPPFLAGS'
41509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41512
41513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41514 /* end confdefs.h. */
41515 #include <math.h>
41516 #ifdef HAVE_IEEEFP_H
41517 #include <ieeefp.h>
41518 #endif
41519
41520 int
41521 main ()
41522 {
41523 _isnanf(0);
41524 ;
41525 return 0;
41526 }
41527 _ACEOF
41528 if ac_fn_cxx_try_compile "$LINENO"; then :
41529 glibcxx_cv_func__isnanf_use=yes
41530 else
41531 glibcxx_cv_func__isnanf_use=no
41532 fi
41533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41534 ac_ext=c
41535 ac_cpp='$CPP $CPPFLAGS'
41536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41539
41540
41541 fi
41542
41543 fi
41544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41545 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41546
41547 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41548 for ac_func in _isnanf
41549 do :
41550 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41551 if test "x$ac_cv_func__isnanf" = x""yes; then :
41552 cat >>confdefs.h <<_ACEOF
41553 #define HAVE__ISNANF 1
41554 _ACEOF
41555
41556 fi
41557 done
41558
41559 fi
41560 fi
41561
41562
41563
41564
41565
41566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41567 $as_echo_n "checking for isinff declaration... " >&6; }
41568 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41569 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41570 $as_echo_n "(cached) " >&6
41571 else
41572
41573
41574 ac_ext=cpp
41575 ac_cpp='$CXXCPP $CPPFLAGS'
41576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41579
41580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41581 /* end confdefs.h. */
41582 #include <math.h>
41583 #ifdef HAVE_IEEEFP_H
41584 #include <ieeefp.h>
41585 #endif
41586
41587 int
41588 main ()
41589 {
41590 isinff(0);
41591 ;
41592 return 0;
41593 }
41594 _ACEOF
41595 if ac_fn_cxx_try_compile "$LINENO"; then :
41596 glibcxx_cv_func_isinff_use=yes
41597 else
41598 glibcxx_cv_func_isinff_use=no
41599 fi
41600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41601 ac_ext=c
41602 ac_cpp='$CPP $CPPFLAGS'
41603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41606
41607
41608 fi
41609
41610 fi
41611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41612 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41613
41614 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41615 for ac_func in isinff
41616 do :
41617 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41618 if test "x$ac_cv_func_isinff" = x""yes; then :
41619 cat >>confdefs.h <<_ACEOF
41620 #define HAVE_ISINFF 1
41621 _ACEOF
41622
41623 fi
41624 done
41625
41626 else
41627
41628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41629 $as_echo_n "checking for _isinff declaration... " >&6; }
41630 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41631 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41632 $as_echo_n "(cached) " >&6
41633 else
41634
41635
41636 ac_ext=cpp
41637 ac_cpp='$CXXCPP $CPPFLAGS'
41638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41641
41642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41643 /* end confdefs.h. */
41644 #include <math.h>
41645 #ifdef HAVE_IEEEFP_H
41646 #include <ieeefp.h>
41647 #endif
41648
41649 int
41650 main ()
41651 {
41652 _isinff(0);
41653 ;
41654 return 0;
41655 }
41656 _ACEOF
41657 if ac_fn_cxx_try_compile "$LINENO"; then :
41658 glibcxx_cv_func__isinff_use=yes
41659 else
41660 glibcxx_cv_func__isinff_use=no
41661 fi
41662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41663 ac_ext=c
41664 ac_cpp='$CPP $CPPFLAGS'
41665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41668
41669
41670 fi
41671
41672 fi
41673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41674 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41675
41676 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41677 for ac_func in _isinff
41678 do :
41679 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41680 if test "x$ac_cv_func__isinff" = x""yes; then :
41681 cat >>confdefs.h <<_ACEOF
41682 #define HAVE__ISINFF 1
41683 _ACEOF
41684
41685 fi
41686 done
41687
41688 fi
41689 fi
41690
41691
41692
41693
41694
41695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41696 $as_echo_n "checking for atan2f declaration... " >&6; }
41697 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41698 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41699 $as_echo_n "(cached) " >&6
41700 else
41701
41702
41703 ac_ext=cpp
41704 ac_cpp='$CXXCPP $CPPFLAGS'
41705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41708
41709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41710 /* end confdefs.h. */
41711 #include <math.h>
41712 int
41713 main ()
41714 {
41715 atan2f(0, 0);
41716 ;
41717 return 0;
41718 }
41719 _ACEOF
41720 if ac_fn_cxx_try_compile "$LINENO"; then :
41721 glibcxx_cv_func_atan2f_use=yes
41722 else
41723 glibcxx_cv_func_atan2f_use=no
41724 fi
41725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41726 ac_ext=c
41727 ac_cpp='$CPP $CPPFLAGS'
41728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41731
41732
41733 fi
41734
41735 fi
41736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41737 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41738
41739 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41740 for ac_func in atan2f
41741 do :
41742 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41743 if test "x$ac_cv_func_atan2f" = x""yes; then :
41744 cat >>confdefs.h <<_ACEOF
41745 #define HAVE_ATAN2F 1
41746 _ACEOF
41747
41748 fi
41749 done
41750
41751 else
41752
41753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41754 $as_echo_n "checking for _atan2f declaration... " >&6; }
41755 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41756 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41757 $as_echo_n "(cached) " >&6
41758 else
41759
41760
41761 ac_ext=cpp
41762 ac_cpp='$CXXCPP $CPPFLAGS'
41763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41766
41767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41768 /* end confdefs.h. */
41769 #include <math.h>
41770 int
41771 main ()
41772 {
41773 _atan2f(0, 0);
41774 ;
41775 return 0;
41776 }
41777 _ACEOF
41778 if ac_fn_cxx_try_compile "$LINENO"; then :
41779 glibcxx_cv_func__atan2f_use=yes
41780 else
41781 glibcxx_cv_func__atan2f_use=no
41782 fi
41783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41784 ac_ext=c
41785 ac_cpp='$CPP $CPPFLAGS'
41786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41789
41790
41791 fi
41792
41793 fi
41794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41795 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41796
41797 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41798 for ac_func in _atan2f
41799 do :
41800 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41801 if test "x$ac_cv_func__atan2f" = x""yes; then :
41802 cat >>confdefs.h <<_ACEOF
41803 #define HAVE__ATAN2F 1
41804 _ACEOF
41805
41806 fi
41807 done
41808
41809 fi
41810 fi
41811
41812
41813
41814
41815
41816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41817 $as_echo_n "checking for fabsf declaration... " >&6; }
41818 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41819 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41820 $as_echo_n "(cached) " >&6
41821 else
41822
41823
41824 ac_ext=cpp
41825 ac_cpp='$CXXCPP $CPPFLAGS'
41826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41829
41830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41831 /* end confdefs.h. */
41832 #include <math.h>
41833 #ifdef HAVE_IEEEFP_H
41834 #include <ieeefp.h>
41835 #endif
41836
41837 int
41838 main ()
41839 {
41840 fabsf(0);
41841 ;
41842 return 0;
41843 }
41844 _ACEOF
41845 if ac_fn_cxx_try_compile "$LINENO"; then :
41846 glibcxx_cv_func_fabsf_use=yes
41847 else
41848 glibcxx_cv_func_fabsf_use=no
41849 fi
41850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41851 ac_ext=c
41852 ac_cpp='$CPP $CPPFLAGS'
41853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41856
41857
41858 fi
41859
41860 fi
41861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41862 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41863
41864 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41865 for ac_func in fabsf
41866 do :
41867 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41868 if test "x$ac_cv_func_fabsf" = x""yes; then :
41869 cat >>confdefs.h <<_ACEOF
41870 #define HAVE_FABSF 1
41871 _ACEOF
41872
41873 fi
41874 done
41875
41876 else
41877
41878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41879 $as_echo_n "checking for _fabsf declaration... " >&6; }
41880 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41881 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41882 $as_echo_n "(cached) " >&6
41883 else
41884
41885
41886 ac_ext=cpp
41887 ac_cpp='$CXXCPP $CPPFLAGS'
41888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41891
41892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41893 /* end confdefs.h. */
41894 #include <math.h>
41895 #ifdef HAVE_IEEEFP_H
41896 #include <ieeefp.h>
41897 #endif
41898
41899 int
41900 main ()
41901 {
41902 _fabsf(0);
41903 ;
41904 return 0;
41905 }
41906 _ACEOF
41907 if ac_fn_cxx_try_compile "$LINENO"; then :
41908 glibcxx_cv_func__fabsf_use=yes
41909 else
41910 glibcxx_cv_func__fabsf_use=no
41911 fi
41912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41913 ac_ext=c
41914 ac_cpp='$CPP $CPPFLAGS'
41915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41918
41919
41920 fi
41921
41922 fi
41923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41924 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41925
41926 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41927 for ac_func in _fabsf
41928 do :
41929 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41930 if test "x$ac_cv_func__fabsf" = x""yes; then :
41931 cat >>confdefs.h <<_ACEOF
41932 #define HAVE__FABSF 1
41933 _ACEOF
41934
41935 fi
41936 done
41937
41938 fi
41939 fi
41940
41941
41942
41943
41944
41945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41946 $as_echo_n "checking for fmodf declaration... " >&6; }
41947 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41948 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41949 $as_echo_n "(cached) " >&6
41950 else
41951
41952
41953 ac_ext=cpp
41954 ac_cpp='$CXXCPP $CPPFLAGS'
41955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41958
41959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41960 /* end confdefs.h. */
41961 #include <math.h>
41962 int
41963 main ()
41964 {
41965 fmodf(0, 0);
41966 ;
41967 return 0;
41968 }
41969 _ACEOF
41970 if ac_fn_cxx_try_compile "$LINENO"; then :
41971 glibcxx_cv_func_fmodf_use=yes
41972 else
41973 glibcxx_cv_func_fmodf_use=no
41974 fi
41975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41976 ac_ext=c
41977 ac_cpp='$CPP $CPPFLAGS'
41978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41981
41982
41983 fi
41984
41985 fi
41986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41987 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41988
41989 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41990 for ac_func in fmodf
41991 do :
41992 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41993 if test "x$ac_cv_func_fmodf" = x""yes; then :
41994 cat >>confdefs.h <<_ACEOF
41995 #define HAVE_FMODF 1
41996 _ACEOF
41997
41998 fi
41999 done
42000
42001 else
42002
42003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42004 $as_echo_n "checking for _fmodf declaration... " >&6; }
42005 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42006 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42007 $as_echo_n "(cached) " >&6
42008 else
42009
42010
42011 ac_ext=cpp
42012 ac_cpp='$CXXCPP $CPPFLAGS'
42013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42016
42017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42018 /* end confdefs.h. */
42019 #include <math.h>
42020 int
42021 main ()
42022 {
42023 _fmodf(0, 0);
42024 ;
42025 return 0;
42026 }
42027 _ACEOF
42028 if ac_fn_cxx_try_compile "$LINENO"; then :
42029 glibcxx_cv_func__fmodf_use=yes
42030 else
42031 glibcxx_cv_func__fmodf_use=no
42032 fi
42033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42034 ac_ext=c
42035 ac_cpp='$CPP $CPPFLAGS'
42036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42039
42040
42041 fi
42042
42043 fi
42044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42045 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42046
42047 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42048 for ac_func in _fmodf
42049 do :
42050 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42051 if test "x$ac_cv_func__fmodf" = x""yes; then :
42052 cat >>confdefs.h <<_ACEOF
42053 #define HAVE__FMODF 1
42054 _ACEOF
42055
42056 fi
42057 done
42058
42059 fi
42060 fi
42061
42062
42063
42064
42065
42066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42067 $as_echo_n "checking for frexpf declaration... " >&6; }
42068 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42069 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42070 $as_echo_n "(cached) " >&6
42071 else
42072
42073
42074 ac_ext=cpp
42075 ac_cpp='$CXXCPP $CPPFLAGS'
42076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42079
42080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42081 /* end confdefs.h. */
42082 #include <math.h>
42083 int
42084 main ()
42085 {
42086 frexpf(0, 0);
42087 ;
42088 return 0;
42089 }
42090 _ACEOF
42091 if ac_fn_cxx_try_compile "$LINENO"; then :
42092 glibcxx_cv_func_frexpf_use=yes
42093 else
42094 glibcxx_cv_func_frexpf_use=no
42095 fi
42096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42097 ac_ext=c
42098 ac_cpp='$CPP $CPPFLAGS'
42099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42102
42103
42104 fi
42105
42106 fi
42107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42108 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42109
42110 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42111 for ac_func in frexpf
42112 do :
42113 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42114 if test "x$ac_cv_func_frexpf" = x""yes; then :
42115 cat >>confdefs.h <<_ACEOF
42116 #define HAVE_FREXPF 1
42117 _ACEOF
42118
42119 fi
42120 done
42121
42122 else
42123
42124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42125 $as_echo_n "checking for _frexpf declaration... " >&6; }
42126 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42127 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42128 $as_echo_n "(cached) " >&6
42129 else
42130
42131
42132 ac_ext=cpp
42133 ac_cpp='$CXXCPP $CPPFLAGS'
42134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42137
42138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42139 /* end confdefs.h. */
42140 #include <math.h>
42141 int
42142 main ()
42143 {
42144 _frexpf(0, 0);
42145 ;
42146 return 0;
42147 }
42148 _ACEOF
42149 if ac_fn_cxx_try_compile "$LINENO"; then :
42150 glibcxx_cv_func__frexpf_use=yes
42151 else
42152 glibcxx_cv_func__frexpf_use=no
42153 fi
42154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42155 ac_ext=c
42156 ac_cpp='$CPP $CPPFLAGS'
42157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42160
42161
42162 fi
42163
42164 fi
42165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42166 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42167
42168 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42169 for ac_func in _frexpf
42170 do :
42171 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42172 if test "x$ac_cv_func__frexpf" = x""yes; then :
42173 cat >>confdefs.h <<_ACEOF
42174 #define HAVE__FREXPF 1
42175 _ACEOF
42176
42177 fi
42178 done
42179
42180 fi
42181 fi
42182
42183
42184
42185
42186
42187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42188 $as_echo_n "checking for hypotf declaration... " >&6; }
42189 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42190 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42191 $as_echo_n "(cached) " >&6
42192 else
42193
42194
42195 ac_ext=cpp
42196 ac_cpp='$CXXCPP $CPPFLAGS'
42197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42200
42201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42202 /* end confdefs.h. */
42203 #include <math.h>
42204 int
42205 main ()
42206 {
42207 hypotf(0, 0);
42208 ;
42209 return 0;
42210 }
42211 _ACEOF
42212 if ac_fn_cxx_try_compile "$LINENO"; then :
42213 glibcxx_cv_func_hypotf_use=yes
42214 else
42215 glibcxx_cv_func_hypotf_use=no
42216 fi
42217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42218 ac_ext=c
42219 ac_cpp='$CPP $CPPFLAGS'
42220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42223
42224
42225 fi
42226
42227 fi
42228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42229 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42230
42231 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42232 for ac_func in hypotf
42233 do :
42234 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42235 if test "x$ac_cv_func_hypotf" = x""yes; then :
42236 cat >>confdefs.h <<_ACEOF
42237 #define HAVE_HYPOTF 1
42238 _ACEOF
42239
42240 fi
42241 done
42242
42243 else
42244
42245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42246 $as_echo_n "checking for _hypotf declaration... " >&6; }
42247 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42248 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42249 $as_echo_n "(cached) " >&6
42250 else
42251
42252
42253 ac_ext=cpp
42254 ac_cpp='$CXXCPP $CPPFLAGS'
42255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42258
42259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42260 /* end confdefs.h. */
42261 #include <math.h>
42262 int
42263 main ()
42264 {
42265 _hypotf(0, 0);
42266 ;
42267 return 0;
42268 }
42269 _ACEOF
42270 if ac_fn_cxx_try_compile "$LINENO"; then :
42271 glibcxx_cv_func__hypotf_use=yes
42272 else
42273 glibcxx_cv_func__hypotf_use=no
42274 fi
42275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42276 ac_ext=c
42277 ac_cpp='$CPP $CPPFLAGS'
42278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42281
42282
42283 fi
42284
42285 fi
42286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42287 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42288
42289 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42290 for ac_func in _hypotf
42291 do :
42292 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42293 if test "x$ac_cv_func__hypotf" = x""yes; then :
42294 cat >>confdefs.h <<_ACEOF
42295 #define HAVE__HYPOTF 1
42296 _ACEOF
42297
42298 fi
42299 done
42300
42301 fi
42302 fi
42303
42304
42305
42306
42307
42308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42309 $as_echo_n "checking for ldexpf declaration... " >&6; }
42310 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42311 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42312 $as_echo_n "(cached) " >&6
42313 else
42314
42315
42316 ac_ext=cpp
42317 ac_cpp='$CXXCPP $CPPFLAGS'
42318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42321
42322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42323 /* end confdefs.h. */
42324 #include <math.h>
42325 int
42326 main ()
42327 {
42328 ldexpf(0, 0);
42329 ;
42330 return 0;
42331 }
42332 _ACEOF
42333 if ac_fn_cxx_try_compile "$LINENO"; then :
42334 glibcxx_cv_func_ldexpf_use=yes
42335 else
42336 glibcxx_cv_func_ldexpf_use=no
42337 fi
42338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42339 ac_ext=c
42340 ac_cpp='$CPP $CPPFLAGS'
42341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42344
42345
42346 fi
42347
42348 fi
42349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42350 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42351
42352 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42353 for ac_func in ldexpf
42354 do :
42355 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42356 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42357 cat >>confdefs.h <<_ACEOF
42358 #define HAVE_LDEXPF 1
42359 _ACEOF
42360
42361 fi
42362 done
42363
42364 else
42365
42366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42367 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42368 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42369 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42370 $as_echo_n "(cached) " >&6
42371 else
42372
42373
42374 ac_ext=cpp
42375 ac_cpp='$CXXCPP $CPPFLAGS'
42376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42379
42380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42381 /* end confdefs.h. */
42382 #include <math.h>
42383 int
42384 main ()
42385 {
42386 _ldexpf(0, 0);
42387 ;
42388 return 0;
42389 }
42390 _ACEOF
42391 if ac_fn_cxx_try_compile "$LINENO"; then :
42392 glibcxx_cv_func__ldexpf_use=yes
42393 else
42394 glibcxx_cv_func__ldexpf_use=no
42395 fi
42396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42397 ac_ext=c
42398 ac_cpp='$CPP $CPPFLAGS'
42399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42402
42403
42404 fi
42405
42406 fi
42407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42408 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42409
42410 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42411 for ac_func in _ldexpf
42412 do :
42413 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42414 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42415 cat >>confdefs.h <<_ACEOF
42416 #define HAVE__LDEXPF 1
42417 _ACEOF
42418
42419 fi
42420 done
42421
42422 fi
42423 fi
42424
42425
42426
42427
42428
42429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42430 $as_echo_n "checking for logf declaration... " >&6; }
42431 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42432 if test "${glibcxx_cv_func_logf_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 #ifdef HAVE_IEEEFP_H
42447 #include <ieeefp.h>
42448 #endif
42449
42450 int
42451 main ()
42452 {
42453 logf(0);
42454 ;
42455 return 0;
42456 }
42457 _ACEOF
42458 if ac_fn_cxx_try_compile "$LINENO"; then :
42459 glibcxx_cv_func_logf_use=yes
42460 else
42461 glibcxx_cv_func_logf_use=no
42462 fi
42463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42464 ac_ext=c
42465 ac_cpp='$CPP $CPPFLAGS'
42466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42469
42470
42471 fi
42472
42473 fi
42474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42475 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42476
42477 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42478 for ac_func in logf
42479 do :
42480 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42481 if test "x$ac_cv_func_logf" = x""yes; then :
42482 cat >>confdefs.h <<_ACEOF
42483 #define HAVE_LOGF 1
42484 _ACEOF
42485
42486 fi
42487 done
42488
42489 else
42490
42491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42492 $as_echo_n "checking for _logf declaration... " >&6; }
42493 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42494 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42495 $as_echo_n "(cached) " >&6
42496 else
42497
42498
42499 ac_ext=cpp
42500 ac_cpp='$CXXCPP $CPPFLAGS'
42501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42504
42505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42506 /* end confdefs.h. */
42507 #include <math.h>
42508 #ifdef HAVE_IEEEFP_H
42509 #include <ieeefp.h>
42510 #endif
42511
42512 int
42513 main ()
42514 {
42515 _logf(0);
42516 ;
42517 return 0;
42518 }
42519 _ACEOF
42520 if ac_fn_cxx_try_compile "$LINENO"; then :
42521 glibcxx_cv_func__logf_use=yes
42522 else
42523 glibcxx_cv_func__logf_use=no
42524 fi
42525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42526 ac_ext=c
42527 ac_cpp='$CPP $CPPFLAGS'
42528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42531
42532
42533 fi
42534
42535 fi
42536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42537 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42538
42539 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42540 for ac_func in _logf
42541 do :
42542 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42543 if test "x$ac_cv_func__logf" = x""yes; then :
42544 cat >>confdefs.h <<_ACEOF
42545 #define HAVE__LOGF 1
42546 _ACEOF
42547
42548 fi
42549 done
42550
42551 fi
42552 fi
42553
42554
42555
42556
42557
42558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42559 $as_echo_n "checking for log10f declaration... " >&6; }
42560 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42561 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42562 $as_echo_n "(cached) " >&6
42563 else
42564
42565
42566 ac_ext=cpp
42567 ac_cpp='$CXXCPP $CPPFLAGS'
42568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42571
42572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42573 /* end confdefs.h. */
42574 #include <math.h>
42575 #ifdef HAVE_IEEEFP_H
42576 #include <ieeefp.h>
42577 #endif
42578
42579 int
42580 main ()
42581 {
42582 log10f(0);
42583 ;
42584 return 0;
42585 }
42586 _ACEOF
42587 if ac_fn_cxx_try_compile "$LINENO"; then :
42588 glibcxx_cv_func_log10f_use=yes
42589 else
42590 glibcxx_cv_func_log10f_use=no
42591 fi
42592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42593 ac_ext=c
42594 ac_cpp='$CPP $CPPFLAGS'
42595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42598
42599
42600 fi
42601
42602 fi
42603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42604 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42605
42606 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42607 for ac_func in log10f
42608 do :
42609 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42610 if test "x$ac_cv_func_log10f" = x""yes; then :
42611 cat >>confdefs.h <<_ACEOF
42612 #define HAVE_LOG10F 1
42613 _ACEOF
42614
42615 fi
42616 done
42617
42618 else
42619
42620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42621 $as_echo_n "checking for _log10f declaration... " >&6; }
42622 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42623 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42624 $as_echo_n "(cached) " >&6
42625 else
42626
42627
42628 ac_ext=cpp
42629 ac_cpp='$CXXCPP $CPPFLAGS'
42630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42633
42634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42635 /* end confdefs.h. */
42636 #include <math.h>
42637 #ifdef HAVE_IEEEFP_H
42638 #include <ieeefp.h>
42639 #endif
42640
42641 int
42642 main ()
42643 {
42644 _log10f(0);
42645 ;
42646 return 0;
42647 }
42648 _ACEOF
42649 if ac_fn_cxx_try_compile "$LINENO"; then :
42650 glibcxx_cv_func__log10f_use=yes
42651 else
42652 glibcxx_cv_func__log10f_use=no
42653 fi
42654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42655 ac_ext=c
42656 ac_cpp='$CPP $CPPFLAGS'
42657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42660
42661
42662 fi
42663
42664 fi
42665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42666 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42667
42668 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42669 for ac_func in _log10f
42670 do :
42671 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42672 if test "x$ac_cv_func__log10f" = x""yes; then :
42673 cat >>confdefs.h <<_ACEOF
42674 #define HAVE__LOG10F 1
42675 _ACEOF
42676
42677 fi
42678 done
42679
42680 fi
42681 fi
42682
42683
42684
42685
42686
42687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42688 $as_echo_n "checking for modff declaration... " >&6; }
42689 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42690 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42691 $as_echo_n "(cached) " >&6
42692 else
42693
42694
42695 ac_ext=cpp
42696 ac_cpp='$CXXCPP $CPPFLAGS'
42697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42700
42701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42702 /* end confdefs.h. */
42703 #include <math.h>
42704 int
42705 main ()
42706 {
42707 modff(0, 0);
42708 ;
42709 return 0;
42710 }
42711 _ACEOF
42712 if ac_fn_cxx_try_compile "$LINENO"; then :
42713 glibcxx_cv_func_modff_use=yes
42714 else
42715 glibcxx_cv_func_modff_use=no
42716 fi
42717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42718 ac_ext=c
42719 ac_cpp='$CPP $CPPFLAGS'
42720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42723
42724
42725 fi
42726
42727 fi
42728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42729 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42730
42731 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42732 for ac_func in modff
42733 do :
42734 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42735 if test "x$ac_cv_func_modff" = x""yes; then :
42736 cat >>confdefs.h <<_ACEOF
42737 #define HAVE_MODFF 1
42738 _ACEOF
42739
42740 fi
42741 done
42742
42743 else
42744
42745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42746 $as_echo_n "checking for _modff declaration... " >&6; }
42747 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42748 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42749 $as_echo_n "(cached) " >&6
42750 else
42751
42752
42753 ac_ext=cpp
42754 ac_cpp='$CXXCPP $CPPFLAGS'
42755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42758
42759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42760 /* end confdefs.h. */
42761 #include <math.h>
42762 int
42763 main ()
42764 {
42765 _modff(0, 0);
42766 ;
42767 return 0;
42768 }
42769 _ACEOF
42770 if ac_fn_cxx_try_compile "$LINENO"; then :
42771 glibcxx_cv_func__modff_use=yes
42772 else
42773 glibcxx_cv_func__modff_use=no
42774 fi
42775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42776 ac_ext=c
42777 ac_cpp='$CPP $CPPFLAGS'
42778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42781
42782
42783 fi
42784
42785 fi
42786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42787 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42788
42789 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42790 for ac_func in _modff
42791 do :
42792 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42793 if test "x$ac_cv_func__modff" = x""yes; then :
42794 cat >>confdefs.h <<_ACEOF
42795 #define HAVE__MODFF 1
42796 _ACEOF
42797
42798 fi
42799 done
42800
42801 fi
42802 fi
42803
42804
42805
42806
42807
42808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42809 $as_echo_n "checking for modf declaration... " >&6; }
42810 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42811 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42812 $as_echo_n "(cached) " >&6
42813 else
42814
42815
42816 ac_ext=cpp
42817 ac_cpp='$CXXCPP $CPPFLAGS'
42818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42821
42822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42823 /* end confdefs.h. */
42824 #include <math.h>
42825 int
42826 main ()
42827 {
42828 modf(0, 0);
42829 ;
42830 return 0;
42831 }
42832 _ACEOF
42833 if ac_fn_cxx_try_compile "$LINENO"; then :
42834 glibcxx_cv_func_modf_use=yes
42835 else
42836 glibcxx_cv_func_modf_use=no
42837 fi
42838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42839 ac_ext=c
42840 ac_cpp='$CPP $CPPFLAGS'
42841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42844
42845
42846 fi
42847
42848 fi
42849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42850 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42851
42852 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42853 for ac_func in modf
42854 do :
42855 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42856 if test "x$ac_cv_func_modf" = x""yes; then :
42857 cat >>confdefs.h <<_ACEOF
42858 #define HAVE_MODF 1
42859 _ACEOF
42860
42861 fi
42862 done
42863
42864 else
42865
42866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42867 $as_echo_n "checking for _modf declaration... " >&6; }
42868 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42869 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42870 $as_echo_n "(cached) " >&6
42871 else
42872
42873
42874 ac_ext=cpp
42875 ac_cpp='$CXXCPP $CPPFLAGS'
42876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42879
42880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42881 /* end confdefs.h. */
42882 #include <math.h>
42883 int
42884 main ()
42885 {
42886 _modf(0, 0);
42887 ;
42888 return 0;
42889 }
42890 _ACEOF
42891 if ac_fn_cxx_try_compile "$LINENO"; then :
42892 glibcxx_cv_func__modf_use=yes
42893 else
42894 glibcxx_cv_func__modf_use=no
42895 fi
42896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42897 ac_ext=c
42898 ac_cpp='$CPP $CPPFLAGS'
42899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42902
42903
42904 fi
42905
42906 fi
42907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42908 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42909
42910 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42911 for ac_func in _modf
42912 do :
42913 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42914 if test "x$ac_cv_func__modf" = x""yes; then :
42915 cat >>confdefs.h <<_ACEOF
42916 #define HAVE__MODF 1
42917 _ACEOF
42918
42919 fi
42920 done
42921
42922 fi
42923 fi
42924
42925
42926
42927
42928
42929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42930 $as_echo_n "checking for powf declaration... " >&6; }
42931 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42932 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42933 $as_echo_n "(cached) " >&6
42934 else
42935
42936
42937 ac_ext=cpp
42938 ac_cpp='$CXXCPP $CPPFLAGS'
42939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42942
42943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42944 /* end confdefs.h. */
42945 #include <math.h>
42946 int
42947 main ()
42948 {
42949 powf(0, 0);
42950 ;
42951 return 0;
42952 }
42953 _ACEOF
42954 if ac_fn_cxx_try_compile "$LINENO"; then :
42955 glibcxx_cv_func_powf_use=yes
42956 else
42957 glibcxx_cv_func_powf_use=no
42958 fi
42959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42960 ac_ext=c
42961 ac_cpp='$CPP $CPPFLAGS'
42962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42965
42966
42967 fi
42968
42969 fi
42970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42971 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42972
42973 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42974 for ac_func in powf
42975 do :
42976 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42977 if test "x$ac_cv_func_powf" = x""yes; then :
42978 cat >>confdefs.h <<_ACEOF
42979 #define HAVE_POWF 1
42980 _ACEOF
42981
42982 fi
42983 done
42984
42985 else
42986
42987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42988 $as_echo_n "checking for _powf declaration... " >&6; }
42989 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42990 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42991 $as_echo_n "(cached) " >&6
42992 else
42993
42994
42995 ac_ext=cpp
42996 ac_cpp='$CXXCPP $CPPFLAGS'
42997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43000
43001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43002 /* end confdefs.h. */
43003 #include <math.h>
43004 int
43005 main ()
43006 {
43007 _powf(0, 0);
43008 ;
43009 return 0;
43010 }
43011 _ACEOF
43012 if ac_fn_cxx_try_compile "$LINENO"; then :
43013 glibcxx_cv_func__powf_use=yes
43014 else
43015 glibcxx_cv_func__powf_use=no
43016 fi
43017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43018 ac_ext=c
43019 ac_cpp='$CPP $CPPFLAGS'
43020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43023
43024
43025 fi
43026
43027 fi
43028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43029 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43030
43031 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43032 for ac_func in _powf
43033 do :
43034 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43035 if test "x$ac_cv_func__powf" = x""yes; then :
43036 cat >>confdefs.h <<_ACEOF
43037 #define HAVE__POWF 1
43038 _ACEOF
43039
43040 fi
43041 done
43042
43043 fi
43044 fi
43045
43046
43047
43048
43049
43050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43051 $as_echo_n "checking for sqrtf declaration... " >&6; }
43052 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43053 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43054 $as_echo_n "(cached) " >&6
43055 else
43056
43057
43058 ac_ext=cpp
43059 ac_cpp='$CXXCPP $CPPFLAGS'
43060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43063
43064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43065 /* end confdefs.h. */
43066 #include <math.h>
43067 #ifdef HAVE_IEEEFP_H
43068 #include <ieeefp.h>
43069 #endif
43070
43071 int
43072 main ()
43073 {
43074 sqrtf(0);
43075 ;
43076 return 0;
43077 }
43078 _ACEOF
43079 if ac_fn_cxx_try_compile "$LINENO"; then :
43080 glibcxx_cv_func_sqrtf_use=yes
43081 else
43082 glibcxx_cv_func_sqrtf_use=no
43083 fi
43084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43085 ac_ext=c
43086 ac_cpp='$CPP $CPPFLAGS'
43087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43090
43091
43092 fi
43093
43094 fi
43095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43096 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43097
43098 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43099 for ac_func in sqrtf
43100 do :
43101 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43102 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43103 cat >>confdefs.h <<_ACEOF
43104 #define HAVE_SQRTF 1
43105 _ACEOF
43106
43107 fi
43108 done
43109
43110 else
43111
43112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43113 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43114 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43115 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43116 $as_echo_n "(cached) " >&6
43117 else
43118
43119
43120 ac_ext=cpp
43121 ac_cpp='$CXXCPP $CPPFLAGS'
43122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43125
43126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43127 /* end confdefs.h. */
43128 #include <math.h>
43129 #ifdef HAVE_IEEEFP_H
43130 #include <ieeefp.h>
43131 #endif
43132
43133 int
43134 main ()
43135 {
43136 _sqrtf(0);
43137 ;
43138 return 0;
43139 }
43140 _ACEOF
43141 if ac_fn_cxx_try_compile "$LINENO"; then :
43142 glibcxx_cv_func__sqrtf_use=yes
43143 else
43144 glibcxx_cv_func__sqrtf_use=no
43145 fi
43146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43147 ac_ext=c
43148 ac_cpp='$CPP $CPPFLAGS'
43149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43152
43153
43154 fi
43155
43156 fi
43157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43158 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43159
43160 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43161 for ac_func in _sqrtf
43162 do :
43163 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43164 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43165 cat >>confdefs.h <<_ACEOF
43166 #define HAVE__SQRTF 1
43167 _ACEOF
43168
43169 fi
43170 done
43171
43172 fi
43173 fi
43174
43175
43176
43177
43178
43179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43180 $as_echo_n "checking for sincosf declaration... " >&6; }
43181 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43182 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43183 $as_echo_n "(cached) " >&6
43184 else
43185
43186
43187 ac_ext=cpp
43188 ac_cpp='$CXXCPP $CPPFLAGS'
43189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43192
43193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43194 /* end confdefs.h. */
43195 #include <math.h>
43196 int
43197 main ()
43198 {
43199 sincosf(0, 0, 0);
43200 ;
43201 return 0;
43202 }
43203 _ACEOF
43204 if ac_fn_cxx_try_compile "$LINENO"; then :
43205 glibcxx_cv_func_sincosf_use=yes
43206 else
43207 glibcxx_cv_func_sincosf_use=no
43208 fi
43209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43210 ac_ext=c
43211 ac_cpp='$CPP $CPPFLAGS'
43212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43215
43216
43217 fi
43218
43219 fi
43220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43221 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43222
43223 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43224 for ac_func in sincosf
43225 do :
43226 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43227 if test "x$ac_cv_func_sincosf" = x""yes; then :
43228 cat >>confdefs.h <<_ACEOF
43229 #define HAVE_SINCOSF 1
43230 _ACEOF
43231
43232 fi
43233 done
43234
43235 else
43236
43237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43238 $as_echo_n "checking for _sincosf declaration... " >&6; }
43239 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43240 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43241 $as_echo_n "(cached) " >&6
43242 else
43243
43244
43245 ac_ext=cpp
43246 ac_cpp='$CXXCPP $CPPFLAGS'
43247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43250
43251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43252 /* end confdefs.h. */
43253 #include <math.h>
43254 int
43255 main ()
43256 {
43257 _sincosf(0, 0, 0);
43258 ;
43259 return 0;
43260 }
43261 _ACEOF
43262 if ac_fn_cxx_try_compile "$LINENO"; then :
43263 glibcxx_cv_func__sincosf_use=yes
43264 else
43265 glibcxx_cv_func__sincosf_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__sincosf_use" >&5
43279 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43280
43281 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43282 for ac_func in _sincosf
43283 do :
43284 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43285 if test "x$ac_cv_func__sincosf" = x""yes; then :
43286 cat >>confdefs.h <<_ACEOF
43287 #define HAVE__SINCOSF 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 finitef declaration" >&5
43301 $as_echo_n "checking for finitef declaration... " >&6; }
43302 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43303 if test "${glibcxx_cv_func_finitef_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 #ifdef HAVE_IEEEFP_H
43318 #include <ieeefp.h>
43319 #endif
43320
43321 int
43322 main ()
43323 {
43324 finitef(0);
43325 ;
43326 return 0;
43327 }
43328 _ACEOF
43329 if ac_fn_cxx_try_compile "$LINENO"; then :
43330 glibcxx_cv_func_finitef_use=yes
43331 else
43332 glibcxx_cv_func_finitef_use=no
43333 fi
43334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43335 ac_ext=c
43336 ac_cpp='$CPP $CPPFLAGS'
43337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43340
43341
43342 fi
43343
43344 fi
43345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43346 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43347
43348 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43349 for ac_func in finitef
43350 do :
43351 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43352 if test "x$ac_cv_func_finitef" = x""yes; then :
43353 cat >>confdefs.h <<_ACEOF
43354 #define HAVE_FINITEF 1
43355 _ACEOF
43356
43357 fi
43358 done
43359
43360 else
43361
43362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43363 $as_echo_n "checking for _finitef declaration... " >&6; }
43364 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43365 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43366 $as_echo_n "(cached) " >&6
43367 else
43368
43369
43370 ac_ext=cpp
43371 ac_cpp='$CXXCPP $CPPFLAGS'
43372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43375
43376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43377 /* end confdefs.h. */
43378 #include <math.h>
43379 #ifdef HAVE_IEEEFP_H
43380 #include <ieeefp.h>
43381 #endif
43382
43383 int
43384 main ()
43385 {
43386 _finitef(0);
43387 ;
43388 return 0;
43389 }
43390 _ACEOF
43391 if ac_fn_cxx_try_compile "$LINENO"; then :
43392 glibcxx_cv_func__finitef_use=yes
43393 else
43394 glibcxx_cv_func__finitef_use=no
43395 fi
43396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43397 ac_ext=c
43398 ac_cpp='$CPP $CPPFLAGS'
43399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43402
43403
43404 fi
43405
43406 fi
43407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43408 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43409
43410 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43411 for ac_func in _finitef
43412 do :
43413 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43414 if test "x$ac_cv_func__finitef" = x""yes; then :
43415 cat >>confdefs.h <<_ACEOF
43416 #define HAVE__FINITEF 1
43417 _ACEOF
43418
43419 fi
43420 done
43421
43422 fi
43423 fi
43424
43425
43426
43427
43428
43429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43430 $as_echo_n "checking for long double trig functions... " >&6; }
43431 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43432 $as_echo_n "(cached) " >&6
43433 else
43434
43435
43436 ac_ext=cpp
43437 ac_cpp='$CXXCPP $CPPFLAGS'
43438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43441
43442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43443 /* end confdefs.h. */
43444 #include <math.h>
43445 int
43446 main ()
43447 {
43448 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43449 ;
43450 return 0;
43451 }
43452 _ACEOF
43453 if ac_fn_cxx_try_compile "$LINENO"; then :
43454 glibcxx_cv_func_long_double_trig_use=yes
43455 else
43456 glibcxx_cv_func_long_double_trig_use=no
43457 fi
43458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43459 ac_ext=c
43460 ac_cpp='$CPP $CPPFLAGS'
43461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43464
43465 fi
43466
43467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43468 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43469 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43470 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43471 do :
43472 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43473 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43474 eval as_val=\$$as_ac_var
43475 if test "x$as_val" = x""yes; then :
43476 cat >>confdefs.h <<_ACEOF
43477 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43478 _ACEOF
43479
43480 fi
43481 done
43482
43483 else
43484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43485 $as_echo_n "checking for _long double trig functions... " >&6; }
43486 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43487 $as_echo_n "(cached) " >&6
43488 else
43489
43490
43491 ac_ext=cpp
43492 ac_cpp='$CXXCPP $CPPFLAGS'
43493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43496
43497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43498 /* end confdefs.h. */
43499 #include <math.h>
43500 int
43501 main ()
43502 {
43503 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43504 ;
43505 return 0;
43506 }
43507 _ACEOF
43508 if ac_fn_cxx_try_compile "$LINENO"; then :
43509 glibcxx_cv_func__long_double_trig_use=yes
43510 else
43511 glibcxx_cv_func__long_double_trig_use=no
43512 fi
43513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43514 ac_ext=c
43515 ac_cpp='$CPP $CPPFLAGS'
43516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43519
43520 fi
43521
43522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43523 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43524 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43525 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43526 do :
43527 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43528 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43529 eval as_val=\$$as_ac_var
43530 if test "x$as_val" = x""yes; then :
43531 cat >>confdefs.h <<_ACEOF
43532 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43533 _ACEOF
43534
43535 fi
43536 done
43537
43538 fi
43539 fi
43540
43541
43542
43543
43544
43545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43546 $as_echo_n "checking for long double round functions... " >&6; }
43547 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43548 $as_echo_n "(cached) " >&6
43549 else
43550
43551
43552 ac_ext=cpp
43553 ac_cpp='$CXXCPP $CPPFLAGS'
43554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43557
43558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43559 /* end confdefs.h. */
43560 #include <math.h>
43561 int
43562 main ()
43563 {
43564 ceill (0); floorl (0);
43565 ;
43566 return 0;
43567 }
43568 _ACEOF
43569 if ac_fn_cxx_try_compile "$LINENO"; then :
43570 glibcxx_cv_func_long_double_round_use=yes
43571 else
43572 glibcxx_cv_func_long_double_round_use=no
43573 fi
43574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43575 ac_ext=c
43576 ac_cpp='$CPP $CPPFLAGS'
43577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43580
43581 fi
43582
43583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43584 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43585 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43586 for ac_func in ceill floorl
43587 do :
43588 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43589 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43590 eval as_val=\$$as_ac_var
43591 if test "x$as_val" = x""yes; then :
43592 cat >>confdefs.h <<_ACEOF
43593 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43594 _ACEOF
43595
43596 fi
43597 done
43598
43599 else
43600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43601 $as_echo_n "checking for _long double round functions... " >&6; }
43602 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43603 $as_echo_n "(cached) " >&6
43604 else
43605
43606
43607 ac_ext=cpp
43608 ac_cpp='$CXXCPP $CPPFLAGS'
43609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43612
43613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43614 /* end confdefs.h. */
43615 #include <math.h>
43616 int
43617 main ()
43618 {
43619 _ceill (0); _floorl (0);
43620 ;
43621 return 0;
43622 }
43623 _ACEOF
43624 if ac_fn_cxx_try_compile "$LINENO"; then :
43625 glibcxx_cv_func__long_double_round_use=yes
43626 else
43627 glibcxx_cv_func__long_double_round_use=no
43628 fi
43629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43630 ac_ext=c
43631 ac_cpp='$CPP $CPPFLAGS'
43632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43635
43636 fi
43637
43638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43639 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43640 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43641 for ac_func in _ceill _floorl
43642 do :
43643 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43644 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43645 eval as_val=\$$as_ac_var
43646 if test "x$as_val" = x""yes; then :
43647 cat >>confdefs.h <<_ACEOF
43648 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43649 _ACEOF
43650
43651 fi
43652 done
43653
43654 fi
43655 fi
43656
43657
43658
43659
43660
43661
43662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43663 $as_echo_n "checking for isnanl declaration... " >&6; }
43664 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43665 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43666 $as_echo_n "(cached) " >&6
43667 else
43668
43669
43670 ac_ext=cpp
43671 ac_cpp='$CXXCPP $CPPFLAGS'
43672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43675
43676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43677 /* end confdefs.h. */
43678 #include <math.h>
43679 #ifdef HAVE_IEEEFP_H
43680 #include <ieeefp.h>
43681 #endif
43682
43683 int
43684 main ()
43685 {
43686 isnanl(0);
43687 ;
43688 return 0;
43689 }
43690 _ACEOF
43691 if ac_fn_cxx_try_compile "$LINENO"; then :
43692 glibcxx_cv_func_isnanl_use=yes
43693 else
43694 glibcxx_cv_func_isnanl_use=no
43695 fi
43696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43697 ac_ext=c
43698 ac_cpp='$CPP $CPPFLAGS'
43699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43702
43703
43704 fi
43705
43706 fi
43707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43708 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43709
43710 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43711 for ac_func in isnanl
43712 do :
43713 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43714 if test "x$ac_cv_func_isnanl" = x""yes; then :
43715 cat >>confdefs.h <<_ACEOF
43716 #define HAVE_ISNANL 1
43717 _ACEOF
43718
43719 fi
43720 done
43721
43722 else
43723
43724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43725 $as_echo_n "checking for _isnanl declaration... " >&6; }
43726 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43727 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43728 $as_echo_n "(cached) " >&6
43729 else
43730
43731
43732 ac_ext=cpp
43733 ac_cpp='$CXXCPP $CPPFLAGS'
43734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43737
43738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43739 /* end confdefs.h. */
43740 #include <math.h>
43741 #ifdef HAVE_IEEEFP_H
43742 #include <ieeefp.h>
43743 #endif
43744
43745 int
43746 main ()
43747 {
43748 _isnanl(0);
43749 ;
43750 return 0;
43751 }
43752 _ACEOF
43753 if ac_fn_cxx_try_compile "$LINENO"; then :
43754 glibcxx_cv_func__isnanl_use=yes
43755 else
43756 glibcxx_cv_func__isnanl_use=no
43757 fi
43758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43759 ac_ext=c
43760 ac_cpp='$CPP $CPPFLAGS'
43761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43764
43765
43766 fi
43767
43768 fi
43769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43770 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43771
43772 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43773 for ac_func in _isnanl
43774 do :
43775 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43776 if test "x$ac_cv_func__isnanl" = x""yes; then :
43777 cat >>confdefs.h <<_ACEOF
43778 #define HAVE__ISNANL 1
43779 _ACEOF
43780
43781 fi
43782 done
43783
43784 fi
43785 fi
43786
43787
43788
43789
43790
43791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43792 $as_echo_n "checking for isinfl declaration... " >&6; }
43793 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43794 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43795 $as_echo_n "(cached) " >&6
43796 else
43797
43798
43799 ac_ext=cpp
43800 ac_cpp='$CXXCPP $CPPFLAGS'
43801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43804
43805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43806 /* end confdefs.h. */
43807 #include <math.h>
43808 #ifdef HAVE_IEEEFP_H
43809 #include <ieeefp.h>
43810 #endif
43811
43812 int
43813 main ()
43814 {
43815 isinfl(0);
43816 ;
43817 return 0;
43818 }
43819 _ACEOF
43820 if ac_fn_cxx_try_compile "$LINENO"; then :
43821 glibcxx_cv_func_isinfl_use=yes
43822 else
43823 glibcxx_cv_func_isinfl_use=no
43824 fi
43825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43826 ac_ext=c
43827 ac_cpp='$CPP $CPPFLAGS'
43828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43831
43832
43833 fi
43834
43835 fi
43836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43837 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43838
43839 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43840 for ac_func in isinfl
43841 do :
43842 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43843 if test "x$ac_cv_func_isinfl" = x""yes; then :
43844 cat >>confdefs.h <<_ACEOF
43845 #define HAVE_ISINFL 1
43846 _ACEOF
43847
43848 fi
43849 done
43850
43851 else
43852
43853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43854 $as_echo_n "checking for _isinfl declaration... " >&6; }
43855 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43856 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43857 $as_echo_n "(cached) " >&6
43858 else
43859
43860
43861 ac_ext=cpp
43862 ac_cpp='$CXXCPP $CPPFLAGS'
43863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43866
43867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43868 /* end confdefs.h. */
43869 #include <math.h>
43870 #ifdef HAVE_IEEEFP_H
43871 #include <ieeefp.h>
43872 #endif
43873
43874 int
43875 main ()
43876 {
43877 _isinfl(0);
43878 ;
43879 return 0;
43880 }
43881 _ACEOF
43882 if ac_fn_cxx_try_compile "$LINENO"; then :
43883 glibcxx_cv_func__isinfl_use=yes
43884 else
43885 glibcxx_cv_func__isinfl_use=no
43886 fi
43887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43888 ac_ext=c
43889 ac_cpp='$CPP $CPPFLAGS'
43890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43893
43894
43895 fi
43896
43897 fi
43898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43899 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43900
43901 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43902 for ac_func in _isinfl
43903 do :
43904 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43905 if test "x$ac_cv_func__isinfl" = x""yes; then :
43906 cat >>confdefs.h <<_ACEOF
43907 #define HAVE__ISINFL 1
43908 _ACEOF
43909
43910 fi
43911 done
43912
43913 fi
43914 fi
43915
43916
43917
43918
43919
43920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43921 $as_echo_n "checking for atan2l declaration... " >&6; }
43922 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43923 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43924 $as_echo_n "(cached) " >&6
43925 else
43926
43927
43928 ac_ext=cpp
43929 ac_cpp='$CXXCPP $CPPFLAGS'
43930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43933
43934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43935 /* end confdefs.h. */
43936 #include <math.h>
43937 int
43938 main ()
43939 {
43940 atan2l(0, 0);
43941 ;
43942 return 0;
43943 }
43944 _ACEOF
43945 if ac_fn_cxx_try_compile "$LINENO"; then :
43946 glibcxx_cv_func_atan2l_use=yes
43947 else
43948 glibcxx_cv_func_atan2l_use=no
43949 fi
43950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43951 ac_ext=c
43952 ac_cpp='$CPP $CPPFLAGS'
43953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43956
43957
43958 fi
43959
43960 fi
43961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43962 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43963
43964 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43965 for ac_func in atan2l
43966 do :
43967 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43968 if test "x$ac_cv_func_atan2l" = x""yes; then :
43969 cat >>confdefs.h <<_ACEOF
43970 #define HAVE_ATAN2L 1
43971 _ACEOF
43972
43973 fi
43974 done
43975
43976 else
43977
43978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43979 $as_echo_n "checking for _atan2l declaration... " >&6; }
43980 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43981 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43982 $as_echo_n "(cached) " >&6
43983 else
43984
43985
43986 ac_ext=cpp
43987 ac_cpp='$CXXCPP $CPPFLAGS'
43988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43991
43992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43993 /* end confdefs.h. */
43994 #include <math.h>
43995 int
43996 main ()
43997 {
43998 _atan2l(0, 0);
43999 ;
44000 return 0;
44001 }
44002 _ACEOF
44003 if ac_fn_cxx_try_compile "$LINENO"; then :
44004 glibcxx_cv_func__atan2l_use=yes
44005 else
44006 glibcxx_cv_func__atan2l_use=no
44007 fi
44008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44009 ac_ext=c
44010 ac_cpp='$CPP $CPPFLAGS'
44011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44014
44015
44016 fi
44017
44018 fi
44019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44020 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44021
44022 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44023 for ac_func in _atan2l
44024 do :
44025 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44026 if test "x$ac_cv_func__atan2l" = x""yes; then :
44027 cat >>confdefs.h <<_ACEOF
44028 #define HAVE__ATAN2L 1
44029 _ACEOF
44030
44031 fi
44032 done
44033
44034 fi
44035 fi
44036
44037
44038
44039
44040
44041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44042 $as_echo_n "checking for expl declaration... " >&6; }
44043 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44044 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44045 $as_echo_n "(cached) " >&6
44046 else
44047
44048
44049 ac_ext=cpp
44050 ac_cpp='$CXXCPP $CPPFLAGS'
44051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44054
44055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44056 /* end confdefs.h. */
44057 #include <math.h>
44058 #ifdef HAVE_IEEEFP_H
44059 #include <ieeefp.h>
44060 #endif
44061
44062 int
44063 main ()
44064 {
44065 expl(0);
44066 ;
44067 return 0;
44068 }
44069 _ACEOF
44070 if ac_fn_cxx_try_compile "$LINENO"; then :
44071 glibcxx_cv_func_expl_use=yes
44072 else
44073 glibcxx_cv_func_expl_use=no
44074 fi
44075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44076 ac_ext=c
44077 ac_cpp='$CPP $CPPFLAGS'
44078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44081
44082
44083 fi
44084
44085 fi
44086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44087 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44088
44089 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44090 for ac_func in expl
44091 do :
44092 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44093 if test "x$ac_cv_func_expl" = x""yes; then :
44094 cat >>confdefs.h <<_ACEOF
44095 #define HAVE_EXPL 1
44096 _ACEOF
44097
44098 fi
44099 done
44100
44101 else
44102
44103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44104 $as_echo_n "checking for _expl declaration... " >&6; }
44105 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44106 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44107 $as_echo_n "(cached) " >&6
44108 else
44109
44110
44111 ac_ext=cpp
44112 ac_cpp='$CXXCPP $CPPFLAGS'
44113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44116
44117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44118 /* end confdefs.h. */
44119 #include <math.h>
44120 #ifdef HAVE_IEEEFP_H
44121 #include <ieeefp.h>
44122 #endif
44123
44124 int
44125 main ()
44126 {
44127 _expl(0);
44128 ;
44129 return 0;
44130 }
44131 _ACEOF
44132 if ac_fn_cxx_try_compile "$LINENO"; then :
44133 glibcxx_cv_func__expl_use=yes
44134 else
44135 glibcxx_cv_func__expl_use=no
44136 fi
44137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44138 ac_ext=c
44139 ac_cpp='$CPP $CPPFLAGS'
44140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44143
44144
44145 fi
44146
44147 fi
44148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44149 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44150
44151 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44152 for ac_func in _expl
44153 do :
44154 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44155 if test "x$ac_cv_func__expl" = x""yes; then :
44156 cat >>confdefs.h <<_ACEOF
44157 #define HAVE__EXPL 1
44158 _ACEOF
44159
44160 fi
44161 done
44162
44163 fi
44164 fi
44165
44166
44167
44168
44169
44170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44171 $as_echo_n "checking for fabsl declaration... " >&6; }
44172 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44173 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44174 $as_echo_n "(cached) " >&6
44175 else
44176
44177
44178 ac_ext=cpp
44179 ac_cpp='$CXXCPP $CPPFLAGS'
44180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44183
44184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44185 /* end confdefs.h. */
44186 #include <math.h>
44187 #ifdef HAVE_IEEEFP_H
44188 #include <ieeefp.h>
44189 #endif
44190
44191 int
44192 main ()
44193 {
44194 fabsl(0);
44195 ;
44196 return 0;
44197 }
44198 _ACEOF
44199 if ac_fn_cxx_try_compile "$LINENO"; then :
44200 glibcxx_cv_func_fabsl_use=yes
44201 else
44202 glibcxx_cv_func_fabsl_use=no
44203 fi
44204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44205 ac_ext=c
44206 ac_cpp='$CPP $CPPFLAGS'
44207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44210
44211
44212 fi
44213
44214 fi
44215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44216 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44217
44218 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44219 for ac_func in fabsl
44220 do :
44221 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44222 if test "x$ac_cv_func_fabsl" = x""yes; then :
44223 cat >>confdefs.h <<_ACEOF
44224 #define HAVE_FABSL 1
44225 _ACEOF
44226
44227 fi
44228 done
44229
44230 else
44231
44232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44233 $as_echo_n "checking for _fabsl declaration... " >&6; }
44234 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44235 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44236 $as_echo_n "(cached) " >&6
44237 else
44238
44239
44240 ac_ext=cpp
44241 ac_cpp='$CXXCPP $CPPFLAGS'
44242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44245
44246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44247 /* end confdefs.h. */
44248 #include <math.h>
44249 #ifdef HAVE_IEEEFP_H
44250 #include <ieeefp.h>
44251 #endif
44252
44253 int
44254 main ()
44255 {
44256 _fabsl(0);
44257 ;
44258 return 0;
44259 }
44260 _ACEOF
44261 if ac_fn_cxx_try_compile "$LINENO"; then :
44262 glibcxx_cv_func__fabsl_use=yes
44263 else
44264 glibcxx_cv_func__fabsl_use=no
44265 fi
44266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44267 ac_ext=c
44268 ac_cpp='$CPP $CPPFLAGS'
44269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44272
44273
44274 fi
44275
44276 fi
44277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44278 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44279
44280 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44281 for ac_func in _fabsl
44282 do :
44283 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44284 if test "x$ac_cv_func__fabsl" = x""yes; then :
44285 cat >>confdefs.h <<_ACEOF
44286 #define HAVE__FABSL 1
44287 _ACEOF
44288
44289 fi
44290 done
44291
44292 fi
44293 fi
44294
44295
44296
44297
44298
44299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44300 $as_echo_n "checking for fmodl declaration... " >&6; }
44301 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44302 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44303 $as_echo_n "(cached) " >&6
44304 else
44305
44306
44307 ac_ext=cpp
44308 ac_cpp='$CXXCPP $CPPFLAGS'
44309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44312
44313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44314 /* end confdefs.h. */
44315 #include <math.h>
44316 int
44317 main ()
44318 {
44319 fmodl(0, 0);
44320 ;
44321 return 0;
44322 }
44323 _ACEOF
44324 if ac_fn_cxx_try_compile "$LINENO"; then :
44325 glibcxx_cv_func_fmodl_use=yes
44326 else
44327 glibcxx_cv_func_fmodl_use=no
44328 fi
44329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44330 ac_ext=c
44331 ac_cpp='$CPP $CPPFLAGS'
44332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44335
44336
44337 fi
44338
44339 fi
44340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44341 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44342
44343 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44344 for ac_func in fmodl
44345 do :
44346 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44347 if test "x$ac_cv_func_fmodl" = x""yes; then :
44348 cat >>confdefs.h <<_ACEOF
44349 #define HAVE_FMODL 1
44350 _ACEOF
44351
44352 fi
44353 done
44354
44355 else
44356
44357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44358 $as_echo_n "checking for _fmodl declaration... " >&6; }
44359 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44360 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44361 $as_echo_n "(cached) " >&6
44362 else
44363
44364
44365 ac_ext=cpp
44366 ac_cpp='$CXXCPP $CPPFLAGS'
44367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44370
44371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44372 /* end confdefs.h. */
44373 #include <math.h>
44374 int
44375 main ()
44376 {
44377 _fmodl(0, 0);
44378 ;
44379 return 0;
44380 }
44381 _ACEOF
44382 if ac_fn_cxx_try_compile "$LINENO"; then :
44383 glibcxx_cv_func__fmodl_use=yes
44384 else
44385 glibcxx_cv_func__fmodl_use=no
44386 fi
44387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44388 ac_ext=c
44389 ac_cpp='$CPP $CPPFLAGS'
44390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44393
44394
44395 fi
44396
44397 fi
44398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44399 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44400
44401 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44402 for ac_func in _fmodl
44403 do :
44404 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44405 if test "x$ac_cv_func__fmodl" = x""yes; then :
44406 cat >>confdefs.h <<_ACEOF
44407 #define HAVE__FMODL 1
44408 _ACEOF
44409
44410 fi
44411 done
44412
44413 fi
44414 fi
44415
44416
44417
44418
44419
44420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44421 $as_echo_n "checking for frexpl declaration... " >&6; }
44422 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44423 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44424 $as_echo_n "(cached) " >&6
44425 else
44426
44427
44428 ac_ext=cpp
44429 ac_cpp='$CXXCPP $CPPFLAGS'
44430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44433
44434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44435 /* end confdefs.h. */
44436 #include <math.h>
44437 int
44438 main ()
44439 {
44440 frexpl(0, 0);
44441 ;
44442 return 0;
44443 }
44444 _ACEOF
44445 if ac_fn_cxx_try_compile "$LINENO"; then :
44446 glibcxx_cv_func_frexpl_use=yes
44447 else
44448 glibcxx_cv_func_frexpl_use=no
44449 fi
44450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44451 ac_ext=c
44452 ac_cpp='$CPP $CPPFLAGS'
44453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44456
44457
44458 fi
44459
44460 fi
44461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44462 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44463
44464 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44465 for ac_func in frexpl
44466 do :
44467 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44468 if test "x$ac_cv_func_frexpl" = x""yes; then :
44469 cat >>confdefs.h <<_ACEOF
44470 #define HAVE_FREXPL 1
44471 _ACEOF
44472
44473 fi
44474 done
44475
44476 else
44477
44478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44479 $as_echo_n "checking for _frexpl declaration... " >&6; }
44480 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44481 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44482 $as_echo_n "(cached) " >&6
44483 else
44484
44485
44486 ac_ext=cpp
44487 ac_cpp='$CXXCPP $CPPFLAGS'
44488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44491
44492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44493 /* end confdefs.h. */
44494 #include <math.h>
44495 int
44496 main ()
44497 {
44498 _frexpl(0, 0);
44499 ;
44500 return 0;
44501 }
44502 _ACEOF
44503 if ac_fn_cxx_try_compile "$LINENO"; then :
44504 glibcxx_cv_func__frexpl_use=yes
44505 else
44506 glibcxx_cv_func__frexpl_use=no
44507 fi
44508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44509 ac_ext=c
44510 ac_cpp='$CPP $CPPFLAGS'
44511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44514
44515
44516 fi
44517
44518 fi
44519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44520 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44521
44522 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44523 for ac_func in _frexpl
44524 do :
44525 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44526 if test "x$ac_cv_func__frexpl" = x""yes; then :
44527 cat >>confdefs.h <<_ACEOF
44528 #define HAVE__FREXPL 1
44529 _ACEOF
44530
44531 fi
44532 done
44533
44534 fi
44535 fi
44536
44537
44538
44539
44540
44541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44542 $as_echo_n "checking for hypotl declaration... " >&6; }
44543 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44544 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44545 $as_echo_n "(cached) " >&6
44546 else
44547
44548
44549 ac_ext=cpp
44550 ac_cpp='$CXXCPP $CPPFLAGS'
44551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44554
44555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44556 /* end confdefs.h. */
44557 #include <math.h>
44558 int
44559 main ()
44560 {
44561 hypotl(0, 0);
44562 ;
44563 return 0;
44564 }
44565 _ACEOF
44566 if ac_fn_cxx_try_compile "$LINENO"; then :
44567 glibcxx_cv_func_hypotl_use=yes
44568 else
44569 glibcxx_cv_func_hypotl_use=no
44570 fi
44571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44572 ac_ext=c
44573 ac_cpp='$CPP $CPPFLAGS'
44574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44577
44578
44579 fi
44580
44581 fi
44582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44583 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44584
44585 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44586 for ac_func in hypotl
44587 do :
44588 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44589 if test "x$ac_cv_func_hypotl" = x""yes; then :
44590 cat >>confdefs.h <<_ACEOF
44591 #define HAVE_HYPOTL 1
44592 _ACEOF
44593
44594 fi
44595 done
44596
44597 else
44598
44599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44600 $as_echo_n "checking for _hypotl declaration... " >&6; }
44601 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44602 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44603 $as_echo_n "(cached) " >&6
44604 else
44605
44606
44607 ac_ext=cpp
44608 ac_cpp='$CXXCPP $CPPFLAGS'
44609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44612
44613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44614 /* end confdefs.h. */
44615 #include <math.h>
44616 int
44617 main ()
44618 {
44619 _hypotl(0, 0);
44620 ;
44621 return 0;
44622 }
44623 _ACEOF
44624 if ac_fn_cxx_try_compile "$LINENO"; then :
44625 glibcxx_cv_func__hypotl_use=yes
44626 else
44627 glibcxx_cv_func__hypotl_use=no
44628 fi
44629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44630 ac_ext=c
44631 ac_cpp='$CPP $CPPFLAGS'
44632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44635
44636
44637 fi
44638
44639 fi
44640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44641 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44642
44643 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44644 for ac_func in _hypotl
44645 do :
44646 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44647 if test "x$ac_cv_func__hypotl" = x""yes; then :
44648 cat >>confdefs.h <<_ACEOF
44649 #define HAVE__HYPOTL 1
44650 _ACEOF
44651
44652 fi
44653 done
44654
44655 fi
44656 fi
44657
44658
44659
44660
44661
44662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44663 $as_echo_n "checking for ldexpl declaration... " >&6; }
44664 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44665 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44666 $as_echo_n "(cached) " >&6
44667 else
44668
44669
44670 ac_ext=cpp
44671 ac_cpp='$CXXCPP $CPPFLAGS'
44672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44675
44676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44677 /* end confdefs.h. */
44678 #include <math.h>
44679 int
44680 main ()
44681 {
44682 ldexpl(0, 0);
44683 ;
44684 return 0;
44685 }
44686 _ACEOF
44687 if ac_fn_cxx_try_compile "$LINENO"; then :
44688 glibcxx_cv_func_ldexpl_use=yes
44689 else
44690 glibcxx_cv_func_ldexpl_use=no
44691 fi
44692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44693 ac_ext=c
44694 ac_cpp='$CPP $CPPFLAGS'
44695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44698
44699
44700 fi
44701
44702 fi
44703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44704 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44705
44706 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44707 for ac_func in ldexpl
44708 do :
44709 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44710 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44711 cat >>confdefs.h <<_ACEOF
44712 #define HAVE_LDEXPL 1
44713 _ACEOF
44714
44715 fi
44716 done
44717
44718 else
44719
44720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44721 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44722 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44723 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44724 $as_echo_n "(cached) " >&6
44725 else
44726
44727
44728 ac_ext=cpp
44729 ac_cpp='$CXXCPP $CPPFLAGS'
44730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44733
44734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44735 /* end confdefs.h. */
44736 #include <math.h>
44737 int
44738 main ()
44739 {
44740 _ldexpl(0, 0);
44741 ;
44742 return 0;
44743 }
44744 _ACEOF
44745 if ac_fn_cxx_try_compile "$LINENO"; then :
44746 glibcxx_cv_func__ldexpl_use=yes
44747 else
44748 glibcxx_cv_func__ldexpl_use=no
44749 fi
44750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44751 ac_ext=c
44752 ac_cpp='$CPP $CPPFLAGS'
44753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44756
44757
44758 fi
44759
44760 fi
44761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44762 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44763
44764 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44765 for ac_func in _ldexpl
44766 do :
44767 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44768 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44769 cat >>confdefs.h <<_ACEOF
44770 #define HAVE__LDEXPL 1
44771 _ACEOF
44772
44773 fi
44774 done
44775
44776 fi
44777 fi
44778
44779
44780
44781
44782
44783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44784 $as_echo_n "checking for logl declaration... " >&6; }
44785 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44786 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44787 $as_echo_n "(cached) " >&6
44788 else
44789
44790
44791 ac_ext=cpp
44792 ac_cpp='$CXXCPP $CPPFLAGS'
44793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44796
44797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44798 /* end confdefs.h. */
44799 #include <math.h>
44800 #ifdef HAVE_IEEEFP_H
44801 #include <ieeefp.h>
44802 #endif
44803
44804 int
44805 main ()
44806 {
44807 logl(0);
44808 ;
44809 return 0;
44810 }
44811 _ACEOF
44812 if ac_fn_cxx_try_compile "$LINENO"; then :
44813 glibcxx_cv_func_logl_use=yes
44814 else
44815 glibcxx_cv_func_logl_use=no
44816 fi
44817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44818 ac_ext=c
44819 ac_cpp='$CPP $CPPFLAGS'
44820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44823
44824
44825 fi
44826
44827 fi
44828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44829 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44830
44831 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44832 for ac_func in logl
44833 do :
44834 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44835 if test "x$ac_cv_func_logl" = x""yes; then :
44836 cat >>confdefs.h <<_ACEOF
44837 #define HAVE_LOGL 1
44838 _ACEOF
44839
44840 fi
44841 done
44842
44843 else
44844
44845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44846 $as_echo_n "checking for _logl declaration... " >&6; }
44847 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44848 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44849 $as_echo_n "(cached) " >&6
44850 else
44851
44852
44853 ac_ext=cpp
44854 ac_cpp='$CXXCPP $CPPFLAGS'
44855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44858
44859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44860 /* end confdefs.h. */
44861 #include <math.h>
44862 #ifdef HAVE_IEEEFP_H
44863 #include <ieeefp.h>
44864 #endif
44865
44866 int
44867 main ()
44868 {
44869 _logl(0);
44870 ;
44871 return 0;
44872 }
44873 _ACEOF
44874 if ac_fn_cxx_try_compile "$LINENO"; then :
44875 glibcxx_cv_func__logl_use=yes
44876 else
44877 glibcxx_cv_func__logl_use=no
44878 fi
44879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44880 ac_ext=c
44881 ac_cpp='$CPP $CPPFLAGS'
44882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44885
44886
44887 fi
44888
44889 fi
44890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44891 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44892
44893 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44894 for ac_func in _logl
44895 do :
44896 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44897 if test "x$ac_cv_func__logl" = x""yes; then :
44898 cat >>confdefs.h <<_ACEOF
44899 #define HAVE__LOGL 1
44900 _ACEOF
44901
44902 fi
44903 done
44904
44905 fi
44906 fi
44907
44908
44909
44910
44911
44912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44913 $as_echo_n "checking for log10l declaration... " >&6; }
44914 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44915 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44916 $as_echo_n "(cached) " >&6
44917 else
44918
44919
44920 ac_ext=cpp
44921 ac_cpp='$CXXCPP $CPPFLAGS'
44922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44925
44926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44927 /* end confdefs.h. */
44928 #include <math.h>
44929 #ifdef HAVE_IEEEFP_H
44930 #include <ieeefp.h>
44931 #endif
44932
44933 int
44934 main ()
44935 {
44936 log10l(0);
44937 ;
44938 return 0;
44939 }
44940 _ACEOF
44941 if ac_fn_cxx_try_compile "$LINENO"; then :
44942 glibcxx_cv_func_log10l_use=yes
44943 else
44944 glibcxx_cv_func_log10l_use=no
44945 fi
44946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44947 ac_ext=c
44948 ac_cpp='$CPP $CPPFLAGS'
44949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44952
44953
44954 fi
44955
44956 fi
44957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44958 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44959
44960 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44961 for ac_func in log10l
44962 do :
44963 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44964 if test "x$ac_cv_func_log10l" = x""yes; then :
44965 cat >>confdefs.h <<_ACEOF
44966 #define HAVE_LOG10L 1
44967 _ACEOF
44968
44969 fi
44970 done
44971
44972 else
44973
44974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44975 $as_echo_n "checking for _log10l declaration... " >&6; }
44976 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44977 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44978 $as_echo_n "(cached) " >&6
44979 else
44980
44981
44982 ac_ext=cpp
44983 ac_cpp='$CXXCPP $CPPFLAGS'
44984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44987
44988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44989 /* end confdefs.h. */
44990 #include <math.h>
44991 #ifdef HAVE_IEEEFP_H
44992 #include <ieeefp.h>
44993 #endif
44994
44995 int
44996 main ()
44997 {
44998 _log10l(0);
44999 ;
45000 return 0;
45001 }
45002 _ACEOF
45003 if ac_fn_cxx_try_compile "$LINENO"; then :
45004 glibcxx_cv_func__log10l_use=yes
45005 else
45006 glibcxx_cv_func__log10l_use=no
45007 fi
45008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45009 ac_ext=c
45010 ac_cpp='$CPP $CPPFLAGS'
45011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45014
45015
45016 fi
45017
45018 fi
45019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45020 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45021
45022 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45023 for ac_func in _log10l
45024 do :
45025 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45026 if test "x$ac_cv_func__log10l" = x""yes; then :
45027 cat >>confdefs.h <<_ACEOF
45028 #define HAVE__LOG10L 1
45029 _ACEOF
45030
45031 fi
45032 done
45033
45034 fi
45035 fi
45036
45037
45038
45039
45040
45041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45042 $as_echo_n "checking for modfl declaration... " >&6; }
45043 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45044 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45045 $as_echo_n "(cached) " >&6
45046 else
45047
45048
45049 ac_ext=cpp
45050 ac_cpp='$CXXCPP $CPPFLAGS'
45051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45054
45055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45056 /* end confdefs.h. */
45057 #include <math.h>
45058 int
45059 main ()
45060 {
45061 modfl(0, 0);
45062 ;
45063 return 0;
45064 }
45065 _ACEOF
45066 if ac_fn_cxx_try_compile "$LINENO"; then :
45067 glibcxx_cv_func_modfl_use=yes
45068 else
45069 glibcxx_cv_func_modfl_use=no
45070 fi
45071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45072 ac_ext=c
45073 ac_cpp='$CPP $CPPFLAGS'
45074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45077
45078
45079 fi
45080
45081 fi
45082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45083 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45084
45085 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45086 for ac_func in modfl
45087 do :
45088 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45089 if test "x$ac_cv_func_modfl" = x""yes; then :
45090 cat >>confdefs.h <<_ACEOF
45091 #define HAVE_MODFL 1
45092 _ACEOF
45093
45094 fi
45095 done
45096
45097 else
45098
45099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45100 $as_echo_n "checking for _modfl declaration... " >&6; }
45101 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45102 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45103 $as_echo_n "(cached) " >&6
45104 else
45105
45106
45107 ac_ext=cpp
45108 ac_cpp='$CXXCPP $CPPFLAGS'
45109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45112
45113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45114 /* end confdefs.h. */
45115 #include <math.h>
45116 int
45117 main ()
45118 {
45119 _modfl(0, 0);
45120 ;
45121 return 0;
45122 }
45123 _ACEOF
45124 if ac_fn_cxx_try_compile "$LINENO"; then :
45125 glibcxx_cv_func__modfl_use=yes
45126 else
45127 glibcxx_cv_func__modfl_use=no
45128 fi
45129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45130 ac_ext=c
45131 ac_cpp='$CPP $CPPFLAGS'
45132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45135
45136
45137 fi
45138
45139 fi
45140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45141 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45142
45143 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45144 for ac_func in _modfl
45145 do :
45146 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45147 if test "x$ac_cv_func__modfl" = x""yes; then :
45148 cat >>confdefs.h <<_ACEOF
45149 #define HAVE__MODFL 1
45150 _ACEOF
45151
45152 fi
45153 done
45154
45155 fi
45156 fi
45157
45158
45159
45160
45161
45162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45163 $as_echo_n "checking for powl declaration... " >&6; }
45164 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45165 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45166 $as_echo_n "(cached) " >&6
45167 else
45168
45169
45170 ac_ext=cpp
45171 ac_cpp='$CXXCPP $CPPFLAGS'
45172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45175
45176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45177 /* end confdefs.h. */
45178 #include <math.h>
45179 int
45180 main ()
45181 {
45182 powl(0, 0);
45183 ;
45184 return 0;
45185 }
45186 _ACEOF
45187 if ac_fn_cxx_try_compile "$LINENO"; then :
45188 glibcxx_cv_func_powl_use=yes
45189 else
45190 glibcxx_cv_func_powl_use=no
45191 fi
45192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45193 ac_ext=c
45194 ac_cpp='$CPP $CPPFLAGS'
45195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45198
45199
45200 fi
45201
45202 fi
45203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45204 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45205
45206 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45207 for ac_func in powl
45208 do :
45209 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45210 if test "x$ac_cv_func_powl" = x""yes; then :
45211 cat >>confdefs.h <<_ACEOF
45212 #define HAVE_POWL 1
45213 _ACEOF
45214
45215 fi
45216 done
45217
45218 else
45219
45220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45221 $as_echo_n "checking for _powl declaration... " >&6; }
45222 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45223 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45224 $as_echo_n "(cached) " >&6
45225 else
45226
45227
45228 ac_ext=cpp
45229 ac_cpp='$CXXCPP $CPPFLAGS'
45230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45233
45234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45235 /* end confdefs.h. */
45236 #include <math.h>
45237 int
45238 main ()
45239 {
45240 _powl(0, 0);
45241 ;
45242 return 0;
45243 }
45244 _ACEOF
45245 if ac_fn_cxx_try_compile "$LINENO"; then :
45246 glibcxx_cv_func__powl_use=yes
45247 else
45248 glibcxx_cv_func__powl_use=no
45249 fi
45250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45251 ac_ext=c
45252 ac_cpp='$CPP $CPPFLAGS'
45253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45256
45257
45258 fi
45259
45260 fi
45261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45262 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45263
45264 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45265 for ac_func in _powl
45266 do :
45267 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45268 if test "x$ac_cv_func__powl" = x""yes; then :
45269 cat >>confdefs.h <<_ACEOF
45270 #define HAVE__POWL 1
45271 _ACEOF
45272
45273 fi
45274 done
45275
45276 fi
45277 fi
45278
45279
45280
45281
45282
45283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45284 $as_echo_n "checking for sqrtl declaration... " >&6; }
45285 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45286 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45287 $as_echo_n "(cached) " >&6
45288 else
45289
45290
45291 ac_ext=cpp
45292 ac_cpp='$CXXCPP $CPPFLAGS'
45293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45296
45297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45298 /* end confdefs.h. */
45299 #include <math.h>
45300 #ifdef HAVE_IEEEFP_H
45301 #include <ieeefp.h>
45302 #endif
45303
45304 int
45305 main ()
45306 {
45307 sqrtl(0);
45308 ;
45309 return 0;
45310 }
45311 _ACEOF
45312 if ac_fn_cxx_try_compile "$LINENO"; then :
45313 glibcxx_cv_func_sqrtl_use=yes
45314 else
45315 glibcxx_cv_func_sqrtl_use=no
45316 fi
45317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45318 ac_ext=c
45319 ac_cpp='$CPP $CPPFLAGS'
45320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45323
45324
45325 fi
45326
45327 fi
45328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45329 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45330
45331 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45332 for ac_func in sqrtl
45333 do :
45334 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45335 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45336 cat >>confdefs.h <<_ACEOF
45337 #define HAVE_SQRTL 1
45338 _ACEOF
45339
45340 fi
45341 done
45342
45343 else
45344
45345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45346 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45347 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45348 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45349 $as_echo_n "(cached) " >&6
45350 else
45351
45352
45353 ac_ext=cpp
45354 ac_cpp='$CXXCPP $CPPFLAGS'
45355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45358
45359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45360 /* end confdefs.h. */
45361 #include <math.h>
45362 #ifdef HAVE_IEEEFP_H
45363 #include <ieeefp.h>
45364 #endif
45365
45366 int
45367 main ()
45368 {
45369 _sqrtl(0);
45370 ;
45371 return 0;
45372 }
45373 _ACEOF
45374 if ac_fn_cxx_try_compile "$LINENO"; then :
45375 glibcxx_cv_func__sqrtl_use=yes
45376 else
45377 glibcxx_cv_func__sqrtl_use=no
45378 fi
45379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45380 ac_ext=c
45381 ac_cpp='$CPP $CPPFLAGS'
45382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45385
45386
45387 fi
45388
45389 fi
45390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45391 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45392
45393 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45394 for ac_func in _sqrtl
45395 do :
45396 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45397 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45398 cat >>confdefs.h <<_ACEOF
45399 #define HAVE__SQRTL 1
45400 _ACEOF
45401
45402 fi
45403 done
45404
45405 fi
45406 fi
45407
45408
45409
45410
45411
45412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45413 $as_echo_n "checking for sincosl declaration... " >&6; }
45414 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45415 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45416 $as_echo_n "(cached) " >&6
45417 else
45418
45419
45420 ac_ext=cpp
45421 ac_cpp='$CXXCPP $CPPFLAGS'
45422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45425
45426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45427 /* end confdefs.h. */
45428 #include <math.h>
45429 int
45430 main ()
45431 {
45432 sincosl(0, 0, 0);
45433 ;
45434 return 0;
45435 }
45436 _ACEOF
45437 if ac_fn_cxx_try_compile "$LINENO"; then :
45438 glibcxx_cv_func_sincosl_use=yes
45439 else
45440 glibcxx_cv_func_sincosl_use=no
45441 fi
45442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45443 ac_ext=c
45444 ac_cpp='$CPP $CPPFLAGS'
45445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45448
45449
45450 fi
45451
45452 fi
45453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45454 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45455
45456 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45457 for ac_func in sincosl
45458 do :
45459 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45460 if test "x$ac_cv_func_sincosl" = x""yes; then :
45461 cat >>confdefs.h <<_ACEOF
45462 #define HAVE_SINCOSL 1
45463 _ACEOF
45464
45465 fi
45466 done
45467
45468 else
45469
45470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45471 $as_echo_n "checking for _sincosl declaration... " >&6; }
45472 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45473 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45474 $as_echo_n "(cached) " >&6
45475 else
45476
45477
45478 ac_ext=cpp
45479 ac_cpp='$CXXCPP $CPPFLAGS'
45480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45483
45484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45485 /* end confdefs.h. */
45486 #include <math.h>
45487 int
45488 main ()
45489 {
45490 _sincosl(0, 0, 0);
45491 ;
45492 return 0;
45493 }
45494 _ACEOF
45495 if ac_fn_cxx_try_compile "$LINENO"; then :
45496 glibcxx_cv_func__sincosl_use=yes
45497 else
45498 glibcxx_cv_func__sincosl_use=no
45499 fi
45500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45501 ac_ext=c
45502 ac_cpp='$CPP $CPPFLAGS'
45503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45506
45507
45508 fi
45509
45510 fi
45511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45512 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45513
45514 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45515 for ac_func in _sincosl
45516 do :
45517 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45518 if test "x$ac_cv_func__sincosl" = x""yes; then :
45519 cat >>confdefs.h <<_ACEOF
45520 #define HAVE__SINCOSL 1
45521 _ACEOF
45522
45523 fi
45524 done
45525
45526 fi
45527 fi
45528
45529
45530
45531
45532
45533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45534 $as_echo_n "checking for finitel declaration... " >&6; }
45535 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45536 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45537 $as_echo_n "(cached) " >&6
45538 else
45539
45540
45541 ac_ext=cpp
45542 ac_cpp='$CXXCPP $CPPFLAGS'
45543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45546
45547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45548 /* end confdefs.h. */
45549 #include <math.h>
45550 #ifdef HAVE_IEEEFP_H
45551 #include <ieeefp.h>
45552 #endif
45553
45554 int
45555 main ()
45556 {
45557 finitel(0);
45558 ;
45559 return 0;
45560 }
45561 _ACEOF
45562 if ac_fn_cxx_try_compile "$LINENO"; then :
45563 glibcxx_cv_func_finitel_use=yes
45564 else
45565 glibcxx_cv_func_finitel_use=no
45566 fi
45567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45568 ac_ext=c
45569 ac_cpp='$CPP $CPPFLAGS'
45570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45573
45574
45575 fi
45576
45577 fi
45578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45579 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45580
45581 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45582 for ac_func in finitel
45583 do :
45584 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45585 if test "x$ac_cv_func_finitel" = x""yes; then :
45586 cat >>confdefs.h <<_ACEOF
45587 #define HAVE_FINITEL 1
45588 _ACEOF
45589
45590 fi
45591 done
45592
45593 else
45594
45595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45596 $as_echo_n "checking for _finitel declaration... " >&6; }
45597 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45598 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45599 $as_echo_n "(cached) " >&6
45600 else
45601
45602
45603 ac_ext=cpp
45604 ac_cpp='$CXXCPP $CPPFLAGS'
45605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45608
45609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45610 /* end confdefs.h. */
45611 #include <math.h>
45612 #ifdef HAVE_IEEEFP_H
45613 #include <ieeefp.h>
45614 #endif
45615
45616 int
45617 main ()
45618 {
45619 _finitel(0);
45620 ;
45621 return 0;
45622 }
45623 _ACEOF
45624 if ac_fn_cxx_try_compile "$LINENO"; then :
45625 glibcxx_cv_func__finitel_use=yes
45626 else
45627 glibcxx_cv_func__finitel_use=no
45628 fi
45629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45630 ac_ext=c
45631 ac_cpp='$CPP $CPPFLAGS'
45632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45635
45636
45637 fi
45638
45639 fi
45640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45641 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45642
45643 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45644 for ac_func in _finitel
45645 do :
45646 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45647 if test "x$ac_cv_func__finitel" = x""yes; then :
45648 cat >>confdefs.h <<_ACEOF
45649 #define HAVE__FINITEL 1
45650 _ACEOF
45651
45652 fi
45653 done
45654
45655 fi
45656 fi
45657
45658
45659
45660
45661 LIBS="$ac_save_LIBS"
45662 CXXFLAGS="$ac_save_CXXFLAGS"
45663
45664
45665 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45666 ac_save_CXXFLAGS="$CXXFLAGS"
45667 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45668
45669
45670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45671 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45672 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45673 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45674 $as_echo_n "(cached) " >&6
45675 else
45676
45677
45678 ac_ext=cpp
45679 ac_cpp='$CXXCPP $CPPFLAGS'
45680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45683
45684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45685 /* end confdefs.h. */
45686 #include <stdlib.h>
45687 int
45688 main ()
45689 {
45690 at_quick_exit(0);
45691 ;
45692 return 0;
45693 }
45694 _ACEOF
45695 if ac_fn_cxx_try_compile "$LINENO"; then :
45696 glibcxx_cv_func_at_quick_exit_use=yes
45697 else
45698 glibcxx_cv_func_at_quick_exit_use=no
45699 fi
45700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45701 ac_ext=c
45702 ac_cpp='$CPP $CPPFLAGS'
45703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45706
45707
45708 fi
45709
45710 fi
45711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45712 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45713 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45714 for ac_func in at_quick_exit
45715 do :
45716 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45717 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45718 cat >>confdefs.h <<_ACEOF
45719 #define HAVE_AT_QUICK_EXIT 1
45720 _ACEOF
45721
45722 fi
45723 done
45724
45725 fi
45726
45727
45728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45729 $as_echo_n "checking for quick_exit declaration... " >&6; }
45730 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45731 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45732 $as_echo_n "(cached) " >&6
45733 else
45734
45735
45736 ac_ext=cpp
45737 ac_cpp='$CXXCPP $CPPFLAGS'
45738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45741
45742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45743 /* end confdefs.h. */
45744 #include <stdlib.h>
45745 int
45746 main ()
45747 {
45748 quick_exit(0);
45749 ;
45750 return 0;
45751 }
45752 _ACEOF
45753 if ac_fn_cxx_try_compile "$LINENO"; then :
45754 glibcxx_cv_func_quick_exit_use=yes
45755 else
45756 glibcxx_cv_func_quick_exit_use=no
45757 fi
45758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45759 ac_ext=c
45760 ac_cpp='$CPP $CPPFLAGS'
45761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45764
45765
45766 fi
45767
45768 fi
45769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45770 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45771 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45772 for ac_func in quick_exit
45773 do :
45774 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45775 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45776 cat >>confdefs.h <<_ACEOF
45777 #define HAVE_QUICK_EXIT 1
45778 _ACEOF
45779
45780 fi
45781 done
45782
45783 fi
45784
45785
45786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45787 $as_echo_n "checking for strtold declaration... " >&6; }
45788 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45789 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45790 $as_echo_n "(cached) " >&6
45791 else
45792
45793
45794 ac_ext=cpp
45795 ac_cpp='$CXXCPP $CPPFLAGS'
45796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45799
45800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45801 /* end confdefs.h. */
45802 #include <stdlib.h>
45803 int
45804 main ()
45805 {
45806 strtold(0, 0);
45807 ;
45808 return 0;
45809 }
45810 _ACEOF
45811 if ac_fn_cxx_try_compile "$LINENO"; then :
45812 glibcxx_cv_func_strtold_use=yes
45813 else
45814 glibcxx_cv_func_strtold_use=no
45815 fi
45816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45817 ac_ext=c
45818 ac_cpp='$CPP $CPPFLAGS'
45819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45822
45823
45824 fi
45825
45826 fi
45827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45828 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45829 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45830 for ac_func in strtold
45831 do :
45832 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45833 if test "x$ac_cv_func_strtold" = x""yes; then :
45834 cat >>confdefs.h <<_ACEOF
45835 #define HAVE_STRTOLD 1
45836 _ACEOF
45837
45838 fi
45839 done
45840
45841 fi
45842
45843
45844
45845
45846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45847 $as_echo_n "checking for strtof declaration... " >&6; }
45848 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45849 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45850 $as_echo_n "(cached) " >&6
45851 else
45852
45853
45854 ac_ext=cpp
45855 ac_cpp='$CXXCPP $CPPFLAGS'
45856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45859
45860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45861 /* end confdefs.h. */
45862 #include <stdlib.h>
45863 int
45864 main ()
45865 {
45866 strtof(0, 0);
45867 ;
45868 return 0;
45869 }
45870 _ACEOF
45871 if ac_fn_cxx_try_compile "$LINENO"; then :
45872 glibcxx_cv_func_strtof_use=yes
45873 else
45874 glibcxx_cv_func_strtof_use=no
45875 fi
45876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45877 ac_ext=c
45878 ac_cpp='$CPP $CPPFLAGS'
45879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45882
45883
45884 fi
45885
45886 fi
45887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45888 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45889 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45890 for ac_func in strtof
45891 do :
45892 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45893 if test "x$ac_cv_func_strtof" = x""yes; then :
45894 cat >>confdefs.h <<_ACEOF
45895 #define HAVE_STRTOF 1
45896 _ACEOF
45897
45898 fi
45899 done
45900
45901 fi
45902
45903
45904
45905
45906 CXXFLAGS="$ac_save_CXXFLAGS"
45907
45908 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
45909
45910 # We don't yet support AIX's TLS ABI.
45911 #GCC_CHECK_TLS
45912
45913
45914
45915
45916
45917 am_save_CPPFLAGS="$CPPFLAGS"
45918
45919 for element in $INCICONV; do
45920 haveit=
45921 for x in $CPPFLAGS; do
45922
45923 acl_save_prefix="$prefix"
45924 prefix="$acl_final_prefix"
45925 acl_save_exec_prefix="$exec_prefix"
45926 exec_prefix="$acl_final_exec_prefix"
45927 eval x=\"$x\"
45928 exec_prefix="$acl_save_exec_prefix"
45929 prefix="$acl_save_prefix"
45930
45931 if test "X$x" = "X$element"; then
45932 haveit=yes
45933 break
45934 fi
45935 done
45936 if test -z "$haveit"; then
45937 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
45938 fi
45939 done
45940
45941
45942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
45943 $as_echo_n "checking for iconv... " >&6; }
45944 if test "${am_cv_func_iconv+set}" = set; then :
45945 $as_echo_n "(cached) " >&6
45946 else
45947
45948 am_cv_func_iconv="no, consider installing GNU libiconv"
45949 am_cv_lib_iconv=no
45950 if test x$gcc_no_link = xyes; then
45951 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45952 fi
45953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45954 /* end confdefs.h. */
45955 #include <stdlib.h>
45956 #include <iconv.h>
45957 int
45958 main ()
45959 {
45960 iconv_t cd = iconv_open("","");
45961 iconv(cd,NULL,NULL,NULL,NULL);
45962 iconv_close(cd);
45963 ;
45964 return 0;
45965 }
45966 _ACEOF
45967 if ac_fn_c_try_link "$LINENO"; then :
45968 am_cv_func_iconv=yes
45969 fi
45970 rm -f core conftest.err conftest.$ac_objext \
45971 conftest$ac_exeext conftest.$ac_ext
45972 if test "$am_cv_func_iconv" != yes; then
45973 am_save_LIBS="$LIBS"
45974 LIBS="$LIBS $LIBICONV"
45975 if test x$gcc_no_link = xyes; then
45976 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45977 fi
45978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45979 /* end confdefs.h. */
45980 #include <stdlib.h>
45981 #include <iconv.h>
45982 int
45983 main ()
45984 {
45985 iconv_t cd = iconv_open("","");
45986 iconv(cd,NULL,NULL,NULL,NULL);
45987 iconv_close(cd);
45988 ;
45989 return 0;
45990 }
45991 _ACEOF
45992 if ac_fn_c_try_link "$LINENO"; then :
45993 am_cv_lib_iconv=yes
45994 am_cv_func_iconv=yes
45995 fi
45996 rm -f core conftest.err conftest.$ac_objext \
45997 conftest$ac_exeext conftest.$ac_ext
45998 LIBS="$am_save_LIBS"
45999 fi
46000
46001 fi
46002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46003 $as_echo "$am_cv_func_iconv" >&6; }
46004 if test "$am_cv_func_iconv" = yes; then
46005
46006 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46007
46008 fi
46009 if test "$am_cv_lib_iconv" = yes; then
46010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46011 $as_echo_n "checking how to link with libiconv... " >&6; }
46012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46013 $as_echo "$LIBICONV" >&6; }
46014 else
46015 CPPFLAGS="$am_save_CPPFLAGS"
46016 LIBICONV=
46017 LTLIBICONV=
46018 fi
46019
46020
46021
46022 if test "$am_cv_func_iconv" = yes; then
46023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46024 $as_echo_n "checking for iconv declaration... " >&6; }
46025 if test "${am_cv_proto_iconv+set}" = set; then :
46026 $as_echo_n "(cached) " >&6
46027 else
46028
46029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46030 /* end confdefs.h. */
46031
46032 #include <stdlib.h>
46033 #include <iconv.h>
46034 extern
46035 #ifdef __cplusplus
46036 "C"
46037 #endif
46038 #if defined(__STDC__) || defined(__cplusplus)
46039 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46040 #else
46041 size_t iconv();
46042 #endif
46043
46044 int
46045 main ()
46046 {
46047
46048 ;
46049 return 0;
46050 }
46051 _ACEOF
46052 if ac_fn_c_try_compile "$LINENO"; then :
46053 am_cv_proto_iconv_arg1=""
46054 else
46055 am_cv_proto_iconv_arg1="const"
46056 fi
46057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46058 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);"
46059 fi
46060
46061 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46063 }$am_cv_proto_iconv" >&5
46064 $as_echo "${ac_t:-
46065 }$am_cv_proto_iconv" >&6; }
46066
46067 cat >>confdefs.h <<_ACEOF
46068 #define ICONV_CONST $am_cv_proto_iconv_arg1
46069 _ACEOF
46070
46071 fi
46072
46073 ;;
46074
46075 *-darwin*)
46076 # Darwin versions vary, but the linker should work in a cross environment,
46077 # so we just check for all the features here.
46078 # Check for available headers.
46079
46080 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46081
46082 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46083 ac_save_CXXFLAGS="$CXXFLAGS"
46084 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46085
46086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46087 $as_echo_n "checking for sin in -lm... " >&6; }
46088 if test "${ac_cv_lib_m_sin+set}" = set; then :
46089 $as_echo_n "(cached) " >&6
46090 else
46091 ac_check_lib_save_LIBS=$LIBS
46092 LIBS="-lm $LIBS"
46093 if test x$gcc_no_link = xyes; then
46094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46095 fi
46096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46097 /* end confdefs.h. */
46098
46099 /* Override any GCC internal prototype to avoid an error.
46100 Use char because int might match the return type of a GCC
46101 builtin and then its argument prototype would still apply. */
46102 #ifdef __cplusplus
46103 extern "C"
46104 #endif
46105 char sin ();
46106 int
46107 main ()
46108 {
46109 return sin ();
46110 ;
46111 return 0;
46112 }
46113 _ACEOF
46114 if ac_fn_c_try_link "$LINENO"; then :
46115 ac_cv_lib_m_sin=yes
46116 else
46117 ac_cv_lib_m_sin=no
46118 fi
46119 rm -f core conftest.err conftest.$ac_objext \
46120 conftest$ac_exeext conftest.$ac_ext
46121 LIBS=$ac_check_lib_save_LIBS
46122 fi
46123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46124 $as_echo "$ac_cv_lib_m_sin" >&6; }
46125 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46126 libm="-lm"
46127 fi
46128
46129 ac_save_LIBS="$LIBS"
46130 LIBS="$LIBS $libm"
46131
46132
46133
46134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46135 $as_echo_n "checking for isinf declaration... " >&6; }
46136 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46137 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46138 $as_echo_n "(cached) " >&6
46139 else
46140
46141
46142 ac_ext=cpp
46143 ac_cpp='$CXXCPP $CPPFLAGS'
46144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46147
46148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46149 /* end confdefs.h. */
46150 #include <math.h>
46151 #ifdef HAVE_IEEEFP_H
46152 #include <ieeefp.h>
46153 #endif
46154
46155 int
46156 main ()
46157 {
46158 isinf(0);
46159 ;
46160 return 0;
46161 }
46162 _ACEOF
46163 if ac_fn_cxx_try_compile "$LINENO"; then :
46164 glibcxx_cv_func_isinf_use=yes
46165 else
46166 glibcxx_cv_func_isinf_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_isinf_use" >&5
46180 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46181
46182 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46183 for ac_func in isinf
46184 do :
46185 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46186 if test "x$ac_cv_func_isinf" = x""yes; then :
46187 cat >>confdefs.h <<_ACEOF
46188 #define HAVE_ISINF 1
46189 _ACEOF
46190
46191 fi
46192 done
46193
46194 else
46195
46196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46197 $as_echo_n "checking for _isinf declaration... " >&6; }
46198 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46199 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46200 $as_echo_n "(cached) " >&6
46201 else
46202
46203
46204 ac_ext=cpp
46205 ac_cpp='$CXXCPP $CPPFLAGS'
46206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46209
46210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46211 /* end confdefs.h. */
46212 #include <math.h>
46213 #ifdef HAVE_IEEEFP_H
46214 #include <ieeefp.h>
46215 #endif
46216
46217 int
46218 main ()
46219 {
46220 _isinf(0);
46221 ;
46222 return 0;
46223 }
46224 _ACEOF
46225 if ac_fn_cxx_try_compile "$LINENO"; then :
46226 glibcxx_cv_func__isinf_use=yes
46227 else
46228 glibcxx_cv_func__isinf_use=no
46229 fi
46230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46231 ac_ext=c
46232 ac_cpp='$CPP $CPPFLAGS'
46233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46236
46237
46238 fi
46239
46240 fi
46241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46242 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46243
46244 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46245 for ac_func in _isinf
46246 do :
46247 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46248 if test "x$ac_cv_func__isinf" = x""yes; then :
46249 cat >>confdefs.h <<_ACEOF
46250 #define HAVE__ISINF 1
46251 _ACEOF
46252
46253 fi
46254 done
46255
46256 fi
46257 fi
46258
46259
46260
46261
46262
46263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46264 $as_echo_n "checking for isnan declaration... " >&6; }
46265 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46266 if test "${glibcxx_cv_func_isnan_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 isnan(0);
46288 ;
46289 return 0;
46290 }
46291 _ACEOF
46292 if ac_fn_cxx_try_compile "$LINENO"; then :
46293 glibcxx_cv_func_isnan_use=yes
46294 else
46295 glibcxx_cv_func_isnan_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_isnan_use" >&5
46309 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46310
46311 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46312 for ac_func in isnan
46313 do :
46314 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46315 if test "x$ac_cv_func_isnan" = x""yes; then :
46316 cat >>confdefs.h <<_ACEOF
46317 #define HAVE_ISNAN 1
46318 _ACEOF
46319
46320 fi
46321 done
46322
46323 else
46324
46325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46326 $as_echo_n "checking for _isnan declaration... " >&6; }
46327 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46328 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46329 $as_echo_n "(cached) " >&6
46330 else
46331
46332
46333 ac_ext=cpp
46334 ac_cpp='$CXXCPP $CPPFLAGS'
46335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46338
46339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46340 /* end confdefs.h. */
46341 #include <math.h>
46342 #ifdef HAVE_IEEEFP_H
46343 #include <ieeefp.h>
46344 #endif
46345
46346 int
46347 main ()
46348 {
46349 _isnan(0);
46350 ;
46351 return 0;
46352 }
46353 _ACEOF
46354 if ac_fn_cxx_try_compile "$LINENO"; then :
46355 glibcxx_cv_func__isnan_use=yes
46356 else
46357 glibcxx_cv_func__isnan_use=no
46358 fi
46359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46360 ac_ext=c
46361 ac_cpp='$CPP $CPPFLAGS'
46362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46365
46366
46367 fi
46368
46369 fi
46370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46371 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46372
46373 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46374 for ac_func in _isnan
46375 do :
46376 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46377 if test "x$ac_cv_func__isnan" = x""yes; then :
46378 cat >>confdefs.h <<_ACEOF
46379 #define HAVE__ISNAN 1
46380 _ACEOF
46381
46382 fi
46383 done
46384
46385 fi
46386 fi
46387
46388
46389
46390
46391
46392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46393 $as_echo_n "checking for finite declaration... " >&6; }
46394 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46395 if test "${glibcxx_cv_func_finite_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 finite(0);
46417 ;
46418 return 0;
46419 }
46420 _ACEOF
46421 if ac_fn_cxx_try_compile "$LINENO"; then :
46422 glibcxx_cv_func_finite_use=yes
46423 else
46424 glibcxx_cv_func_finite_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_finite_use" >&5
46438 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46439
46440 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46441 for ac_func in finite
46442 do :
46443 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46444 if test "x$ac_cv_func_finite" = x""yes; then :
46445 cat >>confdefs.h <<_ACEOF
46446 #define HAVE_FINITE 1
46447 _ACEOF
46448
46449 fi
46450 done
46451
46452 else
46453
46454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46455 $as_echo_n "checking for _finite declaration... " >&6; }
46456 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46457 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46458 $as_echo_n "(cached) " >&6
46459 else
46460
46461
46462 ac_ext=cpp
46463 ac_cpp='$CXXCPP $CPPFLAGS'
46464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46467
46468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46469 /* end confdefs.h. */
46470 #include <math.h>
46471 #ifdef HAVE_IEEEFP_H
46472 #include <ieeefp.h>
46473 #endif
46474
46475 int
46476 main ()
46477 {
46478 _finite(0);
46479 ;
46480 return 0;
46481 }
46482 _ACEOF
46483 if ac_fn_cxx_try_compile "$LINENO"; then :
46484 glibcxx_cv_func__finite_use=yes
46485 else
46486 glibcxx_cv_func__finite_use=no
46487 fi
46488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46489 ac_ext=c
46490 ac_cpp='$CPP $CPPFLAGS'
46491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46494
46495
46496 fi
46497
46498 fi
46499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46500 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46501
46502 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46503 for ac_func in _finite
46504 do :
46505 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46506 if test "x$ac_cv_func__finite" = x""yes; then :
46507 cat >>confdefs.h <<_ACEOF
46508 #define HAVE__FINITE 1
46509 _ACEOF
46510
46511 fi
46512 done
46513
46514 fi
46515 fi
46516
46517
46518
46519
46520
46521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46522 $as_echo_n "checking for sincos declaration... " >&6; }
46523 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46524 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46525 $as_echo_n "(cached) " >&6
46526 else
46527
46528
46529 ac_ext=cpp
46530 ac_cpp='$CXXCPP $CPPFLAGS'
46531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46534
46535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46536 /* end confdefs.h. */
46537 #include <math.h>
46538 int
46539 main ()
46540 {
46541 sincos(0, 0, 0);
46542 ;
46543 return 0;
46544 }
46545 _ACEOF
46546 if ac_fn_cxx_try_compile "$LINENO"; then :
46547 glibcxx_cv_func_sincos_use=yes
46548 else
46549 glibcxx_cv_func_sincos_use=no
46550 fi
46551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46552 ac_ext=c
46553 ac_cpp='$CPP $CPPFLAGS'
46554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46557
46558
46559 fi
46560
46561 fi
46562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46563 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46564
46565 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46566 for ac_func in sincos
46567 do :
46568 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46569 if test "x$ac_cv_func_sincos" = x""yes; then :
46570 cat >>confdefs.h <<_ACEOF
46571 #define HAVE_SINCOS 1
46572 _ACEOF
46573
46574 fi
46575 done
46576
46577 else
46578
46579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46580 $as_echo_n "checking for _sincos declaration... " >&6; }
46581 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46582 if test "${glibcxx_cv_func__sincos_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 _sincos(0, 0, 0);
46600 ;
46601 return 0;
46602 }
46603 _ACEOF
46604 if ac_fn_cxx_try_compile "$LINENO"; then :
46605 glibcxx_cv_func__sincos_use=yes
46606 else
46607 glibcxx_cv_func__sincos_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
46617 fi
46618
46619 fi
46620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46621 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46622
46623 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46624 for ac_func in _sincos
46625 do :
46626 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46627 if test "x$ac_cv_func__sincos" = x""yes; then :
46628 cat >>confdefs.h <<_ACEOF
46629 #define HAVE__SINCOS 1
46630 _ACEOF
46631
46632 fi
46633 done
46634
46635 fi
46636 fi
46637
46638
46639
46640
46641
46642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46643 $as_echo_n "checking for fpclass declaration... " >&6; }
46644 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46645 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46646 $as_echo_n "(cached) " >&6
46647 else
46648
46649
46650 ac_ext=cpp
46651 ac_cpp='$CXXCPP $CPPFLAGS'
46652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46655
46656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46657 /* end confdefs.h. */
46658 #include <math.h>
46659 #ifdef HAVE_IEEEFP_H
46660 #include <ieeefp.h>
46661 #endif
46662
46663 int
46664 main ()
46665 {
46666 fpclass(0);
46667 ;
46668 return 0;
46669 }
46670 _ACEOF
46671 if ac_fn_cxx_try_compile "$LINENO"; then :
46672 glibcxx_cv_func_fpclass_use=yes
46673 else
46674 glibcxx_cv_func_fpclass_use=no
46675 fi
46676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46677 ac_ext=c
46678 ac_cpp='$CPP $CPPFLAGS'
46679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46682
46683
46684 fi
46685
46686 fi
46687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46688 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46689
46690 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46691 for ac_func in fpclass
46692 do :
46693 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46694 if test "x$ac_cv_func_fpclass" = x""yes; then :
46695 cat >>confdefs.h <<_ACEOF
46696 #define HAVE_FPCLASS 1
46697 _ACEOF
46698
46699 fi
46700 done
46701
46702 else
46703
46704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46705 $as_echo_n "checking for _fpclass declaration... " >&6; }
46706 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46707 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46708 $as_echo_n "(cached) " >&6
46709 else
46710
46711
46712 ac_ext=cpp
46713 ac_cpp='$CXXCPP $CPPFLAGS'
46714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46717
46718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46719 /* end confdefs.h. */
46720 #include <math.h>
46721 #ifdef HAVE_IEEEFP_H
46722 #include <ieeefp.h>
46723 #endif
46724
46725 int
46726 main ()
46727 {
46728 _fpclass(0);
46729 ;
46730 return 0;
46731 }
46732 _ACEOF
46733 if ac_fn_cxx_try_compile "$LINENO"; then :
46734 glibcxx_cv_func__fpclass_use=yes
46735 else
46736 glibcxx_cv_func__fpclass_use=no
46737 fi
46738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46739 ac_ext=c
46740 ac_cpp='$CPP $CPPFLAGS'
46741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46744
46745
46746 fi
46747
46748 fi
46749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46750 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46751
46752 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46753 for ac_func in _fpclass
46754 do :
46755 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46756 if test "x$ac_cv_func__fpclass" = x""yes; then :
46757 cat >>confdefs.h <<_ACEOF
46758 #define HAVE__FPCLASS 1
46759 _ACEOF
46760
46761 fi
46762 done
46763
46764 fi
46765 fi
46766
46767
46768
46769
46770
46771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46772 $as_echo_n "checking for qfpclass declaration... " >&6; }
46773 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46774 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46775 $as_echo_n "(cached) " >&6
46776 else
46777
46778
46779 ac_ext=cpp
46780 ac_cpp='$CXXCPP $CPPFLAGS'
46781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46784
46785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46786 /* end confdefs.h. */
46787 #include <math.h>
46788 #ifdef HAVE_IEEEFP_H
46789 #include <ieeefp.h>
46790 #endif
46791
46792 int
46793 main ()
46794 {
46795 qfpclass(0);
46796 ;
46797 return 0;
46798 }
46799 _ACEOF
46800 if ac_fn_cxx_try_compile "$LINENO"; then :
46801 glibcxx_cv_func_qfpclass_use=yes
46802 else
46803 glibcxx_cv_func_qfpclass_use=no
46804 fi
46805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46806 ac_ext=c
46807 ac_cpp='$CPP $CPPFLAGS'
46808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46811
46812
46813 fi
46814
46815 fi
46816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46817 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46818
46819 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46820 for ac_func in qfpclass
46821 do :
46822 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46823 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46824 cat >>confdefs.h <<_ACEOF
46825 #define HAVE_QFPCLASS 1
46826 _ACEOF
46827
46828 fi
46829 done
46830
46831 else
46832
46833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46834 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46835 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46836 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46837 $as_echo_n "(cached) " >&6
46838 else
46839
46840
46841 ac_ext=cpp
46842 ac_cpp='$CXXCPP $CPPFLAGS'
46843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46846
46847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46848 /* end confdefs.h. */
46849 #include <math.h>
46850 #ifdef HAVE_IEEEFP_H
46851 #include <ieeefp.h>
46852 #endif
46853
46854 int
46855 main ()
46856 {
46857 _qfpclass(0);
46858 ;
46859 return 0;
46860 }
46861 _ACEOF
46862 if ac_fn_cxx_try_compile "$LINENO"; then :
46863 glibcxx_cv_func__qfpclass_use=yes
46864 else
46865 glibcxx_cv_func__qfpclass_use=no
46866 fi
46867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46868 ac_ext=c
46869 ac_cpp='$CPP $CPPFLAGS'
46870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46873
46874
46875 fi
46876
46877 fi
46878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46879 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46880
46881 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46882 for ac_func in _qfpclass
46883 do :
46884 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46885 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46886 cat >>confdefs.h <<_ACEOF
46887 #define HAVE__QFPCLASS 1
46888 _ACEOF
46889
46890 fi
46891 done
46892
46893 fi
46894 fi
46895
46896
46897
46898
46899
46900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46901 $as_echo_n "checking for hypot declaration... " >&6; }
46902 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46903 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46904 $as_echo_n "(cached) " >&6
46905 else
46906
46907
46908 ac_ext=cpp
46909 ac_cpp='$CXXCPP $CPPFLAGS'
46910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46913
46914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46915 /* end confdefs.h. */
46916 #include <math.h>
46917 int
46918 main ()
46919 {
46920 hypot(0, 0);
46921 ;
46922 return 0;
46923 }
46924 _ACEOF
46925 if ac_fn_cxx_try_compile "$LINENO"; then :
46926 glibcxx_cv_func_hypot_use=yes
46927 else
46928 glibcxx_cv_func_hypot_use=no
46929 fi
46930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46931 ac_ext=c
46932 ac_cpp='$CPP $CPPFLAGS'
46933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46936
46937
46938 fi
46939
46940 fi
46941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46942 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46943
46944 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46945 for ac_func in hypot
46946 do :
46947 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46948 if test "x$ac_cv_func_hypot" = x""yes; then :
46949 cat >>confdefs.h <<_ACEOF
46950 #define HAVE_HYPOT 1
46951 _ACEOF
46952
46953 fi
46954 done
46955
46956 else
46957
46958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46959 $as_echo_n "checking for _hypot declaration... " >&6; }
46960 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46961 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46962 $as_echo_n "(cached) " >&6
46963 else
46964
46965
46966 ac_ext=cpp
46967 ac_cpp='$CXXCPP $CPPFLAGS'
46968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46971
46972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46973 /* end confdefs.h. */
46974 #include <math.h>
46975 int
46976 main ()
46977 {
46978 _hypot(0, 0);
46979 ;
46980 return 0;
46981 }
46982 _ACEOF
46983 if ac_fn_cxx_try_compile "$LINENO"; then :
46984 glibcxx_cv_func__hypot_use=yes
46985 else
46986 glibcxx_cv_func__hypot_use=no
46987 fi
46988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46989 ac_ext=c
46990 ac_cpp='$CPP $CPPFLAGS'
46991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46994
46995
46996 fi
46997
46998 fi
46999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47000 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47001
47002 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47003 for ac_func in _hypot
47004 do :
47005 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47006 if test "x$ac_cv_func__hypot" = x""yes; then :
47007 cat >>confdefs.h <<_ACEOF
47008 #define HAVE__HYPOT 1
47009 _ACEOF
47010
47011 fi
47012 done
47013
47014 fi
47015 fi
47016
47017
47018
47019
47020
47021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47022 $as_echo_n "checking for float trig functions... " >&6; }
47023 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47024 $as_echo_n "(cached) " >&6
47025 else
47026
47027
47028 ac_ext=cpp
47029 ac_cpp='$CXXCPP $CPPFLAGS'
47030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47033
47034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47035 /* end confdefs.h. */
47036 #include <math.h>
47037 int
47038 main ()
47039 {
47040 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47041 ;
47042 return 0;
47043 }
47044 _ACEOF
47045 if ac_fn_cxx_try_compile "$LINENO"; then :
47046 glibcxx_cv_func_float_trig_use=yes
47047 else
47048 glibcxx_cv_func_float_trig_use=no
47049 fi
47050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47051 ac_ext=c
47052 ac_cpp='$CPP $CPPFLAGS'
47053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47056
47057 fi
47058
47059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47060 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47061 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47062 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47063 do :
47064 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47066 eval as_val=\$$as_ac_var
47067 if test "x$as_val" = x""yes; then :
47068 cat >>confdefs.h <<_ACEOF
47069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47070 _ACEOF
47071
47072 fi
47073 done
47074
47075 else
47076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47077 $as_echo_n "checking for _float trig functions... " >&6; }
47078 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47079 $as_echo_n "(cached) " >&6
47080 else
47081
47082
47083 ac_ext=cpp
47084 ac_cpp='$CXXCPP $CPPFLAGS'
47085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47088
47089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47090 /* end confdefs.h. */
47091 #include <math.h>
47092 int
47093 main ()
47094 {
47095 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47096 ;
47097 return 0;
47098 }
47099 _ACEOF
47100 if ac_fn_cxx_try_compile "$LINENO"; then :
47101 glibcxx_cv_func__float_trig_use=yes
47102 else
47103 glibcxx_cv_func__float_trig_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 fi
47113
47114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47115 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47116 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47117 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47118 do :
47119 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47121 eval as_val=\$$as_ac_var
47122 if test "x$as_val" = x""yes; then :
47123 cat >>confdefs.h <<_ACEOF
47124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47125 _ACEOF
47126
47127 fi
47128 done
47129
47130 fi
47131 fi
47132
47133
47134
47135
47136
47137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47138 $as_echo_n "checking for float round functions... " >&6; }
47139 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47140 $as_echo_n "(cached) " >&6
47141 else
47142
47143
47144 ac_ext=cpp
47145 ac_cpp='$CXXCPP $CPPFLAGS'
47146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47149
47150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47151 /* end confdefs.h. */
47152 #include <math.h>
47153 int
47154 main ()
47155 {
47156 ceilf (0); floorf (0);
47157 ;
47158 return 0;
47159 }
47160 _ACEOF
47161 if ac_fn_cxx_try_compile "$LINENO"; then :
47162 glibcxx_cv_func_float_round_use=yes
47163 else
47164 glibcxx_cv_func_float_round_use=no
47165 fi
47166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47167 ac_ext=c
47168 ac_cpp='$CPP $CPPFLAGS'
47169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47172
47173 fi
47174
47175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47176 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47177 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47178 for ac_func in ceilf floorf
47179 do :
47180 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47181 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47182 eval as_val=\$$as_ac_var
47183 if test "x$as_val" = x""yes; then :
47184 cat >>confdefs.h <<_ACEOF
47185 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47186 _ACEOF
47187
47188 fi
47189 done
47190
47191 else
47192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47193 $as_echo_n "checking for _float round functions... " >&6; }
47194 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47195 $as_echo_n "(cached) " >&6
47196 else
47197
47198
47199 ac_ext=cpp
47200 ac_cpp='$CXXCPP $CPPFLAGS'
47201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47204
47205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47206 /* end confdefs.h. */
47207 #include <math.h>
47208 int
47209 main ()
47210 {
47211 _ceilf (0); _floorf (0);
47212 ;
47213 return 0;
47214 }
47215 _ACEOF
47216 if ac_fn_cxx_try_compile "$LINENO"; then :
47217 glibcxx_cv_func__float_round_use=yes
47218 else
47219 glibcxx_cv_func__float_round_use=no
47220 fi
47221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47222 ac_ext=c
47223 ac_cpp='$CPP $CPPFLAGS'
47224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47227
47228 fi
47229
47230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47231 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47232 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47233 for ac_func in _ceilf _floorf
47234 do :
47235 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47236 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47237 eval as_val=\$$as_ac_var
47238 if test "x$as_val" = x""yes; then :
47239 cat >>confdefs.h <<_ACEOF
47240 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47241 _ACEOF
47242
47243 fi
47244 done
47245
47246 fi
47247 fi
47248
47249
47250
47251
47252
47253
47254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47255 $as_echo_n "checking for expf declaration... " >&6; }
47256 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47257 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47258 $as_echo_n "(cached) " >&6
47259 else
47260
47261
47262 ac_ext=cpp
47263 ac_cpp='$CXXCPP $CPPFLAGS'
47264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47267
47268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47269 /* end confdefs.h. */
47270 #include <math.h>
47271 #ifdef HAVE_IEEEFP_H
47272 #include <ieeefp.h>
47273 #endif
47274
47275 int
47276 main ()
47277 {
47278 expf(0);
47279 ;
47280 return 0;
47281 }
47282 _ACEOF
47283 if ac_fn_cxx_try_compile "$LINENO"; then :
47284 glibcxx_cv_func_expf_use=yes
47285 else
47286 glibcxx_cv_func_expf_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_expf_use" >&5
47300 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47301
47302 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47303 for ac_func in expf
47304 do :
47305 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47306 if test "x$ac_cv_func_expf" = x""yes; then :
47307 cat >>confdefs.h <<_ACEOF
47308 #define HAVE_EXPF 1
47309 _ACEOF
47310
47311 fi
47312 done
47313
47314 else
47315
47316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47317 $as_echo_n "checking for _expf declaration... " >&6; }
47318 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47319 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47320 $as_echo_n "(cached) " >&6
47321 else
47322
47323
47324 ac_ext=cpp
47325 ac_cpp='$CXXCPP $CPPFLAGS'
47326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47329
47330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47331 /* end confdefs.h. */
47332 #include <math.h>
47333 #ifdef HAVE_IEEEFP_H
47334 #include <ieeefp.h>
47335 #endif
47336
47337 int
47338 main ()
47339 {
47340 _expf(0);
47341 ;
47342 return 0;
47343 }
47344 _ACEOF
47345 if ac_fn_cxx_try_compile "$LINENO"; then :
47346 glibcxx_cv_func__expf_use=yes
47347 else
47348 glibcxx_cv_func__expf_use=no
47349 fi
47350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47351 ac_ext=c
47352 ac_cpp='$CPP $CPPFLAGS'
47353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47356
47357
47358 fi
47359
47360 fi
47361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47362 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47363
47364 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47365 for ac_func in _expf
47366 do :
47367 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47368 if test "x$ac_cv_func__expf" = x""yes; then :
47369 cat >>confdefs.h <<_ACEOF
47370 #define HAVE__EXPF 1
47371 _ACEOF
47372
47373 fi
47374 done
47375
47376 fi
47377 fi
47378
47379
47380
47381
47382
47383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47384 $as_echo_n "checking for isnanf declaration... " >&6; }
47385 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47386 if test "${glibcxx_cv_func_isnanf_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 isnanf(0);
47408 ;
47409 return 0;
47410 }
47411 _ACEOF
47412 if ac_fn_cxx_try_compile "$LINENO"; then :
47413 glibcxx_cv_func_isnanf_use=yes
47414 else
47415 glibcxx_cv_func_isnanf_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_isnanf_use" >&5
47429 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47430
47431 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47432 for ac_func in isnanf
47433 do :
47434 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47435 if test "x$ac_cv_func_isnanf" = x""yes; then :
47436 cat >>confdefs.h <<_ACEOF
47437 #define HAVE_ISNANF 1
47438 _ACEOF
47439
47440 fi
47441 done
47442
47443 else
47444
47445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47446 $as_echo_n "checking for _isnanf declaration... " >&6; }
47447 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47448 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47449 $as_echo_n "(cached) " >&6
47450 else
47451
47452
47453 ac_ext=cpp
47454 ac_cpp='$CXXCPP $CPPFLAGS'
47455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47458
47459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47460 /* end confdefs.h. */
47461 #include <math.h>
47462 #ifdef HAVE_IEEEFP_H
47463 #include <ieeefp.h>
47464 #endif
47465
47466 int
47467 main ()
47468 {
47469 _isnanf(0);
47470 ;
47471 return 0;
47472 }
47473 _ACEOF
47474 if ac_fn_cxx_try_compile "$LINENO"; then :
47475 glibcxx_cv_func__isnanf_use=yes
47476 else
47477 glibcxx_cv_func__isnanf_use=no
47478 fi
47479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47480 ac_ext=c
47481 ac_cpp='$CPP $CPPFLAGS'
47482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47485
47486
47487 fi
47488
47489 fi
47490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47491 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47492
47493 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47494 for ac_func in _isnanf
47495 do :
47496 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47497 if test "x$ac_cv_func__isnanf" = x""yes; then :
47498 cat >>confdefs.h <<_ACEOF
47499 #define HAVE__ISNANF 1
47500 _ACEOF
47501
47502 fi
47503 done
47504
47505 fi
47506 fi
47507
47508
47509
47510
47511
47512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47513 $as_echo_n "checking for isinff declaration... " >&6; }
47514 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47515 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47516 $as_echo_n "(cached) " >&6
47517 else
47518
47519
47520 ac_ext=cpp
47521 ac_cpp='$CXXCPP $CPPFLAGS'
47522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47525
47526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47527 /* end confdefs.h. */
47528 #include <math.h>
47529 #ifdef HAVE_IEEEFP_H
47530 #include <ieeefp.h>
47531 #endif
47532
47533 int
47534 main ()
47535 {
47536 isinff(0);
47537 ;
47538 return 0;
47539 }
47540 _ACEOF
47541 if ac_fn_cxx_try_compile "$LINENO"; then :
47542 glibcxx_cv_func_isinff_use=yes
47543 else
47544 glibcxx_cv_func_isinff_use=no
47545 fi
47546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47547 ac_ext=c
47548 ac_cpp='$CPP $CPPFLAGS'
47549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47552
47553
47554 fi
47555
47556 fi
47557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47558 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47559
47560 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47561 for ac_func in isinff
47562 do :
47563 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47564 if test "x$ac_cv_func_isinff" = x""yes; then :
47565 cat >>confdefs.h <<_ACEOF
47566 #define HAVE_ISINFF 1
47567 _ACEOF
47568
47569 fi
47570 done
47571
47572 else
47573
47574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47575 $as_echo_n "checking for _isinff declaration... " >&6; }
47576 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47577 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47578 $as_echo_n "(cached) " >&6
47579 else
47580
47581
47582 ac_ext=cpp
47583 ac_cpp='$CXXCPP $CPPFLAGS'
47584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47587
47588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47589 /* end confdefs.h. */
47590 #include <math.h>
47591 #ifdef HAVE_IEEEFP_H
47592 #include <ieeefp.h>
47593 #endif
47594
47595 int
47596 main ()
47597 {
47598 _isinff(0);
47599 ;
47600 return 0;
47601 }
47602 _ACEOF
47603 if ac_fn_cxx_try_compile "$LINENO"; then :
47604 glibcxx_cv_func__isinff_use=yes
47605 else
47606 glibcxx_cv_func__isinff_use=no
47607 fi
47608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47609 ac_ext=c
47610 ac_cpp='$CPP $CPPFLAGS'
47611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47614
47615
47616 fi
47617
47618 fi
47619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47620 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47621
47622 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47623 for ac_func in _isinff
47624 do :
47625 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47626 if test "x$ac_cv_func__isinff" = x""yes; then :
47627 cat >>confdefs.h <<_ACEOF
47628 #define HAVE__ISINFF 1
47629 _ACEOF
47630
47631 fi
47632 done
47633
47634 fi
47635 fi
47636
47637
47638
47639
47640
47641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47642 $as_echo_n "checking for atan2f declaration... " >&6; }
47643 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47644 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47645 $as_echo_n "(cached) " >&6
47646 else
47647
47648
47649 ac_ext=cpp
47650 ac_cpp='$CXXCPP $CPPFLAGS'
47651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47654
47655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47656 /* end confdefs.h. */
47657 #include <math.h>
47658 int
47659 main ()
47660 {
47661 atan2f(0, 0);
47662 ;
47663 return 0;
47664 }
47665 _ACEOF
47666 if ac_fn_cxx_try_compile "$LINENO"; then :
47667 glibcxx_cv_func_atan2f_use=yes
47668 else
47669 glibcxx_cv_func_atan2f_use=no
47670 fi
47671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47672 ac_ext=c
47673 ac_cpp='$CPP $CPPFLAGS'
47674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47677
47678
47679 fi
47680
47681 fi
47682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47683 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47684
47685 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47686 for ac_func in atan2f
47687 do :
47688 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47689 if test "x$ac_cv_func_atan2f" = x""yes; then :
47690 cat >>confdefs.h <<_ACEOF
47691 #define HAVE_ATAN2F 1
47692 _ACEOF
47693
47694 fi
47695 done
47696
47697 else
47698
47699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47700 $as_echo_n "checking for _atan2f declaration... " >&6; }
47701 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47702 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47703 $as_echo_n "(cached) " >&6
47704 else
47705
47706
47707 ac_ext=cpp
47708 ac_cpp='$CXXCPP $CPPFLAGS'
47709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47712
47713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47714 /* end confdefs.h. */
47715 #include <math.h>
47716 int
47717 main ()
47718 {
47719 _atan2f(0, 0);
47720 ;
47721 return 0;
47722 }
47723 _ACEOF
47724 if ac_fn_cxx_try_compile "$LINENO"; then :
47725 glibcxx_cv_func__atan2f_use=yes
47726 else
47727 glibcxx_cv_func__atan2f_use=no
47728 fi
47729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47730 ac_ext=c
47731 ac_cpp='$CPP $CPPFLAGS'
47732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47735
47736
47737 fi
47738
47739 fi
47740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47741 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47742
47743 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47744 for ac_func in _atan2f
47745 do :
47746 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47747 if test "x$ac_cv_func__atan2f" = x""yes; then :
47748 cat >>confdefs.h <<_ACEOF
47749 #define HAVE__ATAN2F 1
47750 _ACEOF
47751
47752 fi
47753 done
47754
47755 fi
47756 fi
47757
47758
47759
47760
47761
47762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47763 $as_echo_n "checking for fabsf declaration... " >&6; }
47764 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47765 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47766 $as_echo_n "(cached) " >&6
47767 else
47768
47769
47770 ac_ext=cpp
47771 ac_cpp='$CXXCPP $CPPFLAGS'
47772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47775
47776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47777 /* end confdefs.h. */
47778 #include <math.h>
47779 #ifdef HAVE_IEEEFP_H
47780 #include <ieeefp.h>
47781 #endif
47782
47783 int
47784 main ()
47785 {
47786 fabsf(0);
47787 ;
47788 return 0;
47789 }
47790 _ACEOF
47791 if ac_fn_cxx_try_compile "$LINENO"; then :
47792 glibcxx_cv_func_fabsf_use=yes
47793 else
47794 glibcxx_cv_func_fabsf_use=no
47795 fi
47796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47797 ac_ext=c
47798 ac_cpp='$CPP $CPPFLAGS'
47799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47802
47803
47804 fi
47805
47806 fi
47807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47808 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47809
47810 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47811 for ac_func in fabsf
47812 do :
47813 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47814 if test "x$ac_cv_func_fabsf" = x""yes; then :
47815 cat >>confdefs.h <<_ACEOF
47816 #define HAVE_FABSF 1
47817 _ACEOF
47818
47819 fi
47820 done
47821
47822 else
47823
47824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47825 $as_echo_n "checking for _fabsf declaration... " >&6; }
47826 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47827 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47828 $as_echo_n "(cached) " >&6
47829 else
47830
47831
47832 ac_ext=cpp
47833 ac_cpp='$CXXCPP $CPPFLAGS'
47834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47837
47838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47839 /* end confdefs.h. */
47840 #include <math.h>
47841 #ifdef HAVE_IEEEFP_H
47842 #include <ieeefp.h>
47843 #endif
47844
47845 int
47846 main ()
47847 {
47848 _fabsf(0);
47849 ;
47850 return 0;
47851 }
47852 _ACEOF
47853 if ac_fn_cxx_try_compile "$LINENO"; then :
47854 glibcxx_cv_func__fabsf_use=yes
47855 else
47856 glibcxx_cv_func__fabsf_use=no
47857 fi
47858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47859 ac_ext=c
47860 ac_cpp='$CPP $CPPFLAGS'
47861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47864
47865
47866 fi
47867
47868 fi
47869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47870 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47871
47872 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47873 for ac_func in _fabsf
47874 do :
47875 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47876 if test "x$ac_cv_func__fabsf" = x""yes; then :
47877 cat >>confdefs.h <<_ACEOF
47878 #define HAVE__FABSF 1
47879 _ACEOF
47880
47881 fi
47882 done
47883
47884 fi
47885 fi
47886
47887
47888
47889
47890
47891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47892 $as_echo_n "checking for fmodf declaration... " >&6; }
47893 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47894 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47895 $as_echo_n "(cached) " >&6
47896 else
47897
47898
47899 ac_ext=cpp
47900 ac_cpp='$CXXCPP $CPPFLAGS'
47901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47904
47905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47906 /* end confdefs.h. */
47907 #include <math.h>
47908 int
47909 main ()
47910 {
47911 fmodf(0, 0);
47912 ;
47913 return 0;
47914 }
47915 _ACEOF
47916 if ac_fn_cxx_try_compile "$LINENO"; then :
47917 glibcxx_cv_func_fmodf_use=yes
47918 else
47919 glibcxx_cv_func_fmodf_use=no
47920 fi
47921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47922 ac_ext=c
47923 ac_cpp='$CPP $CPPFLAGS'
47924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47927
47928
47929 fi
47930
47931 fi
47932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47933 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47934
47935 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47936 for ac_func in fmodf
47937 do :
47938 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47939 if test "x$ac_cv_func_fmodf" = x""yes; then :
47940 cat >>confdefs.h <<_ACEOF
47941 #define HAVE_FMODF 1
47942 _ACEOF
47943
47944 fi
47945 done
47946
47947 else
47948
47949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47950 $as_echo_n "checking for _fmodf declaration... " >&6; }
47951 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47952 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47953 $as_echo_n "(cached) " >&6
47954 else
47955
47956
47957 ac_ext=cpp
47958 ac_cpp='$CXXCPP $CPPFLAGS'
47959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47962
47963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47964 /* end confdefs.h. */
47965 #include <math.h>
47966 int
47967 main ()
47968 {
47969 _fmodf(0, 0);
47970 ;
47971 return 0;
47972 }
47973 _ACEOF
47974 if ac_fn_cxx_try_compile "$LINENO"; then :
47975 glibcxx_cv_func__fmodf_use=yes
47976 else
47977 glibcxx_cv_func__fmodf_use=no
47978 fi
47979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47980 ac_ext=c
47981 ac_cpp='$CPP $CPPFLAGS'
47982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47985
47986
47987 fi
47988
47989 fi
47990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47991 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47992
47993 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47994 for ac_func in _fmodf
47995 do :
47996 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47997 if test "x$ac_cv_func__fmodf" = x""yes; then :
47998 cat >>confdefs.h <<_ACEOF
47999 #define HAVE__FMODF 1
48000 _ACEOF
48001
48002 fi
48003 done
48004
48005 fi
48006 fi
48007
48008
48009
48010
48011
48012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48013 $as_echo_n "checking for frexpf declaration... " >&6; }
48014 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48015 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48016 $as_echo_n "(cached) " >&6
48017 else
48018
48019
48020 ac_ext=cpp
48021 ac_cpp='$CXXCPP $CPPFLAGS'
48022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48025
48026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48027 /* end confdefs.h. */
48028 #include <math.h>
48029 int
48030 main ()
48031 {
48032 frexpf(0, 0);
48033 ;
48034 return 0;
48035 }
48036 _ACEOF
48037 if ac_fn_cxx_try_compile "$LINENO"; then :
48038 glibcxx_cv_func_frexpf_use=yes
48039 else
48040 glibcxx_cv_func_frexpf_use=no
48041 fi
48042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48043 ac_ext=c
48044 ac_cpp='$CPP $CPPFLAGS'
48045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48048
48049
48050 fi
48051
48052 fi
48053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48054 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48055
48056 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48057 for ac_func in frexpf
48058 do :
48059 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48060 if test "x$ac_cv_func_frexpf" = x""yes; then :
48061 cat >>confdefs.h <<_ACEOF
48062 #define HAVE_FREXPF 1
48063 _ACEOF
48064
48065 fi
48066 done
48067
48068 else
48069
48070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48071 $as_echo_n "checking for _frexpf declaration... " >&6; }
48072 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48073 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48074 $as_echo_n "(cached) " >&6
48075 else
48076
48077
48078 ac_ext=cpp
48079 ac_cpp='$CXXCPP $CPPFLAGS'
48080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48083
48084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48085 /* end confdefs.h. */
48086 #include <math.h>
48087 int
48088 main ()
48089 {
48090 _frexpf(0, 0);
48091 ;
48092 return 0;
48093 }
48094 _ACEOF
48095 if ac_fn_cxx_try_compile "$LINENO"; then :
48096 glibcxx_cv_func__frexpf_use=yes
48097 else
48098 glibcxx_cv_func__frexpf_use=no
48099 fi
48100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48101 ac_ext=c
48102 ac_cpp='$CPP $CPPFLAGS'
48103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48106
48107
48108 fi
48109
48110 fi
48111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48112 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48113
48114 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48115 for ac_func in _frexpf
48116 do :
48117 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48118 if test "x$ac_cv_func__frexpf" = x""yes; then :
48119 cat >>confdefs.h <<_ACEOF
48120 #define HAVE__FREXPF 1
48121 _ACEOF
48122
48123 fi
48124 done
48125
48126 fi
48127 fi
48128
48129
48130
48131
48132
48133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48134 $as_echo_n "checking for hypotf declaration... " >&6; }
48135 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48136 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48137 $as_echo_n "(cached) " >&6
48138 else
48139
48140
48141 ac_ext=cpp
48142 ac_cpp='$CXXCPP $CPPFLAGS'
48143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48146
48147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48148 /* end confdefs.h. */
48149 #include <math.h>
48150 int
48151 main ()
48152 {
48153 hypotf(0, 0);
48154 ;
48155 return 0;
48156 }
48157 _ACEOF
48158 if ac_fn_cxx_try_compile "$LINENO"; then :
48159 glibcxx_cv_func_hypotf_use=yes
48160 else
48161 glibcxx_cv_func_hypotf_use=no
48162 fi
48163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48164 ac_ext=c
48165 ac_cpp='$CPP $CPPFLAGS'
48166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48169
48170
48171 fi
48172
48173 fi
48174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48175 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48176
48177 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48178 for ac_func in hypotf
48179 do :
48180 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48181 if test "x$ac_cv_func_hypotf" = x""yes; then :
48182 cat >>confdefs.h <<_ACEOF
48183 #define HAVE_HYPOTF 1
48184 _ACEOF
48185
48186 fi
48187 done
48188
48189 else
48190
48191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48192 $as_echo_n "checking for _hypotf declaration... " >&6; }
48193 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48194 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48195 $as_echo_n "(cached) " >&6
48196 else
48197
48198
48199 ac_ext=cpp
48200 ac_cpp='$CXXCPP $CPPFLAGS'
48201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48204
48205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48206 /* end confdefs.h. */
48207 #include <math.h>
48208 int
48209 main ()
48210 {
48211 _hypotf(0, 0);
48212 ;
48213 return 0;
48214 }
48215 _ACEOF
48216 if ac_fn_cxx_try_compile "$LINENO"; then :
48217 glibcxx_cv_func__hypotf_use=yes
48218 else
48219 glibcxx_cv_func__hypotf_use=no
48220 fi
48221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48222 ac_ext=c
48223 ac_cpp='$CPP $CPPFLAGS'
48224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48227
48228
48229 fi
48230
48231 fi
48232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48233 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48234
48235 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48236 for ac_func in _hypotf
48237 do :
48238 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48239 if test "x$ac_cv_func__hypotf" = x""yes; then :
48240 cat >>confdefs.h <<_ACEOF
48241 #define HAVE__HYPOTF 1
48242 _ACEOF
48243
48244 fi
48245 done
48246
48247 fi
48248 fi
48249
48250
48251
48252
48253
48254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48255 $as_echo_n "checking for ldexpf declaration... " >&6; }
48256 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48257 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48258 $as_echo_n "(cached) " >&6
48259 else
48260
48261
48262 ac_ext=cpp
48263 ac_cpp='$CXXCPP $CPPFLAGS'
48264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48267
48268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48269 /* end confdefs.h. */
48270 #include <math.h>
48271 int
48272 main ()
48273 {
48274 ldexpf(0, 0);
48275 ;
48276 return 0;
48277 }
48278 _ACEOF
48279 if ac_fn_cxx_try_compile "$LINENO"; then :
48280 glibcxx_cv_func_ldexpf_use=yes
48281 else
48282 glibcxx_cv_func_ldexpf_use=no
48283 fi
48284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48285 ac_ext=c
48286 ac_cpp='$CPP $CPPFLAGS'
48287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48290
48291
48292 fi
48293
48294 fi
48295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48296 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48297
48298 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48299 for ac_func in ldexpf
48300 do :
48301 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48302 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48303 cat >>confdefs.h <<_ACEOF
48304 #define HAVE_LDEXPF 1
48305 _ACEOF
48306
48307 fi
48308 done
48309
48310 else
48311
48312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48313 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48314 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48315 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48316 $as_echo_n "(cached) " >&6
48317 else
48318
48319
48320 ac_ext=cpp
48321 ac_cpp='$CXXCPP $CPPFLAGS'
48322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48325
48326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48327 /* end confdefs.h. */
48328 #include <math.h>
48329 int
48330 main ()
48331 {
48332 _ldexpf(0, 0);
48333 ;
48334 return 0;
48335 }
48336 _ACEOF
48337 if ac_fn_cxx_try_compile "$LINENO"; then :
48338 glibcxx_cv_func__ldexpf_use=yes
48339 else
48340 glibcxx_cv_func__ldexpf_use=no
48341 fi
48342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48343 ac_ext=c
48344 ac_cpp='$CPP $CPPFLAGS'
48345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48348
48349
48350 fi
48351
48352 fi
48353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48354 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48355
48356 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48357 for ac_func in _ldexpf
48358 do :
48359 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48360 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48361 cat >>confdefs.h <<_ACEOF
48362 #define HAVE__LDEXPF 1
48363 _ACEOF
48364
48365 fi
48366 done
48367
48368 fi
48369 fi
48370
48371
48372
48373
48374
48375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48376 $as_echo_n "checking for logf declaration... " >&6; }
48377 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48378 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48379 $as_echo_n "(cached) " >&6
48380 else
48381
48382
48383 ac_ext=cpp
48384 ac_cpp='$CXXCPP $CPPFLAGS'
48385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48388
48389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48390 /* end confdefs.h. */
48391 #include <math.h>
48392 #ifdef HAVE_IEEEFP_H
48393 #include <ieeefp.h>
48394 #endif
48395
48396 int
48397 main ()
48398 {
48399 logf(0);
48400 ;
48401 return 0;
48402 }
48403 _ACEOF
48404 if ac_fn_cxx_try_compile "$LINENO"; then :
48405 glibcxx_cv_func_logf_use=yes
48406 else
48407 glibcxx_cv_func_logf_use=no
48408 fi
48409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48410 ac_ext=c
48411 ac_cpp='$CPP $CPPFLAGS'
48412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48415
48416
48417 fi
48418
48419 fi
48420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48421 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48422
48423 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48424 for ac_func in logf
48425 do :
48426 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48427 if test "x$ac_cv_func_logf" = x""yes; then :
48428 cat >>confdefs.h <<_ACEOF
48429 #define HAVE_LOGF 1
48430 _ACEOF
48431
48432 fi
48433 done
48434
48435 else
48436
48437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48438 $as_echo_n "checking for _logf declaration... " >&6; }
48439 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48440 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48441 $as_echo_n "(cached) " >&6
48442 else
48443
48444
48445 ac_ext=cpp
48446 ac_cpp='$CXXCPP $CPPFLAGS'
48447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48450
48451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48452 /* end confdefs.h. */
48453 #include <math.h>
48454 #ifdef HAVE_IEEEFP_H
48455 #include <ieeefp.h>
48456 #endif
48457
48458 int
48459 main ()
48460 {
48461 _logf(0);
48462 ;
48463 return 0;
48464 }
48465 _ACEOF
48466 if ac_fn_cxx_try_compile "$LINENO"; then :
48467 glibcxx_cv_func__logf_use=yes
48468 else
48469 glibcxx_cv_func__logf_use=no
48470 fi
48471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48472 ac_ext=c
48473 ac_cpp='$CPP $CPPFLAGS'
48474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48477
48478
48479 fi
48480
48481 fi
48482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48483 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48484
48485 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48486 for ac_func in _logf
48487 do :
48488 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48489 if test "x$ac_cv_func__logf" = x""yes; then :
48490 cat >>confdefs.h <<_ACEOF
48491 #define HAVE__LOGF 1
48492 _ACEOF
48493
48494 fi
48495 done
48496
48497 fi
48498 fi
48499
48500
48501
48502
48503
48504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48505 $as_echo_n "checking for log10f declaration... " >&6; }
48506 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48507 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48508 $as_echo_n "(cached) " >&6
48509 else
48510
48511
48512 ac_ext=cpp
48513 ac_cpp='$CXXCPP $CPPFLAGS'
48514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48517
48518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48519 /* end confdefs.h. */
48520 #include <math.h>
48521 #ifdef HAVE_IEEEFP_H
48522 #include <ieeefp.h>
48523 #endif
48524
48525 int
48526 main ()
48527 {
48528 log10f(0);
48529 ;
48530 return 0;
48531 }
48532 _ACEOF
48533 if ac_fn_cxx_try_compile "$LINENO"; then :
48534 glibcxx_cv_func_log10f_use=yes
48535 else
48536 glibcxx_cv_func_log10f_use=no
48537 fi
48538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48539 ac_ext=c
48540 ac_cpp='$CPP $CPPFLAGS'
48541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48544
48545
48546 fi
48547
48548 fi
48549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48550 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48551
48552 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48553 for ac_func in log10f
48554 do :
48555 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48556 if test "x$ac_cv_func_log10f" = x""yes; then :
48557 cat >>confdefs.h <<_ACEOF
48558 #define HAVE_LOG10F 1
48559 _ACEOF
48560
48561 fi
48562 done
48563
48564 else
48565
48566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48567 $as_echo_n "checking for _log10f declaration... " >&6; }
48568 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48569 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48570 $as_echo_n "(cached) " >&6
48571 else
48572
48573
48574 ac_ext=cpp
48575 ac_cpp='$CXXCPP $CPPFLAGS'
48576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48579
48580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48581 /* end confdefs.h. */
48582 #include <math.h>
48583 #ifdef HAVE_IEEEFP_H
48584 #include <ieeefp.h>
48585 #endif
48586
48587 int
48588 main ()
48589 {
48590 _log10f(0);
48591 ;
48592 return 0;
48593 }
48594 _ACEOF
48595 if ac_fn_cxx_try_compile "$LINENO"; then :
48596 glibcxx_cv_func__log10f_use=yes
48597 else
48598 glibcxx_cv_func__log10f_use=no
48599 fi
48600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48601 ac_ext=c
48602 ac_cpp='$CPP $CPPFLAGS'
48603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48606
48607
48608 fi
48609
48610 fi
48611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48612 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48613
48614 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48615 for ac_func in _log10f
48616 do :
48617 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48618 if test "x$ac_cv_func__log10f" = x""yes; then :
48619 cat >>confdefs.h <<_ACEOF
48620 #define HAVE__LOG10F 1
48621 _ACEOF
48622
48623 fi
48624 done
48625
48626 fi
48627 fi
48628
48629
48630
48631
48632
48633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48634 $as_echo_n "checking for modff declaration... " >&6; }
48635 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48636 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48637 $as_echo_n "(cached) " >&6
48638 else
48639
48640
48641 ac_ext=cpp
48642 ac_cpp='$CXXCPP $CPPFLAGS'
48643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48646
48647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48648 /* end confdefs.h. */
48649 #include <math.h>
48650 int
48651 main ()
48652 {
48653 modff(0, 0);
48654 ;
48655 return 0;
48656 }
48657 _ACEOF
48658 if ac_fn_cxx_try_compile "$LINENO"; then :
48659 glibcxx_cv_func_modff_use=yes
48660 else
48661 glibcxx_cv_func_modff_use=no
48662 fi
48663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48664 ac_ext=c
48665 ac_cpp='$CPP $CPPFLAGS'
48666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48669
48670
48671 fi
48672
48673 fi
48674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48675 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48676
48677 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48678 for ac_func in modff
48679 do :
48680 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48681 if test "x$ac_cv_func_modff" = x""yes; then :
48682 cat >>confdefs.h <<_ACEOF
48683 #define HAVE_MODFF 1
48684 _ACEOF
48685
48686 fi
48687 done
48688
48689 else
48690
48691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48692 $as_echo_n "checking for _modff declaration... " >&6; }
48693 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48694 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48695 $as_echo_n "(cached) " >&6
48696 else
48697
48698
48699 ac_ext=cpp
48700 ac_cpp='$CXXCPP $CPPFLAGS'
48701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48704
48705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48706 /* end confdefs.h. */
48707 #include <math.h>
48708 int
48709 main ()
48710 {
48711 _modff(0, 0);
48712 ;
48713 return 0;
48714 }
48715 _ACEOF
48716 if ac_fn_cxx_try_compile "$LINENO"; then :
48717 glibcxx_cv_func__modff_use=yes
48718 else
48719 glibcxx_cv_func__modff_use=no
48720 fi
48721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48722 ac_ext=c
48723 ac_cpp='$CPP $CPPFLAGS'
48724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48727
48728
48729 fi
48730
48731 fi
48732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48733 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48734
48735 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48736 for ac_func in _modff
48737 do :
48738 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48739 if test "x$ac_cv_func__modff" = x""yes; then :
48740 cat >>confdefs.h <<_ACEOF
48741 #define HAVE__MODFF 1
48742 _ACEOF
48743
48744 fi
48745 done
48746
48747 fi
48748 fi
48749
48750
48751
48752
48753
48754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48755 $as_echo_n "checking for modf declaration... " >&6; }
48756 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48757 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48758 $as_echo_n "(cached) " >&6
48759 else
48760
48761
48762 ac_ext=cpp
48763 ac_cpp='$CXXCPP $CPPFLAGS'
48764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48767
48768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48769 /* end confdefs.h. */
48770 #include <math.h>
48771 int
48772 main ()
48773 {
48774 modf(0, 0);
48775 ;
48776 return 0;
48777 }
48778 _ACEOF
48779 if ac_fn_cxx_try_compile "$LINENO"; then :
48780 glibcxx_cv_func_modf_use=yes
48781 else
48782 glibcxx_cv_func_modf_use=no
48783 fi
48784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48785 ac_ext=c
48786 ac_cpp='$CPP $CPPFLAGS'
48787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48790
48791
48792 fi
48793
48794 fi
48795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48796 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48797
48798 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48799 for ac_func in modf
48800 do :
48801 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48802 if test "x$ac_cv_func_modf" = x""yes; then :
48803 cat >>confdefs.h <<_ACEOF
48804 #define HAVE_MODF 1
48805 _ACEOF
48806
48807 fi
48808 done
48809
48810 else
48811
48812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48813 $as_echo_n "checking for _modf declaration... " >&6; }
48814 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48815 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48816 $as_echo_n "(cached) " >&6
48817 else
48818
48819
48820 ac_ext=cpp
48821 ac_cpp='$CXXCPP $CPPFLAGS'
48822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48825
48826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48827 /* end confdefs.h. */
48828 #include <math.h>
48829 int
48830 main ()
48831 {
48832 _modf(0, 0);
48833 ;
48834 return 0;
48835 }
48836 _ACEOF
48837 if ac_fn_cxx_try_compile "$LINENO"; then :
48838 glibcxx_cv_func__modf_use=yes
48839 else
48840 glibcxx_cv_func__modf_use=no
48841 fi
48842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48843 ac_ext=c
48844 ac_cpp='$CPP $CPPFLAGS'
48845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48848
48849
48850 fi
48851
48852 fi
48853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48854 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48855
48856 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48857 for ac_func in _modf
48858 do :
48859 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48860 if test "x$ac_cv_func__modf" = x""yes; then :
48861 cat >>confdefs.h <<_ACEOF
48862 #define HAVE__MODF 1
48863 _ACEOF
48864
48865 fi
48866 done
48867
48868 fi
48869 fi
48870
48871
48872
48873
48874
48875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48876 $as_echo_n "checking for powf declaration... " >&6; }
48877 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48878 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48879 $as_echo_n "(cached) " >&6
48880 else
48881
48882
48883 ac_ext=cpp
48884 ac_cpp='$CXXCPP $CPPFLAGS'
48885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48888
48889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48890 /* end confdefs.h. */
48891 #include <math.h>
48892 int
48893 main ()
48894 {
48895 powf(0, 0);
48896 ;
48897 return 0;
48898 }
48899 _ACEOF
48900 if ac_fn_cxx_try_compile "$LINENO"; then :
48901 glibcxx_cv_func_powf_use=yes
48902 else
48903 glibcxx_cv_func_powf_use=no
48904 fi
48905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48906 ac_ext=c
48907 ac_cpp='$CPP $CPPFLAGS'
48908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48911
48912
48913 fi
48914
48915 fi
48916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48917 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48918
48919 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48920 for ac_func in powf
48921 do :
48922 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48923 if test "x$ac_cv_func_powf" = x""yes; then :
48924 cat >>confdefs.h <<_ACEOF
48925 #define HAVE_POWF 1
48926 _ACEOF
48927
48928 fi
48929 done
48930
48931 else
48932
48933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48934 $as_echo_n "checking for _powf declaration... " >&6; }
48935 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48936 if test "${glibcxx_cv_func__powf_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 _powf(0, 0);
48954 ;
48955 return 0;
48956 }
48957 _ACEOF
48958 if ac_fn_cxx_try_compile "$LINENO"; then :
48959 glibcxx_cv_func__powf_use=yes
48960 else
48961 glibcxx_cv_func__powf_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
48971 fi
48972
48973 fi
48974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48975 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48976
48977 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48978 for ac_func in _powf
48979 do :
48980 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48981 if test "x$ac_cv_func__powf" = x""yes; then :
48982 cat >>confdefs.h <<_ACEOF
48983 #define HAVE__POWF 1
48984 _ACEOF
48985
48986 fi
48987 done
48988
48989 fi
48990 fi
48991
48992
48993
48994
48995
48996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48997 $as_echo_n "checking for sqrtf declaration... " >&6; }
48998 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48999 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49000 $as_echo_n "(cached) " >&6
49001 else
49002
49003
49004 ac_ext=cpp
49005 ac_cpp='$CXXCPP $CPPFLAGS'
49006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49009
49010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49011 /* end confdefs.h. */
49012 #include <math.h>
49013 #ifdef HAVE_IEEEFP_H
49014 #include <ieeefp.h>
49015 #endif
49016
49017 int
49018 main ()
49019 {
49020 sqrtf(0);
49021 ;
49022 return 0;
49023 }
49024 _ACEOF
49025 if ac_fn_cxx_try_compile "$LINENO"; then :
49026 glibcxx_cv_func_sqrtf_use=yes
49027 else
49028 glibcxx_cv_func_sqrtf_use=no
49029 fi
49030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49031 ac_ext=c
49032 ac_cpp='$CPP $CPPFLAGS'
49033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49036
49037
49038 fi
49039
49040 fi
49041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49042 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49043
49044 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49045 for ac_func in sqrtf
49046 do :
49047 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49048 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49049 cat >>confdefs.h <<_ACEOF
49050 #define HAVE_SQRTF 1
49051 _ACEOF
49052
49053 fi
49054 done
49055
49056 else
49057
49058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49059 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49060 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49061 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49062 $as_echo_n "(cached) " >&6
49063 else
49064
49065
49066 ac_ext=cpp
49067 ac_cpp='$CXXCPP $CPPFLAGS'
49068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49071
49072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49073 /* end confdefs.h. */
49074 #include <math.h>
49075 #ifdef HAVE_IEEEFP_H
49076 #include <ieeefp.h>
49077 #endif
49078
49079 int
49080 main ()
49081 {
49082 _sqrtf(0);
49083 ;
49084 return 0;
49085 }
49086 _ACEOF
49087 if ac_fn_cxx_try_compile "$LINENO"; then :
49088 glibcxx_cv_func__sqrtf_use=yes
49089 else
49090 glibcxx_cv_func__sqrtf_use=no
49091 fi
49092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49093 ac_ext=c
49094 ac_cpp='$CPP $CPPFLAGS'
49095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49098
49099
49100 fi
49101
49102 fi
49103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49104 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49105
49106 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49107 for ac_func in _sqrtf
49108 do :
49109 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49110 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49111 cat >>confdefs.h <<_ACEOF
49112 #define HAVE__SQRTF 1
49113 _ACEOF
49114
49115 fi
49116 done
49117
49118 fi
49119 fi
49120
49121
49122
49123
49124
49125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49126 $as_echo_n "checking for sincosf declaration... " >&6; }
49127 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49128 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49129 $as_echo_n "(cached) " >&6
49130 else
49131
49132
49133 ac_ext=cpp
49134 ac_cpp='$CXXCPP $CPPFLAGS'
49135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49138
49139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49140 /* end confdefs.h. */
49141 #include <math.h>
49142 int
49143 main ()
49144 {
49145 sincosf(0, 0, 0);
49146 ;
49147 return 0;
49148 }
49149 _ACEOF
49150 if ac_fn_cxx_try_compile "$LINENO"; then :
49151 glibcxx_cv_func_sincosf_use=yes
49152 else
49153 glibcxx_cv_func_sincosf_use=no
49154 fi
49155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49156 ac_ext=c
49157 ac_cpp='$CPP $CPPFLAGS'
49158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49161
49162
49163 fi
49164
49165 fi
49166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49167 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49168
49169 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49170 for ac_func in sincosf
49171 do :
49172 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49173 if test "x$ac_cv_func_sincosf" = x""yes; then :
49174 cat >>confdefs.h <<_ACEOF
49175 #define HAVE_SINCOSF 1
49176 _ACEOF
49177
49178 fi
49179 done
49180
49181 else
49182
49183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49184 $as_echo_n "checking for _sincosf declaration... " >&6; }
49185 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49186 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49187 $as_echo_n "(cached) " >&6
49188 else
49189
49190
49191 ac_ext=cpp
49192 ac_cpp='$CXXCPP $CPPFLAGS'
49193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49196
49197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49198 /* end confdefs.h. */
49199 #include <math.h>
49200 int
49201 main ()
49202 {
49203 _sincosf(0, 0, 0);
49204 ;
49205 return 0;
49206 }
49207 _ACEOF
49208 if ac_fn_cxx_try_compile "$LINENO"; then :
49209 glibcxx_cv_func__sincosf_use=yes
49210 else
49211 glibcxx_cv_func__sincosf_use=no
49212 fi
49213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49214 ac_ext=c
49215 ac_cpp='$CPP $CPPFLAGS'
49216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49219
49220
49221 fi
49222
49223 fi
49224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49225 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49226
49227 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49228 for ac_func in _sincosf
49229 do :
49230 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49231 if test "x$ac_cv_func__sincosf" = x""yes; then :
49232 cat >>confdefs.h <<_ACEOF
49233 #define HAVE__SINCOSF 1
49234 _ACEOF
49235
49236 fi
49237 done
49238
49239 fi
49240 fi
49241
49242
49243
49244
49245
49246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49247 $as_echo_n "checking for finitef declaration... " >&6; }
49248 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49249 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49250 $as_echo_n "(cached) " >&6
49251 else
49252
49253
49254 ac_ext=cpp
49255 ac_cpp='$CXXCPP $CPPFLAGS'
49256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49259
49260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49261 /* end confdefs.h. */
49262 #include <math.h>
49263 #ifdef HAVE_IEEEFP_H
49264 #include <ieeefp.h>
49265 #endif
49266
49267 int
49268 main ()
49269 {
49270 finitef(0);
49271 ;
49272 return 0;
49273 }
49274 _ACEOF
49275 if ac_fn_cxx_try_compile "$LINENO"; then :
49276 glibcxx_cv_func_finitef_use=yes
49277 else
49278 glibcxx_cv_func_finitef_use=no
49279 fi
49280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49281 ac_ext=c
49282 ac_cpp='$CPP $CPPFLAGS'
49283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49286
49287
49288 fi
49289
49290 fi
49291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49292 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49293
49294 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49295 for ac_func in finitef
49296 do :
49297 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49298 if test "x$ac_cv_func_finitef" = x""yes; then :
49299 cat >>confdefs.h <<_ACEOF
49300 #define HAVE_FINITEF 1
49301 _ACEOF
49302
49303 fi
49304 done
49305
49306 else
49307
49308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49309 $as_echo_n "checking for _finitef declaration... " >&6; }
49310 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49311 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49312 $as_echo_n "(cached) " >&6
49313 else
49314
49315
49316 ac_ext=cpp
49317 ac_cpp='$CXXCPP $CPPFLAGS'
49318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49321
49322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49323 /* end confdefs.h. */
49324 #include <math.h>
49325 #ifdef HAVE_IEEEFP_H
49326 #include <ieeefp.h>
49327 #endif
49328
49329 int
49330 main ()
49331 {
49332 _finitef(0);
49333 ;
49334 return 0;
49335 }
49336 _ACEOF
49337 if ac_fn_cxx_try_compile "$LINENO"; then :
49338 glibcxx_cv_func__finitef_use=yes
49339 else
49340 glibcxx_cv_func__finitef_use=no
49341 fi
49342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49343 ac_ext=c
49344 ac_cpp='$CPP $CPPFLAGS'
49345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49348
49349
49350 fi
49351
49352 fi
49353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49354 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49355
49356 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49357 for ac_func in _finitef
49358 do :
49359 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49360 if test "x$ac_cv_func__finitef" = x""yes; then :
49361 cat >>confdefs.h <<_ACEOF
49362 #define HAVE__FINITEF 1
49363 _ACEOF
49364
49365 fi
49366 done
49367
49368 fi
49369 fi
49370
49371
49372
49373
49374
49375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49376 $as_echo_n "checking for long double trig functions... " >&6; }
49377 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49378 $as_echo_n "(cached) " >&6
49379 else
49380
49381
49382 ac_ext=cpp
49383 ac_cpp='$CXXCPP $CPPFLAGS'
49384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49387
49388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49389 /* end confdefs.h. */
49390 #include <math.h>
49391 int
49392 main ()
49393 {
49394 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49395 ;
49396 return 0;
49397 }
49398 _ACEOF
49399 if ac_fn_cxx_try_compile "$LINENO"; then :
49400 glibcxx_cv_func_long_double_trig_use=yes
49401 else
49402 glibcxx_cv_func_long_double_trig_use=no
49403 fi
49404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49405 ac_ext=c
49406 ac_cpp='$CPP $CPPFLAGS'
49407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49410
49411 fi
49412
49413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49414 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49415 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49416 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49417 do :
49418 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49419 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49420 eval as_val=\$$as_ac_var
49421 if test "x$as_val" = x""yes; then :
49422 cat >>confdefs.h <<_ACEOF
49423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49424 _ACEOF
49425
49426 fi
49427 done
49428
49429 else
49430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49431 $as_echo_n "checking for _long double trig functions... " >&6; }
49432 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49433 $as_echo_n "(cached) " >&6
49434 else
49435
49436
49437 ac_ext=cpp
49438 ac_cpp='$CXXCPP $CPPFLAGS'
49439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49442
49443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49444 /* end confdefs.h. */
49445 #include <math.h>
49446 int
49447 main ()
49448 {
49449 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49450 ;
49451 return 0;
49452 }
49453 _ACEOF
49454 if ac_fn_cxx_try_compile "$LINENO"; then :
49455 glibcxx_cv_func__long_double_trig_use=yes
49456 else
49457 glibcxx_cv_func__long_double_trig_use=no
49458 fi
49459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49460 ac_ext=c
49461 ac_cpp='$CPP $CPPFLAGS'
49462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49465
49466 fi
49467
49468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49469 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49470 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49471 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49472 do :
49473 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49474 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49475 eval as_val=\$$as_ac_var
49476 if test "x$as_val" = x""yes; then :
49477 cat >>confdefs.h <<_ACEOF
49478 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49479 _ACEOF
49480
49481 fi
49482 done
49483
49484 fi
49485 fi
49486
49487
49488
49489
49490
49491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49492 $as_echo_n "checking for long double round functions... " >&6; }
49493 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49494 $as_echo_n "(cached) " >&6
49495 else
49496
49497
49498 ac_ext=cpp
49499 ac_cpp='$CXXCPP $CPPFLAGS'
49500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49503
49504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49505 /* end confdefs.h. */
49506 #include <math.h>
49507 int
49508 main ()
49509 {
49510 ceill (0); floorl (0);
49511 ;
49512 return 0;
49513 }
49514 _ACEOF
49515 if ac_fn_cxx_try_compile "$LINENO"; then :
49516 glibcxx_cv_func_long_double_round_use=yes
49517 else
49518 glibcxx_cv_func_long_double_round_use=no
49519 fi
49520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49521 ac_ext=c
49522 ac_cpp='$CPP $CPPFLAGS'
49523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49526
49527 fi
49528
49529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49530 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49531 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49532 for ac_func in ceill floorl
49533 do :
49534 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49535 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49536 eval as_val=\$$as_ac_var
49537 if test "x$as_val" = x""yes; then :
49538 cat >>confdefs.h <<_ACEOF
49539 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49540 _ACEOF
49541
49542 fi
49543 done
49544
49545 else
49546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49547 $as_echo_n "checking for _long double round functions... " >&6; }
49548 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49549 $as_echo_n "(cached) " >&6
49550 else
49551
49552
49553 ac_ext=cpp
49554 ac_cpp='$CXXCPP $CPPFLAGS'
49555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49558
49559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49560 /* end confdefs.h. */
49561 #include <math.h>
49562 int
49563 main ()
49564 {
49565 _ceill (0); _floorl (0);
49566 ;
49567 return 0;
49568 }
49569 _ACEOF
49570 if ac_fn_cxx_try_compile "$LINENO"; then :
49571 glibcxx_cv_func__long_double_round_use=yes
49572 else
49573 glibcxx_cv_func__long_double_round_use=no
49574 fi
49575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49576 ac_ext=c
49577 ac_cpp='$CPP $CPPFLAGS'
49578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49581
49582 fi
49583
49584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49585 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49586 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49587 for ac_func in _ceill _floorl
49588 do :
49589 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49590 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49591 eval as_val=\$$as_ac_var
49592 if test "x$as_val" = x""yes; then :
49593 cat >>confdefs.h <<_ACEOF
49594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49595 _ACEOF
49596
49597 fi
49598 done
49599
49600 fi
49601 fi
49602
49603
49604
49605
49606
49607
49608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49609 $as_echo_n "checking for isnanl declaration... " >&6; }
49610 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49611 if test "${glibcxx_cv_func_isnanl_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 isnanl(0);
49633 ;
49634 return 0;
49635 }
49636 _ACEOF
49637 if ac_fn_cxx_try_compile "$LINENO"; then :
49638 glibcxx_cv_func_isnanl_use=yes
49639 else
49640 glibcxx_cv_func_isnanl_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_isnanl_use" >&5
49654 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49655
49656 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49657 for ac_func in isnanl
49658 do :
49659 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49660 if test "x$ac_cv_func_isnanl" = x""yes; then :
49661 cat >>confdefs.h <<_ACEOF
49662 #define HAVE_ISNANL 1
49663 _ACEOF
49664
49665 fi
49666 done
49667
49668 else
49669
49670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49671 $as_echo_n "checking for _isnanl declaration... " >&6; }
49672 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49673 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49674 $as_echo_n "(cached) " >&6
49675 else
49676
49677
49678 ac_ext=cpp
49679 ac_cpp='$CXXCPP $CPPFLAGS'
49680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49683
49684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49685 /* end confdefs.h. */
49686 #include <math.h>
49687 #ifdef HAVE_IEEEFP_H
49688 #include <ieeefp.h>
49689 #endif
49690
49691 int
49692 main ()
49693 {
49694 _isnanl(0);
49695 ;
49696 return 0;
49697 }
49698 _ACEOF
49699 if ac_fn_cxx_try_compile "$LINENO"; then :
49700 glibcxx_cv_func__isnanl_use=yes
49701 else
49702 glibcxx_cv_func__isnanl_use=no
49703 fi
49704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49705 ac_ext=c
49706 ac_cpp='$CPP $CPPFLAGS'
49707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49710
49711
49712 fi
49713
49714 fi
49715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49716 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49717
49718 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49719 for ac_func in _isnanl
49720 do :
49721 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49722 if test "x$ac_cv_func__isnanl" = x""yes; then :
49723 cat >>confdefs.h <<_ACEOF
49724 #define HAVE__ISNANL 1
49725 _ACEOF
49726
49727 fi
49728 done
49729
49730 fi
49731 fi
49732
49733
49734
49735
49736
49737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49738 $as_echo_n "checking for isinfl declaration... " >&6; }
49739 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49740 if test "${glibcxx_cv_func_isinfl_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 isinfl(0);
49762 ;
49763 return 0;
49764 }
49765 _ACEOF
49766 if ac_fn_cxx_try_compile "$LINENO"; then :
49767 glibcxx_cv_func_isinfl_use=yes
49768 else
49769 glibcxx_cv_func_isinfl_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_isinfl_use" >&5
49783 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49784
49785 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49786 for ac_func in isinfl
49787 do :
49788 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49789 if test "x$ac_cv_func_isinfl" = x""yes; then :
49790 cat >>confdefs.h <<_ACEOF
49791 #define HAVE_ISINFL 1
49792 _ACEOF
49793
49794 fi
49795 done
49796
49797 else
49798
49799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49800 $as_echo_n "checking for _isinfl declaration... " >&6; }
49801 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49802 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49803 $as_echo_n "(cached) " >&6
49804 else
49805
49806
49807 ac_ext=cpp
49808 ac_cpp='$CXXCPP $CPPFLAGS'
49809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49812
49813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49814 /* end confdefs.h. */
49815 #include <math.h>
49816 #ifdef HAVE_IEEEFP_H
49817 #include <ieeefp.h>
49818 #endif
49819
49820 int
49821 main ()
49822 {
49823 _isinfl(0);
49824 ;
49825 return 0;
49826 }
49827 _ACEOF
49828 if ac_fn_cxx_try_compile "$LINENO"; then :
49829 glibcxx_cv_func__isinfl_use=yes
49830 else
49831 glibcxx_cv_func__isinfl_use=no
49832 fi
49833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49834 ac_ext=c
49835 ac_cpp='$CPP $CPPFLAGS'
49836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49839
49840
49841 fi
49842
49843 fi
49844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49845 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49846
49847 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49848 for ac_func in _isinfl
49849 do :
49850 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49851 if test "x$ac_cv_func__isinfl" = x""yes; then :
49852 cat >>confdefs.h <<_ACEOF
49853 #define HAVE__ISINFL 1
49854 _ACEOF
49855
49856 fi
49857 done
49858
49859 fi
49860 fi
49861
49862
49863
49864
49865
49866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49867 $as_echo_n "checking for atan2l declaration... " >&6; }
49868 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49869 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49870 $as_echo_n "(cached) " >&6
49871 else
49872
49873
49874 ac_ext=cpp
49875 ac_cpp='$CXXCPP $CPPFLAGS'
49876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49879
49880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49881 /* end confdefs.h. */
49882 #include <math.h>
49883 int
49884 main ()
49885 {
49886 atan2l(0, 0);
49887 ;
49888 return 0;
49889 }
49890 _ACEOF
49891 if ac_fn_cxx_try_compile "$LINENO"; then :
49892 glibcxx_cv_func_atan2l_use=yes
49893 else
49894 glibcxx_cv_func_atan2l_use=no
49895 fi
49896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49897 ac_ext=c
49898 ac_cpp='$CPP $CPPFLAGS'
49899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49902
49903
49904 fi
49905
49906 fi
49907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49908 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49909
49910 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49911 for ac_func in atan2l
49912 do :
49913 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49914 if test "x$ac_cv_func_atan2l" = x""yes; then :
49915 cat >>confdefs.h <<_ACEOF
49916 #define HAVE_ATAN2L 1
49917 _ACEOF
49918
49919 fi
49920 done
49921
49922 else
49923
49924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49925 $as_echo_n "checking for _atan2l declaration... " >&6; }
49926 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49927 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49928 $as_echo_n "(cached) " >&6
49929 else
49930
49931
49932 ac_ext=cpp
49933 ac_cpp='$CXXCPP $CPPFLAGS'
49934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49937
49938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49939 /* end confdefs.h. */
49940 #include <math.h>
49941 int
49942 main ()
49943 {
49944 _atan2l(0, 0);
49945 ;
49946 return 0;
49947 }
49948 _ACEOF
49949 if ac_fn_cxx_try_compile "$LINENO"; then :
49950 glibcxx_cv_func__atan2l_use=yes
49951 else
49952 glibcxx_cv_func__atan2l_use=no
49953 fi
49954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49955 ac_ext=c
49956 ac_cpp='$CPP $CPPFLAGS'
49957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49960
49961
49962 fi
49963
49964 fi
49965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49966 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49967
49968 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49969 for ac_func in _atan2l
49970 do :
49971 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49972 if test "x$ac_cv_func__atan2l" = x""yes; then :
49973 cat >>confdefs.h <<_ACEOF
49974 #define HAVE__ATAN2L 1
49975 _ACEOF
49976
49977 fi
49978 done
49979
49980 fi
49981 fi
49982
49983
49984
49985
49986
49987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49988 $as_echo_n "checking for expl declaration... " >&6; }
49989 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49990 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49991 $as_echo_n "(cached) " >&6
49992 else
49993
49994
49995 ac_ext=cpp
49996 ac_cpp='$CXXCPP $CPPFLAGS'
49997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50000
50001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50002 /* end confdefs.h. */
50003 #include <math.h>
50004 #ifdef HAVE_IEEEFP_H
50005 #include <ieeefp.h>
50006 #endif
50007
50008 int
50009 main ()
50010 {
50011 expl(0);
50012 ;
50013 return 0;
50014 }
50015 _ACEOF
50016 if ac_fn_cxx_try_compile "$LINENO"; then :
50017 glibcxx_cv_func_expl_use=yes
50018 else
50019 glibcxx_cv_func_expl_use=no
50020 fi
50021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50022 ac_ext=c
50023 ac_cpp='$CPP $CPPFLAGS'
50024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50027
50028
50029 fi
50030
50031 fi
50032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50033 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50034
50035 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50036 for ac_func in expl
50037 do :
50038 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50039 if test "x$ac_cv_func_expl" = x""yes; then :
50040 cat >>confdefs.h <<_ACEOF
50041 #define HAVE_EXPL 1
50042 _ACEOF
50043
50044 fi
50045 done
50046
50047 else
50048
50049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50050 $as_echo_n "checking for _expl declaration... " >&6; }
50051 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50052 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50053 $as_echo_n "(cached) " >&6
50054 else
50055
50056
50057 ac_ext=cpp
50058 ac_cpp='$CXXCPP $CPPFLAGS'
50059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50062
50063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50064 /* end confdefs.h. */
50065 #include <math.h>
50066 #ifdef HAVE_IEEEFP_H
50067 #include <ieeefp.h>
50068 #endif
50069
50070 int
50071 main ()
50072 {
50073 _expl(0);
50074 ;
50075 return 0;
50076 }
50077 _ACEOF
50078 if ac_fn_cxx_try_compile "$LINENO"; then :
50079 glibcxx_cv_func__expl_use=yes
50080 else
50081 glibcxx_cv_func__expl_use=no
50082 fi
50083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50084 ac_ext=c
50085 ac_cpp='$CPP $CPPFLAGS'
50086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50089
50090
50091 fi
50092
50093 fi
50094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50095 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50096
50097 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50098 for ac_func in _expl
50099 do :
50100 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50101 if test "x$ac_cv_func__expl" = x""yes; then :
50102 cat >>confdefs.h <<_ACEOF
50103 #define HAVE__EXPL 1
50104 _ACEOF
50105
50106 fi
50107 done
50108
50109 fi
50110 fi
50111
50112
50113
50114
50115
50116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50117 $as_echo_n "checking for fabsl declaration... " >&6; }
50118 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50119 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50120 $as_echo_n "(cached) " >&6
50121 else
50122
50123
50124 ac_ext=cpp
50125 ac_cpp='$CXXCPP $CPPFLAGS'
50126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50129
50130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50131 /* end confdefs.h. */
50132 #include <math.h>
50133 #ifdef HAVE_IEEEFP_H
50134 #include <ieeefp.h>
50135 #endif
50136
50137 int
50138 main ()
50139 {
50140 fabsl(0);
50141 ;
50142 return 0;
50143 }
50144 _ACEOF
50145 if ac_fn_cxx_try_compile "$LINENO"; then :
50146 glibcxx_cv_func_fabsl_use=yes
50147 else
50148 glibcxx_cv_func_fabsl_use=no
50149 fi
50150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50151 ac_ext=c
50152 ac_cpp='$CPP $CPPFLAGS'
50153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50156
50157
50158 fi
50159
50160 fi
50161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50162 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50163
50164 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50165 for ac_func in fabsl
50166 do :
50167 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50168 if test "x$ac_cv_func_fabsl" = x""yes; then :
50169 cat >>confdefs.h <<_ACEOF
50170 #define HAVE_FABSL 1
50171 _ACEOF
50172
50173 fi
50174 done
50175
50176 else
50177
50178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50179 $as_echo_n "checking for _fabsl declaration... " >&6; }
50180 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50181 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50182 $as_echo_n "(cached) " >&6
50183 else
50184
50185
50186 ac_ext=cpp
50187 ac_cpp='$CXXCPP $CPPFLAGS'
50188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50191
50192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50193 /* end confdefs.h. */
50194 #include <math.h>
50195 #ifdef HAVE_IEEEFP_H
50196 #include <ieeefp.h>
50197 #endif
50198
50199 int
50200 main ()
50201 {
50202 _fabsl(0);
50203 ;
50204 return 0;
50205 }
50206 _ACEOF
50207 if ac_fn_cxx_try_compile "$LINENO"; then :
50208 glibcxx_cv_func__fabsl_use=yes
50209 else
50210 glibcxx_cv_func__fabsl_use=no
50211 fi
50212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50213 ac_ext=c
50214 ac_cpp='$CPP $CPPFLAGS'
50215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50218
50219
50220 fi
50221
50222 fi
50223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50224 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50225
50226 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50227 for ac_func in _fabsl
50228 do :
50229 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50230 if test "x$ac_cv_func__fabsl" = x""yes; then :
50231 cat >>confdefs.h <<_ACEOF
50232 #define HAVE__FABSL 1
50233 _ACEOF
50234
50235 fi
50236 done
50237
50238 fi
50239 fi
50240
50241
50242
50243
50244
50245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50246 $as_echo_n "checking for fmodl declaration... " >&6; }
50247 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50248 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50249 $as_echo_n "(cached) " >&6
50250 else
50251
50252
50253 ac_ext=cpp
50254 ac_cpp='$CXXCPP $CPPFLAGS'
50255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50258
50259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50260 /* end confdefs.h. */
50261 #include <math.h>
50262 int
50263 main ()
50264 {
50265 fmodl(0, 0);
50266 ;
50267 return 0;
50268 }
50269 _ACEOF
50270 if ac_fn_cxx_try_compile "$LINENO"; then :
50271 glibcxx_cv_func_fmodl_use=yes
50272 else
50273 glibcxx_cv_func_fmodl_use=no
50274 fi
50275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50276 ac_ext=c
50277 ac_cpp='$CPP $CPPFLAGS'
50278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50281
50282
50283 fi
50284
50285 fi
50286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50287 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50288
50289 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50290 for ac_func in fmodl
50291 do :
50292 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50293 if test "x$ac_cv_func_fmodl" = x""yes; then :
50294 cat >>confdefs.h <<_ACEOF
50295 #define HAVE_FMODL 1
50296 _ACEOF
50297
50298 fi
50299 done
50300
50301 else
50302
50303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50304 $as_echo_n "checking for _fmodl declaration... " >&6; }
50305 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50306 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50307 $as_echo_n "(cached) " >&6
50308 else
50309
50310
50311 ac_ext=cpp
50312 ac_cpp='$CXXCPP $CPPFLAGS'
50313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50316
50317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50318 /* end confdefs.h. */
50319 #include <math.h>
50320 int
50321 main ()
50322 {
50323 _fmodl(0, 0);
50324 ;
50325 return 0;
50326 }
50327 _ACEOF
50328 if ac_fn_cxx_try_compile "$LINENO"; then :
50329 glibcxx_cv_func__fmodl_use=yes
50330 else
50331 glibcxx_cv_func__fmodl_use=no
50332 fi
50333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50334 ac_ext=c
50335 ac_cpp='$CPP $CPPFLAGS'
50336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50339
50340
50341 fi
50342
50343 fi
50344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50345 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50346
50347 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50348 for ac_func in _fmodl
50349 do :
50350 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50351 if test "x$ac_cv_func__fmodl" = x""yes; then :
50352 cat >>confdefs.h <<_ACEOF
50353 #define HAVE__FMODL 1
50354 _ACEOF
50355
50356 fi
50357 done
50358
50359 fi
50360 fi
50361
50362
50363
50364
50365
50366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50367 $as_echo_n "checking for frexpl declaration... " >&6; }
50368 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50369 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50370 $as_echo_n "(cached) " >&6
50371 else
50372
50373
50374 ac_ext=cpp
50375 ac_cpp='$CXXCPP $CPPFLAGS'
50376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50379
50380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50381 /* end confdefs.h. */
50382 #include <math.h>
50383 int
50384 main ()
50385 {
50386 frexpl(0, 0);
50387 ;
50388 return 0;
50389 }
50390 _ACEOF
50391 if ac_fn_cxx_try_compile "$LINENO"; then :
50392 glibcxx_cv_func_frexpl_use=yes
50393 else
50394 glibcxx_cv_func_frexpl_use=no
50395 fi
50396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50397 ac_ext=c
50398 ac_cpp='$CPP $CPPFLAGS'
50399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50402
50403
50404 fi
50405
50406 fi
50407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50408 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50409
50410 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50411 for ac_func in frexpl
50412 do :
50413 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50414 if test "x$ac_cv_func_frexpl" = x""yes; then :
50415 cat >>confdefs.h <<_ACEOF
50416 #define HAVE_FREXPL 1
50417 _ACEOF
50418
50419 fi
50420 done
50421
50422 else
50423
50424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50425 $as_echo_n "checking for _frexpl declaration... " >&6; }
50426 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50427 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50428 $as_echo_n "(cached) " >&6
50429 else
50430
50431
50432 ac_ext=cpp
50433 ac_cpp='$CXXCPP $CPPFLAGS'
50434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50437
50438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50439 /* end confdefs.h. */
50440 #include <math.h>
50441 int
50442 main ()
50443 {
50444 _frexpl(0, 0);
50445 ;
50446 return 0;
50447 }
50448 _ACEOF
50449 if ac_fn_cxx_try_compile "$LINENO"; then :
50450 glibcxx_cv_func__frexpl_use=yes
50451 else
50452 glibcxx_cv_func__frexpl_use=no
50453 fi
50454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50455 ac_ext=c
50456 ac_cpp='$CPP $CPPFLAGS'
50457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50460
50461
50462 fi
50463
50464 fi
50465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50466 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50467
50468 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50469 for ac_func in _frexpl
50470 do :
50471 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50472 if test "x$ac_cv_func__frexpl" = x""yes; then :
50473 cat >>confdefs.h <<_ACEOF
50474 #define HAVE__FREXPL 1
50475 _ACEOF
50476
50477 fi
50478 done
50479
50480 fi
50481 fi
50482
50483
50484
50485
50486
50487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50488 $as_echo_n "checking for hypotl declaration... " >&6; }
50489 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50490 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50491 $as_echo_n "(cached) " >&6
50492 else
50493
50494
50495 ac_ext=cpp
50496 ac_cpp='$CXXCPP $CPPFLAGS'
50497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50500
50501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50502 /* end confdefs.h. */
50503 #include <math.h>
50504 int
50505 main ()
50506 {
50507 hypotl(0, 0);
50508 ;
50509 return 0;
50510 }
50511 _ACEOF
50512 if ac_fn_cxx_try_compile "$LINENO"; then :
50513 glibcxx_cv_func_hypotl_use=yes
50514 else
50515 glibcxx_cv_func_hypotl_use=no
50516 fi
50517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50518 ac_ext=c
50519 ac_cpp='$CPP $CPPFLAGS'
50520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50523
50524
50525 fi
50526
50527 fi
50528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50529 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50530
50531 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50532 for ac_func in hypotl
50533 do :
50534 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50535 if test "x$ac_cv_func_hypotl" = x""yes; then :
50536 cat >>confdefs.h <<_ACEOF
50537 #define HAVE_HYPOTL 1
50538 _ACEOF
50539
50540 fi
50541 done
50542
50543 else
50544
50545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50546 $as_echo_n "checking for _hypotl declaration... " >&6; }
50547 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50548 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50549 $as_echo_n "(cached) " >&6
50550 else
50551
50552
50553 ac_ext=cpp
50554 ac_cpp='$CXXCPP $CPPFLAGS'
50555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50558
50559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50560 /* end confdefs.h. */
50561 #include <math.h>
50562 int
50563 main ()
50564 {
50565 _hypotl(0, 0);
50566 ;
50567 return 0;
50568 }
50569 _ACEOF
50570 if ac_fn_cxx_try_compile "$LINENO"; then :
50571 glibcxx_cv_func__hypotl_use=yes
50572 else
50573 glibcxx_cv_func__hypotl_use=no
50574 fi
50575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50576 ac_ext=c
50577 ac_cpp='$CPP $CPPFLAGS'
50578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50581
50582
50583 fi
50584
50585 fi
50586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50587 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50588
50589 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50590 for ac_func in _hypotl
50591 do :
50592 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50593 if test "x$ac_cv_func__hypotl" = x""yes; then :
50594 cat >>confdefs.h <<_ACEOF
50595 #define HAVE__HYPOTL 1
50596 _ACEOF
50597
50598 fi
50599 done
50600
50601 fi
50602 fi
50603
50604
50605
50606
50607
50608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50609 $as_echo_n "checking for ldexpl declaration... " >&6; }
50610 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50611 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50612 $as_echo_n "(cached) " >&6
50613 else
50614
50615
50616 ac_ext=cpp
50617 ac_cpp='$CXXCPP $CPPFLAGS'
50618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50621
50622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50623 /* end confdefs.h. */
50624 #include <math.h>
50625 int
50626 main ()
50627 {
50628 ldexpl(0, 0);
50629 ;
50630 return 0;
50631 }
50632 _ACEOF
50633 if ac_fn_cxx_try_compile "$LINENO"; then :
50634 glibcxx_cv_func_ldexpl_use=yes
50635 else
50636 glibcxx_cv_func_ldexpl_use=no
50637 fi
50638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50639 ac_ext=c
50640 ac_cpp='$CPP $CPPFLAGS'
50641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50644
50645
50646 fi
50647
50648 fi
50649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50650 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50651
50652 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50653 for ac_func in ldexpl
50654 do :
50655 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50656 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50657 cat >>confdefs.h <<_ACEOF
50658 #define HAVE_LDEXPL 1
50659 _ACEOF
50660
50661 fi
50662 done
50663
50664 else
50665
50666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50667 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50668 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50669 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50670 $as_echo_n "(cached) " >&6
50671 else
50672
50673
50674 ac_ext=cpp
50675 ac_cpp='$CXXCPP $CPPFLAGS'
50676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50679
50680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50681 /* end confdefs.h. */
50682 #include <math.h>
50683 int
50684 main ()
50685 {
50686 _ldexpl(0, 0);
50687 ;
50688 return 0;
50689 }
50690 _ACEOF
50691 if ac_fn_cxx_try_compile "$LINENO"; then :
50692 glibcxx_cv_func__ldexpl_use=yes
50693 else
50694 glibcxx_cv_func__ldexpl_use=no
50695 fi
50696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50697 ac_ext=c
50698 ac_cpp='$CPP $CPPFLAGS'
50699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50702
50703
50704 fi
50705
50706 fi
50707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50708 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50709
50710 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50711 for ac_func in _ldexpl
50712 do :
50713 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50714 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50715 cat >>confdefs.h <<_ACEOF
50716 #define HAVE__LDEXPL 1
50717 _ACEOF
50718
50719 fi
50720 done
50721
50722 fi
50723 fi
50724
50725
50726
50727
50728
50729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50730 $as_echo_n "checking for logl declaration... " >&6; }
50731 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50732 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50733 $as_echo_n "(cached) " >&6
50734 else
50735
50736
50737 ac_ext=cpp
50738 ac_cpp='$CXXCPP $CPPFLAGS'
50739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50742
50743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50744 /* end confdefs.h. */
50745 #include <math.h>
50746 #ifdef HAVE_IEEEFP_H
50747 #include <ieeefp.h>
50748 #endif
50749
50750 int
50751 main ()
50752 {
50753 logl(0);
50754 ;
50755 return 0;
50756 }
50757 _ACEOF
50758 if ac_fn_cxx_try_compile "$LINENO"; then :
50759 glibcxx_cv_func_logl_use=yes
50760 else
50761 glibcxx_cv_func_logl_use=no
50762 fi
50763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50764 ac_ext=c
50765 ac_cpp='$CPP $CPPFLAGS'
50766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50769
50770
50771 fi
50772
50773 fi
50774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50775 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50776
50777 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50778 for ac_func in logl
50779 do :
50780 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50781 if test "x$ac_cv_func_logl" = x""yes; then :
50782 cat >>confdefs.h <<_ACEOF
50783 #define HAVE_LOGL 1
50784 _ACEOF
50785
50786 fi
50787 done
50788
50789 else
50790
50791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50792 $as_echo_n "checking for _logl declaration... " >&6; }
50793 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50794 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50795 $as_echo_n "(cached) " >&6
50796 else
50797
50798
50799 ac_ext=cpp
50800 ac_cpp='$CXXCPP $CPPFLAGS'
50801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50804
50805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50806 /* end confdefs.h. */
50807 #include <math.h>
50808 #ifdef HAVE_IEEEFP_H
50809 #include <ieeefp.h>
50810 #endif
50811
50812 int
50813 main ()
50814 {
50815 _logl(0);
50816 ;
50817 return 0;
50818 }
50819 _ACEOF
50820 if ac_fn_cxx_try_compile "$LINENO"; then :
50821 glibcxx_cv_func__logl_use=yes
50822 else
50823 glibcxx_cv_func__logl_use=no
50824 fi
50825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50826 ac_ext=c
50827 ac_cpp='$CPP $CPPFLAGS'
50828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50831
50832
50833 fi
50834
50835 fi
50836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50837 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50838
50839 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50840 for ac_func in _logl
50841 do :
50842 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50843 if test "x$ac_cv_func__logl" = x""yes; then :
50844 cat >>confdefs.h <<_ACEOF
50845 #define HAVE__LOGL 1
50846 _ACEOF
50847
50848 fi
50849 done
50850
50851 fi
50852 fi
50853
50854
50855
50856
50857
50858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50859 $as_echo_n "checking for log10l declaration... " >&6; }
50860 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50861 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50862 $as_echo_n "(cached) " >&6
50863 else
50864
50865
50866 ac_ext=cpp
50867 ac_cpp='$CXXCPP $CPPFLAGS'
50868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50871
50872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50873 /* end confdefs.h. */
50874 #include <math.h>
50875 #ifdef HAVE_IEEEFP_H
50876 #include <ieeefp.h>
50877 #endif
50878
50879 int
50880 main ()
50881 {
50882 log10l(0);
50883 ;
50884 return 0;
50885 }
50886 _ACEOF
50887 if ac_fn_cxx_try_compile "$LINENO"; then :
50888 glibcxx_cv_func_log10l_use=yes
50889 else
50890 glibcxx_cv_func_log10l_use=no
50891 fi
50892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50893 ac_ext=c
50894 ac_cpp='$CPP $CPPFLAGS'
50895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50898
50899
50900 fi
50901
50902 fi
50903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50904 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50905
50906 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50907 for ac_func in log10l
50908 do :
50909 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50910 if test "x$ac_cv_func_log10l" = x""yes; then :
50911 cat >>confdefs.h <<_ACEOF
50912 #define HAVE_LOG10L 1
50913 _ACEOF
50914
50915 fi
50916 done
50917
50918 else
50919
50920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50921 $as_echo_n "checking for _log10l declaration... " >&6; }
50922 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50923 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50924 $as_echo_n "(cached) " >&6
50925 else
50926
50927
50928 ac_ext=cpp
50929 ac_cpp='$CXXCPP $CPPFLAGS'
50930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50933
50934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50935 /* end confdefs.h. */
50936 #include <math.h>
50937 #ifdef HAVE_IEEEFP_H
50938 #include <ieeefp.h>
50939 #endif
50940
50941 int
50942 main ()
50943 {
50944 _log10l(0);
50945 ;
50946 return 0;
50947 }
50948 _ACEOF
50949 if ac_fn_cxx_try_compile "$LINENO"; then :
50950 glibcxx_cv_func__log10l_use=yes
50951 else
50952 glibcxx_cv_func__log10l_use=no
50953 fi
50954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50955 ac_ext=c
50956 ac_cpp='$CPP $CPPFLAGS'
50957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50960
50961
50962 fi
50963
50964 fi
50965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50966 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50967
50968 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50969 for ac_func in _log10l
50970 do :
50971 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50972 if test "x$ac_cv_func__log10l" = x""yes; then :
50973 cat >>confdefs.h <<_ACEOF
50974 #define HAVE__LOG10L 1
50975 _ACEOF
50976
50977 fi
50978 done
50979
50980 fi
50981 fi
50982
50983
50984
50985
50986
50987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50988 $as_echo_n "checking for modfl declaration... " >&6; }
50989 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50990 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50991 $as_echo_n "(cached) " >&6
50992 else
50993
50994
50995 ac_ext=cpp
50996 ac_cpp='$CXXCPP $CPPFLAGS'
50997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51000
51001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51002 /* end confdefs.h. */
51003 #include <math.h>
51004 int
51005 main ()
51006 {
51007 modfl(0, 0);
51008 ;
51009 return 0;
51010 }
51011 _ACEOF
51012 if ac_fn_cxx_try_compile "$LINENO"; then :
51013 glibcxx_cv_func_modfl_use=yes
51014 else
51015 glibcxx_cv_func_modfl_use=no
51016 fi
51017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51018 ac_ext=c
51019 ac_cpp='$CPP $CPPFLAGS'
51020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51023
51024
51025 fi
51026
51027 fi
51028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51029 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51030
51031 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51032 for ac_func in modfl
51033 do :
51034 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51035 if test "x$ac_cv_func_modfl" = x""yes; then :
51036 cat >>confdefs.h <<_ACEOF
51037 #define HAVE_MODFL 1
51038 _ACEOF
51039
51040 fi
51041 done
51042
51043 else
51044
51045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51046 $as_echo_n "checking for _modfl declaration... " >&6; }
51047 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51048 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51049 $as_echo_n "(cached) " >&6
51050 else
51051
51052
51053 ac_ext=cpp
51054 ac_cpp='$CXXCPP $CPPFLAGS'
51055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51058
51059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51060 /* end confdefs.h. */
51061 #include <math.h>
51062 int
51063 main ()
51064 {
51065 _modfl(0, 0);
51066 ;
51067 return 0;
51068 }
51069 _ACEOF
51070 if ac_fn_cxx_try_compile "$LINENO"; then :
51071 glibcxx_cv_func__modfl_use=yes
51072 else
51073 glibcxx_cv_func__modfl_use=no
51074 fi
51075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51076 ac_ext=c
51077 ac_cpp='$CPP $CPPFLAGS'
51078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51081
51082
51083 fi
51084
51085 fi
51086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51087 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51088
51089 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51090 for ac_func in _modfl
51091 do :
51092 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51093 if test "x$ac_cv_func__modfl" = x""yes; then :
51094 cat >>confdefs.h <<_ACEOF
51095 #define HAVE__MODFL 1
51096 _ACEOF
51097
51098 fi
51099 done
51100
51101 fi
51102 fi
51103
51104
51105
51106
51107
51108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51109 $as_echo_n "checking for powl declaration... " >&6; }
51110 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51111 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51112 $as_echo_n "(cached) " >&6
51113 else
51114
51115
51116 ac_ext=cpp
51117 ac_cpp='$CXXCPP $CPPFLAGS'
51118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51121
51122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51123 /* end confdefs.h. */
51124 #include <math.h>
51125 int
51126 main ()
51127 {
51128 powl(0, 0);
51129 ;
51130 return 0;
51131 }
51132 _ACEOF
51133 if ac_fn_cxx_try_compile "$LINENO"; then :
51134 glibcxx_cv_func_powl_use=yes
51135 else
51136 glibcxx_cv_func_powl_use=no
51137 fi
51138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51139 ac_ext=c
51140 ac_cpp='$CPP $CPPFLAGS'
51141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51144
51145
51146 fi
51147
51148 fi
51149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51150 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51151
51152 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51153 for ac_func in powl
51154 do :
51155 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51156 if test "x$ac_cv_func_powl" = x""yes; then :
51157 cat >>confdefs.h <<_ACEOF
51158 #define HAVE_POWL 1
51159 _ACEOF
51160
51161 fi
51162 done
51163
51164 else
51165
51166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51167 $as_echo_n "checking for _powl declaration... " >&6; }
51168 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51169 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51170 $as_echo_n "(cached) " >&6
51171 else
51172
51173
51174 ac_ext=cpp
51175 ac_cpp='$CXXCPP $CPPFLAGS'
51176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51179
51180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51181 /* end confdefs.h. */
51182 #include <math.h>
51183 int
51184 main ()
51185 {
51186 _powl(0, 0);
51187 ;
51188 return 0;
51189 }
51190 _ACEOF
51191 if ac_fn_cxx_try_compile "$LINENO"; then :
51192 glibcxx_cv_func__powl_use=yes
51193 else
51194 glibcxx_cv_func__powl_use=no
51195 fi
51196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51197 ac_ext=c
51198 ac_cpp='$CPP $CPPFLAGS'
51199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51202
51203
51204 fi
51205
51206 fi
51207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51208 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51209
51210 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51211 for ac_func in _powl
51212 do :
51213 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51214 if test "x$ac_cv_func__powl" = x""yes; then :
51215 cat >>confdefs.h <<_ACEOF
51216 #define HAVE__POWL 1
51217 _ACEOF
51218
51219 fi
51220 done
51221
51222 fi
51223 fi
51224
51225
51226
51227
51228
51229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51230 $as_echo_n "checking for sqrtl declaration... " >&6; }
51231 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51232 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51233 $as_echo_n "(cached) " >&6
51234 else
51235
51236
51237 ac_ext=cpp
51238 ac_cpp='$CXXCPP $CPPFLAGS'
51239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51242
51243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51244 /* end confdefs.h. */
51245 #include <math.h>
51246 #ifdef HAVE_IEEEFP_H
51247 #include <ieeefp.h>
51248 #endif
51249
51250 int
51251 main ()
51252 {
51253 sqrtl(0);
51254 ;
51255 return 0;
51256 }
51257 _ACEOF
51258 if ac_fn_cxx_try_compile "$LINENO"; then :
51259 glibcxx_cv_func_sqrtl_use=yes
51260 else
51261 glibcxx_cv_func_sqrtl_use=no
51262 fi
51263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51264 ac_ext=c
51265 ac_cpp='$CPP $CPPFLAGS'
51266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51269
51270
51271 fi
51272
51273 fi
51274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51275 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51276
51277 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51278 for ac_func in sqrtl
51279 do :
51280 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51281 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51282 cat >>confdefs.h <<_ACEOF
51283 #define HAVE_SQRTL 1
51284 _ACEOF
51285
51286 fi
51287 done
51288
51289 else
51290
51291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51292 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51293 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51294 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51295 $as_echo_n "(cached) " >&6
51296 else
51297
51298
51299 ac_ext=cpp
51300 ac_cpp='$CXXCPP $CPPFLAGS'
51301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51304
51305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51306 /* end confdefs.h. */
51307 #include <math.h>
51308 #ifdef HAVE_IEEEFP_H
51309 #include <ieeefp.h>
51310 #endif
51311
51312 int
51313 main ()
51314 {
51315 _sqrtl(0);
51316 ;
51317 return 0;
51318 }
51319 _ACEOF
51320 if ac_fn_cxx_try_compile "$LINENO"; then :
51321 glibcxx_cv_func__sqrtl_use=yes
51322 else
51323 glibcxx_cv_func__sqrtl_use=no
51324 fi
51325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51326 ac_ext=c
51327 ac_cpp='$CPP $CPPFLAGS'
51328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51331
51332
51333 fi
51334
51335 fi
51336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51337 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51338
51339 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51340 for ac_func in _sqrtl
51341 do :
51342 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51343 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51344 cat >>confdefs.h <<_ACEOF
51345 #define HAVE__SQRTL 1
51346 _ACEOF
51347
51348 fi
51349 done
51350
51351 fi
51352 fi
51353
51354
51355
51356
51357
51358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51359 $as_echo_n "checking for sincosl declaration... " >&6; }
51360 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51361 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51362 $as_echo_n "(cached) " >&6
51363 else
51364
51365
51366 ac_ext=cpp
51367 ac_cpp='$CXXCPP $CPPFLAGS'
51368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51371
51372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51373 /* end confdefs.h. */
51374 #include <math.h>
51375 int
51376 main ()
51377 {
51378 sincosl(0, 0, 0);
51379 ;
51380 return 0;
51381 }
51382 _ACEOF
51383 if ac_fn_cxx_try_compile "$LINENO"; then :
51384 glibcxx_cv_func_sincosl_use=yes
51385 else
51386 glibcxx_cv_func_sincosl_use=no
51387 fi
51388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51389 ac_ext=c
51390 ac_cpp='$CPP $CPPFLAGS'
51391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51394
51395
51396 fi
51397
51398 fi
51399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51400 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51401
51402 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51403 for ac_func in sincosl
51404 do :
51405 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51406 if test "x$ac_cv_func_sincosl" = x""yes; then :
51407 cat >>confdefs.h <<_ACEOF
51408 #define HAVE_SINCOSL 1
51409 _ACEOF
51410
51411 fi
51412 done
51413
51414 else
51415
51416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51417 $as_echo_n "checking for _sincosl declaration... " >&6; }
51418 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51419 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51420 $as_echo_n "(cached) " >&6
51421 else
51422
51423
51424 ac_ext=cpp
51425 ac_cpp='$CXXCPP $CPPFLAGS'
51426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51429
51430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51431 /* end confdefs.h. */
51432 #include <math.h>
51433 int
51434 main ()
51435 {
51436 _sincosl(0, 0, 0);
51437 ;
51438 return 0;
51439 }
51440 _ACEOF
51441 if ac_fn_cxx_try_compile "$LINENO"; then :
51442 glibcxx_cv_func__sincosl_use=yes
51443 else
51444 glibcxx_cv_func__sincosl_use=no
51445 fi
51446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51447 ac_ext=c
51448 ac_cpp='$CPP $CPPFLAGS'
51449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51452
51453
51454 fi
51455
51456 fi
51457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51458 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51459
51460 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51461 for ac_func in _sincosl
51462 do :
51463 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51464 if test "x$ac_cv_func__sincosl" = x""yes; then :
51465 cat >>confdefs.h <<_ACEOF
51466 #define HAVE__SINCOSL 1
51467 _ACEOF
51468
51469 fi
51470 done
51471
51472 fi
51473 fi
51474
51475
51476
51477
51478
51479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51480 $as_echo_n "checking for finitel declaration... " >&6; }
51481 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51482 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51483 $as_echo_n "(cached) " >&6
51484 else
51485
51486
51487 ac_ext=cpp
51488 ac_cpp='$CXXCPP $CPPFLAGS'
51489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51492
51493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51494 /* end confdefs.h. */
51495 #include <math.h>
51496 #ifdef HAVE_IEEEFP_H
51497 #include <ieeefp.h>
51498 #endif
51499
51500 int
51501 main ()
51502 {
51503 finitel(0);
51504 ;
51505 return 0;
51506 }
51507 _ACEOF
51508 if ac_fn_cxx_try_compile "$LINENO"; then :
51509 glibcxx_cv_func_finitel_use=yes
51510 else
51511 glibcxx_cv_func_finitel_use=no
51512 fi
51513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51514 ac_ext=c
51515 ac_cpp='$CPP $CPPFLAGS'
51516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51519
51520
51521 fi
51522
51523 fi
51524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51525 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51526
51527 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51528 for ac_func in finitel
51529 do :
51530 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51531 if test "x$ac_cv_func_finitel" = x""yes; then :
51532 cat >>confdefs.h <<_ACEOF
51533 #define HAVE_FINITEL 1
51534 _ACEOF
51535
51536 fi
51537 done
51538
51539 else
51540
51541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51542 $as_echo_n "checking for _finitel declaration... " >&6; }
51543 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51544 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51545 $as_echo_n "(cached) " >&6
51546 else
51547
51548
51549 ac_ext=cpp
51550 ac_cpp='$CXXCPP $CPPFLAGS'
51551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51554
51555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51556 /* end confdefs.h. */
51557 #include <math.h>
51558 #ifdef HAVE_IEEEFP_H
51559 #include <ieeefp.h>
51560 #endif
51561
51562 int
51563 main ()
51564 {
51565 _finitel(0);
51566 ;
51567 return 0;
51568 }
51569 _ACEOF
51570 if ac_fn_cxx_try_compile "$LINENO"; then :
51571 glibcxx_cv_func__finitel_use=yes
51572 else
51573 glibcxx_cv_func__finitel_use=no
51574 fi
51575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51576 ac_ext=c
51577 ac_cpp='$CPP $CPPFLAGS'
51578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51581
51582
51583 fi
51584
51585 fi
51586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51587 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51588
51589 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51590 for ac_func in _finitel
51591 do :
51592 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51593 if test "x$ac_cv_func__finitel" = x""yes; then :
51594 cat >>confdefs.h <<_ACEOF
51595 #define HAVE__FINITEL 1
51596 _ACEOF
51597
51598 fi
51599 done
51600
51601 fi
51602 fi
51603
51604
51605
51606
51607 LIBS="$ac_save_LIBS"
51608 CXXFLAGS="$ac_save_CXXFLAGS"
51609
51610
51611 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51612 ac_save_CXXFLAGS="$CXXFLAGS"
51613 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51614
51615
51616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51617 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51618 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51619 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51620 $as_echo_n "(cached) " >&6
51621 else
51622
51623
51624 ac_ext=cpp
51625 ac_cpp='$CXXCPP $CPPFLAGS'
51626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51629
51630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51631 /* end confdefs.h. */
51632 #include <stdlib.h>
51633 int
51634 main ()
51635 {
51636 at_quick_exit(0);
51637 ;
51638 return 0;
51639 }
51640 _ACEOF
51641 if ac_fn_cxx_try_compile "$LINENO"; then :
51642 glibcxx_cv_func_at_quick_exit_use=yes
51643 else
51644 glibcxx_cv_func_at_quick_exit_use=no
51645 fi
51646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51647 ac_ext=c
51648 ac_cpp='$CPP $CPPFLAGS'
51649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51652
51653
51654 fi
51655
51656 fi
51657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51658 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51659 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51660 for ac_func in at_quick_exit
51661 do :
51662 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51663 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51664 cat >>confdefs.h <<_ACEOF
51665 #define HAVE_AT_QUICK_EXIT 1
51666 _ACEOF
51667
51668 fi
51669 done
51670
51671 fi
51672
51673
51674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51675 $as_echo_n "checking for quick_exit declaration... " >&6; }
51676 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51677 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51678 $as_echo_n "(cached) " >&6
51679 else
51680
51681
51682 ac_ext=cpp
51683 ac_cpp='$CXXCPP $CPPFLAGS'
51684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51687
51688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51689 /* end confdefs.h. */
51690 #include <stdlib.h>
51691 int
51692 main ()
51693 {
51694 quick_exit(0);
51695 ;
51696 return 0;
51697 }
51698 _ACEOF
51699 if ac_fn_cxx_try_compile "$LINENO"; then :
51700 glibcxx_cv_func_quick_exit_use=yes
51701 else
51702 glibcxx_cv_func_quick_exit_use=no
51703 fi
51704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51705 ac_ext=c
51706 ac_cpp='$CPP $CPPFLAGS'
51707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51710
51711
51712 fi
51713
51714 fi
51715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51716 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51717 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51718 for ac_func in quick_exit
51719 do :
51720 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51721 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51722 cat >>confdefs.h <<_ACEOF
51723 #define HAVE_QUICK_EXIT 1
51724 _ACEOF
51725
51726 fi
51727 done
51728
51729 fi
51730
51731
51732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51733 $as_echo_n "checking for strtold declaration... " >&6; }
51734 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51735 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51736 $as_echo_n "(cached) " >&6
51737 else
51738
51739
51740 ac_ext=cpp
51741 ac_cpp='$CXXCPP $CPPFLAGS'
51742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51745
51746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51747 /* end confdefs.h. */
51748 #include <stdlib.h>
51749 int
51750 main ()
51751 {
51752 strtold(0, 0);
51753 ;
51754 return 0;
51755 }
51756 _ACEOF
51757 if ac_fn_cxx_try_compile "$LINENO"; then :
51758 glibcxx_cv_func_strtold_use=yes
51759 else
51760 glibcxx_cv_func_strtold_use=no
51761 fi
51762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51763 ac_ext=c
51764 ac_cpp='$CPP $CPPFLAGS'
51765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51768
51769
51770 fi
51771
51772 fi
51773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51774 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51775 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51776 for ac_func in strtold
51777 do :
51778 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51779 if test "x$ac_cv_func_strtold" = x""yes; then :
51780 cat >>confdefs.h <<_ACEOF
51781 #define HAVE_STRTOLD 1
51782 _ACEOF
51783
51784 fi
51785 done
51786
51787 fi
51788
51789
51790
51791
51792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51793 $as_echo_n "checking for strtof declaration... " >&6; }
51794 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51795 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51796 $as_echo_n "(cached) " >&6
51797 else
51798
51799
51800 ac_ext=cpp
51801 ac_cpp='$CXXCPP $CPPFLAGS'
51802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51805
51806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51807 /* end confdefs.h. */
51808 #include <stdlib.h>
51809 int
51810 main ()
51811 {
51812 strtof(0, 0);
51813 ;
51814 return 0;
51815 }
51816 _ACEOF
51817 if ac_fn_cxx_try_compile "$LINENO"; then :
51818 glibcxx_cv_func_strtof_use=yes
51819 else
51820 glibcxx_cv_func_strtof_use=no
51821 fi
51822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51823 ac_ext=c
51824 ac_cpp='$CPP $CPPFLAGS'
51825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51828
51829
51830 fi
51831
51832 fi
51833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51834 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51835 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51836 for ac_func in strtof
51837 do :
51838 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51839 if test "x$ac_cv_func_strtof" = x""yes; then :
51840 cat >>confdefs.h <<_ACEOF
51841 #define HAVE_STRTOF 1
51842 _ACEOF
51843
51844 fi
51845 done
51846
51847 fi
51848
51849
51850
51851
51852 CXXFLAGS="$ac_save_CXXFLAGS"
51853
51854 ;;
51855
51856 *djgpp)
51857 # GLIBCXX_CHECK_MATH_SUPPORT
51858 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51859
51860 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51861
51862 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51863
51864 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
51865
51866 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51867
51868 ;;
51869
51870 *-freebsd*)
51871 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51872
51873
51874 # If we're not using GNU ld, then there's no point in even trying these
51875 # tests. Check for that first. We should have already tested for gld
51876 # by now (in libtool), but require it now just to be safe...
51877 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51878 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51879
51880
51881
51882 # The name set by libtool depends on the version of libtool. Shame on us
51883 # for depending on an impl detail, but c'est la vie. Older versions used
51884 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51885 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51886 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51887 # set (hence we're using an older libtool), then set it.
51888 if test x${with_gnu_ld+set} != xset; then
51889 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51890 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51891 with_gnu_ld=no
51892 else
51893 with_gnu_ld=$ac_cv_prog_gnu_ld
51894 fi
51895 fi
51896
51897 # Start by getting the version number. I think the libtool test already
51898 # does some of this, but throws away the result.
51899 glibcxx_ld_is_gold=no
51900 if test x"$with_gnu_ld" = x"yes"; then
51901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51902 $as_echo_n "checking for ld version... " >&6; }
51903
51904 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51905 glibcxx_ld_is_gold=yes
51906 fi
51907 ldver=`$LD --version 2>/dev/null |
51908 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'`
51909
51910 glibcxx_gnu_ld_version=`echo $ldver | \
51911 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51913 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51914 fi
51915
51916 # Set --gc-sections.
51917 glibcxx_have_gc_sections=no
51918 if test "$glibcxx_ld_is_gold" = "yes"; then
51919 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51920 glibcxx_have_gc_sections=yes
51921 fi
51922 else
51923 glibcxx_gcsections_min_ld=21602
51924 if test x"$with_gnu_ld" = x"yes" &&
51925 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51926 glibcxx_have_gc_sections=yes
51927 fi
51928 fi
51929 if test "$glibcxx_have_gc_sections" = "yes"; then
51930 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51931 # NB: This flag only works reliably after 2.16.1. Configure tests
51932 # for this are difficult, so hard wire a value that should work.
51933
51934 ac_test_CFLAGS="${CFLAGS+set}"
51935 ac_save_CFLAGS="$CFLAGS"
51936 CFLAGS='-Wl,--gc-sections'
51937
51938 # Check for -Wl,--gc-sections
51939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51940 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51941 if test x$gcc_no_link = xyes; then
51942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51943 fi
51944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51945 /* end confdefs.h. */
51946 int one(void) { return 1; }
51947 int two(void) { return 2; }
51948
51949 int
51950 main ()
51951 {
51952 two();
51953 ;
51954 return 0;
51955 }
51956 _ACEOF
51957 if ac_fn_c_try_link "$LINENO"; then :
51958 ac_gcsections=yes
51959 else
51960 ac_gcsections=no
51961 fi
51962 rm -f core conftest.err conftest.$ac_objext \
51963 conftest$ac_exeext conftest.$ac_ext
51964 if test "$ac_gcsections" = "yes"; then
51965 rm -f conftest.c
51966 touch conftest.c
51967 if $CC -c conftest.c; then
51968 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51969 grep "Warning: gc-sections option ignored" > /dev/null; then
51970 ac_gcsections=no
51971 fi
51972 fi
51973 rm -f conftest.c conftest.o conftest
51974 fi
51975 if test "$ac_gcsections" = "yes"; then
51976 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51977 fi
51978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51979 $as_echo "$ac_gcsections" >&6; }
51980
51981 if test "$ac_test_CFLAGS" = set; then
51982 CFLAGS="$ac_save_CFLAGS"
51983 else
51984 # this is the suspicious part
51985 CFLAGS=''
51986 fi
51987 fi
51988
51989 # Set -z,relro.
51990 # Note this is only for shared objects.
51991 ac_ld_relro=no
51992 if test x"$with_gnu_ld" = x"yes"; then
51993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51994 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51995 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51996 if test -n "$cxx_z_relo"; then
51997 OPT_LDFLAGS="-Wl,-z,relro"
51998 ac_ld_relro=yes
51999 fi
52000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52001 $as_echo "$ac_ld_relro" >&6; }
52002 fi
52003
52004 # Set linker optimization flags.
52005 if test x"$with_gnu_ld" = x"yes"; then
52006 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52007 fi
52008
52009
52010
52011
52012 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52013
52014 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52015
52016 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52017
52018 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52019
52020 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52021
52022 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52023
52024 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52025
52026 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52027
52028 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52029
52030
52031 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52032
52033 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52034
52035 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52036
52037 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52038
52039 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52040
52041 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52042
52043 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52044
52045 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52046
52047 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52048
52049 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52050
52051 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52052
52053 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52054
52055 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52056
52057 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52058
52059 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52060
52061 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52062
52063 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52064
52065 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52066
52067 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52068
52069 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52070
52071 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52072
52073 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52074
52075 if test x"long_double_math_on_this_cpu" = x"yes"; then
52076 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52077
52078 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52079
52080 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52081
52082 fi
52083 ;;
52084 *-hpux*)
52085 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52086
52087
52088 # If we're not using GNU ld, then there's no point in even trying these
52089 # tests. Check for that first. We should have already tested for gld
52090 # by now (in libtool), but require it now just to be safe...
52091 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52092 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52093
52094
52095
52096 # The name set by libtool depends on the version of libtool. Shame on us
52097 # for depending on an impl detail, but c'est la vie. Older versions used
52098 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52099 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52100 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52101 # set (hence we're using an older libtool), then set it.
52102 if test x${with_gnu_ld+set} != xset; then
52103 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52104 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52105 with_gnu_ld=no
52106 else
52107 with_gnu_ld=$ac_cv_prog_gnu_ld
52108 fi
52109 fi
52110
52111 # Start by getting the version number. I think the libtool test already
52112 # does some of this, but throws away the result.
52113 glibcxx_ld_is_gold=no
52114 if test x"$with_gnu_ld" = x"yes"; then
52115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52116 $as_echo_n "checking for ld version... " >&6; }
52117
52118 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52119 glibcxx_ld_is_gold=yes
52120 fi
52121 ldver=`$LD --version 2>/dev/null |
52122 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'`
52123
52124 glibcxx_gnu_ld_version=`echo $ldver | \
52125 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52127 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52128 fi
52129
52130 # Set --gc-sections.
52131 glibcxx_have_gc_sections=no
52132 if test "$glibcxx_ld_is_gold" = "yes"; then
52133 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52134 glibcxx_have_gc_sections=yes
52135 fi
52136 else
52137 glibcxx_gcsections_min_ld=21602
52138 if test x"$with_gnu_ld" = x"yes" &&
52139 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52140 glibcxx_have_gc_sections=yes
52141 fi
52142 fi
52143 if test "$glibcxx_have_gc_sections" = "yes"; then
52144 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52145 # NB: This flag only works reliably after 2.16.1. Configure tests
52146 # for this are difficult, so hard wire a value that should work.
52147
52148 ac_test_CFLAGS="${CFLAGS+set}"
52149 ac_save_CFLAGS="$CFLAGS"
52150 CFLAGS='-Wl,--gc-sections'
52151
52152 # Check for -Wl,--gc-sections
52153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52154 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52155 if test x$gcc_no_link = xyes; then
52156 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52157 fi
52158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52159 /* end confdefs.h. */
52160 int one(void) { return 1; }
52161 int two(void) { return 2; }
52162
52163 int
52164 main ()
52165 {
52166 two();
52167 ;
52168 return 0;
52169 }
52170 _ACEOF
52171 if ac_fn_c_try_link "$LINENO"; then :
52172 ac_gcsections=yes
52173 else
52174 ac_gcsections=no
52175 fi
52176 rm -f core conftest.err conftest.$ac_objext \
52177 conftest$ac_exeext conftest.$ac_ext
52178 if test "$ac_gcsections" = "yes"; then
52179 rm -f conftest.c
52180 touch conftest.c
52181 if $CC -c conftest.c; then
52182 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52183 grep "Warning: gc-sections option ignored" > /dev/null; then
52184 ac_gcsections=no
52185 fi
52186 fi
52187 rm -f conftest.c conftest.o conftest
52188 fi
52189 if test "$ac_gcsections" = "yes"; then
52190 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52191 fi
52192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52193 $as_echo "$ac_gcsections" >&6; }
52194
52195 if test "$ac_test_CFLAGS" = set; then
52196 CFLAGS="$ac_save_CFLAGS"
52197 else
52198 # this is the suspicious part
52199 CFLAGS=''
52200 fi
52201 fi
52202
52203 # Set -z,relro.
52204 # Note this is only for shared objects.
52205 ac_ld_relro=no
52206 if test x"$with_gnu_ld" = x"yes"; then
52207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52208 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52209 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52210 if test -n "$cxx_z_relo"; then
52211 OPT_LDFLAGS="-Wl,-z,relro"
52212 ac_ld_relro=yes
52213 fi
52214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52215 $as_echo "$ac_ld_relro" >&6; }
52216 fi
52217
52218 # Set linker optimization flags.
52219 if test x"$with_gnu_ld" = x"yes"; then
52220 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52221 fi
52222
52223
52224
52225
52226
52227 # GLIBCXX_CHECK_MATH_SUPPORT
52228 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52229
52230 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52231
52232 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52233
52234 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52235
52236 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52237
52238 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52239
52240 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52241
52242 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52243
52244 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52245
52246 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52247
52248 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52249
52250 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52251
52252 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52253
52254 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52255
52256 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52257
52258 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52259
52260 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52261
52262 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52263
52264 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52265
52266 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52267
52268 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52269
52270
52271 # GLIBCXX_CHECK_STDLIB_SUPPORT
52272 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52273
52274
52275
52276
52277 # Check whether --enable-tls was given.
52278 if test "${enable_tls+set}" = set; then :
52279 enableval=$enable_tls;
52280 case "$enableval" in
52281 yes|no) ;;
52282 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52283 esac
52284
52285 else
52286 enable_tls=yes
52287 fi
52288
52289
52290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52291 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52292 if test "${gcc_cv_have_tls+set}" = set; then :
52293 $as_echo_n "(cached) " >&6
52294 else
52295
52296 if test "$cross_compiling" = yes; then :
52297 if test x$gcc_no_link = xyes; then
52298 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52299 fi
52300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52301 /* end confdefs.h. */
52302 __thread int a; int b; int main() { return a = b; }
52303 _ACEOF
52304 if ac_fn_c_try_link "$LINENO"; then :
52305 chktls_save_LDFLAGS="$LDFLAGS"
52306 case $host in
52307 *-*-linux*)
52308 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52309 ;;
52310 esac
52311 chktls_save_CFLAGS="$CFLAGS"
52312 CFLAGS="-fPIC $CFLAGS"
52313 if test x$gcc_no_link = xyes; then
52314 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52315 fi
52316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52317 /* end confdefs.h. */
52318 int f() { return 0; }
52319 _ACEOF
52320 if ac_fn_c_try_link "$LINENO"; then :
52321 if test x$gcc_no_link = xyes; then
52322 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52323 fi
52324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52325 /* end confdefs.h. */
52326 __thread int a; int b; int f() { return a = b; }
52327 _ACEOF
52328 if ac_fn_c_try_link "$LINENO"; then :
52329 gcc_cv_have_tls=yes
52330 else
52331 gcc_cv_have_tls=no
52332 fi
52333 rm -f core conftest.err conftest.$ac_objext \
52334 conftest$ac_exeext conftest.$ac_ext
52335 else
52336 gcc_cv_have_tls=yes
52337 fi
52338 rm -f core conftest.err conftest.$ac_objext \
52339 conftest$ac_exeext conftest.$ac_ext
52340 CFLAGS="$chktls_save_CFLAGS"
52341 LDFLAGS="$chktls_save_LDFLAGS"
52342 else
52343 gcc_cv_have_tls=no
52344 fi
52345 rm -f core conftest.err conftest.$ac_objext \
52346 conftest$ac_exeext conftest.$ac_ext
52347
52348
52349 else
52350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52351 /* end confdefs.h. */
52352 __thread int a; int b; int main() { return a = b; }
52353 _ACEOF
52354 if ac_fn_c_try_run "$LINENO"; then :
52355 chktls_save_LDFLAGS="$LDFLAGS"
52356 LDFLAGS="-static $LDFLAGS"
52357 if test x$gcc_no_link = xyes; then
52358 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52359 fi
52360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52361 /* end confdefs.h. */
52362 int main() { return 0; }
52363 _ACEOF
52364 if ac_fn_c_try_link "$LINENO"; then :
52365 if test "$cross_compiling" = yes; then :
52366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52368 as_fn_error "cannot run test program while cross compiling
52369 See \`config.log' for more details." "$LINENO" 5; }
52370 else
52371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52372 /* end confdefs.h. */
52373 __thread int a; int b; int main() { return a = b; }
52374 _ACEOF
52375 if ac_fn_c_try_run "$LINENO"; then :
52376 gcc_cv_have_tls=yes
52377 else
52378 gcc_cv_have_tls=no
52379 fi
52380 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52381 conftest.$ac_objext conftest.beam conftest.$ac_ext
52382 fi
52383
52384 else
52385 gcc_cv_have_tls=yes
52386 fi
52387 rm -f core conftest.err conftest.$ac_objext \
52388 conftest$ac_exeext conftest.$ac_ext
52389 LDFLAGS="$chktls_save_LDFLAGS"
52390 if test $gcc_cv_have_tls = yes; then
52391 chktls_save_CFLAGS="$CFLAGS"
52392 thread_CFLAGS=failed
52393 for flag in '' '-pthread' '-lpthread'; do
52394 CFLAGS="$flag $chktls_save_CFLAGS"
52395 if test x$gcc_no_link = xyes; then
52396 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52397 fi
52398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52399 /* end confdefs.h. */
52400 #include <pthread.h>
52401 void *g(void *d) { return NULL; }
52402 int
52403 main ()
52404 {
52405 pthread_t t; pthread_create(&t,NULL,g,NULL);
52406 ;
52407 return 0;
52408 }
52409 _ACEOF
52410 if ac_fn_c_try_link "$LINENO"; then :
52411 thread_CFLAGS="$flag"
52412 fi
52413 rm -f core conftest.err conftest.$ac_objext \
52414 conftest$ac_exeext conftest.$ac_ext
52415 if test "X$thread_CFLAGS" != Xfailed; then
52416 break
52417 fi
52418 done
52419 CFLAGS="$chktls_save_CFLAGS"
52420 if test "X$thread_CFLAGS" != Xfailed; then
52421 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52422 if test "$cross_compiling" = yes; then :
52423 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52425 as_fn_error "cannot run test program while cross compiling
52426 See \`config.log' for more details." "$LINENO" 5; }
52427 else
52428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52429 /* end confdefs.h. */
52430 #include <pthread.h>
52431 __thread int a;
52432 static int *volatile a_in_other_thread;
52433 static void *
52434 thread_func (void *arg)
52435 {
52436 a_in_other_thread = &a;
52437 return (void *)0;
52438 }
52439 int
52440 main ()
52441 {
52442 pthread_t thread;
52443 void *thread_retval;
52444 int *volatile a_in_main_thread;
52445 a_in_main_thread = &a;
52446 if (pthread_create (&thread, (pthread_attr_t *)0,
52447 thread_func, (void *)0))
52448 return 0;
52449 if (pthread_join (thread, &thread_retval))
52450 return 0;
52451 return (a_in_other_thread == a_in_main_thread);
52452 ;
52453 return 0;
52454 }
52455 _ACEOF
52456 if ac_fn_c_try_run "$LINENO"; then :
52457 gcc_cv_have_tls=yes
52458 else
52459 gcc_cv_have_tls=no
52460 fi
52461 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52462 conftest.$ac_objext conftest.beam conftest.$ac_ext
52463 fi
52464
52465 CFLAGS="$chktls_save_CFLAGS"
52466 fi
52467 fi
52468 else
52469 gcc_cv_have_tls=no
52470 fi
52471 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52472 conftest.$ac_objext conftest.beam conftest.$ac_ext
52473 fi
52474
52475 fi
52476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52477 $as_echo "$gcc_cv_have_tls" >&6; }
52478 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52479
52480 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52481
52482 fi
52483 case "$target" in
52484 *-hpux10*)
52485 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52486
52487 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52488
52489 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52490
52491 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52492
52493 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52494
52495 ;;
52496 esac
52497 ;;
52498 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52499
52500 # All these tests are for C++; save the language and the compiler flags.
52501 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52502 # found in GLIBCXX_CONFIGURE.
52503
52504 ac_ext=cpp
52505 ac_cpp='$CXXCPP $CPPFLAGS'
52506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52509
52510 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52511 ac_save_CXXFLAGS="$CXXFLAGS"
52512
52513 # Check for maintainer-mode bits.
52514 if test x"$USE_MAINTAINER_MODE" = xno; then
52515 WERROR=''
52516 else
52517 WERROR='-Werror'
52518 fi
52519
52520 # Check for -ffunction-sections -fdata-sections
52521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52522 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52523 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52525 /* end confdefs.h. */
52526 int foo; void bar() { };
52527 int
52528 main ()
52529 {
52530
52531 ;
52532 return 0;
52533 }
52534 _ACEOF
52535 if ac_fn_cxx_try_compile "$LINENO"; then :
52536 ac_fdsections=yes
52537 else
52538 ac_fdsections=no
52539 fi
52540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52541 if test "$ac_test_CXXFLAGS" = set; then
52542 CXXFLAGS="$ac_save_CXXFLAGS"
52543 else
52544 # this is the suspicious part
52545 CXXFLAGS=''
52546 fi
52547 if test x"$ac_fdsections" = x"yes"; then
52548 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52549 fi
52550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52551 $as_echo "$ac_fdsections" >&6; }
52552
52553 ac_ext=c
52554 ac_cpp='$CPP $CPPFLAGS'
52555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52558
52559
52560
52561
52562
52563 # If we're not using GNU ld, then there's no point in even trying these
52564 # tests. Check for that first. We should have already tested for gld
52565 # by now (in libtool), but require it now just to be safe...
52566 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52567 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52568
52569
52570
52571 # The name set by libtool depends on the version of libtool. Shame on us
52572 # for depending on an impl detail, but c'est la vie. Older versions used
52573 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52574 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52575 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52576 # set (hence we're using an older libtool), then set it.
52577 if test x${with_gnu_ld+set} != xset; then
52578 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52579 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52580 with_gnu_ld=no
52581 else
52582 with_gnu_ld=$ac_cv_prog_gnu_ld
52583 fi
52584 fi
52585
52586 # Start by getting the version number. I think the libtool test already
52587 # does some of this, but throws away the result.
52588 glibcxx_ld_is_gold=no
52589 if test x"$with_gnu_ld" = x"yes"; then
52590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52591 $as_echo_n "checking for ld version... " >&6; }
52592
52593 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52594 glibcxx_ld_is_gold=yes
52595 fi
52596 ldver=`$LD --version 2>/dev/null |
52597 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'`
52598
52599 glibcxx_gnu_ld_version=`echo $ldver | \
52600 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52602 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52603 fi
52604
52605 # Set --gc-sections.
52606 glibcxx_have_gc_sections=no
52607 if test "$glibcxx_ld_is_gold" = "yes"; then
52608 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52609 glibcxx_have_gc_sections=yes
52610 fi
52611 else
52612 glibcxx_gcsections_min_ld=21602
52613 if test x"$with_gnu_ld" = x"yes" &&
52614 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52615 glibcxx_have_gc_sections=yes
52616 fi
52617 fi
52618 if test "$glibcxx_have_gc_sections" = "yes"; then
52619 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52620 # NB: This flag only works reliably after 2.16.1. Configure tests
52621 # for this are difficult, so hard wire a value that should work.
52622
52623 ac_test_CFLAGS="${CFLAGS+set}"
52624 ac_save_CFLAGS="$CFLAGS"
52625 CFLAGS='-Wl,--gc-sections'
52626
52627 # Check for -Wl,--gc-sections
52628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52629 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52630 if test x$gcc_no_link = xyes; then
52631 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52632 fi
52633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52634 /* end confdefs.h. */
52635 int one(void) { return 1; }
52636 int two(void) { return 2; }
52637
52638 int
52639 main ()
52640 {
52641 two();
52642 ;
52643 return 0;
52644 }
52645 _ACEOF
52646 if ac_fn_c_try_link "$LINENO"; then :
52647 ac_gcsections=yes
52648 else
52649 ac_gcsections=no
52650 fi
52651 rm -f core conftest.err conftest.$ac_objext \
52652 conftest$ac_exeext conftest.$ac_ext
52653 if test "$ac_gcsections" = "yes"; then
52654 rm -f conftest.c
52655 touch conftest.c
52656 if $CC -c conftest.c; then
52657 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52658 grep "Warning: gc-sections option ignored" > /dev/null; then
52659 ac_gcsections=no
52660 fi
52661 fi
52662 rm -f conftest.c conftest.o conftest
52663 fi
52664 if test "$ac_gcsections" = "yes"; then
52665 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52666 fi
52667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52668 $as_echo "$ac_gcsections" >&6; }
52669
52670 if test "$ac_test_CFLAGS" = set; then
52671 CFLAGS="$ac_save_CFLAGS"
52672 else
52673 # this is the suspicious part
52674 CFLAGS=''
52675 fi
52676 fi
52677
52678 # Set -z,relro.
52679 # Note this is only for shared objects.
52680 ac_ld_relro=no
52681 if test x"$with_gnu_ld" = x"yes"; then
52682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52683 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52684 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52685 if test -n "$cxx_z_relo"; then
52686 OPT_LDFLAGS="-Wl,-z,relro"
52687 ac_ld_relro=yes
52688 fi
52689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52690 $as_echo "$ac_ld_relro" >&6; }
52691 fi
52692
52693 # Set linker optimization flags.
52694 if test x"$with_gnu_ld" = x"yes"; then
52695 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52696 fi
52697
52698
52699
52700
52701
52702 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52703 ac_save_CXXFLAGS="$CXXFLAGS"
52704 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52705
52706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52707 $as_echo_n "checking for sin in -lm... " >&6; }
52708 if test "${ac_cv_lib_m_sin+set}" = set; then :
52709 $as_echo_n "(cached) " >&6
52710 else
52711 ac_check_lib_save_LIBS=$LIBS
52712 LIBS="-lm $LIBS"
52713 if test x$gcc_no_link = xyes; then
52714 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52715 fi
52716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52717 /* end confdefs.h. */
52718
52719 /* Override any GCC internal prototype to avoid an error.
52720 Use char because int might match the return type of a GCC
52721 builtin and then its argument prototype would still apply. */
52722 #ifdef __cplusplus
52723 extern "C"
52724 #endif
52725 char sin ();
52726 int
52727 main ()
52728 {
52729 return sin ();
52730 ;
52731 return 0;
52732 }
52733 _ACEOF
52734 if ac_fn_c_try_link "$LINENO"; then :
52735 ac_cv_lib_m_sin=yes
52736 else
52737 ac_cv_lib_m_sin=no
52738 fi
52739 rm -f core conftest.err conftest.$ac_objext \
52740 conftest$ac_exeext conftest.$ac_ext
52741 LIBS=$ac_check_lib_save_LIBS
52742 fi
52743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52744 $as_echo "$ac_cv_lib_m_sin" >&6; }
52745 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52746 libm="-lm"
52747 fi
52748
52749 ac_save_LIBS="$LIBS"
52750 LIBS="$LIBS $libm"
52751
52752
52753
52754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52755 $as_echo_n "checking for isinf declaration... " >&6; }
52756 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52757 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52758 $as_echo_n "(cached) " >&6
52759 else
52760
52761
52762 ac_ext=cpp
52763 ac_cpp='$CXXCPP $CPPFLAGS'
52764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52767
52768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52769 /* end confdefs.h. */
52770 #include <math.h>
52771 #ifdef HAVE_IEEEFP_H
52772 #include <ieeefp.h>
52773 #endif
52774
52775 int
52776 main ()
52777 {
52778 isinf(0);
52779 ;
52780 return 0;
52781 }
52782 _ACEOF
52783 if ac_fn_cxx_try_compile "$LINENO"; then :
52784 glibcxx_cv_func_isinf_use=yes
52785 else
52786 glibcxx_cv_func_isinf_use=no
52787 fi
52788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52789 ac_ext=c
52790 ac_cpp='$CPP $CPPFLAGS'
52791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52794
52795
52796 fi
52797
52798 fi
52799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52800 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52801
52802 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52803 for ac_func in isinf
52804 do :
52805 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52806 if test "x$ac_cv_func_isinf" = x""yes; then :
52807 cat >>confdefs.h <<_ACEOF
52808 #define HAVE_ISINF 1
52809 _ACEOF
52810
52811 fi
52812 done
52813
52814 else
52815
52816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52817 $as_echo_n "checking for _isinf declaration... " >&6; }
52818 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52819 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52820 $as_echo_n "(cached) " >&6
52821 else
52822
52823
52824 ac_ext=cpp
52825 ac_cpp='$CXXCPP $CPPFLAGS'
52826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52829
52830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52831 /* end confdefs.h. */
52832 #include <math.h>
52833 #ifdef HAVE_IEEEFP_H
52834 #include <ieeefp.h>
52835 #endif
52836
52837 int
52838 main ()
52839 {
52840 _isinf(0);
52841 ;
52842 return 0;
52843 }
52844 _ACEOF
52845 if ac_fn_cxx_try_compile "$LINENO"; then :
52846 glibcxx_cv_func__isinf_use=yes
52847 else
52848 glibcxx_cv_func__isinf_use=no
52849 fi
52850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52851 ac_ext=c
52852 ac_cpp='$CPP $CPPFLAGS'
52853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52856
52857
52858 fi
52859
52860 fi
52861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52862 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52863
52864 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52865 for ac_func in _isinf
52866 do :
52867 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52868 if test "x$ac_cv_func__isinf" = x""yes; then :
52869 cat >>confdefs.h <<_ACEOF
52870 #define HAVE__ISINF 1
52871 _ACEOF
52872
52873 fi
52874 done
52875
52876 fi
52877 fi
52878
52879
52880
52881
52882
52883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52884 $as_echo_n "checking for isnan declaration... " >&6; }
52885 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52886 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52887 $as_echo_n "(cached) " >&6
52888 else
52889
52890
52891 ac_ext=cpp
52892 ac_cpp='$CXXCPP $CPPFLAGS'
52893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52896
52897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52898 /* end confdefs.h. */
52899 #include <math.h>
52900 #ifdef HAVE_IEEEFP_H
52901 #include <ieeefp.h>
52902 #endif
52903
52904 int
52905 main ()
52906 {
52907 isnan(0);
52908 ;
52909 return 0;
52910 }
52911 _ACEOF
52912 if ac_fn_cxx_try_compile "$LINENO"; then :
52913 glibcxx_cv_func_isnan_use=yes
52914 else
52915 glibcxx_cv_func_isnan_use=no
52916 fi
52917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52918 ac_ext=c
52919 ac_cpp='$CPP $CPPFLAGS'
52920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52923
52924
52925 fi
52926
52927 fi
52928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52929 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52930
52931 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52932 for ac_func in isnan
52933 do :
52934 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52935 if test "x$ac_cv_func_isnan" = x""yes; then :
52936 cat >>confdefs.h <<_ACEOF
52937 #define HAVE_ISNAN 1
52938 _ACEOF
52939
52940 fi
52941 done
52942
52943 else
52944
52945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52946 $as_echo_n "checking for _isnan declaration... " >&6; }
52947 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52948 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52949 $as_echo_n "(cached) " >&6
52950 else
52951
52952
52953 ac_ext=cpp
52954 ac_cpp='$CXXCPP $CPPFLAGS'
52955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52958
52959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52960 /* end confdefs.h. */
52961 #include <math.h>
52962 #ifdef HAVE_IEEEFP_H
52963 #include <ieeefp.h>
52964 #endif
52965
52966 int
52967 main ()
52968 {
52969 _isnan(0);
52970 ;
52971 return 0;
52972 }
52973 _ACEOF
52974 if ac_fn_cxx_try_compile "$LINENO"; then :
52975 glibcxx_cv_func__isnan_use=yes
52976 else
52977 glibcxx_cv_func__isnan_use=no
52978 fi
52979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52980 ac_ext=c
52981 ac_cpp='$CPP $CPPFLAGS'
52982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52985
52986
52987 fi
52988
52989 fi
52990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52991 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52992
52993 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52994 for ac_func in _isnan
52995 do :
52996 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52997 if test "x$ac_cv_func__isnan" = x""yes; then :
52998 cat >>confdefs.h <<_ACEOF
52999 #define HAVE__ISNAN 1
53000 _ACEOF
53001
53002 fi
53003 done
53004
53005 fi
53006 fi
53007
53008
53009
53010
53011
53012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53013 $as_echo_n "checking for finite declaration... " >&6; }
53014 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53015 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53016 $as_echo_n "(cached) " >&6
53017 else
53018
53019
53020 ac_ext=cpp
53021 ac_cpp='$CXXCPP $CPPFLAGS'
53022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53025
53026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53027 /* end confdefs.h. */
53028 #include <math.h>
53029 #ifdef HAVE_IEEEFP_H
53030 #include <ieeefp.h>
53031 #endif
53032
53033 int
53034 main ()
53035 {
53036 finite(0);
53037 ;
53038 return 0;
53039 }
53040 _ACEOF
53041 if ac_fn_cxx_try_compile "$LINENO"; then :
53042 glibcxx_cv_func_finite_use=yes
53043 else
53044 glibcxx_cv_func_finite_use=no
53045 fi
53046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53047 ac_ext=c
53048 ac_cpp='$CPP $CPPFLAGS'
53049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53052
53053
53054 fi
53055
53056 fi
53057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53058 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53059
53060 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53061 for ac_func in finite
53062 do :
53063 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53064 if test "x$ac_cv_func_finite" = x""yes; then :
53065 cat >>confdefs.h <<_ACEOF
53066 #define HAVE_FINITE 1
53067 _ACEOF
53068
53069 fi
53070 done
53071
53072 else
53073
53074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53075 $as_echo_n "checking for _finite declaration... " >&6; }
53076 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53077 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53078 $as_echo_n "(cached) " >&6
53079 else
53080
53081
53082 ac_ext=cpp
53083 ac_cpp='$CXXCPP $CPPFLAGS'
53084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53087
53088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53089 /* end confdefs.h. */
53090 #include <math.h>
53091 #ifdef HAVE_IEEEFP_H
53092 #include <ieeefp.h>
53093 #endif
53094
53095 int
53096 main ()
53097 {
53098 _finite(0);
53099 ;
53100 return 0;
53101 }
53102 _ACEOF
53103 if ac_fn_cxx_try_compile "$LINENO"; then :
53104 glibcxx_cv_func__finite_use=yes
53105 else
53106 glibcxx_cv_func__finite_use=no
53107 fi
53108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53109 ac_ext=c
53110 ac_cpp='$CPP $CPPFLAGS'
53111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53114
53115
53116 fi
53117
53118 fi
53119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53120 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53121
53122 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53123 for ac_func in _finite
53124 do :
53125 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53126 if test "x$ac_cv_func__finite" = x""yes; then :
53127 cat >>confdefs.h <<_ACEOF
53128 #define HAVE__FINITE 1
53129 _ACEOF
53130
53131 fi
53132 done
53133
53134 fi
53135 fi
53136
53137
53138
53139
53140
53141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53142 $as_echo_n "checking for sincos declaration... " >&6; }
53143 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53144 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53145 $as_echo_n "(cached) " >&6
53146 else
53147
53148
53149 ac_ext=cpp
53150 ac_cpp='$CXXCPP $CPPFLAGS'
53151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53154
53155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53156 /* end confdefs.h. */
53157 #include <math.h>
53158 int
53159 main ()
53160 {
53161 sincos(0, 0, 0);
53162 ;
53163 return 0;
53164 }
53165 _ACEOF
53166 if ac_fn_cxx_try_compile "$LINENO"; then :
53167 glibcxx_cv_func_sincos_use=yes
53168 else
53169 glibcxx_cv_func_sincos_use=no
53170 fi
53171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53172 ac_ext=c
53173 ac_cpp='$CPP $CPPFLAGS'
53174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53177
53178
53179 fi
53180
53181 fi
53182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53183 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53184
53185 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53186 for ac_func in sincos
53187 do :
53188 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53189 if test "x$ac_cv_func_sincos" = x""yes; then :
53190 cat >>confdefs.h <<_ACEOF
53191 #define HAVE_SINCOS 1
53192 _ACEOF
53193
53194 fi
53195 done
53196
53197 else
53198
53199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53200 $as_echo_n "checking for _sincos declaration... " >&6; }
53201 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53202 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53203 $as_echo_n "(cached) " >&6
53204 else
53205
53206
53207 ac_ext=cpp
53208 ac_cpp='$CXXCPP $CPPFLAGS'
53209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53212
53213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53214 /* end confdefs.h. */
53215 #include <math.h>
53216 int
53217 main ()
53218 {
53219 _sincos(0, 0, 0);
53220 ;
53221 return 0;
53222 }
53223 _ACEOF
53224 if ac_fn_cxx_try_compile "$LINENO"; then :
53225 glibcxx_cv_func__sincos_use=yes
53226 else
53227 glibcxx_cv_func__sincos_use=no
53228 fi
53229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53230 ac_ext=c
53231 ac_cpp='$CPP $CPPFLAGS'
53232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53235
53236
53237 fi
53238
53239 fi
53240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53241 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53242
53243 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53244 for ac_func in _sincos
53245 do :
53246 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53247 if test "x$ac_cv_func__sincos" = x""yes; then :
53248 cat >>confdefs.h <<_ACEOF
53249 #define HAVE__SINCOS 1
53250 _ACEOF
53251
53252 fi
53253 done
53254
53255 fi
53256 fi
53257
53258
53259
53260
53261
53262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53263 $as_echo_n "checking for fpclass declaration... " >&6; }
53264 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53265 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53266 $as_echo_n "(cached) " >&6
53267 else
53268
53269
53270 ac_ext=cpp
53271 ac_cpp='$CXXCPP $CPPFLAGS'
53272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53275
53276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53277 /* end confdefs.h. */
53278 #include <math.h>
53279 #ifdef HAVE_IEEEFP_H
53280 #include <ieeefp.h>
53281 #endif
53282
53283 int
53284 main ()
53285 {
53286 fpclass(0);
53287 ;
53288 return 0;
53289 }
53290 _ACEOF
53291 if ac_fn_cxx_try_compile "$LINENO"; then :
53292 glibcxx_cv_func_fpclass_use=yes
53293 else
53294 glibcxx_cv_func_fpclass_use=no
53295 fi
53296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53297 ac_ext=c
53298 ac_cpp='$CPP $CPPFLAGS'
53299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53302
53303
53304 fi
53305
53306 fi
53307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53308 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53309
53310 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53311 for ac_func in fpclass
53312 do :
53313 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53314 if test "x$ac_cv_func_fpclass" = x""yes; then :
53315 cat >>confdefs.h <<_ACEOF
53316 #define HAVE_FPCLASS 1
53317 _ACEOF
53318
53319 fi
53320 done
53321
53322 else
53323
53324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53325 $as_echo_n "checking for _fpclass declaration... " >&6; }
53326 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53327 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53328 $as_echo_n "(cached) " >&6
53329 else
53330
53331
53332 ac_ext=cpp
53333 ac_cpp='$CXXCPP $CPPFLAGS'
53334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53337
53338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53339 /* end confdefs.h. */
53340 #include <math.h>
53341 #ifdef HAVE_IEEEFP_H
53342 #include <ieeefp.h>
53343 #endif
53344
53345 int
53346 main ()
53347 {
53348 _fpclass(0);
53349 ;
53350 return 0;
53351 }
53352 _ACEOF
53353 if ac_fn_cxx_try_compile "$LINENO"; then :
53354 glibcxx_cv_func__fpclass_use=yes
53355 else
53356 glibcxx_cv_func__fpclass_use=no
53357 fi
53358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53359 ac_ext=c
53360 ac_cpp='$CPP $CPPFLAGS'
53361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53364
53365
53366 fi
53367
53368 fi
53369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53370 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53371
53372 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53373 for ac_func in _fpclass
53374 do :
53375 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53376 if test "x$ac_cv_func__fpclass" = x""yes; then :
53377 cat >>confdefs.h <<_ACEOF
53378 #define HAVE__FPCLASS 1
53379 _ACEOF
53380
53381 fi
53382 done
53383
53384 fi
53385 fi
53386
53387
53388
53389
53390
53391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53392 $as_echo_n "checking for qfpclass declaration... " >&6; }
53393 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53394 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53395 $as_echo_n "(cached) " >&6
53396 else
53397
53398
53399 ac_ext=cpp
53400 ac_cpp='$CXXCPP $CPPFLAGS'
53401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53404
53405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53406 /* end confdefs.h. */
53407 #include <math.h>
53408 #ifdef HAVE_IEEEFP_H
53409 #include <ieeefp.h>
53410 #endif
53411
53412 int
53413 main ()
53414 {
53415 qfpclass(0);
53416 ;
53417 return 0;
53418 }
53419 _ACEOF
53420 if ac_fn_cxx_try_compile "$LINENO"; then :
53421 glibcxx_cv_func_qfpclass_use=yes
53422 else
53423 glibcxx_cv_func_qfpclass_use=no
53424 fi
53425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53426 ac_ext=c
53427 ac_cpp='$CPP $CPPFLAGS'
53428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53431
53432
53433 fi
53434
53435 fi
53436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53437 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53438
53439 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53440 for ac_func in qfpclass
53441 do :
53442 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53443 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53444 cat >>confdefs.h <<_ACEOF
53445 #define HAVE_QFPCLASS 1
53446 _ACEOF
53447
53448 fi
53449 done
53450
53451 else
53452
53453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53454 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53455 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53456 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53457 $as_echo_n "(cached) " >&6
53458 else
53459
53460
53461 ac_ext=cpp
53462 ac_cpp='$CXXCPP $CPPFLAGS'
53463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53466
53467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53468 /* end confdefs.h. */
53469 #include <math.h>
53470 #ifdef HAVE_IEEEFP_H
53471 #include <ieeefp.h>
53472 #endif
53473
53474 int
53475 main ()
53476 {
53477 _qfpclass(0);
53478 ;
53479 return 0;
53480 }
53481 _ACEOF
53482 if ac_fn_cxx_try_compile "$LINENO"; then :
53483 glibcxx_cv_func__qfpclass_use=yes
53484 else
53485 glibcxx_cv_func__qfpclass_use=no
53486 fi
53487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53488 ac_ext=c
53489 ac_cpp='$CPP $CPPFLAGS'
53490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53493
53494
53495 fi
53496
53497 fi
53498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53499 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53500
53501 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53502 for ac_func in _qfpclass
53503 do :
53504 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53505 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53506 cat >>confdefs.h <<_ACEOF
53507 #define HAVE__QFPCLASS 1
53508 _ACEOF
53509
53510 fi
53511 done
53512
53513 fi
53514 fi
53515
53516
53517
53518
53519
53520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53521 $as_echo_n "checking for hypot declaration... " >&6; }
53522 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53523 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53524 $as_echo_n "(cached) " >&6
53525 else
53526
53527
53528 ac_ext=cpp
53529 ac_cpp='$CXXCPP $CPPFLAGS'
53530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53533
53534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53535 /* end confdefs.h. */
53536 #include <math.h>
53537 int
53538 main ()
53539 {
53540 hypot(0, 0);
53541 ;
53542 return 0;
53543 }
53544 _ACEOF
53545 if ac_fn_cxx_try_compile "$LINENO"; then :
53546 glibcxx_cv_func_hypot_use=yes
53547 else
53548 glibcxx_cv_func_hypot_use=no
53549 fi
53550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53551 ac_ext=c
53552 ac_cpp='$CPP $CPPFLAGS'
53553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53556
53557
53558 fi
53559
53560 fi
53561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53562 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53563
53564 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53565 for ac_func in hypot
53566 do :
53567 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53568 if test "x$ac_cv_func_hypot" = x""yes; then :
53569 cat >>confdefs.h <<_ACEOF
53570 #define HAVE_HYPOT 1
53571 _ACEOF
53572
53573 fi
53574 done
53575
53576 else
53577
53578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53579 $as_echo_n "checking for _hypot declaration... " >&6; }
53580 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53581 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53582 $as_echo_n "(cached) " >&6
53583 else
53584
53585
53586 ac_ext=cpp
53587 ac_cpp='$CXXCPP $CPPFLAGS'
53588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53591
53592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53593 /* end confdefs.h. */
53594 #include <math.h>
53595 int
53596 main ()
53597 {
53598 _hypot(0, 0);
53599 ;
53600 return 0;
53601 }
53602 _ACEOF
53603 if ac_fn_cxx_try_compile "$LINENO"; then :
53604 glibcxx_cv_func__hypot_use=yes
53605 else
53606 glibcxx_cv_func__hypot_use=no
53607 fi
53608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53609 ac_ext=c
53610 ac_cpp='$CPP $CPPFLAGS'
53611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53614
53615
53616 fi
53617
53618 fi
53619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53620 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53621
53622 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53623 for ac_func in _hypot
53624 do :
53625 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53626 if test "x$ac_cv_func__hypot" = x""yes; then :
53627 cat >>confdefs.h <<_ACEOF
53628 #define HAVE__HYPOT 1
53629 _ACEOF
53630
53631 fi
53632 done
53633
53634 fi
53635 fi
53636
53637
53638
53639
53640
53641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53642 $as_echo_n "checking for float trig functions... " >&6; }
53643 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53644 $as_echo_n "(cached) " >&6
53645 else
53646
53647
53648 ac_ext=cpp
53649 ac_cpp='$CXXCPP $CPPFLAGS'
53650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53653
53654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53655 /* end confdefs.h. */
53656 #include <math.h>
53657 int
53658 main ()
53659 {
53660 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53661 ;
53662 return 0;
53663 }
53664 _ACEOF
53665 if ac_fn_cxx_try_compile "$LINENO"; then :
53666 glibcxx_cv_func_float_trig_use=yes
53667 else
53668 glibcxx_cv_func_float_trig_use=no
53669 fi
53670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53671 ac_ext=c
53672 ac_cpp='$CPP $CPPFLAGS'
53673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53676
53677 fi
53678
53679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53680 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53681 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53682 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53683 do :
53684 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53685 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53686 eval as_val=\$$as_ac_var
53687 if test "x$as_val" = x""yes; then :
53688 cat >>confdefs.h <<_ACEOF
53689 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53690 _ACEOF
53691
53692 fi
53693 done
53694
53695 else
53696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53697 $as_echo_n "checking for _float trig functions... " >&6; }
53698 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53699 $as_echo_n "(cached) " >&6
53700 else
53701
53702
53703 ac_ext=cpp
53704 ac_cpp='$CXXCPP $CPPFLAGS'
53705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53708
53709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53710 /* end confdefs.h. */
53711 #include <math.h>
53712 int
53713 main ()
53714 {
53715 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53716 ;
53717 return 0;
53718 }
53719 _ACEOF
53720 if ac_fn_cxx_try_compile "$LINENO"; then :
53721 glibcxx_cv_func__float_trig_use=yes
53722 else
53723 glibcxx_cv_func__float_trig_use=no
53724 fi
53725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53726 ac_ext=c
53727 ac_cpp='$CPP $CPPFLAGS'
53728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53731
53732 fi
53733
53734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53735 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53736 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53737 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53738 do :
53739 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53740 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53741 eval as_val=\$$as_ac_var
53742 if test "x$as_val" = x""yes; then :
53743 cat >>confdefs.h <<_ACEOF
53744 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53745 _ACEOF
53746
53747 fi
53748 done
53749
53750 fi
53751 fi
53752
53753
53754
53755
53756
53757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53758 $as_echo_n "checking for float round functions... " >&6; }
53759 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53760 $as_echo_n "(cached) " >&6
53761 else
53762
53763
53764 ac_ext=cpp
53765 ac_cpp='$CXXCPP $CPPFLAGS'
53766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53769
53770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53771 /* end confdefs.h. */
53772 #include <math.h>
53773 int
53774 main ()
53775 {
53776 ceilf (0); floorf (0);
53777 ;
53778 return 0;
53779 }
53780 _ACEOF
53781 if ac_fn_cxx_try_compile "$LINENO"; then :
53782 glibcxx_cv_func_float_round_use=yes
53783 else
53784 glibcxx_cv_func_float_round_use=no
53785 fi
53786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53787 ac_ext=c
53788 ac_cpp='$CPP $CPPFLAGS'
53789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53792
53793 fi
53794
53795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53796 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53797 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53798 for ac_func in ceilf floorf
53799 do :
53800 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53801 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53802 eval as_val=\$$as_ac_var
53803 if test "x$as_val" = x""yes; then :
53804 cat >>confdefs.h <<_ACEOF
53805 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53806 _ACEOF
53807
53808 fi
53809 done
53810
53811 else
53812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53813 $as_echo_n "checking for _float round functions... " >&6; }
53814 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53815 $as_echo_n "(cached) " >&6
53816 else
53817
53818
53819 ac_ext=cpp
53820 ac_cpp='$CXXCPP $CPPFLAGS'
53821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53824
53825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53826 /* end confdefs.h. */
53827 #include <math.h>
53828 int
53829 main ()
53830 {
53831 _ceilf (0); _floorf (0);
53832 ;
53833 return 0;
53834 }
53835 _ACEOF
53836 if ac_fn_cxx_try_compile "$LINENO"; then :
53837 glibcxx_cv_func__float_round_use=yes
53838 else
53839 glibcxx_cv_func__float_round_use=no
53840 fi
53841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53842 ac_ext=c
53843 ac_cpp='$CPP $CPPFLAGS'
53844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53847
53848 fi
53849
53850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53851 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53852 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53853 for ac_func in _ceilf _floorf
53854 do :
53855 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53856 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53857 eval as_val=\$$as_ac_var
53858 if test "x$as_val" = x""yes; then :
53859 cat >>confdefs.h <<_ACEOF
53860 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53861 _ACEOF
53862
53863 fi
53864 done
53865
53866 fi
53867 fi
53868
53869
53870
53871
53872
53873
53874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53875 $as_echo_n "checking for expf declaration... " >&6; }
53876 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53877 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53878 $as_echo_n "(cached) " >&6
53879 else
53880
53881
53882 ac_ext=cpp
53883 ac_cpp='$CXXCPP $CPPFLAGS'
53884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53887
53888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53889 /* end confdefs.h. */
53890 #include <math.h>
53891 #ifdef HAVE_IEEEFP_H
53892 #include <ieeefp.h>
53893 #endif
53894
53895 int
53896 main ()
53897 {
53898 expf(0);
53899 ;
53900 return 0;
53901 }
53902 _ACEOF
53903 if ac_fn_cxx_try_compile "$LINENO"; then :
53904 glibcxx_cv_func_expf_use=yes
53905 else
53906 glibcxx_cv_func_expf_use=no
53907 fi
53908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53909 ac_ext=c
53910 ac_cpp='$CPP $CPPFLAGS'
53911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53914
53915
53916 fi
53917
53918 fi
53919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53920 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53921
53922 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53923 for ac_func in expf
53924 do :
53925 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53926 if test "x$ac_cv_func_expf" = x""yes; then :
53927 cat >>confdefs.h <<_ACEOF
53928 #define HAVE_EXPF 1
53929 _ACEOF
53930
53931 fi
53932 done
53933
53934 else
53935
53936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53937 $as_echo_n "checking for _expf declaration... " >&6; }
53938 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53939 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53940 $as_echo_n "(cached) " >&6
53941 else
53942
53943
53944 ac_ext=cpp
53945 ac_cpp='$CXXCPP $CPPFLAGS'
53946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53949
53950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53951 /* end confdefs.h. */
53952 #include <math.h>
53953 #ifdef HAVE_IEEEFP_H
53954 #include <ieeefp.h>
53955 #endif
53956
53957 int
53958 main ()
53959 {
53960 _expf(0);
53961 ;
53962 return 0;
53963 }
53964 _ACEOF
53965 if ac_fn_cxx_try_compile "$LINENO"; then :
53966 glibcxx_cv_func__expf_use=yes
53967 else
53968 glibcxx_cv_func__expf_use=no
53969 fi
53970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53971 ac_ext=c
53972 ac_cpp='$CPP $CPPFLAGS'
53973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53976
53977
53978 fi
53979
53980 fi
53981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53982 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53983
53984 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53985 for ac_func in _expf
53986 do :
53987 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53988 if test "x$ac_cv_func__expf" = x""yes; then :
53989 cat >>confdefs.h <<_ACEOF
53990 #define HAVE__EXPF 1
53991 _ACEOF
53992
53993 fi
53994 done
53995
53996 fi
53997 fi
53998
53999
54000
54001
54002
54003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54004 $as_echo_n "checking for isnanf declaration... " >&6; }
54005 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54006 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54007 $as_echo_n "(cached) " >&6
54008 else
54009
54010
54011 ac_ext=cpp
54012 ac_cpp='$CXXCPP $CPPFLAGS'
54013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54016
54017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54018 /* end confdefs.h. */
54019 #include <math.h>
54020 #ifdef HAVE_IEEEFP_H
54021 #include <ieeefp.h>
54022 #endif
54023
54024 int
54025 main ()
54026 {
54027 isnanf(0);
54028 ;
54029 return 0;
54030 }
54031 _ACEOF
54032 if ac_fn_cxx_try_compile "$LINENO"; then :
54033 glibcxx_cv_func_isnanf_use=yes
54034 else
54035 glibcxx_cv_func_isnanf_use=no
54036 fi
54037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54038 ac_ext=c
54039 ac_cpp='$CPP $CPPFLAGS'
54040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54043
54044
54045 fi
54046
54047 fi
54048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54049 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54050
54051 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54052 for ac_func in isnanf
54053 do :
54054 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54055 if test "x$ac_cv_func_isnanf" = x""yes; then :
54056 cat >>confdefs.h <<_ACEOF
54057 #define HAVE_ISNANF 1
54058 _ACEOF
54059
54060 fi
54061 done
54062
54063 else
54064
54065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54066 $as_echo_n "checking for _isnanf declaration... " >&6; }
54067 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54068 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54069 $as_echo_n "(cached) " >&6
54070 else
54071
54072
54073 ac_ext=cpp
54074 ac_cpp='$CXXCPP $CPPFLAGS'
54075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54078
54079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54080 /* end confdefs.h. */
54081 #include <math.h>
54082 #ifdef HAVE_IEEEFP_H
54083 #include <ieeefp.h>
54084 #endif
54085
54086 int
54087 main ()
54088 {
54089 _isnanf(0);
54090 ;
54091 return 0;
54092 }
54093 _ACEOF
54094 if ac_fn_cxx_try_compile "$LINENO"; then :
54095 glibcxx_cv_func__isnanf_use=yes
54096 else
54097 glibcxx_cv_func__isnanf_use=no
54098 fi
54099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54100 ac_ext=c
54101 ac_cpp='$CPP $CPPFLAGS'
54102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54105
54106
54107 fi
54108
54109 fi
54110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54111 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54112
54113 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54114 for ac_func in _isnanf
54115 do :
54116 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54117 if test "x$ac_cv_func__isnanf" = x""yes; then :
54118 cat >>confdefs.h <<_ACEOF
54119 #define HAVE__ISNANF 1
54120 _ACEOF
54121
54122 fi
54123 done
54124
54125 fi
54126 fi
54127
54128
54129
54130
54131
54132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54133 $as_echo_n "checking for isinff declaration... " >&6; }
54134 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54135 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54136 $as_echo_n "(cached) " >&6
54137 else
54138
54139
54140 ac_ext=cpp
54141 ac_cpp='$CXXCPP $CPPFLAGS'
54142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54145
54146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54147 /* end confdefs.h. */
54148 #include <math.h>
54149 #ifdef HAVE_IEEEFP_H
54150 #include <ieeefp.h>
54151 #endif
54152
54153 int
54154 main ()
54155 {
54156 isinff(0);
54157 ;
54158 return 0;
54159 }
54160 _ACEOF
54161 if ac_fn_cxx_try_compile "$LINENO"; then :
54162 glibcxx_cv_func_isinff_use=yes
54163 else
54164 glibcxx_cv_func_isinff_use=no
54165 fi
54166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54167 ac_ext=c
54168 ac_cpp='$CPP $CPPFLAGS'
54169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54172
54173
54174 fi
54175
54176 fi
54177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54178 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54179
54180 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54181 for ac_func in isinff
54182 do :
54183 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54184 if test "x$ac_cv_func_isinff" = x""yes; then :
54185 cat >>confdefs.h <<_ACEOF
54186 #define HAVE_ISINFF 1
54187 _ACEOF
54188
54189 fi
54190 done
54191
54192 else
54193
54194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54195 $as_echo_n "checking for _isinff declaration... " >&6; }
54196 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54197 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54198 $as_echo_n "(cached) " >&6
54199 else
54200
54201
54202 ac_ext=cpp
54203 ac_cpp='$CXXCPP $CPPFLAGS'
54204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54207
54208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54209 /* end confdefs.h. */
54210 #include <math.h>
54211 #ifdef HAVE_IEEEFP_H
54212 #include <ieeefp.h>
54213 #endif
54214
54215 int
54216 main ()
54217 {
54218 _isinff(0);
54219 ;
54220 return 0;
54221 }
54222 _ACEOF
54223 if ac_fn_cxx_try_compile "$LINENO"; then :
54224 glibcxx_cv_func__isinff_use=yes
54225 else
54226 glibcxx_cv_func__isinff_use=no
54227 fi
54228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54229 ac_ext=c
54230 ac_cpp='$CPP $CPPFLAGS'
54231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54234
54235
54236 fi
54237
54238 fi
54239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54240 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54241
54242 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54243 for ac_func in _isinff
54244 do :
54245 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54246 if test "x$ac_cv_func__isinff" = x""yes; then :
54247 cat >>confdefs.h <<_ACEOF
54248 #define HAVE__ISINFF 1
54249 _ACEOF
54250
54251 fi
54252 done
54253
54254 fi
54255 fi
54256
54257
54258
54259
54260
54261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54262 $as_echo_n "checking for atan2f declaration... " >&6; }
54263 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54264 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54265 $as_echo_n "(cached) " >&6
54266 else
54267
54268
54269 ac_ext=cpp
54270 ac_cpp='$CXXCPP $CPPFLAGS'
54271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54274
54275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54276 /* end confdefs.h. */
54277 #include <math.h>
54278 int
54279 main ()
54280 {
54281 atan2f(0, 0);
54282 ;
54283 return 0;
54284 }
54285 _ACEOF
54286 if ac_fn_cxx_try_compile "$LINENO"; then :
54287 glibcxx_cv_func_atan2f_use=yes
54288 else
54289 glibcxx_cv_func_atan2f_use=no
54290 fi
54291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54292 ac_ext=c
54293 ac_cpp='$CPP $CPPFLAGS'
54294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54297
54298
54299 fi
54300
54301 fi
54302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54303 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54304
54305 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54306 for ac_func in atan2f
54307 do :
54308 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54309 if test "x$ac_cv_func_atan2f" = x""yes; then :
54310 cat >>confdefs.h <<_ACEOF
54311 #define HAVE_ATAN2F 1
54312 _ACEOF
54313
54314 fi
54315 done
54316
54317 else
54318
54319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54320 $as_echo_n "checking for _atan2f declaration... " >&6; }
54321 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54322 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54323 $as_echo_n "(cached) " >&6
54324 else
54325
54326
54327 ac_ext=cpp
54328 ac_cpp='$CXXCPP $CPPFLAGS'
54329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54332
54333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54334 /* end confdefs.h. */
54335 #include <math.h>
54336 int
54337 main ()
54338 {
54339 _atan2f(0, 0);
54340 ;
54341 return 0;
54342 }
54343 _ACEOF
54344 if ac_fn_cxx_try_compile "$LINENO"; then :
54345 glibcxx_cv_func__atan2f_use=yes
54346 else
54347 glibcxx_cv_func__atan2f_use=no
54348 fi
54349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54350 ac_ext=c
54351 ac_cpp='$CPP $CPPFLAGS'
54352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54355
54356
54357 fi
54358
54359 fi
54360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54361 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54362
54363 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54364 for ac_func in _atan2f
54365 do :
54366 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54367 if test "x$ac_cv_func__atan2f" = x""yes; then :
54368 cat >>confdefs.h <<_ACEOF
54369 #define HAVE__ATAN2F 1
54370 _ACEOF
54371
54372 fi
54373 done
54374
54375 fi
54376 fi
54377
54378
54379
54380
54381
54382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54383 $as_echo_n "checking for fabsf declaration... " >&6; }
54384 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54385 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54386 $as_echo_n "(cached) " >&6
54387 else
54388
54389
54390 ac_ext=cpp
54391 ac_cpp='$CXXCPP $CPPFLAGS'
54392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54395
54396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54397 /* end confdefs.h. */
54398 #include <math.h>
54399 #ifdef HAVE_IEEEFP_H
54400 #include <ieeefp.h>
54401 #endif
54402
54403 int
54404 main ()
54405 {
54406 fabsf(0);
54407 ;
54408 return 0;
54409 }
54410 _ACEOF
54411 if ac_fn_cxx_try_compile "$LINENO"; then :
54412 glibcxx_cv_func_fabsf_use=yes
54413 else
54414 glibcxx_cv_func_fabsf_use=no
54415 fi
54416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54417 ac_ext=c
54418 ac_cpp='$CPP $CPPFLAGS'
54419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54422
54423
54424 fi
54425
54426 fi
54427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54428 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54429
54430 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54431 for ac_func in fabsf
54432 do :
54433 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54434 if test "x$ac_cv_func_fabsf" = x""yes; then :
54435 cat >>confdefs.h <<_ACEOF
54436 #define HAVE_FABSF 1
54437 _ACEOF
54438
54439 fi
54440 done
54441
54442 else
54443
54444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54445 $as_echo_n "checking for _fabsf declaration... " >&6; }
54446 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54447 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54448 $as_echo_n "(cached) " >&6
54449 else
54450
54451
54452 ac_ext=cpp
54453 ac_cpp='$CXXCPP $CPPFLAGS'
54454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54457
54458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54459 /* end confdefs.h. */
54460 #include <math.h>
54461 #ifdef HAVE_IEEEFP_H
54462 #include <ieeefp.h>
54463 #endif
54464
54465 int
54466 main ()
54467 {
54468 _fabsf(0);
54469 ;
54470 return 0;
54471 }
54472 _ACEOF
54473 if ac_fn_cxx_try_compile "$LINENO"; then :
54474 glibcxx_cv_func__fabsf_use=yes
54475 else
54476 glibcxx_cv_func__fabsf_use=no
54477 fi
54478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54479 ac_ext=c
54480 ac_cpp='$CPP $CPPFLAGS'
54481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54484
54485
54486 fi
54487
54488 fi
54489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54490 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54491
54492 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54493 for ac_func in _fabsf
54494 do :
54495 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54496 if test "x$ac_cv_func__fabsf" = x""yes; then :
54497 cat >>confdefs.h <<_ACEOF
54498 #define HAVE__FABSF 1
54499 _ACEOF
54500
54501 fi
54502 done
54503
54504 fi
54505 fi
54506
54507
54508
54509
54510
54511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54512 $as_echo_n "checking for fmodf declaration... " >&6; }
54513 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54514 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54515 $as_echo_n "(cached) " >&6
54516 else
54517
54518
54519 ac_ext=cpp
54520 ac_cpp='$CXXCPP $CPPFLAGS'
54521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54524
54525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54526 /* end confdefs.h. */
54527 #include <math.h>
54528 int
54529 main ()
54530 {
54531 fmodf(0, 0);
54532 ;
54533 return 0;
54534 }
54535 _ACEOF
54536 if ac_fn_cxx_try_compile "$LINENO"; then :
54537 glibcxx_cv_func_fmodf_use=yes
54538 else
54539 glibcxx_cv_func_fmodf_use=no
54540 fi
54541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54542 ac_ext=c
54543 ac_cpp='$CPP $CPPFLAGS'
54544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54547
54548
54549 fi
54550
54551 fi
54552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54553 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54554
54555 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54556 for ac_func in fmodf
54557 do :
54558 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54559 if test "x$ac_cv_func_fmodf" = x""yes; then :
54560 cat >>confdefs.h <<_ACEOF
54561 #define HAVE_FMODF 1
54562 _ACEOF
54563
54564 fi
54565 done
54566
54567 else
54568
54569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54570 $as_echo_n "checking for _fmodf declaration... " >&6; }
54571 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54572 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54573 $as_echo_n "(cached) " >&6
54574 else
54575
54576
54577 ac_ext=cpp
54578 ac_cpp='$CXXCPP $CPPFLAGS'
54579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54582
54583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54584 /* end confdefs.h. */
54585 #include <math.h>
54586 int
54587 main ()
54588 {
54589 _fmodf(0, 0);
54590 ;
54591 return 0;
54592 }
54593 _ACEOF
54594 if ac_fn_cxx_try_compile "$LINENO"; then :
54595 glibcxx_cv_func__fmodf_use=yes
54596 else
54597 glibcxx_cv_func__fmodf_use=no
54598 fi
54599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54600 ac_ext=c
54601 ac_cpp='$CPP $CPPFLAGS'
54602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54605
54606
54607 fi
54608
54609 fi
54610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54611 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54612
54613 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54614 for ac_func in _fmodf
54615 do :
54616 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54617 if test "x$ac_cv_func__fmodf" = x""yes; then :
54618 cat >>confdefs.h <<_ACEOF
54619 #define HAVE__FMODF 1
54620 _ACEOF
54621
54622 fi
54623 done
54624
54625 fi
54626 fi
54627
54628
54629
54630
54631
54632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54633 $as_echo_n "checking for frexpf declaration... " >&6; }
54634 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54635 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54636 $as_echo_n "(cached) " >&6
54637 else
54638
54639
54640 ac_ext=cpp
54641 ac_cpp='$CXXCPP $CPPFLAGS'
54642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54645
54646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54647 /* end confdefs.h. */
54648 #include <math.h>
54649 int
54650 main ()
54651 {
54652 frexpf(0, 0);
54653 ;
54654 return 0;
54655 }
54656 _ACEOF
54657 if ac_fn_cxx_try_compile "$LINENO"; then :
54658 glibcxx_cv_func_frexpf_use=yes
54659 else
54660 glibcxx_cv_func_frexpf_use=no
54661 fi
54662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54663 ac_ext=c
54664 ac_cpp='$CPP $CPPFLAGS'
54665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54668
54669
54670 fi
54671
54672 fi
54673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54674 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54675
54676 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54677 for ac_func in frexpf
54678 do :
54679 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54680 if test "x$ac_cv_func_frexpf" = x""yes; then :
54681 cat >>confdefs.h <<_ACEOF
54682 #define HAVE_FREXPF 1
54683 _ACEOF
54684
54685 fi
54686 done
54687
54688 else
54689
54690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54691 $as_echo_n "checking for _frexpf declaration... " >&6; }
54692 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54693 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54694 $as_echo_n "(cached) " >&6
54695 else
54696
54697
54698 ac_ext=cpp
54699 ac_cpp='$CXXCPP $CPPFLAGS'
54700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54703
54704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54705 /* end confdefs.h. */
54706 #include <math.h>
54707 int
54708 main ()
54709 {
54710 _frexpf(0, 0);
54711 ;
54712 return 0;
54713 }
54714 _ACEOF
54715 if ac_fn_cxx_try_compile "$LINENO"; then :
54716 glibcxx_cv_func__frexpf_use=yes
54717 else
54718 glibcxx_cv_func__frexpf_use=no
54719 fi
54720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54721 ac_ext=c
54722 ac_cpp='$CPP $CPPFLAGS'
54723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54726
54727
54728 fi
54729
54730 fi
54731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54732 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54733
54734 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54735 for ac_func in _frexpf
54736 do :
54737 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54738 if test "x$ac_cv_func__frexpf" = x""yes; then :
54739 cat >>confdefs.h <<_ACEOF
54740 #define HAVE__FREXPF 1
54741 _ACEOF
54742
54743 fi
54744 done
54745
54746 fi
54747 fi
54748
54749
54750
54751
54752
54753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54754 $as_echo_n "checking for hypotf declaration... " >&6; }
54755 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54756 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54757 $as_echo_n "(cached) " >&6
54758 else
54759
54760
54761 ac_ext=cpp
54762 ac_cpp='$CXXCPP $CPPFLAGS'
54763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54766
54767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54768 /* end confdefs.h. */
54769 #include <math.h>
54770 int
54771 main ()
54772 {
54773 hypotf(0, 0);
54774 ;
54775 return 0;
54776 }
54777 _ACEOF
54778 if ac_fn_cxx_try_compile "$LINENO"; then :
54779 glibcxx_cv_func_hypotf_use=yes
54780 else
54781 glibcxx_cv_func_hypotf_use=no
54782 fi
54783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54784 ac_ext=c
54785 ac_cpp='$CPP $CPPFLAGS'
54786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54789
54790
54791 fi
54792
54793 fi
54794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54795 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54796
54797 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54798 for ac_func in hypotf
54799 do :
54800 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54801 if test "x$ac_cv_func_hypotf" = x""yes; then :
54802 cat >>confdefs.h <<_ACEOF
54803 #define HAVE_HYPOTF 1
54804 _ACEOF
54805
54806 fi
54807 done
54808
54809 else
54810
54811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54812 $as_echo_n "checking for _hypotf declaration... " >&6; }
54813 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54814 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54815 $as_echo_n "(cached) " >&6
54816 else
54817
54818
54819 ac_ext=cpp
54820 ac_cpp='$CXXCPP $CPPFLAGS'
54821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54824
54825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54826 /* end confdefs.h. */
54827 #include <math.h>
54828 int
54829 main ()
54830 {
54831 _hypotf(0, 0);
54832 ;
54833 return 0;
54834 }
54835 _ACEOF
54836 if ac_fn_cxx_try_compile "$LINENO"; then :
54837 glibcxx_cv_func__hypotf_use=yes
54838 else
54839 glibcxx_cv_func__hypotf_use=no
54840 fi
54841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54842 ac_ext=c
54843 ac_cpp='$CPP $CPPFLAGS'
54844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54847
54848
54849 fi
54850
54851 fi
54852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54853 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54854
54855 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54856 for ac_func in _hypotf
54857 do :
54858 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54859 if test "x$ac_cv_func__hypotf" = x""yes; then :
54860 cat >>confdefs.h <<_ACEOF
54861 #define HAVE__HYPOTF 1
54862 _ACEOF
54863
54864 fi
54865 done
54866
54867 fi
54868 fi
54869
54870
54871
54872
54873
54874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54875 $as_echo_n "checking for ldexpf declaration... " >&6; }
54876 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54877 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54878 $as_echo_n "(cached) " >&6
54879 else
54880
54881
54882 ac_ext=cpp
54883 ac_cpp='$CXXCPP $CPPFLAGS'
54884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54887
54888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54889 /* end confdefs.h. */
54890 #include <math.h>
54891 int
54892 main ()
54893 {
54894 ldexpf(0, 0);
54895 ;
54896 return 0;
54897 }
54898 _ACEOF
54899 if ac_fn_cxx_try_compile "$LINENO"; then :
54900 glibcxx_cv_func_ldexpf_use=yes
54901 else
54902 glibcxx_cv_func_ldexpf_use=no
54903 fi
54904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54905 ac_ext=c
54906 ac_cpp='$CPP $CPPFLAGS'
54907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54910
54911
54912 fi
54913
54914 fi
54915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54916 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54917
54918 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54919 for ac_func in ldexpf
54920 do :
54921 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54922 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54923 cat >>confdefs.h <<_ACEOF
54924 #define HAVE_LDEXPF 1
54925 _ACEOF
54926
54927 fi
54928 done
54929
54930 else
54931
54932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54933 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54934 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54935 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54936 $as_echo_n "(cached) " >&6
54937 else
54938
54939
54940 ac_ext=cpp
54941 ac_cpp='$CXXCPP $CPPFLAGS'
54942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54945
54946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54947 /* end confdefs.h. */
54948 #include <math.h>
54949 int
54950 main ()
54951 {
54952 _ldexpf(0, 0);
54953 ;
54954 return 0;
54955 }
54956 _ACEOF
54957 if ac_fn_cxx_try_compile "$LINENO"; then :
54958 glibcxx_cv_func__ldexpf_use=yes
54959 else
54960 glibcxx_cv_func__ldexpf_use=no
54961 fi
54962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54963 ac_ext=c
54964 ac_cpp='$CPP $CPPFLAGS'
54965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54968
54969
54970 fi
54971
54972 fi
54973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54974 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54975
54976 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54977 for ac_func in _ldexpf
54978 do :
54979 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54980 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54981 cat >>confdefs.h <<_ACEOF
54982 #define HAVE__LDEXPF 1
54983 _ACEOF
54984
54985 fi
54986 done
54987
54988 fi
54989 fi
54990
54991
54992
54993
54994
54995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54996 $as_echo_n "checking for logf declaration... " >&6; }
54997 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54998 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54999 $as_echo_n "(cached) " >&6
55000 else
55001
55002
55003 ac_ext=cpp
55004 ac_cpp='$CXXCPP $CPPFLAGS'
55005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55008
55009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55010 /* end confdefs.h. */
55011 #include <math.h>
55012 #ifdef HAVE_IEEEFP_H
55013 #include <ieeefp.h>
55014 #endif
55015
55016 int
55017 main ()
55018 {
55019 logf(0);
55020 ;
55021 return 0;
55022 }
55023 _ACEOF
55024 if ac_fn_cxx_try_compile "$LINENO"; then :
55025 glibcxx_cv_func_logf_use=yes
55026 else
55027 glibcxx_cv_func_logf_use=no
55028 fi
55029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55030 ac_ext=c
55031 ac_cpp='$CPP $CPPFLAGS'
55032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55035
55036
55037 fi
55038
55039 fi
55040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55041 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55042
55043 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55044 for ac_func in logf
55045 do :
55046 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55047 if test "x$ac_cv_func_logf" = x""yes; then :
55048 cat >>confdefs.h <<_ACEOF
55049 #define HAVE_LOGF 1
55050 _ACEOF
55051
55052 fi
55053 done
55054
55055 else
55056
55057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55058 $as_echo_n "checking for _logf declaration... " >&6; }
55059 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55060 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55061 $as_echo_n "(cached) " >&6
55062 else
55063
55064
55065 ac_ext=cpp
55066 ac_cpp='$CXXCPP $CPPFLAGS'
55067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55070
55071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55072 /* end confdefs.h. */
55073 #include <math.h>
55074 #ifdef HAVE_IEEEFP_H
55075 #include <ieeefp.h>
55076 #endif
55077
55078 int
55079 main ()
55080 {
55081 _logf(0);
55082 ;
55083 return 0;
55084 }
55085 _ACEOF
55086 if ac_fn_cxx_try_compile "$LINENO"; then :
55087 glibcxx_cv_func__logf_use=yes
55088 else
55089 glibcxx_cv_func__logf_use=no
55090 fi
55091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55092 ac_ext=c
55093 ac_cpp='$CPP $CPPFLAGS'
55094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55097
55098
55099 fi
55100
55101 fi
55102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55103 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55104
55105 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55106 for ac_func in _logf
55107 do :
55108 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55109 if test "x$ac_cv_func__logf" = x""yes; then :
55110 cat >>confdefs.h <<_ACEOF
55111 #define HAVE__LOGF 1
55112 _ACEOF
55113
55114 fi
55115 done
55116
55117 fi
55118 fi
55119
55120
55121
55122
55123
55124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55125 $as_echo_n "checking for log10f declaration... " >&6; }
55126 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55127 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55128 $as_echo_n "(cached) " >&6
55129 else
55130
55131
55132 ac_ext=cpp
55133 ac_cpp='$CXXCPP $CPPFLAGS'
55134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55137
55138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55139 /* end confdefs.h. */
55140 #include <math.h>
55141 #ifdef HAVE_IEEEFP_H
55142 #include <ieeefp.h>
55143 #endif
55144
55145 int
55146 main ()
55147 {
55148 log10f(0);
55149 ;
55150 return 0;
55151 }
55152 _ACEOF
55153 if ac_fn_cxx_try_compile "$LINENO"; then :
55154 glibcxx_cv_func_log10f_use=yes
55155 else
55156 glibcxx_cv_func_log10f_use=no
55157 fi
55158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55159 ac_ext=c
55160 ac_cpp='$CPP $CPPFLAGS'
55161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55164
55165
55166 fi
55167
55168 fi
55169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55170 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55171
55172 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55173 for ac_func in log10f
55174 do :
55175 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55176 if test "x$ac_cv_func_log10f" = x""yes; then :
55177 cat >>confdefs.h <<_ACEOF
55178 #define HAVE_LOG10F 1
55179 _ACEOF
55180
55181 fi
55182 done
55183
55184 else
55185
55186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55187 $as_echo_n "checking for _log10f declaration... " >&6; }
55188 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55189 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55190 $as_echo_n "(cached) " >&6
55191 else
55192
55193
55194 ac_ext=cpp
55195 ac_cpp='$CXXCPP $CPPFLAGS'
55196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55199
55200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55201 /* end confdefs.h. */
55202 #include <math.h>
55203 #ifdef HAVE_IEEEFP_H
55204 #include <ieeefp.h>
55205 #endif
55206
55207 int
55208 main ()
55209 {
55210 _log10f(0);
55211 ;
55212 return 0;
55213 }
55214 _ACEOF
55215 if ac_fn_cxx_try_compile "$LINENO"; then :
55216 glibcxx_cv_func__log10f_use=yes
55217 else
55218 glibcxx_cv_func__log10f_use=no
55219 fi
55220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55221 ac_ext=c
55222 ac_cpp='$CPP $CPPFLAGS'
55223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55226
55227
55228 fi
55229
55230 fi
55231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55232 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55233
55234 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55235 for ac_func in _log10f
55236 do :
55237 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55238 if test "x$ac_cv_func__log10f" = x""yes; then :
55239 cat >>confdefs.h <<_ACEOF
55240 #define HAVE__LOG10F 1
55241 _ACEOF
55242
55243 fi
55244 done
55245
55246 fi
55247 fi
55248
55249
55250
55251
55252
55253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55254 $as_echo_n "checking for modff declaration... " >&6; }
55255 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55256 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55257 $as_echo_n "(cached) " >&6
55258 else
55259
55260
55261 ac_ext=cpp
55262 ac_cpp='$CXXCPP $CPPFLAGS'
55263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55266
55267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55268 /* end confdefs.h. */
55269 #include <math.h>
55270 int
55271 main ()
55272 {
55273 modff(0, 0);
55274 ;
55275 return 0;
55276 }
55277 _ACEOF
55278 if ac_fn_cxx_try_compile "$LINENO"; then :
55279 glibcxx_cv_func_modff_use=yes
55280 else
55281 glibcxx_cv_func_modff_use=no
55282 fi
55283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55284 ac_ext=c
55285 ac_cpp='$CPP $CPPFLAGS'
55286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55289
55290
55291 fi
55292
55293 fi
55294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55295 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55296
55297 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55298 for ac_func in modff
55299 do :
55300 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55301 if test "x$ac_cv_func_modff" = x""yes; then :
55302 cat >>confdefs.h <<_ACEOF
55303 #define HAVE_MODFF 1
55304 _ACEOF
55305
55306 fi
55307 done
55308
55309 else
55310
55311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55312 $as_echo_n "checking for _modff declaration... " >&6; }
55313 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55314 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55315 $as_echo_n "(cached) " >&6
55316 else
55317
55318
55319 ac_ext=cpp
55320 ac_cpp='$CXXCPP $CPPFLAGS'
55321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55324
55325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55326 /* end confdefs.h. */
55327 #include <math.h>
55328 int
55329 main ()
55330 {
55331 _modff(0, 0);
55332 ;
55333 return 0;
55334 }
55335 _ACEOF
55336 if ac_fn_cxx_try_compile "$LINENO"; then :
55337 glibcxx_cv_func__modff_use=yes
55338 else
55339 glibcxx_cv_func__modff_use=no
55340 fi
55341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55342 ac_ext=c
55343 ac_cpp='$CPP $CPPFLAGS'
55344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55347
55348
55349 fi
55350
55351 fi
55352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55353 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55354
55355 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55356 for ac_func in _modff
55357 do :
55358 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55359 if test "x$ac_cv_func__modff" = x""yes; then :
55360 cat >>confdefs.h <<_ACEOF
55361 #define HAVE__MODFF 1
55362 _ACEOF
55363
55364 fi
55365 done
55366
55367 fi
55368 fi
55369
55370
55371
55372
55373
55374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55375 $as_echo_n "checking for modf declaration... " >&6; }
55376 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55377 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55378 $as_echo_n "(cached) " >&6
55379 else
55380
55381
55382 ac_ext=cpp
55383 ac_cpp='$CXXCPP $CPPFLAGS'
55384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55387
55388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55389 /* end confdefs.h. */
55390 #include <math.h>
55391 int
55392 main ()
55393 {
55394 modf(0, 0);
55395 ;
55396 return 0;
55397 }
55398 _ACEOF
55399 if ac_fn_cxx_try_compile "$LINENO"; then :
55400 glibcxx_cv_func_modf_use=yes
55401 else
55402 glibcxx_cv_func_modf_use=no
55403 fi
55404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55405 ac_ext=c
55406 ac_cpp='$CPP $CPPFLAGS'
55407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55410
55411
55412 fi
55413
55414 fi
55415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55416 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55417
55418 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55419 for ac_func in modf
55420 do :
55421 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55422 if test "x$ac_cv_func_modf" = x""yes; then :
55423 cat >>confdefs.h <<_ACEOF
55424 #define HAVE_MODF 1
55425 _ACEOF
55426
55427 fi
55428 done
55429
55430 else
55431
55432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55433 $as_echo_n "checking for _modf declaration... " >&6; }
55434 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55435 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55436 $as_echo_n "(cached) " >&6
55437 else
55438
55439
55440 ac_ext=cpp
55441 ac_cpp='$CXXCPP $CPPFLAGS'
55442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55445
55446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55447 /* end confdefs.h. */
55448 #include <math.h>
55449 int
55450 main ()
55451 {
55452 _modf(0, 0);
55453 ;
55454 return 0;
55455 }
55456 _ACEOF
55457 if ac_fn_cxx_try_compile "$LINENO"; then :
55458 glibcxx_cv_func__modf_use=yes
55459 else
55460 glibcxx_cv_func__modf_use=no
55461 fi
55462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55463 ac_ext=c
55464 ac_cpp='$CPP $CPPFLAGS'
55465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55468
55469
55470 fi
55471
55472 fi
55473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55474 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55475
55476 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55477 for ac_func in _modf
55478 do :
55479 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55480 if test "x$ac_cv_func__modf" = x""yes; then :
55481 cat >>confdefs.h <<_ACEOF
55482 #define HAVE__MODF 1
55483 _ACEOF
55484
55485 fi
55486 done
55487
55488 fi
55489 fi
55490
55491
55492
55493
55494
55495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55496 $as_echo_n "checking for powf declaration... " >&6; }
55497 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55498 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55499 $as_echo_n "(cached) " >&6
55500 else
55501
55502
55503 ac_ext=cpp
55504 ac_cpp='$CXXCPP $CPPFLAGS'
55505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55508
55509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55510 /* end confdefs.h. */
55511 #include <math.h>
55512 int
55513 main ()
55514 {
55515 powf(0, 0);
55516 ;
55517 return 0;
55518 }
55519 _ACEOF
55520 if ac_fn_cxx_try_compile "$LINENO"; then :
55521 glibcxx_cv_func_powf_use=yes
55522 else
55523 glibcxx_cv_func_powf_use=no
55524 fi
55525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55526 ac_ext=c
55527 ac_cpp='$CPP $CPPFLAGS'
55528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55531
55532
55533 fi
55534
55535 fi
55536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55537 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55538
55539 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55540 for ac_func in powf
55541 do :
55542 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55543 if test "x$ac_cv_func_powf" = x""yes; then :
55544 cat >>confdefs.h <<_ACEOF
55545 #define HAVE_POWF 1
55546 _ACEOF
55547
55548 fi
55549 done
55550
55551 else
55552
55553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55554 $as_echo_n "checking for _powf declaration... " >&6; }
55555 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55556 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55557 $as_echo_n "(cached) " >&6
55558 else
55559
55560
55561 ac_ext=cpp
55562 ac_cpp='$CXXCPP $CPPFLAGS'
55563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55566
55567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55568 /* end confdefs.h. */
55569 #include <math.h>
55570 int
55571 main ()
55572 {
55573 _powf(0, 0);
55574 ;
55575 return 0;
55576 }
55577 _ACEOF
55578 if ac_fn_cxx_try_compile "$LINENO"; then :
55579 glibcxx_cv_func__powf_use=yes
55580 else
55581 glibcxx_cv_func__powf_use=no
55582 fi
55583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55584 ac_ext=c
55585 ac_cpp='$CPP $CPPFLAGS'
55586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55589
55590
55591 fi
55592
55593 fi
55594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55595 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55596
55597 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55598 for ac_func in _powf
55599 do :
55600 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55601 if test "x$ac_cv_func__powf" = x""yes; then :
55602 cat >>confdefs.h <<_ACEOF
55603 #define HAVE__POWF 1
55604 _ACEOF
55605
55606 fi
55607 done
55608
55609 fi
55610 fi
55611
55612
55613
55614
55615
55616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55617 $as_echo_n "checking for sqrtf declaration... " >&6; }
55618 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55619 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55620 $as_echo_n "(cached) " >&6
55621 else
55622
55623
55624 ac_ext=cpp
55625 ac_cpp='$CXXCPP $CPPFLAGS'
55626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55629
55630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55631 /* end confdefs.h. */
55632 #include <math.h>
55633 #ifdef HAVE_IEEEFP_H
55634 #include <ieeefp.h>
55635 #endif
55636
55637 int
55638 main ()
55639 {
55640 sqrtf(0);
55641 ;
55642 return 0;
55643 }
55644 _ACEOF
55645 if ac_fn_cxx_try_compile "$LINENO"; then :
55646 glibcxx_cv_func_sqrtf_use=yes
55647 else
55648 glibcxx_cv_func_sqrtf_use=no
55649 fi
55650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55651 ac_ext=c
55652 ac_cpp='$CPP $CPPFLAGS'
55653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55656
55657
55658 fi
55659
55660 fi
55661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55662 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55663
55664 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55665 for ac_func in sqrtf
55666 do :
55667 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55668 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55669 cat >>confdefs.h <<_ACEOF
55670 #define HAVE_SQRTF 1
55671 _ACEOF
55672
55673 fi
55674 done
55675
55676 else
55677
55678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55679 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55680 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55681 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55682 $as_echo_n "(cached) " >&6
55683 else
55684
55685
55686 ac_ext=cpp
55687 ac_cpp='$CXXCPP $CPPFLAGS'
55688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55691
55692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55693 /* end confdefs.h. */
55694 #include <math.h>
55695 #ifdef HAVE_IEEEFP_H
55696 #include <ieeefp.h>
55697 #endif
55698
55699 int
55700 main ()
55701 {
55702 _sqrtf(0);
55703 ;
55704 return 0;
55705 }
55706 _ACEOF
55707 if ac_fn_cxx_try_compile "$LINENO"; then :
55708 glibcxx_cv_func__sqrtf_use=yes
55709 else
55710 glibcxx_cv_func__sqrtf_use=no
55711 fi
55712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55713 ac_ext=c
55714 ac_cpp='$CPP $CPPFLAGS'
55715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55718
55719
55720 fi
55721
55722 fi
55723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55724 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55725
55726 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55727 for ac_func in _sqrtf
55728 do :
55729 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55730 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55731 cat >>confdefs.h <<_ACEOF
55732 #define HAVE__SQRTF 1
55733 _ACEOF
55734
55735 fi
55736 done
55737
55738 fi
55739 fi
55740
55741
55742
55743
55744
55745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55746 $as_echo_n "checking for sincosf declaration... " >&6; }
55747 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55748 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55749 $as_echo_n "(cached) " >&6
55750 else
55751
55752
55753 ac_ext=cpp
55754 ac_cpp='$CXXCPP $CPPFLAGS'
55755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55758
55759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55760 /* end confdefs.h. */
55761 #include <math.h>
55762 int
55763 main ()
55764 {
55765 sincosf(0, 0, 0);
55766 ;
55767 return 0;
55768 }
55769 _ACEOF
55770 if ac_fn_cxx_try_compile "$LINENO"; then :
55771 glibcxx_cv_func_sincosf_use=yes
55772 else
55773 glibcxx_cv_func_sincosf_use=no
55774 fi
55775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55776 ac_ext=c
55777 ac_cpp='$CPP $CPPFLAGS'
55778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55781
55782
55783 fi
55784
55785 fi
55786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55787 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55788
55789 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55790 for ac_func in sincosf
55791 do :
55792 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55793 if test "x$ac_cv_func_sincosf" = x""yes; then :
55794 cat >>confdefs.h <<_ACEOF
55795 #define HAVE_SINCOSF 1
55796 _ACEOF
55797
55798 fi
55799 done
55800
55801 else
55802
55803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55804 $as_echo_n "checking for _sincosf declaration... " >&6; }
55805 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55806 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55807 $as_echo_n "(cached) " >&6
55808 else
55809
55810
55811 ac_ext=cpp
55812 ac_cpp='$CXXCPP $CPPFLAGS'
55813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55816
55817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55818 /* end confdefs.h. */
55819 #include <math.h>
55820 int
55821 main ()
55822 {
55823 _sincosf(0, 0, 0);
55824 ;
55825 return 0;
55826 }
55827 _ACEOF
55828 if ac_fn_cxx_try_compile "$LINENO"; then :
55829 glibcxx_cv_func__sincosf_use=yes
55830 else
55831 glibcxx_cv_func__sincosf_use=no
55832 fi
55833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55834 ac_ext=c
55835 ac_cpp='$CPP $CPPFLAGS'
55836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55839
55840
55841 fi
55842
55843 fi
55844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55845 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55846
55847 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55848 for ac_func in _sincosf
55849 do :
55850 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55851 if test "x$ac_cv_func__sincosf" = x""yes; then :
55852 cat >>confdefs.h <<_ACEOF
55853 #define HAVE__SINCOSF 1
55854 _ACEOF
55855
55856 fi
55857 done
55858
55859 fi
55860 fi
55861
55862
55863
55864
55865
55866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55867 $as_echo_n "checking for finitef declaration... " >&6; }
55868 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55869 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55870 $as_echo_n "(cached) " >&6
55871 else
55872
55873
55874 ac_ext=cpp
55875 ac_cpp='$CXXCPP $CPPFLAGS'
55876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55879
55880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55881 /* end confdefs.h. */
55882 #include <math.h>
55883 #ifdef HAVE_IEEEFP_H
55884 #include <ieeefp.h>
55885 #endif
55886
55887 int
55888 main ()
55889 {
55890 finitef(0);
55891 ;
55892 return 0;
55893 }
55894 _ACEOF
55895 if ac_fn_cxx_try_compile "$LINENO"; then :
55896 glibcxx_cv_func_finitef_use=yes
55897 else
55898 glibcxx_cv_func_finitef_use=no
55899 fi
55900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55901 ac_ext=c
55902 ac_cpp='$CPP $CPPFLAGS'
55903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55906
55907
55908 fi
55909
55910 fi
55911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55912 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55913
55914 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55915 for ac_func in finitef
55916 do :
55917 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55918 if test "x$ac_cv_func_finitef" = x""yes; then :
55919 cat >>confdefs.h <<_ACEOF
55920 #define HAVE_FINITEF 1
55921 _ACEOF
55922
55923 fi
55924 done
55925
55926 else
55927
55928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55929 $as_echo_n "checking for _finitef declaration... " >&6; }
55930 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55931 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55932 $as_echo_n "(cached) " >&6
55933 else
55934
55935
55936 ac_ext=cpp
55937 ac_cpp='$CXXCPP $CPPFLAGS'
55938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55941
55942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55943 /* end confdefs.h. */
55944 #include <math.h>
55945 #ifdef HAVE_IEEEFP_H
55946 #include <ieeefp.h>
55947 #endif
55948
55949 int
55950 main ()
55951 {
55952 _finitef(0);
55953 ;
55954 return 0;
55955 }
55956 _ACEOF
55957 if ac_fn_cxx_try_compile "$LINENO"; then :
55958 glibcxx_cv_func__finitef_use=yes
55959 else
55960 glibcxx_cv_func__finitef_use=no
55961 fi
55962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55963 ac_ext=c
55964 ac_cpp='$CPP $CPPFLAGS'
55965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55968
55969
55970 fi
55971
55972 fi
55973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55974 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55975
55976 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55977 for ac_func in _finitef
55978 do :
55979 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55980 if test "x$ac_cv_func__finitef" = x""yes; then :
55981 cat >>confdefs.h <<_ACEOF
55982 #define HAVE__FINITEF 1
55983 _ACEOF
55984
55985 fi
55986 done
55987
55988 fi
55989 fi
55990
55991
55992
55993
55994
55995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55996 $as_echo_n "checking for long double trig functions... " >&6; }
55997 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55998 $as_echo_n "(cached) " >&6
55999 else
56000
56001
56002 ac_ext=cpp
56003 ac_cpp='$CXXCPP $CPPFLAGS'
56004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56007
56008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56009 /* end confdefs.h. */
56010 #include <math.h>
56011 int
56012 main ()
56013 {
56014 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56015 ;
56016 return 0;
56017 }
56018 _ACEOF
56019 if ac_fn_cxx_try_compile "$LINENO"; then :
56020 glibcxx_cv_func_long_double_trig_use=yes
56021 else
56022 glibcxx_cv_func_long_double_trig_use=no
56023 fi
56024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56025 ac_ext=c
56026 ac_cpp='$CPP $CPPFLAGS'
56027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56030
56031 fi
56032
56033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56034 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56035 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56036 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56037 do :
56038 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56039 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56040 eval as_val=\$$as_ac_var
56041 if test "x$as_val" = x""yes; then :
56042 cat >>confdefs.h <<_ACEOF
56043 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56044 _ACEOF
56045
56046 fi
56047 done
56048
56049 else
56050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56051 $as_echo_n "checking for _long double trig functions... " >&6; }
56052 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56053 $as_echo_n "(cached) " >&6
56054 else
56055
56056
56057 ac_ext=cpp
56058 ac_cpp='$CXXCPP $CPPFLAGS'
56059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56062
56063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56064 /* end confdefs.h. */
56065 #include <math.h>
56066 int
56067 main ()
56068 {
56069 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56070 ;
56071 return 0;
56072 }
56073 _ACEOF
56074 if ac_fn_cxx_try_compile "$LINENO"; then :
56075 glibcxx_cv_func__long_double_trig_use=yes
56076 else
56077 glibcxx_cv_func__long_double_trig_use=no
56078 fi
56079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56080 ac_ext=c
56081 ac_cpp='$CPP $CPPFLAGS'
56082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56085
56086 fi
56087
56088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56089 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56090 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56091 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56092 do :
56093 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56094 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56095 eval as_val=\$$as_ac_var
56096 if test "x$as_val" = x""yes; then :
56097 cat >>confdefs.h <<_ACEOF
56098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56099 _ACEOF
56100
56101 fi
56102 done
56103
56104 fi
56105 fi
56106
56107
56108
56109
56110
56111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56112 $as_echo_n "checking for long double round functions... " >&6; }
56113 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56114 $as_echo_n "(cached) " >&6
56115 else
56116
56117
56118 ac_ext=cpp
56119 ac_cpp='$CXXCPP $CPPFLAGS'
56120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56123
56124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56125 /* end confdefs.h. */
56126 #include <math.h>
56127 int
56128 main ()
56129 {
56130 ceill (0); floorl (0);
56131 ;
56132 return 0;
56133 }
56134 _ACEOF
56135 if ac_fn_cxx_try_compile "$LINENO"; then :
56136 glibcxx_cv_func_long_double_round_use=yes
56137 else
56138 glibcxx_cv_func_long_double_round_use=no
56139 fi
56140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56141 ac_ext=c
56142 ac_cpp='$CPP $CPPFLAGS'
56143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56146
56147 fi
56148
56149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56150 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56151 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56152 for ac_func in ceill floorl
56153 do :
56154 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56156 eval as_val=\$$as_ac_var
56157 if test "x$as_val" = x""yes; then :
56158 cat >>confdefs.h <<_ACEOF
56159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56160 _ACEOF
56161
56162 fi
56163 done
56164
56165 else
56166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56167 $as_echo_n "checking for _long double round functions... " >&6; }
56168 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56169 $as_echo_n "(cached) " >&6
56170 else
56171
56172
56173 ac_ext=cpp
56174 ac_cpp='$CXXCPP $CPPFLAGS'
56175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56178
56179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56180 /* end confdefs.h. */
56181 #include <math.h>
56182 int
56183 main ()
56184 {
56185 _ceill (0); _floorl (0);
56186 ;
56187 return 0;
56188 }
56189 _ACEOF
56190 if ac_fn_cxx_try_compile "$LINENO"; then :
56191 glibcxx_cv_func__long_double_round_use=yes
56192 else
56193 glibcxx_cv_func__long_double_round_use=no
56194 fi
56195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56196 ac_ext=c
56197 ac_cpp='$CPP $CPPFLAGS'
56198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56201
56202 fi
56203
56204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56205 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56206 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56207 for ac_func in _ceill _floorl
56208 do :
56209 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56210 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56211 eval as_val=\$$as_ac_var
56212 if test "x$as_val" = x""yes; then :
56213 cat >>confdefs.h <<_ACEOF
56214 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56215 _ACEOF
56216
56217 fi
56218 done
56219
56220 fi
56221 fi
56222
56223
56224
56225
56226
56227
56228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56229 $as_echo_n "checking for isnanl declaration... " >&6; }
56230 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56231 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56232 $as_echo_n "(cached) " >&6
56233 else
56234
56235
56236 ac_ext=cpp
56237 ac_cpp='$CXXCPP $CPPFLAGS'
56238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56241
56242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56243 /* end confdefs.h. */
56244 #include <math.h>
56245 #ifdef HAVE_IEEEFP_H
56246 #include <ieeefp.h>
56247 #endif
56248
56249 int
56250 main ()
56251 {
56252 isnanl(0);
56253 ;
56254 return 0;
56255 }
56256 _ACEOF
56257 if ac_fn_cxx_try_compile "$LINENO"; then :
56258 glibcxx_cv_func_isnanl_use=yes
56259 else
56260 glibcxx_cv_func_isnanl_use=no
56261 fi
56262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56263 ac_ext=c
56264 ac_cpp='$CPP $CPPFLAGS'
56265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56268
56269
56270 fi
56271
56272 fi
56273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56274 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56275
56276 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56277 for ac_func in isnanl
56278 do :
56279 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56280 if test "x$ac_cv_func_isnanl" = x""yes; then :
56281 cat >>confdefs.h <<_ACEOF
56282 #define HAVE_ISNANL 1
56283 _ACEOF
56284
56285 fi
56286 done
56287
56288 else
56289
56290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56291 $as_echo_n "checking for _isnanl declaration... " >&6; }
56292 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56293 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56294 $as_echo_n "(cached) " >&6
56295 else
56296
56297
56298 ac_ext=cpp
56299 ac_cpp='$CXXCPP $CPPFLAGS'
56300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56303
56304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56305 /* end confdefs.h. */
56306 #include <math.h>
56307 #ifdef HAVE_IEEEFP_H
56308 #include <ieeefp.h>
56309 #endif
56310
56311 int
56312 main ()
56313 {
56314 _isnanl(0);
56315 ;
56316 return 0;
56317 }
56318 _ACEOF
56319 if ac_fn_cxx_try_compile "$LINENO"; then :
56320 glibcxx_cv_func__isnanl_use=yes
56321 else
56322 glibcxx_cv_func__isnanl_use=no
56323 fi
56324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56325 ac_ext=c
56326 ac_cpp='$CPP $CPPFLAGS'
56327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56330
56331
56332 fi
56333
56334 fi
56335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56336 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56337
56338 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56339 for ac_func in _isnanl
56340 do :
56341 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56342 if test "x$ac_cv_func__isnanl" = x""yes; then :
56343 cat >>confdefs.h <<_ACEOF
56344 #define HAVE__ISNANL 1
56345 _ACEOF
56346
56347 fi
56348 done
56349
56350 fi
56351 fi
56352
56353
56354
56355
56356
56357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56358 $as_echo_n "checking for isinfl declaration... " >&6; }
56359 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56360 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56361 $as_echo_n "(cached) " >&6
56362 else
56363
56364
56365 ac_ext=cpp
56366 ac_cpp='$CXXCPP $CPPFLAGS'
56367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56370
56371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56372 /* end confdefs.h. */
56373 #include <math.h>
56374 #ifdef HAVE_IEEEFP_H
56375 #include <ieeefp.h>
56376 #endif
56377
56378 int
56379 main ()
56380 {
56381 isinfl(0);
56382 ;
56383 return 0;
56384 }
56385 _ACEOF
56386 if ac_fn_cxx_try_compile "$LINENO"; then :
56387 glibcxx_cv_func_isinfl_use=yes
56388 else
56389 glibcxx_cv_func_isinfl_use=no
56390 fi
56391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56392 ac_ext=c
56393 ac_cpp='$CPP $CPPFLAGS'
56394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56397
56398
56399 fi
56400
56401 fi
56402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56403 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56404
56405 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56406 for ac_func in isinfl
56407 do :
56408 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56409 if test "x$ac_cv_func_isinfl" = x""yes; then :
56410 cat >>confdefs.h <<_ACEOF
56411 #define HAVE_ISINFL 1
56412 _ACEOF
56413
56414 fi
56415 done
56416
56417 else
56418
56419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56420 $as_echo_n "checking for _isinfl declaration... " >&6; }
56421 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56422 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56423 $as_echo_n "(cached) " >&6
56424 else
56425
56426
56427 ac_ext=cpp
56428 ac_cpp='$CXXCPP $CPPFLAGS'
56429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56432
56433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56434 /* end confdefs.h. */
56435 #include <math.h>
56436 #ifdef HAVE_IEEEFP_H
56437 #include <ieeefp.h>
56438 #endif
56439
56440 int
56441 main ()
56442 {
56443 _isinfl(0);
56444 ;
56445 return 0;
56446 }
56447 _ACEOF
56448 if ac_fn_cxx_try_compile "$LINENO"; then :
56449 glibcxx_cv_func__isinfl_use=yes
56450 else
56451 glibcxx_cv_func__isinfl_use=no
56452 fi
56453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56454 ac_ext=c
56455 ac_cpp='$CPP $CPPFLAGS'
56456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56459
56460
56461 fi
56462
56463 fi
56464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56465 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56466
56467 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56468 for ac_func in _isinfl
56469 do :
56470 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56471 if test "x$ac_cv_func__isinfl" = x""yes; then :
56472 cat >>confdefs.h <<_ACEOF
56473 #define HAVE__ISINFL 1
56474 _ACEOF
56475
56476 fi
56477 done
56478
56479 fi
56480 fi
56481
56482
56483
56484
56485
56486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56487 $as_echo_n "checking for atan2l declaration... " >&6; }
56488 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56489 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56490 $as_echo_n "(cached) " >&6
56491 else
56492
56493
56494 ac_ext=cpp
56495 ac_cpp='$CXXCPP $CPPFLAGS'
56496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56499
56500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56501 /* end confdefs.h. */
56502 #include <math.h>
56503 int
56504 main ()
56505 {
56506 atan2l(0, 0);
56507 ;
56508 return 0;
56509 }
56510 _ACEOF
56511 if ac_fn_cxx_try_compile "$LINENO"; then :
56512 glibcxx_cv_func_atan2l_use=yes
56513 else
56514 glibcxx_cv_func_atan2l_use=no
56515 fi
56516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56517 ac_ext=c
56518 ac_cpp='$CPP $CPPFLAGS'
56519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56522
56523
56524 fi
56525
56526 fi
56527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56528 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56529
56530 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56531 for ac_func in atan2l
56532 do :
56533 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56534 if test "x$ac_cv_func_atan2l" = x""yes; then :
56535 cat >>confdefs.h <<_ACEOF
56536 #define HAVE_ATAN2L 1
56537 _ACEOF
56538
56539 fi
56540 done
56541
56542 else
56543
56544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56545 $as_echo_n "checking for _atan2l declaration... " >&6; }
56546 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56547 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56548 $as_echo_n "(cached) " >&6
56549 else
56550
56551
56552 ac_ext=cpp
56553 ac_cpp='$CXXCPP $CPPFLAGS'
56554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56557
56558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56559 /* end confdefs.h. */
56560 #include <math.h>
56561 int
56562 main ()
56563 {
56564 _atan2l(0, 0);
56565 ;
56566 return 0;
56567 }
56568 _ACEOF
56569 if ac_fn_cxx_try_compile "$LINENO"; then :
56570 glibcxx_cv_func__atan2l_use=yes
56571 else
56572 glibcxx_cv_func__atan2l_use=no
56573 fi
56574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56575 ac_ext=c
56576 ac_cpp='$CPP $CPPFLAGS'
56577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56580
56581
56582 fi
56583
56584 fi
56585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56586 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56587
56588 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56589 for ac_func in _atan2l
56590 do :
56591 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56592 if test "x$ac_cv_func__atan2l" = x""yes; then :
56593 cat >>confdefs.h <<_ACEOF
56594 #define HAVE__ATAN2L 1
56595 _ACEOF
56596
56597 fi
56598 done
56599
56600 fi
56601 fi
56602
56603
56604
56605
56606
56607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56608 $as_echo_n "checking for expl declaration... " >&6; }
56609 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56610 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56611 $as_echo_n "(cached) " >&6
56612 else
56613
56614
56615 ac_ext=cpp
56616 ac_cpp='$CXXCPP $CPPFLAGS'
56617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56620
56621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56622 /* end confdefs.h. */
56623 #include <math.h>
56624 #ifdef HAVE_IEEEFP_H
56625 #include <ieeefp.h>
56626 #endif
56627
56628 int
56629 main ()
56630 {
56631 expl(0);
56632 ;
56633 return 0;
56634 }
56635 _ACEOF
56636 if ac_fn_cxx_try_compile "$LINENO"; then :
56637 glibcxx_cv_func_expl_use=yes
56638 else
56639 glibcxx_cv_func_expl_use=no
56640 fi
56641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56642 ac_ext=c
56643 ac_cpp='$CPP $CPPFLAGS'
56644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56647
56648
56649 fi
56650
56651 fi
56652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56653 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56654
56655 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56656 for ac_func in expl
56657 do :
56658 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56659 if test "x$ac_cv_func_expl" = x""yes; then :
56660 cat >>confdefs.h <<_ACEOF
56661 #define HAVE_EXPL 1
56662 _ACEOF
56663
56664 fi
56665 done
56666
56667 else
56668
56669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56670 $as_echo_n "checking for _expl declaration... " >&6; }
56671 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56672 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56673 $as_echo_n "(cached) " >&6
56674 else
56675
56676
56677 ac_ext=cpp
56678 ac_cpp='$CXXCPP $CPPFLAGS'
56679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56682
56683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56684 /* end confdefs.h. */
56685 #include <math.h>
56686 #ifdef HAVE_IEEEFP_H
56687 #include <ieeefp.h>
56688 #endif
56689
56690 int
56691 main ()
56692 {
56693 _expl(0);
56694 ;
56695 return 0;
56696 }
56697 _ACEOF
56698 if ac_fn_cxx_try_compile "$LINENO"; then :
56699 glibcxx_cv_func__expl_use=yes
56700 else
56701 glibcxx_cv_func__expl_use=no
56702 fi
56703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56704 ac_ext=c
56705 ac_cpp='$CPP $CPPFLAGS'
56706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56709
56710
56711 fi
56712
56713 fi
56714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56715 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56716
56717 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56718 for ac_func in _expl
56719 do :
56720 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56721 if test "x$ac_cv_func__expl" = x""yes; then :
56722 cat >>confdefs.h <<_ACEOF
56723 #define HAVE__EXPL 1
56724 _ACEOF
56725
56726 fi
56727 done
56728
56729 fi
56730 fi
56731
56732
56733
56734
56735
56736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56737 $as_echo_n "checking for fabsl declaration... " >&6; }
56738 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56739 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56740 $as_echo_n "(cached) " >&6
56741 else
56742
56743
56744 ac_ext=cpp
56745 ac_cpp='$CXXCPP $CPPFLAGS'
56746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56749
56750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56751 /* end confdefs.h. */
56752 #include <math.h>
56753 #ifdef HAVE_IEEEFP_H
56754 #include <ieeefp.h>
56755 #endif
56756
56757 int
56758 main ()
56759 {
56760 fabsl(0);
56761 ;
56762 return 0;
56763 }
56764 _ACEOF
56765 if ac_fn_cxx_try_compile "$LINENO"; then :
56766 glibcxx_cv_func_fabsl_use=yes
56767 else
56768 glibcxx_cv_func_fabsl_use=no
56769 fi
56770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56771 ac_ext=c
56772 ac_cpp='$CPP $CPPFLAGS'
56773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56776
56777
56778 fi
56779
56780 fi
56781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56782 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56783
56784 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56785 for ac_func in fabsl
56786 do :
56787 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56788 if test "x$ac_cv_func_fabsl" = x""yes; then :
56789 cat >>confdefs.h <<_ACEOF
56790 #define HAVE_FABSL 1
56791 _ACEOF
56792
56793 fi
56794 done
56795
56796 else
56797
56798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56799 $as_echo_n "checking for _fabsl declaration... " >&6; }
56800 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56801 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56802 $as_echo_n "(cached) " >&6
56803 else
56804
56805
56806 ac_ext=cpp
56807 ac_cpp='$CXXCPP $CPPFLAGS'
56808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56811
56812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56813 /* end confdefs.h. */
56814 #include <math.h>
56815 #ifdef HAVE_IEEEFP_H
56816 #include <ieeefp.h>
56817 #endif
56818
56819 int
56820 main ()
56821 {
56822 _fabsl(0);
56823 ;
56824 return 0;
56825 }
56826 _ACEOF
56827 if ac_fn_cxx_try_compile "$LINENO"; then :
56828 glibcxx_cv_func__fabsl_use=yes
56829 else
56830 glibcxx_cv_func__fabsl_use=no
56831 fi
56832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56833 ac_ext=c
56834 ac_cpp='$CPP $CPPFLAGS'
56835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56838
56839
56840 fi
56841
56842 fi
56843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56844 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56845
56846 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56847 for ac_func in _fabsl
56848 do :
56849 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56850 if test "x$ac_cv_func__fabsl" = x""yes; then :
56851 cat >>confdefs.h <<_ACEOF
56852 #define HAVE__FABSL 1
56853 _ACEOF
56854
56855 fi
56856 done
56857
56858 fi
56859 fi
56860
56861
56862
56863
56864
56865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56866 $as_echo_n "checking for fmodl declaration... " >&6; }
56867 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56868 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56869 $as_echo_n "(cached) " >&6
56870 else
56871
56872
56873 ac_ext=cpp
56874 ac_cpp='$CXXCPP $CPPFLAGS'
56875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56878
56879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56880 /* end confdefs.h. */
56881 #include <math.h>
56882 int
56883 main ()
56884 {
56885 fmodl(0, 0);
56886 ;
56887 return 0;
56888 }
56889 _ACEOF
56890 if ac_fn_cxx_try_compile "$LINENO"; then :
56891 glibcxx_cv_func_fmodl_use=yes
56892 else
56893 glibcxx_cv_func_fmodl_use=no
56894 fi
56895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56896 ac_ext=c
56897 ac_cpp='$CPP $CPPFLAGS'
56898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56901
56902
56903 fi
56904
56905 fi
56906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56907 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56908
56909 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56910 for ac_func in fmodl
56911 do :
56912 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56913 if test "x$ac_cv_func_fmodl" = x""yes; then :
56914 cat >>confdefs.h <<_ACEOF
56915 #define HAVE_FMODL 1
56916 _ACEOF
56917
56918 fi
56919 done
56920
56921 else
56922
56923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56924 $as_echo_n "checking for _fmodl declaration... " >&6; }
56925 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56926 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56927 $as_echo_n "(cached) " >&6
56928 else
56929
56930
56931 ac_ext=cpp
56932 ac_cpp='$CXXCPP $CPPFLAGS'
56933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56936
56937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56938 /* end confdefs.h. */
56939 #include <math.h>
56940 int
56941 main ()
56942 {
56943 _fmodl(0, 0);
56944 ;
56945 return 0;
56946 }
56947 _ACEOF
56948 if ac_fn_cxx_try_compile "$LINENO"; then :
56949 glibcxx_cv_func__fmodl_use=yes
56950 else
56951 glibcxx_cv_func__fmodl_use=no
56952 fi
56953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56954 ac_ext=c
56955 ac_cpp='$CPP $CPPFLAGS'
56956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56959
56960
56961 fi
56962
56963 fi
56964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56965 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56966
56967 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56968 for ac_func in _fmodl
56969 do :
56970 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56971 if test "x$ac_cv_func__fmodl" = x""yes; then :
56972 cat >>confdefs.h <<_ACEOF
56973 #define HAVE__FMODL 1
56974 _ACEOF
56975
56976 fi
56977 done
56978
56979 fi
56980 fi
56981
56982
56983
56984
56985
56986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56987 $as_echo_n "checking for frexpl declaration... " >&6; }
56988 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56989 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56990 $as_echo_n "(cached) " >&6
56991 else
56992
56993
56994 ac_ext=cpp
56995 ac_cpp='$CXXCPP $CPPFLAGS'
56996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56999
57000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57001 /* end confdefs.h. */
57002 #include <math.h>
57003 int
57004 main ()
57005 {
57006 frexpl(0, 0);
57007 ;
57008 return 0;
57009 }
57010 _ACEOF
57011 if ac_fn_cxx_try_compile "$LINENO"; then :
57012 glibcxx_cv_func_frexpl_use=yes
57013 else
57014 glibcxx_cv_func_frexpl_use=no
57015 fi
57016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57017 ac_ext=c
57018 ac_cpp='$CPP $CPPFLAGS'
57019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57022
57023
57024 fi
57025
57026 fi
57027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57028 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57029
57030 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57031 for ac_func in frexpl
57032 do :
57033 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57034 if test "x$ac_cv_func_frexpl" = x""yes; then :
57035 cat >>confdefs.h <<_ACEOF
57036 #define HAVE_FREXPL 1
57037 _ACEOF
57038
57039 fi
57040 done
57041
57042 else
57043
57044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57045 $as_echo_n "checking for _frexpl declaration... " >&6; }
57046 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57047 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57048 $as_echo_n "(cached) " >&6
57049 else
57050
57051
57052 ac_ext=cpp
57053 ac_cpp='$CXXCPP $CPPFLAGS'
57054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57057
57058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57059 /* end confdefs.h. */
57060 #include <math.h>
57061 int
57062 main ()
57063 {
57064 _frexpl(0, 0);
57065 ;
57066 return 0;
57067 }
57068 _ACEOF
57069 if ac_fn_cxx_try_compile "$LINENO"; then :
57070 glibcxx_cv_func__frexpl_use=yes
57071 else
57072 glibcxx_cv_func__frexpl_use=no
57073 fi
57074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57075 ac_ext=c
57076 ac_cpp='$CPP $CPPFLAGS'
57077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57080
57081
57082 fi
57083
57084 fi
57085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57086 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57087
57088 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57089 for ac_func in _frexpl
57090 do :
57091 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57092 if test "x$ac_cv_func__frexpl" = x""yes; then :
57093 cat >>confdefs.h <<_ACEOF
57094 #define HAVE__FREXPL 1
57095 _ACEOF
57096
57097 fi
57098 done
57099
57100 fi
57101 fi
57102
57103
57104
57105
57106
57107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57108 $as_echo_n "checking for hypotl declaration... " >&6; }
57109 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57110 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57111 $as_echo_n "(cached) " >&6
57112 else
57113
57114
57115 ac_ext=cpp
57116 ac_cpp='$CXXCPP $CPPFLAGS'
57117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57120
57121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57122 /* end confdefs.h. */
57123 #include <math.h>
57124 int
57125 main ()
57126 {
57127 hypotl(0, 0);
57128 ;
57129 return 0;
57130 }
57131 _ACEOF
57132 if ac_fn_cxx_try_compile "$LINENO"; then :
57133 glibcxx_cv_func_hypotl_use=yes
57134 else
57135 glibcxx_cv_func_hypotl_use=no
57136 fi
57137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57138 ac_ext=c
57139 ac_cpp='$CPP $CPPFLAGS'
57140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57143
57144
57145 fi
57146
57147 fi
57148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57149 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57150
57151 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57152 for ac_func in hypotl
57153 do :
57154 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57155 if test "x$ac_cv_func_hypotl" = x""yes; then :
57156 cat >>confdefs.h <<_ACEOF
57157 #define HAVE_HYPOTL 1
57158 _ACEOF
57159
57160 fi
57161 done
57162
57163 else
57164
57165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57166 $as_echo_n "checking for _hypotl declaration... " >&6; }
57167 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57168 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57169 $as_echo_n "(cached) " >&6
57170 else
57171
57172
57173 ac_ext=cpp
57174 ac_cpp='$CXXCPP $CPPFLAGS'
57175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57178
57179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57180 /* end confdefs.h. */
57181 #include <math.h>
57182 int
57183 main ()
57184 {
57185 _hypotl(0, 0);
57186 ;
57187 return 0;
57188 }
57189 _ACEOF
57190 if ac_fn_cxx_try_compile "$LINENO"; then :
57191 glibcxx_cv_func__hypotl_use=yes
57192 else
57193 glibcxx_cv_func__hypotl_use=no
57194 fi
57195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57196 ac_ext=c
57197 ac_cpp='$CPP $CPPFLAGS'
57198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57201
57202
57203 fi
57204
57205 fi
57206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57207 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57208
57209 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57210 for ac_func in _hypotl
57211 do :
57212 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57213 if test "x$ac_cv_func__hypotl" = x""yes; then :
57214 cat >>confdefs.h <<_ACEOF
57215 #define HAVE__HYPOTL 1
57216 _ACEOF
57217
57218 fi
57219 done
57220
57221 fi
57222 fi
57223
57224
57225
57226
57227
57228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57229 $as_echo_n "checking for ldexpl declaration... " >&6; }
57230 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57231 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57232 $as_echo_n "(cached) " >&6
57233 else
57234
57235
57236 ac_ext=cpp
57237 ac_cpp='$CXXCPP $CPPFLAGS'
57238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57241
57242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57243 /* end confdefs.h. */
57244 #include <math.h>
57245 int
57246 main ()
57247 {
57248 ldexpl(0, 0);
57249 ;
57250 return 0;
57251 }
57252 _ACEOF
57253 if ac_fn_cxx_try_compile "$LINENO"; then :
57254 glibcxx_cv_func_ldexpl_use=yes
57255 else
57256 glibcxx_cv_func_ldexpl_use=no
57257 fi
57258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57259 ac_ext=c
57260 ac_cpp='$CPP $CPPFLAGS'
57261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57264
57265
57266 fi
57267
57268 fi
57269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57270 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57271
57272 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57273 for ac_func in ldexpl
57274 do :
57275 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57276 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57277 cat >>confdefs.h <<_ACEOF
57278 #define HAVE_LDEXPL 1
57279 _ACEOF
57280
57281 fi
57282 done
57283
57284 else
57285
57286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57287 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57288 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57289 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57290 $as_echo_n "(cached) " >&6
57291 else
57292
57293
57294 ac_ext=cpp
57295 ac_cpp='$CXXCPP $CPPFLAGS'
57296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57299
57300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57301 /* end confdefs.h. */
57302 #include <math.h>
57303 int
57304 main ()
57305 {
57306 _ldexpl(0, 0);
57307 ;
57308 return 0;
57309 }
57310 _ACEOF
57311 if ac_fn_cxx_try_compile "$LINENO"; then :
57312 glibcxx_cv_func__ldexpl_use=yes
57313 else
57314 glibcxx_cv_func__ldexpl_use=no
57315 fi
57316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57317 ac_ext=c
57318 ac_cpp='$CPP $CPPFLAGS'
57319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57322
57323
57324 fi
57325
57326 fi
57327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57328 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57329
57330 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57331 for ac_func in _ldexpl
57332 do :
57333 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57334 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57335 cat >>confdefs.h <<_ACEOF
57336 #define HAVE__LDEXPL 1
57337 _ACEOF
57338
57339 fi
57340 done
57341
57342 fi
57343 fi
57344
57345
57346
57347
57348
57349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57350 $as_echo_n "checking for logl declaration... " >&6; }
57351 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57352 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57353 $as_echo_n "(cached) " >&6
57354 else
57355
57356
57357 ac_ext=cpp
57358 ac_cpp='$CXXCPP $CPPFLAGS'
57359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57362
57363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57364 /* end confdefs.h. */
57365 #include <math.h>
57366 #ifdef HAVE_IEEEFP_H
57367 #include <ieeefp.h>
57368 #endif
57369
57370 int
57371 main ()
57372 {
57373 logl(0);
57374 ;
57375 return 0;
57376 }
57377 _ACEOF
57378 if ac_fn_cxx_try_compile "$LINENO"; then :
57379 glibcxx_cv_func_logl_use=yes
57380 else
57381 glibcxx_cv_func_logl_use=no
57382 fi
57383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57384 ac_ext=c
57385 ac_cpp='$CPP $CPPFLAGS'
57386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57389
57390
57391 fi
57392
57393 fi
57394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57395 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57396
57397 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57398 for ac_func in logl
57399 do :
57400 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57401 if test "x$ac_cv_func_logl" = x""yes; then :
57402 cat >>confdefs.h <<_ACEOF
57403 #define HAVE_LOGL 1
57404 _ACEOF
57405
57406 fi
57407 done
57408
57409 else
57410
57411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57412 $as_echo_n "checking for _logl declaration... " >&6; }
57413 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57414 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57415 $as_echo_n "(cached) " >&6
57416 else
57417
57418
57419 ac_ext=cpp
57420 ac_cpp='$CXXCPP $CPPFLAGS'
57421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57424
57425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57426 /* end confdefs.h. */
57427 #include <math.h>
57428 #ifdef HAVE_IEEEFP_H
57429 #include <ieeefp.h>
57430 #endif
57431
57432 int
57433 main ()
57434 {
57435 _logl(0);
57436 ;
57437 return 0;
57438 }
57439 _ACEOF
57440 if ac_fn_cxx_try_compile "$LINENO"; then :
57441 glibcxx_cv_func__logl_use=yes
57442 else
57443 glibcxx_cv_func__logl_use=no
57444 fi
57445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57446 ac_ext=c
57447 ac_cpp='$CPP $CPPFLAGS'
57448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57451
57452
57453 fi
57454
57455 fi
57456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57457 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57458
57459 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57460 for ac_func in _logl
57461 do :
57462 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57463 if test "x$ac_cv_func__logl" = x""yes; then :
57464 cat >>confdefs.h <<_ACEOF
57465 #define HAVE__LOGL 1
57466 _ACEOF
57467
57468 fi
57469 done
57470
57471 fi
57472 fi
57473
57474
57475
57476
57477
57478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57479 $as_echo_n "checking for log10l declaration... " >&6; }
57480 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57481 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57482 $as_echo_n "(cached) " >&6
57483 else
57484
57485
57486 ac_ext=cpp
57487 ac_cpp='$CXXCPP $CPPFLAGS'
57488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57491
57492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57493 /* end confdefs.h. */
57494 #include <math.h>
57495 #ifdef HAVE_IEEEFP_H
57496 #include <ieeefp.h>
57497 #endif
57498
57499 int
57500 main ()
57501 {
57502 log10l(0);
57503 ;
57504 return 0;
57505 }
57506 _ACEOF
57507 if ac_fn_cxx_try_compile "$LINENO"; then :
57508 glibcxx_cv_func_log10l_use=yes
57509 else
57510 glibcxx_cv_func_log10l_use=no
57511 fi
57512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57513 ac_ext=c
57514 ac_cpp='$CPP $CPPFLAGS'
57515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57518
57519
57520 fi
57521
57522 fi
57523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57524 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57525
57526 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57527 for ac_func in log10l
57528 do :
57529 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57530 if test "x$ac_cv_func_log10l" = x""yes; then :
57531 cat >>confdefs.h <<_ACEOF
57532 #define HAVE_LOG10L 1
57533 _ACEOF
57534
57535 fi
57536 done
57537
57538 else
57539
57540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57541 $as_echo_n "checking for _log10l declaration... " >&6; }
57542 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57543 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57544 $as_echo_n "(cached) " >&6
57545 else
57546
57547
57548 ac_ext=cpp
57549 ac_cpp='$CXXCPP $CPPFLAGS'
57550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57553
57554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57555 /* end confdefs.h. */
57556 #include <math.h>
57557 #ifdef HAVE_IEEEFP_H
57558 #include <ieeefp.h>
57559 #endif
57560
57561 int
57562 main ()
57563 {
57564 _log10l(0);
57565 ;
57566 return 0;
57567 }
57568 _ACEOF
57569 if ac_fn_cxx_try_compile "$LINENO"; then :
57570 glibcxx_cv_func__log10l_use=yes
57571 else
57572 glibcxx_cv_func__log10l_use=no
57573 fi
57574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57575 ac_ext=c
57576 ac_cpp='$CPP $CPPFLAGS'
57577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57580
57581
57582 fi
57583
57584 fi
57585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57586 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57587
57588 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57589 for ac_func in _log10l
57590 do :
57591 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57592 if test "x$ac_cv_func__log10l" = x""yes; then :
57593 cat >>confdefs.h <<_ACEOF
57594 #define HAVE__LOG10L 1
57595 _ACEOF
57596
57597 fi
57598 done
57599
57600 fi
57601 fi
57602
57603
57604
57605
57606
57607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57608 $as_echo_n "checking for modfl declaration... " >&6; }
57609 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57610 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57611 $as_echo_n "(cached) " >&6
57612 else
57613
57614
57615 ac_ext=cpp
57616 ac_cpp='$CXXCPP $CPPFLAGS'
57617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57620
57621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57622 /* end confdefs.h. */
57623 #include <math.h>
57624 int
57625 main ()
57626 {
57627 modfl(0, 0);
57628 ;
57629 return 0;
57630 }
57631 _ACEOF
57632 if ac_fn_cxx_try_compile "$LINENO"; then :
57633 glibcxx_cv_func_modfl_use=yes
57634 else
57635 glibcxx_cv_func_modfl_use=no
57636 fi
57637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57638 ac_ext=c
57639 ac_cpp='$CPP $CPPFLAGS'
57640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57643
57644
57645 fi
57646
57647 fi
57648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57649 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57650
57651 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57652 for ac_func in modfl
57653 do :
57654 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57655 if test "x$ac_cv_func_modfl" = x""yes; then :
57656 cat >>confdefs.h <<_ACEOF
57657 #define HAVE_MODFL 1
57658 _ACEOF
57659
57660 fi
57661 done
57662
57663 else
57664
57665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57666 $as_echo_n "checking for _modfl declaration... " >&6; }
57667 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57668 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57669 $as_echo_n "(cached) " >&6
57670 else
57671
57672
57673 ac_ext=cpp
57674 ac_cpp='$CXXCPP $CPPFLAGS'
57675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57678
57679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57680 /* end confdefs.h. */
57681 #include <math.h>
57682 int
57683 main ()
57684 {
57685 _modfl(0, 0);
57686 ;
57687 return 0;
57688 }
57689 _ACEOF
57690 if ac_fn_cxx_try_compile "$LINENO"; then :
57691 glibcxx_cv_func__modfl_use=yes
57692 else
57693 glibcxx_cv_func__modfl_use=no
57694 fi
57695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57696 ac_ext=c
57697 ac_cpp='$CPP $CPPFLAGS'
57698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57701
57702
57703 fi
57704
57705 fi
57706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57707 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57708
57709 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57710 for ac_func in _modfl
57711 do :
57712 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57713 if test "x$ac_cv_func__modfl" = x""yes; then :
57714 cat >>confdefs.h <<_ACEOF
57715 #define HAVE__MODFL 1
57716 _ACEOF
57717
57718 fi
57719 done
57720
57721 fi
57722 fi
57723
57724
57725
57726
57727
57728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57729 $as_echo_n "checking for powl declaration... " >&6; }
57730 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57731 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57732 $as_echo_n "(cached) " >&6
57733 else
57734
57735
57736 ac_ext=cpp
57737 ac_cpp='$CXXCPP $CPPFLAGS'
57738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57741
57742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57743 /* end confdefs.h. */
57744 #include <math.h>
57745 int
57746 main ()
57747 {
57748 powl(0, 0);
57749 ;
57750 return 0;
57751 }
57752 _ACEOF
57753 if ac_fn_cxx_try_compile "$LINENO"; then :
57754 glibcxx_cv_func_powl_use=yes
57755 else
57756 glibcxx_cv_func_powl_use=no
57757 fi
57758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57759 ac_ext=c
57760 ac_cpp='$CPP $CPPFLAGS'
57761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57764
57765
57766 fi
57767
57768 fi
57769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57770 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57771
57772 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57773 for ac_func in powl
57774 do :
57775 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57776 if test "x$ac_cv_func_powl" = x""yes; then :
57777 cat >>confdefs.h <<_ACEOF
57778 #define HAVE_POWL 1
57779 _ACEOF
57780
57781 fi
57782 done
57783
57784 else
57785
57786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57787 $as_echo_n "checking for _powl declaration... " >&6; }
57788 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57789 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57790 $as_echo_n "(cached) " >&6
57791 else
57792
57793
57794 ac_ext=cpp
57795 ac_cpp='$CXXCPP $CPPFLAGS'
57796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57799
57800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57801 /* end confdefs.h. */
57802 #include <math.h>
57803 int
57804 main ()
57805 {
57806 _powl(0, 0);
57807 ;
57808 return 0;
57809 }
57810 _ACEOF
57811 if ac_fn_cxx_try_compile "$LINENO"; then :
57812 glibcxx_cv_func__powl_use=yes
57813 else
57814 glibcxx_cv_func__powl_use=no
57815 fi
57816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57817 ac_ext=c
57818 ac_cpp='$CPP $CPPFLAGS'
57819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57822
57823
57824 fi
57825
57826 fi
57827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57828 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57829
57830 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57831 for ac_func in _powl
57832 do :
57833 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57834 if test "x$ac_cv_func__powl" = x""yes; then :
57835 cat >>confdefs.h <<_ACEOF
57836 #define HAVE__POWL 1
57837 _ACEOF
57838
57839 fi
57840 done
57841
57842 fi
57843 fi
57844
57845
57846
57847
57848
57849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57850 $as_echo_n "checking for sqrtl declaration... " >&6; }
57851 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57852 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57853 $as_echo_n "(cached) " >&6
57854 else
57855
57856
57857 ac_ext=cpp
57858 ac_cpp='$CXXCPP $CPPFLAGS'
57859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57862
57863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57864 /* end confdefs.h. */
57865 #include <math.h>
57866 #ifdef HAVE_IEEEFP_H
57867 #include <ieeefp.h>
57868 #endif
57869
57870 int
57871 main ()
57872 {
57873 sqrtl(0);
57874 ;
57875 return 0;
57876 }
57877 _ACEOF
57878 if ac_fn_cxx_try_compile "$LINENO"; then :
57879 glibcxx_cv_func_sqrtl_use=yes
57880 else
57881 glibcxx_cv_func_sqrtl_use=no
57882 fi
57883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57884 ac_ext=c
57885 ac_cpp='$CPP $CPPFLAGS'
57886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57889
57890
57891 fi
57892
57893 fi
57894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57895 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57896
57897 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57898 for ac_func in sqrtl
57899 do :
57900 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57901 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57902 cat >>confdefs.h <<_ACEOF
57903 #define HAVE_SQRTL 1
57904 _ACEOF
57905
57906 fi
57907 done
57908
57909 else
57910
57911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57912 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57913 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57914 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57915 $as_echo_n "(cached) " >&6
57916 else
57917
57918
57919 ac_ext=cpp
57920 ac_cpp='$CXXCPP $CPPFLAGS'
57921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57924
57925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57926 /* end confdefs.h. */
57927 #include <math.h>
57928 #ifdef HAVE_IEEEFP_H
57929 #include <ieeefp.h>
57930 #endif
57931
57932 int
57933 main ()
57934 {
57935 _sqrtl(0);
57936 ;
57937 return 0;
57938 }
57939 _ACEOF
57940 if ac_fn_cxx_try_compile "$LINENO"; then :
57941 glibcxx_cv_func__sqrtl_use=yes
57942 else
57943 glibcxx_cv_func__sqrtl_use=no
57944 fi
57945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57946 ac_ext=c
57947 ac_cpp='$CPP $CPPFLAGS'
57948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57951
57952
57953 fi
57954
57955 fi
57956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57957 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57958
57959 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57960 for ac_func in _sqrtl
57961 do :
57962 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57963 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57964 cat >>confdefs.h <<_ACEOF
57965 #define HAVE__SQRTL 1
57966 _ACEOF
57967
57968 fi
57969 done
57970
57971 fi
57972 fi
57973
57974
57975
57976
57977
57978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57979 $as_echo_n "checking for sincosl declaration... " >&6; }
57980 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57981 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57982 $as_echo_n "(cached) " >&6
57983 else
57984
57985
57986 ac_ext=cpp
57987 ac_cpp='$CXXCPP $CPPFLAGS'
57988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57991
57992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57993 /* end confdefs.h. */
57994 #include <math.h>
57995 int
57996 main ()
57997 {
57998 sincosl(0, 0, 0);
57999 ;
58000 return 0;
58001 }
58002 _ACEOF
58003 if ac_fn_cxx_try_compile "$LINENO"; then :
58004 glibcxx_cv_func_sincosl_use=yes
58005 else
58006 glibcxx_cv_func_sincosl_use=no
58007 fi
58008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58009 ac_ext=c
58010 ac_cpp='$CPP $CPPFLAGS'
58011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58014
58015
58016 fi
58017
58018 fi
58019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58020 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58021
58022 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58023 for ac_func in sincosl
58024 do :
58025 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58026 if test "x$ac_cv_func_sincosl" = x""yes; then :
58027 cat >>confdefs.h <<_ACEOF
58028 #define HAVE_SINCOSL 1
58029 _ACEOF
58030
58031 fi
58032 done
58033
58034 else
58035
58036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58037 $as_echo_n "checking for _sincosl declaration... " >&6; }
58038 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58039 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58040 $as_echo_n "(cached) " >&6
58041 else
58042
58043
58044 ac_ext=cpp
58045 ac_cpp='$CXXCPP $CPPFLAGS'
58046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58049
58050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58051 /* end confdefs.h. */
58052 #include <math.h>
58053 int
58054 main ()
58055 {
58056 _sincosl(0, 0, 0);
58057 ;
58058 return 0;
58059 }
58060 _ACEOF
58061 if ac_fn_cxx_try_compile "$LINENO"; then :
58062 glibcxx_cv_func__sincosl_use=yes
58063 else
58064 glibcxx_cv_func__sincosl_use=no
58065 fi
58066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58067 ac_ext=c
58068 ac_cpp='$CPP $CPPFLAGS'
58069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58072
58073
58074 fi
58075
58076 fi
58077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58078 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58079
58080 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58081 for ac_func in _sincosl
58082 do :
58083 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58084 if test "x$ac_cv_func__sincosl" = x""yes; then :
58085 cat >>confdefs.h <<_ACEOF
58086 #define HAVE__SINCOSL 1
58087 _ACEOF
58088
58089 fi
58090 done
58091
58092 fi
58093 fi
58094
58095
58096
58097
58098
58099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58100 $as_echo_n "checking for finitel declaration... " >&6; }
58101 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58102 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58103 $as_echo_n "(cached) " >&6
58104 else
58105
58106
58107 ac_ext=cpp
58108 ac_cpp='$CXXCPP $CPPFLAGS'
58109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58112
58113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58114 /* end confdefs.h. */
58115 #include <math.h>
58116 #ifdef HAVE_IEEEFP_H
58117 #include <ieeefp.h>
58118 #endif
58119
58120 int
58121 main ()
58122 {
58123 finitel(0);
58124 ;
58125 return 0;
58126 }
58127 _ACEOF
58128 if ac_fn_cxx_try_compile "$LINENO"; then :
58129 glibcxx_cv_func_finitel_use=yes
58130 else
58131 glibcxx_cv_func_finitel_use=no
58132 fi
58133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58134 ac_ext=c
58135 ac_cpp='$CPP $CPPFLAGS'
58136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58139
58140
58141 fi
58142
58143 fi
58144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58145 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58146
58147 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58148 for ac_func in finitel
58149 do :
58150 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58151 if test "x$ac_cv_func_finitel" = x""yes; then :
58152 cat >>confdefs.h <<_ACEOF
58153 #define HAVE_FINITEL 1
58154 _ACEOF
58155
58156 fi
58157 done
58158
58159 else
58160
58161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58162 $as_echo_n "checking for _finitel declaration... " >&6; }
58163 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58164 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58165 $as_echo_n "(cached) " >&6
58166 else
58167
58168
58169 ac_ext=cpp
58170 ac_cpp='$CXXCPP $CPPFLAGS'
58171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58174
58175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58176 /* end confdefs.h. */
58177 #include <math.h>
58178 #ifdef HAVE_IEEEFP_H
58179 #include <ieeefp.h>
58180 #endif
58181
58182 int
58183 main ()
58184 {
58185 _finitel(0);
58186 ;
58187 return 0;
58188 }
58189 _ACEOF
58190 if ac_fn_cxx_try_compile "$LINENO"; then :
58191 glibcxx_cv_func__finitel_use=yes
58192 else
58193 glibcxx_cv_func__finitel_use=no
58194 fi
58195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58196 ac_ext=c
58197 ac_cpp='$CPP $CPPFLAGS'
58198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58201
58202
58203 fi
58204
58205 fi
58206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58207 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58208
58209 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58210 for ac_func in _finitel
58211 do :
58212 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58213 if test "x$ac_cv_func__finitel" = x""yes; then :
58214 cat >>confdefs.h <<_ACEOF
58215 #define HAVE__FINITEL 1
58216 _ACEOF
58217
58218 fi
58219 done
58220
58221 fi
58222 fi
58223
58224
58225
58226
58227 LIBS="$ac_save_LIBS"
58228 CXXFLAGS="$ac_save_CXXFLAGS"
58229
58230
58231 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58232 ac_save_CXXFLAGS="$CXXFLAGS"
58233 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58234
58235
58236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58237 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58238 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58239 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58240 $as_echo_n "(cached) " >&6
58241 else
58242
58243
58244 ac_ext=cpp
58245 ac_cpp='$CXXCPP $CPPFLAGS'
58246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58249
58250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58251 /* end confdefs.h. */
58252 #include <stdlib.h>
58253 int
58254 main ()
58255 {
58256 at_quick_exit(0);
58257 ;
58258 return 0;
58259 }
58260 _ACEOF
58261 if ac_fn_cxx_try_compile "$LINENO"; then :
58262 glibcxx_cv_func_at_quick_exit_use=yes
58263 else
58264 glibcxx_cv_func_at_quick_exit_use=no
58265 fi
58266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58267 ac_ext=c
58268 ac_cpp='$CPP $CPPFLAGS'
58269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58272
58273
58274 fi
58275
58276 fi
58277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58278 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58279 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58280 for ac_func in at_quick_exit
58281 do :
58282 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58283 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58284 cat >>confdefs.h <<_ACEOF
58285 #define HAVE_AT_QUICK_EXIT 1
58286 _ACEOF
58287
58288 fi
58289 done
58290
58291 fi
58292
58293
58294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58295 $as_echo_n "checking for quick_exit declaration... " >&6; }
58296 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58297 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58298 $as_echo_n "(cached) " >&6
58299 else
58300
58301
58302 ac_ext=cpp
58303 ac_cpp='$CXXCPP $CPPFLAGS'
58304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58307
58308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58309 /* end confdefs.h. */
58310 #include <stdlib.h>
58311 int
58312 main ()
58313 {
58314 quick_exit(0);
58315 ;
58316 return 0;
58317 }
58318 _ACEOF
58319 if ac_fn_cxx_try_compile "$LINENO"; then :
58320 glibcxx_cv_func_quick_exit_use=yes
58321 else
58322 glibcxx_cv_func_quick_exit_use=no
58323 fi
58324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58325 ac_ext=c
58326 ac_cpp='$CPP $CPPFLAGS'
58327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58330
58331
58332 fi
58333
58334 fi
58335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58336 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58337 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58338 for ac_func in quick_exit
58339 do :
58340 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58341 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58342 cat >>confdefs.h <<_ACEOF
58343 #define HAVE_QUICK_EXIT 1
58344 _ACEOF
58345
58346 fi
58347 done
58348
58349 fi
58350
58351
58352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58353 $as_echo_n "checking for strtold declaration... " >&6; }
58354 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58355 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58356 $as_echo_n "(cached) " >&6
58357 else
58358
58359
58360 ac_ext=cpp
58361 ac_cpp='$CXXCPP $CPPFLAGS'
58362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58365
58366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58367 /* end confdefs.h. */
58368 #include <stdlib.h>
58369 int
58370 main ()
58371 {
58372 strtold(0, 0);
58373 ;
58374 return 0;
58375 }
58376 _ACEOF
58377 if ac_fn_cxx_try_compile "$LINENO"; then :
58378 glibcxx_cv_func_strtold_use=yes
58379 else
58380 glibcxx_cv_func_strtold_use=no
58381 fi
58382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58383 ac_ext=c
58384 ac_cpp='$CPP $CPPFLAGS'
58385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58388
58389
58390 fi
58391
58392 fi
58393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58394 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58395 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58396 for ac_func in strtold
58397 do :
58398 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58399 if test "x$ac_cv_func_strtold" = x""yes; then :
58400 cat >>confdefs.h <<_ACEOF
58401 #define HAVE_STRTOLD 1
58402 _ACEOF
58403
58404 fi
58405 done
58406
58407 fi
58408
58409
58410
58411
58412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58413 $as_echo_n "checking for strtof declaration... " >&6; }
58414 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58415 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58416 $as_echo_n "(cached) " >&6
58417 else
58418
58419
58420 ac_ext=cpp
58421 ac_cpp='$CXXCPP $CPPFLAGS'
58422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58425
58426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58427 /* end confdefs.h. */
58428 #include <stdlib.h>
58429 int
58430 main ()
58431 {
58432 strtof(0, 0);
58433 ;
58434 return 0;
58435 }
58436 _ACEOF
58437 if ac_fn_cxx_try_compile "$LINENO"; then :
58438 glibcxx_cv_func_strtof_use=yes
58439 else
58440 glibcxx_cv_func_strtof_use=no
58441 fi
58442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58443 ac_ext=c
58444 ac_cpp='$CPP $CPPFLAGS'
58445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58448
58449
58450 fi
58451
58452 fi
58453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58454 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58455 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58456 for ac_func in strtof
58457 do :
58458 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58459 if test "x$ac_cv_func_strtof" = x""yes; then :
58460 cat >>confdefs.h <<_ACEOF
58461 #define HAVE_STRTOF 1
58462 _ACEOF
58463
58464 fi
58465 done
58466
58467 fi
58468
58469
58470
58471
58472 CXXFLAGS="$ac_save_CXXFLAGS"
58473
58474 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58475
58476
58477
58478 # Check whether --enable-tls was given.
58479 if test "${enable_tls+set}" = set; then :
58480 enableval=$enable_tls;
58481 case "$enableval" in
58482 yes|no) ;;
58483 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58484 esac
58485
58486 else
58487 enable_tls=yes
58488 fi
58489
58490
58491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58492 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58493 if test "${gcc_cv_have_tls+set}" = set; then :
58494 $as_echo_n "(cached) " >&6
58495 else
58496
58497 if test "$cross_compiling" = yes; then :
58498 if test x$gcc_no_link = xyes; then
58499 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58500 fi
58501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58502 /* end confdefs.h. */
58503 __thread int a; int b; int main() { return a = b; }
58504 _ACEOF
58505 if ac_fn_c_try_link "$LINENO"; then :
58506 chktls_save_LDFLAGS="$LDFLAGS"
58507 case $host in
58508 *-*-linux*)
58509 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58510 ;;
58511 esac
58512 chktls_save_CFLAGS="$CFLAGS"
58513 CFLAGS="-fPIC $CFLAGS"
58514 if test x$gcc_no_link = xyes; then
58515 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58516 fi
58517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58518 /* end confdefs.h. */
58519 int f() { return 0; }
58520 _ACEOF
58521 if ac_fn_c_try_link "$LINENO"; then :
58522 if test x$gcc_no_link = xyes; then
58523 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58524 fi
58525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58526 /* end confdefs.h. */
58527 __thread int a; int b; int f() { return a = b; }
58528 _ACEOF
58529 if ac_fn_c_try_link "$LINENO"; then :
58530 gcc_cv_have_tls=yes
58531 else
58532 gcc_cv_have_tls=no
58533 fi
58534 rm -f core conftest.err conftest.$ac_objext \
58535 conftest$ac_exeext conftest.$ac_ext
58536 else
58537 gcc_cv_have_tls=yes
58538 fi
58539 rm -f core conftest.err conftest.$ac_objext \
58540 conftest$ac_exeext conftest.$ac_ext
58541 CFLAGS="$chktls_save_CFLAGS"
58542 LDFLAGS="$chktls_save_LDFLAGS"
58543 else
58544 gcc_cv_have_tls=no
58545 fi
58546 rm -f core conftest.err conftest.$ac_objext \
58547 conftest$ac_exeext conftest.$ac_ext
58548
58549
58550 else
58551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58552 /* end confdefs.h. */
58553 __thread int a; int b; int main() { return a = b; }
58554 _ACEOF
58555 if ac_fn_c_try_run "$LINENO"; then :
58556 chktls_save_LDFLAGS="$LDFLAGS"
58557 LDFLAGS="-static $LDFLAGS"
58558 if test x$gcc_no_link = xyes; then
58559 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58560 fi
58561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58562 /* end confdefs.h. */
58563 int main() { return 0; }
58564 _ACEOF
58565 if ac_fn_c_try_link "$LINENO"; then :
58566 if test "$cross_compiling" = yes; then :
58567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58569 as_fn_error "cannot run test program while cross compiling
58570 See \`config.log' for more details." "$LINENO" 5; }
58571 else
58572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58573 /* end confdefs.h. */
58574 __thread int a; int b; int main() { return a = b; }
58575 _ACEOF
58576 if ac_fn_c_try_run "$LINENO"; then :
58577 gcc_cv_have_tls=yes
58578 else
58579 gcc_cv_have_tls=no
58580 fi
58581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58582 conftest.$ac_objext conftest.beam conftest.$ac_ext
58583 fi
58584
58585 else
58586 gcc_cv_have_tls=yes
58587 fi
58588 rm -f core conftest.err conftest.$ac_objext \
58589 conftest$ac_exeext conftest.$ac_ext
58590 LDFLAGS="$chktls_save_LDFLAGS"
58591 if test $gcc_cv_have_tls = yes; then
58592 chktls_save_CFLAGS="$CFLAGS"
58593 thread_CFLAGS=failed
58594 for flag in '' '-pthread' '-lpthread'; do
58595 CFLAGS="$flag $chktls_save_CFLAGS"
58596 if test x$gcc_no_link = xyes; then
58597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58598 fi
58599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58600 /* end confdefs.h. */
58601 #include <pthread.h>
58602 void *g(void *d) { return NULL; }
58603 int
58604 main ()
58605 {
58606 pthread_t t; pthread_create(&t,NULL,g,NULL);
58607 ;
58608 return 0;
58609 }
58610 _ACEOF
58611 if ac_fn_c_try_link "$LINENO"; then :
58612 thread_CFLAGS="$flag"
58613 fi
58614 rm -f core conftest.err conftest.$ac_objext \
58615 conftest$ac_exeext conftest.$ac_ext
58616 if test "X$thread_CFLAGS" != Xfailed; then
58617 break
58618 fi
58619 done
58620 CFLAGS="$chktls_save_CFLAGS"
58621 if test "X$thread_CFLAGS" != Xfailed; then
58622 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58623 if test "$cross_compiling" = yes; then :
58624 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58626 as_fn_error "cannot run test program while cross compiling
58627 See \`config.log' for more details." "$LINENO" 5; }
58628 else
58629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58630 /* end confdefs.h. */
58631 #include <pthread.h>
58632 __thread int a;
58633 static int *volatile a_in_other_thread;
58634 static void *
58635 thread_func (void *arg)
58636 {
58637 a_in_other_thread = &a;
58638 return (void *)0;
58639 }
58640 int
58641 main ()
58642 {
58643 pthread_t thread;
58644 void *thread_retval;
58645 int *volatile a_in_main_thread;
58646 a_in_main_thread = &a;
58647 if (pthread_create (&thread, (pthread_attr_t *)0,
58648 thread_func, (void *)0))
58649 return 0;
58650 if (pthread_join (thread, &thread_retval))
58651 return 0;
58652 return (a_in_other_thread == a_in_main_thread);
58653 ;
58654 return 0;
58655 }
58656 _ACEOF
58657 if ac_fn_c_try_run "$LINENO"; then :
58658 gcc_cv_have_tls=yes
58659 else
58660 gcc_cv_have_tls=no
58661 fi
58662 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58663 conftest.$ac_objext conftest.beam conftest.$ac_ext
58664 fi
58665
58666 CFLAGS="$chktls_save_CFLAGS"
58667 fi
58668 fi
58669 else
58670 gcc_cv_have_tls=no
58671 fi
58672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58673 conftest.$ac_objext conftest.beam conftest.$ac_ext
58674 fi
58675
58676 fi
58677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58678 $as_echo "$gcc_cv_have_tls" >&6; }
58679 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58680
58681 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58682
58683 fi
58684
58685
58686
58687
58688
58689 am_save_CPPFLAGS="$CPPFLAGS"
58690
58691 for element in $INCICONV; do
58692 haveit=
58693 for x in $CPPFLAGS; do
58694
58695 acl_save_prefix="$prefix"
58696 prefix="$acl_final_prefix"
58697 acl_save_exec_prefix="$exec_prefix"
58698 exec_prefix="$acl_final_exec_prefix"
58699 eval x=\"$x\"
58700 exec_prefix="$acl_save_exec_prefix"
58701 prefix="$acl_save_prefix"
58702
58703 if test "X$x" = "X$element"; then
58704 haveit=yes
58705 break
58706 fi
58707 done
58708 if test -z "$haveit"; then
58709 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58710 fi
58711 done
58712
58713
58714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58715 $as_echo_n "checking for iconv... " >&6; }
58716 if test "${am_cv_func_iconv+set}" = set; then :
58717 $as_echo_n "(cached) " >&6
58718 else
58719
58720 am_cv_func_iconv="no, consider installing GNU libiconv"
58721 am_cv_lib_iconv=no
58722 if test x$gcc_no_link = xyes; then
58723 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58724 fi
58725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58726 /* end confdefs.h. */
58727 #include <stdlib.h>
58728 #include <iconv.h>
58729 int
58730 main ()
58731 {
58732 iconv_t cd = iconv_open("","");
58733 iconv(cd,NULL,NULL,NULL,NULL);
58734 iconv_close(cd);
58735 ;
58736 return 0;
58737 }
58738 _ACEOF
58739 if ac_fn_c_try_link "$LINENO"; then :
58740 am_cv_func_iconv=yes
58741 fi
58742 rm -f core conftest.err conftest.$ac_objext \
58743 conftest$ac_exeext conftest.$ac_ext
58744 if test "$am_cv_func_iconv" != yes; then
58745 am_save_LIBS="$LIBS"
58746 LIBS="$LIBS $LIBICONV"
58747 if test x$gcc_no_link = xyes; then
58748 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58749 fi
58750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58751 /* end confdefs.h. */
58752 #include <stdlib.h>
58753 #include <iconv.h>
58754 int
58755 main ()
58756 {
58757 iconv_t cd = iconv_open("","");
58758 iconv(cd,NULL,NULL,NULL,NULL);
58759 iconv_close(cd);
58760 ;
58761 return 0;
58762 }
58763 _ACEOF
58764 if ac_fn_c_try_link "$LINENO"; then :
58765 am_cv_lib_iconv=yes
58766 am_cv_func_iconv=yes
58767 fi
58768 rm -f core conftest.err conftest.$ac_objext \
58769 conftest$ac_exeext conftest.$ac_ext
58770 LIBS="$am_save_LIBS"
58771 fi
58772
58773 fi
58774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58775 $as_echo "$am_cv_func_iconv" >&6; }
58776 if test "$am_cv_func_iconv" = yes; then
58777
58778 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58779
58780 fi
58781 if test "$am_cv_lib_iconv" = yes; then
58782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58783 $as_echo_n "checking how to link with libiconv... " >&6; }
58784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58785 $as_echo "$LIBICONV" >&6; }
58786 else
58787 CPPFLAGS="$am_save_CPPFLAGS"
58788 LIBICONV=
58789 LTLIBICONV=
58790 fi
58791
58792
58793
58794 if test "$am_cv_func_iconv" = yes; then
58795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58796 $as_echo_n "checking for iconv declaration... " >&6; }
58797 if test "${am_cv_proto_iconv+set}" = set; then :
58798 $as_echo_n "(cached) " >&6
58799 else
58800
58801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58802 /* end confdefs.h. */
58803
58804 #include <stdlib.h>
58805 #include <iconv.h>
58806 extern
58807 #ifdef __cplusplus
58808 "C"
58809 #endif
58810 #if defined(__STDC__) || defined(__cplusplus)
58811 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58812 #else
58813 size_t iconv();
58814 #endif
58815
58816 int
58817 main ()
58818 {
58819
58820 ;
58821 return 0;
58822 }
58823 _ACEOF
58824 if ac_fn_c_try_compile "$LINENO"; then :
58825 am_cv_proto_iconv_arg1=""
58826 else
58827 am_cv_proto_iconv_arg1="const"
58828 fi
58829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58830 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);"
58831 fi
58832
58833 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
58834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
58835 }$am_cv_proto_iconv" >&5
58836 $as_echo "${ac_t:-
58837 }$am_cv_proto_iconv" >&6; }
58838
58839 cat >>confdefs.h <<_ACEOF
58840 #define ICONV_CONST $am_cv_proto_iconv_arg1
58841 _ACEOF
58842
58843 fi
58844
58845 ;;
58846 *-mingw32*)
58847
58848 # If we're not using GNU ld, then there's no point in even trying these
58849 # tests. Check for that first. We should have already tested for gld
58850 # by now (in libtool), but require it now just to be safe...
58851 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58852 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58853
58854
58855
58856 # The name set by libtool depends on the version of libtool. Shame on us
58857 # for depending on an impl detail, but c'est la vie. Older versions used
58858 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58859 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58860 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58861 # set (hence we're using an older libtool), then set it.
58862 if test x${with_gnu_ld+set} != xset; then
58863 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58864 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58865 with_gnu_ld=no
58866 else
58867 with_gnu_ld=$ac_cv_prog_gnu_ld
58868 fi
58869 fi
58870
58871 # Start by getting the version number. I think the libtool test already
58872 # does some of this, but throws away the result.
58873 glibcxx_ld_is_gold=no
58874 if test x"$with_gnu_ld" = x"yes"; then
58875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58876 $as_echo_n "checking for ld version... " >&6; }
58877
58878 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58879 glibcxx_ld_is_gold=yes
58880 fi
58881 ldver=`$LD --version 2>/dev/null |
58882 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'`
58883
58884 glibcxx_gnu_ld_version=`echo $ldver | \
58885 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58887 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58888 fi
58889
58890 # Set --gc-sections.
58891 glibcxx_have_gc_sections=no
58892 if test "$glibcxx_ld_is_gold" = "yes"; then
58893 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58894 glibcxx_have_gc_sections=yes
58895 fi
58896 else
58897 glibcxx_gcsections_min_ld=21602
58898 if test x"$with_gnu_ld" = x"yes" &&
58899 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58900 glibcxx_have_gc_sections=yes
58901 fi
58902 fi
58903 if test "$glibcxx_have_gc_sections" = "yes"; then
58904 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58905 # NB: This flag only works reliably after 2.16.1. Configure tests
58906 # for this are difficult, so hard wire a value that should work.
58907
58908 ac_test_CFLAGS="${CFLAGS+set}"
58909 ac_save_CFLAGS="$CFLAGS"
58910 CFLAGS='-Wl,--gc-sections'
58911
58912 # Check for -Wl,--gc-sections
58913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58914 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58915 if test x$gcc_no_link = xyes; then
58916 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58917 fi
58918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58919 /* end confdefs.h. */
58920 int one(void) { return 1; }
58921 int two(void) { return 2; }
58922
58923 int
58924 main ()
58925 {
58926 two();
58927 ;
58928 return 0;
58929 }
58930 _ACEOF
58931 if ac_fn_c_try_link "$LINENO"; then :
58932 ac_gcsections=yes
58933 else
58934 ac_gcsections=no
58935 fi
58936 rm -f core conftest.err conftest.$ac_objext \
58937 conftest$ac_exeext conftest.$ac_ext
58938 if test "$ac_gcsections" = "yes"; then
58939 rm -f conftest.c
58940 touch conftest.c
58941 if $CC -c conftest.c; then
58942 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58943 grep "Warning: gc-sections option ignored" > /dev/null; then
58944 ac_gcsections=no
58945 fi
58946 fi
58947 rm -f conftest.c conftest.o conftest
58948 fi
58949 if test "$ac_gcsections" = "yes"; then
58950 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58951 fi
58952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58953 $as_echo "$ac_gcsections" >&6; }
58954
58955 if test "$ac_test_CFLAGS" = set; then
58956 CFLAGS="$ac_save_CFLAGS"
58957 else
58958 # this is the suspicious part
58959 CFLAGS=''
58960 fi
58961 fi
58962
58963 # Set -z,relro.
58964 # Note this is only for shared objects.
58965 ac_ld_relro=no
58966 if test x"$with_gnu_ld" = x"yes"; then
58967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58968 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58969 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58970 if test -n "$cxx_z_relo"; then
58971 OPT_LDFLAGS="-Wl,-z,relro"
58972 ac_ld_relro=yes
58973 fi
58974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58975 $as_echo "$ac_ld_relro" >&6; }
58976 fi
58977
58978 # Set linker optimization flags.
58979 if test x"$with_gnu_ld" = x"yes"; then
58980 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58981 fi
58982
58983
58984
58985
58986
58987 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58988 ac_save_CXXFLAGS="$CXXFLAGS"
58989 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58990
58991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58992 $as_echo_n "checking for sin in -lm... " >&6; }
58993 if test "${ac_cv_lib_m_sin+set}" = set; then :
58994 $as_echo_n "(cached) " >&6
58995 else
58996 ac_check_lib_save_LIBS=$LIBS
58997 LIBS="-lm $LIBS"
58998 if test x$gcc_no_link = xyes; then
58999 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59000 fi
59001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59002 /* end confdefs.h. */
59003
59004 /* Override any GCC internal prototype to avoid an error.
59005 Use char because int might match the return type of a GCC
59006 builtin and then its argument prototype would still apply. */
59007 #ifdef __cplusplus
59008 extern "C"
59009 #endif
59010 char sin ();
59011 int
59012 main ()
59013 {
59014 return sin ();
59015 ;
59016 return 0;
59017 }
59018 _ACEOF
59019 if ac_fn_c_try_link "$LINENO"; then :
59020 ac_cv_lib_m_sin=yes
59021 else
59022 ac_cv_lib_m_sin=no
59023 fi
59024 rm -f core conftest.err conftest.$ac_objext \
59025 conftest$ac_exeext conftest.$ac_ext
59026 LIBS=$ac_check_lib_save_LIBS
59027 fi
59028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59029 $as_echo "$ac_cv_lib_m_sin" >&6; }
59030 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59031 libm="-lm"
59032 fi
59033
59034 ac_save_LIBS="$LIBS"
59035 LIBS="$LIBS $libm"
59036
59037
59038
59039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59040 $as_echo_n "checking for isinf declaration... " >&6; }
59041 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59042 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59043 $as_echo_n "(cached) " >&6
59044 else
59045
59046
59047 ac_ext=cpp
59048 ac_cpp='$CXXCPP $CPPFLAGS'
59049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59052
59053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59054 /* end confdefs.h. */
59055 #include <math.h>
59056 #ifdef HAVE_IEEEFP_H
59057 #include <ieeefp.h>
59058 #endif
59059
59060 int
59061 main ()
59062 {
59063 isinf(0);
59064 ;
59065 return 0;
59066 }
59067 _ACEOF
59068 if ac_fn_cxx_try_compile "$LINENO"; then :
59069 glibcxx_cv_func_isinf_use=yes
59070 else
59071 glibcxx_cv_func_isinf_use=no
59072 fi
59073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59074 ac_ext=c
59075 ac_cpp='$CPP $CPPFLAGS'
59076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59079
59080
59081 fi
59082
59083 fi
59084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59085 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59086
59087 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59088 for ac_func in isinf
59089 do :
59090 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59091 if test "x$ac_cv_func_isinf" = x""yes; then :
59092 cat >>confdefs.h <<_ACEOF
59093 #define HAVE_ISINF 1
59094 _ACEOF
59095
59096 fi
59097 done
59098
59099 else
59100
59101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59102 $as_echo_n "checking for _isinf declaration... " >&6; }
59103 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59104 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59105 $as_echo_n "(cached) " >&6
59106 else
59107
59108
59109 ac_ext=cpp
59110 ac_cpp='$CXXCPP $CPPFLAGS'
59111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59114
59115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59116 /* end confdefs.h. */
59117 #include <math.h>
59118 #ifdef HAVE_IEEEFP_H
59119 #include <ieeefp.h>
59120 #endif
59121
59122 int
59123 main ()
59124 {
59125 _isinf(0);
59126 ;
59127 return 0;
59128 }
59129 _ACEOF
59130 if ac_fn_cxx_try_compile "$LINENO"; then :
59131 glibcxx_cv_func__isinf_use=yes
59132 else
59133 glibcxx_cv_func__isinf_use=no
59134 fi
59135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59136 ac_ext=c
59137 ac_cpp='$CPP $CPPFLAGS'
59138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59141
59142
59143 fi
59144
59145 fi
59146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59147 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59148
59149 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59150 for ac_func in _isinf
59151 do :
59152 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59153 if test "x$ac_cv_func__isinf" = x""yes; then :
59154 cat >>confdefs.h <<_ACEOF
59155 #define HAVE__ISINF 1
59156 _ACEOF
59157
59158 fi
59159 done
59160
59161 fi
59162 fi
59163
59164
59165
59166
59167
59168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59169 $as_echo_n "checking for isnan declaration... " >&6; }
59170 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59171 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59172 $as_echo_n "(cached) " >&6
59173 else
59174
59175
59176 ac_ext=cpp
59177 ac_cpp='$CXXCPP $CPPFLAGS'
59178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59181
59182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59183 /* end confdefs.h. */
59184 #include <math.h>
59185 #ifdef HAVE_IEEEFP_H
59186 #include <ieeefp.h>
59187 #endif
59188
59189 int
59190 main ()
59191 {
59192 isnan(0);
59193 ;
59194 return 0;
59195 }
59196 _ACEOF
59197 if ac_fn_cxx_try_compile "$LINENO"; then :
59198 glibcxx_cv_func_isnan_use=yes
59199 else
59200 glibcxx_cv_func_isnan_use=no
59201 fi
59202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59203 ac_ext=c
59204 ac_cpp='$CPP $CPPFLAGS'
59205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59208
59209
59210 fi
59211
59212 fi
59213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59214 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59215
59216 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59217 for ac_func in isnan
59218 do :
59219 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59220 if test "x$ac_cv_func_isnan" = x""yes; then :
59221 cat >>confdefs.h <<_ACEOF
59222 #define HAVE_ISNAN 1
59223 _ACEOF
59224
59225 fi
59226 done
59227
59228 else
59229
59230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59231 $as_echo_n "checking for _isnan declaration... " >&6; }
59232 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59233 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59234 $as_echo_n "(cached) " >&6
59235 else
59236
59237
59238 ac_ext=cpp
59239 ac_cpp='$CXXCPP $CPPFLAGS'
59240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59243
59244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59245 /* end confdefs.h. */
59246 #include <math.h>
59247 #ifdef HAVE_IEEEFP_H
59248 #include <ieeefp.h>
59249 #endif
59250
59251 int
59252 main ()
59253 {
59254 _isnan(0);
59255 ;
59256 return 0;
59257 }
59258 _ACEOF
59259 if ac_fn_cxx_try_compile "$LINENO"; then :
59260 glibcxx_cv_func__isnan_use=yes
59261 else
59262 glibcxx_cv_func__isnan_use=no
59263 fi
59264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59265 ac_ext=c
59266 ac_cpp='$CPP $CPPFLAGS'
59267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59270
59271
59272 fi
59273
59274 fi
59275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59276 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59277
59278 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59279 for ac_func in _isnan
59280 do :
59281 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59282 if test "x$ac_cv_func__isnan" = x""yes; then :
59283 cat >>confdefs.h <<_ACEOF
59284 #define HAVE__ISNAN 1
59285 _ACEOF
59286
59287 fi
59288 done
59289
59290 fi
59291 fi
59292
59293
59294
59295
59296
59297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59298 $as_echo_n "checking for finite declaration... " >&6; }
59299 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59300 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59301 $as_echo_n "(cached) " >&6
59302 else
59303
59304
59305 ac_ext=cpp
59306 ac_cpp='$CXXCPP $CPPFLAGS'
59307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59310
59311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59312 /* end confdefs.h. */
59313 #include <math.h>
59314 #ifdef HAVE_IEEEFP_H
59315 #include <ieeefp.h>
59316 #endif
59317
59318 int
59319 main ()
59320 {
59321 finite(0);
59322 ;
59323 return 0;
59324 }
59325 _ACEOF
59326 if ac_fn_cxx_try_compile "$LINENO"; then :
59327 glibcxx_cv_func_finite_use=yes
59328 else
59329 glibcxx_cv_func_finite_use=no
59330 fi
59331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59332 ac_ext=c
59333 ac_cpp='$CPP $CPPFLAGS'
59334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59337
59338
59339 fi
59340
59341 fi
59342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59343 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59344
59345 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59346 for ac_func in finite
59347 do :
59348 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59349 if test "x$ac_cv_func_finite" = x""yes; then :
59350 cat >>confdefs.h <<_ACEOF
59351 #define HAVE_FINITE 1
59352 _ACEOF
59353
59354 fi
59355 done
59356
59357 else
59358
59359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59360 $as_echo_n "checking for _finite declaration... " >&6; }
59361 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59362 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59363 $as_echo_n "(cached) " >&6
59364 else
59365
59366
59367 ac_ext=cpp
59368 ac_cpp='$CXXCPP $CPPFLAGS'
59369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59372
59373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59374 /* end confdefs.h. */
59375 #include <math.h>
59376 #ifdef HAVE_IEEEFP_H
59377 #include <ieeefp.h>
59378 #endif
59379
59380 int
59381 main ()
59382 {
59383 _finite(0);
59384 ;
59385 return 0;
59386 }
59387 _ACEOF
59388 if ac_fn_cxx_try_compile "$LINENO"; then :
59389 glibcxx_cv_func__finite_use=yes
59390 else
59391 glibcxx_cv_func__finite_use=no
59392 fi
59393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59394 ac_ext=c
59395 ac_cpp='$CPP $CPPFLAGS'
59396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59399
59400
59401 fi
59402
59403 fi
59404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59405 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59406
59407 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59408 for ac_func in _finite
59409 do :
59410 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59411 if test "x$ac_cv_func__finite" = x""yes; then :
59412 cat >>confdefs.h <<_ACEOF
59413 #define HAVE__FINITE 1
59414 _ACEOF
59415
59416 fi
59417 done
59418
59419 fi
59420 fi
59421
59422
59423
59424
59425
59426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59427 $as_echo_n "checking for sincos declaration... " >&6; }
59428 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59429 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59430 $as_echo_n "(cached) " >&6
59431 else
59432
59433
59434 ac_ext=cpp
59435 ac_cpp='$CXXCPP $CPPFLAGS'
59436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59439
59440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59441 /* end confdefs.h. */
59442 #include <math.h>
59443 int
59444 main ()
59445 {
59446 sincos(0, 0, 0);
59447 ;
59448 return 0;
59449 }
59450 _ACEOF
59451 if ac_fn_cxx_try_compile "$LINENO"; then :
59452 glibcxx_cv_func_sincos_use=yes
59453 else
59454 glibcxx_cv_func_sincos_use=no
59455 fi
59456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59457 ac_ext=c
59458 ac_cpp='$CPP $CPPFLAGS'
59459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59462
59463
59464 fi
59465
59466 fi
59467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59468 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59469
59470 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59471 for ac_func in sincos
59472 do :
59473 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59474 if test "x$ac_cv_func_sincos" = x""yes; then :
59475 cat >>confdefs.h <<_ACEOF
59476 #define HAVE_SINCOS 1
59477 _ACEOF
59478
59479 fi
59480 done
59481
59482 else
59483
59484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59485 $as_echo_n "checking for _sincos declaration... " >&6; }
59486 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59487 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59488 $as_echo_n "(cached) " >&6
59489 else
59490
59491
59492 ac_ext=cpp
59493 ac_cpp='$CXXCPP $CPPFLAGS'
59494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59497
59498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59499 /* end confdefs.h. */
59500 #include <math.h>
59501 int
59502 main ()
59503 {
59504 _sincos(0, 0, 0);
59505 ;
59506 return 0;
59507 }
59508 _ACEOF
59509 if ac_fn_cxx_try_compile "$LINENO"; then :
59510 glibcxx_cv_func__sincos_use=yes
59511 else
59512 glibcxx_cv_func__sincos_use=no
59513 fi
59514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59515 ac_ext=c
59516 ac_cpp='$CPP $CPPFLAGS'
59517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59520
59521
59522 fi
59523
59524 fi
59525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59526 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59527
59528 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59529 for ac_func in _sincos
59530 do :
59531 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59532 if test "x$ac_cv_func__sincos" = x""yes; then :
59533 cat >>confdefs.h <<_ACEOF
59534 #define HAVE__SINCOS 1
59535 _ACEOF
59536
59537 fi
59538 done
59539
59540 fi
59541 fi
59542
59543
59544
59545
59546
59547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59548 $as_echo_n "checking for fpclass declaration... " >&6; }
59549 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59550 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59551 $as_echo_n "(cached) " >&6
59552 else
59553
59554
59555 ac_ext=cpp
59556 ac_cpp='$CXXCPP $CPPFLAGS'
59557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59560
59561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59562 /* end confdefs.h. */
59563 #include <math.h>
59564 #ifdef HAVE_IEEEFP_H
59565 #include <ieeefp.h>
59566 #endif
59567
59568 int
59569 main ()
59570 {
59571 fpclass(0);
59572 ;
59573 return 0;
59574 }
59575 _ACEOF
59576 if ac_fn_cxx_try_compile "$LINENO"; then :
59577 glibcxx_cv_func_fpclass_use=yes
59578 else
59579 glibcxx_cv_func_fpclass_use=no
59580 fi
59581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59582 ac_ext=c
59583 ac_cpp='$CPP $CPPFLAGS'
59584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59587
59588
59589 fi
59590
59591 fi
59592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59593 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59594
59595 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59596 for ac_func in fpclass
59597 do :
59598 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59599 if test "x$ac_cv_func_fpclass" = x""yes; then :
59600 cat >>confdefs.h <<_ACEOF
59601 #define HAVE_FPCLASS 1
59602 _ACEOF
59603
59604 fi
59605 done
59606
59607 else
59608
59609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59610 $as_echo_n "checking for _fpclass declaration... " >&6; }
59611 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59612 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59613 $as_echo_n "(cached) " >&6
59614 else
59615
59616
59617 ac_ext=cpp
59618 ac_cpp='$CXXCPP $CPPFLAGS'
59619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59622
59623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59624 /* end confdefs.h. */
59625 #include <math.h>
59626 #ifdef HAVE_IEEEFP_H
59627 #include <ieeefp.h>
59628 #endif
59629
59630 int
59631 main ()
59632 {
59633 _fpclass(0);
59634 ;
59635 return 0;
59636 }
59637 _ACEOF
59638 if ac_fn_cxx_try_compile "$LINENO"; then :
59639 glibcxx_cv_func__fpclass_use=yes
59640 else
59641 glibcxx_cv_func__fpclass_use=no
59642 fi
59643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59644 ac_ext=c
59645 ac_cpp='$CPP $CPPFLAGS'
59646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59649
59650
59651 fi
59652
59653 fi
59654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59655 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59656
59657 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59658 for ac_func in _fpclass
59659 do :
59660 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59661 if test "x$ac_cv_func__fpclass" = x""yes; then :
59662 cat >>confdefs.h <<_ACEOF
59663 #define HAVE__FPCLASS 1
59664 _ACEOF
59665
59666 fi
59667 done
59668
59669 fi
59670 fi
59671
59672
59673
59674
59675
59676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59677 $as_echo_n "checking for qfpclass declaration... " >&6; }
59678 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59679 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59680 $as_echo_n "(cached) " >&6
59681 else
59682
59683
59684 ac_ext=cpp
59685 ac_cpp='$CXXCPP $CPPFLAGS'
59686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59689
59690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59691 /* end confdefs.h. */
59692 #include <math.h>
59693 #ifdef HAVE_IEEEFP_H
59694 #include <ieeefp.h>
59695 #endif
59696
59697 int
59698 main ()
59699 {
59700 qfpclass(0);
59701 ;
59702 return 0;
59703 }
59704 _ACEOF
59705 if ac_fn_cxx_try_compile "$LINENO"; then :
59706 glibcxx_cv_func_qfpclass_use=yes
59707 else
59708 glibcxx_cv_func_qfpclass_use=no
59709 fi
59710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59711 ac_ext=c
59712 ac_cpp='$CPP $CPPFLAGS'
59713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59716
59717
59718 fi
59719
59720 fi
59721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59722 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59723
59724 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59725 for ac_func in qfpclass
59726 do :
59727 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59728 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59729 cat >>confdefs.h <<_ACEOF
59730 #define HAVE_QFPCLASS 1
59731 _ACEOF
59732
59733 fi
59734 done
59735
59736 else
59737
59738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59739 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59740 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59741 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59742 $as_echo_n "(cached) " >&6
59743 else
59744
59745
59746 ac_ext=cpp
59747 ac_cpp='$CXXCPP $CPPFLAGS'
59748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59751
59752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59753 /* end confdefs.h. */
59754 #include <math.h>
59755 #ifdef HAVE_IEEEFP_H
59756 #include <ieeefp.h>
59757 #endif
59758
59759 int
59760 main ()
59761 {
59762 _qfpclass(0);
59763 ;
59764 return 0;
59765 }
59766 _ACEOF
59767 if ac_fn_cxx_try_compile "$LINENO"; then :
59768 glibcxx_cv_func__qfpclass_use=yes
59769 else
59770 glibcxx_cv_func__qfpclass_use=no
59771 fi
59772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59773 ac_ext=c
59774 ac_cpp='$CPP $CPPFLAGS'
59775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59778
59779
59780 fi
59781
59782 fi
59783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59784 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59785
59786 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59787 for ac_func in _qfpclass
59788 do :
59789 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59790 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59791 cat >>confdefs.h <<_ACEOF
59792 #define HAVE__QFPCLASS 1
59793 _ACEOF
59794
59795 fi
59796 done
59797
59798 fi
59799 fi
59800
59801
59802
59803
59804
59805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59806 $as_echo_n "checking for hypot declaration... " >&6; }
59807 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59808 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59809 $as_echo_n "(cached) " >&6
59810 else
59811
59812
59813 ac_ext=cpp
59814 ac_cpp='$CXXCPP $CPPFLAGS'
59815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59818
59819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59820 /* end confdefs.h. */
59821 #include <math.h>
59822 int
59823 main ()
59824 {
59825 hypot(0, 0);
59826 ;
59827 return 0;
59828 }
59829 _ACEOF
59830 if ac_fn_cxx_try_compile "$LINENO"; then :
59831 glibcxx_cv_func_hypot_use=yes
59832 else
59833 glibcxx_cv_func_hypot_use=no
59834 fi
59835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59836 ac_ext=c
59837 ac_cpp='$CPP $CPPFLAGS'
59838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59841
59842
59843 fi
59844
59845 fi
59846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59847 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59848
59849 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59850 for ac_func in hypot
59851 do :
59852 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59853 if test "x$ac_cv_func_hypot" = x""yes; then :
59854 cat >>confdefs.h <<_ACEOF
59855 #define HAVE_HYPOT 1
59856 _ACEOF
59857
59858 fi
59859 done
59860
59861 else
59862
59863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59864 $as_echo_n "checking for _hypot declaration... " >&6; }
59865 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59866 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59867 $as_echo_n "(cached) " >&6
59868 else
59869
59870
59871 ac_ext=cpp
59872 ac_cpp='$CXXCPP $CPPFLAGS'
59873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59876
59877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59878 /* end confdefs.h. */
59879 #include <math.h>
59880 int
59881 main ()
59882 {
59883 _hypot(0, 0);
59884 ;
59885 return 0;
59886 }
59887 _ACEOF
59888 if ac_fn_cxx_try_compile "$LINENO"; then :
59889 glibcxx_cv_func__hypot_use=yes
59890 else
59891 glibcxx_cv_func__hypot_use=no
59892 fi
59893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59894 ac_ext=c
59895 ac_cpp='$CPP $CPPFLAGS'
59896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59899
59900
59901 fi
59902
59903 fi
59904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59905 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59906
59907 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59908 for ac_func in _hypot
59909 do :
59910 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59911 if test "x$ac_cv_func__hypot" = x""yes; then :
59912 cat >>confdefs.h <<_ACEOF
59913 #define HAVE__HYPOT 1
59914 _ACEOF
59915
59916 fi
59917 done
59918
59919 fi
59920 fi
59921
59922
59923
59924
59925
59926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59927 $as_echo_n "checking for float trig functions... " >&6; }
59928 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59929 $as_echo_n "(cached) " >&6
59930 else
59931
59932
59933 ac_ext=cpp
59934 ac_cpp='$CXXCPP $CPPFLAGS'
59935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59938
59939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59940 /* end confdefs.h. */
59941 #include <math.h>
59942 int
59943 main ()
59944 {
59945 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59946 ;
59947 return 0;
59948 }
59949 _ACEOF
59950 if ac_fn_cxx_try_compile "$LINENO"; then :
59951 glibcxx_cv_func_float_trig_use=yes
59952 else
59953 glibcxx_cv_func_float_trig_use=no
59954 fi
59955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59956 ac_ext=c
59957 ac_cpp='$CPP $CPPFLAGS'
59958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59961
59962 fi
59963
59964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59965 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59966 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59967 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59968 do :
59969 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59970 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59971 eval as_val=\$$as_ac_var
59972 if test "x$as_val" = x""yes; then :
59973 cat >>confdefs.h <<_ACEOF
59974 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59975 _ACEOF
59976
59977 fi
59978 done
59979
59980 else
59981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59982 $as_echo_n "checking for _float trig functions... " >&6; }
59983 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59984 $as_echo_n "(cached) " >&6
59985 else
59986
59987
59988 ac_ext=cpp
59989 ac_cpp='$CXXCPP $CPPFLAGS'
59990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59993
59994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59995 /* end confdefs.h. */
59996 #include <math.h>
59997 int
59998 main ()
59999 {
60000 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60001 ;
60002 return 0;
60003 }
60004 _ACEOF
60005 if ac_fn_cxx_try_compile "$LINENO"; then :
60006 glibcxx_cv_func__float_trig_use=yes
60007 else
60008 glibcxx_cv_func__float_trig_use=no
60009 fi
60010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60011 ac_ext=c
60012 ac_cpp='$CPP $CPPFLAGS'
60013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60016
60017 fi
60018
60019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60020 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60021 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60022 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60023 do :
60024 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60025 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60026 eval as_val=\$$as_ac_var
60027 if test "x$as_val" = x""yes; then :
60028 cat >>confdefs.h <<_ACEOF
60029 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60030 _ACEOF
60031
60032 fi
60033 done
60034
60035 fi
60036 fi
60037
60038
60039
60040
60041
60042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60043 $as_echo_n "checking for float round functions... " >&6; }
60044 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60045 $as_echo_n "(cached) " >&6
60046 else
60047
60048
60049 ac_ext=cpp
60050 ac_cpp='$CXXCPP $CPPFLAGS'
60051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60054
60055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60056 /* end confdefs.h. */
60057 #include <math.h>
60058 int
60059 main ()
60060 {
60061 ceilf (0); floorf (0);
60062 ;
60063 return 0;
60064 }
60065 _ACEOF
60066 if ac_fn_cxx_try_compile "$LINENO"; then :
60067 glibcxx_cv_func_float_round_use=yes
60068 else
60069 glibcxx_cv_func_float_round_use=no
60070 fi
60071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60072 ac_ext=c
60073 ac_cpp='$CPP $CPPFLAGS'
60074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60077
60078 fi
60079
60080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60081 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60082 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60083 for ac_func in ceilf floorf
60084 do :
60085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60087 eval as_val=\$$as_ac_var
60088 if test "x$as_val" = x""yes; then :
60089 cat >>confdefs.h <<_ACEOF
60090 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60091 _ACEOF
60092
60093 fi
60094 done
60095
60096 else
60097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60098 $as_echo_n "checking for _float round functions... " >&6; }
60099 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60100 $as_echo_n "(cached) " >&6
60101 else
60102
60103
60104 ac_ext=cpp
60105 ac_cpp='$CXXCPP $CPPFLAGS'
60106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60109
60110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60111 /* end confdefs.h. */
60112 #include <math.h>
60113 int
60114 main ()
60115 {
60116 _ceilf (0); _floorf (0);
60117 ;
60118 return 0;
60119 }
60120 _ACEOF
60121 if ac_fn_cxx_try_compile "$LINENO"; then :
60122 glibcxx_cv_func__float_round_use=yes
60123 else
60124 glibcxx_cv_func__float_round_use=no
60125 fi
60126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60127 ac_ext=c
60128 ac_cpp='$CPP $CPPFLAGS'
60129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60132
60133 fi
60134
60135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60136 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60137 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60138 for ac_func in _ceilf _floorf
60139 do :
60140 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60141 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60142 eval as_val=\$$as_ac_var
60143 if test "x$as_val" = x""yes; then :
60144 cat >>confdefs.h <<_ACEOF
60145 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60146 _ACEOF
60147
60148 fi
60149 done
60150
60151 fi
60152 fi
60153
60154
60155
60156
60157
60158
60159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60160 $as_echo_n "checking for expf declaration... " >&6; }
60161 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60162 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60163 $as_echo_n "(cached) " >&6
60164 else
60165
60166
60167 ac_ext=cpp
60168 ac_cpp='$CXXCPP $CPPFLAGS'
60169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60172
60173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60174 /* end confdefs.h. */
60175 #include <math.h>
60176 #ifdef HAVE_IEEEFP_H
60177 #include <ieeefp.h>
60178 #endif
60179
60180 int
60181 main ()
60182 {
60183 expf(0);
60184 ;
60185 return 0;
60186 }
60187 _ACEOF
60188 if ac_fn_cxx_try_compile "$LINENO"; then :
60189 glibcxx_cv_func_expf_use=yes
60190 else
60191 glibcxx_cv_func_expf_use=no
60192 fi
60193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60194 ac_ext=c
60195 ac_cpp='$CPP $CPPFLAGS'
60196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60199
60200
60201 fi
60202
60203 fi
60204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60205 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60206
60207 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60208 for ac_func in expf
60209 do :
60210 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60211 if test "x$ac_cv_func_expf" = x""yes; then :
60212 cat >>confdefs.h <<_ACEOF
60213 #define HAVE_EXPF 1
60214 _ACEOF
60215
60216 fi
60217 done
60218
60219 else
60220
60221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60222 $as_echo_n "checking for _expf declaration... " >&6; }
60223 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60224 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60225 $as_echo_n "(cached) " >&6
60226 else
60227
60228
60229 ac_ext=cpp
60230 ac_cpp='$CXXCPP $CPPFLAGS'
60231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60234
60235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60236 /* end confdefs.h. */
60237 #include <math.h>
60238 #ifdef HAVE_IEEEFP_H
60239 #include <ieeefp.h>
60240 #endif
60241
60242 int
60243 main ()
60244 {
60245 _expf(0);
60246 ;
60247 return 0;
60248 }
60249 _ACEOF
60250 if ac_fn_cxx_try_compile "$LINENO"; then :
60251 glibcxx_cv_func__expf_use=yes
60252 else
60253 glibcxx_cv_func__expf_use=no
60254 fi
60255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60256 ac_ext=c
60257 ac_cpp='$CPP $CPPFLAGS'
60258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60261
60262
60263 fi
60264
60265 fi
60266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60267 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60268
60269 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60270 for ac_func in _expf
60271 do :
60272 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60273 if test "x$ac_cv_func__expf" = x""yes; then :
60274 cat >>confdefs.h <<_ACEOF
60275 #define HAVE__EXPF 1
60276 _ACEOF
60277
60278 fi
60279 done
60280
60281 fi
60282 fi
60283
60284
60285
60286
60287
60288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60289 $as_echo_n "checking for isnanf declaration... " >&6; }
60290 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60291 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60292 $as_echo_n "(cached) " >&6
60293 else
60294
60295
60296 ac_ext=cpp
60297 ac_cpp='$CXXCPP $CPPFLAGS'
60298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60301
60302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60303 /* end confdefs.h. */
60304 #include <math.h>
60305 #ifdef HAVE_IEEEFP_H
60306 #include <ieeefp.h>
60307 #endif
60308
60309 int
60310 main ()
60311 {
60312 isnanf(0);
60313 ;
60314 return 0;
60315 }
60316 _ACEOF
60317 if ac_fn_cxx_try_compile "$LINENO"; then :
60318 glibcxx_cv_func_isnanf_use=yes
60319 else
60320 glibcxx_cv_func_isnanf_use=no
60321 fi
60322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60323 ac_ext=c
60324 ac_cpp='$CPP $CPPFLAGS'
60325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60328
60329
60330 fi
60331
60332 fi
60333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60334 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60335
60336 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60337 for ac_func in isnanf
60338 do :
60339 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60340 if test "x$ac_cv_func_isnanf" = x""yes; then :
60341 cat >>confdefs.h <<_ACEOF
60342 #define HAVE_ISNANF 1
60343 _ACEOF
60344
60345 fi
60346 done
60347
60348 else
60349
60350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60351 $as_echo_n "checking for _isnanf declaration... " >&6; }
60352 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60353 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60354 $as_echo_n "(cached) " >&6
60355 else
60356
60357
60358 ac_ext=cpp
60359 ac_cpp='$CXXCPP $CPPFLAGS'
60360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60363
60364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60365 /* end confdefs.h. */
60366 #include <math.h>
60367 #ifdef HAVE_IEEEFP_H
60368 #include <ieeefp.h>
60369 #endif
60370
60371 int
60372 main ()
60373 {
60374 _isnanf(0);
60375 ;
60376 return 0;
60377 }
60378 _ACEOF
60379 if ac_fn_cxx_try_compile "$LINENO"; then :
60380 glibcxx_cv_func__isnanf_use=yes
60381 else
60382 glibcxx_cv_func__isnanf_use=no
60383 fi
60384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60385 ac_ext=c
60386 ac_cpp='$CPP $CPPFLAGS'
60387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60390
60391
60392 fi
60393
60394 fi
60395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60396 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60397
60398 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60399 for ac_func in _isnanf
60400 do :
60401 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60402 if test "x$ac_cv_func__isnanf" = x""yes; then :
60403 cat >>confdefs.h <<_ACEOF
60404 #define HAVE__ISNANF 1
60405 _ACEOF
60406
60407 fi
60408 done
60409
60410 fi
60411 fi
60412
60413
60414
60415
60416
60417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60418 $as_echo_n "checking for isinff declaration... " >&6; }
60419 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60420 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60421 $as_echo_n "(cached) " >&6
60422 else
60423
60424
60425 ac_ext=cpp
60426 ac_cpp='$CXXCPP $CPPFLAGS'
60427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60430
60431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60432 /* end confdefs.h. */
60433 #include <math.h>
60434 #ifdef HAVE_IEEEFP_H
60435 #include <ieeefp.h>
60436 #endif
60437
60438 int
60439 main ()
60440 {
60441 isinff(0);
60442 ;
60443 return 0;
60444 }
60445 _ACEOF
60446 if ac_fn_cxx_try_compile "$LINENO"; then :
60447 glibcxx_cv_func_isinff_use=yes
60448 else
60449 glibcxx_cv_func_isinff_use=no
60450 fi
60451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60452 ac_ext=c
60453 ac_cpp='$CPP $CPPFLAGS'
60454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60457
60458
60459 fi
60460
60461 fi
60462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60463 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60464
60465 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60466 for ac_func in isinff
60467 do :
60468 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60469 if test "x$ac_cv_func_isinff" = x""yes; then :
60470 cat >>confdefs.h <<_ACEOF
60471 #define HAVE_ISINFF 1
60472 _ACEOF
60473
60474 fi
60475 done
60476
60477 else
60478
60479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60480 $as_echo_n "checking for _isinff declaration... " >&6; }
60481 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60482 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60483 $as_echo_n "(cached) " >&6
60484 else
60485
60486
60487 ac_ext=cpp
60488 ac_cpp='$CXXCPP $CPPFLAGS'
60489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60492
60493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60494 /* end confdefs.h. */
60495 #include <math.h>
60496 #ifdef HAVE_IEEEFP_H
60497 #include <ieeefp.h>
60498 #endif
60499
60500 int
60501 main ()
60502 {
60503 _isinff(0);
60504 ;
60505 return 0;
60506 }
60507 _ACEOF
60508 if ac_fn_cxx_try_compile "$LINENO"; then :
60509 glibcxx_cv_func__isinff_use=yes
60510 else
60511 glibcxx_cv_func__isinff_use=no
60512 fi
60513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60514 ac_ext=c
60515 ac_cpp='$CPP $CPPFLAGS'
60516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60519
60520
60521 fi
60522
60523 fi
60524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60525 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60526
60527 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60528 for ac_func in _isinff
60529 do :
60530 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60531 if test "x$ac_cv_func__isinff" = x""yes; then :
60532 cat >>confdefs.h <<_ACEOF
60533 #define HAVE__ISINFF 1
60534 _ACEOF
60535
60536 fi
60537 done
60538
60539 fi
60540 fi
60541
60542
60543
60544
60545
60546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60547 $as_echo_n "checking for atan2f declaration... " >&6; }
60548 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60549 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60550 $as_echo_n "(cached) " >&6
60551 else
60552
60553
60554 ac_ext=cpp
60555 ac_cpp='$CXXCPP $CPPFLAGS'
60556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60559
60560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60561 /* end confdefs.h. */
60562 #include <math.h>
60563 int
60564 main ()
60565 {
60566 atan2f(0, 0);
60567 ;
60568 return 0;
60569 }
60570 _ACEOF
60571 if ac_fn_cxx_try_compile "$LINENO"; then :
60572 glibcxx_cv_func_atan2f_use=yes
60573 else
60574 glibcxx_cv_func_atan2f_use=no
60575 fi
60576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60577 ac_ext=c
60578 ac_cpp='$CPP $CPPFLAGS'
60579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60582
60583
60584 fi
60585
60586 fi
60587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60588 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60589
60590 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60591 for ac_func in atan2f
60592 do :
60593 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60594 if test "x$ac_cv_func_atan2f" = x""yes; then :
60595 cat >>confdefs.h <<_ACEOF
60596 #define HAVE_ATAN2F 1
60597 _ACEOF
60598
60599 fi
60600 done
60601
60602 else
60603
60604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60605 $as_echo_n "checking for _atan2f declaration... " >&6; }
60606 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60607 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60608 $as_echo_n "(cached) " >&6
60609 else
60610
60611
60612 ac_ext=cpp
60613 ac_cpp='$CXXCPP $CPPFLAGS'
60614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60617
60618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60619 /* end confdefs.h. */
60620 #include <math.h>
60621 int
60622 main ()
60623 {
60624 _atan2f(0, 0);
60625 ;
60626 return 0;
60627 }
60628 _ACEOF
60629 if ac_fn_cxx_try_compile "$LINENO"; then :
60630 glibcxx_cv_func__atan2f_use=yes
60631 else
60632 glibcxx_cv_func__atan2f_use=no
60633 fi
60634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60635 ac_ext=c
60636 ac_cpp='$CPP $CPPFLAGS'
60637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60640
60641
60642 fi
60643
60644 fi
60645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60646 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60647
60648 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60649 for ac_func in _atan2f
60650 do :
60651 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60652 if test "x$ac_cv_func__atan2f" = x""yes; then :
60653 cat >>confdefs.h <<_ACEOF
60654 #define HAVE__ATAN2F 1
60655 _ACEOF
60656
60657 fi
60658 done
60659
60660 fi
60661 fi
60662
60663
60664
60665
60666
60667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60668 $as_echo_n "checking for fabsf declaration... " >&6; }
60669 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60670 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60671 $as_echo_n "(cached) " >&6
60672 else
60673
60674
60675 ac_ext=cpp
60676 ac_cpp='$CXXCPP $CPPFLAGS'
60677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60680
60681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60682 /* end confdefs.h. */
60683 #include <math.h>
60684 #ifdef HAVE_IEEEFP_H
60685 #include <ieeefp.h>
60686 #endif
60687
60688 int
60689 main ()
60690 {
60691 fabsf(0);
60692 ;
60693 return 0;
60694 }
60695 _ACEOF
60696 if ac_fn_cxx_try_compile "$LINENO"; then :
60697 glibcxx_cv_func_fabsf_use=yes
60698 else
60699 glibcxx_cv_func_fabsf_use=no
60700 fi
60701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60702 ac_ext=c
60703 ac_cpp='$CPP $CPPFLAGS'
60704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60707
60708
60709 fi
60710
60711 fi
60712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60713 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60714
60715 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60716 for ac_func in fabsf
60717 do :
60718 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60719 if test "x$ac_cv_func_fabsf" = x""yes; then :
60720 cat >>confdefs.h <<_ACEOF
60721 #define HAVE_FABSF 1
60722 _ACEOF
60723
60724 fi
60725 done
60726
60727 else
60728
60729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60730 $as_echo_n "checking for _fabsf declaration... " >&6; }
60731 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60732 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60733 $as_echo_n "(cached) " >&6
60734 else
60735
60736
60737 ac_ext=cpp
60738 ac_cpp='$CXXCPP $CPPFLAGS'
60739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60742
60743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60744 /* end confdefs.h. */
60745 #include <math.h>
60746 #ifdef HAVE_IEEEFP_H
60747 #include <ieeefp.h>
60748 #endif
60749
60750 int
60751 main ()
60752 {
60753 _fabsf(0);
60754 ;
60755 return 0;
60756 }
60757 _ACEOF
60758 if ac_fn_cxx_try_compile "$LINENO"; then :
60759 glibcxx_cv_func__fabsf_use=yes
60760 else
60761 glibcxx_cv_func__fabsf_use=no
60762 fi
60763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60764 ac_ext=c
60765 ac_cpp='$CPP $CPPFLAGS'
60766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60769
60770
60771 fi
60772
60773 fi
60774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60775 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60776
60777 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60778 for ac_func in _fabsf
60779 do :
60780 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60781 if test "x$ac_cv_func__fabsf" = x""yes; then :
60782 cat >>confdefs.h <<_ACEOF
60783 #define HAVE__FABSF 1
60784 _ACEOF
60785
60786 fi
60787 done
60788
60789 fi
60790 fi
60791
60792
60793
60794
60795
60796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60797 $as_echo_n "checking for fmodf declaration... " >&6; }
60798 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60799 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60800 $as_echo_n "(cached) " >&6
60801 else
60802
60803
60804 ac_ext=cpp
60805 ac_cpp='$CXXCPP $CPPFLAGS'
60806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60809
60810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60811 /* end confdefs.h. */
60812 #include <math.h>
60813 int
60814 main ()
60815 {
60816 fmodf(0, 0);
60817 ;
60818 return 0;
60819 }
60820 _ACEOF
60821 if ac_fn_cxx_try_compile "$LINENO"; then :
60822 glibcxx_cv_func_fmodf_use=yes
60823 else
60824 glibcxx_cv_func_fmodf_use=no
60825 fi
60826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60827 ac_ext=c
60828 ac_cpp='$CPP $CPPFLAGS'
60829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60832
60833
60834 fi
60835
60836 fi
60837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60838 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60839
60840 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60841 for ac_func in fmodf
60842 do :
60843 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60844 if test "x$ac_cv_func_fmodf" = x""yes; then :
60845 cat >>confdefs.h <<_ACEOF
60846 #define HAVE_FMODF 1
60847 _ACEOF
60848
60849 fi
60850 done
60851
60852 else
60853
60854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60855 $as_echo_n "checking for _fmodf declaration... " >&6; }
60856 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60857 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60858 $as_echo_n "(cached) " >&6
60859 else
60860
60861
60862 ac_ext=cpp
60863 ac_cpp='$CXXCPP $CPPFLAGS'
60864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60867
60868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60869 /* end confdefs.h. */
60870 #include <math.h>
60871 int
60872 main ()
60873 {
60874 _fmodf(0, 0);
60875 ;
60876 return 0;
60877 }
60878 _ACEOF
60879 if ac_fn_cxx_try_compile "$LINENO"; then :
60880 glibcxx_cv_func__fmodf_use=yes
60881 else
60882 glibcxx_cv_func__fmodf_use=no
60883 fi
60884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60885 ac_ext=c
60886 ac_cpp='$CPP $CPPFLAGS'
60887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60890
60891
60892 fi
60893
60894 fi
60895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60896 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60897
60898 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60899 for ac_func in _fmodf
60900 do :
60901 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60902 if test "x$ac_cv_func__fmodf" = x""yes; then :
60903 cat >>confdefs.h <<_ACEOF
60904 #define HAVE__FMODF 1
60905 _ACEOF
60906
60907 fi
60908 done
60909
60910 fi
60911 fi
60912
60913
60914
60915
60916
60917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60918 $as_echo_n "checking for frexpf declaration... " >&6; }
60919 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60920 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60921 $as_echo_n "(cached) " >&6
60922 else
60923
60924
60925 ac_ext=cpp
60926 ac_cpp='$CXXCPP $CPPFLAGS'
60927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60930
60931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60932 /* end confdefs.h. */
60933 #include <math.h>
60934 int
60935 main ()
60936 {
60937 frexpf(0, 0);
60938 ;
60939 return 0;
60940 }
60941 _ACEOF
60942 if ac_fn_cxx_try_compile "$LINENO"; then :
60943 glibcxx_cv_func_frexpf_use=yes
60944 else
60945 glibcxx_cv_func_frexpf_use=no
60946 fi
60947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60948 ac_ext=c
60949 ac_cpp='$CPP $CPPFLAGS'
60950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60953
60954
60955 fi
60956
60957 fi
60958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60959 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60960
60961 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60962 for ac_func in frexpf
60963 do :
60964 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60965 if test "x$ac_cv_func_frexpf" = x""yes; then :
60966 cat >>confdefs.h <<_ACEOF
60967 #define HAVE_FREXPF 1
60968 _ACEOF
60969
60970 fi
60971 done
60972
60973 else
60974
60975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60976 $as_echo_n "checking for _frexpf declaration... " >&6; }
60977 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60978 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60979 $as_echo_n "(cached) " >&6
60980 else
60981
60982
60983 ac_ext=cpp
60984 ac_cpp='$CXXCPP $CPPFLAGS'
60985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60988
60989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60990 /* end confdefs.h. */
60991 #include <math.h>
60992 int
60993 main ()
60994 {
60995 _frexpf(0, 0);
60996 ;
60997 return 0;
60998 }
60999 _ACEOF
61000 if ac_fn_cxx_try_compile "$LINENO"; then :
61001 glibcxx_cv_func__frexpf_use=yes
61002 else
61003 glibcxx_cv_func__frexpf_use=no
61004 fi
61005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61006 ac_ext=c
61007 ac_cpp='$CPP $CPPFLAGS'
61008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61011
61012
61013 fi
61014
61015 fi
61016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61017 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61018
61019 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61020 for ac_func in _frexpf
61021 do :
61022 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61023 if test "x$ac_cv_func__frexpf" = x""yes; then :
61024 cat >>confdefs.h <<_ACEOF
61025 #define HAVE__FREXPF 1
61026 _ACEOF
61027
61028 fi
61029 done
61030
61031 fi
61032 fi
61033
61034
61035
61036
61037
61038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61039 $as_echo_n "checking for hypotf declaration... " >&6; }
61040 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61041 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61042 $as_echo_n "(cached) " >&6
61043 else
61044
61045
61046 ac_ext=cpp
61047 ac_cpp='$CXXCPP $CPPFLAGS'
61048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61051
61052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61053 /* end confdefs.h. */
61054 #include <math.h>
61055 int
61056 main ()
61057 {
61058 hypotf(0, 0);
61059 ;
61060 return 0;
61061 }
61062 _ACEOF
61063 if ac_fn_cxx_try_compile "$LINENO"; then :
61064 glibcxx_cv_func_hypotf_use=yes
61065 else
61066 glibcxx_cv_func_hypotf_use=no
61067 fi
61068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61069 ac_ext=c
61070 ac_cpp='$CPP $CPPFLAGS'
61071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61074
61075
61076 fi
61077
61078 fi
61079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61080 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61081
61082 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61083 for ac_func in hypotf
61084 do :
61085 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61086 if test "x$ac_cv_func_hypotf" = x""yes; then :
61087 cat >>confdefs.h <<_ACEOF
61088 #define HAVE_HYPOTF 1
61089 _ACEOF
61090
61091 fi
61092 done
61093
61094 else
61095
61096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61097 $as_echo_n "checking for _hypotf declaration... " >&6; }
61098 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61099 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61100 $as_echo_n "(cached) " >&6
61101 else
61102
61103
61104 ac_ext=cpp
61105 ac_cpp='$CXXCPP $CPPFLAGS'
61106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61109
61110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61111 /* end confdefs.h. */
61112 #include <math.h>
61113 int
61114 main ()
61115 {
61116 _hypotf(0, 0);
61117 ;
61118 return 0;
61119 }
61120 _ACEOF
61121 if ac_fn_cxx_try_compile "$LINENO"; then :
61122 glibcxx_cv_func__hypotf_use=yes
61123 else
61124 glibcxx_cv_func__hypotf_use=no
61125 fi
61126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61127 ac_ext=c
61128 ac_cpp='$CPP $CPPFLAGS'
61129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61132
61133
61134 fi
61135
61136 fi
61137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61138 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61139
61140 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61141 for ac_func in _hypotf
61142 do :
61143 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61144 if test "x$ac_cv_func__hypotf" = x""yes; then :
61145 cat >>confdefs.h <<_ACEOF
61146 #define HAVE__HYPOTF 1
61147 _ACEOF
61148
61149 fi
61150 done
61151
61152 fi
61153 fi
61154
61155
61156
61157
61158
61159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61160 $as_echo_n "checking for ldexpf declaration... " >&6; }
61161 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61162 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61163 $as_echo_n "(cached) " >&6
61164 else
61165
61166
61167 ac_ext=cpp
61168 ac_cpp='$CXXCPP $CPPFLAGS'
61169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61172
61173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61174 /* end confdefs.h. */
61175 #include <math.h>
61176 int
61177 main ()
61178 {
61179 ldexpf(0, 0);
61180 ;
61181 return 0;
61182 }
61183 _ACEOF
61184 if ac_fn_cxx_try_compile "$LINENO"; then :
61185 glibcxx_cv_func_ldexpf_use=yes
61186 else
61187 glibcxx_cv_func_ldexpf_use=no
61188 fi
61189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61190 ac_ext=c
61191 ac_cpp='$CPP $CPPFLAGS'
61192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61195
61196
61197 fi
61198
61199 fi
61200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61201 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61202
61203 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61204 for ac_func in ldexpf
61205 do :
61206 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61207 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61208 cat >>confdefs.h <<_ACEOF
61209 #define HAVE_LDEXPF 1
61210 _ACEOF
61211
61212 fi
61213 done
61214
61215 else
61216
61217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61218 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61219 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61220 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61221 $as_echo_n "(cached) " >&6
61222 else
61223
61224
61225 ac_ext=cpp
61226 ac_cpp='$CXXCPP $CPPFLAGS'
61227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61230
61231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61232 /* end confdefs.h. */
61233 #include <math.h>
61234 int
61235 main ()
61236 {
61237 _ldexpf(0, 0);
61238 ;
61239 return 0;
61240 }
61241 _ACEOF
61242 if ac_fn_cxx_try_compile "$LINENO"; then :
61243 glibcxx_cv_func__ldexpf_use=yes
61244 else
61245 glibcxx_cv_func__ldexpf_use=no
61246 fi
61247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61248 ac_ext=c
61249 ac_cpp='$CPP $CPPFLAGS'
61250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61253
61254
61255 fi
61256
61257 fi
61258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61259 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61260
61261 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61262 for ac_func in _ldexpf
61263 do :
61264 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61265 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61266 cat >>confdefs.h <<_ACEOF
61267 #define HAVE__LDEXPF 1
61268 _ACEOF
61269
61270 fi
61271 done
61272
61273 fi
61274 fi
61275
61276
61277
61278
61279
61280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61281 $as_echo_n "checking for logf declaration... " >&6; }
61282 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61283 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61284 $as_echo_n "(cached) " >&6
61285 else
61286
61287
61288 ac_ext=cpp
61289 ac_cpp='$CXXCPP $CPPFLAGS'
61290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61293
61294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61295 /* end confdefs.h. */
61296 #include <math.h>
61297 #ifdef HAVE_IEEEFP_H
61298 #include <ieeefp.h>
61299 #endif
61300
61301 int
61302 main ()
61303 {
61304 logf(0);
61305 ;
61306 return 0;
61307 }
61308 _ACEOF
61309 if ac_fn_cxx_try_compile "$LINENO"; then :
61310 glibcxx_cv_func_logf_use=yes
61311 else
61312 glibcxx_cv_func_logf_use=no
61313 fi
61314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61315 ac_ext=c
61316 ac_cpp='$CPP $CPPFLAGS'
61317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61320
61321
61322 fi
61323
61324 fi
61325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61326 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61327
61328 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61329 for ac_func in logf
61330 do :
61331 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61332 if test "x$ac_cv_func_logf" = x""yes; then :
61333 cat >>confdefs.h <<_ACEOF
61334 #define HAVE_LOGF 1
61335 _ACEOF
61336
61337 fi
61338 done
61339
61340 else
61341
61342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61343 $as_echo_n "checking for _logf declaration... " >&6; }
61344 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61345 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61346 $as_echo_n "(cached) " >&6
61347 else
61348
61349
61350 ac_ext=cpp
61351 ac_cpp='$CXXCPP $CPPFLAGS'
61352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61355
61356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61357 /* end confdefs.h. */
61358 #include <math.h>
61359 #ifdef HAVE_IEEEFP_H
61360 #include <ieeefp.h>
61361 #endif
61362
61363 int
61364 main ()
61365 {
61366 _logf(0);
61367 ;
61368 return 0;
61369 }
61370 _ACEOF
61371 if ac_fn_cxx_try_compile "$LINENO"; then :
61372 glibcxx_cv_func__logf_use=yes
61373 else
61374 glibcxx_cv_func__logf_use=no
61375 fi
61376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61377 ac_ext=c
61378 ac_cpp='$CPP $CPPFLAGS'
61379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61382
61383
61384 fi
61385
61386 fi
61387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61388 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61389
61390 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61391 for ac_func in _logf
61392 do :
61393 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61394 if test "x$ac_cv_func__logf" = x""yes; then :
61395 cat >>confdefs.h <<_ACEOF
61396 #define HAVE__LOGF 1
61397 _ACEOF
61398
61399 fi
61400 done
61401
61402 fi
61403 fi
61404
61405
61406
61407
61408
61409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61410 $as_echo_n "checking for log10f declaration... " >&6; }
61411 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61412 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61413 $as_echo_n "(cached) " >&6
61414 else
61415
61416
61417 ac_ext=cpp
61418 ac_cpp='$CXXCPP $CPPFLAGS'
61419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61422
61423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61424 /* end confdefs.h. */
61425 #include <math.h>
61426 #ifdef HAVE_IEEEFP_H
61427 #include <ieeefp.h>
61428 #endif
61429
61430 int
61431 main ()
61432 {
61433 log10f(0);
61434 ;
61435 return 0;
61436 }
61437 _ACEOF
61438 if ac_fn_cxx_try_compile "$LINENO"; then :
61439 glibcxx_cv_func_log10f_use=yes
61440 else
61441 glibcxx_cv_func_log10f_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
61451 fi
61452
61453 fi
61454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61455 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61456
61457 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61458 for ac_func in log10f
61459 do :
61460 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61461 if test "x$ac_cv_func_log10f" = x""yes; then :
61462 cat >>confdefs.h <<_ACEOF
61463 #define HAVE_LOG10F 1
61464 _ACEOF
61465
61466 fi
61467 done
61468
61469 else
61470
61471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61472 $as_echo_n "checking for _log10f declaration... " >&6; }
61473 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61474 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61475 $as_echo_n "(cached) " >&6
61476 else
61477
61478
61479 ac_ext=cpp
61480 ac_cpp='$CXXCPP $CPPFLAGS'
61481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61484
61485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61486 /* end confdefs.h. */
61487 #include <math.h>
61488 #ifdef HAVE_IEEEFP_H
61489 #include <ieeefp.h>
61490 #endif
61491
61492 int
61493 main ()
61494 {
61495 _log10f(0);
61496 ;
61497 return 0;
61498 }
61499 _ACEOF
61500 if ac_fn_cxx_try_compile "$LINENO"; then :
61501 glibcxx_cv_func__log10f_use=yes
61502 else
61503 glibcxx_cv_func__log10f_use=no
61504 fi
61505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61506 ac_ext=c
61507 ac_cpp='$CPP $CPPFLAGS'
61508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61511
61512
61513 fi
61514
61515 fi
61516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61517 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61518
61519 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61520 for ac_func in _log10f
61521 do :
61522 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61523 if test "x$ac_cv_func__log10f" = x""yes; then :
61524 cat >>confdefs.h <<_ACEOF
61525 #define HAVE__LOG10F 1
61526 _ACEOF
61527
61528 fi
61529 done
61530
61531 fi
61532 fi
61533
61534
61535
61536
61537
61538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61539 $as_echo_n "checking for modff declaration... " >&6; }
61540 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61541 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61542 $as_echo_n "(cached) " >&6
61543 else
61544
61545
61546 ac_ext=cpp
61547 ac_cpp='$CXXCPP $CPPFLAGS'
61548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61551
61552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61553 /* end confdefs.h. */
61554 #include <math.h>
61555 int
61556 main ()
61557 {
61558 modff(0, 0);
61559 ;
61560 return 0;
61561 }
61562 _ACEOF
61563 if ac_fn_cxx_try_compile "$LINENO"; then :
61564 glibcxx_cv_func_modff_use=yes
61565 else
61566 glibcxx_cv_func_modff_use=no
61567 fi
61568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61569 ac_ext=c
61570 ac_cpp='$CPP $CPPFLAGS'
61571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61574
61575
61576 fi
61577
61578 fi
61579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61580 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61581
61582 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61583 for ac_func in modff
61584 do :
61585 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61586 if test "x$ac_cv_func_modff" = x""yes; then :
61587 cat >>confdefs.h <<_ACEOF
61588 #define HAVE_MODFF 1
61589 _ACEOF
61590
61591 fi
61592 done
61593
61594 else
61595
61596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61597 $as_echo_n "checking for _modff declaration... " >&6; }
61598 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61599 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61600 $as_echo_n "(cached) " >&6
61601 else
61602
61603
61604 ac_ext=cpp
61605 ac_cpp='$CXXCPP $CPPFLAGS'
61606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61609
61610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61611 /* end confdefs.h. */
61612 #include <math.h>
61613 int
61614 main ()
61615 {
61616 _modff(0, 0);
61617 ;
61618 return 0;
61619 }
61620 _ACEOF
61621 if ac_fn_cxx_try_compile "$LINENO"; then :
61622 glibcxx_cv_func__modff_use=yes
61623 else
61624 glibcxx_cv_func__modff_use=no
61625 fi
61626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61627 ac_ext=c
61628 ac_cpp='$CPP $CPPFLAGS'
61629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61632
61633
61634 fi
61635
61636 fi
61637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61638 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61639
61640 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61641 for ac_func in _modff
61642 do :
61643 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61644 if test "x$ac_cv_func__modff" = x""yes; then :
61645 cat >>confdefs.h <<_ACEOF
61646 #define HAVE__MODFF 1
61647 _ACEOF
61648
61649 fi
61650 done
61651
61652 fi
61653 fi
61654
61655
61656
61657
61658
61659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61660 $as_echo_n "checking for modf declaration... " >&6; }
61661 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61662 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61663 $as_echo_n "(cached) " >&6
61664 else
61665
61666
61667 ac_ext=cpp
61668 ac_cpp='$CXXCPP $CPPFLAGS'
61669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61672
61673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61674 /* end confdefs.h. */
61675 #include <math.h>
61676 int
61677 main ()
61678 {
61679 modf(0, 0);
61680 ;
61681 return 0;
61682 }
61683 _ACEOF
61684 if ac_fn_cxx_try_compile "$LINENO"; then :
61685 glibcxx_cv_func_modf_use=yes
61686 else
61687 glibcxx_cv_func_modf_use=no
61688 fi
61689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61690 ac_ext=c
61691 ac_cpp='$CPP $CPPFLAGS'
61692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61695
61696
61697 fi
61698
61699 fi
61700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61701 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61702
61703 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61704 for ac_func in modf
61705 do :
61706 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61707 if test "x$ac_cv_func_modf" = x""yes; then :
61708 cat >>confdefs.h <<_ACEOF
61709 #define HAVE_MODF 1
61710 _ACEOF
61711
61712 fi
61713 done
61714
61715 else
61716
61717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61718 $as_echo_n "checking for _modf declaration... " >&6; }
61719 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61720 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61721 $as_echo_n "(cached) " >&6
61722 else
61723
61724
61725 ac_ext=cpp
61726 ac_cpp='$CXXCPP $CPPFLAGS'
61727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61730
61731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61732 /* end confdefs.h. */
61733 #include <math.h>
61734 int
61735 main ()
61736 {
61737 _modf(0, 0);
61738 ;
61739 return 0;
61740 }
61741 _ACEOF
61742 if ac_fn_cxx_try_compile "$LINENO"; then :
61743 glibcxx_cv_func__modf_use=yes
61744 else
61745 glibcxx_cv_func__modf_use=no
61746 fi
61747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61748 ac_ext=c
61749 ac_cpp='$CPP $CPPFLAGS'
61750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61753
61754
61755 fi
61756
61757 fi
61758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61759 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61760
61761 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61762 for ac_func in _modf
61763 do :
61764 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61765 if test "x$ac_cv_func__modf" = x""yes; then :
61766 cat >>confdefs.h <<_ACEOF
61767 #define HAVE__MODF 1
61768 _ACEOF
61769
61770 fi
61771 done
61772
61773 fi
61774 fi
61775
61776
61777
61778
61779
61780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61781 $as_echo_n "checking for powf declaration... " >&6; }
61782 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61783 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61784 $as_echo_n "(cached) " >&6
61785 else
61786
61787
61788 ac_ext=cpp
61789 ac_cpp='$CXXCPP $CPPFLAGS'
61790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61793
61794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61795 /* end confdefs.h. */
61796 #include <math.h>
61797 int
61798 main ()
61799 {
61800 powf(0, 0);
61801 ;
61802 return 0;
61803 }
61804 _ACEOF
61805 if ac_fn_cxx_try_compile "$LINENO"; then :
61806 glibcxx_cv_func_powf_use=yes
61807 else
61808 glibcxx_cv_func_powf_use=no
61809 fi
61810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61811 ac_ext=c
61812 ac_cpp='$CPP $CPPFLAGS'
61813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61816
61817
61818 fi
61819
61820 fi
61821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61822 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61823
61824 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61825 for ac_func in powf
61826 do :
61827 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61828 if test "x$ac_cv_func_powf" = x""yes; then :
61829 cat >>confdefs.h <<_ACEOF
61830 #define HAVE_POWF 1
61831 _ACEOF
61832
61833 fi
61834 done
61835
61836 else
61837
61838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61839 $as_echo_n "checking for _powf declaration... " >&6; }
61840 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61841 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61842 $as_echo_n "(cached) " >&6
61843 else
61844
61845
61846 ac_ext=cpp
61847 ac_cpp='$CXXCPP $CPPFLAGS'
61848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61851
61852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61853 /* end confdefs.h. */
61854 #include <math.h>
61855 int
61856 main ()
61857 {
61858 _powf(0, 0);
61859 ;
61860 return 0;
61861 }
61862 _ACEOF
61863 if ac_fn_cxx_try_compile "$LINENO"; then :
61864 glibcxx_cv_func__powf_use=yes
61865 else
61866 glibcxx_cv_func__powf_use=no
61867 fi
61868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61869 ac_ext=c
61870 ac_cpp='$CPP $CPPFLAGS'
61871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61874
61875
61876 fi
61877
61878 fi
61879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61880 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61881
61882 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61883 for ac_func in _powf
61884 do :
61885 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61886 if test "x$ac_cv_func__powf" = x""yes; then :
61887 cat >>confdefs.h <<_ACEOF
61888 #define HAVE__POWF 1
61889 _ACEOF
61890
61891 fi
61892 done
61893
61894 fi
61895 fi
61896
61897
61898
61899
61900
61901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61902 $as_echo_n "checking for sqrtf declaration... " >&6; }
61903 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61904 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61905 $as_echo_n "(cached) " >&6
61906 else
61907
61908
61909 ac_ext=cpp
61910 ac_cpp='$CXXCPP $CPPFLAGS'
61911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61914
61915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61916 /* end confdefs.h. */
61917 #include <math.h>
61918 #ifdef HAVE_IEEEFP_H
61919 #include <ieeefp.h>
61920 #endif
61921
61922 int
61923 main ()
61924 {
61925 sqrtf(0);
61926 ;
61927 return 0;
61928 }
61929 _ACEOF
61930 if ac_fn_cxx_try_compile "$LINENO"; then :
61931 glibcxx_cv_func_sqrtf_use=yes
61932 else
61933 glibcxx_cv_func_sqrtf_use=no
61934 fi
61935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61936 ac_ext=c
61937 ac_cpp='$CPP $CPPFLAGS'
61938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61941
61942
61943 fi
61944
61945 fi
61946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61947 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61948
61949 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61950 for ac_func in sqrtf
61951 do :
61952 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61953 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61954 cat >>confdefs.h <<_ACEOF
61955 #define HAVE_SQRTF 1
61956 _ACEOF
61957
61958 fi
61959 done
61960
61961 else
61962
61963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61964 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61965 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61966 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61967 $as_echo_n "(cached) " >&6
61968 else
61969
61970
61971 ac_ext=cpp
61972 ac_cpp='$CXXCPP $CPPFLAGS'
61973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61976
61977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61978 /* end confdefs.h. */
61979 #include <math.h>
61980 #ifdef HAVE_IEEEFP_H
61981 #include <ieeefp.h>
61982 #endif
61983
61984 int
61985 main ()
61986 {
61987 _sqrtf(0);
61988 ;
61989 return 0;
61990 }
61991 _ACEOF
61992 if ac_fn_cxx_try_compile "$LINENO"; then :
61993 glibcxx_cv_func__sqrtf_use=yes
61994 else
61995 glibcxx_cv_func__sqrtf_use=no
61996 fi
61997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61998 ac_ext=c
61999 ac_cpp='$CPP $CPPFLAGS'
62000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62003
62004
62005 fi
62006
62007 fi
62008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62009 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62010
62011 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62012 for ac_func in _sqrtf
62013 do :
62014 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62015 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62016 cat >>confdefs.h <<_ACEOF
62017 #define HAVE__SQRTF 1
62018 _ACEOF
62019
62020 fi
62021 done
62022
62023 fi
62024 fi
62025
62026
62027
62028
62029
62030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62031 $as_echo_n "checking for sincosf declaration... " >&6; }
62032 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62033 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62034 $as_echo_n "(cached) " >&6
62035 else
62036
62037
62038 ac_ext=cpp
62039 ac_cpp='$CXXCPP $CPPFLAGS'
62040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62043
62044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62045 /* end confdefs.h. */
62046 #include <math.h>
62047 int
62048 main ()
62049 {
62050 sincosf(0, 0, 0);
62051 ;
62052 return 0;
62053 }
62054 _ACEOF
62055 if ac_fn_cxx_try_compile "$LINENO"; then :
62056 glibcxx_cv_func_sincosf_use=yes
62057 else
62058 glibcxx_cv_func_sincosf_use=no
62059 fi
62060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62061 ac_ext=c
62062 ac_cpp='$CPP $CPPFLAGS'
62063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62066
62067
62068 fi
62069
62070 fi
62071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62072 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62073
62074 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62075 for ac_func in sincosf
62076 do :
62077 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62078 if test "x$ac_cv_func_sincosf" = x""yes; then :
62079 cat >>confdefs.h <<_ACEOF
62080 #define HAVE_SINCOSF 1
62081 _ACEOF
62082
62083 fi
62084 done
62085
62086 else
62087
62088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62089 $as_echo_n "checking for _sincosf declaration... " >&6; }
62090 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62091 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62092 $as_echo_n "(cached) " >&6
62093 else
62094
62095
62096 ac_ext=cpp
62097 ac_cpp='$CXXCPP $CPPFLAGS'
62098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62101
62102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62103 /* end confdefs.h. */
62104 #include <math.h>
62105 int
62106 main ()
62107 {
62108 _sincosf(0, 0, 0);
62109 ;
62110 return 0;
62111 }
62112 _ACEOF
62113 if ac_fn_cxx_try_compile "$LINENO"; then :
62114 glibcxx_cv_func__sincosf_use=yes
62115 else
62116 glibcxx_cv_func__sincosf_use=no
62117 fi
62118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62119 ac_ext=c
62120 ac_cpp='$CPP $CPPFLAGS'
62121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62124
62125
62126 fi
62127
62128 fi
62129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62130 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62131
62132 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62133 for ac_func in _sincosf
62134 do :
62135 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62136 if test "x$ac_cv_func__sincosf" = x""yes; then :
62137 cat >>confdefs.h <<_ACEOF
62138 #define HAVE__SINCOSF 1
62139 _ACEOF
62140
62141 fi
62142 done
62143
62144 fi
62145 fi
62146
62147
62148
62149
62150
62151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62152 $as_echo_n "checking for finitef declaration... " >&6; }
62153 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62154 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62155 $as_echo_n "(cached) " >&6
62156 else
62157
62158
62159 ac_ext=cpp
62160 ac_cpp='$CXXCPP $CPPFLAGS'
62161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62164
62165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62166 /* end confdefs.h. */
62167 #include <math.h>
62168 #ifdef HAVE_IEEEFP_H
62169 #include <ieeefp.h>
62170 #endif
62171
62172 int
62173 main ()
62174 {
62175 finitef(0);
62176 ;
62177 return 0;
62178 }
62179 _ACEOF
62180 if ac_fn_cxx_try_compile "$LINENO"; then :
62181 glibcxx_cv_func_finitef_use=yes
62182 else
62183 glibcxx_cv_func_finitef_use=no
62184 fi
62185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62186 ac_ext=c
62187 ac_cpp='$CPP $CPPFLAGS'
62188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62191
62192
62193 fi
62194
62195 fi
62196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62197 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62198
62199 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62200 for ac_func in finitef
62201 do :
62202 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62203 if test "x$ac_cv_func_finitef" = x""yes; then :
62204 cat >>confdefs.h <<_ACEOF
62205 #define HAVE_FINITEF 1
62206 _ACEOF
62207
62208 fi
62209 done
62210
62211 else
62212
62213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62214 $as_echo_n "checking for _finitef declaration... " >&6; }
62215 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62216 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62217 $as_echo_n "(cached) " >&6
62218 else
62219
62220
62221 ac_ext=cpp
62222 ac_cpp='$CXXCPP $CPPFLAGS'
62223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62226
62227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62228 /* end confdefs.h. */
62229 #include <math.h>
62230 #ifdef HAVE_IEEEFP_H
62231 #include <ieeefp.h>
62232 #endif
62233
62234 int
62235 main ()
62236 {
62237 _finitef(0);
62238 ;
62239 return 0;
62240 }
62241 _ACEOF
62242 if ac_fn_cxx_try_compile "$LINENO"; then :
62243 glibcxx_cv_func__finitef_use=yes
62244 else
62245 glibcxx_cv_func__finitef_use=no
62246 fi
62247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62248 ac_ext=c
62249 ac_cpp='$CPP $CPPFLAGS'
62250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62253
62254
62255 fi
62256
62257 fi
62258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62259 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62260
62261 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62262 for ac_func in _finitef
62263 do :
62264 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62265 if test "x$ac_cv_func__finitef" = x""yes; then :
62266 cat >>confdefs.h <<_ACEOF
62267 #define HAVE__FINITEF 1
62268 _ACEOF
62269
62270 fi
62271 done
62272
62273 fi
62274 fi
62275
62276
62277
62278
62279
62280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62281 $as_echo_n "checking for long double trig functions... " >&6; }
62282 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62283 $as_echo_n "(cached) " >&6
62284 else
62285
62286
62287 ac_ext=cpp
62288 ac_cpp='$CXXCPP $CPPFLAGS'
62289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62292
62293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62294 /* end confdefs.h. */
62295 #include <math.h>
62296 int
62297 main ()
62298 {
62299 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62300 ;
62301 return 0;
62302 }
62303 _ACEOF
62304 if ac_fn_cxx_try_compile "$LINENO"; then :
62305 glibcxx_cv_func_long_double_trig_use=yes
62306 else
62307 glibcxx_cv_func_long_double_trig_use=no
62308 fi
62309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62310 ac_ext=c
62311 ac_cpp='$CPP $CPPFLAGS'
62312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62315
62316 fi
62317
62318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62319 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62320 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62321 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62322 do :
62323 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62324 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62325 eval as_val=\$$as_ac_var
62326 if test "x$as_val" = x""yes; then :
62327 cat >>confdefs.h <<_ACEOF
62328 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62329 _ACEOF
62330
62331 fi
62332 done
62333
62334 else
62335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62336 $as_echo_n "checking for _long double trig functions... " >&6; }
62337 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62338 $as_echo_n "(cached) " >&6
62339 else
62340
62341
62342 ac_ext=cpp
62343 ac_cpp='$CXXCPP $CPPFLAGS'
62344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62347
62348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62349 /* end confdefs.h. */
62350 #include <math.h>
62351 int
62352 main ()
62353 {
62354 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62355 ;
62356 return 0;
62357 }
62358 _ACEOF
62359 if ac_fn_cxx_try_compile "$LINENO"; then :
62360 glibcxx_cv_func__long_double_trig_use=yes
62361 else
62362 glibcxx_cv_func__long_double_trig_use=no
62363 fi
62364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62365 ac_ext=c
62366 ac_cpp='$CPP $CPPFLAGS'
62367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62370
62371 fi
62372
62373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62374 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62375 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62376 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62377 do :
62378 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62379 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62380 eval as_val=\$$as_ac_var
62381 if test "x$as_val" = x""yes; then :
62382 cat >>confdefs.h <<_ACEOF
62383 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62384 _ACEOF
62385
62386 fi
62387 done
62388
62389 fi
62390 fi
62391
62392
62393
62394
62395
62396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62397 $as_echo_n "checking for long double round functions... " >&6; }
62398 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62399 $as_echo_n "(cached) " >&6
62400 else
62401
62402
62403 ac_ext=cpp
62404 ac_cpp='$CXXCPP $CPPFLAGS'
62405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62408
62409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62410 /* end confdefs.h. */
62411 #include <math.h>
62412 int
62413 main ()
62414 {
62415 ceill (0); floorl (0);
62416 ;
62417 return 0;
62418 }
62419 _ACEOF
62420 if ac_fn_cxx_try_compile "$LINENO"; then :
62421 glibcxx_cv_func_long_double_round_use=yes
62422 else
62423 glibcxx_cv_func_long_double_round_use=no
62424 fi
62425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62426 ac_ext=c
62427 ac_cpp='$CPP $CPPFLAGS'
62428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62431
62432 fi
62433
62434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62435 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62436 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62437 for ac_func in ceill floorl
62438 do :
62439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62440 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62441 eval as_val=\$$as_ac_var
62442 if test "x$as_val" = x""yes; then :
62443 cat >>confdefs.h <<_ACEOF
62444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62445 _ACEOF
62446
62447 fi
62448 done
62449
62450 else
62451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62452 $as_echo_n "checking for _long double round functions... " >&6; }
62453 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62454 $as_echo_n "(cached) " >&6
62455 else
62456
62457
62458 ac_ext=cpp
62459 ac_cpp='$CXXCPP $CPPFLAGS'
62460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62463
62464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62465 /* end confdefs.h. */
62466 #include <math.h>
62467 int
62468 main ()
62469 {
62470 _ceill (0); _floorl (0);
62471 ;
62472 return 0;
62473 }
62474 _ACEOF
62475 if ac_fn_cxx_try_compile "$LINENO"; then :
62476 glibcxx_cv_func__long_double_round_use=yes
62477 else
62478 glibcxx_cv_func__long_double_round_use=no
62479 fi
62480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62481 ac_ext=c
62482 ac_cpp='$CPP $CPPFLAGS'
62483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62486
62487 fi
62488
62489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62490 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62491 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62492 for ac_func in _ceill _floorl
62493 do :
62494 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62495 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62496 eval as_val=\$$as_ac_var
62497 if test "x$as_val" = x""yes; then :
62498 cat >>confdefs.h <<_ACEOF
62499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62500 _ACEOF
62501
62502 fi
62503 done
62504
62505 fi
62506 fi
62507
62508
62509
62510
62511
62512
62513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62514 $as_echo_n "checking for isnanl declaration... " >&6; }
62515 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62516 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62517 $as_echo_n "(cached) " >&6
62518 else
62519
62520
62521 ac_ext=cpp
62522 ac_cpp='$CXXCPP $CPPFLAGS'
62523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62526
62527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62528 /* end confdefs.h. */
62529 #include <math.h>
62530 #ifdef HAVE_IEEEFP_H
62531 #include <ieeefp.h>
62532 #endif
62533
62534 int
62535 main ()
62536 {
62537 isnanl(0);
62538 ;
62539 return 0;
62540 }
62541 _ACEOF
62542 if ac_fn_cxx_try_compile "$LINENO"; then :
62543 glibcxx_cv_func_isnanl_use=yes
62544 else
62545 glibcxx_cv_func_isnanl_use=no
62546 fi
62547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62548 ac_ext=c
62549 ac_cpp='$CPP $CPPFLAGS'
62550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62553
62554
62555 fi
62556
62557 fi
62558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62559 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62560
62561 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62562 for ac_func in isnanl
62563 do :
62564 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62565 if test "x$ac_cv_func_isnanl" = x""yes; then :
62566 cat >>confdefs.h <<_ACEOF
62567 #define HAVE_ISNANL 1
62568 _ACEOF
62569
62570 fi
62571 done
62572
62573 else
62574
62575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62576 $as_echo_n "checking for _isnanl declaration... " >&6; }
62577 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62578 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62579 $as_echo_n "(cached) " >&6
62580 else
62581
62582
62583 ac_ext=cpp
62584 ac_cpp='$CXXCPP $CPPFLAGS'
62585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62588
62589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62590 /* end confdefs.h. */
62591 #include <math.h>
62592 #ifdef HAVE_IEEEFP_H
62593 #include <ieeefp.h>
62594 #endif
62595
62596 int
62597 main ()
62598 {
62599 _isnanl(0);
62600 ;
62601 return 0;
62602 }
62603 _ACEOF
62604 if ac_fn_cxx_try_compile "$LINENO"; then :
62605 glibcxx_cv_func__isnanl_use=yes
62606 else
62607 glibcxx_cv_func__isnanl_use=no
62608 fi
62609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62610 ac_ext=c
62611 ac_cpp='$CPP $CPPFLAGS'
62612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62615
62616
62617 fi
62618
62619 fi
62620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62621 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62622
62623 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62624 for ac_func in _isnanl
62625 do :
62626 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62627 if test "x$ac_cv_func__isnanl" = x""yes; then :
62628 cat >>confdefs.h <<_ACEOF
62629 #define HAVE__ISNANL 1
62630 _ACEOF
62631
62632 fi
62633 done
62634
62635 fi
62636 fi
62637
62638
62639
62640
62641
62642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62643 $as_echo_n "checking for isinfl declaration... " >&6; }
62644 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62645 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62646 $as_echo_n "(cached) " >&6
62647 else
62648
62649
62650 ac_ext=cpp
62651 ac_cpp='$CXXCPP $CPPFLAGS'
62652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62655
62656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62657 /* end confdefs.h. */
62658 #include <math.h>
62659 #ifdef HAVE_IEEEFP_H
62660 #include <ieeefp.h>
62661 #endif
62662
62663 int
62664 main ()
62665 {
62666 isinfl(0);
62667 ;
62668 return 0;
62669 }
62670 _ACEOF
62671 if ac_fn_cxx_try_compile "$LINENO"; then :
62672 glibcxx_cv_func_isinfl_use=yes
62673 else
62674 glibcxx_cv_func_isinfl_use=no
62675 fi
62676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62677 ac_ext=c
62678 ac_cpp='$CPP $CPPFLAGS'
62679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62682
62683
62684 fi
62685
62686 fi
62687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62688 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62689
62690 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62691 for ac_func in isinfl
62692 do :
62693 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62694 if test "x$ac_cv_func_isinfl" = x""yes; then :
62695 cat >>confdefs.h <<_ACEOF
62696 #define HAVE_ISINFL 1
62697 _ACEOF
62698
62699 fi
62700 done
62701
62702 else
62703
62704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62705 $as_echo_n "checking for _isinfl declaration... " >&6; }
62706 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62707 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62708 $as_echo_n "(cached) " >&6
62709 else
62710
62711
62712 ac_ext=cpp
62713 ac_cpp='$CXXCPP $CPPFLAGS'
62714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62717
62718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62719 /* end confdefs.h. */
62720 #include <math.h>
62721 #ifdef HAVE_IEEEFP_H
62722 #include <ieeefp.h>
62723 #endif
62724
62725 int
62726 main ()
62727 {
62728 _isinfl(0);
62729 ;
62730 return 0;
62731 }
62732 _ACEOF
62733 if ac_fn_cxx_try_compile "$LINENO"; then :
62734 glibcxx_cv_func__isinfl_use=yes
62735 else
62736 glibcxx_cv_func__isinfl_use=no
62737 fi
62738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62739 ac_ext=c
62740 ac_cpp='$CPP $CPPFLAGS'
62741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62744
62745
62746 fi
62747
62748 fi
62749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62750 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62751
62752 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62753 for ac_func in _isinfl
62754 do :
62755 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62756 if test "x$ac_cv_func__isinfl" = x""yes; then :
62757 cat >>confdefs.h <<_ACEOF
62758 #define HAVE__ISINFL 1
62759 _ACEOF
62760
62761 fi
62762 done
62763
62764 fi
62765 fi
62766
62767
62768
62769
62770
62771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62772 $as_echo_n "checking for atan2l declaration... " >&6; }
62773 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62774 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62775 $as_echo_n "(cached) " >&6
62776 else
62777
62778
62779 ac_ext=cpp
62780 ac_cpp='$CXXCPP $CPPFLAGS'
62781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62784
62785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62786 /* end confdefs.h. */
62787 #include <math.h>
62788 int
62789 main ()
62790 {
62791 atan2l(0, 0);
62792 ;
62793 return 0;
62794 }
62795 _ACEOF
62796 if ac_fn_cxx_try_compile "$LINENO"; then :
62797 glibcxx_cv_func_atan2l_use=yes
62798 else
62799 glibcxx_cv_func_atan2l_use=no
62800 fi
62801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62802 ac_ext=c
62803 ac_cpp='$CPP $CPPFLAGS'
62804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62807
62808
62809 fi
62810
62811 fi
62812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62813 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62814
62815 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62816 for ac_func in atan2l
62817 do :
62818 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62819 if test "x$ac_cv_func_atan2l" = x""yes; then :
62820 cat >>confdefs.h <<_ACEOF
62821 #define HAVE_ATAN2L 1
62822 _ACEOF
62823
62824 fi
62825 done
62826
62827 else
62828
62829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62830 $as_echo_n "checking for _atan2l declaration... " >&6; }
62831 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62832 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62833 $as_echo_n "(cached) " >&6
62834 else
62835
62836
62837 ac_ext=cpp
62838 ac_cpp='$CXXCPP $CPPFLAGS'
62839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62842
62843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62844 /* end confdefs.h. */
62845 #include <math.h>
62846 int
62847 main ()
62848 {
62849 _atan2l(0, 0);
62850 ;
62851 return 0;
62852 }
62853 _ACEOF
62854 if ac_fn_cxx_try_compile "$LINENO"; then :
62855 glibcxx_cv_func__atan2l_use=yes
62856 else
62857 glibcxx_cv_func__atan2l_use=no
62858 fi
62859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62860 ac_ext=c
62861 ac_cpp='$CPP $CPPFLAGS'
62862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62865
62866
62867 fi
62868
62869 fi
62870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62871 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62872
62873 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62874 for ac_func in _atan2l
62875 do :
62876 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62877 if test "x$ac_cv_func__atan2l" = x""yes; then :
62878 cat >>confdefs.h <<_ACEOF
62879 #define HAVE__ATAN2L 1
62880 _ACEOF
62881
62882 fi
62883 done
62884
62885 fi
62886 fi
62887
62888
62889
62890
62891
62892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62893 $as_echo_n "checking for expl declaration... " >&6; }
62894 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62895 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62896 $as_echo_n "(cached) " >&6
62897 else
62898
62899
62900 ac_ext=cpp
62901 ac_cpp='$CXXCPP $CPPFLAGS'
62902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62905
62906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62907 /* end confdefs.h. */
62908 #include <math.h>
62909 #ifdef HAVE_IEEEFP_H
62910 #include <ieeefp.h>
62911 #endif
62912
62913 int
62914 main ()
62915 {
62916 expl(0);
62917 ;
62918 return 0;
62919 }
62920 _ACEOF
62921 if ac_fn_cxx_try_compile "$LINENO"; then :
62922 glibcxx_cv_func_expl_use=yes
62923 else
62924 glibcxx_cv_func_expl_use=no
62925 fi
62926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62927 ac_ext=c
62928 ac_cpp='$CPP $CPPFLAGS'
62929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62932
62933
62934 fi
62935
62936 fi
62937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62938 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62939
62940 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62941 for ac_func in expl
62942 do :
62943 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62944 if test "x$ac_cv_func_expl" = x""yes; then :
62945 cat >>confdefs.h <<_ACEOF
62946 #define HAVE_EXPL 1
62947 _ACEOF
62948
62949 fi
62950 done
62951
62952 else
62953
62954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62955 $as_echo_n "checking for _expl declaration... " >&6; }
62956 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62957 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62958 $as_echo_n "(cached) " >&6
62959 else
62960
62961
62962 ac_ext=cpp
62963 ac_cpp='$CXXCPP $CPPFLAGS'
62964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62967
62968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62969 /* end confdefs.h. */
62970 #include <math.h>
62971 #ifdef HAVE_IEEEFP_H
62972 #include <ieeefp.h>
62973 #endif
62974
62975 int
62976 main ()
62977 {
62978 _expl(0);
62979 ;
62980 return 0;
62981 }
62982 _ACEOF
62983 if ac_fn_cxx_try_compile "$LINENO"; then :
62984 glibcxx_cv_func__expl_use=yes
62985 else
62986 glibcxx_cv_func__expl_use=no
62987 fi
62988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62989 ac_ext=c
62990 ac_cpp='$CPP $CPPFLAGS'
62991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62994
62995
62996 fi
62997
62998 fi
62999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63000 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63001
63002 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63003 for ac_func in _expl
63004 do :
63005 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63006 if test "x$ac_cv_func__expl" = x""yes; then :
63007 cat >>confdefs.h <<_ACEOF
63008 #define HAVE__EXPL 1
63009 _ACEOF
63010
63011 fi
63012 done
63013
63014 fi
63015 fi
63016
63017
63018
63019
63020
63021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63022 $as_echo_n "checking for fabsl declaration... " >&6; }
63023 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63024 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63025 $as_echo_n "(cached) " >&6
63026 else
63027
63028
63029 ac_ext=cpp
63030 ac_cpp='$CXXCPP $CPPFLAGS'
63031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63034
63035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63036 /* end confdefs.h. */
63037 #include <math.h>
63038 #ifdef HAVE_IEEEFP_H
63039 #include <ieeefp.h>
63040 #endif
63041
63042 int
63043 main ()
63044 {
63045 fabsl(0);
63046 ;
63047 return 0;
63048 }
63049 _ACEOF
63050 if ac_fn_cxx_try_compile "$LINENO"; then :
63051 glibcxx_cv_func_fabsl_use=yes
63052 else
63053 glibcxx_cv_func_fabsl_use=no
63054 fi
63055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63056 ac_ext=c
63057 ac_cpp='$CPP $CPPFLAGS'
63058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63061
63062
63063 fi
63064
63065 fi
63066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63067 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63068
63069 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63070 for ac_func in fabsl
63071 do :
63072 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63073 if test "x$ac_cv_func_fabsl" = x""yes; then :
63074 cat >>confdefs.h <<_ACEOF
63075 #define HAVE_FABSL 1
63076 _ACEOF
63077
63078 fi
63079 done
63080
63081 else
63082
63083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63084 $as_echo_n "checking for _fabsl declaration... " >&6; }
63085 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63086 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63087 $as_echo_n "(cached) " >&6
63088 else
63089
63090
63091 ac_ext=cpp
63092 ac_cpp='$CXXCPP $CPPFLAGS'
63093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63096
63097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63098 /* end confdefs.h. */
63099 #include <math.h>
63100 #ifdef HAVE_IEEEFP_H
63101 #include <ieeefp.h>
63102 #endif
63103
63104 int
63105 main ()
63106 {
63107 _fabsl(0);
63108 ;
63109 return 0;
63110 }
63111 _ACEOF
63112 if ac_fn_cxx_try_compile "$LINENO"; then :
63113 glibcxx_cv_func__fabsl_use=yes
63114 else
63115 glibcxx_cv_func__fabsl_use=no
63116 fi
63117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63118 ac_ext=c
63119 ac_cpp='$CPP $CPPFLAGS'
63120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63123
63124
63125 fi
63126
63127 fi
63128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63129 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63130
63131 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63132 for ac_func in _fabsl
63133 do :
63134 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63135 if test "x$ac_cv_func__fabsl" = x""yes; then :
63136 cat >>confdefs.h <<_ACEOF
63137 #define HAVE__FABSL 1
63138 _ACEOF
63139
63140 fi
63141 done
63142
63143 fi
63144 fi
63145
63146
63147
63148
63149
63150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63151 $as_echo_n "checking for fmodl declaration... " >&6; }
63152 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63153 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63154 $as_echo_n "(cached) " >&6
63155 else
63156
63157
63158 ac_ext=cpp
63159 ac_cpp='$CXXCPP $CPPFLAGS'
63160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63163
63164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63165 /* end confdefs.h. */
63166 #include <math.h>
63167 int
63168 main ()
63169 {
63170 fmodl(0, 0);
63171 ;
63172 return 0;
63173 }
63174 _ACEOF
63175 if ac_fn_cxx_try_compile "$LINENO"; then :
63176 glibcxx_cv_func_fmodl_use=yes
63177 else
63178 glibcxx_cv_func_fmodl_use=no
63179 fi
63180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63181 ac_ext=c
63182 ac_cpp='$CPP $CPPFLAGS'
63183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63186
63187
63188 fi
63189
63190 fi
63191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63192 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63193
63194 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63195 for ac_func in fmodl
63196 do :
63197 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63198 if test "x$ac_cv_func_fmodl" = x""yes; then :
63199 cat >>confdefs.h <<_ACEOF
63200 #define HAVE_FMODL 1
63201 _ACEOF
63202
63203 fi
63204 done
63205
63206 else
63207
63208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63209 $as_echo_n "checking for _fmodl declaration... " >&6; }
63210 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63211 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63212 $as_echo_n "(cached) " >&6
63213 else
63214
63215
63216 ac_ext=cpp
63217 ac_cpp='$CXXCPP $CPPFLAGS'
63218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63221
63222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63223 /* end confdefs.h. */
63224 #include <math.h>
63225 int
63226 main ()
63227 {
63228 _fmodl(0, 0);
63229 ;
63230 return 0;
63231 }
63232 _ACEOF
63233 if ac_fn_cxx_try_compile "$LINENO"; then :
63234 glibcxx_cv_func__fmodl_use=yes
63235 else
63236 glibcxx_cv_func__fmodl_use=no
63237 fi
63238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63239 ac_ext=c
63240 ac_cpp='$CPP $CPPFLAGS'
63241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63244
63245
63246 fi
63247
63248 fi
63249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63250 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63251
63252 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63253 for ac_func in _fmodl
63254 do :
63255 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63256 if test "x$ac_cv_func__fmodl" = x""yes; then :
63257 cat >>confdefs.h <<_ACEOF
63258 #define HAVE__FMODL 1
63259 _ACEOF
63260
63261 fi
63262 done
63263
63264 fi
63265 fi
63266
63267
63268
63269
63270
63271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63272 $as_echo_n "checking for frexpl declaration... " >&6; }
63273 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63274 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63275 $as_echo_n "(cached) " >&6
63276 else
63277
63278
63279 ac_ext=cpp
63280 ac_cpp='$CXXCPP $CPPFLAGS'
63281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63284
63285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63286 /* end confdefs.h. */
63287 #include <math.h>
63288 int
63289 main ()
63290 {
63291 frexpl(0, 0);
63292 ;
63293 return 0;
63294 }
63295 _ACEOF
63296 if ac_fn_cxx_try_compile "$LINENO"; then :
63297 glibcxx_cv_func_frexpl_use=yes
63298 else
63299 glibcxx_cv_func_frexpl_use=no
63300 fi
63301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63302 ac_ext=c
63303 ac_cpp='$CPP $CPPFLAGS'
63304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63307
63308
63309 fi
63310
63311 fi
63312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63313 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63314
63315 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63316 for ac_func in frexpl
63317 do :
63318 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63319 if test "x$ac_cv_func_frexpl" = x""yes; then :
63320 cat >>confdefs.h <<_ACEOF
63321 #define HAVE_FREXPL 1
63322 _ACEOF
63323
63324 fi
63325 done
63326
63327 else
63328
63329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63330 $as_echo_n "checking for _frexpl declaration... " >&6; }
63331 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63332 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63333 $as_echo_n "(cached) " >&6
63334 else
63335
63336
63337 ac_ext=cpp
63338 ac_cpp='$CXXCPP $CPPFLAGS'
63339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63342
63343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63344 /* end confdefs.h. */
63345 #include <math.h>
63346 int
63347 main ()
63348 {
63349 _frexpl(0, 0);
63350 ;
63351 return 0;
63352 }
63353 _ACEOF
63354 if ac_fn_cxx_try_compile "$LINENO"; then :
63355 glibcxx_cv_func__frexpl_use=yes
63356 else
63357 glibcxx_cv_func__frexpl_use=no
63358 fi
63359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63360 ac_ext=c
63361 ac_cpp='$CPP $CPPFLAGS'
63362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63365
63366
63367 fi
63368
63369 fi
63370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63371 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63372
63373 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63374 for ac_func in _frexpl
63375 do :
63376 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63377 if test "x$ac_cv_func__frexpl" = x""yes; then :
63378 cat >>confdefs.h <<_ACEOF
63379 #define HAVE__FREXPL 1
63380 _ACEOF
63381
63382 fi
63383 done
63384
63385 fi
63386 fi
63387
63388
63389
63390
63391
63392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63393 $as_echo_n "checking for hypotl declaration... " >&6; }
63394 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63395 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63396 $as_echo_n "(cached) " >&6
63397 else
63398
63399
63400 ac_ext=cpp
63401 ac_cpp='$CXXCPP $CPPFLAGS'
63402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63405
63406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63407 /* end confdefs.h. */
63408 #include <math.h>
63409 int
63410 main ()
63411 {
63412 hypotl(0, 0);
63413 ;
63414 return 0;
63415 }
63416 _ACEOF
63417 if ac_fn_cxx_try_compile "$LINENO"; then :
63418 glibcxx_cv_func_hypotl_use=yes
63419 else
63420 glibcxx_cv_func_hypotl_use=no
63421 fi
63422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63423 ac_ext=c
63424 ac_cpp='$CPP $CPPFLAGS'
63425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63428
63429
63430 fi
63431
63432 fi
63433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63434 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63435
63436 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63437 for ac_func in hypotl
63438 do :
63439 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63440 if test "x$ac_cv_func_hypotl" = x""yes; then :
63441 cat >>confdefs.h <<_ACEOF
63442 #define HAVE_HYPOTL 1
63443 _ACEOF
63444
63445 fi
63446 done
63447
63448 else
63449
63450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63451 $as_echo_n "checking for _hypotl declaration... " >&6; }
63452 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63453 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63454 $as_echo_n "(cached) " >&6
63455 else
63456
63457
63458 ac_ext=cpp
63459 ac_cpp='$CXXCPP $CPPFLAGS'
63460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63463
63464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63465 /* end confdefs.h. */
63466 #include <math.h>
63467 int
63468 main ()
63469 {
63470 _hypotl(0, 0);
63471 ;
63472 return 0;
63473 }
63474 _ACEOF
63475 if ac_fn_cxx_try_compile "$LINENO"; then :
63476 glibcxx_cv_func__hypotl_use=yes
63477 else
63478 glibcxx_cv_func__hypotl_use=no
63479 fi
63480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63481 ac_ext=c
63482 ac_cpp='$CPP $CPPFLAGS'
63483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63486
63487
63488 fi
63489
63490 fi
63491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63492 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63493
63494 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63495 for ac_func in _hypotl
63496 do :
63497 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63498 if test "x$ac_cv_func__hypotl" = x""yes; then :
63499 cat >>confdefs.h <<_ACEOF
63500 #define HAVE__HYPOTL 1
63501 _ACEOF
63502
63503 fi
63504 done
63505
63506 fi
63507 fi
63508
63509
63510
63511
63512
63513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63514 $as_echo_n "checking for ldexpl declaration... " >&6; }
63515 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63516 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63517 $as_echo_n "(cached) " >&6
63518 else
63519
63520
63521 ac_ext=cpp
63522 ac_cpp='$CXXCPP $CPPFLAGS'
63523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63526
63527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63528 /* end confdefs.h. */
63529 #include <math.h>
63530 int
63531 main ()
63532 {
63533 ldexpl(0, 0);
63534 ;
63535 return 0;
63536 }
63537 _ACEOF
63538 if ac_fn_cxx_try_compile "$LINENO"; then :
63539 glibcxx_cv_func_ldexpl_use=yes
63540 else
63541 glibcxx_cv_func_ldexpl_use=no
63542 fi
63543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63544 ac_ext=c
63545 ac_cpp='$CPP $CPPFLAGS'
63546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63549
63550
63551 fi
63552
63553 fi
63554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63555 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63556
63557 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63558 for ac_func in ldexpl
63559 do :
63560 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63561 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63562 cat >>confdefs.h <<_ACEOF
63563 #define HAVE_LDEXPL 1
63564 _ACEOF
63565
63566 fi
63567 done
63568
63569 else
63570
63571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63572 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63573 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63574 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63575 $as_echo_n "(cached) " >&6
63576 else
63577
63578
63579 ac_ext=cpp
63580 ac_cpp='$CXXCPP $CPPFLAGS'
63581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63584
63585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63586 /* end confdefs.h. */
63587 #include <math.h>
63588 int
63589 main ()
63590 {
63591 _ldexpl(0, 0);
63592 ;
63593 return 0;
63594 }
63595 _ACEOF
63596 if ac_fn_cxx_try_compile "$LINENO"; then :
63597 glibcxx_cv_func__ldexpl_use=yes
63598 else
63599 glibcxx_cv_func__ldexpl_use=no
63600 fi
63601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63602 ac_ext=c
63603 ac_cpp='$CPP $CPPFLAGS'
63604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63607
63608
63609 fi
63610
63611 fi
63612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63613 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63614
63615 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63616 for ac_func in _ldexpl
63617 do :
63618 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63619 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63620 cat >>confdefs.h <<_ACEOF
63621 #define HAVE__LDEXPL 1
63622 _ACEOF
63623
63624 fi
63625 done
63626
63627 fi
63628 fi
63629
63630
63631
63632
63633
63634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63635 $as_echo_n "checking for logl declaration... " >&6; }
63636 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63637 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63638 $as_echo_n "(cached) " >&6
63639 else
63640
63641
63642 ac_ext=cpp
63643 ac_cpp='$CXXCPP $CPPFLAGS'
63644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63647
63648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63649 /* end confdefs.h. */
63650 #include <math.h>
63651 #ifdef HAVE_IEEEFP_H
63652 #include <ieeefp.h>
63653 #endif
63654
63655 int
63656 main ()
63657 {
63658 logl(0);
63659 ;
63660 return 0;
63661 }
63662 _ACEOF
63663 if ac_fn_cxx_try_compile "$LINENO"; then :
63664 glibcxx_cv_func_logl_use=yes
63665 else
63666 glibcxx_cv_func_logl_use=no
63667 fi
63668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63669 ac_ext=c
63670 ac_cpp='$CPP $CPPFLAGS'
63671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63674
63675
63676 fi
63677
63678 fi
63679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63680 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63681
63682 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63683 for ac_func in logl
63684 do :
63685 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63686 if test "x$ac_cv_func_logl" = x""yes; then :
63687 cat >>confdefs.h <<_ACEOF
63688 #define HAVE_LOGL 1
63689 _ACEOF
63690
63691 fi
63692 done
63693
63694 else
63695
63696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63697 $as_echo_n "checking for _logl declaration... " >&6; }
63698 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63699 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63700 $as_echo_n "(cached) " >&6
63701 else
63702
63703
63704 ac_ext=cpp
63705 ac_cpp='$CXXCPP $CPPFLAGS'
63706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63709
63710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63711 /* end confdefs.h. */
63712 #include <math.h>
63713 #ifdef HAVE_IEEEFP_H
63714 #include <ieeefp.h>
63715 #endif
63716
63717 int
63718 main ()
63719 {
63720 _logl(0);
63721 ;
63722 return 0;
63723 }
63724 _ACEOF
63725 if ac_fn_cxx_try_compile "$LINENO"; then :
63726 glibcxx_cv_func__logl_use=yes
63727 else
63728 glibcxx_cv_func__logl_use=no
63729 fi
63730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63731 ac_ext=c
63732 ac_cpp='$CPP $CPPFLAGS'
63733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63736
63737
63738 fi
63739
63740 fi
63741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63742 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63743
63744 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63745 for ac_func in _logl
63746 do :
63747 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63748 if test "x$ac_cv_func__logl" = x""yes; then :
63749 cat >>confdefs.h <<_ACEOF
63750 #define HAVE__LOGL 1
63751 _ACEOF
63752
63753 fi
63754 done
63755
63756 fi
63757 fi
63758
63759
63760
63761
63762
63763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63764 $as_echo_n "checking for log10l declaration... " >&6; }
63765 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63766 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63767 $as_echo_n "(cached) " >&6
63768 else
63769
63770
63771 ac_ext=cpp
63772 ac_cpp='$CXXCPP $CPPFLAGS'
63773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63776
63777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63778 /* end confdefs.h. */
63779 #include <math.h>
63780 #ifdef HAVE_IEEEFP_H
63781 #include <ieeefp.h>
63782 #endif
63783
63784 int
63785 main ()
63786 {
63787 log10l(0);
63788 ;
63789 return 0;
63790 }
63791 _ACEOF
63792 if ac_fn_cxx_try_compile "$LINENO"; then :
63793 glibcxx_cv_func_log10l_use=yes
63794 else
63795 glibcxx_cv_func_log10l_use=no
63796 fi
63797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63798 ac_ext=c
63799 ac_cpp='$CPP $CPPFLAGS'
63800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63803
63804
63805 fi
63806
63807 fi
63808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63809 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63810
63811 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63812 for ac_func in log10l
63813 do :
63814 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63815 if test "x$ac_cv_func_log10l" = x""yes; then :
63816 cat >>confdefs.h <<_ACEOF
63817 #define HAVE_LOG10L 1
63818 _ACEOF
63819
63820 fi
63821 done
63822
63823 else
63824
63825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63826 $as_echo_n "checking for _log10l declaration... " >&6; }
63827 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63828 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63829 $as_echo_n "(cached) " >&6
63830 else
63831
63832
63833 ac_ext=cpp
63834 ac_cpp='$CXXCPP $CPPFLAGS'
63835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63838
63839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63840 /* end confdefs.h. */
63841 #include <math.h>
63842 #ifdef HAVE_IEEEFP_H
63843 #include <ieeefp.h>
63844 #endif
63845
63846 int
63847 main ()
63848 {
63849 _log10l(0);
63850 ;
63851 return 0;
63852 }
63853 _ACEOF
63854 if ac_fn_cxx_try_compile "$LINENO"; then :
63855 glibcxx_cv_func__log10l_use=yes
63856 else
63857 glibcxx_cv_func__log10l_use=no
63858 fi
63859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63860 ac_ext=c
63861 ac_cpp='$CPP $CPPFLAGS'
63862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63865
63866
63867 fi
63868
63869 fi
63870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63871 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63872
63873 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63874 for ac_func in _log10l
63875 do :
63876 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63877 if test "x$ac_cv_func__log10l" = x""yes; then :
63878 cat >>confdefs.h <<_ACEOF
63879 #define HAVE__LOG10L 1
63880 _ACEOF
63881
63882 fi
63883 done
63884
63885 fi
63886 fi
63887
63888
63889
63890
63891
63892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63893 $as_echo_n "checking for modfl declaration... " >&6; }
63894 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63895 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63896 $as_echo_n "(cached) " >&6
63897 else
63898
63899
63900 ac_ext=cpp
63901 ac_cpp='$CXXCPP $CPPFLAGS'
63902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63905
63906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63907 /* end confdefs.h. */
63908 #include <math.h>
63909 int
63910 main ()
63911 {
63912 modfl(0, 0);
63913 ;
63914 return 0;
63915 }
63916 _ACEOF
63917 if ac_fn_cxx_try_compile "$LINENO"; then :
63918 glibcxx_cv_func_modfl_use=yes
63919 else
63920 glibcxx_cv_func_modfl_use=no
63921 fi
63922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63923 ac_ext=c
63924 ac_cpp='$CPP $CPPFLAGS'
63925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63928
63929
63930 fi
63931
63932 fi
63933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63934 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63935
63936 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63937 for ac_func in modfl
63938 do :
63939 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63940 if test "x$ac_cv_func_modfl" = x""yes; then :
63941 cat >>confdefs.h <<_ACEOF
63942 #define HAVE_MODFL 1
63943 _ACEOF
63944
63945 fi
63946 done
63947
63948 else
63949
63950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63951 $as_echo_n "checking for _modfl declaration... " >&6; }
63952 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63953 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63954 $as_echo_n "(cached) " >&6
63955 else
63956
63957
63958 ac_ext=cpp
63959 ac_cpp='$CXXCPP $CPPFLAGS'
63960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63963
63964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63965 /* end confdefs.h. */
63966 #include <math.h>
63967 int
63968 main ()
63969 {
63970 _modfl(0, 0);
63971 ;
63972 return 0;
63973 }
63974 _ACEOF
63975 if ac_fn_cxx_try_compile "$LINENO"; then :
63976 glibcxx_cv_func__modfl_use=yes
63977 else
63978 glibcxx_cv_func__modfl_use=no
63979 fi
63980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63981 ac_ext=c
63982 ac_cpp='$CPP $CPPFLAGS'
63983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63986
63987
63988 fi
63989
63990 fi
63991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63992 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63993
63994 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63995 for ac_func in _modfl
63996 do :
63997 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63998 if test "x$ac_cv_func__modfl" = x""yes; then :
63999 cat >>confdefs.h <<_ACEOF
64000 #define HAVE__MODFL 1
64001 _ACEOF
64002
64003 fi
64004 done
64005
64006 fi
64007 fi
64008
64009
64010
64011
64012
64013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64014 $as_echo_n "checking for powl declaration... " >&6; }
64015 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64016 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64017 $as_echo_n "(cached) " >&6
64018 else
64019
64020
64021 ac_ext=cpp
64022 ac_cpp='$CXXCPP $CPPFLAGS'
64023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64026
64027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64028 /* end confdefs.h. */
64029 #include <math.h>
64030 int
64031 main ()
64032 {
64033 powl(0, 0);
64034 ;
64035 return 0;
64036 }
64037 _ACEOF
64038 if ac_fn_cxx_try_compile "$LINENO"; then :
64039 glibcxx_cv_func_powl_use=yes
64040 else
64041 glibcxx_cv_func_powl_use=no
64042 fi
64043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64044 ac_ext=c
64045 ac_cpp='$CPP $CPPFLAGS'
64046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64049
64050
64051 fi
64052
64053 fi
64054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64055 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64056
64057 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64058 for ac_func in powl
64059 do :
64060 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64061 if test "x$ac_cv_func_powl" = x""yes; then :
64062 cat >>confdefs.h <<_ACEOF
64063 #define HAVE_POWL 1
64064 _ACEOF
64065
64066 fi
64067 done
64068
64069 else
64070
64071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64072 $as_echo_n "checking for _powl declaration... " >&6; }
64073 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64074 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64075 $as_echo_n "(cached) " >&6
64076 else
64077
64078
64079 ac_ext=cpp
64080 ac_cpp='$CXXCPP $CPPFLAGS'
64081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64084
64085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64086 /* end confdefs.h. */
64087 #include <math.h>
64088 int
64089 main ()
64090 {
64091 _powl(0, 0);
64092 ;
64093 return 0;
64094 }
64095 _ACEOF
64096 if ac_fn_cxx_try_compile "$LINENO"; then :
64097 glibcxx_cv_func__powl_use=yes
64098 else
64099 glibcxx_cv_func__powl_use=no
64100 fi
64101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64102 ac_ext=c
64103 ac_cpp='$CPP $CPPFLAGS'
64104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64107
64108
64109 fi
64110
64111 fi
64112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64113 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64114
64115 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64116 for ac_func in _powl
64117 do :
64118 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64119 if test "x$ac_cv_func__powl" = x""yes; then :
64120 cat >>confdefs.h <<_ACEOF
64121 #define HAVE__POWL 1
64122 _ACEOF
64123
64124 fi
64125 done
64126
64127 fi
64128 fi
64129
64130
64131
64132
64133
64134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64135 $as_echo_n "checking for sqrtl declaration... " >&6; }
64136 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64137 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64138 $as_echo_n "(cached) " >&6
64139 else
64140
64141
64142 ac_ext=cpp
64143 ac_cpp='$CXXCPP $CPPFLAGS'
64144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64147
64148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64149 /* end confdefs.h. */
64150 #include <math.h>
64151 #ifdef HAVE_IEEEFP_H
64152 #include <ieeefp.h>
64153 #endif
64154
64155 int
64156 main ()
64157 {
64158 sqrtl(0);
64159 ;
64160 return 0;
64161 }
64162 _ACEOF
64163 if ac_fn_cxx_try_compile "$LINENO"; then :
64164 glibcxx_cv_func_sqrtl_use=yes
64165 else
64166 glibcxx_cv_func_sqrtl_use=no
64167 fi
64168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64169 ac_ext=c
64170 ac_cpp='$CPP $CPPFLAGS'
64171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64174
64175
64176 fi
64177
64178 fi
64179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64180 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64181
64182 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64183 for ac_func in sqrtl
64184 do :
64185 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64186 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64187 cat >>confdefs.h <<_ACEOF
64188 #define HAVE_SQRTL 1
64189 _ACEOF
64190
64191 fi
64192 done
64193
64194 else
64195
64196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64197 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64198 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64199 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64200 $as_echo_n "(cached) " >&6
64201 else
64202
64203
64204 ac_ext=cpp
64205 ac_cpp='$CXXCPP $CPPFLAGS'
64206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64209
64210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64211 /* end confdefs.h. */
64212 #include <math.h>
64213 #ifdef HAVE_IEEEFP_H
64214 #include <ieeefp.h>
64215 #endif
64216
64217 int
64218 main ()
64219 {
64220 _sqrtl(0);
64221 ;
64222 return 0;
64223 }
64224 _ACEOF
64225 if ac_fn_cxx_try_compile "$LINENO"; then :
64226 glibcxx_cv_func__sqrtl_use=yes
64227 else
64228 glibcxx_cv_func__sqrtl_use=no
64229 fi
64230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64231 ac_ext=c
64232 ac_cpp='$CPP $CPPFLAGS'
64233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64236
64237
64238 fi
64239
64240 fi
64241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64242 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64243
64244 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64245 for ac_func in _sqrtl
64246 do :
64247 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64248 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64249 cat >>confdefs.h <<_ACEOF
64250 #define HAVE__SQRTL 1
64251 _ACEOF
64252
64253 fi
64254 done
64255
64256 fi
64257 fi
64258
64259
64260
64261
64262
64263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64264 $as_echo_n "checking for sincosl declaration... " >&6; }
64265 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64266 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64267 $as_echo_n "(cached) " >&6
64268 else
64269
64270
64271 ac_ext=cpp
64272 ac_cpp='$CXXCPP $CPPFLAGS'
64273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64276
64277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64278 /* end confdefs.h. */
64279 #include <math.h>
64280 int
64281 main ()
64282 {
64283 sincosl(0, 0, 0);
64284 ;
64285 return 0;
64286 }
64287 _ACEOF
64288 if ac_fn_cxx_try_compile "$LINENO"; then :
64289 glibcxx_cv_func_sincosl_use=yes
64290 else
64291 glibcxx_cv_func_sincosl_use=no
64292 fi
64293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64294 ac_ext=c
64295 ac_cpp='$CPP $CPPFLAGS'
64296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64299
64300
64301 fi
64302
64303 fi
64304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64305 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64306
64307 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64308 for ac_func in sincosl
64309 do :
64310 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64311 if test "x$ac_cv_func_sincosl" = x""yes; then :
64312 cat >>confdefs.h <<_ACEOF
64313 #define HAVE_SINCOSL 1
64314 _ACEOF
64315
64316 fi
64317 done
64318
64319 else
64320
64321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64322 $as_echo_n "checking for _sincosl declaration... " >&6; }
64323 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64324 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64325 $as_echo_n "(cached) " >&6
64326 else
64327
64328
64329 ac_ext=cpp
64330 ac_cpp='$CXXCPP $CPPFLAGS'
64331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64334
64335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64336 /* end confdefs.h. */
64337 #include <math.h>
64338 int
64339 main ()
64340 {
64341 _sincosl(0, 0, 0);
64342 ;
64343 return 0;
64344 }
64345 _ACEOF
64346 if ac_fn_cxx_try_compile "$LINENO"; then :
64347 glibcxx_cv_func__sincosl_use=yes
64348 else
64349 glibcxx_cv_func__sincosl_use=no
64350 fi
64351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64352 ac_ext=c
64353 ac_cpp='$CPP $CPPFLAGS'
64354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64357
64358
64359 fi
64360
64361 fi
64362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64363 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64364
64365 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64366 for ac_func in _sincosl
64367 do :
64368 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64369 if test "x$ac_cv_func__sincosl" = x""yes; then :
64370 cat >>confdefs.h <<_ACEOF
64371 #define HAVE__SINCOSL 1
64372 _ACEOF
64373
64374 fi
64375 done
64376
64377 fi
64378 fi
64379
64380
64381
64382
64383
64384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64385 $as_echo_n "checking for finitel declaration... " >&6; }
64386 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64387 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64388 $as_echo_n "(cached) " >&6
64389 else
64390
64391
64392 ac_ext=cpp
64393 ac_cpp='$CXXCPP $CPPFLAGS'
64394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64397
64398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64399 /* end confdefs.h. */
64400 #include <math.h>
64401 #ifdef HAVE_IEEEFP_H
64402 #include <ieeefp.h>
64403 #endif
64404
64405 int
64406 main ()
64407 {
64408 finitel(0);
64409 ;
64410 return 0;
64411 }
64412 _ACEOF
64413 if ac_fn_cxx_try_compile "$LINENO"; then :
64414 glibcxx_cv_func_finitel_use=yes
64415 else
64416 glibcxx_cv_func_finitel_use=no
64417 fi
64418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64419 ac_ext=c
64420 ac_cpp='$CPP $CPPFLAGS'
64421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64424
64425
64426 fi
64427
64428 fi
64429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64430 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64431
64432 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64433 for ac_func in finitel
64434 do :
64435 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64436 if test "x$ac_cv_func_finitel" = x""yes; then :
64437 cat >>confdefs.h <<_ACEOF
64438 #define HAVE_FINITEL 1
64439 _ACEOF
64440
64441 fi
64442 done
64443
64444 else
64445
64446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64447 $as_echo_n "checking for _finitel declaration... " >&6; }
64448 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64449 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64450 $as_echo_n "(cached) " >&6
64451 else
64452
64453
64454 ac_ext=cpp
64455 ac_cpp='$CXXCPP $CPPFLAGS'
64456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64459
64460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64461 /* end confdefs.h. */
64462 #include <math.h>
64463 #ifdef HAVE_IEEEFP_H
64464 #include <ieeefp.h>
64465 #endif
64466
64467 int
64468 main ()
64469 {
64470 _finitel(0);
64471 ;
64472 return 0;
64473 }
64474 _ACEOF
64475 if ac_fn_cxx_try_compile "$LINENO"; then :
64476 glibcxx_cv_func__finitel_use=yes
64477 else
64478 glibcxx_cv_func__finitel_use=no
64479 fi
64480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64481 ac_ext=c
64482 ac_cpp='$CPP $CPPFLAGS'
64483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64486
64487
64488 fi
64489
64490 fi
64491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64492 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64493
64494 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64495 for ac_func in _finitel
64496 do :
64497 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64498 if test "x$ac_cv_func__finitel" = x""yes; then :
64499 cat >>confdefs.h <<_ACEOF
64500 #define HAVE__FINITEL 1
64501 _ACEOF
64502
64503 fi
64504 done
64505
64506 fi
64507 fi
64508
64509
64510
64511
64512 LIBS="$ac_save_LIBS"
64513 CXXFLAGS="$ac_save_CXXFLAGS"
64514
64515
64516 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64517 ac_save_CXXFLAGS="$CXXFLAGS"
64518 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64519
64520
64521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64522 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64523 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64524 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64525 $as_echo_n "(cached) " >&6
64526 else
64527
64528
64529 ac_ext=cpp
64530 ac_cpp='$CXXCPP $CPPFLAGS'
64531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64534
64535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64536 /* end confdefs.h. */
64537 #include <stdlib.h>
64538 int
64539 main ()
64540 {
64541 at_quick_exit(0);
64542 ;
64543 return 0;
64544 }
64545 _ACEOF
64546 if ac_fn_cxx_try_compile "$LINENO"; then :
64547 glibcxx_cv_func_at_quick_exit_use=yes
64548 else
64549 glibcxx_cv_func_at_quick_exit_use=no
64550 fi
64551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64552 ac_ext=c
64553 ac_cpp='$CPP $CPPFLAGS'
64554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64557
64558
64559 fi
64560
64561 fi
64562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64563 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64564 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64565 for ac_func in at_quick_exit
64566 do :
64567 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64568 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64569 cat >>confdefs.h <<_ACEOF
64570 #define HAVE_AT_QUICK_EXIT 1
64571 _ACEOF
64572
64573 fi
64574 done
64575
64576 fi
64577
64578
64579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64580 $as_echo_n "checking for quick_exit declaration... " >&6; }
64581 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64582 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64583 $as_echo_n "(cached) " >&6
64584 else
64585
64586
64587 ac_ext=cpp
64588 ac_cpp='$CXXCPP $CPPFLAGS'
64589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64592
64593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64594 /* end confdefs.h. */
64595 #include <stdlib.h>
64596 int
64597 main ()
64598 {
64599 quick_exit(0);
64600 ;
64601 return 0;
64602 }
64603 _ACEOF
64604 if ac_fn_cxx_try_compile "$LINENO"; then :
64605 glibcxx_cv_func_quick_exit_use=yes
64606 else
64607 glibcxx_cv_func_quick_exit_use=no
64608 fi
64609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64610 ac_ext=c
64611 ac_cpp='$CPP $CPPFLAGS'
64612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64615
64616
64617 fi
64618
64619 fi
64620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64621 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64622 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64623 for ac_func in quick_exit
64624 do :
64625 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64626 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64627 cat >>confdefs.h <<_ACEOF
64628 #define HAVE_QUICK_EXIT 1
64629 _ACEOF
64630
64631 fi
64632 done
64633
64634 fi
64635
64636
64637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64638 $as_echo_n "checking for strtold declaration... " >&6; }
64639 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64640 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64641 $as_echo_n "(cached) " >&6
64642 else
64643
64644
64645 ac_ext=cpp
64646 ac_cpp='$CXXCPP $CPPFLAGS'
64647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64650
64651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64652 /* end confdefs.h. */
64653 #include <stdlib.h>
64654 int
64655 main ()
64656 {
64657 strtold(0, 0);
64658 ;
64659 return 0;
64660 }
64661 _ACEOF
64662 if ac_fn_cxx_try_compile "$LINENO"; then :
64663 glibcxx_cv_func_strtold_use=yes
64664 else
64665 glibcxx_cv_func_strtold_use=no
64666 fi
64667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64668 ac_ext=c
64669 ac_cpp='$CPP $CPPFLAGS'
64670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64673
64674
64675 fi
64676
64677 fi
64678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64679 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64680 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64681 for ac_func in strtold
64682 do :
64683 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64684 if test "x$ac_cv_func_strtold" = x""yes; then :
64685 cat >>confdefs.h <<_ACEOF
64686 #define HAVE_STRTOLD 1
64687 _ACEOF
64688
64689 fi
64690 done
64691
64692 fi
64693
64694
64695
64696
64697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64698 $as_echo_n "checking for strtof declaration... " >&6; }
64699 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64700 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64701 $as_echo_n "(cached) " >&6
64702 else
64703
64704
64705 ac_ext=cpp
64706 ac_cpp='$CXXCPP $CPPFLAGS'
64707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64710
64711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64712 /* end confdefs.h. */
64713 #include <stdlib.h>
64714 int
64715 main ()
64716 {
64717 strtof(0, 0);
64718 ;
64719 return 0;
64720 }
64721 _ACEOF
64722 if ac_fn_cxx_try_compile "$LINENO"; then :
64723 glibcxx_cv_func_strtof_use=yes
64724 else
64725 glibcxx_cv_func_strtof_use=no
64726 fi
64727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64728 ac_ext=c
64729 ac_cpp='$CPP $CPPFLAGS'
64730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64733
64734
64735 fi
64736
64737 fi
64738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64739 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64740 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64741 for ac_func in strtof
64742 do :
64743 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64744 if test "x$ac_cv_func_strtof" = x""yes; then :
64745 cat >>confdefs.h <<_ACEOF
64746 #define HAVE_STRTOF 1
64747 _ACEOF
64748
64749 fi
64750 done
64751
64752 fi
64753
64754
64755
64756
64757 CXXFLAGS="$ac_save_CXXFLAGS"
64758
64759 ;;
64760 *-netbsd*)
64761 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64762
64763
64764 # If we're not using GNU ld, then there's no point in even trying these
64765 # tests. Check for that first. We should have already tested for gld
64766 # by now (in libtool), but require it now just to be safe...
64767 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64768 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64769
64770
64771
64772 # The name set by libtool depends on the version of libtool. Shame on us
64773 # for depending on an impl detail, but c'est la vie. Older versions used
64774 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64775 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64776 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64777 # set (hence we're using an older libtool), then set it.
64778 if test x${with_gnu_ld+set} != xset; then
64779 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64780 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64781 with_gnu_ld=no
64782 else
64783 with_gnu_ld=$ac_cv_prog_gnu_ld
64784 fi
64785 fi
64786
64787 # Start by getting the version number. I think the libtool test already
64788 # does some of this, but throws away the result.
64789 glibcxx_ld_is_gold=no
64790 if test x"$with_gnu_ld" = x"yes"; then
64791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64792 $as_echo_n "checking for ld version... " >&6; }
64793
64794 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64795 glibcxx_ld_is_gold=yes
64796 fi
64797 ldver=`$LD --version 2>/dev/null |
64798 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'`
64799
64800 glibcxx_gnu_ld_version=`echo $ldver | \
64801 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64803 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64804 fi
64805
64806 # Set --gc-sections.
64807 glibcxx_have_gc_sections=no
64808 if test "$glibcxx_ld_is_gold" = "yes"; then
64809 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64810 glibcxx_have_gc_sections=yes
64811 fi
64812 else
64813 glibcxx_gcsections_min_ld=21602
64814 if test x"$with_gnu_ld" = x"yes" &&
64815 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64816 glibcxx_have_gc_sections=yes
64817 fi
64818 fi
64819 if test "$glibcxx_have_gc_sections" = "yes"; then
64820 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64821 # NB: This flag only works reliably after 2.16.1. Configure tests
64822 # for this are difficult, so hard wire a value that should work.
64823
64824 ac_test_CFLAGS="${CFLAGS+set}"
64825 ac_save_CFLAGS="$CFLAGS"
64826 CFLAGS='-Wl,--gc-sections'
64827
64828 # Check for -Wl,--gc-sections
64829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64830 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64831 if test x$gcc_no_link = xyes; then
64832 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64833 fi
64834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64835 /* end confdefs.h. */
64836 int one(void) { return 1; }
64837 int two(void) { return 2; }
64838
64839 int
64840 main ()
64841 {
64842 two();
64843 ;
64844 return 0;
64845 }
64846 _ACEOF
64847 if ac_fn_c_try_link "$LINENO"; then :
64848 ac_gcsections=yes
64849 else
64850 ac_gcsections=no
64851 fi
64852 rm -f core conftest.err conftest.$ac_objext \
64853 conftest$ac_exeext conftest.$ac_ext
64854 if test "$ac_gcsections" = "yes"; then
64855 rm -f conftest.c
64856 touch conftest.c
64857 if $CC -c conftest.c; then
64858 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64859 grep "Warning: gc-sections option ignored" > /dev/null; then
64860 ac_gcsections=no
64861 fi
64862 fi
64863 rm -f conftest.c conftest.o conftest
64864 fi
64865 if test "$ac_gcsections" = "yes"; then
64866 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64867 fi
64868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64869 $as_echo "$ac_gcsections" >&6; }
64870
64871 if test "$ac_test_CFLAGS" = set; then
64872 CFLAGS="$ac_save_CFLAGS"
64873 else
64874 # this is the suspicious part
64875 CFLAGS=''
64876 fi
64877 fi
64878
64879 # Set -z,relro.
64880 # Note this is only for shared objects.
64881 ac_ld_relro=no
64882 if test x"$with_gnu_ld" = x"yes"; then
64883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64884 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64885 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64886 if test -n "$cxx_z_relo"; then
64887 OPT_LDFLAGS="-Wl,-z,relro"
64888 ac_ld_relro=yes
64889 fi
64890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64891 $as_echo "$ac_ld_relro" >&6; }
64892 fi
64893
64894 # Set linker optimization flags.
64895 if test x"$with_gnu_ld" = x"yes"; then
64896 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64897 fi
64898
64899
64900
64901
64902 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64903
64904 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64905
64906 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64907
64908 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64909
64910 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64911
64912 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64913
64914 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64915
64916 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64917
64918 if test x"long_double_math_on_this_cpu" = x"yes"; then
64919 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64920
64921 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64922
64923 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64924
64925 fi
64926 ;;
64927 *-qnx6.1* | *-qnx6.2*)
64928 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64929
64930
64931 # If we're not using GNU ld, then there's no point in even trying these
64932 # tests. Check for that first. We should have already tested for gld
64933 # by now (in libtool), but require it now just to be safe...
64934 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64935 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64936
64937
64938
64939 # The name set by libtool depends on the version of libtool. Shame on us
64940 # for depending on an impl detail, but c'est la vie. Older versions used
64941 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64942 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64943 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64944 # set (hence we're using an older libtool), then set it.
64945 if test x${with_gnu_ld+set} != xset; then
64946 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64947 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64948 with_gnu_ld=no
64949 else
64950 with_gnu_ld=$ac_cv_prog_gnu_ld
64951 fi
64952 fi
64953
64954 # Start by getting the version number. I think the libtool test already
64955 # does some of this, but throws away the result.
64956 glibcxx_ld_is_gold=no
64957 if test x"$with_gnu_ld" = x"yes"; then
64958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64959 $as_echo_n "checking for ld version... " >&6; }
64960
64961 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64962 glibcxx_ld_is_gold=yes
64963 fi
64964 ldver=`$LD --version 2>/dev/null |
64965 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'`
64966
64967 glibcxx_gnu_ld_version=`echo $ldver | \
64968 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64970 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64971 fi
64972
64973 # Set --gc-sections.
64974 glibcxx_have_gc_sections=no
64975 if test "$glibcxx_ld_is_gold" = "yes"; then
64976 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64977 glibcxx_have_gc_sections=yes
64978 fi
64979 else
64980 glibcxx_gcsections_min_ld=21602
64981 if test x"$with_gnu_ld" = x"yes" &&
64982 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64983 glibcxx_have_gc_sections=yes
64984 fi
64985 fi
64986 if test "$glibcxx_have_gc_sections" = "yes"; then
64987 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64988 # NB: This flag only works reliably after 2.16.1. Configure tests
64989 # for this are difficult, so hard wire a value that should work.
64990
64991 ac_test_CFLAGS="${CFLAGS+set}"
64992 ac_save_CFLAGS="$CFLAGS"
64993 CFLAGS='-Wl,--gc-sections'
64994
64995 # Check for -Wl,--gc-sections
64996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64997 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64998 if test x$gcc_no_link = xyes; then
64999 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65000 fi
65001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65002 /* end confdefs.h. */
65003 int one(void) { return 1; }
65004 int two(void) { return 2; }
65005
65006 int
65007 main ()
65008 {
65009 two();
65010 ;
65011 return 0;
65012 }
65013 _ACEOF
65014 if ac_fn_c_try_link "$LINENO"; then :
65015 ac_gcsections=yes
65016 else
65017 ac_gcsections=no
65018 fi
65019 rm -f core conftest.err conftest.$ac_objext \
65020 conftest$ac_exeext conftest.$ac_ext
65021 if test "$ac_gcsections" = "yes"; then
65022 rm -f conftest.c
65023 touch conftest.c
65024 if $CC -c conftest.c; then
65025 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65026 grep "Warning: gc-sections option ignored" > /dev/null; then
65027 ac_gcsections=no
65028 fi
65029 fi
65030 rm -f conftest.c conftest.o conftest
65031 fi
65032 if test "$ac_gcsections" = "yes"; then
65033 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65034 fi
65035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65036 $as_echo "$ac_gcsections" >&6; }
65037
65038 if test "$ac_test_CFLAGS" = set; then
65039 CFLAGS="$ac_save_CFLAGS"
65040 else
65041 # this is the suspicious part
65042 CFLAGS=''
65043 fi
65044 fi
65045
65046 # Set -z,relro.
65047 # Note this is only for shared objects.
65048 ac_ld_relro=no
65049 if test x"$with_gnu_ld" = x"yes"; then
65050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65051 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65052 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65053 if test -n "$cxx_z_relo"; then
65054 OPT_LDFLAGS="-Wl,-z,relro"
65055 ac_ld_relro=yes
65056 fi
65057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65058 $as_echo "$ac_ld_relro" >&6; }
65059 fi
65060
65061 # Set linker optimization flags.
65062 if test x"$with_gnu_ld" = x"yes"; then
65063 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65064 fi
65065
65066
65067
65068
65069 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65070
65071 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65072
65073 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65074
65075 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65076
65077 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65078
65079 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65080
65081 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65082
65083 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65084
65085 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65086
65087 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65088
65089 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65090
65091 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65092
65093 ;;
65094 *-rtems*)
65095
65096 # All these tests are for C++; save the language and the compiler flags.
65097 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65098 # found in GLIBCXX_CONFIGURE.
65099
65100 ac_ext=cpp
65101 ac_cpp='$CXXCPP $CPPFLAGS'
65102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65105
65106 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65107 ac_save_CXXFLAGS="$CXXFLAGS"
65108
65109 # Check for maintainer-mode bits.
65110 if test x"$USE_MAINTAINER_MODE" = xno; then
65111 WERROR=''
65112 else
65113 WERROR='-Werror'
65114 fi
65115
65116 # Check for -ffunction-sections -fdata-sections
65117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65118 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65119 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65121 /* end confdefs.h. */
65122 int foo; void bar() { };
65123 int
65124 main ()
65125 {
65126
65127 ;
65128 return 0;
65129 }
65130 _ACEOF
65131 if ac_fn_cxx_try_compile "$LINENO"; then :
65132 ac_fdsections=yes
65133 else
65134 ac_fdsections=no
65135 fi
65136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65137 if test "$ac_test_CXXFLAGS" = set; then
65138 CXXFLAGS="$ac_save_CXXFLAGS"
65139 else
65140 # this is the suspicious part
65141 CXXFLAGS=''
65142 fi
65143 if test x"$ac_fdsections" = x"yes"; then
65144 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65145 fi
65146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65147 $as_echo "$ac_fdsections" >&6; }
65148
65149 ac_ext=c
65150 ac_cpp='$CPP $CPPFLAGS'
65151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65154
65155
65156
65157
65158
65159 # If we're not using GNU ld, then there's no point in even trying these
65160 # tests. Check for that first. We should have already tested for gld
65161 # by now (in libtool), but require it now just to be safe...
65162 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65163 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65164
65165
65166
65167 # The name set by libtool depends on the version of libtool. Shame on us
65168 # for depending on an impl detail, but c'est la vie. Older versions used
65169 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65170 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65171 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65172 # set (hence we're using an older libtool), then set it.
65173 if test x${with_gnu_ld+set} != xset; then
65174 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65175 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65176 with_gnu_ld=no
65177 else
65178 with_gnu_ld=$ac_cv_prog_gnu_ld
65179 fi
65180 fi
65181
65182 # Start by getting the version number. I think the libtool test already
65183 # does some of this, but throws away the result.
65184 glibcxx_ld_is_gold=no
65185 if test x"$with_gnu_ld" = x"yes"; then
65186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65187 $as_echo_n "checking for ld version... " >&6; }
65188
65189 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65190 glibcxx_ld_is_gold=yes
65191 fi
65192 ldver=`$LD --version 2>/dev/null |
65193 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'`
65194
65195 glibcxx_gnu_ld_version=`echo $ldver | \
65196 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65198 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65199 fi
65200
65201 # Set --gc-sections.
65202 glibcxx_have_gc_sections=no
65203 if test "$glibcxx_ld_is_gold" = "yes"; then
65204 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65205 glibcxx_have_gc_sections=yes
65206 fi
65207 else
65208 glibcxx_gcsections_min_ld=21602
65209 if test x"$with_gnu_ld" = x"yes" &&
65210 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65211 glibcxx_have_gc_sections=yes
65212 fi
65213 fi
65214 if test "$glibcxx_have_gc_sections" = "yes"; then
65215 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65216 # NB: This flag only works reliably after 2.16.1. Configure tests
65217 # for this are difficult, so hard wire a value that should work.
65218
65219 ac_test_CFLAGS="${CFLAGS+set}"
65220 ac_save_CFLAGS="$CFLAGS"
65221 CFLAGS='-Wl,--gc-sections'
65222
65223 # Check for -Wl,--gc-sections
65224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65225 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65226 if test x$gcc_no_link = xyes; then
65227 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65228 fi
65229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65230 /* end confdefs.h. */
65231 int one(void) { return 1; }
65232 int two(void) { return 2; }
65233
65234 int
65235 main ()
65236 {
65237 two();
65238 ;
65239 return 0;
65240 }
65241 _ACEOF
65242 if ac_fn_c_try_link "$LINENO"; then :
65243 ac_gcsections=yes
65244 else
65245 ac_gcsections=no
65246 fi
65247 rm -f core conftest.err conftest.$ac_objext \
65248 conftest$ac_exeext conftest.$ac_ext
65249 if test "$ac_gcsections" = "yes"; then
65250 rm -f conftest.c
65251 touch conftest.c
65252 if $CC -c conftest.c; then
65253 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65254 grep "Warning: gc-sections option ignored" > /dev/null; then
65255 ac_gcsections=no
65256 fi
65257 fi
65258 rm -f conftest.c conftest.o conftest
65259 fi
65260 if test "$ac_gcsections" = "yes"; then
65261 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65262 fi
65263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65264 $as_echo "$ac_gcsections" >&6; }
65265
65266 if test "$ac_test_CFLAGS" = set; then
65267 CFLAGS="$ac_save_CFLAGS"
65268 else
65269 # this is the suspicious part
65270 CFLAGS=''
65271 fi
65272 fi
65273
65274 # Set -z,relro.
65275 # Note this is only for shared objects.
65276 ac_ld_relro=no
65277 if test x"$with_gnu_ld" = x"yes"; then
65278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65279 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65280 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65281 if test -n "$cxx_z_relo"; then
65282 OPT_LDFLAGS="-Wl,-z,relro"
65283 ac_ld_relro=yes
65284 fi
65285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65286 $as_echo "$ac_ld_relro" >&6; }
65287 fi
65288
65289 # Set linker optimization flags.
65290 if test x"$with_gnu_ld" = x"yes"; then
65291 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65292 fi
65293
65294
65295
65296
65297
65298 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65299 ac_save_CXXFLAGS="$CXXFLAGS"
65300 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65301
65302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65303 $as_echo_n "checking for sin in -lm... " >&6; }
65304 if test "${ac_cv_lib_m_sin+set}" = set; then :
65305 $as_echo_n "(cached) " >&6
65306 else
65307 ac_check_lib_save_LIBS=$LIBS
65308 LIBS="-lm $LIBS"
65309 if test x$gcc_no_link = xyes; then
65310 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65311 fi
65312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65313 /* end confdefs.h. */
65314
65315 /* Override any GCC internal prototype to avoid an error.
65316 Use char because int might match the return type of a GCC
65317 builtin and then its argument prototype would still apply. */
65318 #ifdef __cplusplus
65319 extern "C"
65320 #endif
65321 char sin ();
65322 int
65323 main ()
65324 {
65325 return sin ();
65326 ;
65327 return 0;
65328 }
65329 _ACEOF
65330 if ac_fn_c_try_link "$LINENO"; then :
65331 ac_cv_lib_m_sin=yes
65332 else
65333 ac_cv_lib_m_sin=no
65334 fi
65335 rm -f core conftest.err conftest.$ac_objext \
65336 conftest$ac_exeext conftest.$ac_ext
65337 LIBS=$ac_check_lib_save_LIBS
65338 fi
65339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65340 $as_echo "$ac_cv_lib_m_sin" >&6; }
65341 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65342 libm="-lm"
65343 fi
65344
65345 ac_save_LIBS="$LIBS"
65346 LIBS="$LIBS $libm"
65347
65348
65349
65350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65351 $as_echo_n "checking for isinf declaration... " >&6; }
65352 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65353 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65354 $as_echo_n "(cached) " >&6
65355 else
65356
65357
65358 ac_ext=cpp
65359 ac_cpp='$CXXCPP $CPPFLAGS'
65360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65363
65364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65365 /* end confdefs.h. */
65366 #include <math.h>
65367 #ifdef HAVE_IEEEFP_H
65368 #include <ieeefp.h>
65369 #endif
65370
65371 int
65372 main ()
65373 {
65374 isinf(0);
65375 ;
65376 return 0;
65377 }
65378 _ACEOF
65379 if ac_fn_cxx_try_compile "$LINENO"; then :
65380 glibcxx_cv_func_isinf_use=yes
65381 else
65382 glibcxx_cv_func_isinf_use=no
65383 fi
65384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65385 ac_ext=c
65386 ac_cpp='$CPP $CPPFLAGS'
65387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65390
65391
65392 fi
65393
65394 fi
65395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65396 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65397
65398 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65399 for ac_func in isinf
65400 do :
65401 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65402 if test "x$ac_cv_func_isinf" = x""yes; then :
65403 cat >>confdefs.h <<_ACEOF
65404 #define HAVE_ISINF 1
65405 _ACEOF
65406
65407 fi
65408 done
65409
65410 else
65411
65412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65413 $as_echo_n "checking for _isinf declaration... " >&6; }
65414 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65415 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65416 $as_echo_n "(cached) " >&6
65417 else
65418
65419
65420 ac_ext=cpp
65421 ac_cpp='$CXXCPP $CPPFLAGS'
65422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65425
65426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65427 /* end confdefs.h. */
65428 #include <math.h>
65429 #ifdef HAVE_IEEEFP_H
65430 #include <ieeefp.h>
65431 #endif
65432
65433 int
65434 main ()
65435 {
65436 _isinf(0);
65437 ;
65438 return 0;
65439 }
65440 _ACEOF
65441 if ac_fn_cxx_try_compile "$LINENO"; then :
65442 glibcxx_cv_func__isinf_use=yes
65443 else
65444 glibcxx_cv_func__isinf_use=no
65445 fi
65446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65447 ac_ext=c
65448 ac_cpp='$CPP $CPPFLAGS'
65449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65452
65453
65454 fi
65455
65456 fi
65457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65458 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65459
65460 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65461 for ac_func in _isinf
65462 do :
65463 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65464 if test "x$ac_cv_func__isinf" = x""yes; then :
65465 cat >>confdefs.h <<_ACEOF
65466 #define HAVE__ISINF 1
65467 _ACEOF
65468
65469 fi
65470 done
65471
65472 fi
65473 fi
65474
65475
65476
65477
65478
65479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65480 $as_echo_n "checking for isnan declaration... " >&6; }
65481 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65482 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65483 $as_echo_n "(cached) " >&6
65484 else
65485
65486
65487 ac_ext=cpp
65488 ac_cpp='$CXXCPP $CPPFLAGS'
65489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65492
65493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65494 /* end confdefs.h. */
65495 #include <math.h>
65496 #ifdef HAVE_IEEEFP_H
65497 #include <ieeefp.h>
65498 #endif
65499
65500 int
65501 main ()
65502 {
65503 isnan(0);
65504 ;
65505 return 0;
65506 }
65507 _ACEOF
65508 if ac_fn_cxx_try_compile "$LINENO"; then :
65509 glibcxx_cv_func_isnan_use=yes
65510 else
65511 glibcxx_cv_func_isnan_use=no
65512 fi
65513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65514 ac_ext=c
65515 ac_cpp='$CPP $CPPFLAGS'
65516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65519
65520
65521 fi
65522
65523 fi
65524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65525 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65526
65527 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65528 for ac_func in isnan
65529 do :
65530 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65531 if test "x$ac_cv_func_isnan" = x""yes; then :
65532 cat >>confdefs.h <<_ACEOF
65533 #define HAVE_ISNAN 1
65534 _ACEOF
65535
65536 fi
65537 done
65538
65539 else
65540
65541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65542 $as_echo_n "checking for _isnan declaration... " >&6; }
65543 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65544 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65545 $as_echo_n "(cached) " >&6
65546 else
65547
65548
65549 ac_ext=cpp
65550 ac_cpp='$CXXCPP $CPPFLAGS'
65551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65554
65555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65556 /* end confdefs.h. */
65557 #include <math.h>
65558 #ifdef HAVE_IEEEFP_H
65559 #include <ieeefp.h>
65560 #endif
65561
65562 int
65563 main ()
65564 {
65565 _isnan(0);
65566 ;
65567 return 0;
65568 }
65569 _ACEOF
65570 if ac_fn_cxx_try_compile "$LINENO"; then :
65571 glibcxx_cv_func__isnan_use=yes
65572 else
65573 glibcxx_cv_func__isnan_use=no
65574 fi
65575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65576 ac_ext=c
65577 ac_cpp='$CPP $CPPFLAGS'
65578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65581
65582
65583 fi
65584
65585 fi
65586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65587 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65588
65589 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65590 for ac_func in _isnan
65591 do :
65592 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65593 if test "x$ac_cv_func__isnan" = x""yes; then :
65594 cat >>confdefs.h <<_ACEOF
65595 #define HAVE__ISNAN 1
65596 _ACEOF
65597
65598 fi
65599 done
65600
65601 fi
65602 fi
65603
65604
65605
65606
65607
65608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65609 $as_echo_n "checking for finite declaration... " >&6; }
65610 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65611 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65612 $as_echo_n "(cached) " >&6
65613 else
65614
65615
65616 ac_ext=cpp
65617 ac_cpp='$CXXCPP $CPPFLAGS'
65618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65621
65622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65623 /* end confdefs.h. */
65624 #include <math.h>
65625 #ifdef HAVE_IEEEFP_H
65626 #include <ieeefp.h>
65627 #endif
65628
65629 int
65630 main ()
65631 {
65632 finite(0);
65633 ;
65634 return 0;
65635 }
65636 _ACEOF
65637 if ac_fn_cxx_try_compile "$LINENO"; then :
65638 glibcxx_cv_func_finite_use=yes
65639 else
65640 glibcxx_cv_func_finite_use=no
65641 fi
65642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65643 ac_ext=c
65644 ac_cpp='$CPP $CPPFLAGS'
65645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65648
65649
65650 fi
65651
65652 fi
65653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65654 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65655
65656 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65657 for ac_func in finite
65658 do :
65659 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65660 if test "x$ac_cv_func_finite" = x""yes; then :
65661 cat >>confdefs.h <<_ACEOF
65662 #define HAVE_FINITE 1
65663 _ACEOF
65664
65665 fi
65666 done
65667
65668 else
65669
65670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65671 $as_echo_n "checking for _finite declaration... " >&6; }
65672 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65673 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65674 $as_echo_n "(cached) " >&6
65675 else
65676
65677
65678 ac_ext=cpp
65679 ac_cpp='$CXXCPP $CPPFLAGS'
65680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65683
65684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65685 /* end confdefs.h. */
65686 #include <math.h>
65687 #ifdef HAVE_IEEEFP_H
65688 #include <ieeefp.h>
65689 #endif
65690
65691 int
65692 main ()
65693 {
65694 _finite(0);
65695 ;
65696 return 0;
65697 }
65698 _ACEOF
65699 if ac_fn_cxx_try_compile "$LINENO"; then :
65700 glibcxx_cv_func__finite_use=yes
65701 else
65702 glibcxx_cv_func__finite_use=no
65703 fi
65704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65705 ac_ext=c
65706 ac_cpp='$CPP $CPPFLAGS'
65707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65710
65711
65712 fi
65713
65714 fi
65715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65716 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65717
65718 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65719 for ac_func in _finite
65720 do :
65721 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65722 if test "x$ac_cv_func__finite" = x""yes; then :
65723 cat >>confdefs.h <<_ACEOF
65724 #define HAVE__FINITE 1
65725 _ACEOF
65726
65727 fi
65728 done
65729
65730 fi
65731 fi
65732
65733
65734
65735
65736
65737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65738 $as_echo_n "checking for sincos declaration... " >&6; }
65739 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65740 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65741 $as_echo_n "(cached) " >&6
65742 else
65743
65744
65745 ac_ext=cpp
65746 ac_cpp='$CXXCPP $CPPFLAGS'
65747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65750
65751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65752 /* end confdefs.h. */
65753 #include <math.h>
65754 int
65755 main ()
65756 {
65757 sincos(0, 0, 0);
65758 ;
65759 return 0;
65760 }
65761 _ACEOF
65762 if ac_fn_cxx_try_compile "$LINENO"; then :
65763 glibcxx_cv_func_sincos_use=yes
65764 else
65765 glibcxx_cv_func_sincos_use=no
65766 fi
65767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65768 ac_ext=c
65769 ac_cpp='$CPP $CPPFLAGS'
65770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65773
65774
65775 fi
65776
65777 fi
65778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65779 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65780
65781 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65782 for ac_func in sincos
65783 do :
65784 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65785 if test "x$ac_cv_func_sincos" = x""yes; then :
65786 cat >>confdefs.h <<_ACEOF
65787 #define HAVE_SINCOS 1
65788 _ACEOF
65789
65790 fi
65791 done
65792
65793 else
65794
65795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65796 $as_echo_n "checking for _sincos declaration... " >&6; }
65797 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65798 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65799 $as_echo_n "(cached) " >&6
65800 else
65801
65802
65803 ac_ext=cpp
65804 ac_cpp='$CXXCPP $CPPFLAGS'
65805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65808
65809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65810 /* end confdefs.h. */
65811 #include <math.h>
65812 int
65813 main ()
65814 {
65815 _sincos(0, 0, 0);
65816 ;
65817 return 0;
65818 }
65819 _ACEOF
65820 if ac_fn_cxx_try_compile "$LINENO"; then :
65821 glibcxx_cv_func__sincos_use=yes
65822 else
65823 glibcxx_cv_func__sincos_use=no
65824 fi
65825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65826 ac_ext=c
65827 ac_cpp='$CPP $CPPFLAGS'
65828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65831
65832
65833 fi
65834
65835 fi
65836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65837 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65838
65839 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65840 for ac_func in _sincos
65841 do :
65842 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65843 if test "x$ac_cv_func__sincos" = x""yes; then :
65844 cat >>confdefs.h <<_ACEOF
65845 #define HAVE__SINCOS 1
65846 _ACEOF
65847
65848 fi
65849 done
65850
65851 fi
65852 fi
65853
65854
65855
65856
65857
65858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65859 $as_echo_n "checking for fpclass declaration... " >&6; }
65860 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65861 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65862 $as_echo_n "(cached) " >&6
65863 else
65864
65865
65866 ac_ext=cpp
65867 ac_cpp='$CXXCPP $CPPFLAGS'
65868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65871
65872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65873 /* end confdefs.h. */
65874 #include <math.h>
65875 #ifdef HAVE_IEEEFP_H
65876 #include <ieeefp.h>
65877 #endif
65878
65879 int
65880 main ()
65881 {
65882 fpclass(0);
65883 ;
65884 return 0;
65885 }
65886 _ACEOF
65887 if ac_fn_cxx_try_compile "$LINENO"; then :
65888 glibcxx_cv_func_fpclass_use=yes
65889 else
65890 glibcxx_cv_func_fpclass_use=no
65891 fi
65892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65893 ac_ext=c
65894 ac_cpp='$CPP $CPPFLAGS'
65895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65898
65899
65900 fi
65901
65902 fi
65903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65904 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65905
65906 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65907 for ac_func in fpclass
65908 do :
65909 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65910 if test "x$ac_cv_func_fpclass" = x""yes; then :
65911 cat >>confdefs.h <<_ACEOF
65912 #define HAVE_FPCLASS 1
65913 _ACEOF
65914
65915 fi
65916 done
65917
65918 else
65919
65920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65921 $as_echo_n "checking for _fpclass declaration... " >&6; }
65922 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65923 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65924 $as_echo_n "(cached) " >&6
65925 else
65926
65927
65928 ac_ext=cpp
65929 ac_cpp='$CXXCPP $CPPFLAGS'
65930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65933
65934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65935 /* end confdefs.h. */
65936 #include <math.h>
65937 #ifdef HAVE_IEEEFP_H
65938 #include <ieeefp.h>
65939 #endif
65940
65941 int
65942 main ()
65943 {
65944 _fpclass(0);
65945 ;
65946 return 0;
65947 }
65948 _ACEOF
65949 if ac_fn_cxx_try_compile "$LINENO"; then :
65950 glibcxx_cv_func__fpclass_use=yes
65951 else
65952 glibcxx_cv_func__fpclass_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__fpclass_use" >&5
65966 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65967
65968 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65969 for ac_func in _fpclass
65970 do :
65971 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65972 if test "x$ac_cv_func__fpclass" = x""yes; then :
65973 cat >>confdefs.h <<_ACEOF
65974 #define HAVE__FPCLASS 1
65975 _ACEOF
65976
65977 fi
65978 done
65979
65980 fi
65981 fi
65982
65983
65984
65985
65986
65987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65988 $as_echo_n "checking for qfpclass declaration... " >&6; }
65989 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65990 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65991 $as_echo_n "(cached) " >&6
65992 else
65993
65994
65995 ac_ext=cpp
65996 ac_cpp='$CXXCPP $CPPFLAGS'
65997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66000
66001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66002 /* end confdefs.h. */
66003 #include <math.h>
66004 #ifdef HAVE_IEEEFP_H
66005 #include <ieeefp.h>
66006 #endif
66007
66008 int
66009 main ()
66010 {
66011 qfpclass(0);
66012 ;
66013 return 0;
66014 }
66015 _ACEOF
66016 if ac_fn_cxx_try_compile "$LINENO"; then :
66017 glibcxx_cv_func_qfpclass_use=yes
66018 else
66019 glibcxx_cv_func_qfpclass_use=no
66020 fi
66021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66022 ac_ext=c
66023 ac_cpp='$CPP $CPPFLAGS'
66024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66027
66028
66029 fi
66030
66031 fi
66032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66033 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66034
66035 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66036 for ac_func in qfpclass
66037 do :
66038 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66039 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66040 cat >>confdefs.h <<_ACEOF
66041 #define HAVE_QFPCLASS 1
66042 _ACEOF
66043
66044 fi
66045 done
66046
66047 else
66048
66049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66050 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66051 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66052 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66053 $as_echo_n "(cached) " >&6
66054 else
66055
66056
66057 ac_ext=cpp
66058 ac_cpp='$CXXCPP $CPPFLAGS'
66059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66062
66063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66064 /* end confdefs.h. */
66065 #include <math.h>
66066 #ifdef HAVE_IEEEFP_H
66067 #include <ieeefp.h>
66068 #endif
66069
66070 int
66071 main ()
66072 {
66073 _qfpclass(0);
66074 ;
66075 return 0;
66076 }
66077 _ACEOF
66078 if ac_fn_cxx_try_compile "$LINENO"; then :
66079 glibcxx_cv_func__qfpclass_use=yes
66080 else
66081 glibcxx_cv_func__qfpclass_use=no
66082 fi
66083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66084 ac_ext=c
66085 ac_cpp='$CPP $CPPFLAGS'
66086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66089
66090
66091 fi
66092
66093 fi
66094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66095 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66096
66097 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66098 for ac_func in _qfpclass
66099 do :
66100 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66101 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66102 cat >>confdefs.h <<_ACEOF
66103 #define HAVE__QFPCLASS 1
66104 _ACEOF
66105
66106 fi
66107 done
66108
66109 fi
66110 fi
66111
66112
66113
66114
66115
66116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66117 $as_echo_n "checking for hypot declaration... " >&6; }
66118 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66119 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66120 $as_echo_n "(cached) " >&6
66121 else
66122
66123
66124 ac_ext=cpp
66125 ac_cpp='$CXXCPP $CPPFLAGS'
66126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66129
66130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66131 /* end confdefs.h. */
66132 #include <math.h>
66133 int
66134 main ()
66135 {
66136 hypot(0, 0);
66137 ;
66138 return 0;
66139 }
66140 _ACEOF
66141 if ac_fn_cxx_try_compile "$LINENO"; then :
66142 glibcxx_cv_func_hypot_use=yes
66143 else
66144 glibcxx_cv_func_hypot_use=no
66145 fi
66146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66147 ac_ext=c
66148 ac_cpp='$CPP $CPPFLAGS'
66149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66152
66153
66154 fi
66155
66156 fi
66157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66158 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66159
66160 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66161 for ac_func in hypot
66162 do :
66163 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66164 if test "x$ac_cv_func_hypot" = x""yes; then :
66165 cat >>confdefs.h <<_ACEOF
66166 #define HAVE_HYPOT 1
66167 _ACEOF
66168
66169 fi
66170 done
66171
66172 else
66173
66174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66175 $as_echo_n "checking for _hypot declaration... " >&6; }
66176 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66177 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66178 $as_echo_n "(cached) " >&6
66179 else
66180
66181
66182 ac_ext=cpp
66183 ac_cpp='$CXXCPP $CPPFLAGS'
66184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66187
66188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66189 /* end confdefs.h. */
66190 #include <math.h>
66191 int
66192 main ()
66193 {
66194 _hypot(0, 0);
66195 ;
66196 return 0;
66197 }
66198 _ACEOF
66199 if ac_fn_cxx_try_compile "$LINENO"; then :
66200 glibcxx_cv_func__hypot_use=yes
66201 else
66202 glibcxx_cv_func__hypot_use=no
66203 fi
66204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66205 ac_ext=c
66206 ac_cpp='$CPP $CPPFLAGS'
66207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66210
66211
66212 fi
66213
66214 fi
66215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66216 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66217
66218 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66219 for ac_func in _hypot
66220 do :
66221 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66222 if test "x$ac_cv_func__hypot" = x""yes; then :
66223 cat >>confdefs.h <<_ACEOF
66224 #define HAVE__HYPOT 1
66225 _ACEOF
66226
66227 fi
66228 done
66229
66230 fi
66231 fi
66232
66233
66234
66235
66236
66237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66238 $as_echo_n "checking for float trig functions... " >&6; }
66239 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66240 $as_echo_n "(cached) " >&6
66241 else
66242
66243
66244 ac_ext=cpp
66245 ac_cpp='$CXXCPP $CPPFLAGS'
66246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66249
66250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66251 /* end confdefs.h. */
66252 #include <math.h>
66253 int
66254 main ()
66255 {
66256 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66257 ;
66258 return 0;
66259 }
66260 _ACEOF
66261 if ac_fn_cxx_try_compile "$LINENO"; then :
66262 glibcxx_cv_func_float_trig_use=yes
66263 else
66264 glibcxx_cv_func_float_trig_use=no
66265 fi
66266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66267 ac_ext=c
66268 ac_cpp='$CPP $CPPFLAGS'
66269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66272
66273 fi
66274
66275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66276 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66277 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66278 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66279 do :
66280 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66281 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66282 eval as_val=\$$as_ac_var
66283 if test "x$as_val" = x""yes; then :
66284 cat >>confdefs.h <<_ACEOF
66285 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66286 _ACEOF
66287
66288 fi
66289 done
66290
66291 else
66292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66293 $as_echo_n "checking for _float trig functions... " >&6; }
66294 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66295 $as_echo_n "(cached) " >&6
66296 else
66297
66298
66299 ac_ext=cpp
66300 ac_cpp='$CXXCPP $CPPFLAGS'
66301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66304
66305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66306 /* end confdefs.h. */
66307 #include <math.h>
66308 int
66309 main ()
66310 {
66311 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66312 ;
66313 return 0;
66314 }
66315 _ACEOF
66316 if ac_fn_cxx_try_compile "$LINENO"; then :
66317 glibcxx_cv_func__float_trig_use=yes
66318 else
66319 glibcxx_cv_func__float_trig_use=no
66320 fi
66321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66322 ac_ext=c
66323 ac_cpp='$CPP $CPPFLAGS'
66324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66327
66328 fi
66329
66330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66331 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66332 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66333 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66334 do :
66335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66337 eval as_val=\$$as_ac_var
66338 if test "x$as_val" = x""yes; then :
66339 cat >>confdefs.h <<_ACEOF
66340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66341 _ACEOF
66342
66343 fi
66344 done
66345
66346 fi
66347 fi
66348
66349
66350
66351
66352
66353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66354 $as_echo_n "checking for float round functions... " >&6; }
66355 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66356 $as_echo_n "(cached) " >&6
66357 else
66358
66359
66360 ac_ext=cpp
66361 ac_cpp='$CXXCPP $CPPFLAGS'
66362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66365
66366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66367 /* end confdefs.h. */
66368 #include <math.h>
66369 int
66370 main ()
66371 {
66372 ceilf (0); floorf (0);
66373 ;
66374 return 0;
66375 }
66376 _ACEOF
66377 if ac_fn_cxx_try_compile "$LINENO"; then :
66378 glibcxx_cv_func_float_round_use=yes
66379 else
66380 glibcxx_cv_func_float_round_use=no
66381 fi
66382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66383 ac_ext=c
66384 ac_cpp='$CPP $CPPFLAGS'
66385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66388
66389 fi
66390
66391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66392 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66393 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66394 for ac_func in ceilf floorf
66395 do :
66396 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66397 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66398 eval as_val=\$$as_ac_var
66399 if test "x$as_val" = x""yes; then :
66400 cat >>confdefs.h <<_ACEOF
66401 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66402 _ACEOF
66403
66404 fi
66405 done
66406
66407 else
66408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66409 $as_echo_n "checking for _float round functions... " >&6; }
66410 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66411 $as_echo_n "(cached) " >&6
66412 else
66413
66414
66415 ac_ext=cpp
66416 ac_cpp='$CXXCPP $CPPFLAGS'
66417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66420
66421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66422 /* end confdefs.h. */
66423 #include <math.h>
66424 int
66425 main ()
66426 {
66427 _ceilf (0); _floorf (0);
66428 ;
66429 return 0;
66430 }
66431 _ACEOF
66432 if ac_fn_cxx_try_compile "$LINENO"; then :
66433 glibcxx_cv_func__float_round_use=yes
66434 else
66435 glibcxx_cv_func__float_round_use=no
66436 fi
66437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66438 ac_ext=c
66439 ac_cpp='$CPP $CPPFLAGS'
66440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66443
66444 fi
66445
66446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66447 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66448 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66449 for ac_func in _ceilf _floorf
66450 do :
66451 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66452 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66453 eval as_val=\$$as_ac_var
66454 if test "x$as_val" = x""yes; then :
66455 cat >>confdefs.h <<_ACEOF
66456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66457 _ACEOF
66458
66459 fi
66460 done
66461
66462 fi
66463 fi
66464
66465
66466
66467
66468
66469
66470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66471 $as_echo_n "checking for expf declaration... " >&6; }
66472 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66473 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66474 $as_echo_n "(cached) " >&6
66475 else
66476
66477
66478 ac_ext=cpp
66479 ac_cpp='$CXXCPP $CPPFLAGS'
66480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66483
66484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66485 /* end confdefs.h. */
66486 #include <math.h>
66487 #ifdef HAVE_IEEEFP_H
66488 #include <ieeefp.h>
66489 #endif
66490
66491 int
66492 main ()
66493 {
66494 expf(0);
66495 ;
66496 return 0;
66497 }
66498 _ACEOF
66499 if ac_fn_cxx_try_compile "$LINENO"; then :
66500 glibcxx_cv_func_expf_use=yes
66501 else
66502 glibcxx_cv_func_expf_use=no
66503 fi
66504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66505 ac_ext=c
66506 ac_cpp='$CPP $CPPFLAGS'
66507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66510
66511
66512 fi
66513
66514 fi
66515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66516 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66517
66518 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66519 for ac_func in expf
66520 do :
66521 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66522 if test "x$ac_cv_func_expf" = x""yes; then :
66523 cat >>confdefs.h <<_ACEOF
66524 #define HAVE_EXPF 1
66525 _ACEOF
66526
66527 fi
66528 done
66529
66530 else
66531
66532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66533 $as_echo_n "checking for _expf declaration... " >&6; }
66534 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66535 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66536 $as_echo_n "(cached) " >&6
66537 else
66538
66539
66540 ac_ext=cpp
66541 ac_cpp='$CXXCPP $CPPFLAGS'
66542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66545
66546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66547 /* end confdefs.h. */
66548 #include <math.h>
66549 #ifdef HAVE_IEEEFP_H
66550 #include <ieeefp.h>
66551 #endif
66552
66553 int
66554 main ()
66555 {
66556 _expf(0);
66557 ;
66558 return 0;
66559 }
66560 _ACEOF
66561 if ac_fn_cxx_try_compile "$LINENO"; then :
66562 glibcxx_cv_func__expf_use=yes
66563 else
66564 glibcxx_cv_func__expf_use=no
66565 fi
66566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66567 ac_ext=c
66568 ac_cpp='$CPP $CPPFLAGS'
66569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66572
66573
66574 fi
66575
66576 fi
66577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66578 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66579
66580 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66581 for ac_func in _expf
66582 do :
66583 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66584 if test "x$ac_cv_func__expf" = x""yes; then :
66585 cat >>confdefs.h <<_ACEOF
66586 #define HAVE__EXPF 1
66587 _ACEOF
66588
66589 fi
66590 done
66591
66592 fi
66593 fi
66594
66595
66596
66597
66598
66599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66600 $as_echo_n "checking for isnanf declaration... " >&6; }
66601 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66602 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66603 $as_echo_n "(cached) " >&6
66604 else
66605
66606
66607 ac_ext=cpp
66608 ac_cpp='$CXXCPP $CPPFLAGS'
66609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66612
66613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66614 /* end confdefs.h. */
66615 #include <math.h>
66616 #ifdef HAVE_IEEEFP_H
66617 #include <ieeefp.h>
66618 #endif
66619
66620 int
66621 main ()
66622 {
66623 isnanf(0);
66624 ;
66625 return 0;
66626 }
66627 _ACEOF
66628 if ac_fn_cxx_try_compile "$LINENO"; then :
66629 glibcxx_cv_func_isnanf_use=yes
66630 else
66631 glibcxx_cv_func_isnanf_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_isnanf_use" >&5
66645 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66646
66647 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66648 for ac_func in isnanf
66649 do :
66650 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66651 if test "x$ac_cv_func_isnanf" = x""yes; then :
66652 cat >>confdefs.h <<_ACEOF
66653 #define HAVE_ISNANF 1
66654 _ACEOF
66655
66656 fi
66657 done
66658
66659 else
66660
66661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66662 $as_echo_n "checking for _isnanf declaration... " >&6; }
66663 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66664 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66665 $as_echo_n "(cached) " >&6
66666 else
66667
66668
66669 ac_ext=cpp
66670 ac_cpp='$CXXCPP $CPPFLAGS'
66671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66674
66675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66676 /* end confdefs.h. */
66677 #include <math.h>
66678 #ifdef HAVE_IEEEFP_H
66679 #include <ieeefp.h>
66680 #endif
66681
66682 int
66683 main ()
66684 {
66685 _isnanf(0);
66686 ;
66687 return 0;
66688 }
66689 _ACEOF
66690 if ac_fn_cxx_try_compile "$LINENO"; then :
66691 glibcxx_cv_func__isnanf_use=yes
66692 else
66693 glibcxx_cv_func__isnanf_use=no
66694 fi
66695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66696 ac_ext=c
66697 ac_cpp='$CPP $CPPFLAGS'
66698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66701
66702
66703 fi
66704
66705 fi
66706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66707 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66708
66709 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66710 for ac_func in _isnanf
66711 do :
66712 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66713 if test "x$ac_cv_func__isnanf" = x""yes; then :
66714 cat >>confdefs.h <<_ACEOF
66715 #define HAVE__ISNANF 1
66716 _ACEOF
66717
66718 fi
66719 done
66720
66721 fi
66722 fi
66723
66724
66725
66726
66727
66728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66729 $as_echo_n "checking for isinff declaration... " >&6; }
66730 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66731 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66732 $as_echo_n "(cached) " >&6
66733 else
66734
66735
66736 ac_ext=cpp
66737 ac_cpp='$CXXCPP $CPPFLAGS'
66738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66741
66742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66743 /* end confdefs.h. */
66744 #include <math.h>
66745 #ifdef HAVE_IEEEFP_H
66746 #include <ieeefp.h>
66747 #endif
66748
66749 int
66750 main ()
66751 {
66752 isinff(0);
66753 ;
66754 return 0;
66755 }
66756 _ACEOF
66757 if ac_fn_cxx_try_compile "$LINENO"; then :
66758 glibcxx_cv_func_isinff_use=yes
66759 else
66760 glibcxx_cv_func_isinff_use=no
66761 fi
66762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66763 ac_ext=c
66764 ac_cpp='$CPP $CPPFLAGS'
66765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66768
66769
66770 fi
66771
66772 fi
66773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66774 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66775
66776 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66777 for ac_func in isinff
66778 do :
66779 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66780 if test "x$ac_cv_func_isinff" = x""yes; then :
66781 cat >>confdefs.h <<_ACEOF
66782 #define HAVE_ISINFF 1
66783 _ACEOF
66784
66785 fi
66786 done
66787
66788 else
66789
66790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66791 $as_echo_n "checking for _isinff declaration... " >&6; }
66792 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66793 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66794 $as_echo_n "(cached) " >&6
66795 else
66796
66797
66798 ac_ext=cpp
66799 ac_cpp='$CXXCPP $CPPFLAGS'
66800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66803
66804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66805 /* end confdefs.h. */
66806 #include <math.h>
66807 #ifdef HAVE_IEEEFP_H
66808 #include <ieeefp.h>
66809 #endif
66810
66811 int
66812 main ()
66813 {
66814 _isinff(0);
66815 ;
66816 return 0;
66817 }
66818 _ACEOF
66819 if ac_fn_cxx_try_compile "$LINENO"; then :
66820 glibcxx_cv_func__isinff_use=yes
66821 else
66822 glibcxx_cv_func__isinff_use=no
66823 fi
66824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66825 ac_ext=c
66826 ac_cpp='$CPP $CPPFLAGS'
66827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66830
66831
66832 fi
66833
66834 fi
66835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66836 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66837
66838 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66839 for ac_func in _isinff
66840 do :
66841 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66842 if test "x$ac_cv_func__isinff" = x""yes; then :
66843 cat >>confdefs.h <<_ACEOF
66844 #define HAVE__ISINFF 1
66845 _ACEOF
66846
66847 fi
66848 done
66849
66850 fi
66851 fi
66852
66853
66854
66855
66856
66857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66858 $as_echo_n "checking for atan2f declaration... " >&6; }
66859 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66860 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66861 $as_echo_n "(cached) " >&6
66862 else
66863
66864
66865 ac_ext=cpp
66866 ac_cpp='$CXXCPP $CPPFLAGS'
66867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66870
66871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66872 /* end confdefs.h. */
66873 #include <math.h>
66874 int
66875 main ()
66876 {
66877 atan2f(0, 0);
66878 ;
66879 return 0;
66880 }
66881 _ACEOF
66882 if ac_fn_cxx_try_compile "$LINENO"; then :
66883 glibcxx_cv_func_atan2f_use=yes
66884 else
66885 glibcxx_cv_func_atan2f_use=no
66886 fi
66887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66888 ac_ext=c
66889 ac_cpp='$CPP $CPPFLAGS'
66890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66893
66894
66895 fi
66896
66897 fi
66898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66899 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66900
66901 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66902 for ac_func in atan2f
66903 do :
66904 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66905 if test "x$ac_cv_func_atan2f" = x""yes; then :
66906 cat >>confdefs.h <<_ACEOF
66907 #define HAVE_ATAN2F 1
66908 _ACEOF
66909
66910 fi
66911 done
66912
66913 else
66914
66915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66916 $as_echo_n "checking for _atan2f declaration... " >&6; }
66917 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66918 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66919 $as_echo_n "(cached) " >&6
66920 else
66921
66922
66923 ac_ext=cpp
66924 ac_cpp='$CXXCPP $CPPFLAGS'
66925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66928
66929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66930 /* end confdefs.h. */
66931 #include <math.h>
66932 int
66933 main ()
66934 {
66935 _atan2f(0, 0);
66936 ;
66937 return 0;
66938 }
66939 _ACEOF
66940 if ac_fn_cxx_try_compile "$LINENO"; then :
66941 glibcxx_cv_func__atan2f_use=yes
66942 else
66943 glibcxx_cv_func__atan2f_use=no
66944 fi
66945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66946 ac_ext=c
66947 ac_cpp='$CPP $CPPFLAGS'
66948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66951
66952
66953 fi
66954
66955 fi
66956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66957 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66958
66959 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66960 for ac_func in _atan2f
66961 do :
66962 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66963 if test "x$ac_cv_func__atan2f" = x""yes; then :
66964 cat >>confdefs.h <<_ACEOF
66965 #define HAVE__ATAN2F 1
66966 _ACEOF
66967
66968 fi
66969 done
66970
66971 fi
66972 fi
66973
66974
66975
66976
66977
66978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66979 $as_echo_n "checking for fabsf declaration... " >&6; }
66980 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66981 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66982 $as_echo_n "(cached) " >&6
66983 else
66984
66985
66986 ac_ext=cpp
66987 ac_cpp='$CXXCPP $CPPFLAGS'
66988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66991
66992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66993 /* end confdefs.h. */
66994 #include <math.h>
66995 #ifdef HAVE_IEEEFP_H
66996 #include <ieeefp.h>
66997 #endif
66998
66999 int
67000 main ()
67001 {
67002 fabsf(0);
67003 ;
67004 return 0;
67005 }
67006 _ACEOF
67007 if ac_fn_cxx_try_compile "$LINENO"; then :
67008 glibcxx_cv_func_fabsf_use=yes
67009 else
67010 glibcxx_cv_func_fabsf_use=no
67011 fi
67012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67013 ac_ext=c
67014 ac_cpp='$CPP $CPPFLAGS'
67015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67018
67019
67020 fi
67021
67022 fi
67023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
67024 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67025
67026 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67027 for ac_func in fabsf
67028 do :
67029 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67030 if test "x$ac_cv_func_fabsf" = x""yes; then :
67031 cat >>confdefs.h <<_ACEOF
67032 #define HAVE_FABSF 1
67033 _ACEOF
67034
67035 fi
67036 done
67037
67038 else
67039
67040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67041 $as_echo_n "checking for _fabsf declaration... " >&6; }
67042 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67043 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67044 $as_echo_n "(cached) " >&6
67045 else
67046
67047
67048 ac_ext=cpp
67049 ac_cpp='$CXXCPP $CPPFLAGS'
67050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67053
67054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67055 /* end confdefs.h. */
67056 #include <math.h>
67057 #ifdef HAVE_IEEEFP_H
67058 #include <ieeefp.h>
67059 #endif
67060
67061 int
67062 main ()
67063 {
67064 _fabsf(0);
67065 ;
67066 return 0;
67067 }
67068 _ACEOF
67069 if ac_fn_cxx_try_compile "$LINENO"; then :
67070 glibcxx_cv_func__fabsf_use=yes
67071 else
67072 glibcxx_cv_func__fabsf_use=no
67073 fi
67074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67075 ac_ext=c
67076 ac_cpp='$CPP $CPPFLAGS'
67077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67080
67081
67082 fi
67083
67084 fi
67085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67086 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67087
67088 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67089 for ac_func in _fabsf
67090 do :
67091 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67092 if test "x$ac_cv_func__fabsf" = x""yes; then :
67093 cat >>confdefs.h <<_ACEOF
67094 #define HAVE__FABSF 1
67095 _ACEOF
67096
67097 fi
67098 done
67099
67100 fi
67101 fi
67102
67103
67104
67105
67106
67107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67108 $as_echo_n "checking for fmodf declaration... " >&6; }
67109 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67110 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67111 $as_echo_n "(cached) " >&6
67112 else
67113
67114
67115 ac_ext=cpp
67116 ac_cpp='$CXXCPP $CPPFLAGS'
67117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67120
67121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67122 /* end confdefs.h. */
67123 #include <math.h>
67124 int
67125 main ()
67126 {
67127 fmodf(0, 0);
67128 ;
67129 return 0;
67130 }
67131 _ACEOF
67132 if ac_fn_cxx_try_compile "$LINENO"; then :
67133 glibcxx_cv_func_fmodf_use=yes
67134 else
67135 glibcxx_cv_func_fmodf_use=no
67136 fi
67137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67138 ac_ext=c
67139 ac_cpp='$CPP $CPPFLAGS'
67140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67143
67144
67145 fi
67146
67147 fi
67148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67149 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67150
67151 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67152 for ac_func in fmodf
67153 do :
67154 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67155 if test "x$ac_cv_func_fmodf" = x""yes; then :
67156 cat >>confdefs.h <<_ACEOF
67157 #define HAVE_FMODF 1
67158 _ACEOF
67159
67160 fi
67161 done
67162
67163 else
67164
67165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67166 $as_echo_n "checking for _fmodf declaration... " >&6; }
67167 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67168 if test "${glibcxx_cv_func__fmodf_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 _fmodf(0, 0);
67186 ;
67187 return 0;
67188 }
67189 _ACEOF
67190 if ac_fn_cxx_try_compile "$LINENO"; then :
67191 glibcxx_cv_func__fmodf_use=yes
67192 else
67193 glibcxx_cv_func__fmodf_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
67203 fi
67204
67205 fi
67206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67207 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67208
67209 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67210 for ac_func in _fmodf
67211 do :
67212 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67213 if test "x$ac_cv_func__fmodf" = x""yes; then :
67214 cat >>confdefs.h <<_ACEOF
67215 #define HAVE__FMODF 1
67216 _ACEOF
67217
67218 fi
67219 done
67220
67221 fi
67222 fi
67223
67224
67225
67226
67227
67228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67229 $as_echo_n "checking for frexpf declaration... " >&6; }
67230 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67231 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67232 $as_echo_n "(cached) " >&6
67233 else
67234
67235
67236 ac_ext=cpp
67237 ac_cpp='$CXXCPP $CPPFLAGS'
67238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67241
67242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67243 /* end confdefs.h. */
67244 #include <math.h>
67245 int
67246 main ()
67247 {
67248 frexpf(0, 0);
67249 ;
67250 return 0;
67251 }
67252 _ACEOF
67253 if ac_fn_cxx_try_compile "$LINENO"; then :
67254 glibcxx_cv_func_frexpf_use=yes
67255 else
67256 glibcxx_cv_func_frexpf_use=no
67257 fi
67258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67259 ac_ext=c
67260 ac_cpp='$CPP $CPPFLAGS'
67261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67264
67265
67266 fi
67267
67268 fi
67269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67270 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67271
67272 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67273 for ac_func in frexpf
67274 do :
67275 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67276 if test "x$ac_cv_func_frexpf" = x""yes; then :
67277 cat >>confdefs.h <<_ACEOF
67278 #define HAVE_FREXPF 1
67279 _ACEOF
67280
67281 fi
67282 done
67283
67284 else
67285
67286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67287 $as_echo_n "checking for _frexpf declaration... " >&6; }
67288 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67289 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67290 $as_echo_n "(cached) " >&6
67291 else
67292
67293
67294 ac_ext=cpp
67295 ac_cpp='$CXXCPP $CPPFLAGS'
67296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67299
67300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67301 /* end confdefs.h. */
67302 #include <math.h>
67303 int
67304 main ()
67305 {
67306 _frexpf(0, 0);
67307 ;
67308 return 0;
67309 }
67310 _ACEOF
67311 if ac_fn_cxx_try_compile "$LINENO"; then :
67312 glibcxx_cv_func__frexpf_use=yes
67313 else
67314 glibcxx_cv_func__frexpf_use=no
67315 fi
67316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67317 ac_ext=c
67318 ac_cpp='$CPP $CPPFLAGS'
67319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67322
67323
67324 fi
67325
67326 fi
67327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67328 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67329
67330 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67331 for ac_func in _frexpf
67332 do :
67333 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67334 if test "x$ac_cv_func__frexpf" = x""yes; then :
67335 cat >>confdefs.h <<_ACEOF
67336 #define HAVE__FREXPF 1
67337 _ACEOF
67338
67339 fi
67340 done
67341
67342 fi
67343 fi
67344
67345
67346
67347
67348
67349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67350 $as_echo_n "checking for hypotf declaration... " >&6; }
67351 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67352 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67353 $as_echo_n "(cached) " >&6
67354 else
67355
67356
67357 ac_ext=cpp
67358 ac_cpp='$CXXCPP $CPPFLAGS'
67359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67362
67363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67364 /* end confdefs.h. */
67365 #include <math.h>
67366 int
67367 main ()
67368 {
67369 hypotf(0, 0);
67370 ;
67371 return 0;
67372 }
67373 _ACEOF
67374 if ac_fn_cxx_try_compile "$LINENO"; then :
67375 glibcxx_cv_func_hypotf_use=yes
67376 else
67377 glibcxx_cv_func_hypotf_use=no
67378 fi
67379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67380 ac_ext=c
67381 ac_cpp='$CPP $CPPFLAGS'
67382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67385
67386
67387 fi
67388
67389 fi
67390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67391 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67392
67393 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67394 for ac_func in hypotf
67395 do :
67396 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67397 if test "x$ac_cv_func_hypotf" = x""yes; then :
67398 cat >>confdefs.h <<_ACEOF
67399 #define HAVE_HYPOTF 1
67400 _ACEOF
67401
67402 fi
67403 done
67404
67405 else
67406
67407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67408 $as_echo_n "checking for _hypotf declaration... " >&6; }
67409 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67410 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67411 $as_echo_n "(cached) " >&6
67412 else
67413
67414
67415 ac_ext=cpp
67416 ac_cpp='$CXXCPP $CPPFLAGS'
67417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67420
67421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67422 /* end confdefs.h. */
67423 #include <math.h>
67424 int
67425 main ()
67426 {
67427 _hypotf(0, 0);
67428 ;
67429 return 0;
67430 }
67431 _ACEOF
67432 if ac_fn_cxx_try_compile "$LINENO"; then :
67433 glibcxx_cv_func__hypotf_use=yes
67434 else
67435 glibcxx_cv_func__hypotf_use=no
67436 fi
67437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67438 ac_ext=c
67439 ac_cpp='$CPP $CPPFLAGS'
67440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67443
67444
67445 fi
67446
67447 fi
67448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67449 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67450
67451 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67452 for ac_func in _hypotf
67453 do :
67454 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67455 if test "x$ac_cv_func__hypotf" = x""yes; then :
67456 cat >>confdefs.h <<_ACEOF
67457 #define HAVE__HYPOTF 1
67458 _ACEOF
67459
67460 fi
67461 done
67462
67463 fi
67464 fi
67465
67466
67467
67468
67469
67470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67471 $as_echo_n "checking for ldexpf declaration... " >&6; }
67472 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67473 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67474 $as_echo_n "(cached) " >&6
67475 else
67476
67477
67478 ac_ext=cpp
67479 ac_cpp='$CXXCPP $CPPFLAGS'
67480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67483
67484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67485 /* end confdefs.h. */
67486 #include <math.h>
67487 int
67488 main ()
67489 {
67490 ldexpf(0, 0);
67491 ;
67492 return 0;
67493 }
67494 _ACEOF
67495 if ac_fn_cxx_try_compile "$LINENO"; then :
67496 glibcxx_cv_func_ldexpf_use=yes
67497 else
67498 glibcxx_cv_func_ldexpf_use=no
67499 fi
67500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67501 ac_ext=c
67502 ac_cpp='$CPP $CPPFLAGS'
67503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67506
67507
67508 fi
67509
67510 fi
67511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67512 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67513
67514 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67515 for ac_func in ldexpf
67516 do :
67517 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67518 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67519 cat >>confdefs.h <<_ACEOF
67520 #define HAVE_LDEXPF 1
67521 _ACEOF
67522
67523 fi
67524 done
67525
67526 else
67527
67528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67529 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67530 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67531 if test "${glibcxx_cv_func__ldexpf_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 int
67546 main ()
67547 {
67548 _ldexpf(0, 0);
67549 ;
67550 return 0;
67551 }
67552 _ACEOF
67553 if ac_fn_cxx_try_compile "$LINENO"; then :
67554 glibcxx_cv_func__ldexpf_use=yes
67555 else
67556 glibcxx_cv_func__ldexpf_use=no
67557 fi
67558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67559 ac_ext=c
67560 ac_cpp='$CPP $CPPFLAGS'
67561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67564
67565
67566 fi
67567
67568 fi
67569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67570 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67571
67572 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67573 for ac_func in _ldexpf
67574 do :
67575 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67576 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67577 cat >>confdefs.h <<_ACEOF
67578 #define HAVE__LDEXPF 1
67579 _ACEOF
67580
67581 fi
67582 done
67583
67584 fi
67585 fi
67586
67587
67588
67589
67590
67591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67592 $as_echo_n "checking for logf declaration... " >&6; }
67593 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67594 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67595 $as_echo_n "(cached) " >&6
67596 else
67597
67598
67599 ac_ext=cpp
67600 ac_cpp='$CXXCPP $CPPFLAGS'
67601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67604
67605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67606 /* end confdefs.h. */
67607 #include <math.h>
67608 #ifdef HAVE_IEEEFP_H
67609 #include <ieeefp.h>
67610 #endif
67611
67612 int
67613 main ()
67614 {
67615 logf(0);
67616 ;
67617 return 0;
67618 }
67619 _ACEOF
67620 if ac_fn_cxx_try_compile "$LINENO"; then :
67621 glibcxx_cv_func_logf_use=yes
67622 else
67623 glibcxx_cv_func_logf_use=no
67624 fi
67625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67626 ac_ext=c
67627 ac_cpp='$CPP $CPPFLAGS'
67628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67631
67632
67633 fi
67634
67635 fi
67636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67637 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67638
67639 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67640 for ac_func in logf
67641 do :
67642 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67643 if test "x$ac_cv_func_logf" = x""yes; then :
67644 cat >>confdefs.h <<_ACEOF
67645 #define HAVE_LOGF 1
67646 _ACEOF
67647
67648 fi
67649 done
67650
67651 else
67652
67653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67654 $as_echo_n "checking for _logf declaration... " >&6; }
67655 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67656 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67657 $as_echo_n "(cached) " >&6
67658 else
67659
67660
67661 ac_ext=cpp
67662 ac_cpp='$CXXCPP $CPPFLAGS'
67663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67666
67667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67668 /* end confdefs.h. */
67669 #include <math.h>
67670 #ifdef HAVE_IEEEFP_H
67671 #include <ieeefp.h>
67672 #endif
67673
67674 int
67675 main ()
67676 {
67677 _logf(0);
67678 ;
67679 return 0;
67680 }
67681 _ACEOF
67682 if ac_fn_cxx_try_compile "$LINENO"; then :
67683 glibcxx_cv_func__logf_use=yes
67684 else
67685 glibcxx_cv_func__logf_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__logf_use" >&5
67699 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67700
67701 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67702 for ac_func in _logf
67703 do :
67704 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67705 if test "x$ac_cv_func__logf" = x""yes; then :
67706 cat >>confdefs.h <<_ACEOF
67707 #define HAVE__LOGF 1
67708 _ACEOF
67709
67710 fi
67711 done
67712
67713 fi
67714 fi
67715
67716
67717
67718
67719
67720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67721 $as_echo_n "checking for log10f declaration... " >&6; }
67722 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67723 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67724 $as_echo_n "(cached) " >&6
67725 else
67726
67727
67728 ac_ext=cpp
67729 ac_cpp='$CXXCPP $CPPFLAGS'
67730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67733
67734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67735 /* end confdefs.h. */
67736 #include <math.h>
67737 #ifdef HAVE_IEEEFP_H
67738 #include <ieeefp.h>
67739 #endif
67740
67741 int
67742 main ()
67743 {
67744 log10f(0);
67745 ;
67746 return 0;
67747 }
67748 _ACEOF
67749 if ac_fn_cxx_try_compile "$LINENO"; then :
67750 glibcxx_cv_func_log10f_use=yes
67751 else
67752 glibcxx_cv_func_log10f_use=no
67753 fi
67754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67755 ac_ext=c
67756 ac_cpp='$CPP $CPPFLAGS'
67757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67760
67761
67762 fi
67763
67764 fi
67765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67766 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67767
67768 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67769 for ac_func in log10f
67770 do :
67771 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67772 if test "x$ac_cv_func_log10f" = x""yes; then :
67773 cat >>confdefs.h <<_ACEOF
67774 #define HAVE_LOG10F 1
67775 _ACEOF
67776
67777 fi
67778 done
67779
67780 else
67781
67782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67783 $as_echo_n "checking for _log10f declaration... " >&6; }
67784 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67785 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67786 $as_echo_n "(cached) " >&6
67787 else
67788
67789
67790 ac_ext=cpp
67791 ac_cpp='$CXXCPP $CPPFLAGS'
67792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67795
67796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67797 /* end confdefs.h. */
67798 #include <math.h>
67799 #ifdef HAVE_IEEEFP_H
67800 #include <ieeefp.h>
67801 #endif
67802
67803 int
67804 main ()
67805 {
67806 _log10f(0);
67807 ;
67808 return 0;
67809 }
67810 _ACEOF
67811 if ac_fn_cxx_try_compile "$LINENO"; then :
67812 glibcxx_cv_func__log10f_use=yes
67813 else
67814 glibcxx_cv_func__log10f_use=no
67815 fi
67816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67817 ac_ext=c
67818 ac_cpp='$CPP $CPPFLAGS'
67819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67822
67823
67824 fi
67825
67826 fi
67827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67828 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67829
67830 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67831 for ac_func in _log10f
67832 do :
67833 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67834 if test "x$ac_cv_func__log10f" = x""yes; then :
67835 cat >>confdefs.h <<_ACEOF
67836 #define HAVE__LOG10F 1
67837 _ACEOF
67838
67839 fi
67840 done
67841
67842 fi
67843 fi
67844
67845
67846
67847
67848
67849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67850 $as_echo_n "checking for modff declaration... " >&6; }
67851 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67852 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67853 $as_echo_n "(cached) " >&6
67854 else
67855
67856
67857 ac_ext=cpp
67858 ac_cpp='$CXXCPP $CPPFLAGS'
67859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67862
67863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67864 /* end confdefs.h. */
67865 #include <math.h>
67866 int
67867 main ()
67868 {
67869 modff(0, 0);
67870 ;
67871 return 0;
67872 }
67873 _ACEOF
67874 if ac_fn_cxx_try_compile "$LINENO"; then :
67875 glibcxx_cv_func_modff_use=yes
67876 else
67877 glibcxx_cv_func_modff_use=no
67878 fi
67879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67880 ac_ext=c
67881 ac_cpp='$CPP $CPPFLAGS'
67882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67885
67886
67887 fi
67888
67889 fi
67890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67891 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67892
67893 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67894 for ac_func in modff
67895 do :
67896 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67897 if test "x$ac_cv_func_modff" = x""yes; then :
67898 cat >>confdefs.h <<_ACEOF
67899 #define HAVE_MODFF 1
67900 _ACEOF
67901
67902 fi
67903 done
67904
67905 else
67906
67907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67908 $as_echo_n "checking for _modff declaration... " >&6; }
67909 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67910 if test "${glibcxx_cv_func__modff_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 int
67925 main ()
67926 {
67927 _modff(0, 0);
67928 ;
67929 return 0;
67930 }
67931 _ACEOF
67932 if ac_fn_cxx_try_compile "$LINENO"; then :
67933 glibcxx_cv_func__modff_use=yes
67934 else
67935 glibcxx_cv_func__modff_use=no
67936 fi
67937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67938 ac_ext=c
67939 ac_cpp='$CPP $CPPFLAGS'
67940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67943
67944
67945 fi
67946
67947 fi
67948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67949 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67950
67951 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67952 for ac_func in _modff
67953 do :
67954 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67955 if test "x$ac_cv_func__modff" = x""yes; then :
67956 cat >>confdefs.h <<_ACEOF
67957 #define HAVE__MODFF 1
67958 _ACEOF
67959
67960 fi
67961 done
67962
67963 fi
67964 fi
67965
67966
67967
67968
67969
67970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67971 $as_echo_n "checking for modf declaration... " >&6; }
67972 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67973 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67974 $as_echo_n "(cached) " >&6
67975 else
67976
67977
67978 ac_ext=cpp
67979 ac_cpp='$CXXCPP $CPPFLAGS'
67980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67983
67984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67985 /* end confdefs.h. */
67986 #include <math.h>
67987 int
67988 main ()
67989 {
67990 modf(0, 0);
67991 ;
67992 return 0;
67993 }
67994 _ACEOF
67995 if ac_fn_cxx_try_compile "$LINENO"; then :
67996 glibcxx_cv_func_modf_use=yes
67997 else
67998 glibcxx_cv_func_modf_use=no
67999 fi
68000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68001 ac_ext=c
68002 ac_cpp='$CPP $CPPFLAGS'
68003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68006
68007
68008 fi
68009
68010 fi
68011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68012 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68013
68014 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68015 for ac_func in modf
68016 do :
68017 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68018 if test "x$ac_cv_func_modf" = x""yes; then :
68019 cat >>confdefs.h <<_ACEOF
68020 #define HAVE_MODF 1
68021 _ACEOF
68022
68023 fi
68024 done
68025
68026 else
68027
68028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68029 $as_echo_n "checking for _modf declaration... " >&6; }
68030 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68031 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68032 $as_echo_n "(cached) " >&6
68033 else
68034
68035
68036 ac_ext=cpp
68037 ac_cpp='$CXXCPP $CPPFLAGS'
68038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68041
68042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68043 /* end confdefs.h. */
68044 #include <math.h>
68045 int
68046 main ()
68047 {
68048 _modf(0, 0);
68049 ;
68050 return 0;
68051 }
68052 _ACEOF
68053 if ac_fn_cxx_try_compile "$LINENO"; then :
68054 glibcxx_cv_func__modf_use=yes
68055 else
68056 glibcxx_cv_func__modf_use=no
68057 fi
68058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68059 ac_ext=c
68060 ac_cpp='$CPP $CPPFLAGS'
68061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68064
68065
68066 fi
68067
68068 fi
68069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68070 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68071
68072 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68073 for ac_func in _modf
68074 do :
68075 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68076 if test "x$ac_cv_func__modf" = x""yes; then :
68077 cat >>confdefs.h <<_ACEOF
68078 #define HAVE__MODF 1
68079 _ACEOF
68080
68081 fi
68082 done
68083
68084 fi
68085 fi
68086
68087
68088
68089
68090
68091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68092 $as_echo_n "checking for powf declaration... " >&6; }
68093 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68094 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68095 $as_echo_n "(cached) " >&6
68096 else
68097
68098
68099 ac_ext=cpp
68100 ac_cpp='$CXXCPP $CPPFLAGS'
68101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68104
68105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68106 /* end confdefs.h. */
68107 #include <math.h>
68108 int
68109 main ()
68110 {
68111 powf(0, 0);
68112 ;
68113 return 0;
68114 }
68115 _ACEOF
68116 if ac_fn_cxx_try_compile "$LINENO"; then :
68117 glibcxx_cv_func_powf_use=yes
68118 else
68119 glibcxx_cv_func_powf_use=no
68120 fi
68121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68122 ac_ext=c
68123 ac_cpp='$CPP $CPPFLAGS'
68124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68127
68128
68129 fi
68130
68131 fi
68132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68133 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68134
68135 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68136 for ac_func in powf
68137 do :
68138 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68139 if test "x$ac_cv_func_powf" = x""yes; then :
68140 cat >>confdefs.h <<_ACEOF
68141 #define HAVE_POWF 1
68142 _ACEOF
68143
68144 fi
68145 done
68146
68147 else
68148
68149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68150 $as_echo_n "checking for _powf declaration... " >&6; }
68151 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68152 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68153 $as_echo_n "(cached) " >&6
68154 else
68155
68156
68157 ac_ext=cpp
68158 ac_cpp='$CXXCPP $CPPFLAGS'
68159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68162
68163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68164 /* end confdefs.h. */
68165 #include <math.h>
68166 int
68167 main ()
68168 {
68169 _powf(0, 0);
68170 ;
68171 return 0;
68172 }
68173 _ACEOF
68174 if ac_fn_cxx_try_compile "$LINENO"; then :
68175 glibcxx_cv_func__powf_use=yes
68176 else
68177 glibcxx_cv_func__powf_use=no
68178 fi
68179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68180 ac_ext=c
68181 ac_cpp='$CPP $CPPFLAGS'
68182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68185
68186
68187 fi
68188
68189 fi
68190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68191 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68192
68193 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68194 for ac_func in _powf
68195 do :
68196 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68197 if test "x$ac_cv_func__powf" = x""yes; then :
68198 cat >>confdefs.h <<_ACEOF
68199 #define HAVE__POWF 1
68200 _ACEOF
68201
68202 fi
68203 done
68204
68205 fi
68206 fi
68207
68208
68209
68210
68211
68212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68213 $as_echo_n "checking for sqrtf declaration... " >&6; }
68214 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68215 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68216 $as_echo_n "(cached) " >&6
68217 else
68218
68219
68220 ac_ext=cpp
68221 ac_cpp='$CXXCPP $CPPFLAGS'
68222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68225
68226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68227 /* end confdefs.h. */
68228 #include <math.h>
68229 #ifdef HAVE_IEEEFP_H
68230 #include <ieeefp.h>
68231 #endif
68232
68233 int
68234 main ()
68235 {
68236 sqrtf(0);
68237 ;
68238 return 0;
68239 }
68240 _ACEOF
68241 if ac_fn_cxx_try_compile "$LINENO"; then :
68242 glibcxx_cv_func_sqrtf_use=yes
68243 else
68244 glibcxx_cv_func_sqrtf_use=no
68245 fi
68246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68247 ac_ext=c
68248 ac_cpp='$CPP $CPPFLAGS'
68249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68252
68253
68254 fi
68255
68256 fi
68257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68258 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68259
68260 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68261 for ac_func in sqrtf
68262 do :
68263 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68264 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68265 cat >>confdefs.h <<_ACEOF
68266 #define HAVE_SQRTF 1
68267 _ACEOF
68268
68269 fi
68270 done
68271
68272 else
68273
68274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68275 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68276 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68277 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68278 $as_echo_n "(cached) " >&6
68279 else
68280
68281
68282 ac_ext=cpp
68283 ac_cpp='$CXXCPP $CPPFLAGS'
68284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68287
68288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68289 /* end confdefs.h. */
68290 #include <math.h>
68291 #ifdef HAVE_IEEEFP_H
68292 #include <ieeefp.h>
68293 #endif
68294
68295 int
68296 main ()
68297 {
68298 _sqrtf(0);
68299 ;
68300 return 0;
68301 }
68302 _ACEOF
68303 if ac_fn_cxx_try_compile "$LINENO"; then :
68304 glibcxx_cv_func__sqrtf_use=yes
68305 else
68306 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
68320 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68321
68322 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68323 for ac_func in _sqrtf
68324 do :
68325 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68326 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68327 cat >>confdefs.h <<_ACEOF
68328 #define HAVE__SQRTF 1
68329 _ACEOF
68330
68331 fi
68332 done
68333
68334 fi
68335 fi
68336
68337
68338
68339
68340
68341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68342 $as_echo_n "checking for sincosf declaration... " >&6; }
68343 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68344 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68345 $as_echo_n "(cached) " >&6
68346 else
68347
68348
68349 ac_ext=cpp
68350 ac_cpp='$CXXCPP $CPPFLAGS'
68351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68354
68355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68356 /* end confdefs.h. */
68357 #include <math.h>
68358 int
68359 main ()
68360 {
68361 sincosf(0, 0, 0);
68362 ;
68363 return 0;
68364 }
68365 _ACEOF
68366 if ac_fn_cxx_try_compile "$LINENO"; then :
68367 glibcxx_cv_func_sincosf_use=yes
68368 else
68369 glibcxx_cv_func_sincosf_use=no
68370 fi
68371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68372 ac_ext=c
68373 ac_cpp='$CPP $CPPFLAGS'
68374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68377
68378
68379 fi
68380
68381 fi
68382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68383 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68384
68385 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68386 for ac_func in sincosf
68387 do :
68388 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68389 if test "x$ac_cv_func_sincosf" = x""yes; then :
68390 cat >>confdefs.h <<_ACEOF
68391 #define HAVE_SINCOSF 1
68392 _ACEOF
68393
68394 fi
68395 done
68396
68397 else
68398
68399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68400 $as_echo_n "checking for _sincosf declaration... " >&6; }
68401 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68402 if test "${glibcxx_cv_func__sincosf_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 _sincosf(0, 0, 0);
68420 ;
68421 return 0;
68422 }
68423 _ACEOF
68424 if ac_fn_cxx_try_compile "$LINENO"; then :
68425 glibcxx_cv_func__sincosf_use=yes
68426 else
68427 glibcxx_cv_func__sincosf_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__sincosf_use" >&5
68441 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68442
68443 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68444 for ac_func in _sincosf
68445 do :
68446 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68447 if test "x$ac_cv_func__sincosf" = x""yes; then :
68448 cat >>confdefs.h <<_ACEOF
68449 #define HAVE__SINCOSF 1
68450 _ACEOF
68451
68452 fi
68453 done
68454
68455 fi
68456 fi
68457
68458
68459
68460
68461
68462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68463 $as_echo_n "checking for finitef declaration... " >&6; }
68464 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68465 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68466 $as_echo_n "(cached) " >&6
68467 else
68468
68469
68470 ac_ext=cpp
68471 ac_cpp='$CXXCPP $CPPFLAGS'
68472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68475
68476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68477 /* end confdefs.h. */
68478 #include <math.h>
68479 #ifdef HAVE_IEEEFP_H
68480 #include <ieeefp.h>
68481 #endif
68482
68483 int
68484 main ()
68485 {
68486 finitef(0);
68487 ;
68488 return 0;
68489 }
68490 _ACEOF
68491 if ac_fn_cxx_try_compile "$LINENO"; then :
68492 glibcxx_cv_func_finitef_use=yes
68493 else
68494 glibcxx_cv_func_finitef_use=no
68495 fi
68496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68497 ac_ext=c
68498 ac_cpp='$CPP $CPPFLAGS'
68499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68502
68503
68504 fi
68505
68506 fi
68507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68508 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68509
68510 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68511 for ac_func in finitef
68512 do :
68513 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68514 if test "x$ac_cv_func_finitef" = x""yes; then :
68515 cat >>confdefs.h <<_ACEOF
68516 #define HAVE_FINITEF 1
68517 _ACEOF
68518
68519 fi
68520 done
68521
68522 else
68523
68524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68525 $as_echo_n "checking for _finitef declaration... " >&6; }
68526 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68527 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68528 $as_echo_n "(cached) " >&6
68529 else
68530
68531
68532 ac_ext=cpp
68533 ac_cpp='$CXXCPP $CPPFLAGS'
68534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68537
68538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68539 /* end confdefs.h. */
68540 #include <math.h>
68541 #ifdef HAVE_IEEEFP_H
68542 #include <ieeefp.h>
68543 #endif
68544
68545 int
68546 main ()
68547 {
68548 _finitef(0);
68549 ;
68550 return 0;
68551 }
68552 _ACEOF
68553 if ac_fn_cxx_try_compile "$LINENO"; then :
68554 glibcxx_cv_func__finitef_use=yes
68555 else
68556 glibcxx_cv_func__finitef_use=no
68557 fi
68558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68559 ac_ext=c
68560 ac_cpp='$CPP $CPPFLAGS'
68561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68564
68565
68566 fi
68567
68568 fi
68569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68570 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68571
68572 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68573 for ac_func in _finitef
68574 do :
68575 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68576 if test "x$ac_cv_func__finitef" = x""yes; then :
68577 cat >>confdefs.h <<_ACEOF
68578 #define HAVE__FINITEF 1
68579 _ACEOF
68580
68581 fi
68582 done
68583
68584 fi
68585 fi
68586
68587
68588
68589
68590
68591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68592 $as_echo_n "checking for long double trig functions... " >&6; }
68593 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68594 $as_echo_n "(cached) " >&6
68595 else
68596
68597
68598 ac_ext=cpp
68599 ac_cpp='$CXXCPP $CPPFLAGS'
68600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68603
68604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68605 /* end confdefs.h. */
68606 #include <math.h>
68607 int
68608 main ()
68609 {
68610 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68611 ;
68612 return 0;
68613 }
68614 _ACEOF
68615 if ac_fn_cxx_try_compile "$LINENO"; then :
68616 glibcxx_cv_func_long_double_trig_use=yes
68617 else
68618 glibcxx_cv_func_long_double_trig_use=no
68619 fi
68620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68621 ac_ext=c
68622 ac_cpp='$CPP $CPPFLAGS'
68623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68626
68627 fi
68628
68629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68630 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68631 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68632 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68633 do :
68634 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68635 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68636 eval as_val=\$$as_ac_var
68637 if test "x$as_val" = x""yes; then :
68638 cat >>confdefs.h <<_ACEOF
68639 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68640 _ACEOF
68641
68642 fi
68643 done
68644
68645 else
68646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68647 $as_echo_n "checking for _long double trig functions... " >&6; }
68648 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68649 $as_echo_n "(cached) " >&6
68650 else
68651
68652
68653 ac_ext=cpp
68654 ac_cpp='$CXXCPP $CPPFLAGS'
68655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68658
68659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68660 /* end confdefs.h. */
68661 #include <math.h>
68662 int
68663 main ()
68664 {
68665 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68666 ;
68667 return 0;
68668 }
68669 _ACEOF
68670 if ac_fn_cxx_try_compile "$LINENO"; then :
68671 glibcxx_cv_func__long_double_trig_use=yes
68672 else
68673 glibcxx_cv_func__long_double_trig_use=no
68674 fi
68675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68676 ac_ext=c
68677 ac_cpp='$CPP $CPPFLAGS'
68678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68681
68682 fi
68683
68684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68685 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68686 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68687 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68688 do :
68689 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68690 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68691 eval as_val=\$$as_ac_var
68692 if test "x$as_val" = x""yes; then :
68693 cat >>confdefs.h <<_ACEOF
68694 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68695 _ACEOF
68696
68697 fi
68698 done
68699
68700 fi
68701 fi
68702
68703
68704
68705
68706
68707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68708 $as_echo_n "checking for long double round functions... " >&6; }
68709 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68710 $as_echo_n "(cached) " >&6
68711 else
68712
68713
68714 ac_ext=cpp
68715 ac_cpp='$CXXCPP $CPPFLAGS'
68716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68719
68720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68721 /* end confdefs.h. */
68722 #include <math.h>
68723 int
68724 main ()
68725 {
68726 ceill (0); floorl (0);
68727 ;
68728 return 0;
68729 }
68730 _ACEOF
68731 if ac_fn_cxx_try_compile "$LINENO"; then :
68732 glibcxx_cv_func_long_double_round_use=yes
68733 else
68734 glibcxx_cv_func_long_double_round_use=no
68735 fi
68736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68737 ac_ext=c
68738 ac_cpp='$CPP $CPPFLAGS'
68739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68742
68743 fi
68744
68745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68746 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68747 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68748 for ac_func in ceill floorl
68749 do :
68750 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68751 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68752 eval as_val=\$$as_ac_var
68753 if test "x$as_val" = x""yes; then :
68754 cat >>confdefs.h <<_ACEOF
68755 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68756 _ACEOF
68757
68758 fi
68759 done
68760
68761 else
68762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68763 $as_echo_n "checking for _long double round functions... " >&6; }
68764 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68765 $as_echo_n "(cached) " >&6
68766 else
68767
68768
68769 ac_ext=cpp
68770 ac_cpp='$CXXCPP $CPPFLAGS'
68771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68774
68775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68776 /* end confdefs.h. */
68777 #include <math.h>
68778 int
68779 main ()
68780 {
68781 _ceill (0); _floorl (0);
68782 ;
68783 return 0;
68784 }
68785 _ACEOF
68786 if ac_fn_cxx_try_compile "$LINENO"; then :
68787 glibcxx_cv_func__long_double_round_use=yes
68788 else
68789 glibcxx_cv_func__long_double_round_use=no
68790 fi
68791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68792 ac_ext=c
68793 ac_cpp='$CPP $CPPFLAGS'
68794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68797
68798 fi
68799
68800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68801 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68802 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68803 for ac_func in _ceill _floorl
68804 do :
68805 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68806 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68807 eval as_val=\$$as_ac_var
68808 if test "x$as_val" = x""yes; then :
68809 cat >>confdefs.h <<_ACEOF
68810 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68811 _ACEOF
68812
68813 fi
68814 done
68815
68816 fi
68817 fi
68818
68819
68820
68821
68822
68823
68824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68825 $as_echo_n "checking for isnanl declaration... " >&6; }
68826 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68827 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68828 $as_echo_n "(cached) " >&6
68829 else
68830
68831
68832 ac_ext=cpp
68833 ac_cpp='$CXXCPP $CPPFLAGS'
68834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68837
68838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68839 /* end confdefs.h. */
68840 #include <math.h>
68841 #ifdef HAVE_IEEEFP_H
68842 #include <ieeefp.h>
68843 #endif
68844
68845 int
68846 main ()
68847 {
68848 isnanl(0);
68849 ;
68850 return 0;
68851 }
68852 _ACEOF
68853 if ac_fn_cxx_try_compile "$LINENO"; then :
68854 glibcxx_cv_func_isnanl_use=yes
68855 else
68856 glibcxx_cv_func_isnanl_use=no
68857 fi
68858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68859 ac_ext=c
68860 ac_cpp='$CPP $CPPFLAGS'
68861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68864
68865
68866 fi
68867
68868 fi
68869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68870 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68871
68872 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68873 for ac_func in isnanl
68874 do :
68875 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68876 if test "x$ac_cv_func_isnanl" = x""yes; then :
68877 cat >>confdefs.h <<_ACEOF
68878 #define HAVE_ISNANL 1
68879 _ACEOF
68880
68881 fi
68882 done
68883
68884 else
68885
68886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68887 $as_echo_n "checking for _isnanl declaration... " >&6; }
68888 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68889 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68890 $as_echo_n "(cached) " >&6
68891 else
68892
68893
68894 ac_ext=cpp
68895 ac_cpp='$CXXCPP $CPPFLAGS'
68896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68899
68900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68901 /* end confdefs.h. */
68902 #include <math.h>
68903 #ifdef HAVE_IEEEFP_H
68904 #include <ieeefp.h>
68905 #endif
68906
68907 int
68908 main ()
68909 {
68910 _isnanl(0);
68911 ;
68912 return 0;
68913 }
68914 _ACEOF
68915 if ac_fn_cxx_try_compile "$LINENO"; then :
68916 glibcxx_cv_func__isnanl_use=yes
68917 else
68918 glibcxx_cv_func__isnanl_use=no
68919 fi
68920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68921 ac_ext=c
68922 ac_cpp='$CPP $CPPFLAGS'
68923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68926
68927
68928 fi
68929
68930 fi
68931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68932 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68933
68934 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68935 for ac_func in _isnanl
68936 do :
68937 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68938 if test "x$ac_cv_func__isnanl" = x""yes; then :
68939 cat >>confdefs.h <<_ACEOF
68940 #define HAVE__ISNANL 1
68941 _ACEOF
68942
68943 fi
68944 done
68945
68946 fi
68947 fi
68948
68949
68950
68951
68952
68953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68954 $as_echo_n "checking for isinfl declaration... " >&6; }
68955 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68956 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68957 $as_echo_n "(cached) " >&6
68958 else
68959
68960
68961 ac_ext=cpp
68962 ac_cpp='$CXXCPP $CPPFLAGS'
68963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68966
68967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68968 /* end confdefs.h. */
68969 #include <math.h>
68970 #ifdef HAVE_IEEEFP_H
68971 #include <ieeefp.h>
68972 #endif
68973
68974 int
68975 main ()
68976 {
68977 isinfl(0);
68978 ;
68979 return 0;
68980 }
68981 _ACEOF
68982 if ac_fn_cxx_try_compile "$LINENO"; then :
68983 glibcxx_cv_func_isinfl_use=yes
68984 else
68985 glibcxx_cv_func_isinfl_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_isinfl_use" >&5
68999 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
69000
69001 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
69002 for ac_func in isinfl
69003 do :
69004 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
69005 if test "x$ac_cv_func_isinfl" = x""yes; then :
69006 cat >>confdefs.h <<_ACEOF
69007 #define HAVE_ISINFL 1
69008 _ACEOF
69009
69010 fi
69011 done
69012
69013 else
69014
69015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69016 $as_echo_n "checking for _isinfl declaration... " >&6; }
69017 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69018 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69019 $as_echo_n "(cached) " >&6
69020 else
69021
69022
69023 ac_ext=cpp
69024 ac_cpp='$CXXCPP $CPPFLAGS'
69025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69028
69029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69030 /* end confdefs.h. */
69031 #include <math.h>
69032 #ifdef HAVE_IEEEFP_H
69033 #include <ieeefp.h>
69034 #endif
69035
69036 int
69037 main ()
69038 {
69039 _isinfl(0);
69040 ;
69041 return 0;
69042 }
69043 _ACEOF
69044 if ac_fn_cxx_try_compile "$LINENO"; then :
69045 glibcxx_cv_func__isinfl_use=yes
69046 else
69047 glibcxx_cv_func__isinfl_use=no
69048 fi
69049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69050 ac_ext=c
69051 ac_cpp='$CPP $CPPFLAGS'
69052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69055
69056
69057 fi
69058
69059 fi
69060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69061 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69062
69063 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69064 for ac_func in _isinfl
69065 do :
69066 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69067 if test "x$ac_cv_func__isinfl" = x""yes; then :
69068 cat >>confdefs.h <<_ACEOF
69069 #define HAVE__ISINFL 1
69070 _ACEOF
69071
69072 fi
69073 done
69074
69075 fi
69076 fi
69077
69078
69079
69080
69081
69082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69083 $as_echo_n "checking for atan2l declaration... " >&6; }
69084 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69085 if test "${glibcxx_cv_func_atan2l_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 int
69100 main ()
69101 {
69102 atan2l(0, 0);
69103 ;
69104 return 0;
69105 }
69106 _ACEOF
69107 if ac_fn_cxx_try_compile "$LINENO"; then :
69108 glibcxx_cv_func_atan2l_use=yes
69109 else
69110 glibcxx_cv_func_atan2l_use=no
69111 fi
69112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69113 ac_ext=c
69114 ac_cpp='$CPP $CPPFLAGS'
69115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69118
69119
69120 fi
69121
69122 fi
69123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69124 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69125
69126 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69127 for ac_func in atan2l
69128 do :
69129 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69130 if test "x$ac_cv_func_atan2l" = x""yes; then :
69131 cat >>confdefs.h <<_ACEOF
69132 #define HAVE_ATAN2L 1
69133 _ACEOF
69134
69135 fi
69136 done
69137
69138 else
69139
69140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69141 $as_echo_n "checking for _atan2l declaration... " >&6; }
69142 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69143 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69144 $as_echo_n "(cached) " >&6
69145 else
69146
69147
69148 ac_ext=cpp
69149 ac_cpp='$CXXCPP $CPPFLAGS'
69150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69153
69154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69155 /* end confdefs.h. */
69156 #include <math.h>
69157 int
69158 main ()
69159 {
69160 _atan2l(0, 0);
69161 ;
69162 return 0;
69163 }
69164 _ACEOF
69165 if ac_fn_cxx_try_compile "$LINENO"; then :
69166 glibcxx_cv_func__atan2l_use=yes
69167 else
69168 glibcxx_cv_func__atan2l_use=no
69169 fi
69170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69171 ac_ext=c
69172 ac_cpp='$CPP $CPPFLAGS'
69173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69176
69177
69178 fi
69179
69180 fi
69181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69182 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69183
69184 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69185 for ac_func in _atan2l
69186 do :
69187 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69188 if test "x$ac_cv_func__atan2l" = x""yes; then :
69189 cat >>confdefs.h <<_ACEOF
69190 #define HAVE__ATAN2L 1
69191 _ACEOF
69192
69193 fi
69194 done
69195
69196 fi
69197 fi
69198
69199
69200
69201
69202
69203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69204 $as_echo_n "checking for expl declaration... " >&6; }
69205 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69206 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69207 $as_echo_n "(cached) " >&6
69208 else
69209
69210
69211 ac_ext=cpp
69212 ac_cpp='$CXXCPP $CPPFLAGS'
69213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69216
69217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69218 /* end confdefs.h. */
69219 #include <math.h>
69220 #ifdef HAVE_IEEEFP_H
69221 #include <ieeefp.h>
69222 #endif
69223
69224 int
69225 main ()
69226 {
69227 expl(0);
69228 ;
69229 return 0;
69230 }
69231 _ACEOF
69232 if ac_fn_cxx_try_compile "$LINENO"; then :
69233 glibcxx_cv_func_expl_use=yes
69234 else
69235 glibcxx_cv_func_expl_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_expl_use" >&5
69249 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69250
69251 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69252 for ac_func in expl
69253 do :
69254 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69255 if test "x$ac_cv_func_expl" = x""yes; then :
69256 cat >>confdefs.h <<_ACEOF
69257 #define HAVE_EXPL 1
69258 _ACEOF
69259
69260 fi
69261 done
69262
69263 else
69264
69265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69266 $as_echo_n "checking for _expl declaration... " >&6; }
69267 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69268 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69269 $as_echo_n "(cached) " >&6
69270 else
69271
69272
69273 ac_ext=cpp
69274 ac_cpp='$CXXCPP $CPPFLAGS'
69275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69278
69279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69280 /* end confdefs.h. */
69281 #include <math.h>
69282 #ifdef HAVE_IEEEFP_H
69283 #include <ieeefp.h>
69284 #endif
69285
69286 int
69287 main ()
69288 {
69289 _expl(0);
69290 ;
69291 return 0;
69292 }
69293 _ACEOF
69294 if ac_fn_cxx_try_compile "$LINENO"; then :
69295 glibcxx_cv_func__expl_use=yes
69296 else
69297 glibcxx_cv_func__expl_use=no
69298 fi
69299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69300 ac_ext=c
69301 ac_cpp='$CPP $CPPFLAGS'
69302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69305
69306
69307 fi
69308
69309 fi
69310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69311 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69312
69313 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69314 for ac_func in _expl
69315 do :
69316 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69317 if test "x$ac_cv_func__expl" = x""yes; then :
69318 cat >>confdefs.h <<_ACEOF
69319 #define HAVE__EXPL 1
69320 _ACEOF
69321
69322 fi
69323 done
69324
69325 fi
69326 fi
69327
69328
69329
69330
69331
69332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69333 $as_echo_n "checking for fabsl declaration... " >&6; }
69334 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69335 if test "${glibcxx_cv_func_fabsl_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 fabsl(0);
69357 ;
69358 return 0;
69359 }
69360 _ACEOF
69361 if ac_fn_cxx_try_compile "$LINENO"; then :
69362 glibcxx_cv_func_fabsl_use=yes
69363 else
69364 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
69378 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69379
69380 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69381 for ac_func in fabsl
69382 do :
69383 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69384 if test "x$ac_cv_func_fabsl" = x""yes; then :
69385 cat >>confdefs.h <<_ACEOF
69386 #define HAVE_FABSL 1
69387 _ACEOF
69388
69389 fi
69390 done
69391
69392 else
69393
69394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69395 $as_echo_n "checking for _fabsl declaration... " >&6; }
69396 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69397 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69398 $as_echo_n "(cached) " >&6
69399 else
69400
69401
69402 ac_ext=cpp
69403 ac_cpp='$CXXCPP $CPPFLAGS'
69404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69407
69408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69409 /* end confdefs.h. */
69410 #include <math.h>
69411 #ifdef HAVE_IEEEFP_H
69412 #include <ieeefp.h>
69413 #endif
69414
69415 int
69416 main ()
69417 {
69418 _fabsl(0);
69419 ;
69420 return 0;
69421 }
69422 _ACEOF
69423 if ac_fn_cxx_try_compile "$LINENO"; then :
69424 glibcxx_cv_func__fabsl_use=yes
69425 else
69426 glibcxx_cv_func__fabsl_use=no
69427 fi
69428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69429 ac_ext=c
69430 ac_cpp='$CPP $CPPFLAGS'
69431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69434
69435
69436 fi
69437
69438 fi
69439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69440 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69441
69442 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69443 for ac_func in _fabsl
69444 do :
69445 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69446 if test "x$ac_cv_func__fabsl" = x""yes; then :
69447 cat >>confdefs.h <<_ACEOF
69448 #define HAVE__FABSL 1
69449 _ACEOF
69450
69451 fi
69452 done
69453
69454 fi
69455 fi
69456
69457
69458
69459
69460
69461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69462 $as_echo_n "checking for fmodl declaration... " >&6; }
69463 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69464 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69465 $as_echo_n "(cached) " >&6
69466 else
69467
69468
69469 ac_ext=cpp
69470 ac_cpp='$CXXCPP $CPPFLAGS'
69471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69474
69475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69476 /* end confdefs.h. */
69477 #include <math.h>
69478 int
69479 main ()
69480 {
69481 fmodl(0, 0);
69482 ;
69483 return 0;
69484 }
69485 _ACEOF
69486 if ac_fn_cxx_try_compile "$LINENO"; then :
69487 glibcxx_cv_func_fmodl_use=yes
69488 else
69489 glibcxx_cv_func_fmodl_use=no
69490 fi
69491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69492 ac_ext=c
69493 ac_cpp='$CPP $CPPFLAGS'
69494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69497
69498
69499 fi
69500
69501 fi
69502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69503 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69504
69505 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69506 for ac_func in fmodl
69507 do :
69508 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69509 if test "x$ac_cv_func_fmodl" = x""yes; then :
69510 cat >>confdefs.h <<_ACEOF
69511 #define HAVE_FMODL 1
69512 _ACEOF
69513
69514 fi
69515 done
69516
69517 else
69518
69519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69520 $as_echo_n "checking for _fmodl declaration... " >&6; }
69521 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69522 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69523 $as_echo_n "(cached) " >&6
69524 else
69525
69526
69527 ac_ext=cpp
69528 ac_cpp='$CXXCPP $CPPFLAGS'
69529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69532
69533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69534 /* end confdefs.h. */
69535 #include <math.h>
69536 int
69537 main ()
69538 {
69539 _fmodl(0, 0);
69540 ;
69541 return 0;
69542 }
69543 _ACEOF
69544 if ac_fn_cxx_try_compile "$LINENO"; then :
69545 glibcxx_cv_func__fmodl_use=yes
69546 else
69547 glibcxx_cv_func__fmodl_use=no
69548 fi
69549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69550 ac_ext=c
69551 ac_cpp='$CPP $CPPFLAGS'
69552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69555
69556
69557 fi
69558
69559 fi
69560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69561 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69562
69563 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69564 for ac_func in _fmodl
69565 do :
69566 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69567 if test "x$ac_cv_func__fmodl" = x""yes; then :
69568 cat >>confdefs.h <<_ACEOF
69569 #define HAVE__FMODL 1
69570 _ACEOF
69571
69572 fi
69573 done
69574
69575 fi
69576 fi
69577
69578
69579
69580
69581
69582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69583 $as_echo_n "checking for frexpl declaration... " >&6; }
69584 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69585 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69586 $as_echo_n "(cached) " >&6
69587 else
69588
69589
69590 ac_ext=cpp
69591 ac_cpp='$CXXCPP $CPPFLAGS'
69592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69595
69596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69597 /* end confdefs.h. */
69598 #include <math.h>
69599 int
69600 main ()
69601 {
69602 frexpl(0, 0);
69603 ;
69604 return 0;
69605 }
69606 _ACEOF
69607 if ac_fn_cxx_try_compile "$LINENO"; then :
69608 glibcxx_cv_func_frexpl_use=yes
69609 else
69610 glibcxx_cv_func_frexpl_use=no
69611 fi
69612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69613 ac_ext=c
69614 ac_cpp='$CPP $CPPFLAGS'
69615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69618
69619
69620 fi
69621
69622 fi
69623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69624 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69625
69626 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69627 for ac_func in frexpl
69628 do :
69629 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69630 if test "x$ac_cv_func_frexpl" = x""yes; then :
69631 cat >>confdefs.h <<_ACEOF
69632 #define HAVE_FREXPL 1
69633 _ACEOF
69634
69635 fi
69636 done
69637
69638 else
69639
69640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69641 $as_echo_n "checking for _frexpl declaration... " >&6; }
69642 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69643 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69644 $as_echo_n "(cached) " >&6
69645 else
69646
69647
69648 ac_ext=cpp
69649 ac_cpp='$CXXCPP $CPPFLAGS'
69650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69653
69654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69655 /* end confdefs.h. */
69656 #include <math.h>
69657 int
69658 main ()
69659 {
69660 _frexpl(0, 0);
69661 ;
69662 return 0;
69663 }
69664 _ACEOF
69665 if ac_fn_cxx_try_compile "$LINENO"; then :
69666 glibcxx_cv_func__frexpl_use=yes
69667 else
69668 glibcxx_cv_func__frexpl_use=no
69669 fi
69670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69671 ac_ext=c
69672 ac_cpp='$CPP $CPPFLAGS'
69673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69676
69677
69678 fi
69679
69680 fi
69681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69682 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69683
69684 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69685 for ac_func in _frexpl
69686 do :
69687 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69688 if test "x$ac_cv_func__frexpl" = x""yes; then :
69689 cat >>confdefs.h <<_ACEOF
69690 #define HAVE__FREXPL 1
69691 _ACEOF
69692
69693 fi
69694 done
69695
69696 fi
69697 fi
69698
69699
69700
69701
69702
69703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69704 $as_echo_n "checking for hypotl declaration... " >&6; }
69705 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69706 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69707 $as_echo_n "(cached) " >&6
69708 else
69709
69710
69711 ac_ext=cpp
69712 ac_cpp='$CXXCPP $CPPFLAGS'
69713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69716
69717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69718 /* end confdefs.h. */
69719 #include <math.h>
69720 int
69721 main ()
69722 {
69723 hypotl(0, 0);
69724 ;
69725 return 0;
69726 }
69727 _ACEOF
69728 if ac_fn_cxx_try_compile "$LINENO"; then :
69729 glibcxx_cv_func_hypotl_use=yes
69730 else
69731 glibcxx_cv_func_hypotl_use=no
69732 fi
69733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69734 ac_ext=c
69735 ac_cpp='$CPP $CPPFLAGS'
69736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69739
69740
69741 fi
69742
69743 fi
69744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69745 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69746
69747 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69748 for ac_func in hypotl
69749 do :
69750 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69751 if test "x$ac_cv_func_hypotl" = x""yes; then :
69752 cat >>confdefs.h <<_ACEOF
69753 #define HAVE_HYPOTL 1
69754 _ACEOF
69755
69756 fi
69757 done
69758
69759 else
69760
69761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69762 $as_echo_n "checking for _hypotl declaration... " >&6; }
69763 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69764 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69765 $as_echo_n "(cached) " >&6
69766 else
69767
69768
69769 ac_ext=cpp
69770 ac_cpp='$CXXCPP $CPPFLAGS'
69771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69774
69775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69776 /* end confdefs.h. */
69777 #include <math.h>
69778 int
69779 main ()
69780 {
69781 _hypotl(0, 0);
69782 ;
69783 return 0;
69784 }
69785 _ACEOF
69786 if ac_fn_cxx_try_compile "$LINENO"; then :
69787 glibcxx_cv_func__hypotl_use=yes
69788 else
69789 glibcxx_cv_func__hypotl_use=no
69790 fi
69791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69792 ac_ext=c
69793 ac_cpp='$CPP $CPPFLAGS'
69794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69797
69798
69799 fi
69800
69801 fi
69802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69803 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69804
69805 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69806 for ac_func in _hypotl
69807 do :
69808 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69809 if test "x$ac_cv_func__hypotl" = x""yes; then :
69810 cat >>confdefs.h <<_ACEOF
69811 #define HAVE__HYPOTL 1
69812 _ACEOF
69813
69814 fi
69815 done
69816
69817 fi
69818 fi
69819
69820
69821
69822
69823
69824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69825 $as_echo_n "checking for ldexpl declaration... " >&6; }
69826 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69827 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69828 $as_echo_n "(cached) " >&6
69829 else
69830
69831
69832 ac_ext=cpp
69833 ac_cpp='$CXXCPP $CPPFLAGS'
69834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69837
69838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69839 /* end confdefs.h. */
69840 #include <math.h>
69841 int
69842 main ()
69843 {
69844 ldexpl(0, 0);
69845 ;
69846 return 0;
69847 }
69848 _ACEOF
69849 if ac_fn_cxx_try_compile "$LINENO"; then :
69850 glibcxx_cv_func_ldexpl_use=yes
69851 else
69852 glibcxx_cv_func_ldexpl_use=no
69853 fi
69854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69855 ac_ext=c
69856 ac_cpp='$CPP $CPPFLAGS'
69857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69860
69861
69862 fi
69863
69864 fi
69865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69866 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69867
69868 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69869 for ac_func in ldexpl
69870 do :
69871 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69872 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69873 cat >>confdefs.h <<_ACEOF
69874 #define HAVE_LDEXPL 1
69875 _ACEOF
69876
69877 fi
69878 done
69879
69880 else
69881
69882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69883 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69884 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69885 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69886 $as_echo_n "(cached) " >&6
69887 else
69888
69889
69890 ac_ext=cpp
69891 ac_cpp='$CXXCPP $CPPFLAGS'
69892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69895
69896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69897 /* end confdefs.h. */
69898 #include <math.h>
69899 int
69900 main ()
69901 {
69902 _ldexpl(0, 0);
69903 ;
69904 return 0;
69905 }
69906 _ACEOF
69907 if ac_fn_cxx_try_compile "$LINENO"; then :
69908 glibcxx_cv_func__ldexpl_use=yes
69909 else
69910 glibcxx_cv_func__ldexpl_use=no
69911 fi
69912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69913 ac_ext=c
69914 ac_cpp='$CPP $CPPFLAGS'
69915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69918
69919
69920 fi
69921
69922 fi
69923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69924 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69925
69926 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69927 for ac_func in _ldexpl
69928 do :
69929 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69930 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69931 cat >>confdefs.h <<_ACEOF
69932 #define HAVE__LDEXPL 1
69933 _ACEOF
69934
69935 fi
69936 done
69937
69938 fi
69939 fi
69940
69941
69942
69943
69944
69945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69946 $as_echo_n "checking for logl declaration... " >&6; }
69947 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69948 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69949 $as_echo_n "(cached) " >&6
69950 else
69951
69952
69953 ac_ext=cpp
69954 ac_cpp='$CXXCPP $CPPFLAGS'
69955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69958
69959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69960 /* end confdefs.h. */
69961 #include <math.h>
69962 #ifdef HAVE_IEEEFP_H
69963 #include <ieeefp.h>
69964 #endif
69965
69966 int
69967 main ()
69968 {
69969 logl(0);
69970 ;
69971 return 0;
69972 }
69973 _ACEOF
69974 if ac_fn_cxx_try_compile "$LINENO"; then :
69975 glibcxx_cv_func_logl_use=yes
69976 else
69977 glibcxx_cv_func_logl_use=no
69978 fi
69979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69980 ac_ext=c
69981 ac_cpp='$CPP $CPPFLAGS'
69982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69985
69986
69987 fi
69988
69989 fi
69990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69991 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69992
69993 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69994 for ac_func in logl
69995 do :
69996 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69997 if test "x$ac_cv_func_logl" = x""yes; then :
69998 cat >>confdefs.h <<_ACEOF
69999 #define HAVE_LOGL 1
70000 _ACEOF
70001
70002 fi
70003 done
70004
70005 else
70006
70007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70008 $as_echo_n "checking for _logl declaration... " >&6; }
70009 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70010 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70011 $as_echo_n "(cached) " >&6
70012 else
70013
70014
70015 ac_ext=cpp
70016 ac_cpp='$CXXCPP $CPPFLAGS'
70017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70020
70021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70022 /* end confdefs.h. */
70023 #include <math.h>
70024 #ifdef HAVE_IEEEFP_H
70025 #include <ieeefp.h>
70026 #endif
70027
70028 int
70029 main ()
70030 {
70031 _logl(0);
70032 ;
70033 return 0;
70034 }
70035 _ACEOF
70036 if ac_fn_cxx_try_compile "$LINENO"; then :
70037 glibcxx_cv_func__logl_use=yes
70038 else
70039 glibcxx_cv_func__logl_use=no
70040 fi
70041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70042 ac_ext=c
70043 ac_cpp='$CPP $CPPFLAGS'
70044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70047
70048
70049 fi
70050
70051 fi
70052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70053 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70054
70055 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70056 for ac_func in _logl
70057 do :
70058 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70059 if test "x$ac_cv_func__logl" = x""yes; then :
70060 cat >>confdefs.h <<_ACEOF
70061 #define HAVE__LOGL 1
70062 _ACEOF
70063
70064 fi
70065 done
70066
70067 fi
70068 fi
70069
70070
70071
70072
70073
70074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70075 $as_echo_n "checking for log10l declaration... " >&6; }
70076 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70077 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70078 $as_echo_n "(cached) " >&6
70079 else
70080
70081
70082 ac_ext=cpp
70083 ac_cpp='$CXXCPP $CPPFLAGS'
70084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70087
70088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70089 /* end confdefs.h. */
70090 #include <math.h>
70091 #ifdef HAVE_IEEEFP_H
70092 #include <ieeefp.h>
70093 #endif
70094
70095 int
70096 main ()
70097 {
70098 log10l(0);
70099 ;
70100 return 0;
70101 }
70102 _ACEOF
70103 if ac_fn_cxx_try_compile "$LINENO"; then :
70104 glibcxx_cv_func_log10l_use=yes
70105 else
70106 glibcxx_cv_func_log10l_use=no
70107 fi
70108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70109 ac_ext=c
70110 ac_cpp='$CPP $CPPFLAGS'
70111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70114
70115
70116 fi
70117
70118 fi
70119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70120 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70121
70122 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70123 for ac_func in log10l
70124 do :
70125 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70126 if test "x$ac_cv_func_log10l" = x""yes; then :
70127 cat >>confdefs.h <<_ACEOF
70128 #define HAVE_LOG10L 1
70129 _ACEOF
70130
70131 fi
70132 done
70133
70134 else
70135
70136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70137 $as_echo_n "checking for _log10l declaration... " >&6; }
70138 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70139 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70140 $as_echo_n "(cached) " >&6
70141 else
70142
70143
70144 ac_ext=cpp
70145 ac_cpp='$CXXCPP $CPPFLAGS'
70146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70149
70150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70151 /* end confdefs.h. */
70152 #include <math.h>
70153 #ifdef HAVE_IEEEFP_H
70154 #include <ieeefp.h>
70155 #endif
70156
70157 int
70158 main ()
70159 {
70160 _log10l(0);
70161 ;
70162 return 0;
70163 }
70164 _ACEOF
70165 if ac_fn_cxx_try_compile "$LINENO"; then :
70166 glibcxx_cv_func__log10l_use=yes
70167 else
70168 glibcxx_cv_func__log10l_use=no
70169 fi
70170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70171 ac_ext=c
70172 ac_cpp='$CPP $CPPFLAGS'
70173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70176
70177
70178 fi
70179
70180 fi
70181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70182 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70183
70184 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70185 for ac_func in _log10l
70186 do :
70187 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70188 if test "x$ac_cv_func__log10l" = x""yes; then :
70189 cat >>confdefs.h <<_ACEOF
70190 #define HAVE__LOG10L 1
70191 _ACEOF
70192
70193 fi
70194 done
70195
70196 fi
70197 fi
70198
70199
70200
70201
70202
70203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70204 $as_echo_n "checking for modfl declaration... " >&6; }
70205 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70206 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70207 $as_echo_n "(cached) " >&6
70208 else
70209
70210
70211 ac_ext=cpp
70212 ac_cpp='$CXXCPP $CPPFLAGS'
70213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70216
70217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70218 /* end confdefs.h. */
70219 #include <math.h>
70220 int
70221 main ()
70222 {
70223 modfl(0, 0);
70224 ;
70225 return 0;
70226 }
70227 _ACEOF
70228 if ac_fn_cxx_try_compile "$LINENO"; then :
70229 glibcxx_cv_func_modfl_use=yes
70230 else
70231 glibcxx_cv_func_modfl_use=no
70232 fi
70233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70234 ac_ext=c
70235 ac_cpp='$CPP $CPPFLAGS'
70236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70239
70240
70241 fi
70242
70243 fi
70244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70245 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70246
70247 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70248 for ac_func in modfl
70249 do :
70250 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70251 if test "x$ac_cv_func_modfl" = x""yes; then :
70252 cat >>confdefs.h <<_ACEOF
70253 #define HAVE_MODFL 1
70254 _ACEOF
70255
70256 fi
70257 done
70258
70259 else
70260
70261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70262 $as_echo_n "checking for _modfl declaration... " >&6; }
70263 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70264 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70265 $as_echo_n "(cached) " >&6
70266 else
70267
70268
70269 ac_ext=cpp
70270 ac_cpp='$CXXCPP $CPPFLAGS'
70271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70274
70275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70276 /* end confdefs.h. */
70277 #include <math.h>
70278 int
70279 main ()
70280 {
70281 _modfl(0, 0);
70282 ;
70283 return 0;
70284 }
70285 _ACEOF
70286 if ac_fn_cxx_try_compile "$LINENO"; then :
70287 glibcxx_cv_func__modfl_use=yes
70288 else
70289 glibcxx_cv_func__modfl_use=no
70290 fi
70291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70292 ac_ext=c
70293 ac_cpp='$CPP $CPPFLAGS'
70294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70297
70298
70299 fi
70300
70301 fi
70302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70303 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70304
70305 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70306 for ac_func in _modfl
70307 do :
70308 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70309 if test "x$ac_cv_func__modfl" = x""yes; then :
70310 cat >>confdefs.h <<_ACEOF
70311 #define HAVE__MODFL 1
70312 _ACEOF
70313
70314 fi
70315 done
70316
70317 fi
70318 fi
70319
70320
70321
70322
70323
70324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70325 $as_echo_n "checking for powl declaration... " >&6; }
70326 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70327 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70328 $as_echo_n "(cached) " >&6
70329 else
70330
70331
70332 ac_ext=cpp
70333 ac_cpp='$CXXCPP $CPPFLAGS'
70334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70337
70338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70339 /* end confdefs.h. */
70340 #include <math.h>
70341 int
70342 main ()
70343 {
70344 powl(0, 0);
70345 ;
70346 return 0;
70347 }
70348 _ACEOF
70349 if ac_fn_cxx_try_compile "$LINENO"; then :
70350 glibcxx_cv_func_powl_use=yes
70351 else
70352 glibcxx_cv_func_powl_use=no
70353 fi
70354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70355 ac_ext=c
70356 ac_cpp='$CPP $CPPFLAGS'
70357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70360
70361
70362 fi
70363
70364 fi
70365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70366 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70367
70368 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70369 for ac_func in powl
70370 do :
70371 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70372 if test "x$ac_cv_func_powl" = x""yes; then :
70373 cat >>confdefs.h <<_ACEOF
70374 #define HAVE_POWL 1
70375 _ACEOF
70376
70377 fi
70378 done
70379
70380 else
70381
70382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70383 $as_echo_n "checking for _powl declaration... " >&6; }
70384 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70385 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70386 $as_echo_n "(cached) " >&6
70387 else
70388
70389
70390 ac_ext=cpp
70391 ac_cpp='$CXXCPP $CPPFLAGS'
70392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70395
70396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70397 /* end confdefs.h. */
70398 #include <math.h>
70399 int
70400 main ()
70401 {
70402 _powl(0, 0);
70403 ;
70404 return 0;
70405 }
70406 _ACEOF
70407 if ac_fn_cxx_try_compile "$LINENO"; then :
70408 glibcxx_cv_func__powl_use=yes
70409 else
70410 glibcxx_cv_func__powl_use=no
70411 fi
70412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70413 ac_ext=c
70414 ac_cpp='$CPP $CPPFLAGS'
70415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70418
70419
70420 fi
70421
70422 fi
70423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70424 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70425
70426 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70427 for ac_func in _powl
70428 do :
70429 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70430 if test "x$ac_cv_func__powl" = x""yes; then :
70431 cat >>confdefs.h <<_ACEOF
70432 #define HAVE__POWL 1
70433 _ACEOF
70434
70435 fi
70436 done
70437
70438 fi
70439 fi
70440
70441
70442
70443
70444
70445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70446 $as_echo_n "checking for sqrtl declaration... " >&6; }
70447 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70448 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70449 $as_echo_n "(cached) " >&6
70450 else
70451
70452
70453 ac_ext=cpp
70454 ac_cpp='$CXXCPP $CPPFLAGS'
70455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70458
70459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70460 /* end confdefs.h. */
70461 #include <math.h>
70462 #ifdef HAVE_IEEEFP_H
70463 #include <ieeefp.h>
70464 #endif
70465
70466 int
70467 main ()
70468 {
70469 sqrtl(0);
70470 ;
70471 return 0;
70472 }
70473 _ACEOF
70474 if ac_fn_cxx_try_compile "$LINENO"; then :
70475 glibcxx_cv_func_sqrtl_use=yes
70476 else
70477 glibcxx_cv_func_sqrtl_use=no
70478 fi
70479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70480 ac_ext=c
70481 ac_cpp='$CPP $CPPFLAGS'
70482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70485
70486
70487 fi
70488
70489 fi
70490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70491 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70492
70493 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70494 for ac_func in sqrtl
70495 do :
70496 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70497 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70498 cat >>confdefs.h <<_ACEOF
70499 #define HAVE_SQRTL 1
70500 _ACEOF
70501
70502 fi
70503 done
70504
70505 else
70506
70507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70508 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70509 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70510 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70511 $as_echo_n "(cached) " >&6
70512 else
70513
70514
70515 ac_ext=cpp
70516 ac_cpp='$CXXCPP $CPPFLAGS'
70517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70520
70521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70522 /* end confdefs.h. */
70523 #include <math.h>
70524 #ifdef HAVE_IEEEFP_H
70525 #include <ieeefp.h>
70526 #endif
70527
70528 int
70529 main ()
70530 {
70531 _sqrtl(0);
70532 ;
70533 return 0;
70534 }
70535 _ACEOF
70536 if ac_fn_cxx_try_compile "$LINENO"; then :
70537 glibcxx_cv_func__sqrtl_use=yes
70538 else
70539 glibcxx_cv_func__sqrtl_use=no
70540 fi
70541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70542 ac_ext=c
70543 ac_cpp='$CPP $CPPFLAGS'
70544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70547
70548
70549 fi
70550
70551 fi
70552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70553 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70554
70555 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70556 for ac_func in _sqrtl
70557 do :
70558 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70559 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70560 cat >>confdefs.h <<_ACEOF
70561 #define HAVE__SQRTL 1
70562 _ACEOF
70563
70564 fi
70565 done
70566
70567 fi
70568 fi
70569
70570
70571
70572
70573
70574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70575 $as_echo_n "checking for sincosl declaration... " >&6; }
70576 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70577 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70578 $as_echo_n "(cached) " >&6
70579 else
70580
70581
70582 ac_ext=cpp
70583 ac_cpp='$CXXCPP $CPPFLAGS'
70584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70587
70588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70589 /* end confdefs.h. */
70590 #include <math.h>
70591 int
70592 main ()
70593 {
70594 sincosl(0, 0, 0);
70595 ;
70596 return 0;
70597 }
70598 _ACEOF
70599 if ac_fn_cxx_try_compile "$LINENO"; then :
70600 glibcxx_cv_func_sincosl_use=yes
70601 else
70602 glibcxx_cv_func_sincosl_use=no
70603 fi
70604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70605 ac_ext=c
70606 ac_cpp='$CPP $CPPFLAGS'
70607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70610
70611
70612 fi
70613
70614 fi
70615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70616 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70617
70618 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70619 for ac_func in sincosl
70620 do :
70621 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70622 if test "x$ac_cv_func_sincosl" = x""yes; then :
70623 cat >>confdefs.h <<_ACEOF
70624 #define HAVE_SINCOSL 1
70625 _ACEOF
70626
70627 fi
70628 done
70629
70630 else
70631
70632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70633 $as_echo_n "checking for _sincosl declaration... " >&6; }
70634 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70635 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70636 $as_echo_n "(cached) " >&6
70637 else
70638
70639
70640 ac_ext=cpp
70641 ac_cpp='$CXXCPP $CPPFLAGS'
70642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70645
70646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70647 /* end confdefs.h. */
70648 #include <math.h>
70649 int
70650 main ()
70651 {
70652 _sincosl(0, 0, 0);
70653 ;
70654 return 0;
70655 }
70656 _ACEOF
70657 if ac_fn_cxx_try_compile "$LINENO"; then :
70658 glibcxx_cv_func__sincosl_use=yes
70659 else
70660 glibcxx_cv_func__sincosl_use=no
70661 fi
70662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70663 ac_ext=c
70664 ac_cpp='$CPP $CPPFLAGS'
70665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70668
70669
70670 fi
70671
70672 fi
70673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70674 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70675
70676 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70677 for ac_func in _sincosl
70678 do :
70679 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70680 if test "x$ac_cv_func__sincosl" = x""yes; then :
70681 cat >>confdefs.h <<_ACEOF
70682 #define HAVE__SINCOSL 1
70683 _ACEOF
70684
70685 fi
70686 done
70687
70688 fi
70689 fi
70690
70691
70692
70693
70694
70695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70696 $as_echo_n "checking for finitel declaration... " >&6; }
70697 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70698 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70699 $as_echo_n "(cached) " >&6
70700 else
70701
70702
70703 ac_ext=cpp
70704 ac_cpp='$CXXCPP $CPPFLAGS'
70705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70708
70709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70710 /* end confdefs.h. */
70711 #include <math.h>
70712 #ifdef HAVE_IEEEFP_H
70713 #include <ieeefp.h>
70714 #endif
70715
70716 int
70717 main ()
70718 {
70719 finitel(0);
70720 ;
70721 return 0;
70722 }
70723 _ACEOF
70724 if ac_fn_cxx_try_compile "$LINENO"; then :
70725 glibcxx_cv_func_finitel_use=yes
70726 else
70727 glibcxx_cv_func_finitel_use=no
70728 fi
70729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70730 ac_ext=c
70731 ac_cpp='$CPP $CPPFLAGS'
70732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70735
70736
70737 fi
70738
70739 fi
70740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70741 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70742
70743 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70744 for ac_func in finitel
70745 do :
70746 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70747 if test "x$ac_cv_func_finitel" = x""yes; then :
70748 cat >>confdefs.h <<_ACEOF
70749 #define HAVE_FINITEL 1
70750 _ACEOF
70751
70752 fi
70753 done
70754
70755 else
70756
70757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70758 $as_echo_n "checking for _finitel declaration... " >&6; }
70759 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70760 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70761 $as_echo_n "(cached) " >&6
70762 else
70763
70764
70765 ac_ext=cpp
70766 ac_cpp='$CXXCPP $CPPFLAGS'
70767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70770
70771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70772 /* end confdefs.h. */
70773 #include <math.h>
70774 #ifdef HAVE_IEEEFP_H
70775 #include <ieeefp.h>
70776 #endif
70777
70778 int
70779 main ()
70780 {
70781 _finitel(0);
70782 ;
70783 return 0;
70784 }
70785 _ACEOF
70786 if ac_fn_cxx_try_compile "$LINENO"; then :
70787 glibcxx_cv_func__finitel_use=yes
70788 else
70789 glibcxx_cv_func__finitel_use=no
70790 fi
70791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70792 ac_ext=c
70793 ac_cpp='$CPP $CPPFLAGS'
70794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70797
70798
70799 fi
70800
70801 fi
70802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70803 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70804
70805 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70806 for ac_func in _finitel
70807 do :
70808 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70809 if test "x$ac_cv_func__finitel" = x""yes; then :
70810 cat >>confdefs.h <<_ACEOF
70811 #define HAVE__FINITEL 1
70812 _ACEOF
70813
70814 fi
70815 done
70816
70817 fi
70818 fi
70819
70820
70821
70822
70823 LIBS="$ac_save_LIBS"
70824 CXXFLAGS="$ac_save_CXXFLAGS"
70825
70826
70827 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70828 ac_save_CXXFLAGS="$CXXFLAGS"
70829 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70830
70831
70832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70833 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70834 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70835 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70836 $as_echo_n "(cached) " >&6
70837 else
70838
70839
70840 ac_ext=cpp
70841 ac_cpp='$CXXCPP $CPPFLAGS'
70842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70845
70846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70847 /* end confdefs.h. */
70848 #include <stdlib.h>
70849 int
70850 main ()
70851 {
70852 at_quick_exit(0);
70853 ;
70854 return 0;
70855 }
70856 _ACEOF
70857 if ac_fn_cxx_try_compile "$LINENO"; then :
70858 glibcxx_cv_func_at_quick_exit_use=yes
70859 else
70860 glibcxx_cv_func_at_quick_exit_use=no
70861 fi
70862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70863 ac_ext=c
70864 ac_cpp='$CPP $CPPFLAGS'
70865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70868
70869
70870 fi
70871
70872 fi
70873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70874 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70875 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70876 for ac_func in at_quick_exit
70877 do :
70878 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70879 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70880 cat >>confdefs.h <<_ACEOF
70881 #define HAVE_AT_QUICK_EXIT 1
70882 _ACEOF
70883
70884 fi
70885 done
70886
70887 fi
70888
70889
70890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70891 $as_echo_n "checking for quick_exit declaration... " >&6; }
70892 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70893 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70894 $as_echo_n "(cached) " >&6
70895 else
70896
70897
70898 ac_ext=cpp
70899 ac_cpp='$CXXCPP $CPPFLAGS'
70900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70903
70904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70905 /* end confdefs.h. */
70906 #include <stdlib.h>
70907 int
70908 main ()
70909 {
70910 quick_exit(0);
70911 ;
70912 return 0;
70913 }
70914 _ACEOF
70915 if ac_fn_cxx_try_compile "$LINENO"; then :
70916 glibcxx_cv_func_quick_exit_use=yes
70917 else
70918 glibcxx_cv_func_quick_exit_use=no
70919 fi
70920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70921 ac_ext=c
70922 ac_cpp='$CPP $CPPFLAGS'
70923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70926
70927
70928 fi
70929
70930 fi
70931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70932 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70933 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70934 for ac_func in quick_exit
70935 do :
70936 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70937 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70938 cat >>confdefs.h <<_ACEOF
70939 #define HAVE_QUICK_EXIT 1
70940 _ACEOF
70941
70942 fi
70943 done
70944
70945 fi
70946
70947
70948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70949 $as_echo_n "checking for strtold declaration... " >&6; }
70950 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70951 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70952 $as_echo_n "(cached) " >&6
70953 else
70954
70955
70956 ac_ext=cpp
70957 ac_cpp='$CXXCPP $CPPFLAGS'
70958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70961
70962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70963 /* end confdefs.h. */
70964 #include <stdlib.h>
70965 int
70966 main ()
70967 {
70968 strtold(0, 0);
70969 ;
70970 return 0;
70971 }
70972 _ACEOF
70973 if ac_fn_cxx_try_compile "$LINENO"; then :
70974 glibcxx_cv_func_strtold_use=yes
70975 else
70976 glibcxx_cv_func_strtold_use=no
70977 fi
70978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70979 ac_ext=c
70980 ac_cpp='$CPP $CPPFLAGS'
70981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70984
70985
70986 fi
70987
70988 fi
70989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70990 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70991 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70992 for ac_func in strtold
70993 do :
70994 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70995 if test "x$ac_cv_func_strtold" = x""yes; then :
70996 cat >>confdefs.h <<_ACEOF
70997 #define HAVE_STRTOLD 1
70998 _ACEOF
70999
71000 fi
71001 done
71002
71003 fi
71004
71005
71006
71007
71008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71009 $as_echo_n "checking for strtof declaration... " >&6; }
71010 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71011 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71012 $as_echo_n "(cached) " >&6
71013 else
71014
71015
71016 ac_ext=cpp
71017 ac_cpp='$CXXCPP $CPPFLAGS'
71018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71021
71022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71023 /* end confdefs.h. */
71024 #include <stdlib.h>
71025 int
71026 main ()
71027 {
71028 strtof(0, 0);
71029 ;
71030 return 0;
71031 }
71032 _ACEOF
71033 if ac_fn_cxx_try_compile "$LINENO"; then :
71034 glibcxx_cv_func_strtof_use=yes
71035 else
71036 glibcxx_cv_func_strtof_use=no
71037 fi
71038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71039 ac_ext=c
71040 ac_cpp='$CPP $CPPFLAGS'
71041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71044
71045
71046 fi
71047
71048 fi
71049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71050 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71051 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71052 for ac_func in strtof
71053 do :
71054 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71055 if test "x$ac_cv_func_strtof" = x""yes; then :
71056 cat >>confdefs.h <<_ACEOF
71057 #define HAVE_STRTOF 1
71058 _ACEOF
71059
71060 fi
71061 done
71062
71063 fi
71064
71065
71066
71067
71068 CXXFLAGS="$ac_save_CXXFLAGS"
71069
71070 ;;
71071 *-solaris*)
71072
71073 # If we're not using GNU ld, then there's no point in even trying these
71074 # tests. Check for that first. We should have already tested for gld
71075 # by now (in libtool), but require it now just to be safe...
71076 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71077 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71078
71079
71080
71081 # The name set by libtool depends on the version of libtool. Shame on us
71082 # for depending on an impl detail, but c'est la vie. Older versions used
71083 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71084 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71085 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71086 # set (hence we're using an older libtool), then set it.
71087 if test x${with_gnu_ld+set} != xset; then
71088 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71089 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71090 with_gnu_ld=no
71091 else
71092 with_gnu_ld=$ac_cv_prog_gnu_ld
71093 fi
71094 fi
71095
71096 # Start by getting the version number. I think the libtool test already
71097 # does some of this, but throws away the result.
71098 glibcxx_ld_is_gold=no
71099 if test x"$with_gnu_ld" = x"yes"; then
71100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71101 $as_echo_n "checking for ld version... " >&6; }
71102
71103 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71104 glibcxx_ld_is_gold=yes
71105 fi
71106 ldver=`$LD --version 2>/dev/null |
71107 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'`
71108
71109 glibcxx_gnu_ld_version=`echo $ldver | \
71110 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71112 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71113 fi
71114
71115 # Set --gc-sections.
71116 glibcxx_have_gc_sections=no
71117 if test "$glibcxx_ld_is_gold" = "yes"; then
71118 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71119 glibcxx_have_gc_sections=yes
71120 fi
71121 else
71122 glibcxx_gcsections_min_ld=21602
71123 if test x"$with_gnu_ld" = x"yes" &&
71124 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71125 glibcxx_have_gc_sections=yes
71126 fi
71127 fi
71128 if test "$glibcxx_have_gc_sections" = "yes"; then
71129 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71130 # NB: This flag only works reliably after 2.16.1. Configure tests
71131 # for this are difficult, so hard wire a value that should work.
71132
71133 ac_test_CFLAGS="${CFLAGS+set}"
71134 ac_save_CFLAGS="$CFLAGS"
71135 CFLAGS='-Wl,--gc-sections'
71136
71137 # Check for -Wl,--gc-sections
71138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71139 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71140 if test x$gcc_no_link = xyes; then
71141 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71142 fi
71143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71144 /* end confdefs.h. */
71145 int one(void) { return 1; }
71146 int two(void) { return 2; }
71147
71148 int
71149 main ()
71150 {
71151 two();
71152 ;
71153 return 0;
71154 }
71155 _ACEOF
71156 if ac_fn_c_try_link "$LINENO"; then :
71157 ac_gcsections=yes
71158 else
71159 ac_gcsections=no
71160 fi
71161 rm -f core conftest.err conftest.$ac_objext \
71162 conftest$ac_exeext conftest.$ac_ext
71163 if test "$ac_gcsections" = "yes"; then
71164 rm -f conftest.c
71165 touch conftest.c
71166 if $CC -c conftest.c; then
71167 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71168 grep "Warning: gc-sections option ignored" > /dev/null; then
71169 ac_gcsections=no
71170 fi
71171 fi
71172 rm -f conftest.c conftest.o conftest
71173 fi
71174 if test "$ac_gcsections" = "yes"; then
71175 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71176 fi
71177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71178 $as_echo "$ac_gcsections" >&6; }
71179
71180 if test "$ac_test_CFLAGS" = set; then
71181 CFLAGS="$ac_save_CFLAGS"
71182 else
71183 # this is the suspicious part
71184 CFLAGS=''
71185 fi
71186 fi
71187
71188 # Set -z,relro.
71189 # Note this is only for shared objects.
71190 ac_ld_relro=no
71191 if test x"$with_gnu_ld" = x"yes"; then
71192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71193 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71194 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71195 if test -n "$cxx_z_relo"; then
71196 OPT_LDFLAGS="-Wl,-z,relro"
71197 ac_ld_relro=yes
71198 fi
71199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71200 $as_echo "$ac_ld_relro" >&6; }
71201 fi
71202
71203 # Set linker optimization flags.
71204 if test x"$with_gnu_ld" = x"yes"; then
71205 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71206 fi
71207
71208
71209
71210
71211 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71212
71213 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71214
71215 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71216
71217 # All of the dependencies for wide character support are here, so
71218 # turn it on.
71219 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71220
71221 # These two C99 functions are present only in Solaris >= 10
71222 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71223
71224 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71225
71226 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71227
71228 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71229
71230 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71231
71232 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71233
71234 ;;
71235 *-tpf)
71236 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71237 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71238
71239 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71240
71241 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71242
71243 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71244
71245 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71246
71247 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71248
71249 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71250
71251 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71252
71253 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71254
71255 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71256
71257 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71258
71259 if test x"long_double_math_on_this_cpu" = x"yes"; then
71260 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71261
71262 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71263
71264 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71265
71266 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71267
71268 fi
71269 ;;
71270 *-*vms*)
71271 # Check for available headers.
71272 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71273
71274 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71275 ac_save_CXXFLAGS="$CXXFLAGS"
71276 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71277
71278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71279 $as_echo_n "checking for sin in -lm... " >&6; }
71280 if test "${ac_cv_lib_m_sin+set}" = set; then :
71281 $as_echo_n "(cached) " >&6
71282 else
71283 ac_check_lib_save_LIBS=$LIBS
71284 LIBS="-lm $LIBS"
71285 if test x$gcc_no_link = xyes; then
71286 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71287 fi
71288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71289 /* end confdefs.h. */
71290
71291 /* Override any GCC internal prototype to avoid an error.
71292 Use char because int might match the return type of a GCC
71293 builtin and then its argument prototype would still apply. */
71294 #ifdef __cplusplus
71295 extern "C"
71296 #endif
71297 char sin ();
71298 int
71299 main ()
71300 {
71301 return sin ();
71302 ;
71303 return 0;
71304 }
71305 _ACEOF
71306 if ac_fn_c_try_link "$LINENO"; then :
71307 ac_cv_lib_m_sin=yes
71308 else
71309 ac_cv_lib_m_sin=no
71310 fi
71311 rm -f core conftest.err conftest.$ac_objext \
71312 conftest$ac_exeext conftest.$ac_ext
71313 LIBS=$ac_check_lib_save_LIBS
71314 fi
71315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71316 $as_echo "$ac_cv_lib_m_sin" >&6; }
71317 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71318 libm="-lm"
71319 fi
71320
71321 ac_save_LIBS="$LIBS"
71322 LIBS="$LIBS $libm"
71323
71324
71325
71326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71327 $as_echo_n "checking for isinf declaration... " >&6; }
71328 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71329 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71330 $as_echo_n "(cached) " >&6
71331 else
71332
71333
71334 ac_ext=cpp
71335 ac_cpp='$CXXCPP $CPPFLAGS'
71336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71339
71340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71341 /* end confdefs.h. */
71342 #include <math.h>
71343 #ifdef HAVE_IEEEFP_H
71344 #include <ieeefp.h>
71345 #endif
71346
71347 int
71348 main ()
71349 {
71350 isinf(0);
71351 ;
71352 return 0;
71353 }
71354 _ACEOF
71355 if ac_fn_cxx_try_compile "$LINENO"; then :
71356 glibcxx_cv_func_isinf_use=yes
71357 else
71358 glibcxx_cv_func_isinf_use=no
71359 fi
71360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71361 ac_ext=c
71362 ac_cpp='$CPP $CPPFLAGS'
71363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71366
71367
71368 fi
71369
71370 fi
71371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71372 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71373
71374 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71375 for ac_func in isinf
71376 do :
71377 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71378 if test "x$ac_cv_func_isinf" = x""yes; then :
71379 cat >>confdefs.h <<_ACEOF
71380 #define HAVE_ISINF 1
71381 _ACEOF
71382
71383 fi
71384 done
71385
71386 else
71387
71388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71389 $as_echo_n "checking for _isinf declaration... " >&6; }
71390 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71391 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71392 $as_echo_n "(cached) " >&6
71393 else
71394
71395
71396 ac_ext=cpp
71397 ac_cpp='$CXXCPP $CPPFLAGS'
71398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71401
71402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71403 /* end confdefs.h. */
71404 #include <math.h>
71405 #ifdef HAVE_IEEEFP_H
71406 #include <ieeefp.h>
71407 #endif
71408
71409 int
71410 main ()
71411 {
71412 _isinf(0);
71413 ;
71414 return 0;
71415 }
71416 _ACEOF
71417 if ac_fn_cxx_try_compile "$LINENO"; then :
71418 glibcxx_cv_func__isinf_use=yes
71419 else
71420 glibcxx_cv_func__isinf_use=no
71421 fi
71422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71423 ac_ext=c
71424 ac_cpp='$CPP $CPPFLAGS'
71425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71428
71429
71430 fi
71431
71432 fi
71433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71434 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71435
71436 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71437 for ac_func in _isinf
71438 do :
71439 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71440 if test "x$ac_cv_func__isinf" = x""yes; then :
71441 cat >>confdefs.h <<_ACEOF
71442 #define HAVE__ISINF 1
71443 _ACEOF
71444
71445 fi
71446 done
71447
71448 fi
71449 fi
71450
71451
71452
71453
71454
71455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71456 $as_echo_n "checking for isnan declaration... " >&6; }
71457 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71458 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71459 $as_echo_n "(cached) " >&6
71460 else
71461
71462
71463 ac_ext=cpp
71464 ac_cpp='$CXXCPP $CPPFLAGS'
71465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71468
71469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71470 /* end confdefs.h. */
71471 #include <math.h>
71472 #ifdef HAVE_IEEEFP_H
71473 #include <ieeefp.h>
71474 #endif
71475
71476 int
71477 main ()
71478 {
71479 isnan(0);
71480 ;
71481 return 0;
71482 }
71483 _ACEOF
71484 if ac_fn_cxx_try_compile "$LINENO"; then :
71485 glibcxx_cv_func_isnan_use=yes
71486 else
71487 glibcxx_cv_func_isnan_use=no
71488 fi
71489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71490 ac_ext=c
71491 ac_cpp='$CPP $CPPFLAGS'
71492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71495
71496
71497 fi
71498
71499 fi
71500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71501 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71502
71503 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71504 for ac_func in isnan
71505 do :
71506 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71507 if test "x$ac_cv_func_isnan" = x""yes; then :
71508 cat >>confdefs.h <<_ACEOF
71509 #define HAVE_ISNAN 1
71510 _ACEOF
71511
71512 fi
71513 done
71514
71515 else
71516
71517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71518 $as_echo_n "checking for _isnan declaration... " >&6; }
71519 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71520 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71521 $as_echo_n "(cached) " >&6
71522 else
71523
71524
71525 ac_ext=cpp
71526 ac_cpp='$CXXCPP $CPPFLAGS'
71527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71530
71531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71532 /* end confdefs.h. */
71533 #include <math.h>
71534 #ifdef HAVE_IEEEFP_H
71535 #include <ieeefp.h>
71536 #endif
71537
71538 int
71539 main ()
71540 {
71541 _isnan(0);
71542 ;
71543 return 0;
71544 }
71545 _ACEOF
71546 if ac_fn_cxx_try_compile "$LINENO"; then :
71547 glibcxx_cv_func__isnan_use=yes
71548 else
71549 glibcxx_cv_func__isnan_use=no
71550 fi
71551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71552 ac_ext=c
71553 ac_cpp='$CPP $CPPFLAGS'
71554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71557
71558
71559 fi
71560
71561 fi
71562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71563 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71564
71565 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71566 for ac_func in _isnan
71567 do :
71568 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71569 if test "x$ac_cv_func__isnan" = x""yes; then :
71570 cat >>confdefs.h <<_ACEOF
71571 #define HAVE__ISNAN 1
71572 _ACEOF
71573
71574 fi
71575 done
71576
71577 fi
71578 fi
71579
71580
71581
71582
71583
71584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71585 $as_echo_n "checking for finite declaration... " >&6; }
71586 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71587 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71588 $as_echo_n "(cached) " >&6
71589 else
71590
71591
71592 ac_ext=cpp
71593 ac_cpp='$CXXCPP $CPPFLAGS'
71594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71597
71598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71599 /* end confdefs.h. */
71600 #include <math.h>
71601 #ifdef HAVE_IEEEFP_H
71602 #include <ieeefp.h>
71603 #endif
71604
71605 int
71606 main ()
71607 {
71608 finite(0);
71609 ;
71610 return 0;
71611 }
71612 _ACEOF
71613 if ac_fn_cxx_try_compile "$LINENO"; then :
71614 glibcxx_cv_func_finite_use=yes
71615 else
71616 glibcxx_cv_func_finite_use=no
71617 fi
71618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71619 ac_ext=c
71620 ac_cpp='$CPP $CPPFLAGS'
71621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71624
71625
71626 fi
71627
71628 fi
71629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71630 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71631
71632 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71633 for ac_func in finite
71634 do :
71635 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71636 if test "x$ac_cv_func_finite" = x""yes; then :
71637 cat >>confdefs.h <<_ACEOF
71638 #define HAVE_FINITE 1
71639 _ACEOF
71640
71641 fi
71642 done
71643
71644 else
71645
71646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71647 $as_echo_n "checking for _finite declaration... " >&6; }
71648 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71649 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71650 $as_echo_n "(cached) " >&6
71651 else
71652
71653
71654 ac_ext=cpp
71655 ac_cpp='$CXXCPP $CPPFLAGS'
71656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71659
71660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71661 /* end confdefs.h. */
71662 #include <math.h>
71663 #ifdef HAVE_IEEEFP_H
71664 #include <ieeefp.h>
71665 #endif
71666
71667 int
71668 main ()
71669 {
71670 _finite(0);
71671 ;
71672 return 0;
71673 }
71674 _ACEOF
71675 if ac_fn_cxx_try_compile "$LINENO"; then :
71676 glibcxx_cv_func__finite_use=yes
71677 else
71678 glibcxx_cv_func__finite_use=no
71679 fi
71680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71681 ac_ext=c
71682 ac_cpp='$CPP $CPPFLAGS'
71683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71686
71687
71688 fi
71689
71690 fi
71691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71692 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71693
71694 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71695 for ac_func in _finite
71696 do :
71697 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71698 if test "x$ac_cv_func__finite" = x""yes; then :
71699 cat >>confdefs.h <<_ACEOF
71700 #define HAVE__FINITE 1
71701 _ACEOF
71702
71703 fi
71704 done
71705
71706 fi
71707 fi
71708
71709
71710
71711
71712
71713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71714 $as_echo_n "checking for sincos declaration... " >&6; }
71715 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71716 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71717 $as_echo_n "(cached) " >&6
71718 else
71719
71720
71721 ac_ext=cpp
71722 ac_cpp='$CXXCPP $CPPFLAGS'
71723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71726
71727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71728 /* end confdefs.h. */
71729 #include <math.h>
71730 int
71731 main ()
71732 {
71733 sincos(0, 0, 0);
71734 ;
71735 return 0;
71736 }
71737 _ACEOF
71738 if ac_fn_cxx_try_compile "$LINENO"; then :
71739 glibcxx_cv_func_sincos_use=yes
71740 else
71741 glibcxx_cv_func_sincos_use=no
71742 fi
71743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71744 ac_ext=c
71745 ac_cpp='$CPP $CPPFLAGS'
71746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71749
71750
71751 fi
71752
71753 fi
71754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71755 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71756
71757 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71758 for ac_func in sincos
71759 do :
71760 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71761 if test "x$ac_cv_func_sincos" = x""yes; then :
71762 cat >>confdefs.h <<_ACEOF
71763 #define HAVE_SINCOS 1
71764 _ACEOF
71765
71766 fi
71767 done
71768
71769 else
71770
71771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71772 $as_echo_n "checking for _sincos declaration... " >&6; }
71773 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71774 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71775 $as_echo_n "(cached) " >&6
71776 else
71777
71778
71779 ac_ext=cpp
71780 ac_cpp='$CXXCPP $CPPFLAGS'
71781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71784
71785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71786 /* end confdefs.h. */
71787 #include <math.h>
71788 int
71789 main ()
71790 {
71791 _sincos(0, 0, 0);
71792 ;
71793 return 0;
71794 }
71795 _ACEOF
71796 if ac_fn_cxx_try_compile "$LINENO"; then :
71797 glibcxx_cv_func__sincos_use=yes
71798 else
71799 glibcxx_cv_func__sincos_use=no
71800 fi
71801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71802 ac_ext=c
71803 ac_cpp='$CPP $CPPFLAGS'
71804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71807
71808
71809 fi
71810
71811 fi
71812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71813 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71814
71815 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71816 for ac_func in _sincos
71817 do :
71818 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71819 if test "x$ac_cv_func__sincos" = x""yes; then :
71820 cat >>confdefs.h <<_ACEOF
71821 #define HAVE__SINCOS 1
71822 _ACEOF
71823
71824 fi
71825 done
71826
71827 fi
71828 fi
71829
71830
71831
71832
71833
71834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
71835 $as_echo_n "checking for fpclass declaration... " >&6; }
71836 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
71837 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
71838 $as_echo_n "(cached) " >&6
71839 else
71840
71841
71842 ac_ext=cpp
71843 ac_cpp='$CXXCPP $CPPFLAGS'
71844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71847
71848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71849 /* end confdefs.h. */
71850 #include <math.h>
71851 #ifdef HAVE_IEEEFP_H
71852 #include <ieeefp.h>
71853 #endif
71854
71855 int
71856 main ()
71857 {
71858 fpclass(0);
71859 ;
71860 return 0;
71861 }
71862 _ACEOF
71863 if ac_fn_cxx_try_compile "$LINENO"; then :
71864 glibcxx_cv_func_fpclass_use=yes
71865 else
71866 glibcxx_cv_func_fpclass_use=no
71867 fi
71868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71869 ac_ext=c
71870 ac_cpp='$CPP $CPPFLAGS'
71871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71874
71875
71876 fi
71877
71878 fi
71879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
71880 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
71881
71882 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
71883 for ac_func in fpclass
71884 do :
71885 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
71886 if test "x$ac_cv_func_fpclass" = x""yes; then :
71887 cat >>confdefs.h <<_ACEOF
71888 #define HAVE_FPCLASS 1
71889 _ACEOF
71890
71891 fi
71892 done
71893
71894 else
71895
71896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
71897 $as_echo_n "checking for _fpclass declaration... " >&6; }
71898 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
71899 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
71900 $as_echo_n "(cached) " >&6
71901 else
71902
71903
71904 ac_ext=cpp
71905 ac_cpp='$CXXCPP $CPPFLAGS'
71906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71909
71910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71911 /* end confdefs.h. */
71912 #include <math.h>
71913 #ifdef HAVE_IEEEFP_H
71914 #include <ieeefp.h>
71915 #endif
71916
71917 int
71918 main ()
71919 {
71920 _fpclass(0);
71921 ;
71922 return 0;
71923 }
71924 _ACEOF
71925 if ac_fn_cxx_try_compile "$LINENO"; then :
71926 glibcxx_cv_func__fpclass_use=yes
71927 else
71928 glibcxx_cv_func__fpclass_use=no
71929 fi
71930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71931 ac_ext=c
71932 ac_cpp='$CPP $CPPFLAGS'
71933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71936
71937
71938 fi
71939
71940 fi
71941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
71942 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
71943
71944 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
71945 for ac_func in _fpclass
71946 do :
71947 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
71948 if test "x$ac_cv_func__fpclass" = x""yes; then :
71949 cat >>confdefs.h <<_ACEOF
71950 #define HAVE__FPCLASS 1
71951 _ACEOF
71952
71953 fi
71954 done
71955
71956 fi
71957 fi
71958
71959
71960
71961
71962
71963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
71964 $as_echo_n "checking for qfpclass declaration... " >&6; }
71965 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
71966 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
71967 $as_echo_n "(cached) " >&6
71968 else
71969
71970
71971 ac_ext=cpp
71972 ac_cpp='$CXXCPP $CPPFLAGS'
71973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71976
71977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71978 /* end confdefs.h. */
71979 #include <math.h>
71980 #ifdef HAVE_IEEEFP_H
71981 #include <ieeefp.h>
71982 #endif
71983
71984 int
71985 main ()
71986 {
71987 qfpclass(0);
71988 ;
71989 return 0;
71990 }
71991 _ACEOF
71992 if ac_fn_cxx_try_compile "$LINENO"; then :
71993 glibcxx_cv_func_qfpclass_use=yes
71994 else
71995 glibcxx_cv_func_qfpclass_use=no
71996 fi
71997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71998 ac_ext=c
71999 ac_cpp='$CPP $CPPFLAGS'
72000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72003
72004
72005 fi
72006
72007 fi
72008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72009 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72010
72011 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72012 for ac_func in qfpclass
72013 do :
72014 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72015 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72016 cat >>confdefs.h <<_ACEOF
72017 #define HAVE_QFPCLASS 1
72018 _ACEOF
72019
72020 fi
72021 done
72022
72023 else
72024
72025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72026 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72027 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72028 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72029 $as_echo_n "(cached) " >&6
72030 else
72031
72032
72033 ac_ext=cpp
72034 ac_cpp='$CXXCPP $CPPFLAGS'
72035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72038
72039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72040 /* end confdefs.h. */
72041 #include <math.h>
72042 #ifdef HAVE_IEEEFP_H
72043 #include <ieeefp.h>
72044 #endif
72045
72046 int
72047 main ()
72048 {
72049 _qfpclass(0);
72050 ;
72051 return 0;
72052 }
72053 _ACEOF
72054 if ac_fn_cxx_try_compile "$LINENO"; then :
72055 glibcxx_cv_func__qfpclass_use=yes
72056 else
72057 glibcxx_cv_func__qfpclass_use=no
72058 fi
72059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72060 ac_ext=c
72061 ac_cpp='$CPP $CPPFLAGS'
72062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72065
72066
72067 fi
72068
72069 fi
72070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72071 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72072
72073 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72074 for ac_func in _qfpclass
72075 do :
72076 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72077 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72078 cat >>confdefs.h <<_ACEOF
72079 #define HAVE__QFPCLASS 1
72080 _ACEOF
72081
72082 fi
72083 done
72084
72085 fi
72086 fi
72087
72088
72089
72090
72091
72092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72093 $as_echo_n "checking for hypot declaration... " >&6; }
72094 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72095 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72096 $as_echo_n "(cached) " >&6
72097 else
72098
72099
72100 ac_ext=cpp
72101 ac_cpp='$CXXCPP $CPPFLAGS'
72102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72105
72106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72107 /* end confdefs.h. */
72108 #include <math.h>
72109 int
72110 main ()
72111 {
72112 hypot(0, 0);
72113 ;
72114 return 0;
72115 }
72116 _ACEOF
72117 if ac_fn_cxx_try_compile "$LINENO"; then :
72118 glibcxx_cv_func_hypot_use=yes
72119 else
72120 glibcxx_cv_func_hypot_use=no
72121 fi
72122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72123 ac_ext=c
72124 ac_cpp='$CPP $CPPFLAGS'
72125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72128
72129
72130 fi
72131
72132 fi
72133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72134 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72135
72136 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72137 for ac_func in hypot
72138 do :
72139 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72140 if test "x$ac_cv_func_hypot" = x""yes; then :
72141 cat >>confdefs.h <<_ACEOF
72142 #define HAVE_HYPOT 1
72143 _ACEOF
72144
72145 fi
72146 done
72147
72148 else
72149
72150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72151 $as_echo_n "checking for _hypot declaration... " >&6; }
72152 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72153 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72154 $as_echo_n "(cached) " >&6
72155 else
72156
72157
72158 ac_ext=cpp
72159 ac_cpp='$CXXCPP $CPPFLAGS'
72160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72163
72164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72165 /* end confdefs.h. */
72166 #include <math.h>
72167 int
72168 main ()
72169 {
72170 _hypot(0, 0);
72171 ;
72172 return 0;
72173 }
72174 _ACEOF
72175 if ac_fn_cxx_try_compile "$LINENO"; then :
72176 glibcxx_cv_func__hypot_use=yes
72177 else
72178 glibcxx_cv_func__hypot_use=no
72179 fi
72180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72181 ac_ext=c
72182 ac_cpp='$CPP $CPPFLAGS'
72183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72186
72187
72188 fi
72189
72190 fi
72191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72192 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72193
72194 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72195 for ac_func in _hypot
72196 do :
72197 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72198 if test "x$ac_cv_func__hypot" = x""yes; then :
72199 cat >>confdefs.h <<_ACEOF
72200 #define HAVE__HYPOT 1
72201 _ACEOF
72202
72203 fi
72204 done
72205
72206 fi
72207 fi
72208
72209
72210
72211
72212
72213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72214 $as_echo_n "checking for float trig functions... " >&6; }
72215 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72216 $as_echo_n "(cached) " >&6
72217 else
72218
72219
72220 ac_ext=cpp
72221 ac_cpp='$CXXCPP $CPPFLAGS'
72222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72225
72226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72227 /* end confdefs.h. */
72228 #include <math.h>
72229 int
72230 main ()
72231 {
72232 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72233 ;
72234 return 0;
72235 }
72236 _ACEOF
72237 if ac_fn_cxx_try_compile "$LINENO"; then :
72238 glibcxx_cv_func_float_trig_use=yes
72239 else
72240 glibcxx_cv_func_float_trig_use=no
72241 fi
72242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72243 ac_ext=c
72244 ac_cpp='$CPP $CPPFLAGS'
72245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72248
72249 fi
72250
72251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72252 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72253 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72254 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72255 do :
72256 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72257 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72258 eval as_val=\$$as_ac_var
72259 if test "x$as_val" = x""yes; then :
72260 cat >>confdefs.h <<_ACEOF
72261 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72262 _ACEOF
72263
72264 fi
72265 done
72266
72267 else
72268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72269 $as_echo_n "checking for _float trig functions... " >&6; }
72270 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72271 $as_echo_n "(cached) " >&6
72272 else
72273
72274
72275 ac_ext=cpp
72276 ac_cpp='$CXXCPP $CPPFLAGS'
72277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72280
72281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72282 /* end confdefs.h. */
72283 #include <math.h>
72284 int
72285 main ()
72286 {
72287 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72288 ;
72289 return 0;
72290 }
72291 _ACEOF
72292 if ac_fn_cxx_try_compile "$LINENO"; then :
72293 glibcxx_cv_func__float_trig_use=yes
72294 else
72295 glibcxx_cv_func__float_trig_use=no
72296 fi
72297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72298 ac_ext=c
72299 ac_cpp='$CPP $CPPFLAGS'
72300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72303
72304 fi
72305
72306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72307 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72308 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72309 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72310 do :
72311 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72312 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72313 eval as_val=\$$as_ac_var
72314 if test "x$as_val" = x""yes; then :
72315 cat >>confdefs.h <<_ACEOF
72316 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72317 _ACEOF
72318
72319 fi
72320 done
72321
72322 fi
72323 fi
72324
72325
72326
72327
72328
72329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72330 $as_echo_n "checking for float round functions... " >&6; }
72331 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72332 $as_echo_n "(cached) " >&6
72333 else
72334
72335
72336 ac_ext=cpp
72337 ac_cpp='$CXXCPP $CPPFLAGS'
72338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72341
72342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72343 /* end confdefs.h. */
72344 #include <math.h>
72345 int
72346 main ()
72347 {
72348 ceilf (0); floorf (0);
72349 ;
72350 return 0;
72351 }
72352 _ACEOF
72353 if ac_fn_cxx_try_compile "$LINENO"; then :
72354 glibcxx_cv_func_float_round_use=yes
72355 else
72356 glibcxx_cv_func_float_round_use=no
72357 fi
72358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72359 ac_ext=c
72360 ac_cpp='$CPP $CPPFLAGS'
72361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72364
72365 fi
72366
72367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72368 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72369 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72370 for ac_func in ceilf floorf
72371 do :
72372 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72373 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72374 eval as_val=\$$as_ac_var
72375 if test "x$as_val" = x""yes; then :
72376 cat >>confdefs.h <<_ACEOF
72377 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72378 _ACEOF
72379
72380 fi
72381 done
72382
72383 else
72384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72385 $as_echo_n "checking for _float round functions... " >&6; }
72386 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72387 $as_echo_n "(cached) " >&6
72388 else
72389
72390
72391 ac_ext=cpp
72392 ac_cpp='$CXXCPP $CPPFLAGS'
72393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72396
72397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72398 /* end confdefs.h. */
72399 #include <math.h>
72400 int
72401 main ()
72402 {
72403 _ceilf (0); _floorf (0);
72404 ;
72405 return 0;
72406 }
72407 _ACEOF
72408 if ac_fn_cxx_try_compile "$LINENO"; then :
72409 glibcxx_cv_func__float_round_use=yes
72410 else
72411 glibcxx_cv_func__float_round_use=no
72412 fi
72413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72414 ac_ext=c
72415 ac_cpp='$CPP $CPPFLAGS'
72416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72419
72420 fi
72421
72422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72423 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72424 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72425 for ac_func in _ceilf _floorf
72426 do :
72427 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72428 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72429 eval as_val=\$$as_ac_var
72430 if test "x$as_val" = x""yes; then :
72431 cat >>confdefs.h <<_ACEOF
72432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72433 _ACEOF
72434
72435 fi
72436 done
72437
72438 fi
72439 fi
72440
72441
72442
72443
72444
72445
72446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72447 $as_echo_n "checking for expf declaration... " >&6; }
72448 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72449 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72450 $as_echo_n "(cached) " >&6
72451 else
72452
72453
72454 ac_ext=cpp
72455 ac_cpp='$CXXCPP $CPPFLAGS'
72456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72459
72460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72461 /* end confdefs.h. */
72462 #include <math.h>
72463 #ifdef HAVE_IEEEFP_H
72464 #include <ieeefp.h>
72465 #endif
72466
72467 int
72468 main ()
72469 {
72470 expf(0);
72471 ;
72472 return 0;
72473 }
72474 _ACEOF
72475 if ac_fn_cxx_try_compile "$LINENO"; then :
72476 glibcxx_cv_func_expf_use=yes
72477 else
72478 glibcxx_cv_func_expf_use=no
72479 fi
72480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72481 ac_ext=c
72482 ac_cpp='$CPP $CPPFLAGS'
72483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72486
72487
72488 fi
72489
72490 fi
72491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72492 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72493
72494 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72495 for ac_func in expf
72496 do :
72497 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72498 if test "x$ac_cv_func_expf" = x""yes; then :
72499 cat >>confdefs.h <<_ACEOF
72500 #define HAVE_EXPF 1
72501 _ACEOF
72502
72503 fi
72504 done
72505
72506 else
72507
72508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72509 $as_echo_n "checking for _expf declaration... " >&6; }
72510 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72511 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72512 $as_echo_n "(cached) " >&6
72513 else
72514
72515
72516 ac_ext=cpp
72517 ac_cpp='$CXXCPP $CPPFLAGS'
72518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72521
72522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72523 /* end confdefs.h. */
72524 #include <math.h>
72525 #ifdef HAVE_IEEEFP_H
72526 #include <ieeefp.h>
72527 #endif
72528
72529 int
72530 main ()
72531 {
72532 _expf(0);
72533 ;
72534 return 0;
72535 }
72536 _ACEOF
72537 if ac_fn_cxx_try_compile "$LINENO"; then :
72538 glibcxx_cv_func__expf_use=yes
72539 else
72540 glibcxx_cv_func__expf_use=no
72541 fi
72542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72543 ac_ext=c
72544 ac_cpp='$CPP $CPPFLAGS'
72545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72548
72549
72550 fi
72551
72552 fi
72553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72554 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72555
72556 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72557 for ac_func in _expf
72558 do :
72559 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72560 if test "x$ac_cv_func__expf" = x""yes; then :
72561 cat >>confdefs.h <<_ACEOF
72562 #define HAVE__EXPF 1
72563 _ACEOF
72564
72565 fi
72566 done
72567
72568 fi
72569 fi
72570
72571
72572
72573
72574
72575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72576 $as_echo_n "checking for isnanf declaration... " >&6; }
72577 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72578 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72579 $as_echo_n "(cached) " >&6
72580 else
72581
72582
72583 ac_ext=cpp
72584 ac_cpp='$CXXCPP $CPPFLAGS'
72585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72588
72589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72590 /* end confdefs.h. */
72591 #include <math.h>
72592 #ifdef HAVE_IEEEFP_H
72593 #include <ieeefp.h>
72594 #endif
72595
72596 int
72597 main ()
72598 {
72599 isnanf(0);
72600 ;
72601 return 0;
72602 }
72603 _ACEOF
72604 if ac_fn_cxx_try_compile "$LINENO"; then :
72605 glibcxx_cv_func_isnanf_use=yes
72606 else
72607 glibcxx_cv_func_isnanf_use=no
72608 fi
72609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72610 ac_ext=c
72611 ac_cpp='$CPP $CPPFLAGS'
72612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72615
72616
72617 fi
72618
72619 fi
72620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72621 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72622
72623 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72624 for ac_func in isnanf
72625 do :
72626 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72627 if test "x$ac_cv_func_isnanf" = x""yes; then :
72628 cat >>confdefs.h <<_ACEOF
72629 #define HAVE_ISNANF 1
72630 _ACEOF
72631
72632 fi
72633 done
72634
72635 else
72636
72637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72638 $as_echo_n "checking for _isnanf declaration... " >&6; }
72639 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72640 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72641 $as_echo_n "(cached) " >&6
72642 else
72643
72644
72645 ac_ext=cpp
72646 ac_cpp='$CXXCPP $CPPFLAGS'
72647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72650
72651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72652 /* end confdefs.h. */
72653 #include <math.h>
72654 #ifdef HAVE_IEEEFP_H
72655 #include <ieeefp.h>
72656 #endif
72657
72658 int
72659 main ()
72660 {
72661 _isnanf(0);
72662 ;
72663 return 0;
72664 }
72665 _ACEOF
72666 if ac_fn_cxx_try_compile "$LINENO"; then :
72667 glibcxx_cv_func__isnanf_use=yes
72668 else
72669 glibcxx_cv_func__isnanf_use=no
72670 fi
72671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72672 ac_ext=c
72673 ac_cpp='$CPP $CPPFLAGS'
72674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72677
72678
72679 fi
72680
72681 fi
72682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72683 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72684
72685 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72686 for ac_func in _isnanf
72687 do :
72688 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72689 if test "x$ac_cv_func__isnanf" = x""yes; then :
72690 cat >>confdefs.h <<_ACEOF
72691 #define HAVE__ISNANF 1
72692 _ACEOF
72693
72694 fi
72695 done
72696
72697 fi
72698 fi
72699
72700
72701
72702
72703
72704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72705 $as_echo_n "checking for isinff declaration... " >&6; }
72706 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72707 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72708 $as_echo_n "(cached) " >&6
72709 else
72710
72711
72712 ac_ext=cpp
72713 ac_cpp='$CXXCPP $CPPFLAGS'
72714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72717
72718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72719 /* end confdefs.h. */
72720 #include <math.h>
72721 #ifdef HAVE_IEEEFP_H
72722 #include <ieeefp.h>
72723 #endif
72724
72725 int
72726 main ()
72727 {
72728 isinff(0);
72729 ;
72730 return 0;
72731 }
72732 _ACEOF
72733 if ac_fn_cxx_try_compile "$LINENO"; then :
72734 glibcxx_cv_func_isinff_use=yes
72735 else
72736 glibcxx_cv_func_isinff_use=no
72737 fi
72738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72739 ac_ext=c
72740 ac_cpp='$CPP $CPPFLAGS'
72741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72744
72745
72746 fi
72747
72748 fi
72749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72750 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72751
72752 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72753 for ac_func in isinff
72754 do :
72755 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72756 if test "x$ac_cv_func_isinff" = x""yes; then :
72757 cat >>confdefs.h <<_ACEOF
72758 #define HAVE_ISINFF 1
72759 _ACEOF
72760
72761 fi
72762 done
72763
72764 else
72765
72766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72767 $as_echo_n "checking for _isinff declaration... " >&6; }
72768 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72769 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72770 $as_echo_n "(cached) " >&6
72771 else
72772
72773
72774 ac_ext=cpp
72775 ac_cpp='$CXXCPP $CPPFLAGS'
72776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72779
72780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72781 /* end confdefs.h. */
72782 #include <math.h>
72783 #ifdef HAVE_IEEEFP_H
72784 #include <ieeefp.h>
72785 #endif
72786
72787 int
72788 main ()
72789 {
72790 _isinff(0);
72791 ;
72792 return 0;
72793 }
72794 _ACEOF
72795 if ac_fn_cxx_try_compile "$LINENO"; then :
72796 glibcxx_cv_func__isinff_use=yes
72797 else
72798 glibcxx_cv_func__isinff_use=no
72799 fi
72800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72801 ac_ext=c
72802 ac_cpp='$CPP $CPPFLAGS'
72803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72806
72807
72808 fi
72809
72810 fi
72811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72812 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72813
72814 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72815 for ac_func in _isinff
72816 do :
72817 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72818 if test "x$ac_cv_func__isinff" = x""yes; then :
72819 cat >>confdefs.h <<_ACEOF
72820 #define HAVE__ISINFF 1
72821 _ACEOF
72822
72823 fi
72824 done
72825
72826 fi
72827 fi
72828
72829
72830
72831
72832
72833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
72834 $as_echo_n "checking for atan2f declaration... " >&6; }
72835 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
72836 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
72837 $as_echo_n "(cached) " >&6
72838 else
72839
72840
72841 ac_ext=cpp
72842 ac_cpp='$CXXCPP $CPPFLAGS'
72843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72846
72847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72848 /* end confdefs.h. */
72849 #include <math.h>
72850 int
72851 main ()
72852 {
72853 atan2f(0, 0);
72854 ;
72855 return 0;
72856 }
72857 _ACEOF
72858 if ac_fn_cxx_try_compile "$LINENO"; then :
72859 glibcxx_cv_func_atan2f_use=yes
72860 else
72861 glibcxx_cv_func_atan2f_use=no
72862 fi
72863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72864 ac_ext=c
72865 ac_cpp='$CPP $CPPFLAGS'
72866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72869
72870
72871 fi
72872
72873 fi
72874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
72875 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
72876
72877 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
72878 for ac_func in atan2f
72879 do :
72880 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
72881 if test "x$ac_cv_func_atan2f" = x""yes; then :
72882 cat >>confdefs.h <<_ACEOF
72883 #define HAVE_ATAN2F 1
72884 _ACEOF
72885
72886 fi
72887 done
72888
72889 else
72890
72891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
72892 $as_echo_n "checking for _atan2f declaration... " >&6; }
72893 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
72894 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
72895 $as_echo_n "(cached) " >&6
72896 else
72897
72898
72899 ac_ext=cpp
72900 ac_cpp='$CXXCPP $CPPFLAGS'
72901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72904
72905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72906 /* end confdefs.h. */
72907 #include <math.h>
72908 int
72909 main ()
72910 {
72911 _atan2f(0, 0);
72912 ;
72913 return 0;
72914 }
72915 _ACEOF
72916 if ac_fn_cxx_try_compile "$LINENO"; then :
72917 glibcxx_cv_func__atan2f_use=yes
72918 else
72919 glibcxx_cv_func__atan2f_use=no
72920 fi
72921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72922 ac_ext=c
72923 ac_cpp='$CPP $CPPFLAGS'
72924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72927
72928
72929 fi
72930
72931 fi
72932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
72933 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
72934
72935 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
72936 for ac_func in _atan2f
72937 do :
72938 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
72939 if test "x$ac_cv_func__atan2f" = x""yes; then :
72940 cat >>confdefs.h <<_ACEOF
72941 #define HAVE__ATAN2F 1
72942 _ACEOF
72943
72944 fi
72945 done
72946
72947 fi
72948 fi
72949
72950
72951
72952
72953
72954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
72955 $as_echo_n "checking for fabsf declaration... " >&6; }
72956 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
72957 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
72958 $as_echo_n "(cached) " >&6
72959 else
72960
72961
72962 ac_ext=cpp
72963 ac_cpp='$CXXCPP $CPPFLAGS'
72964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72967
72968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72969 /* end confdefs.h. */
72970 #include <math.h>
72971 #ifdef HAVE_IEEEFP_H
72972 #include <ieeefp.h>
72973 #endif
72974
72975 int
72976 main ()
72977 {
72978 fabsf(0);
72979 ;
72980 return 0;
72981 }
72982 _ACEOF
72983 if ac_fn_cxx_try_compile "$LINENO"; then :
72984 glibcxx_cv_func_fabsf_use=yes
72985 else
72986 glibcxx_cv_func_fabsf_use=no
72987 fi
72988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72989 ac_ext=c
72990 ac_cpp='$CPP $CPPFLAGS'
72991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72994
72995
72996 fi
72997
72998 fi
72999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
73000 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
73001
73002 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
73003 for ac_func in fabsf
73004 do :
73005 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73006 if test "x$ac_cv_func_fabsf" = x""yes; then :
73007 cat >>confdefs.h <<_ACEOF
73008 #define HAVE_FABSF 1
73009 _ACEOF
73010
73011 fi
73012 done
73013
73014 else
73015
73016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73017 $as_echo_n "checking for _fabsf declaration... " >&6; }
73018 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73019 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73020 $as_echo_n "(cached) " >&6
73021 else
73022
73023
73024 ac_ext=cpp
73025 ac_cpp='$CXXCPP $CPPFLAGS'
73026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73029
73030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73031 /* end confdefs.h. */
73032 #include <math.h>
73033 #ifdef HAVE_IEEEFP_H
73034 #include <ieeefp.h>
73035 #endif
73036
73037 int
73038 main ()
73039 {
73040 _fabsf(0);
73041 ;
73042 return 0;
73043 }
73044 _ACEOF
73045 if ac_fn_cxx_try_compile "$LINENO"; then :
73046 glibcxx_cv_func__fabsf_use=yes
73047 else
73048 glibcxx_cv_func__fabsf_use=no
73049 fi
73050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73051 ac_ext=c
73052 ac_cpp='$CPP $CPPFLAGS'
73053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73056
73057
73058 fi
73059
73060 fi
73061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73062 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73063
73064 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73065 for ac_func in _fabsf
73066 do :
73067 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73068 if test "x$ac_cv_func__fabsf" = x""yes; then :
73069 cat >>confdefs.h <<_ACEOF
73070 #define HAVE__FABSF 1
73071 _ACEOF
73072
73073 fi
73074 done
73075
73076 fi
73077 fi
73078
73079
73080
73081
73082
73083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73084 $as_echo_n "checking for fmodf declaration... " >&6; }
73085 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73086 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73087 $as_echo_n "(cached) " >&6
73088 else
73089
73090
73091 ac_ext=cpp
73092 ac_cpp='$CXXCPP $CPPFLAGS'
73093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73096
73097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73098 /* end confdefs.h. */
73099 #include <math.h>
73100 int
73101 main ()
73102 {
73103 fmodf(0, 0);
73104 ;
73105 return 0;
73106 }
73107 _ACEOF
73108 if ac_fn_cxx_try_compile "$LINENO"; then :
73109 glibcxx_cv_func_fmodf_use=yes
73110 else
73111 glibcxx_cv_func_fmodf_use=no
73112 fi
73113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73114 ac_ext=c
73115 ac_cpp='$CPP $CPPFLAGS'
73116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73119
73120
73121 fi
73122
73123 fi
73124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73125 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73126
73127 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73128 for ac_func in fmodf
73129 do :
73130 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73131 if test "x$ac_cv_func_fmodf" = x""yes; then :
73132 cat >>confdefs.h <<_ACEOF
73133 #define HAVE_FMODF 1
73134 _ACEOF
73135
73136 fi
73137 done
73138
73139 else
73140
73141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73142 $as_echo_n "checking for _fmodf declaration... " >&6; }
73143 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73144 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73145 $as_echo_n "(cached) " >&6
73146 else
73147
73148
73149 ac_ext=cpp
73150 ac_cpp='$CXXCPP $CPPFLAGS'
73151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73154
73155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73156 /* end confdefs.h. */
73157 #include <math.h>
73158 int
73159 main ()
73160 {
73161 _fmodf(0, 0);
73162 ;
73163 return 0;
73164 }
73165 _ACEOF
73166 if ac_fn_cxx_try_compile "$LINENO"; then :
73167 glibcxx_cv_func__fmodf_use=yes
73168 else
73169 glibcxx_cv_func__fmodf_use=no
73170 fi
73171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73172 ac_ext=c
73173 ac_cpp='$CPP $CPPFLAGS'
73174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73177
73178
73179 fi
73180
73181 fi
73182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73183 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73184
73185 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73186 for ac_func in _fmodf
73187 do :
73188 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73189 if test "x$ac_cv_func__fmodf" = x""yes; then :
73190 cat >>confdefs.h <<_ACEOF
73191 #define HAVE__FMODF 1
73192 _ACEOF
73193
73194 fi
73195 done
73196
73197 fi
73198 fi
73199
73200
73201
73202
73203
73204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73205 $as_echo_n "checking for frexpf declaration... " >&6; }
73206 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73207 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73208 $as_echo_n "(cached) " >&6
73209 else
73210
73211
73212 ac_ext=cpp
73213 ac_cpp='$CXXCPP $CPPFLAGS'
73214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73217
73218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73219 /* end confdefs.h. */
73220 #include <math.h>
73221 int
73222 main ()
73223 {
73224 frexpf(0, 0);
73225 ;
73226 return 0;
73227 }
73228 _ACEOF
73229 if ac_fn_cxx_try_compile "$LINENO"; then :
73230 glibcxx_cv_func_frexpf_use=yes
73231 else
73232 glibcxx_cv_func_frexpf_use=no
73233 fi
73234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73235 ac_ext=c
73236 ac_cpp='$CPP $CPPFLAGS'
73237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73240
73241
73242 fi
73243
73244 fi
73245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73246 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73247
73248 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73249 for ac_func in frexpf
73250 do :
73251 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73252 if test "x$ac_cv_func_frexpf" = x""yes; then :
73253 cat >>confdefs.h <<_ACEOF
73254 #define HAVE_FREXPF 1
73255 _ACEOF
73256
73257 fi
73258 done
73259
73260 else
73261
73262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73263 $as_echo_n "checking for _frexpf declaration... " >&6; }
73264 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73265 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73266 $as_echo_n "(cached) " >&6
73267 else
73268
73269
73270 ac_ext=cpp
73271 ac_cpp='$CXXCPP $CPPFLAGS'
73272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73275
73276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73277 /* end confdefs.h. */
73278 #include <math.h>
73279 int
73280 main ()
73281 {
73282 _frexpf(0, 0);
73283 ;
73284 return 0;
73285 }
73286 _ACEOF
73287 if ac_fn_cxx_try_compile "$LINENO"; then :
73288 glibcxx_cv_func__frexpf_use=yes
73289 else
73290 glibcxx_cv_func__frexpf_use=no
73291 fi
73292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73293 ac_ext=c
73294 ac_cpp='$CPP $CPPFLAGS'
73295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73298
73299
73300 fi
73301
73302 fi
73303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73304 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73305
73306 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73307 for ac_func in _frexpf
73308 do :
73309 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73310 if test "x$ac_cv_func__frexpf" = x""yes; then :
73311 cat >>confdefs.h <<_ACEOF
73312 #define HAVE__FREXPF 1
73313 _ACEOF
73314
73315 fi
73316 done
73317
73318 fi
73319 fi
73320
73321
73322
73323
73324
73325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73326 $as_echo_n "checking for hypotf declaration... " >&6; }
73327 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73328 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73329 $as_echo_n "(cached) " >&6
73330 else
73331
73332
73333 ac_ext=cpp
73334 ac_cpp='$CXXCPP $CPPFLAGS'
73335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73338
73339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73340 /* end confdefs.h. */
73341 #include <math.h>
73342 int
73343 main ()
73344 {
73345 hypotf(0, 0);
73346 ;
73347 return 0;
73348 }
73349 _ACEOF
73350 if ac_fn_cxx_try_compile "$LINENO"; then :
73351 glibcxx_cv_func_hypotf_use=yes
73352 else
73353 glibcxx_cv_func_hypotf_use=no
73354 fi
73355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73356 ac_ext=c
73357 ac_cpp='$CPP $CPPFLAGS'
73358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73361
73362
73363 fi
73364
73365 fi
73366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73367 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73368
73369 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73370 for ac_func in hypotf
73371 do :
73372 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73373 if test "x$ac_cv_func_hypotf" = x""yes; then :
73374 cat >>confdefs.h <<_ACEOF
73375 #define HAVE_HYPOTF 1
73376 _ACEOF
73377
73378 fi
73379 done
73380
73381 else
73382
73383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73384 $as_echo_n "checking for _hypotf declaration... " >&6; }
73385 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73386 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73387 $as_echo_n "(cached) " >&6
73388 else
73389
73390
73391 ac_ext=cpp
73392 ac_cpp='$CXXCPP $CPPFLAGS'
73393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73396
73397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73398 /* end confdefs.h. */
73399 #include <math.h>
73400 int
73401 main ()
73402 {
73403 _hypotf(0, 0);
73404 ;
73405 return 0;
73406 }
73407 _ACEOF
73408 if ac_fn_cxx_try_compile "$LINENO"; then :
73409 glibcxx_cv_func__hypotf_use=yes
73410 else
73411 glibcxx_cv_func__hypotf_use=no
73412 fi
73413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73414 ac_ext=c
73415 ac_cpp='$CPP $CPPFLAGS'
73416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73419
73420
73421 fi
73422
73423 fi
73424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73425 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73426
73427 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73428 for ac_func in _hypotf
73429 do :
73430 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73431 if test "x$ac_cv_func__hypotf" = x""yes; then :
73432 cat >>confdefs.h <<_ACEOF
73433 #define HAVE__HYPOTF 1
73434 _ACEOF
73435
73436 fi
73437 done
73438
73439 fi
73440 fi
73441
73442
73443
73444
73445
73446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73447 $as_echo_n "checking for ldexpf declaration... " >&6; }
73448 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73449 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73450 $as_echo_n "(cached) " >&6
73451 else
73452
73453
73454 ac_ext=cpp
73455 ac_cpp='$CXXCPP $CPPFLAGS'
73456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73459
73460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73461 /* end confdefs.h. */
73462 #include <math.h>
73463 int
73464 main ()
73465 {
73466 ldexpf(0, 0);
73467 ;
73468 return 0;
73469 }
73470 _ACEOF
73471 if ac_fn_cxx_try_compile "$LINENO"; then :
73472 glibcxx_cv_func_ldexpf_use=yes
73473 else
73474 glibcxx_cv_func_ldexpf_use=no
73475 fi
73476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73477 ac_ext=c
73478 ac_cpp='$CPP $CPPFLAGS'
73479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73482
73483
73484 fi
73485
73486 fi
73487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73488 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73489
73490 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73491 for ac_func in ldexpf
73492 do :
73493 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73494 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73495 cat >>confdefs.h <<_ACEOF
73496 #define HAVE_LDEXPF 1
73497 _ACEOF
73498
73499 fi
73500 done
73501
73502 else
73503
73504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73505 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73506 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73507 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73508 $as_echo_n "(cached) " >&6
73509 else
73510
73511
73512 ac_ext=cpp
73513 ac_cpp='$CXXCPP $CPPFLAGS'
73514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73517
73518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73519 /* end confdefs.h. */
73520 #include <math.h>
73521 int
73522 main ()
73523 {
73524 _ldexpf(0, 0);
73525 ;
73526 return 0;
73527 }
73528 _ACEOF
73529 if ac_fn_cxx_try_compile "$LINENO"; then :
73530 glibcxx_cv_func__ldexpf_use=yes
73531 else
73532 glibcxx_cv_func__ldexpf_use=no
73533 fi
73534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73535 ac_ext=c
73536 ac_cpp='$CPP $CPPFLAGS'
73537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73540
73541
73542 fi
73543
73544 fi
73545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73546 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73547
73548 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73549 for ac_func in _ldexpf
73550 do :
73551 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73552 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73553 cat >>confdefs.h <<_ACEOF
73554 #define HAVE__LDEXPF 1
73555 _ACEOF
73556
73557 fi
73558 done
73559
73560 fi
73561 fi
73562
73563
73564
73565
73566
73567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73568 $as_echo_n "checking for logf declaration... " >&6; }
73569 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73570 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73571 $as_echo_n "(cached) " >&6
73572 else
73573
73574
73575 ac_ext=cpp
73576 ac_cpp='$CXXCPP $CPPFLAGS'
73577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73580
73581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73582 /* end confdefs.h. */
73583 #include <math.h>
73584 #ifdef HAVE_IEEEFP_H
73585 #include <ieeefp.h>
73586 #endif
73587
73588 int
73589 main ()
73590 {
73591 logf(0);
73592 ;
73593 return 0;
73594 }
73595 _ACEOF
73596 if ac_fn_cxx_try_compile "$LINENO"; then :
73597 glibcxx_cv_func_logf_use=yes
73598 else
73599 glibcxx_cv_func_logf_use=no
73600 fi
73601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73602 ac_ext=c
73603 ac_cpp='$CPP $CPPFLAGS'
73604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73607
73608
73609 fi
73610
73611 fi
73612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73613 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73614
73615 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73616 for ac_func in logf
73617 do :
73618 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73619 if test "x$ac_cv_func_logf" = x""yes; then :
73620 cat >>confdefs.h <<_ACEOF
73621 #define HAVE_LOGF 1
73622 _ACEOF
73623
73624 fi
73625 done
73626
73627 else
73628
73629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73630 $as_echo_n "checking for _logf declaration... " >&6; }
73631 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73632 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73633 $as_echo_n "(cached) " >&6
73634 else
73635
73636
73637 ac_ext=cpp
73638 ac_cpp='$CXXCPP $CPPFLAGS'
73639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73642
73643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73644 /* end confdefs.h. */
73645 #include <math.h>
73646 #ifdef HAVE_IEEEFP_H
73647 #include <ieeefp.h>
73648 #endif
73649
73650 int
73651 main ()
73652 {
73653 _logf(0);
73654 ;
73655 return 0;
73656 }
73657 _ACEOF
73658 if ac_fn_cxx_try_compile "$LINENO"; then :
73659 glibcxx_cv_func__logf_use=yes
73660 else
73661 glibcxx_cv_func__logf_use=no
73662 fi
73663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73664 ac_ext=c
73665 ac_cpp='$CPP $CPPFLAGS'
73666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73669
73670
73671 fi
73672
73673 fi
73674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73675 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73676
73677 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73678 for ac_func in _logf
73679 do :
73680 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73681 if test "x$ac_cv_func__logf" = x""yes; then :
73682 cat >>confdefs.h <<_ACEOF
73683 #define HAVE__LOGF 1
73684 _ACEOF
73685
73686 fi
73687 done
73688
73689 fi
73690 fi
73691
73692
73693
73694
73695
73696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73697 $as_echo_n "checking for log10f declaration... " >&6; }
73698 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73699 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73700 $as_echo_n "(cached) " >&6
73701 else
73702
73703
73704 ac_ext=cpp
73705 ac_cpp='$CXXCPP $CPPFLAGS'
73706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73709
73710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73711 /* end confdefs.h. */
73712 #include <math.h>
73713 #ifdef HAVE_IEEEFP_H
73714 #include <ieeefp.h>
73715 #endif
73716
73717 int
73718 main ()
73719 {
73720 log10f(0);
73721 ;
73722 return 0;
73723 }
73724 _ACEOF
73725 if ac_fn_cxx_try_compile "$LINENO"; then :
73726 glibcxx_cv_func_log10f_use=yes
73727 else
73728 glibcxx_cv_func_log10f_use=no
73729 fi
73730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73731 ac_ext=c
73732 ac_cpp='$CPP $CPPFLAGS'
73733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73736
73737
73738 fi
73739
73740 fi
73741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73742 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73743
73744 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73745 for ac_func in log10f
73746 do :
73747 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73748 if test "x$ac_cv_func_log10f" = x""yes; then :
73749 cat >>confdefs.h <<_ACEOF
73750 #define HAVE_LOG10F 1
73751 _ACEOF
73752
73753 fi
73754 done
73755
73756 else
73757
73758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73759 $as_echo_n "checking for _log10f declaration... " >&6; }
73760 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73761 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73762 $as_echo_n "(cached) " >&6
73763 else
73764
73765
73766 ac_ext=cpp
73767 ac_cpp='$CXXCPP $CPPFLAGS'
73768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73771
73772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73773 /* end confdefs.h. */
73774 #include <math.h>
73775 #ifdef HAVE_IEEEFP_H
73776 #include <ieeefp.h>
73777 #endif
73778
73779 int
73780 main ()
73781 {
73782 _log10f(0);
73783 ;
73784 return 0;
73785 }
73786 _ACEOF
73787 if ac_fn_cxx_try_compile "$LINENO"; then :
73788 glibcxx_cv_func__log10f_use=yes
73789 else
73790 glibcxx_cv_func__log10f_use=no
73791 fi
73792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73793 ac_ext=c
73794 ac_cpp='$CPP $CPPFLAGS'
73795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73798
73799
73800 fi
73801
73802 fi
73803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73804 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73805
73806 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73807 for ac_func in _log10f
73808 do :
73809 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73810 if test "x$ac_cv_func__log10f" = x""yes; then :
73811 cat >>confdefs.h <<_ACEOF
73812 #define HAVE__LOG10F 1
73813 _ACEOF
73814
73815 fi
73816 done
73817
73818 fi
73819 fi
73820
73821
73822
73823
73824
73825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73826 $as_echo_n "checking for modff declaration... " >&6; }
73827 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73828 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
73829 $as_echo_n "(cached) " >&6
73830 else
73831
73832
73833 ac_ext=cpp
73834 ac_cpp='$CXXCPP $CPPFLAGS'
73835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73838
73839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73840 /* end confdefs.h. */
73841 #include <math.h>
73842 int
73843 main ()
73844 {
73845 modff(0, 0);
73846 ;
73847 return 0;
73848 }
73849 _ACEOF
73850 if ac_fn_cxx_try_compile "$LINENO"; then :
73851 glibcxx_cv_func_modff_use=yes
73852 else
73853 glibcxx_cv_func_modff_use=no
73854 fi
73855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73856 ac_ext=c
73857 ac_cpp='$CPP $CPPFLAGS'
73858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73861
73862
73863 fi
73864
73865 fi
73866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73867 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73868
73869 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73870 for ac_func in modff
73871 do :
73872 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
73873 if test "x$ac_cv_func_modff" = x""yes; then :
73874 cat >>confdefs.h <<_ACEOF
73875 #define HAVE_MODFF 1
73876 _ACEOF
73877
73878 fi
73879 done
73880
73881 else
73882
73883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
73884 $as_echo_n "checking for _modff declaration... " >&6; }
73885 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73886 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
73887 $as_echo_n "(cached) " >&6
73888 else
73889
73890
73891 ac_ext=cpp
73892 ac_cpp='$CXXCPP $CPPFLAGS'
73893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73896
73897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73898 /* end confdefs.h. */
73899 #include <math.h>
73900 int
73901 main ()
73902 {
73903 _modff(0, 0);
73904 ;
73905 return 0;
73906 }
73907 _ACEOF
73908 if ac_fn_cxx_try_compile "$LINENO"; then :
73909 glibcxx_cv_func__modff_use=yes
73910 else
73911 glibcxx_cv_func__modff_use=no
73912 fi
73913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73914 ac_ext=c
73915 ac_cpp='$CPP $CPPFLAGS'
73916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73919
73920
73921 fi
73922
73923 fi
73924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
73925 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
73926
73927 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73928 for ac_func in _modff
73929 do :
73930 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
73931 if test "x$ac_cv_func__modff" = x""yes; then :
73932 cat >>confdefs.h <<_ACEOF
73933 #define HAVE__MODFF 1
73934 _ACEOF
73935
73936 fi
73937 done
73938
73939 fi
73940 fi
73941
73942
73943
73944
73945
73946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
73947 $as_echo_n "checking for modf declaration... " >&6; }
73948 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73949 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
73950 $as_echo_n "(cached) " >&6
73951 else
73952
73953
73954 ac_ext=cpp
73955 ac_cpp='$CXXCPP $CPPFLAGS'
73956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73959
73960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73961 /* end confdefs.h. */
73962 #include <math.h>
73963 int
73964 main ()
73965 {
73966 modf(0, 0);
73967 ;
73968 return 0;
73969 }
73970 _ACEOF
73971 if ac_fn_cxx_try_compile "$LINENO"; then :
73972 glibcxx_cv_func_modf_use=yes
73973 else
73974 glibcxx_cv_func_modf_use=no
73975 fi
73976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73977 ac_ext=c
73978 ac_cpp='$CPP $CPPFLAGS'
73979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73982
73983
73984 fi
73985
73986 fi
73987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
73988 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
73989
73990 if test x$glibcxx_cv_func_modf_use = x"yes"; then
73991 for ac_func in modf
73992 do :
73993 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
73994 if test "x$ac_cv_func_modf" = x""yes; then :
73995 cat >>confdefs.h <<_ACEOF
73996 #define HAVE_MODF 1
73997 _ACEOF
73998
73999 fi
74000 done
74001
74002 else
74003
74004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
74005 $as_echo_n "checking for _modf declaration... " >&6; }
74006 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74007 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74008 $as_echo_n "(cached) " >&6
74009 else
74010
74011
74012 ac_ext=cpp
74013 ac_cpp='$CXXCPP $CPPFLAGS'
74014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74017
74018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74019 /* end confdefs.h. */
74020 #include <math.h>
74021 int
74022 main ()
74023 {
74024 _modf(0, 0);
74025 ;
74026 return 0;
74027 }
74028 _ACEOF
74029 if ac_fn_cxx_try_compile "$LINENO"; then :
74030 glibcxx_cv_func__modf_use=yes
74031 else
74032 glibcxx_cv_func__modf_use=no
74033 fi
74034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74035 ac_ext=c
74036 ac_cpp='$CPP $CPPFLAGS'
74037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74040
74041
74042 fi
74043
74044 fi
74045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74046 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74047
74048 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74049 for ac_func in _modf
74050 do :
74051 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74052 if test "x$ac_cv_func__modf" = x""yes; then :
74053 cat >>confdefs.h <<_ACEOF
74054 #define HAVE__MODF 1
74055 _ACEOF
74056
74057 fi
74058 done
74059
74060 fi
74061 fi
74062
74063
74064
74065
74066
74067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74068 $as_echo_n "checking for powf declaration... " >&6; }
74069 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74070 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74071 $as_echo_n "(cached) " >&6
74072 else
74073
74074
74075 ac_ext=cpp
74076 ac_cpp='$CXXCPP $CPPFLAGS'
74077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74080
74081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74082 /* end confdefs.h. */
74083 #include <math.h>
74084 int
74085 main ()
74086 {
74087 powf(0, 0);
74088 ;
74089 return 0;
74090 }
74091 _ACEOF
74092 if ac_fn_cxx_try_compile "$LINENO"; then :
74093 glibcxx_cv_func_powf_use=yes
74094 else
74095 glibcxx_cv_func_powf_use=no
74096 fi
74097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74098 ac_ext=c
74099 ac_cpp='$CPP $CPPFLAGS'
74100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74103
74104
74105 fi
74106
74107 fi
74108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74109 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74110
74111 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74112 for ac_func in powf
74113 do :
74114 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74115 if test "x$ac_cv_func_powf" = x""yes; then :
74116 cat >>confdefs.h <<_ACEOF
74117 #define HAVE_POWF 1
74118 _ACEOF
74119
74120 fi
74121 done
74122
74123 else
74124
74125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74126 $as_echo_n "checking for _powf declaration... " >&6; }
74127 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74128 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74129 $as_echo_n "(cached) " >&6
74130 else
74131
74132
74133 ac_ext=cpp
74134 ac_cpp='$CXXCPP $CPPFLAGS'
74135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74138
74139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74140 /* end confdefs.h. */
74141 #include <math.h>
74142 int
74143 main ()
74144 {
74145 _powf(0, 0);
74146 ;
74147 return 0;
74148 }
74149 _ACEOF
74150 if ac_fn_cxx_try_compile "$LINENO"; then :
74151 glibcxx_cv_func__powf_use=yes
74152 else
74153 glibcxx_cv_func__powf_use=no
74154 fi
74155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74156 ac_ext=c
74157 ac_cpp='$CPP $CPPFLAGS'
74158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74161
74162
74163 fi
74164
74165 fi
74166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74167 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74168
74169 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74170 for ac_func in _powf
74171 do :
74172 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74173 if test "x$ac_cv_func__powf" = x""yes; then :
74174 cat >>confdefs.h <<_ACEOF
74175 #define HAVE__POWF 1
74176 _ACEOF
74177
74178 fi
74179 done
74180
74181 fi
74182 fi
74183
74184
74185
74186
74187
74188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74189 $as_echo_n "checking for sqrtf declaration... " >&6; }
74190 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74191 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74192 $as_echo_n "(cached) " >&6
74193 else
74194
74195
74196 ac_ext=cpp
74197 ac_cpp='$CXXCPP $CPPFLAGS'
74198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74201
74202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74203 /* end confdefs.h. */
74204 #include <math.h>
74205 #ifdef HAVE_IEEEFP_H
74206 #include <ieeefp.h>
74207 #endif
74208
74209 int
74210 main ()
74211 {
74212 sqrtf(0);
74213 ;
74214 return 0;
74215 }
74216 _ACEOF
74217 if ac_fn_cxx_try_compile "$LINENO"; then :
74218 glibcxx_cv_func_sqrtf_use=yes
74219 else
74220 glibcxx_cv_func_sqrtf_use=no
74221 fi
74222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74223 ac_ext=c
74224 ac_cpp='$CPP $CPPFLAGS'
74225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74228
74229
74230 fi
74231
74232 fi
74233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74234 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74235
74236 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74237 for ac_func in sqrtf
74238 do :
74239 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74240 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74241 cat >>confdefs.h <<_ACEOF
74242 #define HAVE_SQRTF 1
74243 _ACEOF
74244
74245 fi
74246 done
74247
74248 else
74249
74250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74251 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74252 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74253 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74254 $as_echo_n "(cached) " >&6
74255 else
74256
74257
74258 ac_ext=cpp
74259 ac_cpp='$CXXCPP $CPPFLAGS'
74260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74263
74264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74265 /* end confdefs.h. */
74266 #include <math.h>
74267 #ifdef HAVE_IEEEFP_H
74268 #include <ieeefp.h>
74269 #endif
74270
74271 int
74272 main ()
74273 {
74274 _sqrtf(0);
74275 ;
74276 return 0;
74277 }
74278 _ACEOF
74279 if ac_fn_cxx_try_compile "$LINENO"; then :
74280 glibcxx_cv_func__sqrtf_use=yes
74281 else
74282 glibcxx_cv_func__sqrtf_use=no
74283 fi
74284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74285 ac_ext=c
74286 ac_cpp='$CPP $CPPFLAGS'
74287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74290
74291
74292 fi
74293
74294 fi
74295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74296 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74297
74298 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74299 for ac_func in _sqrtf
74300 do :
74301 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74302 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74303 cat >>confdefs.h <<_ACEOF
74304 #define HAVE__SQRTF 1
74305 _ACEOF
74306
74307 fi
74308 done
74309
74310 fi
74311 fi
74312
74313
74314
74315
74316
74317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74318 $as_echo_n "checking for sincosf declaration... " >&6; }
74319 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74320 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74321 $as_echo_n "(cached) " >&6
74322 else
74323
74324
74325 ac_ext=cpp
74326 ac_cpp='$CXXCPP $CPPFLAGS'
74327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74330
74331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74332 /* end confdefs.h. */
74333 #include <math.h>
74334 int
74335 main ()
74336 {
74337 sincosf(0, 0, 0);
74338 ;
74339 return 0;
74340 }
74341 _ACEOF
74342 if ac_fn_cxx_try_compile "$LINENO"; then :
74343 glibcxx_cv_func_sincosf_use=yes
74344 else
74345 glibcxx_cv_func_sincosf_use=no
74346 fi
74347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74348 ac_ext=c
74349 ac_cpp='$CPP $CPPFLAGS'
74350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74353
74354
74355 fi
74356
74357 fi
74358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74359 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74360
74361 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74362 for ac_func in sincosf
74363 do :
74364 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74365 if test "x$ac_cv_func_sincosf" = x""yes; then :
74366 cat >>confdefs.h <<_ACEOF
74367 #define HAVE_SINCOSF 1
74368 _ACEOF
74369
74370 fi
74371 done
74372
74373 else
74374
74375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74376 $as_echo_n "checking for _sincosf declaration... " >&6; }
74377 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74378 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74379 $as_echo_n "(cached) " >&6
74380 else
74381
74382
74383 ac_ext=cpp
74384 ac_cpp='$CXXCPP $CPPFLAGS'
74385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74388
74389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74390 /* end confdefs.h. */
74391 #include <math.h>
74392 int
74393 main ()
74394 {
74395 _sincosf(0, 0, 0);
74396 ;
74397 return 0;
74398 }
74399 _ACEOF
74400 if ac_fn_cxx_try_compile "$LINENO"; then :
74401 glibcxx_cv_func__sincosf_use=yes
74402 else
74403 glibcxx_cv_func__sincosf_use=no
74404 fi
74405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74406 ac_ext=c
74407 ac_cpp='$CPP $CPPFLAGS'
74408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74411
74412
74413 fi
74414
74415 fi
74416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74417 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74418
74419 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74420 for ac_func in _sincosf
74421 do :
74422 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74423 if test "x$ac_cv_func__sincosf" = x""yes; then :
74424 cat >>confdefs.h <<_ACEOF
74425 #define HAVE__SINCOSF 1
74426 _ACEOF
74427
74428 fi
74429 done
74430
74431 fi
74432 fi
74433
74434
74435
74436
74437
74438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74439 $as_echo_n "checking for finitef declaration... " >&6; }
74440 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74441 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74442 $as_echo_n "(cached) " >&6
74443 else
74444
74445
74446 ac_ext=cpp
74447 ac_cpp='$CXXCPP $CPPFLAGS'
74448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74451
74452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74453 /* end confdefs.h. */
74454 #include <math.h>
74455 #ifdef HAVE_IEEEFP_H
74456 #include <ieeefp.h>
74457 #endif
74458
74459 int
74460 main ()
74461 {
74462 finitef(0);
74463 ;
74464 return 0;
74465 }
74466 _ACEOF
74467 if ac_fn_cxx_try_compile "$LINENO"; then :
74468 glibcxx_cv_func_finitef_use=yes
74469 else
74470 glibcxx_cv_func_finitef_use=no
74471 fi
74472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74473 ac_ext=c
74474 ac_cpp='$CPP $CPPFLAGS'
74475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74478
74479
74480 fi
74481
74482 fi
74483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74484 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74485
74486 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74487 for ac_func in finitef
74488 do :
74489 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74490 if test "x$ac_cv_func_finitef" = x""yes; then :
74491 cat >>confdefs.h <<_ACEOF
74492 #define HAVE_FINITEF 1
74493 _ACEOF
74494
74495 fi
74496 done
74497
74498 else
74499
74500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74501 $as_echo_n "checking for _finitef declaration... " >&6; }
74502 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74503 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74504 $as_echo_n "(cached) " >&6
74505 else
74506
74507
74508 ac_ext=cpp
74509 ac_cpp='$CXXCPP $CPPFLAGS'
74510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74513
74514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74515 /* end confdefs.h. */
74516 #include <math.h>
74517 #ifdef HAVE_IEEEFP_H
74518 #include <ieeefp.h>
74519 #endif
74520
74521 int
74522 main ()
74523 {
74524 _finitef(0);
74525 ;
74526 return 0;
74527 }
74528 _ACEOF
74529 if ac_fn_cxx_try_compile "$LINENO"; then :
74530 glibcxx_cv_func__finitef_use=yes
74531 else
74532 glibcxx_cv_func__finitef_use=no
74533 fi
74534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74535 ac_ext=c
74536 ac_cpp='$CPP $CPPFLAGS'
74537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74540
74541
74542 fi
74543
74544 fi
74545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74546 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74547
74548 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74549 for ac_func in _finitef
74550 do :
74551 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74552 if test "x$ac_cv_func__finitef" = x""yes; then :
74553 cat >>confdefs.h <<_ACEOF
74554 #define HAVE__FINITEF 1
74555 _ACEOF
74556
74557 fi
74558 done
74559
74560 fi
74561 fi
74562
74563
74564
74565
74566
74567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74568 $as_echo_n "checking for long double trig functions... " >&6; }
74569 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74570 $as_echo_n "(cached) " >&6
74571 else
74572
74573
74574 ac_ext=cpp
74575 ac_cpp='$CXXCPP $CPPFLAGS'
74576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74579
74580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74581 /* end confdefs.h. */
74582 #include <math.h>
74583 int
74584 main ()
74585 {
74586 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74587 ;
74588 return 0;
74589 }
74590 _ACEOF
74591 if ac_fn_cxx_try_compile "$LINENO"; then :
74592 glibcxx_cv_func_long_double_trig_use=yes
74593 else
74594 glibcxx_cv_func_long_double_trig_use=no
74595 fi
74596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74597 ac_ext=c
74598 ac_cpp='$CPP $CPPFLAGS'
74599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74602
74603 fi
74604
74605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74606 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74607 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74608 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74609 do :
74610 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74611 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74612 eval as_val=\$$as_ac_var
74613 if test "x$as_val" = x""yes; then :
74614 cat >>confdefs.h <<_ACEOF
74615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74616 _ACEOF
74617
74618 fi
74619 done
74620
74621 else
74622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74623 $as_echo_n "checking for _long double trig functions... " >&6; }
74624 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74625 $as_echo_n "(cached) " >&6
74626 else
74627
74628
74629 ac_ext=cpp
74630 ac_cpp='$CXXCPP $CPPFLAGS'
74631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74634
74635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74636 /* end confdefs.h. */
74637 #include <math.h>
74638 int
74639 main ()
74640 {
74641 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74642 ;
74643 return 0;
74644 }
74645 _ACEOF
74646 if ac_fn_cxx_try_compile "$LINENO"; then :
74647 glibcxx_cv_func__long_double_trig_use=yes
74648 else
74649 glibcxx_cv_func__long_double_trig_use=no
74650 fi
74651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74652 ac_ext=c
74653 ac_cpp='$CPP $CPPFLAGS'
74654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74657
74658 fi
74659
74660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74661 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74662 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74663 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74664 do :
74665 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74666 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74667 eval as_val=\$$as_ac_var
74668 if test "x$as_val" = x""yes; then :
74669 cat >>confdefs.h <<_ACEOF
74670 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74671 _ACEOF
74672
74673 fi
74674 done
74675
74676 fi
74677 fi
74678
74679
74680
74681
74682
74683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74684 $as_echo_n "checking for long double round functions... " >&6; }
74685 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74686 $as_echo_n "(cached) " >&6
74687 else
74688
74689
74690 ac_ext=cpp
74691 ac_cpp='$CXXCPP $CPPFLAGS'
74692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74695
74696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74697 /* end confdefs.h. */
74698 #include <math.h>
74699 int
74700 main ()
74701 {
74702 ceill (0); floorl (0);
74703 ;
74704 return 0;
74705 }
74706 _ACEOF
74707 if ac_fn_cxx_try_compile "$LINENO"; then :
74708 glibcxx_cv_func_long_double_round_use=yes
74709 else
74710 glibcxx_cv_func_long_double_round_use=no
74711 fi
74712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74713 ac_ext=c
74714 ac_cpp='$CPP $CPPFLAGS'
74715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74718
74719 fi
74720
74721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74722 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74723 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74724 for ac_func in ceill floorl
74725 do :
74726 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74727 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74728 eval as_val=\$$as_ac_var
74729 if test "x$as_val" = x""yes; then :
74730 cat >>confdefs.h <<_ACEOF
74731 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74732 _ACEOF
74733
74734 fi
74735 done
74736
74737 else
74738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74739 $as_echo_n "checking for _long double round functions... " >&6; }
74740 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74741 $as_echo_n "(cached) " >&6
74742 else
74743
74744
74745 ac_ext=cpp
74746 ac_cpp='$CXXCPP $CPPFLAGS'
74747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74750
74751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74752 /* end confdefs.h. */
74753 #include <math.h>
74754 int
74755 main ()
74756 {
74757 _ceill (0); _floorl (0);
74758 ;
74759 return 0;
74760 }
74761 _ACEOF
74762 if ac_fn_cxx_try_compile "$LINENO"; then :
74763 glibcxx_cv_func__long_double_round_use=yes
74764 else
74765 glibcxx_cv_func__long_double_round_use=no
74766 fi
74767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74768 ac_ext=c
74769 ac_cpp='$CPP $CPPFLAGS'
74770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74773
74774 fi
74775
74776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74777 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74778 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74779 for ac_func in _ceill _floorl
74780 do :
74781 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74782 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74783 eval as_val=\$$as_ac_var
74784 if test "x$as_val" = x""yes; then :
74785 cat >>confdefs.h <<_ACEOF
74786 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74787 _ACEOF
74788
74789 fi
74790 done
74791
74792 fi
74793 fi
74794
74795
74796
74797
74798
74799
74800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74801 $as_echo_n "checking for isnanl declaration... " >&6; }
74802 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74803 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74804 $as_echo_n "(cached) " >&6
74805 else
74806
74807
74808 ac_ext=cpp
74809 ac_cpp='$CXXCPP $CPPFLAGS'
74810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74813
74814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74815 /* end confdefs.h. */
74816 #include <math.h>
74817 #ifdef HAVE_IEEEFP_H
74818 #include <ieeefp.h>
74819 #endif
74820
74821 int
74822 main ()
74823 {
74824 isnanl(0);
74825 ;
74826 return 0;
74827 }
74828 _ACEOF
74829 if ac_fn_cxx_try_compile "$LINENO"; then :
74830 glibcxx_cv_func_isnanl_use=yes
74831 else
74832 glibcxx_cv_func_isnanl_use=no
74833 fi
74834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74835 ac_ext=c
74836 ac_cpp='$CPP $CPPFLAGS'
74837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74840
74841
74842 fi
74843
74844 fi
74845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
74846 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
74847
74848 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74849 for ac_func in isnanl
74850 do :
74851 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
74852 if test "x$ac_cv_func_isnanl" = x""yes; then :
74853 cat >>confdefs.h <<_ACEOF
74854 #define HAVE_ISNANL 1
74855 _ACEOF
74856
74857 fi
74858 done
74859
74860 else
74861
74862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
74863 $as_echo_n "checking for _isnanl declaration... " >&6; }
74864 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74865 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
74866 $as_echo_n "(cached) " >&6
74867 else
74868
74869
74870 ac_ext=cpp
74871 ac_cpp='$CXXCPP $CPPFLAGS'
74872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74875
74876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74877 /* end confdefs.h. */
74878 #include <math.h>
74879 #ifdef HAVE_IEEEFP_H
74880 #include <ieeefp.h>
74881 #endif
74882
74883 int
74884 main ()
74885 {
74886 _isnanl(0);
74887 ;
74888 return 0;
74889 }
74890 _ACEOF
74891 if ac_fn_cxx_try_compile "$LINENO"; then :
74892 glibcxx_cv_func__isnanl_use=yes
74893 else
74894 glibcxx_cv_func__isnanl_use=no
74895 fi
74896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74897 ac_ext=c
74898 ac_cpp='$CPP $CPPFLAGS'
74899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74902
74903
74904 fi
74905
74906 fi
74907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
74908 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
74909
74910 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74911 for ac_func in _isnanl
74912 do :
74913 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
74914 if test "x$ac_cv_func__isnanl" = x""yes; then :
74915 cat >>confdefs.h <<_ACEOF
74916 #define HAVE__ISNANL 1
74917 _ACEOF
74918
74919 fi
74920 done
74921
74922 fi
74923 fi
74924
74925
74926
74927
74928
74929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
74930 $as_echo_n "checking for isinfl declaration... " >&6; }
74931 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
74932 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
74933 $as_echo_n "(cached) " >&6
74934 else
74935
74936
74937 ac_ext=cpp
74938 ac_cpp='$CXXCPP $CPPFLAGS'
74939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74942
74943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74944 /* end confdefs.h. */
74945 #include <math.h>
74946 #ifdef HAVE_IEEEFP_H
74947 #include <ieeefp.h>
74948 #endif
74949
74950 int
74951 main ()
74952 {
74953 isinfl(0);
74954 ;
74955 return 0;
74956 }
74957 _ACEOF
74958 if ac_fn_cxx_try_compile "$LINENO"; then :
74959 glibcxx_cv_func_isinfl_use=yes
74960 else
74961 glibcxx_cv_func_isinfl_use=no
74962 fi
74963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74964 ac_ext=c
74965 ac_cpp='$CPP $CPPFLAGS'
74966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74969
74970
74971 fi
74972
74973 fi
74974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
74975 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
74976
74977 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
74978 for ac_func in isinfl
74979 do :
74980 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
74981 if test "x$ac_cv_func_isinfl" = x""yes; then :
74982 cat >>confdefs.h <<_ACEOF
74983 #define HAVE_ISINFL 1
74984 _ACEOF
74985
74986 fi
74987 done
74988
74989 else
74990
74991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
74992 $as_echo_n "checking for _isinfl declaration... " >&6; }
74993 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
74994 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
74995 $as_echo_n "(cached) " >&6
74996 else
74997
74998
74999 ac_ext=cpp
75000 ac_cpp='$CXXCPP $CPPFLAGS'
75001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75004
75005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75006 /* end confdefs.h. */
75007 #include <math.h>
75008 #ifdef HAVE_IEEEFP_H
75009 #include <ieeefp.h>
75010 #endif
75011
75012 int
75013 main ()
75014 {
75015 _isinfl(0);
75016 ;
75017 return 0;
75018 }
75019 _ACEOF
75020 if ac_fn_cxx_try_compile "$LINENO"; then :
75021 glibcxx_cv_func__isinfl_use=yes
75022 else
75023 glibcxx_cv_func__isinfl_use=no
75024 fi
75025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75026 ac_ext=c
75027 ac_cpp='$CPP $CPPFLAGS'
75028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75031
75032
75033 fi
75034
75035 fi
75036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75037 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75038
75039 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75040 for ac_func in _isinfl
75041 do :
75042 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75043 if test "x$ac_cv_func__isinfl" = x""yes; then :
75044 cat >>confdefs.h <<_ACEOF
75045 #define HAVE__ISINFL 1
75046 _ACEOF
75047
75048 fi
75049 done
75050
75051 fi
75052 fi
75053
75054
75055
75056
75057
75058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75059 $as_echo_n "checking for atan2l declaration... " >&6; }
75060 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75061 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75062 $as_echo_n "(cached) " >&6
75063 else
75064
75065
75066 ac_ext=cpp
75067 ac_cpp='$CXXCPP $CPPFLAGS'
75068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75071
75072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75073 /* end confdefs.h. */
75074 #include <math.h>
75075 int
75076 main ()
75077 {
75078 atan2l(0, 0);
75079 ;
75080 return 0;
75081 }
75082 _ACEOF
75083 if ac_fn_cxx_try_compile "$LINENO"; then :
75084 glibcxx_cv_func_atan2l_use=yes
75085 else
75086 glibcxx_cv_func_atan2l_use=no
75087 fi
75088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75089 ac_ext=c
75090 ac_cpp='$CPP $CPPFLAGS'
75091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75094
75095
75096 fi
75097
75098 fi
75099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75100 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75101
75102 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75103 for ac_func in atan2l
75104 do :
75105 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75106 if test "x$ac_cv_func_atan2l" = x""yes; then :
75107 cat >>confdefs.h <<_ACEOF
75108 #define HAVE_ATAN2L 1
75109 _ACEOF
75110
75111 fi
75112 done
75113
75114 else
75115
75116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75117 $as_echo_n "checking for _atan2l declaration... " >&6; }
75118 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75119 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75120 $as_echo_n "(cached) " >&6
75121 else
75122
75123
75124 ac_ext=cpp
75125 ac_cpp='$CXXCPP $CPPFLAGS'
75126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75129
75130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75131 /* end confdefs.h. */
75132 #include <math.h>
75133 int
75134 main ()
75135 {
75136 _atan2l(0, 0);
75137 ;
75138 return 0;
75139 }
75140 _ACEOF
75141 if ac_fn_cxx_try_compile "$LINENO"; then :
75142 glibcxx_cv_func__atan2l_use=yes
75143 else
75144 glibcxx_cv_func__atan2l_use=no
75145 fi
75146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75147 ac_ext=c
75148 ac_cpp='$CPP $CPPFLAGS'
75149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75152
75153
75154 fi
75155
75156 fi
75157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75158 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75159
75160 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75161 for ac_func in _atan2l
75162 do :
75163 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75164 if test "x$ac_cv_func__atan2l" = x""yes; then :
75165 cat >>confdefs.h <<_ACEOF
75166 #define HAVE__ATAN2L 1
75167 _ACEOF
75168
75169 fi
75170 done
75171
75172 fi
75173 fi
75174
75175
75176
75177
75178
75179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75180 $as_echo_n "checking for expl declaration... " >&6; }
75181 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75182 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75183 $as_echo_n "(cached) " >&6
75184 else
75185
75186
75187 ac_ext=cpp
75188 ac_cpp='$CXXCPP $CPPFLAGS'
75189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75192
75193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75194 /* end confdefs.h. */
75195 #include <math.h>
75196 #ifdef HAVE_IEEEFP_H
75197 #include <ieeefp.h>
75198 #endif
75199
75200 int
75201 main ()
75202 {
75203 expl(0);
75204 ;
75205 return 0;
75206 }
75207 _ACEOF
75208 if ac_fn_cxx_try_compile "$LINENO"; then :
75209 glibcxx_cv_func_expl_use=yes
75210 else
75211 glibcxx_cv_func_expl_use=no
75212 fi
75213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75214 ac_ext=c
75215 ac_cpp='$CPP $CPPFLAGS'
75216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75219
75220
75221 fi
75222
75223 fi
75224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75225 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75226
75227 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75228 for ac_func in expl
75229 do :
75230 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75231 if test "x$ac_cv_func_expl" = x""yes; then :
75232 cat >>confdefs.h <<_ACEOF
75233 #define HAVE_EXPL 1
75234 _ACEOF
75235
75236 fi
75237 done
75238
75239 else
75240
75241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75242 $as_echo_n "checking for _expl declaration... " >&6; }
75243 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75244 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75245 $as_echo_n "(cached) " >&6
75246 else
75247
75248
75249 ac_ext=cpp
75250 ac_cpp='$CXXCPP $CPPFLAGS'
75251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75254
75255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75256 /* end confdefs.h. */
75257 #include <math.h>
75258 #ifdef HAVE_IEEEFP_H
75259 #include <ieeefp.h>
75260 #endif
75261
75262 int
75263 main ()
75264 {
75265 _expl(0);
75266 ;
75267 return 0;
75268 }
75269 _ACEOF
75270 if ac_fn_cxx_try_compile "$LINENO"; then :
75271 glibcxx_cv_func__expl_use=yes
75272 else
75273 glibcxx_cv_func__expl_use=no
75274 fi
75275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75276 ac_ext=c
75277 ac_cpp='$CPP $CPPFLAGS'
75278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75281
75282
75283 fi
75284
75285 fi
75286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75287 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75288
75289 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75290 for ac_func in _expl
75291 do :
75292 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75293 if test "x$ac_cv_func__expl" = x""yes; then :
75294 cat >>confdefs.h <<_ACEOF
75295 #define HAVE__EXPL 1
75296 _ACEOF
75297
75298 fi
75299 done
75300
75301 fi
75302 fi
75303
75304
75305
75306
75307
75308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75309 $as_echo_n "checking for fabsl declaration... " >&6; }
75310 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75311 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75312 $as_echo_n "(cached) " >&6
75313 else
75314
75315
75316 ac_ext=cpp
75317 ac_cpp='$CXXCPP $CPPFLAGS'
75318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75321
75322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75323 /* end confdefs.h. */
75324 #include <math.h>
75325 #ifdef HAVE_IEEEFP_H
75326 #include <ieeefp.h>
75327 #endif
75328
75329 int
75330 main ()
75331 {
75332 fabsl(0);
75333 ;
75334 return 0;
75335 }
75336 _ACEOF
75337 if ac_fn_cxx_try_compile "$LINENO"; then :
75338 glibcxx_cv_func_fabsl_use=yes
75339 else
75340 glibcxx_cv_func_fabsl_use=no
75341 fi
75342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75343 ac_ext=c
75344 ac_cpp='$CPP $CPPFLAGS'
75345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75348
75349
75350 fi
75351
75352 fi
75353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75354 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75355
75356 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75357 for ac_func in fabsl
75358 do :
75359 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75360 if test "x$ac_cv_func_fabsl" = x""yes; then :
75361 cat >>confdefs.h <<_ACEOF
75362 #define HAVE_FABSL 1
75363 _ACEOF
75364
75365 fi
75366 done
75367
75368 else
75369
75370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75371 $as_echo_n "checking for _fabsl declaration... " >&6; }
75372 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75373 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75374 $as_echo_n "(cached) " >&6
75375 else
75376
75377
75378 ac_ext=cpp
75379 ac_cpp='$CXXCPP $CPPFLAGS'
75380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75383
75384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75385 /* end confdefs.h. */
75386 #include <math.h>
75387 #ifdef HAVE_IEEEFP_H
75388 #include <ieeefp.h>
75389 #endif
75390
75391 int
75392 main ()
75393 {
75394 _fabsl(0);
75395 ;
75396 return 0;
75397 }
75398 _ACEOF
75399 if ac_fn_cxx_try_compile "$LINENO"; then :
75400 glibcxx_cv_func__fabsl_use=yes
75401 else
75402 glibcxx_cv_func__fabsl_use=no
75403 fi
75404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75405 ac_ext=c
75406 ac_cpp='$CPP $CPPFLAGS'
75407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75410
75411
75412 fi
75413
75414 fi
75415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75416 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75417
75418 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75419 for ac_func in _fabsl
75420 do :
75421 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75422 if test "x$ac_cv_func__fabsl" = x""yes; then :
75423 cat >>confdefs.h <<_ACEOF
75424 #define HAVE__FABSL 1
75425 _ACEOF
75426
75427 fi
75428 done
75429
75430 fi
75431 fi
75432
75433
75434
75435
75436
75437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75438 $as_echo_n "checking for fmodl declaration... " >&6; }
75439 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75440 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75441 $as_echo_n "(cached) " >&6
75442 else
75443
75444
75445 ac_ext=cpp
75446 ac_cpp='$CXXCPP $CPPFLAGS'
75447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75450
75451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75452 /* end confdefs.h. */
75453 #include <math.h>
75454 int
75455 main ()
75456 {
75457 fmodl(0, 0);
75458 ;
75459 return 0;
75460 }
75461 _ACEOF
75462 if ac_fn_cxx_try_compile "$LINENO"; then :
75463 glibcxx_cv_func_fmodl_use=yes
75464 else
75465 glibcxx_cv_func_fmodl_use=no
75466 fi
75467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75468 ac_ext=c
75469 ac_cpp='$CPP $CPPFLAGS'
75470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75473
75474
75475 fi
75476
75477 fi
75478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75479 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75480
75481 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75482 for ac_func in fmodl
75483 do :
75484 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75485 if test "x$ac_cv_func_fmodl" = x""yes; then :
75486 cat >>confdefs.h <<_ACEOF
75487 #define HAVE_FMODL 1
75488 _ACEOF
75489
75490 fi
75491 done
75492
75493 else
75494
75495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75496 $as_echo_n "checking for _fmodl declaration... " >&6; }
75497 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75498 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75499 $as_echo_n "(cached) " >&6
75500 else
75501
75502
75503 ac_ext=cpp
75504 ac_cpp='$CXXCPP $CPPFLAGS'
75505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75508
75509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75510 /* end confdefs.h. */
75511 #include <math.h>
75512 int
75513 main ()
75514 {
75515 _fmodl(0, 0);
75516 ;
75517 return 0;
75518 }
75519 _ACEOF
75520 if ac_fn_cxx_try_compile "$LINENO"; then :
75521 glibcxx_cv_func__fmodl_use=yes
75522 else
75523 glibcxx_cv_func__fmodl_use=no
75524 fi
75525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75526 ac_ext=c
75527 ac_cpp='$CPP $CPPFLAGS'
75528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75531
75532
75533 fi
75534
75535 fi
75536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75537 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75538
75539 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75540 for ac_func in _fmodl
75541 do :
75542 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75543 if test "x$ac_cv_func__fmodl" = x""yes; then :
75544 cat >>confdefs.h <<_ACEOF
75545 #define HAVE__FMODL 1
75546 _ACEOF
75547
75548 fi
75549 done
75550
75551 fi
75552 fi
75553
75554
75555
75556
75557
75558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75559 $as_echo_n "checking for frexpl declaration... " >&6; }
75560 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75561 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75562 $as_echo_n "(cached) " >&6
75563 else
75564
75565
75566 ac_ext=cpp
75567 ac_cpp='$CXXCPP $CPPFLAGS'
75568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75571
75572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75573 /* end confdefs.h. */
75574 #include <math.h>
75575 int
75576 main ()
75577 {
75578 frexpl(0, 0);
75579 ;
75580 return 0;
75581 }
75582 _ACEOF
75583 if ac_fn_cxx_try_compile "$LINENO"; then :
75584 glibcxx_cv_func_frexpl_use=yes
75585 else
75586 glibcxx_cv_func_frexpl_use=no
75587 fi
75588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75589 ac_ext=c
75590 ac_cpp='$CPP $CPPFLAGS'
75591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75594
75595
75596 fi
75597
75598 fi
75599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75600 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75601
75602 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75603 for ac_func in frexpl
75604 do :
75605 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75606 if test "x$ac_cv_func_frexpl" = x""yes; then :
75607 cat >>confdefs.h <<_ACEOF
75608 #define HAVE_FREXPL 1
75609 _ACEOF
75610
75611 fi
75612 done
75613
75614 else
75615
75616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75617 $as_echo_n "checking for _frexpl declaration... " >&6; }
75618 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75619 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75620 $as_echo_n "(cached) " >&6
75621 else
75622
75623
75624 ac_ext=cpp
75625 ac_cpp='$CXXCPP $CPPFLAGS'
75626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75629
75630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75631 /* end confdefs.h. */
75632 #include <math.h>
75633 int
75634 main ()
75635 {
75636 _frexpl(0, 0);
75637 ;
75638 return 0;
75639 }
75640 _ACEOF
75641 if ac_fn_cxx_try_compile "$LINENO"; then :
75642 glibcxx_cv_func__frexpl_use=yes
75643 else
75644 glibcxx_cv_func__frexpl_use=no
75645 fi
75646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75647 ac_ext=c
75648 ac_cpp='$CPP $CPPFLAGS'
75649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75652
75653
75654 fi
75655
75656 fi
75657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75658 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75659
75660 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75661 for ac_func in _frexpl
75662 do :
75663 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75664 if test "x$ac_cv_func__frexpl" = x""yes; then :
75665 cat >>confdefs.h <<_ACEOF
75666 #define HAVE__FREXPL 1
75667 _ACEOF
75668
75669 fi
75670 done
75671
75672 fi
75673 fi
75674
75675
75676
75677
75678
75679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75680 $as_echo_n "checking for hypotl declaration... " >&6; }
75681 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75682 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75683 $as_echo_n "(cached) " >&6
75684 else
75685
75686
75687 ac_ext=cpp
75688 ac_cpp='$CXXCPP $CPPFLAGS'
75689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75692
75693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75694 /* end confdefs.h. */
75695 #include <math.h>
75696 int
75697 main ()
75698 {
75699 hypotl(0, 0);
75700 ;
75701 return 0;
75702 }
75703 _ACEOF
75704 if ac_fn_cxx_try_compile "$LINENO"; then :
75705 glibcxx_cv_func_hypotl_use=yes
75706 else
75707 glibcxx_cv_func_hypotl_use=no
75708 fi
75709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75710 ac_ext=c
75711 ac_cpp='$CPP $CPPFLAGS'
75712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75715
75716
75717 fi
75718
75719 fi
75720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75721 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75722
75723 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75724 for ac_func in hypotl
75725 do :
75726 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75727 if test "x$ac_cv_func_hypotl" = x""yes; then :
75728 cat >>confdefs.h <<_ACEOF
75729 #define HAVE_HYPOTL 1
75730 _ACEOF
75731
75732 fi
75733 done
75734
75735 else
75736
75737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75738 $as_echo_n "checking for _hypotl declaration... " >&6; }
75739 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75740 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75741 $as_echo_n "(cached) " >&6
75742 else
75743
75744
75745 ac_ext=cpp
75746 ac_cpp='$CXXCPP $CPPFLAGS'
75747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75750
75751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75752 /* end confdefs.h. */
75753 #include <math.h>
75754 int
75755 main ()
75756 {
75757 _hypotl(0, 0);
75758 ;
75759 return 0;
75760 }
75761 _ACEOF
75762 if ac_fn_cxx_try_compile "$LINENO"; then :
75763 glibcxx_cv_func__hypotl_use=yes
75764 else
75765 glibcxx_cv_func__hypotl_use=no
75766 fi
75767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75768 ac_ext=c
75769 ac_cpp='$CPP $CPPFLAGS'
75770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75773
75774
75775 fi
75776
75777 fi
75778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75779 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75780
75781 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75782 for ac_func in _hypotl
75783 do :
75784 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75785 if test "x$ac_cv_func__hypotl" = x""yes; then :
75786 cat >>confdefs.h <<_ACEOF
75787 #define HAVE__HYPOTL 1
75788 _ACEOF
75789
75790 fi
75791 done
75792
75793 fi
75794 fi
75795
75796
75797
75798
75799
75800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75801 $as_echo_n "checking for ldexpl declaration... " >&6; }
75802 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75803 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75804 $as_echo_n "(cached) " >&6
75805 else
75806
75807
75808 ac_ext=cpp
75809 ac_cpp='$CXXCPP $CPPFLAGS'
75810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75813
75814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75815 /* end confdefs.h. */
75816 #include <math.h>
75817 int
75818 main ()
75819 {
75820 ldexpl(0, 0);
75821 ;
75822 return 0;
75823 }
75824 _ACEOF
75825 if ac_fn_cxx_try_compile "$LINENO"; then :
75826 glibcxx_cv_func_ldexpl_use=yes
75827 else
75828 glibcxx_cv_func_ldexpl_use=no
75829 fi
75830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75831 ac_ext=c
75832 ac_cpp='$CPP $CPPFLAGS'
75833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75836
75837
75838 fi
75839
75840 fi
75841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
75842 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
75843
75844 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75845 for ac_func in ldexpl
75846 do :
75847 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
75848 if test "x$ac_cv_func_ldexpl" = x""yes; then :
75849 cat >>confdefs.h <<_ACEOF
75850 #define HAVE_LDEXPL 1
75851 _ACEOF
75852
75853 fi
75854 done
75855
75856 else
75857
75858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
75859 $as_echo_n "checking for _ldexpl declaration... " >&6; }
75860 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
75861 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
75862 $as_echo_n "(cached) " >&6
75863 else
75864
75865
75866 ac_ext=cpp
75867 ac_cpp='$CXXCPP $CPPFLAGS'
75868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75871
75872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75873 /* end confdefs.h. */
75874 #include <math.h>
75875 int
75876 main ()
75877 {
75878 _ldexpl(0, 0);
75879 ;
75880 return 0;
75881 }
75882 _ACEOF
75883 if ac_fn_cxx_try_compile "$LINENO"; then :
75884 glibcxx_cv_func__ldexpl_use=yes
75885 else
75886 glibcxx_cv_func__ldexpl_use=no
75887 fi
75888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75889 ac_ext=c
75890 ac_cpp='$CPP $CPPFLAGS'
75891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75894
75895
75896 fi
75897
75898 fi
75899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
75900 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
75901
75902 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
75903 for ac_func in _ldexpl
75904 do :
75905 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
75906 if test "x$ac_cv_func__ldexpl" = x""yes; then :
75907 cat >>confdefs.h <<_ACEOF
75908 #define HAVE__LDEXPL 1
75909 _ACEOF
75910
75911 fi
75912 done
75913
75914 fi
75915 fi
75916
75917
75918
75919
75920
75921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
75922 $as_echo_n "checking for logl declaration... " >&6; }
75923 if test x${glibcxx_cv_func_logl_use+set} != xset; then
75924 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
75925 $as_echo_n "(cached) " >&6
75926 else
75927
75928
75929 ac_ext=cpp
75930 ac_cpp='$CXXCPP $CPPFLAGS'
75931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75934
75935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75936 /* end confdefs.h. */
75937 #include <math.h>
75938 #ifdef HAVE_IEEEFP_H
75939 #include <ieeefp.h>
75940 #endif
75941
75942 int
75943 main ()
75944 {
75945 logl(0);
75946 ;
75947 return 0;
75948 }
75949 _ACEOF
75950 if ac_fn_cxx_try_compile "$LINENO"; then :
75951 glibcxx_cv_func_logl_use=yes
75952 else
75953 glibcxx_cv_func_logl_use=no
75954 fi
75955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75956 ac_ext=c
75957 ac_cpp='$CPP $CPPFLAGS'
75958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75961
75962
75963 fi
75964
75965 fi
75966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
75967 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
75968
75969 if test x$glibcxx_cv_func_logl_use = x"yes"; then
75970 for ac_func in logl
75971 do :
75972 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
75973 if test "x$ac_cv_func_logl" = x""yes; then :
75974 cat >>confdefs.h <<_ACEOF
75975 #define HAVE_LOGL 1
75976 _ACEOF
75977
75978 fi
75979 done
75980
75981 else
75982
75983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
75984 $as_echo_n "checking for _logl declaration... " >&6; }
75985 if test x${glibcxx_cv_func__logl_use+set} != xset; then
75986 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
75987 $as_echo_n "(cached) " >&6
75988 else
75989
75990
75991 ac_ext=cpp
75992 ac_cpp='$CXXCPP $CPPFLAGS'
75993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75996
75997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75998 /* end confdefs.h. */
75999 #include <math.h>
76000 #ifdef HAVE_IEEEFP_H
76001 #include <ieeefp.h>
76002 #endif
76003
76004 int
76005 main ()
76006 {
76007 _logl(0);
76008 ;
76009 return 0;
76010 }
76011 _ACEOF
76012 if ac_fn_cxx_try_compile "$LINENO"; then :
76013 glibcxx_cv_func__logl_use=yes
76014 else
76015 glibcxx_cv_func__logl_use=no
76016 fi
76017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76018 ac_ext=c
76019 ac_cpp='$CPP $CPPFLAGS'
76020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76023
76024
76025 fi
76026
76027 fi
76028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76029 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76030
76031 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76032 for ac_func in _logl
76033 do :
76034 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76035 if test "x$ac_cv_func__logl" = x""yes; then :
76036 cat >>confdefs.h <<_ACEOF
76037 #define HAVE__LOGL 1
76038 _ACEOF
76039
76040 fi
76041 done
76042
76043 fi
76044 fi
76045
76046
76047
76048
76049
76050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76051 $as_echo_n "checking for log10l declaration... " >&6; }
76052 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76053 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76054 $as_echo_n "(cached) " >&6
76055 else
76056
76057
76058 ac_ext=cpp
76059 ac_cpp='$CXXCPP $CPPFLAGS'
76060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76063
76064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76065 /* end confdefs.h. */
76066 #include <math.h>
76067 #ifdef HAVE_IEEEFP_H
76068 #include <ieeefp.h>
76069 #endif
76070
76071 int
76072 main ()
76073 {
76074 log10l(0);
76075 ;
76076 return 0;
76077 }
76078 _ACEOF
76079 if ac_fn_cxx_try_compile "$LINENO"; then :
76080 glibcxx_cv_func_log10l_use=yes
76081 else
76082 glibcxx_cv_func_log10l_use=no
76083 fi
76084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76085 ac_ext=c
76086 ac_cpp='$CPP $CPPFLAGS'
76087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76090
76091
76092 fi
76093
76094 fi
76095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76096 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76097
76098 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76099 for ac_func in log10l
76100 do :
76101 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76102 if test "x$ac_cv_func_log10l" = x""yes; then :
76103 cat >>confdefs.h <<_ACEOF
76104 #define HAVE_LOG10L 1
76105 _ACEOF
76106
76107 fi
76108 done
76109
76110 else
76111
76112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76113 $as_echo_n "checking for _log10l declaration... " >&6; }
76114 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76115 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76116 $as_echo_n "(cached) " >&6
76117 else
76118
76119
76120 ac_ext=cpp
76121 ac_cpp='$CXXCPP $CPPFLAGS'
76122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76125
76126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76127 /* end confdefs.h. */
76128 #include <math.h>
76129 #ifdef HAVE_IEEEFP_H
76130 #include <ieeefp.h>
76131 #endif
76132
76133 int
76134 main ()
76135 {
76136 _log10l(0);
76137 ;
76138 return 0;
76139 }
76140 _ACEOF
76141 if ac_fn_cxx_try_compile "$LINENO"; then :
76142 glibcxx_cv_func__log10l_use=yes
76143 else
76144 glibcxx_cv_func__log10l_use=no
76145 fi
76146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76147 ac_ext=c
76148 ac_cpp='$CPP $CPPFLAGS'
76149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76152
76153
76154 fi
76155
76156 fi
76157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76158 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76159
76160 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76161 for ac_func in _log10l
76162 do :
76163 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76164 if test "x$ac_cv_func__log10l" = x""yes; then :
76165 cat >>confdefs.h <<_ACEOF
76166 #define HAVE__LOG10L 1
76167 _ACEOF
76168
76169 fi
76170 done
76171
76172 fi
76173 fi
76174
76175
76176
76177
76178
76179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76180 $as_echo_n "checking for modfl declaration... " >&6; }
76181 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76182 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76183 $as_echo_n "(cached) " >&6
76184 else
76185
76186
76187 ac_ext=cpp
76188 ac_cpp='$CXXCPP $CPPFLAGS'
76189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76192
76193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76194 /* end confdefs.h. */
76195 #include <math.h>
76196 int
76197 main ()
76198 {
76199 modfl(0, 0);
76200 ;
76201 return 0;
76202 }
76203 _ACEOF
76204 if ac_fn_cxx_try_compile "$LINENO"; then :
76205 glibcxx_cv_func_modfl_use=yes
76206 else
76207 glibcxx_cv_func_modfl_use=no
76208 fi
76209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76210 ac_ext=c
76211 ac_cpp='$CPP $CPPFLAGS'
76212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76215
76216
76217 fi
76218
76219 fi
76220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76221 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76222
76223 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76224 for ac_func in modfl
76225 do :
76226 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76227 if test "x$ac_cv_func_modfl" = x""yes; then :
76228 cat >>confdefs.h <<_ACEOF
76229 #define HAVE_MODFL 1
76230 _ACEOF
76231
76232 fi
76233 done
76234
76235 else
76236
76237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76238 $as_echo_n "checking for _modfl declaration... " >&6; }
76239 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76240 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76241 $as_echo_n "(cached) " >&6
76242 else
76243
76244
76245 ac_ext=cpp
76246 ac_cpp='$CXXCPP $CPPFLAGS'
76247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76250
76251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76252 /* end confdefs.h. */
76253 #include <math.h>
76254 int
76255 main ()
76256 {
76257 _modfl(0, 0);
76258 ;
76259 return 0;
76260 }
76261 _ACEOF
76262 if ac_fn_cxx_try_compile "$LINENO"; then :
76263 glibcxx_cv_func__modfl_use=yes
76264 else
76265 glibcxx_cv_func__modfl_use=no
76266 fi
76267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76268 ac_ext=c
76269 ac_cpp='$CPP $CPPFLAGS'
76270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76273
76274
76275 fi
76276
76277 fi
76278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76279 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76280
76281 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76282 for ac_func in _modfl
76283 do :
76284 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76285 if test "x$ac_cv_func__modfl" = x""yes; then :
76286 cat >>confdefs.h <<_ACEOF
76287 #define HAVE__MODFL 1
76288 _ACEOF
76289
76290 fi
76291 done
76292
76293 fi
76294 fi
76295
76296
76297
76298
76299
76300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76301 $as_echo_n "checking for powl declaration... " >&6; }
76302 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76303 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76304 $as_echo_n "(cached) " >&6
76305 else
76306
76307
76308 ac_ext=cpp
76309 ac_cpp='$CXXCPP $CPPFLAGS'
76310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76313
76314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76315 /* end confdefs.h. */
76316 #include <math.h>
76317 int
76318 main ()
76319 {
76320 powl(0, 0);
76321 ;
76322 return 0;
76323 }
76324 _ACEOF
76325 if ac_fn_cxx_try_compile "$LINENO"; then :
76326 glibcxx_cv_func_powl_use=yes
76327 else
76328 glibcxx_cv_func_powl_use=no
76329 fi
76330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76331 ac_ext=c
76332 ac_cpp='$CPP $CPPFLAGS'
76333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76336
76337
76338 fi
76339
76340 fi
76341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76342 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76343
76344 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76345 for ac_func in powl
76346 do :
76347 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76348 if test "x$ac_cv_func_powl" = x""yes; then :
76349 cat >>confdefs.h <<_ACEOF
76350 #define HAVE_POWL 1
76351 _ACEOF
76352
76353 fi
76354 done
76355
76356 else
76357
76358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76359 $as_echo_n "checking for _powl declaration... " >&6; }
76360 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76361 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76362 $as_echo_n "(cached) " >&6
76363 else
76364
76365
76366 ac_ext=cpp
76367 ac_cpp='$CXXCPP $CPPFLAGS'
76368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76371
76372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76373 /* end confdefs.h. */
76374 #include <math.h>
76375 int
76376 main ()
76377 {
76378 _powl(0, 0);
76379 ;
76380 return 0;
76381 }
76382 _ACEOF
76383 if ac_fn_cxx_try_compile "$LINENO"; then :
76384 glibcxx_cv_func__powl_use=yes
76385 else
76386 glibcxx_cv_func__powl_use=no
76387 fi
76388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76389 ac_ext=c
76390 ac_cpp='$CPP $CPPFLAGS'
76391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76394
76395
76396 fi
76397
76398 fi
76399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76400 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76401
76402 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76403 for ac_func in _powl
76404 do :
76405 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76406 if test "x$ac_cv_func__powl" = x""yes; then :
76407 cat >>confdefs.h <<_ACEOF
76408 #define HAVE__POWL 1
76409 _ACEOF
76410
76411 fi
76412 done
76413
76414 fi
76415 fi
76416
76417
76418
76419
76420
76421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76422 $as_echo_n "checking for sqrtl declaration... " >&6; }
76423 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76424 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76425 $as_echo_n "(cached) " >&6
76426 else
76427
76428
76429 ac_ext=cpp
76430 ac_cpp='$CXXCPP $CPPFLAGS'
76431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76434
76435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76436 /* end confdefs.h. */
76437 #include <math.h>
76438 #ifdef HAVE_IEEEFP_H
76439 #include <ieeefp.h>
76440 #endif
76441
76442 int
76443 main ()
76444 {
76445 sqrtl(0);
76446 ;
76447 return 0;
76448 }
76449 _ACEOF
76450 if ac_fn_cxx_try_compile "$LINENO"; then :
76451 glibcxx_cv_func_sqrtl_use=yes
76452 else
76453 glibcxx_cv_func_sqrtl_use=no
76454 fi
76455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76456 ac_ext=c
76457 ac_cpp='$CPP $CPPFLAGS'
76458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76461
76462
76463 fi
76464
76465 fi
76466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76467 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76468
76469 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76470 for ac_func in sqrtl
76471 do :
76472 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76473 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76474 cat >>confdefs.h <<_ACEOF
76475 #define HAVE_SQRTL 1
76476 _ACEOF
76477
76478 fi
76479 done
76480
76481 else
76482
76483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76484 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76485 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76486 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76487 $as_echo_n "(cached) " >&6
76488 else
76489
76490
76491 ac_ext=cpp
76492 ac_cpp='$CXXCPP $CPPFLAGS'
76493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76496
76497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76498 /* end confdefs.h. */
76499 #include <math.h>
76500 #ifdef HAVE_IEEEFP_H
76501 #include <ieeefp.h>
76502 #endif
76503
76504 int
76505 main ()
76506 {
76507 _sqrtl(0);
76508 ;
76509 return 0;
76510 }
76511 _ACEOF
76512 if ac_fn_cxx_try_compile "$LINENO"; then :
76513 glibcxx_cv_func__sqrtl_use=yes
76514 else
76515 glibcxx_cv_func__sqrtl_use=no
76516 fi
76517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76518 ac_ext=c
76519 ac_cpp='$CPP $CPPFLAGS'
76520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76523
76524
76525 fi
76526
76527 fi
76528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76529 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76530
76531 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76532 for ac_func in _sqrtl
76533 do :
76534 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76535 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76536 cat >>confdefs.h <<_ACEOF
76537 #define HAVE__SQRTL 1
76538 _ACEOF
76539
76540 fi
76541 done
76542
76543 fi
76544 fi
76545
76546
76547
76548
76549
76550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76551 $as_echo_n "checking for sincosl declaration... " >&6; }
76552 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76553 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76554 $as_echo_n "(cached) " >&6
76555 else
76556
76557
76558 ac_ext=cpp
76559 ac_cpp='$CXXCPP $CPPFLAGS'
76560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76563
76564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76565 /* end confdefs.h. */
76566 #include <math.h>
76567 int
76568 main ()
76569 {
76570 sincosl(0, 0, 0);
76571 ;
76572 return 0;
76573 }
76574 _ACEOF
76575 if ac_fn_cxx_try_compile "$LINENO"; then :
76576 glibcxx_cv_func_sincosl_use=yes
76577 else
76578 glibcxx_cv_func_sincosl_use=no
76579 fi
76580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76581 ac_ext=c
76582 ac_cpp='$CPP $CPPFLAGS'
76583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76586
76587
76588 fi
76589
76590 fi
76591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76592 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76593
76594 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76595 for ac_func in sincosl
76596 do :
76597 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76598 if test "x$ac_cv_func_sincosl" = x""yes; then :
76599 cat >>confdefs.h <<_ACEOF
76600 #define HAVE_SINCOSL 1
76601 _ACEOF
76602
76603 fi
76604 done
76605
76606 else
76607
76608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76609 $as_echo_n "checking for _sincosl declaration... " >&6; }
76610 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76611 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76612 $as_echo_n "(cached) " >&6
76613 else
76614
76615
76616 ac_ext=cpp
76617 ac_cpp='$CXXCPP $CPPFLAGS'
76618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76621
76622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76623 /* end confdefs.h. */
76624 #include <math.h>
76625 int
76626 main ()
76627 {
76628 _sincosl(0, 0, 0);
76629 ;
76630 return 0;
76631 }
76632 _ACEOF
76633 if ac_fn_cxx_try_compile "$LINENO"; then :
76634 glibcxx_cv_func__sincosl_use=yes
76635 else
76636 glibcxx_cv_func__sincosl_use=no
76637 fi
76638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76639 ac_ext=c
76640 ac_cpp='$CPP $CPPFLAGS'
76641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76644
76645
76646 fi
76647
76648 fi
76649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76650 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76651
76652 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76653 for ac_func in _sincosl
76654 do :
76655 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76656 if test "x$ac_cv_func__sincosl" = x""yes; then :
76657 cat >>confdefs.h <<_ACEOF
76658 #define HAVE__SINCOSL 1
76659 _ACEOF
76660
76661 fi
76662 done
76663
76664 fi
76665 fi
76666
76667
76668
76669
76670
76671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76672 $as_echo_n "checking for finitel declaration... " >&6; }
76673 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76674 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76675 $as_echo_n "(cached) " >&6
76676 else
76677
76678
76679 ac_ext=cpp
76680 ac_cpp='$CXXCPP $CPPFLAGS'
76681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76684
76685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76686 /* end confdefs.h. */
76687 #include <math.h>
76688 #ifdef HAVE_IEEEFP_H
76689 #include <ieeefp.h>
76690 #endif
76691
76692 int
76693 main ()
76694 {
76695 finitel(0);
76696 ;
76697 return 0;
76698 }
76699 _ACEOF
76700 if ac_fn_cxx_try_compile "$LINENO"; then :
76701 glibcxx_cv_func_finitel_use=yes
76702 else
76703 glibcxx_cv_func_finitel_use=no
76704 fi
76705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76706 ac_ext=c
76707 ac_cpp='$CPP $CPPFLAGS'
76708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76711
76712
76713 fi
76714
76715 fi
76716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76717 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76718
76719 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76720 for ac_func in finitel
76721 do :
76722 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76723 if test "x$ac_cv_func_finitel" = x""yes; then :
76724 cat >>confdefs.h <<_ACEOF
76725 #define HAVE_FINITEL 1
76726 _ACEOF
76727
76728 fi
76729 done
76730
76731 else
76732
76733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76734 $as_echo_n "checking for _finitel declaration... " >&6; }
76735 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76736 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76737 $as_echo_n "(cached) " >&6
76738 else
76739
76740
76741 ac_ext=cpp
76742 ac_cpp='$CXXCPP $CPPFLAGS'
76743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76746
76747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76748 /* end confdefs.h. */
76749 #include <math.h>
76750 #ifdef HAVE_IEEEFP_H
76751 #include <ieeefp.h>
76752 #endif
76753
76754 int
76755 main ()
76756 {
76757 _finitel(0);
76758 ;
76759 return 0;
76760 }
76761 _ACEOF
76762 if ac_fn_cxx_try_compile "$LINENO"; then :
76763 glibcxx_cv_func__finitel_use=yes
76764 else
76765 glibcxx_cv_func__finitel_use=no
76766 fi
76767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76768 ac_ext=c
76769 ac_cpp='$CPP $CPPFLAGS'
76770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76773
76774
76775 fi
76776
76777 fi
76778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76779 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76780
76781 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76782 for ac_func in _finitel
76783 do :
76784 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76785 if test "x$ac_cv_func__finitel" = x""yes; then :
76786 cat >>confdefs.h <<_ACEOF
76787 #define HAVE__FINITEL 1
76788 _ACEOF
76789
76790 fi
76791 done
76792
76793 fi
76794 fi
76795
76796
76797
76798
76799 LIBS="$ac_save_LIBS"
76800 CXXFLAGS="$ac_save_CXXFLAGS"
76801
76802
76803 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76804 ac_save_CXXFLAGS="$CXXFLAGS"
76805 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76806
76807
76808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76809 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76810 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76811 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76812 $as_echo_n "(cached) " >&6
76813 else
76814
76815
76816 ac_ext=cpp
76817 ac_cpp='$CXXCPP $CPPFLAGS'
76818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76821
76822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76823 /* end confdefs.h. */
76824 #include <stdlib.h>
76825 int
76826 main ()
76827 {
76828 at_quick_exit(0);
76829 ;
76830 return 0;
76831 }
76832 _ACEOF
76833 if ac_fn_cxx_try_compile "$LINENO"; then :
76834 glibcxx_cv_func_at_quick_exit_use=yes
76835 else
76836 glibcxx_cv_func_at_quick_exit_use=no
76837 fi
76838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76839 ac_ext=c
76840 ac_cpp='$CPP $CPPFLAGS'
76841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76844
76845
76846 fi
76847
76848 fi
76849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
76850 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
76851 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
76852 for ac_func in at_quick_exit
76853 do :
76854 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
76855 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
76856 cat >>confdefs.h <<_ACEOF
76857 #define HAVE_AT_QUICK_EXIT 1
76858 _ACEOF
76859
76860 fi
76861 done
76862
76863 fi
76864
76865
76866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
76867 $as_echo_n "checking for quick_exit declaration... " >&6; }
76868 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
76869 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
76870 $as_echo_n "(cached) " >&6
76871 else
76872
76873
76874 ac_ext=cpp
76875 ac_cpp='$CXXCPP $CPPFLAGS'
76876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76879
76880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76881 /* end confdefs.h. */
76882 #include <stdlib.h>
76883 int
76884 main ()
76885 {
76886 quick_exit(0);
76887 ;
76888 return 0;
76889 }
76890 _ACEOF
76891 if ac_fn_cxx_try_compile "$LINENO"; then :
76892 glibcxx_cv_func_quick_exit_use=yes
76893 else
76894 glibcxx_cv_func_quick_exit_use=no
76895 fi
76896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76897 ac_ext=c
76898 ac_cpp='$CPP $CPPFLAGS'
76899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76902
76903
76904 fi
76905
76906 fi
76907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
76908 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
76909 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
76910 for ac_func in quick_exit
76911 do :
76912 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
76913 if test "x$ac_cv_func_quick_exit" = x""yes; then :
76914 cat >>confdefs.h <<_ACEOF
76915 #define HAVE_QUICK_EXIT 1
76916 _ACEOF
76917
76918 fi
76919 done
76920
76921 fi
76922
76923
76924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
76925 $as_echo_n "checking for strtold declaration... " >&6; }
76926 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76927 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
76928 $as_echo_n "(cached) " >&6
76929 else
76930
76931
76932 ac_ext=cpp
76933 ac_cpp='$CXXCPP $CPPFLAGS'
76934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76937
76938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76939 /* end confdefs.h. */
76940 #include <stdlib.h>
76941 int
76942 main ()
76943 {
76944 strtold(0, 0);
76945 ;
76946 return 0;
76947 }
76948 _ACEOF
76949 if ac_fn_cxx_try_compile "$LINENO"; then :
76950 glibcxx_cv_func_strtold_use=yes
76951 else
76952 glibcxx_cv_func_strtold_use=no
76953 fi
76954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76955 ac_ext=c
76956 ac_cpp='$CPP $CPPFLAGS'
76957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76960
76961
76962 fi
76963
76964 fi
76965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
76966 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
76967 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76968 for ac_func in strtold
76969 do :
76970 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
76971 if test "x$ac_cv_func_strtold" = x""yes; then :
76972 cat >>confdefs.h <<_ACEOF
76973 #define HAVE_STRTOLD 1
76974 _ACEOF
76975
76976 fi
76977 done
76978
76979 fi
76980
76981
76982
76983
76984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
76985 $as_echo_n "checking for strtof declaration... " >&6; }
76986 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76987 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
76988 $as_echo_n "(cached) " >&6
76989 else
76990
76991
76992 ac_ext=cpp
76993 ac_cpp='$CXXCPP $CPPFLAGS'
76994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76997
76998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76999 /* end confdefs.h. */
77000 #include <stdlib.h>
77001 int
77002 main ()
77003 {
77004 strtof(0, 0);
77005 ;
77006 return 0;
77007 }
77008 _ACEOF
77009 if ac_fn_cxx_try_compile "$LINENO"; then :
77010 glibcxx_cv_func_strtof_use=yes
77011 else
77012 glibcxx_cv_func_strtof_use=no
77013 fi
77014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77015 ac_ext=c
77016 ac_cpp='$CPP $CPPFLAGS'
77017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77020
77021
77022 fi
77023
77024 fi
77025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77026 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77027 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77028 for ac_func in strtof
77029 do :
77030 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77031 if test "x$ac_cv_func_strtof" = x""yes; then :
77032 cat >>confdefs.h <<_ACEOF
77033 #define HAVE_STRTOF 1
77034 _ACEOF
77035
77036 fi
77037 done
77038
77039 fi
77040
77041
77042
77043
77044 CXXFLAGS="$ac_save_CXXFLAGS"
77045
77046 ;;
77047 *-vxworks)
77048 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77049
77050 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77051
77052 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77053
77054 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77055
77056 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77057
77058 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77059
77060 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77061
77062 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77063
77064 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77065
77066 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77067
77068 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77069
77070 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77071
77072 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77073
77074 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77075
77076 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77077
77078 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77079
77080 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77081
77082 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77083
77084 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77085
77086 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77087
77088 ;;
77089 *)
77090 as_fn_error "No support for this host/target combination." "$LINENO" 5
77091 ;;
77092 esac
77093
77094 fi
77095
77096 # At some point, we should differentiate between architectures
77097 # like x86, which have long double versions, and alpha/powerpc/etc.,
77098 # which don't. For the time being, punt.
77099 if test x"long_double_math_on_this_cpu" = x"yes"; then
77100 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77101
77102 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77103
77104 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77105
77106 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77107
77108 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77109
77110 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77111
77112 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77113
77114 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77115
77116 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77117
77118 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77119
77120 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77121
77122 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77123
77124 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77125
77126 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77127
77128 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77129
77130 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77131
77132 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77133
77134 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77135
77136 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77137
77138 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77139
77140 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77141
77142 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77143
77144 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77145
77146 fi
77147 fi
77148
77149 # Check for _Unwind_GetIPInfo.
77150
77151
77152 # Check whether --with-system-libunwind was given.
77153 if test "${with_system_libunwind+set}" = set; then :
77154 withval=$with_system_libunwind;
77155 fi
77156
77157 # If system-libunwind was not specifically set, pick a default setting.
77158 if test x$with_system_libunwind = x; then
77159 case ${target} in
77160 ia64-*-hpux*) with_system_libunwind=yes ;;
77161 *) with_system_libunwind=no ;;
77162 esac
77163 fi
77164 # Based on system-libunwind and target, do we have ipinfo?
77165 if test x$with_system_libunwind = xyes; then
77166 case ${target} in
77167 ia64-*-*) have_unwind_getipinfo=no ;;
77168 *) have_unwind_getipinfo=yes ;;
77169 esac
77170 else
77171 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77172
77173 case ${target} in
77174 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77175 *) have_unwind_getipinfo=yes ;;
77176 esac
77177
77178 fi
77179
77180 if test x$have_unwind_getipinfo = xyes; then
77181
77182 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77183
77184 fi
77185
77186
77187 # Check whether --enable-linux-futex was given.
77188 if test "${enable_linux_futex+set}" = set; then :
77189 enableval=$enable_linux_futex;
77190 case "$enableval" in
77191 yes|no|default) ;;
77192 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77193 esac
77194
77195 else
77196 enable_linux_futex=default
77197 fi
77198
77199
77200 case "$target" in
77201 *-linux*)
77202 case "$enable_linux_futex" in
77203 default)
77204 # If headers don't have gettid/futex syscalls definition, then
77205 # default to no, otherwise there will be compile time failures.
77206 # Otherwise, default to yes. If we don't detect we are
77207 # compiled/linked against NPTL and not cross-compiling, check
77208 # if programs are run by default against NPTL and if not, issue
77209 # a warning.
77210 enable_linux_futex=no
77211 if test x$gcc_no_link = xyes; then
77212 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77213 fi
77214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77215 /* end confdefs.h. */
77216 #include <sys/syscall.h>
77217 int lk;
77218 int
77219 main ()
77220 {
77221 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77222 ;
77223 return 0;
77224 }
77225 _ACEOF
77226 if ac_fn_c_try_link "$LINENO"; then :
77227 save_LIBS="$LIBS"
77228 LIBS="-lpthread $LIBS"
77229 if test x$gcc_no_link = xyes; then
77230 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77231 fi
77232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77233 /* end confdefs.h. */
77234 #ifndef _GNU_SOURCE
77235 #define _GNU_SOURCE 1
77236 #endif
77237 #include <pthread.h>
77238 pthread_t th; void *status;
77239 int
77240 main ()
77241 {
77242 pthread_tryjoin_np (th, &status);
77243 ;
77244 return 0;
77245 }
77246 _ACEOF
77247 if ac_fn_c_try_link "$LINENO"; then :
77248 enable_linux_futex=yes
77249 else
77250 if test x$cross_compiling = xno; then
77251 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77252 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77254 If so, please configure with --disable-linux-futex" >&5
77255 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77256 If so, please configure with --disable-linux-futex" >&2;}
77257 fi
77258 fi
77259 enable_linux_futex=yes
77260 fi
77261 rm -f core conftest.err conftest.$ac_objext \
77262 conftest$ac_exeext conftest.$ac_ext
77263 LIBS="$save_LIBS"
77264 fi
77265 rm -f core conftest.err conftest.$ac_objext \
77266 conftest$ac_exeext conftest.$ac_ext
77267 ;;
77268 yes)
77269 if test x$gcc_no_link = xyes; then
77270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77271 fi
77272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77273 /* end confdefs.h. */
77274 #include <sys/syscall.h>
77275 int lk;
77276 int
77277 main ()
77278 {
77279 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77280 ;
77281 return 0;
77282 }
77283 _ACEOF
77284 if ac_fn_c_try_link "$LINENO"; then :
77285
77286 else
77287 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77288 fi
77289 rm -f core conftest.err conftest.$ac_objext \
77290 conftest$ac_exeext conftest.$ac_ext
77291 ;;
77292 esac
77293 ;;
77294 *)
77295 enable_linux_futex=no
77296 ;;
77297 esac
77298 if test x$enable_linux_futex = xyes; then
77299
77300 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77301
77302 fi
77303
77304
77305
77306
77307 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77308
77309 acx_cv_header_stdint=stddef.h
77310 acx_cv_header_stdint_kind="(already complete)"
77311 for i in stdint.h $inttype_headers; do
77312 unset ac_cv_type_uintptr_t
77313 unset ac_cv_type_uintmax_t
77314 unset ac_cv_type_int_least32_t
77315 unset ac_cv_type_int_fast32_t
77316 unset ac_cv_type_uint64_t
77317 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77318 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77319 #include <$i>
77320 "
77321 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77322 acx_cv_header_stdint=$i
77323 else
77324 continue
77325 fi
77326
77327 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77328 #include <$i>
77329 "
77330 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77331
77332 else
77333 acx_cv_header_stdint_kind="(mostly complete)"
77334 fi
77335
77336 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77337 #include <$i>
77338 "
77339 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77340
77341 else
77342 acx_cv_header_stdint_kind="(mostly complete)"
77343 fi
77344
77345 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77346 #include <$i>
77347 "
77348 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77349
77350 else
77351 acx_cv_header_stdint_kind="(mostly complete)"
77352 fi
77353
77354 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77355 #include <$i>
77356 "
77357 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77358
77359 else
77360 acx_cv_header_stdint_kind="(lacks uint64_t)"
77361 fi
77362
77363 break
77364 done
77365 if test "$acx_cv_header_stdint" = stddef.h; then
77366 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77367 for i in stdint.h $inttype_headers; do
77368 unset ac_cv_type_uintptr_t
77369 unset ac_cv_type_uint32_t
77370 unset ac_cv_type_uint64_t
77371 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77372 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77373 #include <$i>
77374 "
77375 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77376 acx_cv_header_stdint=$i
77377 else
77378 continue
77379 fi
77380
77381 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77382 #include <$i>
77383 "
77384 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77385
77386 fi
77387
77388 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77389 #include <$i>
77390 "
77391 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77392
77393 fi
77394
77395 break
77396 done
77397 fi
77398 if test "$acx_cv_header_stdint" = stddef.h; then
77399 acx_cv_header_stdint_kind="(u_intXX_t style)"
77400 for i in sys/types.h $inttype_headers; do
77401 unset ac_cv_type_u_int32_t
77402 unset ac_cv_type_u_int64_t
77403 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77404 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77405 #include <$i>
77406 "
77407 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77408 acx_cv_header_stdint=$i
77409 else
77410 continue
77411 fi
77412
77413 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77414 #include <$i>
77415 "
77416 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77417
77418 fi
77419
77420 break
77421 done
77422 fi
77423 if test "$acx_cv_header_stdint" = stddef.h; then
77424 acx_cv_header_stdint_kind="(using manual detection)"
77425 fi
77426
77427 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77428 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77429 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77430 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77431 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77432
77433 # ----------------- Summarize what we found so far
77434
77435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77436 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77437
77438 case `$as_basename -- include/gstdint.h ||
77439 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77440 Xinclude/gstdint.h : 'X\(//\)$' \| \
77441 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77442 $as_echo X/include/gstdint.h |
77443 sed '/^.*\/\([^/][^/]*\)\/*$/{
77444 s//\1/
77445 q
77446 }
77447 /^X\/\(\/\/\)$/{
77448 s//\1/
77449 q
77450 }
77451 /^X\/\(\/\).*/{
77452 s//\1/
77453 q
77454 }
77455 s/.*/./; q'` in
77456 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77457 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77458 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77459 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77460 *) ;;
77461 esac
77462
77463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77464 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77465
77466 # ----------------- done included file, check C basic types --------
77467
77468 # Lacking an uintptr_t? Test size of void *
77469 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77470 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77471 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77472 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77473 # This bug is HP SR number 8606223364.
77474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77475 $as_echo_n "checking size of void *... " >&6; }
77476 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77477 $as_echo_n "(cached) " >&6
77478 else
77479 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77480
77481 else
77482 if test "$ac_cv_type_void_p" = yes; then
77483 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77485 { as_fn_set_status 77
77486 as_fn_error "cannot compute sizeof (void *)
77487 See \`config.log' for more details." "$LINENO" 5; }; }
77488 else
77489 ac_cv_sizeof_void_p=0
77490 fi
77491 fi
77492
77493 fi
77494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77495 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77496
77497
77498
77499 cat >>confdefs.h <<_ACEOF
77500 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77501 _ACEOF
77502
77503 ;;
77504 esac
77505
77506 # Lacking an uint64_t? Test size of long
77507 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77508 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77509 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77510 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77511 # This bug is HP SR number 8606223364.
77512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77513 $as_echo_n "checking size of long... " >&6; }
77514 if test "${ac_cv_sizeof_long+set}" = set; then :
77515 $as_echo_n "(cached) " >&6
77516 else
77517 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77518
77519 else
77520 if test "$ac_cv_type_long" = yes; then
77521 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77523 { as_fn_set_status 77
77524 as_fn_error "cannot compute sizeof (long)
77525 See \`config.log' for more details." "$LINENO" 5; }; }
77526 else
77527 ac_cv_sizeof_long=0
77528 fi
77529 fi
77530
77531 fi
77532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77533 $as_echo "$ac_cv_sizeof_long" >&6; }
77534
77535
77536
77537 cat >>confdefs.h <<_ACEOF
77538 #define SIZEOF_LONG $ac_cv_sizeof_long
77539 _ACEOF
77540
77541 ;;
77542 esac
77543
77544 if test $acx_cv_header_stdint = stddef.h; then
77545 # Lacking a good header? Test size of everything and deduce all types.
77546 # The cast to long int works around a bug in the HP C Compiler
77547 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77548 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77549 # This bug is HP SR number 8606223364.
77550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77551 $as_echo_n "checking size of int... " >&6; }
77552 if test "${ac_cv_sizeof_int+set}" = set; then :
77553 $as_echo_n "(cached) " >&6
77554 else
77555 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77556
77557 else
77558 if test "$ac_cv_type_int" = yes; then
77559 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77560 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77561 { as_fn_set_status 77
77562 as_fn_error "cannot compute sizeof (int)
77563 See \`config.log' for more details." "$LINENO" 5; }; }
77564 else
77565 ac_cv_sizeof_int=0
77566 fi
77567 fi
77568
77569 fi
77570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77571 $as_echo "$ac_cv_sizeof_int" >&6; }
77572
77573
77574
77575 cat >>confdefs.h <<_ACEOF
77576 #define SIZEOF_INT $ac_cv_sizeof_int
77577 _ACEOF
77578
77579
77580 # The cast to long int works around a bug in the HP C Compiler
77581 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77582 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77583 # This bug is HP SR number 8606223364.
77584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77585 $as_echo_n "checking size of short... " >&6; }
77586 if test "${ac_cv_sizeof_short+set}" = set; then :
77587 $as_echo_n "(cached) " >&6
77588 else
77589 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77590
77591 else
77592 if test "$ac_cv_type_short" = yes; then
77593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77595 { as_fn_set_status 77
77596 as_fn_error "cannot compute sizeof (short)
77597 See \`config.log' for more details." "$LINENO" 5; }; }
77598 else
77599 ac_cv_sizeof_short=0
77600 fi
77601 fi
77602
77603 fi
77604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77605 $as_echo "$ac_cv_sizeof_short" >&6; }
77606
77607
77608
77609 cat >>confdefs.h <<_ACEOF
77610 #define SIZEOF_SHORT $ac_cv_sizeof_short
77611 _ACEOF
77612
77613
77614 # The cast to long int works around a bug in the HP C Compiler
77615 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77616 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77617 # This bug is HP SR number 8606223364.
77618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77619 $as_echo_n "checking size of char... " >&6; }
77620 if test "${ac_cv_sizeof_char+set}" = set; then :
77621 $as_echo_n "(cached) " >&6
77622 else
77623 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77624
77625 else
77626 if test "$ac_cv_type_char" = yes; then
77627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77629 { as_fn_set_status 77
77630 as_fn_error "cannot compute sizeof (char)
77631 See \`config.log' for more details." "$LINENO" 5; }; }
77632 else
77633 ac_cv_sizeof_char=0
77634 fi
77635 fi
77636
77637 fi
77638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77639 $as_echo "$ac_cv_sizeof_char" >&6; }
77640
77641
77642
77643 cat >>confdefs.h <<_ACEOF
77644 #define SIZEOF_CHAR $ac_cv_sizeof_char
77645 _ACEOF
77646
77647
77648
77649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77650 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77651 case "$ac_cv_sizeof_char" in
77652 1) acx_cv_type_int8_t=char ;;
77653 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77654 esac
77655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77656 $as_echo "$acx_cv_type_int8_t" >&6; }
77657
77658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77659 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77660 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77661 2:*) acx_cv_type_int16_t=int ;;
77662 *:2) acx_cv_type_int16_t=short ;;
77663 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77664 esac
77665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77666 $as_echo "$acx_cv_type_int16_t" >&6; }
77667
77668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77669 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77670 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77671 4:*) acx_cv_type_int32_t=int ;;
77672 *:4) acx_cv_type_int32_t=long ;;
77673 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77674 esac
77675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77676 $as_echo "$acx_cv_type_int32_t" >&6; }
77677 fi
77678
77679 # These tests are here to make the output prettier
77680
77681 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77682 case "$ac_cv_sizeof_long" in
77683 8) acx_cv_type_int64_t=long ;;
77684 esac
77685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77686 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77688 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77689 fi
77690
77691 # Now we can use the above types
77692
77693 if test "$ac_cv_type_uintptr_t" != yes; then
77694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77695 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77696 case $ac_cv_sizeof_void_p in
77697 2) acx_cv_type_intptr_t=int16_t ;;
77698 4) acx_cv_type_intptr_t=int32_t ;;
77699 8) acx_cv_type_intptr_t=int64_t ;;
77700 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77701 esac
77702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77703 $as_echo "$acx_cv_type_intptr_t" >&6; }
77704 fi
77705
77706 # ----------------- done all checks, emit header -------------
77707 ac_config_commands="$ac_config_commands include/gstdint.h"
77708
77709
77710
77711
77712
77713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77714 $as_echo_n "checking for GNU c++filt... " >&6; }
77715 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77716 $as_echo_n "(cached) " >&6
77717 else
77718 if test -z "$CXXFILT"; then
77719 ac_path_CXXFILT_found=false
77720 # Loop through the user's path and test for each of PROGNAME-LIST
77721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77722 for as_dir in $PATH
77723 do
77724 IFS=$as_save_IFS
77725 test -z "$as_dir" && as_dir=.
77726 for ac_prog in c++filt gc++filt; do
77727 for ac_exec_ext in '' $ac_executable_extensions; do
77728 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77729 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77730 # Check for GNU $ac_path_CXXFILT
77731 case `"$ac_path_CXXFILT" --version 2>&1` in
77732 *GNU*)
77733 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77734 esac
77735
77736 $ac_path_CXXFILT_found && break 3
77737 done
77738 done
77739 done
77740 IFS=$as_save_IFS
77741 if test -z "$ac_cv_path_CXXFILT"; then
77742 :
77743 fi
77744 else
77745 ac_cv_path_CXXFILT=$CXXFILT
77746 fi
77747
77748 fi
77749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77750 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77751 CXXFILT=$ac_cv_path_CXXFILT
77752
77753
77754
77755 # Check whether --enable-symvers was given.
77756 if test "${enable_symvers+set}" = set; then :
77757 enableval=$enable_symvers;
77758 case "$enableval" in
77759 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77760 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77761 esac
77762
77763 else
77764 enable_symvers=yes
77765 fi
77766
77767
77768
77769 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77770 # don't know enough about $LD to do tricks...
77771
77772 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77773 # with extern "C++" in version scripts.
77774
77775
77776 # Turn a 'yes' into a suitable default.
77777 if test x$enable_symvers = xyes ; then
77778 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77779 enable_symvers=no
77780 else
77781 if test $with_gnu_ld = yes ; then
77782 case ${target_os} in
77783 hpux*)
77784 enable_symvers=no ;;
77785 *)
77786 enable_symvers=gnu ;;
77787 esac
77788 else
77789 case ${target_os} in
77790 darwin*)
77791 enable_symvers=darwin ;;
77792 # Sun symbol versioning exists since Solaris 2.5.
77793 solaris2.[5-9]* | solaris2.1[0-9]*)
77794 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77795 # version scripts, so disable symbol versioning if none can be
77796 # found.
77797 if test -z "$ac_cv_path_CXXFILT"; then
77798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77799 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77801 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77803 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77804 enable_symvers=no
77805 else
77806 enable_symvers=sun
77807 fi
77808 ;;
77809 *)
77810 enable_symvers=no ;;
77811 esac
77812 fi
77813 fi
77814 fi
77815
77816 # Check to see if 'darwin' or 'darwin-export' can win.
77817 if test x$enable_symvers = xdarwin-export ; then
77818 enable_symvers=darwin
77819 fi
77820
77821 # Check if 'sun' was requested on non-Solaris 2 platforms.
77822 if test x$enable_symvers = xsun ; then
77823 case ${target_os} in
77824 solaris2*)
77825 # All fine.
77826 ;;
77827 *)
77828 # Unlikely to work.
77829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77830 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
77832 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
77833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77834 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77835 enable_symvers=no
77836 ;;
77837 esac
77838 fi
77839
77840 # Check to see if 'gnu' can win.
77841 if test $enable_symvers = gnu ||
77842 test $enable_symvers = gnu-versioned-namespace ||
77843 test $enable_symvers = sun; then
77844 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
77845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
77846 $as_echo_n "checking for shared libgcc... " >&6; }
77847 ac_save_CFLAGS="$CFLAGS"
77848 CFLAGS=' -lgcc_s'
77849 if test x$gcc_no_link = xyes; then
77850 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77851 fi
77852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77853 /* end confdefs.h. */
77854
77855 int
77856 main ()
77857 {
77858 return 0;
77859 ;
77860 return 0;
77861 }
77862 _ACEOF
77863 if ac_fn_c_try_link "$LINENO"; then :
77864 glibcxx_shared_libgcc=yes
77865 else
77866 glibcxx_shared_libgcc=no
77867 fi
77868 rm -f core conftest.err conftest.$ac_objext \
77869 conftest$ac_exeext conftest.$ac_ext
77870 CFLAGS="$ac_save_CFLAGS"
77871 if test $glibcxx_shared_libgcc = no; then
77872 cat > conftest.c <<EOF
77873 int main (void) { return 0; }
77874 EOF
77875 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
77876 -shared -shared-libgcc -o conftest.so \
77877 conftest.c -v 2>&1 >/dev/null \
77878 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
77879 rm -f conftest.c conftest.so
77880 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
77881 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
77882 if test x$gcc_no_link = xyes; then
77883 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77884 fi
77885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77886 /* end confdefs.h. */
77887
77888 int
77889 main ()
77890 {
77891 return 0;
77892 ;
77893 return 0;
77894 }
77895 _ACEOF
77896 if ac_fn_c_try_link "$LINENO"; then :
77897 glibcxx_shared_libgcc=yes
77898 fi
77899 rm -f core conftest.err conftest.$ac_objext \
77900 conftest$ac_exeext conftest.$ac_ext
77901 CFLAGS="$ac_save_CFLAGS"
77902 fi
77903 fi
77904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
77905 $as_echo "$glibcxx_shared_libgcc" >&6; }
77906
77907 # For GNU ld, we need at least this version. The format is described in
77908 # GLIBCXX_CHECK_LINKER_FEATURES above.
77909 glibcxx_min_gnu_ld_version=21400
77910
77911 # If no shared libgcc, can't win.
77912 if test $glibcxx_shared_libgcc != yes; then
77913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77914 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
77916 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
77917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77918 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77919 enable_symvers=no
77920 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
77921 : All interesting versions of Sun ld support sun style symbol versioning.
77922 elif test $with_gnu_ld != yes ; then
77923 # just fail for now
77924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77925 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
77927 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
77928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77929 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77930 enable_symvers=no
77931 elif test $glibcxx_ld_is_gold = yes ; then
77932 : All versions of gold support symbol versioning.
77933 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
77934 # The right tools, the right setup, but too old. Fallbacks?
77935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
77936 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
77937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
77938 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
77939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
77940 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
77941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
77942 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
77943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77944 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77945 enable_symvers=no
77946 fi
77947 fi
77948
77949 # For libtool versioning info, format is CURRENT:REVISION:AGE
77950 libtool_VERSION=6:21:0
77951
77952 # Everything parsed; figure out what files and settings to use.
77953 case $enable_symvers in
77954 no)
77955 SYMVER_FILE=config/abi/pre/none.ver
77956 ;;
77957 gnu)
77958 SYMVER_FILE=config/abi/pre/gnu.ver
77959
77960 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
77961
77962 ;;
77963 gnu-versioned-namespace)
77964 libtool_VERSION=7:0:0
77965 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
77966
77967 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
77968
77969 ;;
77970 darwin)
77971 SYMVER_FILE=config/abi/pre/gnu.ver
77972
77973 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
77974
77975 ;;
77976 sun)
77977 SYMVER_FILE=config/abi/pre/gnu.ver
77978
77979 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
77980
77981 ;;
77982 esac
77983
77984 if test x$enable_symvers != xno ; then
77985
77986 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
77987
77988 fi
77989
77990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
77991 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
77992 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
77993 $as_echo_n "(cached) " >&6
77994 else
77995
77996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77997 /* end confdefs.h. */
77998 void foo (void); __asm (".symver foo, bar@SYMVER");
77999 int
78000 main ()
78001 {
78002
78003 ;
78004 return 0;
78005 }
78006 _ACEOF
78007 if ac_fn_c_try_compile "$LINENO"; then :
78008 glibcxx_cv_have_as_symver_directive=yes
78009 else
78010 glibcxx_cv_have_as_symver_directive=no
78011 fi
78012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78013 fi
78014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78015 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78016 if test $glibcxx_cv_have_as_symver_directive = yes; then
78017
78018 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78019
78020 fi
78021
78022
78023
78024
78025
78026
78027
78028
78029 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78030 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78031
78032 if test $enable_symvers != no ; then
78033 case ${target_os} in
78034 # The Solaris 2 runtime linker doesn't support the GNU extension of
78035 # binding the same symbol to different versions
78036 solaris2*)
78037 ;;
78038 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78039 *)
78040
78041 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78042
78043 ;;
78044 esac
78045 fi
78046
78047 # Now, set up compatibility support, if any.
78048 # In addition, need this to deal with std::size_t mangling in
78049 # src/compatibility.cc. In a perfect world, could use
78050 # typeid(std::size_t).name()[0] to do direct substitution.
78051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78052 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78053 ac_save_CFLAGS="$CFLAGS"
78054 CFLAGS="-Werror"
78055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78056 /* end confdefs.h. */
78057
78058 int
78059 main ()
78060 {
78061 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78062 ;
78063 return 0;
78064 }
78065 _ACEOF
78066 if ac_fn_c_try_compile "$LINENO"; then :
78067 glibcxx_size_t_is_i=yes
78068 else
78069 glibcxx_size_t_is_i=no
78070 fi
78071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78072 CFLAGS=$ac_save_CFLAGS
78073 if test "$glibcxx_size_t_is_i" = yes; then
78074
78075 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78076
78077 fi
78078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78079 $as_echo "$glibcxx_size_t_is_i" >&6; }
78080
78081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78082 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78083 ac_save_CFLAGS="$CFLAGS"
78084 CFLAGS="-Werror"
78085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78086 /* end confdefs.h. */
78087
78088 int
78089 main ()
78090 {
78091 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78092 ;
78093 return 0;
78094 }
78095 _ACEOF
78096 if ac_fn_c_try_compile "$LINENO"; then :
78097 glibcxx_ptrdiff_t_is_i=yes
78098 else
78099 glibcxx_ptrdiff_t_is_i=no
78100 fi
78101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78102 CFLAGS=$ac_save_CFLAGS
78103 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78104
78105 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78106
78107 fi
78108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78109 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78110
78111
78112
78113
78114 # Check whether --enable-libstdcxx-visibility was given.
78115 if test "${enable_libstdcxx_visibility+set}" = set; then :
78116 enableval=$enable_libstdcxx_visibility;
78117 case "$enableval" in
78118 yes|no) ;;
78119 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78120 esac
78121
78122 else
78123 enable_libstdcxx_visibility=yes
78124 fi
78125
78126
78127
78128 if test x$enable_libstdcxx_visibility = xyes ; then
78129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78130 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78131 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78132 $as_echo_n "(cached) " >&6
78133 else
78134
78135 save_CFLAGS="$CFLAGS"
78136 CFLAGS="$CFLAGS -Werror"
78137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78138 /* end confdefs.h. */
78139 void __attribute__((visibility("hidden"))) foo(void) { }
78140 int
78141 main ()
78142 {
78143
78144 ;
78145 return 0;
78146 }
78147 _ACEOF
78148 if ac_fn_c_try_compile "$LINENO"; then :
78149 glibcxx_cv_have_attribute_visibility=yes
78150 else
78151 glibcxx_cv_have_attribute_visibility=no
78152 fi
78153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78154 CFLAGS="$save_CFLAGS"
78155 fi
78156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78157 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78158 if test $glibcxx_cv_have_attribute_visibility = no; then
78159 enable_libstdcxx_visibility=no
78160 fi
78161 fi
78162
78163
78164 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78165 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78166
78167
78168
78169 # Check whether --enable-libstdcxx-cxx11-abi was given.
78170 if test "${enable_libstdcxx_cxx11_abi+set}" = set; then :
78171 enableval=$enable_libstdcxx_cxx11_abi;
78172 else
78173 enable_libstdcxx_cxx11_abi=yes
78174 fi
78175
78176 if test x"$enable_libstdcxx_cxx11_abi" != xyes; then
78177 { $as_echo "$as_me:${as_lineno-$LINENO}: C++11-conforming ABI is disabled" >&5
78178 $as_echo "$as_me: C++11-conforming ABI is disabled" >&6;}
78179 fi
78180
78181
78182
78183 ac_ldbl_compat=no
78184 case "$target" in
78185 powerpc*-*-linux* | \
78186 sparc*-*-linux* | \
78187 s390*-*-linux* | \
78188 alpha*-*-linux*)
78189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78190 /* end confdefs.h. */
78191
78192 int
78193 main ()
78194 {
78195
78196 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78197 #error no need for long double compatibility
78198 #endif
78199
78200 ;
78201 return 0;
78202 }
78203 _ACEOF
78204 if ac_fn_c_try_compile "$LINENO"; then :
78205 ac_ldbl_compat=yes
78206 else
78207 ac_ldbl_compat=no
78208 fi
78209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78210 if test "$ac_ldbl_compat" = yes; then
78211
78212 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78213
78214 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78215 fi
78216 esac
78217
78218
78219 # Check if assembler supports disabling hardware capability support.
78220
78221 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78222
78223 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78224 # with a different meaning.
78225 case ${target_os} in
78226 solaris2*)
78227 ac_save_CFLAGS="$CFLAGS"
78228 CFLAGS="$CFLAGS -Wa,-nH"
78229
78230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78231 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78233 /* end confdefs.h. */
78234
78235 int
78236 main ()
78237 {
78238 return 0;
78239 ;
78240 return 0;
78241 }
78242 _ACEOF
78243 if ac_fn_c_try_compile "$LINENO"; then :
78244 ac_hwcap_flags=yes
78245 else
78246 ac_hwcap_flags=no
78247 fi
78248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78249 if test "$ac_hwcap_flags" = "yes"; then
78250 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78251 fi
78252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78253 $as_echo "$ac_hwcap_flags" >&6; }
78254
78255 CFLAGS="$ac_save_CFLAGS"
78256 ;;
78257 esac
78258
78259
78260
78261
78262 # Check if assembler supports rdrand opcode.
78263
78264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78265 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78266 if test "${ac_cv_x86_rdrand+set}" = set; then :
78267 $as_echo_n "(cached) " >&6
78268 else
78269
78270 ac_cv_x86_rdrand=no
78271 case "$target" in
78272 i?86-*-* | \
78273 x86_64-*-*)
78274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78275 /* end confdefs.h. */
78276
78277 int
78278 main ()
78279 {
78280 asm("rdrand %eax");
78281 ;
78282 return 0;
78283 }
78284 _ACEOF
78285 if ac_fn_c_try_compile "$LINENO"; then :
78286 ac_cv_x86_rdrand=yes
78287 else
78288 ac_cv_x86_rdrand=no
78289 fi
78290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78291 esac
78292
78293 fi
78294
78295 if test $ac_cv_x86_rdrand = yes; then
78296
78297 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78298
78299 fi
78300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78301 $as_echo "$ac_cv_x86_rdrand" >&6; }
78302
78303
78304 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78305
78306 if $GLIBCXX_IS_NATIVE ; then
78307 # Do checks for resource limit functions.
78308
78309 setrlimit_have_headers=yes
78310 for ac_header in unistd.h sys/time.h sys/resource.h
78311 do :
78312 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78313 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78314 eval as_val=\$$as_ac_Header
78315 if test "x$as_val" = x""yes; then :
78316 cat >>confdefs.h <<_ACEOF
78317 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78318 _ACEOF
78319
78320 else
78321 setrlimit_have_headers=no
78322 fi
78323
78324 done
78325
78326 # If don't have the headers, then we can't run the tests now, and we
78327 # won't be seeing any of these during testsuite compilation.
78328 if test $setrlimit_have_headers = yes; then
78329 # Can't do these in a loop, else the resulting syntax is wrong.
78330
78331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78332 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78334 /* end confdefs.h. */
78335 #include <unistd.h>
78336 #include <sys/time.h>
78337 #include <sys/resource.h>
78338
78339 int
78340 main ()
78341 {
78342 int f = RLIMIT_DATA ;
78343 ;
78344 return 0;
78345 }
78346 _ACEOF
78347 if ac_fn_c_try_compile "$LINENO"; then :
78348 glibcxx_mresult=1
78349 else
78350 glibcxx_mresult=0
78351 fi
78352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78353
78354 cat >>confdefs.h <<_ACEOF
78355 #define HAVE_LIMIT_DATA $glibcxx_mresult
78356 _ACEOF
78357
78358 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78360 $as_echo "$res" >&6; }
78361
78362
78363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78364 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78366 /* end confdefs.h. */
78367 #include <unistd.h>
78368 #include <sys/time.h>
78369 #include <sys/resource.h>
78370
78371 int
78372 main ()
78373 {
78374 int f = RLIMIT_RSS ;
78375 ;
78376 return 0;
78377 }
78378 _ACEOF
78379 if ac_fn_c_try_compile "$LINENO"; then :
78380 glibcxx_mresult=1
78381 else
78382 glibcxx_mresult=0
78383 fi
78384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78385
78386 cat >>confdefs.h <<_ACEOF
78387 #define HAVE_LIMIT_RSS $glibcxx_mresult
78388 _ACEOF
78389
78390 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78392 $as_echo "$res" >&6; }
78393
78394
78395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78396 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78398 /* end confdefs.h. */
78399 #include <unistd.h>
78400 #include <sys/time.h>
78401 #include <sys/resource.h>
78402
78403 int
78404 main ()
78405 {
78406 int f = RLIMIT_VMEM ;
78407 ;
78408 return 0;
78409 }
78410 _ACEOF
78411 if ac_fn_c_try_compile "$LINENO"; then :
78412 glibcxx_mresult=1
78413 else
78414 glibcxx_mresult=0
78415 fi
78416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78417
78418 cat >>confdefs.h <<_ACEOF
78419 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78420 _ACEOF
78421
78422 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78424 $as_echo "$res" >&6; }
78425
78426
78427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78428 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78430 /* end confdefs.h. */
78431 #include <unistd.h>
78432 #include <sys/time.h>
78433 #include <sys/resource.h>
78434
78435 int
78436 main ()
78437 {
78438 int f = RLIMIT_AS ;
78439 ;
78440 return 0;
78441 }
78442 _ACEOF
78443 if ac_fn_c_try_compile "$LINENO"; then :
78444 glibcxx_mresult=1
78445 else
78446 glibcxx_mresult=0
78447 fi
78448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78449
78450 cat >>confdefs.h <<_ACEOF
78451 #define HAVE_LIMIT_AS $glibcxx_mresult
78452 _ACEOF
78453
78454 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78456 $as_echo "$res" >&6; }
78457
78458
78459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78460 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78462 /* end confdefs.h. */
78463 #include <unistd.h>
78464 #include <sys/time.h>
78465 #include <sys/resource.h>
78466
78467 int
78468 main ()
78469 {
78470 int f = RLIMIT_FSIZE ;
78471 ;
78472 return 0;
78473 }
78474 _ACEOF
78475 if ac_fn_c_try_compile "$LINENO"; then :
78476 glibcxx_mresult=1
78477 else
78478 glibcxx_mresult=0
78479 fi
78480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78481
78482 cat >>confdefs.h <<_ACEOF
78483 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78484 _ACEOF
78485
78486 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78488 $as_echo "$res" >&6; }
78489
78490
78491 # Check for rlimit, setrlimit.
78492 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78493 $as_echo_n "(cached) " >&6
78494 else
78495
78496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78497 /* end confdefs.h. */
78498 #include <unistd.h>
78499 #include <sys/time.h>
78500 #include <sys/resource.h>
78501
78502 int
78503 main ()
78504 {
78505 struct rlimit r;
78506 setrlimit(0, &r);
78507 ;
78508 return 0;
78509 }
78510 _ACEOF
78511 if ac_fn_c_try_compile "$LINENO"; then :
78512 glibcxx_cv_setrlimit=yes
78513 else
78514 glibcxx_cv_setrlimit=no
78515 fi
78516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78517
78518 fi
78519
78520 fi
78521
78522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78523 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78524 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78525 ac_res_limits=yes
78526
78527 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78528
78529 else
78530 ac_res_limits=no
78531 fi
78532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78533 $as_echo "$ac_res_limits" >&6; }
78534
78535
78536 # Look for setenv, so that extended locale tests can be performed.
78537
78538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78539 $as_echo_n "checking for setenv declaration... " >&6; }
78540 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78541 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78542 $as_echo_n "(cached) " >&6
78543 else
78544
78545
78546 ac_ext=cpp
78547 ac_cpp='$CXXCPP $CPPFLAGS'
78548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78551
78552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78553 /* end confdefs.h. */
78554 #include <stdlib.h>
78555 int
78556 main ()
78557 {
78558 setenv(0, 0, 0);
78559 ;
78560 return 0;
78561 }
78562 _ACEOF
78563 if ac_fn_cxx_try_compile "$LINENO"; then :
78564 glibcxx_cv_func_setenv_use=yes
78565 else
78566 glibcxx_cv_func_setenv_use=no
78567 fi
78568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78569 ac_ext=c
78570 ac_cpp='$CPP $CPPFLAGS'
78571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78574
78575
78576 fi
78577
78578 fi
78579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78580 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78581 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78582 for ac_func in setenv
78583 do :
78584 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78585 if test "x$ac_cv_func_setenv" = x""yes; then :
78586 cat >>confdefs.h <<_ACEOF
78587 #define HAVE_SETENV 1
78588 _ACEOF
78589
78590 fi
78591 done
78592
78593 fi
78594
78595 fi
78596
78597 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78598 test $enable_symvers != no; then
78599 case "$host" in
78600 *-*-cygwin*)
78601 enable_abi_check=no ;;
78602 *)
78603 enable_abi_check=yes ;;
78604 esac
78605 else
78606 # Only build this as native, since automake does not understand
78607 # CXX_FOR_BUILD.
78608 enable_abi_check=no
78609 fi
78610
78611 # Export file names for ABI checking.
78612 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78613
78614 baseline_subdir_switch="$abi_baseline_subdir_switch"
78615
78616
78617
78618 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78619
78620 # Check whether --enable-libstdcxx-threads was given.
78621 if test "${enable_libstdcxx_threads+set}" = set; then :
78622 enableval=$enable_libstdcxx_threads;
78623 case "$enableval" in
78624 yes|no) ;;
78625 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78626 esac
78627
78628 else
78629 enable_libstdcxx_threads=auto
78630 fi
78631
78632
78633
78634 if test x$enable_libstdcxx_threads = xauto ||
78635 test x$enable_libstdcxx_threads = xyes; then
78636
78637
78638 ac_ext=cpp
78639 ac_cpp='$CXXCPP $CPPFLAGS'
78640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78643
78644
78645 ac_save_CXXFLAGS="$CXXFLAGS"
78646 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78647 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78648
78649 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78650 case $target_thread_file in
78651 posix)
78652 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78653 esac
78654
78655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78656 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78657
78658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78659 /* end confdefs.h. */
78660 #include <unistd.h>
78661 int
78662 main ()
78663 {
78664
78665 // In case of POSIX threads check _POSIX_TIMEOUTS.
78666 #if (defined(_PTHREADS) \
78667 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78668 #error
78669 #endif
78670
78671 ;
78672 return 0;
78673 }
78674 _ACEOF
78675 if ac_fn_cxx_try_compile "$LINENO"; then :
78676 ac_gthread_use_mutex_timedlock=1
78677 else
78678 ac_gthread_use_mutex_timedlock=0
78679 fi
78680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78681
78682
78683 cat >>confdefs.h <<_ACEOF
78684 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78685 _ACEOF
78686
78687
78688 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78689 else res_mutex_timedlock=no ; fi
78690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78691 $as_echo "$res_mutex_timedlock" >&6; }
78692
78693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78694 $as_echo_n "checking for gthreads library... " >&6; }
78695
78696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78697 /* end confdefs.h. */
78698 #include "gthr.h"
78699 int
78700 main ()
78701 {
78702
78703 #ifndef __GTHREADS_CXX0X
78704 #error
78705 #endif
78706
78707 ;
78708 return 0;
78709 }
78710 _ACEOF
78711 if ac_fn_cxx_try_compile "$LINENO"; then :
78712 ac_has_gthreads=yes
78713 else
78714 ac_has_gthreads=no
78715 fi
78716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78717 else
78718 ac_has_gthreads=no
78719 fi
78720
78721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78722 $as_echo "$ac_has_gthreads" >&6; }
78723
78724 if test x"$ac_has_gthreads" = x"yes"; then
78725
78726 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78727
78728 fi
78729
78730 CXXFLAGS="$ac_save_CXXFLAGS"
78731 ac_ext=c
78732 ac_cpp='$CPP $CPPFLAGS'
78733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78736
78737
78738
78739 # Define documentation rules conditionally.
78740
78741 # See if makeinfo has been installed and is modern enough
78742 # that we can use it.
78743
78744 # Extract the first word of "makeinfo", so it can be a program name with args.
78745 set dummy makeinfo; ac_word=$2
78746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78747 $as_echo_n "checking for $ac_word... " >&6; }
78748 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
78749 $as_echo_n "(cached) " >&6
78750 else
78751 if test -n "$MAKEINFO"; then
78752 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
78753 else
78754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78755 for as_dir in $PATH
78756 do
78757 IFS=$as_save_IFS
78758 test -z "$as_dir" && as_dir=.
78759 for ac_exec_ext in '' $ac_executable_extensions; do
78760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78761 ac_cv_prog_MAKEINFO="makeinfo"
78762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78763 break 2
78764 fi
78765 done
78766 done
78767 IFS=$as_save_IFS
78768
78769 fi
78770 fi
78771 MAKEINFO=$ac_cv_prog_MAKEINFO
78772 if test -n "$MAKEINFO"; then
78773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
78774 $as_echo "$MAKEINFO" >&6; }
78775 else
78776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78777 $as_echo "no" >&6; }
78778 fi
78779
78780
78781 if test -n "$MAKEINFO"; then
78782 # Found it, now check the version.
78783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
78784 $as_echo_n "checking for modern makeinfo... " >&6; }
78785 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
78786 $as_echo_n "(cached) " >&6
78787 else
78788 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
78789 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
78790
78791 case $ac_prog_version in
78792 '') gcc_cv_prog_makeinfo_modern=no;;
78793 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
78794 *) gcc_cv_prog_makeinfo_modern=no;;
78795 esac
78796
78797 fi
78798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
78799 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
78800 else
78801 gcc_cv_prog_makeinfo_modern=no
78802 fi
78803 if test $gcc_cv_prog_makeinfo_modern = no; then
78804 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
78805 fi
78806
78807 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
78808 BUILD_INFO_TRUE=
78809 BUILD_INFO_FALSE='#'
78810 else
78811 BUILD_INFO_TRUE='#'
78812 BUILD_INFO_FALSE=
78813 fi
78814
78815
78816 # Check for doxygen
78817 # Extract the first word of "doxygen", so it can be a program name with args.
78818 set dummy doxygen; ac_word=$2
78819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78820 $as_echo_n "checking for $ac_word... " >&6; }
78821 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
78822 $as_echo_n "(cached) " >&6
78823 else
78824 if test -n "$DOXYGEN"; then
78825 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
78826 else
78827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78828 for as_dir in $PATH
78829 do
78830 IFS=$as_save_IFS
78831 test -z "$as_dir" && as_dir=.
78832 for ac_exec_ext in '' $ac_executable_extensions; do
78833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78834 ac_cv_prog_DOXYGEN="yes"
78835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78836 break 2
78837 fi
78838 done
78839 done
78840 IFS=$as_save_IFS
78841
78842 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
78843 fi
78844 fi
78845 DOXYGEN=$ac_cv_prog_DOXYGEN
78846 if test -n "$DOXYGEN"; then
78847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
78848 $as_echo "$DOXYGEN" >&6; }
78849 else
78850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78851 $as_echo "no" >&6; }
78852 fi
78853
78854
78855 # Extract the first word of "dot", so it can be a program name with args.
78856 set dummy dot; ac_word=$2
78857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78858 $as_echo_n "checking for $ac_word... " >&6; }
78859 if test "${ac_cv_prog_DOT+set}" = set; then :
78860 $as_echo_n "(cached) " >&6
78861 else
78862 if test -n "$DOT"; then
78863 ac_cv_prog_DOT="$DOT" # Let the user override the test.
78864 else
78865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78866 for as_dir in $PATH
78867 do
78868 IFS=$as_save_IFS
78869 test -z "$as_dir" && as_dir=.
78870 for ac_exec_ext in '' $ac_executable_extensions; do
78871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78872 ac_cv_prog_DOT="yes"
78873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78874 break 2
78875 fi
78876 done
78877 done
78878 IFS=$as_save_IFS
78879
78880 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
78881 fi
78882 fi
78883 DOT=$ac_cv_prog_DOT
78884 if test -n "$DOT"; then
78885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
78886 $as_echo "$DOT" >&6; }
78887 else
78888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78889 $as_echo "no" >&6; }
78890 fi
78891
78892
78893
78894 # Check for docbook
78895 # Extract the first word of "xsltproc", so it can be a program name with args.
78896 set dummy xsltproc; ac_word=$2
78897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78898 $as_echo_n "checking for $ac_word... " >&6; }
78899 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
78900 $as_echo_n "(cached) " >&6
78901 else
78902 if test -n "$XSLTPROC"; then
78903 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
78904 else
78905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78906 for as_dir in $PATH
78907 do
78908 IFS=$as_save_IFS
78909 test -z "$as_dir" && as_dir=.
78910 for ac_exec_ext in '' $ac_executable_extensions; do
78911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78912 ac_cv_prog_XSLTPROC="yes"
78913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78914 break 2
78915 fi
78916 done
78917 done
78918 IFS=$as_save_IFS
78919
78920 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
78921 fi
78922 fi
78923 XSLTPROC=$ac_cv_prog_XSLTPROC
78924 if test -n "$XSLTPROC"; then
78925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
78926 $as_echo "$XSLTPROC" >&6; }
78927 else
78928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78929 $as_echo "no" >&6; }
78930 fi
78931
78932
78933 # Extract the first word of "xmllint", so it can be a program name with args.
78934 set dummy xmllint; ac_word=$2
78935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78936 $as_echo_n "checking for $ac_word... " >&6; }
78937 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
78938 $as_echo_n "(cached) " >&6
78939 else
78940 if test -n "$XMLLINT"; then
78941 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
78942 else
78943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78944 for as_dir in $PATH
78945 do
78946 IFS=$as_save_IFS
78947 test -z "$as_dir" && as_dir=.
78948 for ac_exec_ext in '' $ac_executable_extensions; do
78949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78950 ac_cv_prog_XMLLINT="yes"
78951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78952 break 2
78953 fi
78954 done
78955 done
78956 IFS=$as_save_IFS
78957
78958 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
78959 fi
78960 fi
78961 XMLLINT=$ac_cv_prog_XMLLINT
78962 if test -n "$XMLLINT"; then
78963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
78964 $as_echo "$XMLLINT" >&6; }
78965 else
78966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78967 $as_echo "no" >&6; }
78968 fi
78969
78970
78971
78972
78973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
78974 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
78975 glibcxx_stylesheets=no
78976 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
78977 glibcxx_stylesheets=yes
78978 fi
78979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
78980 $as_echo "$glibcxx_stylesheets" >&6; }
78981
78982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
78983 $as_echo_n "checking for local stylesheet directory... " >&6; }
78984 glibcxx_local_stylesheets=no
78985 if test x"$glibcxx_stylesheets" = x"yes"; then
78986 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
78987 glibcxx_local_stylesheets=yes
78988 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
78989 fi
78990 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
78991 glibcxx_local_stylesheets=yes
78992 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
78993 fi
78994 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
78995 glibcxx_local_stylesheets=yes
78996 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
78997 fi
78998 fi
78999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
79000 $as_echo "$glibcxx_local_stylesheets" >&6; }
79001
79002 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79003
79004 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
79005 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
79006 else
79007 glibcxx_stylesheets=no
79008 fi
79009
79010 # Check for epub3 dependencies.
79011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
79012 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
79013 glibcxx_epub_stylesheets=no
79014 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79015 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
79016 glibcxx_epub_stylesheets=yes
79017 fi
79018 fi
79019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79020 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79021 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79022 BUILD_EPUB_TRUE=
79023 BUILD_EPUB_FALSE='#'
79024 else
79025 BUILD_EPUB_TRUE='#'
79026 BUILD_EPUB_FALSE=
79027 fi
79028
79029
79030
79031
79032 # Check for xml/html dependencies.
79033 if test $ac_cv_prog_DOXYGEN = "yes" &&
79034 test $ac_cv_prog_DOT = "yes" &&
79035 test $ac_cv_prog_XSLTPROC = "yes" &&
79036 test $ac_cv_prog_XMLLINT = "yes" &&
79037 test $glibcxx_stylesheets = "yes"; then
79038 BUILD_XML_TRUE=
79039 BUILD_XML_FALSE='#'
79040 else
79041 BUILD_XML_TRUE='#'
79042 BUILD_XML_FALSE=
79043 fi
79044
79045
79046 if test $ac_cv_prog_DOXYGEN = "yes" &&
79047 test $ac_cv_prog_DOT = "yes" &&
79048 test $ac_cv_prog_XSLTPROC = "yes" &&
79049 test $ac_cv_prog_XMLLINT = "yes" &&
79050 test $glibcxx_stylesheets = "yes"; then
79051 BUILD_HTML_TRUE=
79052 BUILD_HTML_FALSE='#'
79053 else
79054 BUILD_HTML_TRUE='#'
79055 BUILD_HTML_FALSE=
79056 fi
79057
79058
79059 # Check for man dependencies.
79060 if test $ac_cv_prog_DOXYGEN = "yes" &&
79061 test $ac_cv_prog_DOT = "yes"; then
79062 BUILD_MAN_TRUE=
79063 BUILD_MAN_FALSE='#'
79064 else
79065 BUILD_MAN_TRUE='#'
79066 BUILD_MAN_FALSE=
79067 fi
79068
79069
79070 # Check for pdf dependencies.
79071 # Extract the first word of "dblatex", so it can be a program name with args.
79072 set dummy dblatex; ac_word=$2
79073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79074 $as_echo_n "checking for $ac_word... " >&6; }
79075 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79076 $as_echo_n "(cached) " >&6
79077 else
79078 if test -n "$DBLATEX"; then
79079 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79080 else
79081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79082 for as_dir in $PATH
79083 do
79084 IFS=$as_save_IFS
79085 test -z "$as_dir" && as_dir=.
79086 for ac_exec_ext in '' $ac_executable_extensions; do
79087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79088 ac_cv_prog_DBLATEX="yes"
79089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79090 break 2
79091 fi
79092 done
79093 done
79094 IFS=$as_save_IFS
79095
79096 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79097 fi
79098 fi
79099 DBLATEX=$ac_cv_prog_DBLATEX
79100 if test -n "$DBLATEX"; then
79101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79102 $as_echo "$DBLATEX" >&6; }
79103 else
79104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79105 $as_echo "no" >&6; }
79106 fi
79107
79108
79109 # Extract the first word of "pdflatex", so it can be a program name with args.
79110 set dummy pdflatex; ac_word=$2
79111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79112 $as_echo_n "checking for $ac_word... " >&6; }
79113 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79114 $as_echo_n "(cached) " >&6
79115 else
79116 if test -n "$PDFLATEX"; then
79117 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79118 else
79119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79120 for as_dir in $PATH
79121 do
79122 IFS=$as_save_IFS
79123 test -z "$as_dir" && as_dir=.
79124 for ac_exec_ext in '' $ac_executable_extensions; do
79125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79126 ac_cv_prog_PDFLATEX="yes"
79127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79128 break 2
79129 fi
79130 done
79131 done
79132 IFS=$as_save_IFS
79133
79134 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79135 fi
79136 fi
79137 PDFLATEX=$ac_cv_prog_PDFLATEX
79138 if test -n "$PDFLATEX"; then
79139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79140 $as_echo "$PDFLATEX" >&6; }
79141 else
79142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79143 $as_echo "no" >&6; }
79144 fi
79145
79146
79147 if test $ac_cv_prog_DBLATEX = "yes" &&
79148 test $ac_cv_prog_PDFLATEX = "yes"; then
79149 BUILD_PDF_TRUE=
79150 BUILD_PDF_FALSE='#'
79151 else
79152 BUILD_PDF_TRUE='#'
79153 BUILD_PDF_FALSE=
79154 fi
79155
79156
79157
79158 # Propagate the target-specific source directories through the build chain.
79159 ATOMICITY_SRCDIR=config/${atomicity_dir}
79160 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79161 ATOMIC_FLAGS=${atomic_flags}
79162 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79163 OS_INC_SRCDIR=config/${os_include_dir}
79164 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79165 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79166 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79167 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79168
79169
79170
79171
79172
79173
79174
79175
79176
79177
79178
79179 # Determine cross-compile flags and AM_CONDITIONALs.
79180 #AC_SUBST(GLIBCXX_IS_NATIVE)
79181 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79182 if test $is_hosted = yes; then
79183 GLIBCXX_HOSTED_TRUE=
79184 GLIBCXX_HOSTED_FALSE='#'
79185 else
79186 GLIBCXX_HOSTED_TRUE='#'
79187 GLIBCXX_HOSTED_FALSE=
79188 fi
79189
79190
79191 if test $enable_libstdcxx_pch = yes; then
79192 GLIBCXX_BUILD_PCH_TRUE=
79193 GLIBCXX_BUILD_PCH_FALSE='#'
79194 else
79195 GLIBCXX_BUILD_PCH_TRUE='#'
79196 GLIBCXX_BUILD_PCH_FALSE=
79197 fi
79198
79199
79200 if test $enable_cheaders = c; then
79201 GLIBCXX_C_HEADERS_C_TRUE=
79202 GLIBCXX_C_HEADERS_C_FALSE='#'
79203 else
79204 GLIBCXX_C_HEADERS_C_TRUE='#'
79205 GLIBCXX_C_HEADERS_C_FALSE=
79206 fi
79207
79208
79209 if test $enable_cheaders = c_std; then
79210 GLIBCXX_C_HEADERS_C_STD_TRUE=
79211 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79212 else
79213 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79214 GLIBCXX_C_HEADERS_C_STD_FALSE=
79215 fi
79216
79217
79218 if test $enable_cheaders = c_global; then
79219 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79220 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79221 else
79222 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79223 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79224 fi
79225
79226
79227 if test $c_compatibility = yes; then
79228 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79229 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79230 else
79231 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79232 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79233 fi
79234
79235
79236 if test $enable_libstdcxx_debug = yes; then
79237 GLIBCXX_BUILD_DEBUG_TRUE=
79238 GLIBCXX_BUILD_DEBUG_FALSE='#'
79239 else
79240 GLIBCXX_BUILD_DEBUG_TRUE='#'
79241 GLIBCXX_BUILD_DEBUG_FALSE=
79242 fi
79243
79244
79245 if test $enable_extern_template = yes; then
79246 ENABLE_EXTERN_TEMPLATE_TRUE=
79247 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79248 else
79249 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79250 ENABLE_EXTERN_TEMPLATE_FALSE=
79251 fi
79252
79253
79254 if test $python_mod_dir != no; then
79255 ENABLE_PYTHONDIR_TRUE=
79256 ENABLE_PYTHONDIR_FALSE='#'
79257 else
79258 ENABLE_PYTHONDIR_TRUE='#'
79259 ENABLE_PYTHONDIR_FALSE=
79260 fi
79261
79262
79263 if test $enable_werror = yes; then
79264 ENABLE_WERROR_TRUE=
79265 ENABLE_WERROR_FALSE='#'
79266 else
79267 ENABLE_WERROR_TRUE='#'
79268 ENABLE_WERROR_FALSE=
79269 fi
79270
79271
79272 if test $enable_vtable_verify = yes; then
79273 ENABLE_VTABLE_VERIFY_TRUE=
79274 ENABLE_VTABLE_VERIFY_FALSE='#'
79275 else
79276 ENABLE_VTABLE_VERIFY_TRUE='#'
79277 ENABLE_VTABLE_VERIFY_FALSE=
79278 fi
79279
79280
79281 if test $enable_symvers != no; then
79282 ENABLE_SYMVERS_TRUE=
79283 ENABLE_SYMVERS_FALSE='#'
79284 else
79285 ENABLE_SYMVERS_TRUE='#'
79286 ENABLE_SYMVERS_FALSE=
79287 fi
79288
79289
79290 if test $enable_symvers = gnu; then
79291 ENABLE_SYMVERS_GNU_TRUE=
79292 ENABLE_SYMVERS_GNU_FALSE='#'
79293 else
79294 ENABLE_SYMVERS_GNU_TRUE='#'
79295 ENABLE_SYMVERS_GNU_FALSE=
79296 fi
79297
79298
79299 if test $enable_symvers = gnu-versioned-namespace; then
79300 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
79301 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
79302 else
79303 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
79304 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
79305 fi
79306
79307
79308 if test $enable_symvers = darwin; then
79309 ENABLE_SYMVERS_DARWIN_TRUE=
79310 ENABLE_SYMVERS_DARWIN_FALSE='#'
79311 else
79312 ENABLE_SYMVERS_DARWIN_TRUE='#'
79313 ENABLE_SYMVERS_DARWIN_FALSE=
79314 fi
79315
79316
79317 if test $enable_symvers = sun; then
79318 ENABLE_SYMVERS_SUN_TRUE=
79319 ENABLE_SYMVERS_SUN_FALSE='#'
79320 else
79321 ENABLE_SYMVERS_SUN_TRUE='#'
79322 ENABLE_SYMVERS_SUN_FALSE=
79323 fi
79324
79325
79326 if test $enable_libstdcxx_visibility = yes; then
79327 ENABLE_VISIBILITY_TRUE=
79328 ENABLE_VISIBILITY_FALSE='#'
79329 else
79330 ENABLE_VISIBILITY_TRUE='#'
79331 ENABLE_VISIBILITY_FALSE=
79332 fi
79333
79334
79335 if test $enable_libstdcxx_cxx11_abi = yes; then
79336 ENABLE_CXX11_ABI_TRUE=
79337 ENABLE_CXX11_ABI_FALSE='#'
79338 else
79339 ENABLE_CXX11_ABI_TRUE='#'
79340 ENABLE_CXX11_ABI_FALSE=
79341 fi
79342
79343
79344 if test $ac_ldbl_compat = yes; then
79345 GLIBCXX_LDBL_COMPAT_TRUE=
79346 GLIBCXX_LDBL_COMPAT_FALSE='#'
79347 else
79348 GLIBCXX_LDBL_COMPAT_TRUE='#'
79349 GLIBCXX_LDBL_COMPAT_FALSE=
79350 fi
79351
79352
79353
79354
79355 cat >confcache <<\_ACEOF
79356 # This file is a shell script that caches the results of configure
79357 # tests run on this system so they can be shared between configure
79358 # scripts and configure runs, see configure's option --config-cache.
79359 # It is not useful on other systems. If it contains results you don't
79360 # want to keep, you may remove or edit it.
79361 #
79362 # config.status only pays attention to the cache file if you give it
79363 # the --recheck option to rerun configure.
79364 #
79365 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79366 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79367 # following values.
79368
79369 _ACEOF
79370
79371 # The following way of writing the cache mishandles newlines in values,
79372 # but we know of no workaround that is simple, portable, and efficient.
79373 # So, we kill variables containing newlines.
79374 # Ultrix sh set writes to stderr and can't be redirected directly,
79375 # and sets the high bit in the cache file unless we assign to the vars.
79376 (
79377 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79378 eval ac_val=\$$ac_var
79379 case $ac_val in #(
79380 *${as_nl}*)
79381 case $ac_var in #(
79382 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79383 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79384 esac
79385 case $ac_var in #(
79386 _ | IFS | as_nl) ;; #(
79387 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79388 *) { eval $ac_var=; unset $ac_var;} ;;
79389 esac ;;
79390 esac
79391 done
79392
79393 (set) 2>&1 |
79394 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79395 *${as_nl}ac_space=\ *)
79396 # `set' does not quote correctly, so add quotes: double-quote
79397 # substitution turns \\\\ into \\, and sed turns \\ into \.
79398 sed -n \
79399 "s/'/'\\\\''/g;
79400 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79401 ;; #(
79402 *)
79403 # `set' quotes correctly as required by POSIX, so do not add quotes.
79404 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79405 ;;
79406 esac |
79407 sort
79408 ) |
79409 sed '
79410 /^ac_cv_env_/b end
79411 t clear
79412 :clear
79413 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79414 t end
79415 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79416 :end' >>confcache
79417 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79418 if test -w "$cache_file"; then
79419 test "x$cache_file" != "x/dev/null" &&
79420 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79421 $as_echo "$as_me: updating cache $cache_file" >&6;}
79422 cat confcache >$cache_file
79423 else
79424 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79425 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79426 fi
79427 fi
79428 rm -f confcache
79429
79430 if test ${multilib} = yes; then
79431 multilib_arg="--enable-multilib"
79432 else
79433 multilib_arg=
79434 fi
79435
79436 # Export all the install information.
79437
79438 glibcxx_toolexecdir=no
79439 glibcxx_toolexeclibdir=no
79440 glibcxx_prefixdir=$prefix
79441
79442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
79443 $as_echo_n "checking for gxx-include-dir... " >&6; }
79444
79445 # Check whether --with-gxx-include-dir was given.
79446 if test "${with_gxx_include_dir+set}" = set; then :
79447 withval=$with_gxx_include_dir; case "$withval" in
79448 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
79449 no) gxx_include_dir=no ;;
79450 *) gxx_include_dir=$withval ;;
79451 esac
79452 else
79453 gxx_include_dir=no
79454 fi
79455
79456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79457 $as_echo "$gxx_include_dir" >&6; }
79458
79459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
79460 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
79461 # Check whether --enable-version-specific-runtime-libs was given.
79462 if test "${enable_version_specific_runtime_libs+set}" = set; then :
79463 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
79464 yes) version_specific_libs=yes ;;
79465 no) version_specific_libs=no ;;
79466 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
79467 esac
79468 else
79469 version_specific_libs=no
79470 fi
79471
79472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
79473 $as_echo "$version_specific_libs" >&6; }
79474
79475 # Default case for install directory for include files.
79476 if test $version_specific_libs = no && test $gxx_include_dir = no; then
79477 gxx_include_dir='include/c++/${gcc_version}'
79478 if test -n "$with_cross_host" &&
79479 test x"$with_cross_host" != x"no"; then
79480 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
79481 else
79482 gxx_include_dir='${prefix}/'"$gxx_include_dir"
79483 fi
79484 fi
79485
79486 # Version-specific runtime libs processing.
79487 if test $version_specific_libs = yes; then
79488 # Need the gcc compiler version to know where to install libraries
79489 # and header files if --enable-version-specific-runtime-libs option
79490 # is selected. FIXME: these variables are misnamed, there are
79491 # no executables installed in _toolexecdir or _toolexeclibdir.
79492 if test x"$gxx_include_dir" = x"no"; then
79493 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
79494 fi
79495 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79496 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
79497 fi
79498
79499 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
79500 # Install a library built with a cross compiler in tooldir, not libdir.
79501 if test x"$glibcxx_toolexecdir" = x"no"; then
79502 if test -n "$with_cross_host" &&
79503 test x"$with_cross_host" != x"no"; then
79504 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
79505 glibcxx_toolexeclibdir='${toolexecdir}/lib'
79506 else
79507 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79508 glibcxx_toolexeclibdir='${libdir}'
79509 fi
79510 multi_os_directory=`$CXX -print-multi-os-directory`
79511 case $multi_os_directory in
79512 .) ;; # Avoid trailing /.
79513 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
79514 esac
79515 fi
79516
79517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
79518 $as_echo_n "checking for install location... " >&6; }
79519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79520 $as_echo "$gxx_include_dir" >&6; }
79521
79522
79523
79524
79525
79526
79527
79528 # Export all the include and flag information to Makefiles.
79529
79530 # Used for every C++ compile we perform.
79531 GLIBCXX_INCLUDES="\
79532 -I$glibcxx_builddir/include/$host_alias \
79533 -I$glibcxx_builddir/include \
79534 -I$glibcxx_srcdir/libsupc++"
79535
79536 # For Canadian crosses, pick this up too.
79537 if test $CANADIAN = yes; then
79538 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
79539 fi
79540
79541 # Stuff in the actual top level. Currently only used by libsupc++ to
79542 # get unwind* headers from the libgcc dir.
79543 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
79544 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
79545
79546 # Now, export this to all the little Makefiles....
79547
79548
79549
79550
79551 # Optimization flags that are probably a good idea for thrill-seekers. Just
79552 # uncomment the lines below and make, everything else is ready to go...
79553 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
79554 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
79555
79556
79557 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
79558
79559
79560
79561 ac_config_files="$ac_config_files Makefile"
79562
79563 ac_config_files="$ac_config_files scripts/testsuite_flags"
79564
79565 ac_config_files="$ac_config_files scripts/extract_symvers"
79566
79567 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
79568
79569
79570 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
79571 # that multilib installs will end up installed in the correct place.
79572 # The testsuite needs it for multilib-aware ABI baseline files.
79573 # To work around this not being passed down from config-ml.in ->
79574 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
79575 # append it here. Only modify Makefiles that have just been created.
79576 #
79577 # Also, get rid of this simulated-VPATH thing that automake does.
79578 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"
79579
79580
79581 ac_config_commands="$ac_config_commands generate-headers"
79582
79583
79584 cat >confcache <<\_ACEOF
79585 # This file is a shell script that caches the results of configure
79586 # tests run on this system so they can be shared between configure
79587 # scripts and configure runs, see configure's option --config-cache.
79588 # It is not useful on other systems. If it contains results you don't
79589 # want to keep, you may remove or edit it.
79590 #
79591 # config.status only pays attention to the cache file if you give it
79592 # the --recheck option to rerun configure.
79593 #
79594 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79595 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79596 # following values.
79597
79598 _ACEOF
79599
79600 # The following way of writing the cache mishandles newlines in values,
79601 # but we know of no workaround that is simple, portable, and efficient.
79602 # So, we kill variables containing newlines.
79603 # Ultrix sh set writes to stderr and can't be redirected directly,
79604 # and sets the high bit in the cache file unless we assign to the vars.
79605 (
79606 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79607 eval ac_val=\$$ac_var
79608 case $ac_val in #(
79609 *${as_nl}*)
79610 case $ac_var in #(
79611 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79612 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79613 esac
79614 case $ac_var in #(
79615 _ | IFS | as_nl) ;; #(
79616 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79617 *) { eval $ac_var=; unset $ac_var;} ;;
79618 esac ;;
79619 esac
79620 done
79621
79622 (set) 2>&1 |
79623 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79624 *${as_nl}ac_space=\ *)
79625 # `set' does not quote correctly, so add quotes: double-quote
79626 # substitution turns \\\\ into \\, and sed turns \\ into \.
79627 sed -n \
79628 "s/'/'\\\\''/g;
79629 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79630 ;; #(
79631 *)
79632 # `set' quotes correctly as required by POSIX, so do not add quotes.
79633 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79634 ;;
79635 esac |
79636 sort
79637 ) |
79638 sed '
79639 /^ac_cv_env_/b end
79640 t clear
79641 :clear
79642 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79643 t end
79644 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79645 :end' >>confcache
79646 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79647 if test -w "$cache_file"; then
79648 test "x$cache_file" != "x/dev/null" &&
79649 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79650 $as_echo "$as_me: updating cache $cache_file" >&6;}
79651 cat confcache >$cache_file
79652 else
79653 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79654 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79655 fi
79656 fi
79657 rm -f confcache
79658
79659 test "x$prefix" = xNONE && prefix=$ac_default_prefix
79660 # Let make expand exec_prefix.
79661 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
79662
79663 DEFS=-DHAVE_CONFIG_H
79664
79665 ac_libobjs=
79666 ac_ltlibobjs=
79667 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
79668 # 1. Remove the extension, and $U if already installed.
79669 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
79670 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
79671 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
79672 # will be set to the directory where LIBOBJS objects are built.
79673 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
79674 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
79675 done
79676 LIBOBJS=$ac_libobjs
79677
79678 LTLIBOBJS=$ac_ltlibobjs
79679
79680
79681 if test -n "$EXEEXT"; then
79682 am__EXEEXT_TRUE=
79683 am__EXEEXT_FALSE='#'
79684 else
79685 am__EXEEXT_TRUE='#'
79686 am__EXEEXT_FALSE=
79687 fi
79688
79689 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
79690 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
79691 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79692 fi
79693 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
79694 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
79695 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79696 fi
79697 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
79698 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
79699 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79700 fi
79701 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
79702 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
79703 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79704 fi
79705 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
79706 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
79707 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79708 fi
79709 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
79710 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
79711 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79712 fi
79713 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
79714 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
79715 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79716 fi
79717 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
79718 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
79719 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79720 fi
79721 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
79722 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
79723 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79724 fi
79725 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
79726 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
79727 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79728 fi
79729 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
79730 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
79731 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79732 fi
79733 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
79734 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
79735 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79736 fi
79737 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
79738 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
79739 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79740 fi
79741 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
79742 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
79743 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79744 fi
79745 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
79746 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
79747 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79748 fi
79749 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
79750 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
79751 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79752 fi
79753 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
79754 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
79755 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79756 fi
79757 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
79758 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
79759 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79760 fi
79761 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
79762 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
79763 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79764 fi
79765 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
79766 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
79767 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79768 fi
79769 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
79770 as_fn_error "conditional \"BUILD_INFO\" was never defined.
79771 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79772 fi
79773 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
79774 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
79775 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79776 fi
79777 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
79778 as_fn_error "conditional \"BUILD_XML\" was never defined.
79779 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79780 fi
79781 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
79782 as_fn_error "conditional \"BUILD_HTML\" was never defined.
79783 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79784 fi
79785 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
79786 as_fn_error "conditional \"BUILD_MAN\" was never defined.
79787 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79788 fi
79789 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
79790 as_fn_error "conditional \"BUILD_PDF\" was never defined.
79791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79792 fi
79793
79794 : ${CONFIG_STATUS=./config.status}
79795 ac_write_fail=0
79796 ac_clean_files_save=$ac_clean_files
79797 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
79798 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
79799 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
79800 as_write_fail=0
79801 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
79802 #! $SHELL
79803 # Generated by $as_me.
79804 # Run this file to recreate the current configuration.
79805 # Compiler output produced by configure, useful for debugging
79806 # configure, is in config.log if it exists.
79807
79808 debug=false
79809 ac_cs_recheck=false
79810 ac_cs_silent=false
79811
79812 SHELL=\${CONFIG_SHELL-$SHELL}
79813 export SHELL
79814 _ASEOF
79815 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
79816 ## -------------------- ##
79817 ## M4sh Initialization. ##
79818 ## -------------------- ##
79819
79820 # Be more Bourne compatible
79821 DUALCASE=1; export DUALCASE # for MKS sh
79822 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
79823 emulate sh
79824 NULLCMD=:
79825 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
79826 # is contrary to our usage. Disable this feature.
79827 alias -g '${1+"$@"}'='"$@"'
79828 setopt NO_GLOB_SUBST
79829 else
79830 case `(set -o) 2>/dev/null` in #(
79831 *posix*) :
79832 set -o posix ;; #(
79833 *) :
79834 ;;
79835 esac
79836 fi
79837
79838
79839 as_nl='
79840 '
79841 export as_nl
79842 # Printing a long string crashes Solaris 7 /usr/bin/printf.
79843 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
79844 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
79845 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
79846 # Prefer a ksh shell builtin over an external printf program on Solaris,
79847 # but without wasting forks for bash or zsh.
79848 if test -z "$BASH_VERSION$ZSH_VERSION" \
79849 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
79850 as_echo='print -r --'
79851 as_echo_n='print -rn --'
79852 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
79853 as_echo='printf %s\n'
79854 as_echo_n='printf %s'
79855 else
79856 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
79857 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
79858 as_echo_n='/usr/ucb/echo -n'
79859 else
79860 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
79861 as_echo_n_body='eval
79862 arg=$1;
79863 case $arg in #(
79864 *"$as_nl"*)
79865 expr "X$arg" : "X\\(.*\\)$as_nl";
79866 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
79867 esac;
79868 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
79869 '
79870 export as_echo_n_body
79871 as_echo_n='sh -c $as_echo_n_body as_echo'
79872 fi
79873 export as_echo_body
79874 as_echo='sh -c $as_echo_body as_echo'
79875 fi
79876
79877 # The user is always right.
79878 if test "${PATH_SEPARATOR+set}" != set; then
79879 PATH_SEPARATOR=:
79880 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79881 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79882 PATH_SEPARATOR=';'
79883 }
79884 fi
79885
79886
79887 # IFS
79888 # We need space, tab and new line, in precisely that order. Quoting is
79889 # there to prevent editors from complaining about space-tab.
79890 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
79891 # splitting by setting IFS to empty value.)
79892 IFS=" "" $as_nl"
79893
79894 # Find who we are. Look in the path if we contain no directory separator.
79895 case $0 in #((
79896 *[\\/]* ) as_myself=$0 ;;
79897 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79898 for as_dir in $PATH
79899 do
79900 IFS=$as_save_IFS
79901 test -z "$as_dir" && as_dir=.
79902 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79903 done
79904 IFS=$as_save_IFS
79905
79906 ;;
79907 esac
79908 # We did not find ourselves, most probably we were run as `sh COMMAND'
79909 # in which case we are not to be found in the path.
79910 if test "x$as_myself" = x; then
79911 as_myself=$0
79912 fi
79913 if test ! -f "$as_myself"; then
79914 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
79915 exit 1
79916 fi
79917
79918 # Unset variables that we do not need and which cause bugs (e.g. in
79919 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
79920 # suppresses any "Segmentation fault" message there. '((' could
79921 # trigger a bug in pdksh 5.2.14.
79922 for as_var in BASH_ENV ENV MAIL MAILPATH
79923 do eval test x\${$as_var+set} = xset \
79924 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
79925 done
79926 PS1='$ '
79927 PS2='> '
79928 PS4='+ '
79929
79930 # NLS nuisances.
79931 LC_ALL=C
79932 export LC_ALL
79933 LANGUAGE=C
79934 export LANGUAGE
79935
79936 # CDPATH.
79937 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79938
79939
79940 # as_fn_error ERROR [LINENO LOG_FD]
79941 # ---------------------------------
79942 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
79943 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
79944 # script with status $?, using 1 if that was 0.
79945 as_fn_error ()
79946 {
79947 as_status=$?; test $as_status -eq 0 && as_status=1
79948 if test "$3"; then
79949 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
79950 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
79951 fi
79952 $as_echo "$as_me: error: $1" >&2
79953 as_fn_exit $as_status
79954 } # as_fn_error
79955
79956
79957 # as_fn_set_status STATUS
79958 # -----------------------
79959 # Set $? to STATUS, without forking.
79960 as_fn_set_status ()
79961 {
79962 return $1
79963 } # as_fn_set_status
79964
79965 # as_fn_exit STATUS
79966 # -----------------
79967 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
79968 as_fn_exit ()
79969 {
79970 set +e
79971 as_fn_set_status $1
79972 exit $1
79973 } # as_fn_exit
79974
79975 # as_fn_unset VAR
79976 # ---------------
79977 # Portably unset VAR.
79978 as_fn_unset ()
79979 {
79980 { eval $1=; unset $1;}
79981 }
79982 as_unset=as_fn_unset
79983 # as_fn_append VAR VALUE
79984 # ----------------------
79985 # Append the text in VALUE to the end of the definition contained in VAR. Take
79986 # advantage of any shell optimizations that allow amortized linear growth over
79987 # repeated appends, instead of the typical quadratic growth present in naive
79988 # implementations.
79989 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
79990 eval 'as_fn_append ()
79991 {
79992 eval $1+=\$2
79993 }'
79994 else
79995 as_fn_append ()
79996 {
79997 eval $1=\$$1\$2
79998 }
79999 fi # as_fn_append
80000
80001 # as_fn_arith ARG...
80002 # ------------------
80003 # Perform arithmetic evaluation on the ARGs, and store the result in the
80004 # global $as_val. Take advantage of shells that can avoid forks. The arguments
80005 # must be portable across $(()) and expr.
80006 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
80007 eval 'as_fn_arith ()
80008 {
80009 as_val=$(( $* ))
80010 }'
80011 else
80012 as_fn_arith ()
80013 {
80014 as_val=`expr "$@" || test $? -eq 1`
80015 }
80016 fi # as_fn_arith
80017
80018
80019 if expr a : '\(a\)' >/dev/null 2>&1 &&
80020 test "X`expr 00001 : '.*\(...\)'`" = X001; then
80021 as_expr=expr
80022 else
80023 as_expr=false
80024 fi
80025
80026 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
80027 as_basename=basename
80028 else
80029 as_basename=false
80030 fi
80031
80032 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80033 as_dirname=dirname
80034 else
80035 as_dirname=false
80036 fi
80037
80038 as_me=`$as_basename -- "$0" ||
80039 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80040 X"$0" : 'X\(//\)$' \| \
80041 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80042 $as_echo X/"$0" |
80043 sed '/^.*\/\([^/][^/]*\)\/*$/{
80044 s//\1/
80045 q
80046 }
80047 /^X\/\(\/\/\)$/{
80048 s//\1/
80049 q
80050 }
80051 /^X\/\(\/\).*/{
80052 s//\1/
80053 q
80054 }
80055 s/.*/./; q'`
80056
80057 # Avoid depending upon Character Ranges.
80058 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80059 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80060 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80061 as_cr_digits='0123456789'
80062 as_cr_alnum=$as_cr_Letters$as_cr_digits
80063
80064 ECHO_C= ECHO_N= ECHO_T=
80065 case `echo -n x` in #(((((
80066 -n*)
80067 case `echo 'xy\c'` in
80068 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80069 xy) ECHO_C='\c';;
80070 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80071 ECHO_T=' ';;
80072 esac;;
80073 *)
80074 ECHO_N='-n';;
80075 esac
80076
80077 rm -f conf$$ conf$$.exe conf$$.file
80078 if test -d conf$$.dir; then
80079 rm -f conf$$.dir/conf$$.file
80080 else
80081 rm -f conf$$.dir
80082 mkdir conf$$.dir 2>/dev/null
80083 fi
80084 if (echo >conf$$.file) 2>/dev/null; then
80085 if ln -s conf$$.file conf$$ 2>/dev/null; then
80086 as_ln_s='ln -s'
80087 # ... but there are two gotchas:
80088 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80089 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80090 # In both cases, we have to default to `cp -p'.
80091 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80092 as_ln_s='cp -p'
80093 elif ln conf$$.file conf$$ 2>/dev/null; then
80094 as_ln_s=ln
80095 else
80096 as_ln_s='cp -p'
80097 fi
80098 else
80099 as_ln_s='cp -p'
80100 fi
80101 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80102 rmdir conf$$.dir 2>/dev/null
80103
80104
80105 # as_fn_mkdir_p
80106 # -------------
80107 # Create "$as_dir" as a directory, including parents if necessary.
80108 as_fn_mkdir_p ()
80109 {
80110
80111 case $as_dir in #(
80112 -*) as_dir=./$as_dir;;
80113 esac
80114 test -d "$as_dir" || eval $as_mkdir_p || {
80115 as_dirs=
80116 while :; do
80117 case $as_dir in #(
80118 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80119 *) as_qdir=$as_dir;;
80120 esac
80121 as_dirs="'$as_qdir' $as_dirs"
80122 as_dir=`$as_dirname -- "$as_dir" ||
80123 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80124 X"$as_dir" : 'X\(//\)[^/]' \| \
80125 X"$as_dir" : 'X\(//\)$' \| \
80126 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80127 $as_echo X"$as_dir" |
80128 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80129 s//\1/
80130 q
80131 }
80132 /^X\(\/\/\)[^/].*/{
80133 s//\1/
80134 q
80135 }
80136 /^X\(\/\/\)$/{
80137 s//\1/
80138 q
80139 }
80140 /^X\(\/\).*/{
80141 s//\1/
80142 q
80143 }
80144 s/.*/./; q'`
80145 test -d "$as_dir" && break
80146 done
80147 test -z "$as_dirs" || eval "mkdir $as_dirs"
80148 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80149
80150
80151 } # as_fn_mkdir_p
80152 if mkdir -p . 2>/dev/null; then
80153 as_mkdir_p='mkdir -p "$as_dir"'
80154 else
80155 test -d ./-p && rmdir ./-p
80156 as_mkdir_p=false
80157 fi
80158
80159 if test -x / >/dev/null 2>&1; then
80160 as_test_x='test -x'
80161 else
80162 if ls -dL / >/dev/null 2>&1; then
80163 as_ls_L_option=L
80164 else
80165 as_ls_L_option=
80166 fi
80167 as_test_x='
80168 eval sh -c '\''
80169 if test -d "$1"; then
80170 test -d "$1/.";
80171 else
80172 case $1 in #(
80173 -*)set "./$1";;
80174 esac;
80175 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80176 ???[sx]*):;;*)false;;esac;fi
80177 '\'' sh
80178 '
80179 fi
80180 as_executable_p=$as_test_x
80181
80182 # Sed expression to map a string onto a valid CPP name.
80183 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80184
80185 # Sed expression to map a string onto a valid variable name.
80186 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80187
80188
80189 exec 6>&1
80190 ## ----------------------------------- ##
80191 ## Main body of $CONFIG_STATUS script. ##
80192 ## ----------------------------------- ##
80193 _ASEOF
80194 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80195
80196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80197 # Save the log message, to keep $0 and so on meaningful, and to
80198 # report actual input values of CONFIG_FILES etc. instead of their
80199 # values after options handling.
80200 ac_log="
80201 This file was extended by package-unused $as_me version-unused, which was
80202 generated by GNU Autoconf 2.64. Invocation command line was
80203
80204 CONFIG_FILES = $CONFIG_FILES
80205 CONFIG_HEADERS = $CONFIG_HEADERS
80206 CONFIG_LINKS = $CONFIG_LINKS
80207 CONFIG_COMMANDS = $CONFIG_COMMANDS
80208 $ $0 $@
80209
80210 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80211 "
80212
80213 _ACEOF
80214
80215 case $ac_config_files in *"
80216 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80217 esac
80218
80219 case $ac_config_headers in *"
80220 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80221 esac
80222
80223
80224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80225 # Files that config.status was made for.
80226 config_files="$ac_config_files"
80227 config_headers="$ac_config_headers"
80228 config_commands="$ac_config_commands"
80229
80230 _ACEOF
80231
80232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80233 ac_cs_usage="\
80234 \`$as_me' instantiates files and other configuration actions
80235 from templates according to the current configuration. Unless the files
80236 and actions are specified as TAGs, all are instantiated by default.
80237
80238 Usage: $0 [OPTION]... [TAG]...
80239
80240 -h, --help print this help, then exit
80241 -V, --version print version number and configuration settings, then exit
80242 -q, --quiet, --silent
80243 do not print progress messages
80244 -d, --debug don't remove temporary files
80245 --recheck update $as_me by reconfiguring in the same conditions
80246 --file=FILE[:TEMPLATE]
80247 instantiate the configuration file FILE
80248 --header=FILE[:TEMPLATE]
80249 instantiate the configuration header FILE
80250
80251 Configuration files:
80252 $config_files
80253
80254 Configuration headers:
80255 $config_headers
80256
80257 Configuration commands:
80258 $config_commands
80259
80260 Report bugs to the package provider."
80261
80262 _ACEOF
80263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80264 ac_cs_version="\\
80265 package-unused config.status version-unused
80266 configured by $0, generated by GNU Autoconf 2.64,
80267 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
80268
80269 Copyright (C) 2009 Free Software Foundation, Inc.
80270 This config.status script is free software; the Free Software Foundation
80271 gives unlimited permission to copy, distribute and modify it."
80272
80273 ac_pwd='$ac_pwd'
80274 srcdir='$srcdir'
80275 INSTALL='$INSTALL'
80276 MKDIR_P='$MKDIR_P'
80277 AWK='$AWK'
80278 test -n "\$AWK" || AWK=awk
80279 _ACEOF
80280
80281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80282 # The default lists apply if the user does not specify any file.
80283 ac_need_defaults=:
80284 while test $# != 0
80285 do
80286 case $1 in
80287 --*=*)
80288 ac_option=`expr "X$1" : 'X\([^=]*\)='`
80289 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
80290 ac_shift=:
80291 ;;
80292 *)
80293 ac_option=$1
80294 ac_optarg=$2
80295 ac_shift=shift
80296 ;;
80297 esac
80298
80299 case $ac_option in
80300 # Handling of the options.
80301 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
80302 ac_cs_recheck=: ;;
80303 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
80304 $as_echo "$ac_cs_version"; exit ;;
80305 --debug | --debu | --deb | --de | --d | -d )
80306 debug=: ;;
80307 --file | --fil | --fi | --f )
80308 $ac_shift
80309 case $ac_optarg in
80310 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80311 esac
80312 as_fn_append CONFIG_FILES " '$ac_optarg'"
80313 ac_need_defaults=false;;
80314 --header | --heade | --head | --hea )
80315 $ac_shift
80316 case $ac_optarg in
80317 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80318 esac
80319 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
80320 ac_need_defaults=false;;
80321 --he | --h)
80322 # Conflict between --help and --header
80323 as_fn_error "ambiguous option: \`$1'
80324 Try \`$0 --help' for more information.";;
80325 --help | --hel | -h )
80326 $as_echo "$ac_cs_usage"; exit ;;
80327 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
80328 | -silent | --silent | --silen | --sile | --sil | --si | --s)
80329 ac_cs_silent=: ;;
80330
80331 # This is an error.
80332 -*) as_fn_error "unrecognized option: \`$1'
80333 Try \`$0 --help' for more information." ;;
80334
80335 *) as_fn_append ac_config_targets " $1"
80336 ac_need_defaults=false ;;
80337
80338 esac
80339 shift
80340 done
80341
80342 ac_configure_extra_args=
80343
80344 if $ac_cs_silent; then
80345 exec 6>/dev/null
80346 ac_configure_extra_args="$ac_configure_extra_args --silent"
80347 fi
80348
80349 _ACEOF
80350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80351 if \$ac_cs_recheck; then
80352 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
80353 shift
80354 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
80355 CONFIG_SHELL='$SHELL'
80356 export CONFIG_SHELL
80357 exec "\$@"
80358 fi
80359
80360 _ACEOF
80361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80362 exec 5>>config.log
80363 {
80364 echo
80365 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
80366 ## Running $as_me. ##
80367 _ASBOX
80368 $as_echo "$ac_log"
80369 } >&5
80370
80371 _ACEOF
80372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80373 #
80374 # INIT-COMMANDS
80375 #
80376
80377 srcdir="$srcdir"
80378 host="$host"
80379 target="$target"
80380 with_multisubdir="$with_multisubdir"
80381 with_multisrctop="$with_multisrctop"
80382 with_target_subdir="$with_target_subdir"
80383 ac_configure_args="${multilib_arg} ${ac_configure_args}"
80384 multi_basedir="$multi_basedir"
80385 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
80386 CC="$CC"
80387 CXX="$CXX"
80388 GFORTRAN="$GFORTRAN"
80389 GCJ="$GCJ"
80390
80391
80392 # The HP-UX ksh and POSIX shell print the target directory to stdout
80393 # if CDPATH is set.
80394 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80395
80396 sed_quote_subst='$sed_quote_subst'
80397 double_quote_subst='$double_quote_subst'
80398 delay_variable_subst='$delay_variable_subst'
80399 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
80400 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
80401 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
80402 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
80403 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
80404 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
80405 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
80406 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
80407 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
80408 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
80409 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
80410 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
80411 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
80412 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
80413 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
80414 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
80415 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
80416 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
80417 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
80418 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
80419 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
80420 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
80421 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
80422 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
80423 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
80424 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
80425 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
80426 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
80427 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
80428 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
80429 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
80430 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
80431 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
80432 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
80433 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
80434 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
80435 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
80436 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80437 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80438 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
80439 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
80440 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
80441 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
80442 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
80443 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
80444 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
80445 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
80446 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
80447 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"`'
80448 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
80449 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
80450 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
80451 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
80452 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
80453 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
80454 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
80455 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
80456 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
80457 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
80458 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
80459 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
80460 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
80461 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
80462 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
80463 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80464 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
80465 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
80466 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
80467 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
80468 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
80469 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
80470 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80471 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
80472 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80473 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
80474 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80475 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
80476 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
80477 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
80478 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
80479 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
80480 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
80481 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
80482 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
80483 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
80484 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
80485 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
80486 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
80487 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
80488 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
80489 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
80490 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
80491 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
80492 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
80493 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
80494 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
80495 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
80496 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
80497 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
80498 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
80499 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
80500 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
80501 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
80502 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
80503 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
80504 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
80505 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
80506 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80507 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80508 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
80509 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
80510 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
80511 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
80512 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
80513 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
80514 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
80515 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
80516 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
80517 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
80518 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
80519 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
80520 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
80521 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
80522 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
80523 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
80524 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
80525 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
80526 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
80527 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80528 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80529 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
80530 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
80531 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
80532 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
80533 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
80534 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
80535 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
80536 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
80537 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
80538 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80539 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80540 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
80541 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80542 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80543 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80544 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80545 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80546 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80547 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
80548 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80549 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80550 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80551 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
80552 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
80553 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
80554 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
80555 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
80556 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
80557 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
80558 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
80559 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
80560 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
80561 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
80562 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80563 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80564 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80565 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80566 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
80567 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
80568 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
80569 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80570 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80571 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
80572 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
80573 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
80574
80575 LTCC='$LTCC'
80576 LTCFLAGS='$LTCFLAGS'
80577 compiler='$compiler_DEFAULT'
80578
80579 # A function that is used when there is no print builtin or printf.
80580 func_fallback_echo ()
80581 {
80582 eval 'cat <<_LTECHO_EOF
80583 \$1
80584 _LTECHO_EOF'
80585 }
80586
80587 # Quote evaled strings.
80588 for var in SHELL \
80589 ECHO \
80590 SED \
80591 GREP \
80592 EGREP \
80593 FGREP \
80594 LD \
80595 NM \
80596 LN_S \
80597 lt_SP2NL \
80598 lt_NL2SP \
80599 reload_flag \
80600 OBJDUMP \
80601 deplibs_check_method \
80602 file_magic_cmd \
80603 AR \
80604 AR_FLAGS \
80605 STRIP \
80606 RANLIB \
80607 CC \
80608 CFLAGS \
80609 compiler \
80610 lt_cv_sys_global_symbol_pipe \
80611 lt_cv_sys_global_symbol_to_cdecl \
80612 lt_cv_sys_global_symbol_to_c_name_address \
80613 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
80614 lt_prog_compiler_no_builtin_flag \
80615 lt_prog_compiler_wl \
80616 lt_prog_compiler_pic \
80617 lt_prog_compiler_static \
80618 lt_cv_prog_compiler_c_o \
80619 need_locks \
80620 DSYMUTIL \
80621 NMEDIT \
80622 LIPO \
80623 OTOOL \
80624 OTOOL64 \
80625 shrext_cmds \
80626 export_dynamic_flag_spec \
80627 whole_archive_flag_spec \
80628 compiler_needs_object \
80629 with_gnu_ld \
80630 allow_undefined_flag \
80631 no_undefined_flag \
80632 hardcode_libdir_flag_spec \
80633 hardcode_libdir_flag_spec_ld \
80634 hardcode_libdir_separator \
80635 fix_srcfile_path \
80636 exclude_expsyms \
80637 include_expsyms \
80638 file_list_spec \
80639 variables_saved_for_relink \
80640 libname_spec \
80641 library_names_spec \
80642 soname_spec \
80643 install_override_mode \
80644 finish_eval \
80645 old_striplib \
80646 striplib \
80647 compiler_lib_search_dirs \
80648 predep_objects \
80649 postdep_objects \
80650 predeps \
80651 postdeps \
80652 compiler_lib_search_path \
80653 LD_CXX \
80654 reload_flag_CXX \
80655 compiler_CXX \
80656 lt_prog_compiler_no_builtin_flag_CXX \
80657 lt_prog_compiler_wl_CXX \
80658 lt_prog_compiler_pic_CXX \
80659 lt_prog_compiler_static_CXX \
80660 lt_cv_prog_compiler_c_o_CXX \
80661 export_dynamic_flag_spec_CXX \
80662 whole_archive_flag_spec_CXX \
80663 compiler_needs_object_CXX \
80664 with_gnu_ld_CXX \
80665 allow_undefined_flag_CXX \
80666 no_undefined_flag_CXX \
80667 hardcode_libdir_flag_spec_CXX \
80668 hardcode_libdir_flag_spec_ld_CXX \
80669 hardcode_libdir_separator_CXX \
80670 fix_srcfile_path_CXX \
80671 exclude_expsyms_CXX \
80672 include_expsyms_CXX \
80673 file_list_spec_CXX \
80674 compiler_lib_search_dirs_CXX \
80675 predep_objects_CXX \
80676 postdep_objects_CXX \
80677 predeps_CXX \
80678 postdeps_CXX \
80679 compiler_lib_search_path_CXX; do
80680 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80681 *[\\\\\\\`\\"\\\$]*)
80682 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
80683 ;;
80684 *)
80685 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80686 ;;
80687 esac
80688 done
80689
80690 # Double-quote double-evaled strings.
80691 for var in reload_cmds \
80692 old_postinstall_cmds \
80693 old_postuninstall_cmds \
80694 old_archive_cmds \
80695 extract_expsyms_cmds \
80696 old_archive_from_new_cmds \
80697 old_archive_from_expsyms_cmds \
80698 archive_cmds \
80699 archive_expsym_cmds \
80700 module_cmds \
80701 module_expsym_cmds \
80702 export_symbols_cmds \
80703 prelink_cmds \
80704 postinstall_cmds \
80705 postuninstall_cmds \
80706 finish_cmds \
80707 sys_lib_search_path_spec \
80708 sys_lib_dlsearch_path_spec \
80709 reload_cmds_CXX \
80710 old_archive_cmds_CXX \
80711 old_archive_from_new_cmds_CXX \
80712 old_archive_from_expsyms_cmds_CXX \
80713 archive_cmds_CXX \
80714 archive_expsym_cmds_CXX \
80715 module_cmds_CXX \
80716 module_expsym_cmds_CXX \
80717 export_symbols_cmds_CXX \
80718 prelink_cmds_CXX; do
80719 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80720 *[\\\\\\\`\\"\\\$]*)
80721 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
80722 ;;
80723 *)
80724 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80725 ;;
80726 esac
80727 done
80728
80729 ac_aux_dir='$ac_aux_dir'
80730 xsi_shell='$xsi_shell'
80731 lt_shell_append='$lt_shell_append'
80732
80733 # See if we are running on zsh, and set the options which allow our
80734 # commands through without removal of \ escapes INIT.
80735 if test -n "\${ZSH_VERSION+set}" ; then
80736 setopt NO_GLOB_SUBST
80737 fi
80738
80739
80740 PACKAGE='$PACKAGE'
80741 VERSION='$VERSION'
80742 TIMESTAMP='$TIMESTAMP'
80743 RM='$RM'
80744 ofile='$ofile'
80745
80746
80747
80748
80749
80750
80751 GCC="$GCC"
80752 CC="$CC"
80753 acx_cv_header_stdint="$acx_cv_header_stdint"
80754 acx_cv_type_int8_t="$acx_cv_type_int8_t"
80755 acx_cv_type_int16_t="$acx_cv_type_int16_t"
80756 acx_cv_type_int32_t="$acx_cv_type_int32_t"
80757 acx_cv_type_int64_t="$acx_cv_type_int64_t"
80758 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
80759 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
80760 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
80761 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
80762 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
80763 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
80764 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
80765 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
80766 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
80767
80768
80769 _ACEOF
80770
80771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80772
80773 # Handling of arguments.
80774 for ac_config_target in $ac_config_targets
80775 do
80776 case $ac_config_target in
80777 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
80778 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
80779 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
80780 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
80781 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
80782 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
80783 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
80784 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
80785 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
80786 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
80787 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
80788 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
80789 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
80790 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
80791 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
80792 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
80793 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
80794 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
80795
80796 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
80797 esac
80798 done
80799
80800
80801 # If the user did not use the arguments to specify the items to instantiate,
80802 # then the envvar interface is used. Set only those that are not.
80803 # We use the long form for the default assignment because of an extremely
80804 # bizarre bug on SunOS 4.1.3.
80805 if $ac_need_defaults; then
80806 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80807 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80808 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
80809 fi
80810
80811 # Have a temporary directory for convenience. Make it in the build tree
80812 # simply because there is no reason against having it here, and in addition,
80813 # creating and moving files from /tmp can sometimes cause problems.
80814 # Hook for its removal unless debugging.
80815 # Note that there is a small window in which the directory will not be cleaned:
80816 # after its creation but before its name has been assigned to `$tmp'.
80817 $debug ||
80818 {
80819 tmp=
80820 trap 'exit_status=$?
80821 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
80822 ' 0
80823 trap 'as_fn_exit 1' 1 2 13 15
80824 }
80825 # Create a (secure) tmp directory for tmp files.
80826
80827 {
80828 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
80829 test -n "$tmp" && test -d "$tmp"
80830 } ||
80831 {
80832 tmp=./conf$$-$RANDOM
80833 (umask 077 && mkdir "$tmp")
80834 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
80835
80836 # Set up the scripts for CONFIG_FILES section.
80837 # No need to generate them if there are no CONFIG_FILES.
80838 # This happens for instance with `./config.status config.h'.
80839 if test -n "$CONFIG_FILES"; then
80840
80841
80842 ac_cr=`echo X | tr X '\015'`
80843 # On cygwin, bash can eat \r inside `` if the user requested igncr.
80844 # But we know of no other shell where ac_cr would be empty at this
80845 # point, so we can use a bashism as a fallback.
80846 if test "x$ac_cr" = x; then
80847 eval ac_cr=\$\'\\r\'
80848 fi
80849 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
80850 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
80851 ac_cs_awk_cr='\r'
80852 else
80853 ac_cs_awk_cr=$ac_cr
80854 fi
80855
80856 echo 'BEGIN {' >"$tmp/subs1.awk" &&
80857 _ACEOF
80858
80859
80860 {
80861 echo "cat >conf$$subs.awk <<_ACEOF" &&
80862 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
80863 echo "_ACEOF"
80864 } >conf$$subs.sh ||
80865 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80866 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
80867 ac_delim='%!_!# '
80868 for ac_last_try in false false false false false :; do
80869 . ./conf$$subs.sh ||
80870 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80871
80872 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
80873 if test $ac_delim_n = $ac_delim_num; then
80874 break
80875 elif $ac_last_try; then
80876 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80877 else
80878 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80879 fi
80880 done
80881 rm -f conf$$subs.sh
80882
80883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80884 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
80885 _ACEOF
80886 sed -n '
80887 h
80888 s/^/S["/; s/!.*/"]=/
80889 p
80890 g
80891 s/^[^!]*!//
80892 :repl
80893 t repl
80894 s/'"$ac_delim"'$//
80895 t delim
80896 :nl
80897 h
80898 s/\(.\{148\}\).*/\1/
80899 t more1
80900 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
80901 p
80902 n
80903 b repl
80904 :more1
80905 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80906 p
80907 g
80908 s/.\{148\}//
80909 t nl
80910 :delim
80911 h
80912 s/\(.\{148\}\).*/\1/
80913 t more2
80914 s/["\\]/\\&/g; s/^/"/; s/$/"/
80915 p
80916 b
80917 :more2
80918 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80919 p
80920 g
80921 s/.\{148\}//
80922 t delim
80923 ' <conf$$subs.awk | sed '
80924 /^[^""]/{
80925 N
80926 s/\n//
80927 }
80928 ' >>$CONFIG_STATUS || ac_write_fail=1
80929 rm -f conf$$subs.awk
80930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80931 _ACAWK
80932 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
80933 for (key in S) S_is_set[key] = 1
80934 FS = "\a"
80935
80936 }
80937 {
80938 line = $ 0
80939 nfields = split(line, field, "@")
80940 substed = 0
80941 len = length(field[1])
80942 for (i = 2; i < nfields; i++) {
80943 key = field[i]
80944 keylen = length(key)
80945 if (S_is_set[key]) {
80946 value = S[key]
80947 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
80948 len += length(value) + length(field[++i])
80949 substed = 1
80950 } else
80951 len += 1 + keylen
80952 }
80953
80954 print line
80955 }
80956
80957 _ACAWK
80958 _ACEOF
80959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80960 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
80961 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
80962 else
80963 cat
80964 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
80965 || as_fn_error "could not setup config files machinery" "$LINENO" 5
80966 _ACEOF
80967
80968 # VPATH may cause trouble with some makes, so we remove $(srcdir),
80969 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
80970 # trailing colons and then remove the whole line if VPATH becomes empty
80971 # (actually we leave an empty line to preserve line numbers).
80972 if test "x$srcdir" = x.; then
80973 ac_vpsub='/^[ ]*VPATH[ ]*=/{
80974 s/:*\$(srcdir):*/:/
80975 s/:*\${srcdir}:*/:/
80976 s/:*@srcdir@:*/:/
80977 s/^\([^=]*=[ ]*\):*/\1/
80978 s/:*$//
80979 s/^[^=]*=[ ]*$//
80980 }'
80981 fi
80982
80983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80984 fi # test -n "$CONFIG_FILES"
80985
80986 # Set up the scripts for CONFIG_HEADERS section.
80987 # No need to generate them if there are no CONFIG_HEADERS.
80988 # This happens for instance with `./config.status Makefile'.
80989 if test -n "$CONFIG_HEADERS"; then
80990 cat >"$tmp/defines.awk" <<\_ACAWK ||
80991 BEGIN {
80992 _ACEOF
80993
80994 # Transform confdefs.h into an awk script `defines.awk', embedded as
80995 # here-document in config.status, that substitutes the proper values into
80996 # config.h.in to produce config.h.
80997
80998 # Create a delimiter string that does not exist in confdefs.h, to ease
80999 # handling of long lines.
81000 ac_delim='%!_!# '
81001 for ac_last_try in false false :; do
81002 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
81003 if test -z "$ac_t"; then
81004 break
81005 elif $ac_last_try; then
81006 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
81007 else
81008 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81009 fi
81010 done
81011
81012 # For the awk script, D is an array of macro values keyed by name,
81013 # likewise P contains macro parameters if any. Preserve backslash
81014 # newline sequences.
81015
81016 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
81017 sed -n '
81018 s/.\{148\}/&'"$ac_delim"'/g
81019 t rset
81020 :rset
81021 s/^[ ]*#[ ]*define[ ][ ]*/ /
81022 t def
81023 d
81024 :def
81025 s/\\$//
81026 t bsnl
81027 s/["\\]/\\&/g
81028 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81029 D["\1"]=" \3"/p
81030 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
81031 d
81032 :bsnl
81033 s/["\\]/\\&/g
81034 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81035 D["\1"]=" \3\\\\\\n"\\/p
81036 t cont
81037 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81038 t cont
81039 d
81040 :cont
81041 n
81042 s/.\{148\}/&'"$ac_delim"'/g
81043 t clear
81044 :clear
81045 s/\\$//
81046 t bsnlc
81047 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81048 d
81049 :bsnlc
81050 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81051 b cont
81052 ' <confdefs.h | sed '
81053 s/'"$ac_delim"'/"\\\
81054 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81055
81056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81057 for (key in D) D_is_set[key] = 1
81058 FS = "\a"
81059 }
81060 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81061 line = \$ 0
81062 split(line, arg, " ")
81063 if (arg[1] == "#") {
81064 defundef = arg[2]
81065 mac1 = arg[3]
81066 } else {
81067 defundef = substr(arg[1], 2)
81068 mac1 = arg[2]
81069 }
81070 split(mac1, mac2, "(") #)
81071 macro = mac2[1]
81072 prefix = substr(line, 1, index(line, defundef) - 1)
81073 if (D_is_set[macro]) {
81074 # Preserve the white space surrounding the "#".
81075 print prefix "define", macro P[macro] D[macro]
81076 next
81077 } else {
81078 # Replace #undef with comments. This is necessary, for example,
81079 # in the case of _POSIX_SOURCE, which is predefined and required
81080 # on some systems where configure will not decide to define it.
81081 if (defundef == "undef") {
81082 print "/*", prefix defundef, macro, "*/"
81083 next
81084 }
81085 }
81086 }
81087 { print }
81088 _ACAWK
81089 _ACEOF
81090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81091 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81092 fi # test -n "$CONFIG_HEADERS"
81093
81094
81095 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81096 shift
81097 for ac_tag
81098 do
81099 case $ac_tag in
81100 :[FHLC]) ac_mode=$ac_tag; continue;;
81101 esac
81102 case $ac_mode$ac_tag in
81103 :[FHL]*:*);;
81104 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81105 :[FH]-) ac_tag=-:-;;
81106 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81107 esac
81108 ac_save_IFS=$IFS
81109 IFS=:
81110 set x $ac_tag
81111 IFS=$ac_save_IFS
81112 shift
81113 ac_file=$1
81114 shift
81115
81116 case $ac_mode in
81117 :L) ac_source=$1;;
81118 :[FH])
81119 ac_file_inputs=
81120 for ac_f
81121 do
81122 case $ac_f in
81123 -) ac_f="$tmp/stdin";;
81124 *) # Look for the file first in the build tree, then in the source tree
81125 # (if the path is not absolute). The absolute path cannot be DOS-style,
81126 # because $ac_f cannot contain `:'.
81127 test -f "$ac_f" ||
81128 case $ac_f in
81129 [\\/$]*) false;;
81130 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81131 esac ||
81132 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81133 esac
81134 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81135 as_fn_append ac_file_inputs " '$ac_f'"
81136 done
81137
81138 # Let's still pretend it is `configure' which instantiates (i.e., don't
81139 # use $as_me), people would be surprised to read:
81140 # /* config.h. Generated by config.status. */
81141 configure_input='Generated from '`
81142 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81143 `' by configure.'
81144 if test x"$ac_file" != x-; then
81145 configure_input="$ac_file. $configure_input"
81146 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81147 $as_echo "$as_me: creating $ac_file" >&6;}
81148 fi
81149 # Neutralize special characters interpreted by sed in replacement strings.
81150 case $configure_input in #(
81151 *\&* | *\|* | *\\* )
81152 ac_sed_conf_input=`$as_echo "$configure_input" |
81153 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81154 *) ac_sed_conf_input=$configure_input;;
81155 esac
81156
81157 case $ac_tag in
81158 *:-:* | *:-) cat >"$tmp/stdin" \
81159 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81160 esac
81161 ;;
81162 esac
81163
81164 ac_dir=`$as_dirname -- "$ac_file" ||
81165 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81166 X"$ac_file" : 'X\(//\)[^/]' \| \
81167 X"$ac_file" : 'X\(//\)$' \| \
81168 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81169 $as_echo X"$ac_file" |
81170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81171 s//\1/
81172 q
81173 }
81174 /^X\(\/\/\)[^/].*/{
81175 s//\1/
81176 q
81177 }
81178 /^X\(\/\/\)$/{
81179 s//\1/
81180 q
81181 }
81182 /^X\(\/\).*/{
81183 s//\1/
81184 q
81185 }
81186 s/.*/./; q'`
81187 as_dir="$ac_dir"; as_fn_mkdir_p
81188 ac_builddir=.
81189
81190 case "$ac_dir" in
81191 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81192 *)
81193 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81194 # A ".." for each directory in $ac_dir_suffix.
81195 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81196 case $ac_top_builddir_sub in
81197 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81198 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81199 esac ;;
81200 esac
81201 ac_abs_top_builddir=$ac_pwd
81202 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81203 # for backward compatibility:
81204 ac_top_builddir=$ac_top_build_prefix
81205
81206 case $srcdir in
81207 .) # We are building in place.
81208 ac_srcdir=.
81209 ac_top_srcdir=$ac_top_builddir_sub
81210 ac_abs_top_srcdir=$ac_pwd ;;
81211 [\\/]* | ?:[\\/]* ) # Absolute name.
81212 ac_srcdir=$srcdir$ac_dir_suffix;
81213 ac_top_srcdir=$srcdir
81214 ac_abs_top_srcdir=$srcdir ;;
81215 *) # Relative name.
81216 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81217 ac_top_srcdir=$ac_top_build_prefix$srcdir
81218 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81219 esac
81220 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81221
81222
81223 case $ac_mode in
81224 :F)
81225 #
81226 # CONFIG_FILE
81227 #
81228
81229 case $INSTALL in
81230 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81231 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81232 esac
81233 ac_MKDIR_P=$MKDIR_P
81234 case $MKDIR_P in
81235 [\\/$]* | ?:[\\/]* ) ;;
81236 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81237 esac
81238 _ACEOF
81239
81240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81241 # If the template does not know about datarootdir, expand it.
81242 # FIXME: This hack should be removed a few years after 2.60.
81243 ac_datarootdir_hack=; ac_datarootdir_seen=
81244 ac_sed_dataroot='
81245 /datarootdir/ {
81246 p
81247 q
81248 }
81249 /@datadir@/p
81250 /@docdir@/p
81251 /@infodir@/p
81252 /@localedir@/p
81253 /@mandir@/p'
81254 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
81255 *datarootdir*) ac_datarootdir_seen=yes;;
81256 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
81257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
81258 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
81259 _ACEOF
81260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81261 ac_datarootdir_hack='
81262 s&@datadir@&$datadir&g
81263 s&@docdir@&$docdir&g
81264 s&@infodir@&$infodir&g
81265 s&@localedir@&$localedir&g
81266 s&@mandir@&$mandir&g
81267 s&\\\${datarootdir}&$datarootdir&g' ;;
81268 esac
81269 _ACEOF
81270
81271 # Neutralize VPATH when `$srcdir' = `.'.
81272 # Shell code in configure.ac might set extrasub.
81273 # FIXME: do we really want to maintain this feature?
81274 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81275 ac_sed_extra="$ac_vpsub
81276 $extrasub
81277 _ACEOF
81278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81279 :t
81280 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81281 s|@configure_input@|$ac_sed_conf_input|;t t
81282 s&@top_builddir@&$ac_top_builddir_sub&;t t
81283 s&@top_build_prefix@&$ac_top_build_prefix&;t t
81284 s&@srcdir@&$ac_srcdir&;t t
81285 s&@abs_srcdir@&$ac_abs_srcdir&;t t
81286 s&@top_srcdir@&$ac_top_srcdir&;t t
81287 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
81288 s&@builddir@&$ac_builddir&;t t
81289 s&@abs_builddir@&$ac_abs_builddir&;t t
81290 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
81291 s&@INSTALL@&$ac_INSTALL&;t t
81292 s&@MKDIR_P@&$ac_MKDIR_P&;t t
81293 $ac_datarootdir_hack
81294 "
81295 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
81296 || as_fn_error "could not create $ac_file" "$LINENO" 5
81297
81298 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
81299 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
81300 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
81301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81302 which seems to be undefined. Please make sure it is defined." >&5
81303 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81304 which seems to be undefined. Please make sure it is defined." >&2;}
81305
81306 rm -f "$tmp/stdin"
81307 case $ac_file in
81308 -) cat "$tmp/out" && rm -f "$tmp/out";;
81309 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
81310 esac \
81311 || as_fn_error "could not create $ac_file" "$LINENO" 5
81312 ;;
81313 :H)
81314 #
81315 # CONFIG_HEADER
81316 #
81317 if test x"$ac_file" != x-; then
81318 {
81319 $as_echo "/* $configure_input */" \
81320 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
81321 } >"$tmp/config.h" \
81322 || as_fn_error "could not create $ac_file" "$LINENO" 5
81323 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
81324 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
81325 $as_echo "$as_me: $ac_file is unchanged" >&6;}
81326 else
81327 rm -f "$ac_file"
81328 mv "$tmp/config.h" "$ac_file" \
81329 || as_fn_error "could not create $ac_file" "$LINENO" 5
81330 fi
81331 else
81332 $as_echo "/* $configure_input */" \
81333 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
81334 || as_fn_error "could not create -" "$LINENO" 5
81335 fi
81336 # Compute "$ac_file"'s index in $config_headers.
81337 _am_arg="$ac_file"
81338 _am_stamp_count=1
81339 for _am_header in $config_headers :; do
81340 case $_am_header in
81341 $_am_arg | $_am_arg:* )
81342 break ;;
81343 * )
81344 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
81345 esac
81346 done
81347 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
81348 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81349 X"$_am_arg" : 'X\(//\)[^/]' \| \
81350 X"$_am_arg" : 'X\(//\)$' \| \
81351 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
81352 $as_echo X"$_am_arg" |
81353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81354 s//\1/
81355 q
81356 }
81357 /^X\(\/\/\)[^/].*/{
81358 s//\1/
81359 q
81360 }
81361 /^X\(\/\/\)$/{
81362 s//\1/
81363 q
81364 }
81365 /^X\(\/\).*/{
81366 s//\1/
81367 q
81368 }
81369 s/.*/./; q'`/stamp-h$_am_stamp_count
81370 ;;
81371
81372 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
81373 $as_echo "$as_me: executing $ac_file commands" >&6;}
81374 ;;
81375 esac
81376
81377
81378 case $ac_file$ac_mode in
81379 "default-1":C)
81380 # Only add multilib support code if we just rebuilt the top-level
81381 # Makefile.
81382 case " $CONFIG_FILES " in
81383 *" Makefile "*)
81384 ac_file=Makefile . ${multi_basedir}/config-ml.in
81385 ;;
81386 esac ;;
81387 "libtool":C)
81388
81389 # See if we are running on zsh, and set the options which allow our
81390 # commands through without removal of \ escapes.
81391 if test -n "${ZSH_VERSION+set}" ; then
81392 setopt NO_GLOB_SUBST
81393 fi
81394
81395 cfgfile="${ofile}T"
81396 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
81397 $RM "$cfgfile"
81398
81399 cat <<_LT_EOF >> "$cfgfile"
81400 #! $SHELL
81401
81402 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
81403 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
81404 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
81405 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
81406 #
81407 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
81408 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
81409 # Written by Gordon Matzigkeit, 1996
81410 #
81411 # This file is part of GNU Libtool.
81412 #
81413 # GNU Libtool is free software; you can redistribute it and/or
81414 # modify it under the terms of the GNU General Public License as
81415 # published by the Free Software Foundation; either version 2 of
81416 # the License, or (at your option) any later version.
81417 #
81418 # As a special exception to the GNU General Public License,
81419 # if you distribute this file as part of a program or library that
81420 # is built using GNU Libtool, you may include this file under the
81421 # same distribution terms that you use for the rest of that program.
81422 #
81423 # GNU Libtool is distributed in the hope that it will be useful,
81424 # but WITHOUT ANY WARRANTY; without even the implied warranty of
81425 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
81426 # GNU General Public License for more details.
81427 #
81428 # You should have received a copy of the GNU General Public License
81429 # along with GNU Libtool; see the file COPYING. If not, a copy
81430 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
81431 # obtained by writing to the Free Software Foundation, Inc.,
81432 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
81433
81434
81435 # The names of the tagged configurations supported by this script.
81436 available_tags="CXX "
81437
81438 # ### BEGIN LIBTOOL CONFIG
81439
81440 # Which release of libtool.m4 was used?
81441 macro_version=$macro_version
81442 macro_revision=$macro_revision
81443
81444 # Whether or not to build shared libraries.
81445 build_libtool_libs=$enable_shared
81446
81447 # Whether or not to build static libraries.
81448 build_old_libs=$enable_static
81449
81450 # What type of objects to build.
81451 pic_mode=$pic_mode
81452
81453 # Whether or not to optimize for fast installation.
81454 fast_install=$enable_fast_install
81455
81456 # Shell to use when invoking shell scripts.
81457 SHELL=$lt_SHELL
81458
81459 # An echo program that protects backslashes.
81460 ECHO=$lt_ECHO
81461
81462 # The host system.
81463 host_alias=$host_alias
81464 host=$host
81465 host_os=$host_os
81466
81467 # The build system.
81468 build_alias=$build_alias
81469 build=$build
81470 build_os=$build_os
81471
81472 # A sed program that does not truncate output.
81473 SED=$lt_SED
81474
81475 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
81476 Xsed="\$SED -e 1s/^X//"
81477
81478 # A grep program that handles long lines.
81479 GREP=$lt_GREP
81480
81481 # An ERE matcher.
81482 EGREP=$lt_EGREP
81483
81484 # A literal string matcher.
81485 FGREP=$lt_FGREP
81486
81487 # A BSD- or MS-compatible name lister.
81488 NM=$lt_NM
81489
81490 # Whether we need soft or hard links.
81491 LN_S=$lt_LN_S
81492
81493 # What is the maximum length of a command?
81494 max_cmd_len=$max_cmd_len
81495
81496 # Object file suffix (normally "o").
81497 objext=$ac_objext
81498
81499 # Executable file suffix (normally "").
81500 exeext=$exeext
81501
81502 # whether the shell understands "unset".
81503 lt_unset=$lt_unset
81504
81505 # turn spaces into newlines.
81506 SP2NL=$lt_lt_SP2NL
81507
81508 # turn newlines into spaces.
81509 NL2SP=$lt_lt_NL2SP
81510
81511 # An object symbol dumper.
81512 OBJDUMP=$lt_OBJDUMP
81513
81514 # Method to check whether dependent libraries are shared objects.
81515 deplibs_check_method=$lt_deplibs_check_method
81516
81517 # Command to use when deplibs_check_method == "file_magic".
81518 file_magic_cmd=$lt_file_magic_cmd
81519
81520 # The archiver.
81521 AR=$lt_AR
81522 AR_FLAGS=$lt_AR_FLAGS
81523
81524 # A symbol stripping program.
81525 STRIP=$lt_STRIP
81526
81527 # Commands used to install an old-style archive.
81528 RANLIB=$lt_RANLIB
81529 old_postinstall_cmds=$lt_old_postinstall_cmds
81530 old_postuninstall_cmds=$lt_old_postuninstall_cmds
81531
81532 # Whether to use a lock for old archive extraction.
81533 lock_old_archive_extraction=$lock_old_archive_extraction
81534
81535 # A C compiler.
81536 LTCC=$lt_CC
81537
81538 # LTCC compiler flags.
81539 LTCFLAGS=$lt_CFLAGS
81540
81541 # Take the output of nm and produce a listing of raw symbols and C names.
81542 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
81543
81544 # Transform the output of nm in a proper C declaration.
81545 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
81546
81547 # Transform the output of nm in a C name address pair.
81548 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
81549
81550 # Transform the output of nm in a C name address pair when lib prefix is needed.
81551 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
81552
81553 # The name of the directory that contains temporary libtool files.
81554 objdir=$objdir
81555
81556 # Used to examine libraries when file_magic_cmd begins with "file".
81557 MAGIC_CMD=$MAGIC_CMD
81558
81559 # Must we lock files when doing compilation?
81560 need_locks=$lt_need_locks
81561
81562 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
81563 DSYMUTIL=$lt_DSYMUTIL
81564
81565 # Tool to change global to local symbols on Mac OS X.
81566 NMEDIT=$lt_NMEDIT
81567
81568 # Tool to manipulate fat objects and archives on Mac OS X.
81569 LIPO=$lt_LIPO
81570
81571 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
81572 OTOOL=$lt_OTOOL
81573
81574 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
81575 OTOOL64=$lt_OTOOL64
81576
81577 # Old archive suffix (normally "a").
81578 libext=$libext
81579
81580 # Shared library suffix (normally ".so").
81581 shrext_cmds=$lt_shrext_cmds
81582
81583 # The commands to extract the exported symbol list from a shared archive.
81584 extract_expsyms_cmds=$lt_extract_expsyms_cmds
81585
81586 # Variables whose values should be saved in libtool wrapper scripts and
81587 # restored at link time.
81588 variables_saved_for_relink=$lt_variables_saved_for_relink
81589
81590 # Do we need the "lib" prefix for modules?
81591 need_lib_prefix=$need_lib_prefix
81592
81593 # Do we need a version for libraries?
81594 need_version=$need_version
81595
81596 # Library versioning type.
81597 version_type=$version_type
81598
81599 # Shared library runtime path variable.
81600 runpath_var=$runpath_var
81601
81602 # Shared library path variable.
81603 shlibpath_var=$shlibpath_var
81604
81605 # Is shlibpath searched before the hard-coded library search path?
81606 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
81607
81608 # Format of library name prefix.
81609 libname_spec=$lt_libname_spec
81610
81611 # List of archive names. First name is the real one, the rest are links.
81612 # The last name is the one that the linker finds with -lNAME
81613 library_names_spec=$lt_library_names_spec
81614
81615 # The coded name of the library, if different from the real name.
81616 soname_spec=$lt_soname_spec
81617
81618 # Permission mode override for installation of shared libraries.
81619 install_override_mode=$lt_install_override_mode
81620
81621 # Command to use after installation of a shared archive.
81622 postinstall_cmds=$lt_postinstall_cmds
81623
81624 # Command to use after uninstallation of a shared archive.
81625 postuninstall_cmds=$lt_postuninstall_cmds
81626
81627 # Commands used to finish a libtool library installation in a directory.
81628 finish_cmds=$lt_finish_cmds
81629
81630 # As "finish_cmds", except a single script fragment to be evaled but
81631 # not shown.
81632 finish_eval=$lt_finish_eval
81633
81634 # Whether we should hardcode library paths into libraries.
81635 hardcode_into_libs=$hardcode_into_libs
81636
81637 # Compile-time system search path for libraries.
81638 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
81639
81640 # Run-time system search path for libraries.
81641 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
81642
81643 # Whether dlopen is supported.
81644 dlopen_support=$enable_dlopen
81645
81646 # Whether dlopen of programs is supported.
81647 dlopen_self=$enable_dlopen_self
81648
81649 # Whether dlopen of statically linked programs is supported.
81650 dlopen_self_static=$enable_dlopen_self_static
81651
81652 # Commands to strip libraries.
81653 old_striplib=$lt_old_striplib
81654 striplib=$lt_striplib
81655
81656
81657 # The linker used to build libraries.
81658 LD=$lt_LD
81659
81660 # How to create reloadable object files.
81661 reload_flag=$lt_reload_flag
81662 reload_cmds=$lt_reload_cmds
81663
81664 # Commands used to build an old-style archive.
81665 old_archive_cmds=$lt_old_archive_cmds
81666
81667 # A language specific compiler.
81668 CC=$lt_compiler
81669
81670 # Is the compiler the GNU compiler?
81671 with_gcc=$GCC
81672
81673 # Compiler flag to turn off builtin functions.
81674 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
81675
81676 # How to pass a linker flag through the compiler.
81677 wl=$lt_lt_prog_compiler_wl
81678
81679 # Additional compiler flags for building library objects.
81680 pic_flag=$lt_lt_prog_compiler_pic
81681
81682 # Compiler flag to prevent dynamic linking.
81683 link_static_flag=$lt_lt_prog_compiler_static
81684
81685 # Does compiler simultaneously support -c and -o options?
81686 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
81687
81688 # Whether or not to add -lc for building shared libraries.
81689 build_libtool_need_lc=$archive_cmds_need_lc
81690
81691 # Whether or not to disallow shared libs when runtime libs are static.
81692 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
81693
81694 # Compiler flag to allow reflexive dlopens.
81695 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
81696
81697 # Compiler flag to generate shared objects directly from archives.
81698 whole_archive_flag_spec=$lt_whole_archive_flag_spec
81699
81700 # Whether the compiler copes with passing no objects directly.
81701 compiler_needs_object=$lt_compiler_needs_object
81702
81703 # Create an old-style archive from a shared archive.
81704 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
81705
81706 # Create a temporary old-style archive to link instead of a shared archive.
81707 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
81708
81709 # Commands used to build a shared archive.
81710 archive_cmds=$lt_archive_cmds
81711 archive_expsym_cmds=$lt_archive_expsym_cmds
81712
81713 # Commands used to build a loadable module if different from building
81714 # a shared archive.
81715 module_cmds=$lt_module_cmds
81716 module_expsym_cmds=$lt_module_expsym_cmds
81717
81718 # Whether we are building with GNU ld or not.
81719 with_gnu_ld=$lt_with_gnu_ld
81720
81721 # Flag that allows shared libraries with undefined symbols to be built.
81722 allow_undefined_flag=$lt_allow_undefined_flag
81723
81724 # Flag that enforces no undefined symbols.
81725 no_undefined_flag=$lt_no_undefined_flag
81726
81727 # Flag to hardcode \$libdir into a binary during linking.
81728 # This must work even if \$libdir does not exist
81729 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
81730
81731 # If ld is used when linking, flag to hardcode \$libdir into a binary
81732 # during linking. This must work even if \$libdir does not exist.
81733 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
81734
81735 # Whether we need a single "-rpath" flag with a separated argument.
81736 hardcode_libdir_separator=$lt_hardcode_libdir_separator
81737
81738 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81739 # DIR into the resulting binary.
81740 hardcode_direct=$hardcode_direct
81741
81742 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81743 # DIR into the resulting binary and the resulting library dependency is
81744 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81745 # library is relocated.
81746 hardcode_direct_absolute=$hardcode_direct_absolute
81747
81748 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81749 # into the resulting binary.
81750 hardcode_minus_L=$hardcode_minus_L
81751
81752 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81753 # into the resulting binary.
81754 hardcode_shlibpath_var=$hardcode_shlibpath_var
81755
81756 # Set to "yes" if building a shared library automatically hardcodes DIR
81757 # into the library and all subsequent libraries and executables linked
81758 # against it.
81759 hardcode_automatic=$hardcode_automatic
81760
81761 # Set to yes if linker adds runtime paths of dependent libraries
81762 # to runtime path list.
81763 inherit_rpath=$inherit_rpath
81764
81765 # Whether libtool must link a program against all its dependency libraries.
81766 link_all_deplibs=$link_all_deplibs
81767
81768 # Fix the shell variable \$srcfile for the compiler.
81769 fix_srcfile_path=$lt_fix_srcfile_path
81770
81771 # Set to "yes" if exported symbols are required.
81772 always_export_symbols=$always_export_symbols
81773
81774 # The commands to list exported symbols.
81775 export_symbols_cmds=$lt_export_symbols_cmds
81776
81777 # Symbols that should not be listed in the preloaded symbols.
81778 exclude_expsyms=$lt_exclude_expsyms
81779
81780 # Symbols that must always be exported.
81781 include_expsyms=$lt_include_expsyms
81782
81783 # Commands necessary for linking programs (against libraries) with templates.
81784 prelink_cmds=$lt_prelink_cmds
81785
81786 # Specify filename containing input files.
81787 file_list_spec=$lt_file_list_spec
81788
81789 # How to hardcode a shared library path into an executable.
81790 hardcode_action=$hardcode_action
81791
81792 # The directories searched by this compiler when creating a shared library.
81793 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
81794
81795 # Dependencies to place before and after the objects being linked to
81796 # create a shared library.
81797 predep_objects=$lt_predep_objects
81798 postdep_objects=$lt_postdep_objects
81799 predeps=$lt_predeps
81800 postdeps=$lt_postdeps
81801
81802 # The library search path used internally by the compiler when linking
81803 # a shared library.
81804 compiler_lib_search_path=$lt_compiler_lib_search_path
81805
81806 # ### END LIBTOOL CONFIG
81807
81808 _LT_EOF
81809
81810 case $host_os in
81811 aix3*)
81812 cat <<\_LT_EOF >> "$cfgfile"
81813 # AIX sometimes has problems with the GCC collect2 program. For some
81814 # reason, if we set the COLLECT_NAMES environment variable, the problems
81815 # vanish in a puff of smoke.
81816 if test "X${COLLECT_NAMES+set}" != Xset; then
81817 COLLECT_NAMES=
81818 export COLLECT_NAMES
81819 fi
81820 _LT_EOF
81821 ;;
81822 esac
81823
81824
81825 ltmain="$ac_aux_dir/ltmain.sh"
81826
81827
81828 # We use sed instead of cat because bash on DJGPP gets confused if
81829 # if finds mixed CR/LF and LF-only lines. Since sed operates in
81830 # text mode, it properly converts lines to CR/LF. This bash problem
81831 # is reportedly fixed, but why not run on old versions too?
81832 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
81833 || (rm -f "$cfgfile"; exit 1)
81834
81835 case $xsi_shell in
81836 yes)
81837 cat << \_LT_EOF >> "$cfgfile"
81838
81839 # func_dirname file append nondir_replacement
81840 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81841 # otherwise set result to NONDIR_REPLACEMENT.
81842 func_dirname ()
81843 {
81844 case ${1} in
81845 */*) func_dirname_result="${1%/*}${2}" ;;
81846 * ) func_dirname_result="${3}" ;;
81847 esac
81848 }
81849
81850 # func_basename file
81851 func_basename ()
81852 {
81853 func_basename_result="${1##*/}"
81854 }
81855
81856 # func_dirname_and_basename file append nondir_replacement
81857 # perform func_basename and func_dirname in a single function
81858 # call:
81859 # dirname: Compute the dirname of FILE. If nonempty,
81860 # add APPEND to the result, otherwise set result
81861 # to NONDIR_REPLACEMENT.
81862 # value returned in "$func_dirname_result"
81863 # basename: Compute filename of FILE.
81864 # value retuned in "$func_basename_result"
81865 # Implementation must be kept synchronized with func_dirname
81866 # and func_basename. For efficiency, we do not delegate to
81867 # those functions but instead duplicate the functionality here.
81868 func_dirname_and_basename ()
81869 {
81870 case ${1} in
81871 */*) func_dirname_result="${1%/*}${2}" ;;
81872 * ) func_dirname_result="${3}" ;;
81873 esac
81874 func_basename_result="${1##*/}"
81875 }
81876
81877 # func_stripname prefix suffix name
81878 # strip PREFIX and SUFFIX off of NAME.
81879 # PREFIX and SUFFIX must not contain globbing or regex special
81880 # characters, hashes, percent signs, but SUFFIX may contain a leading
81881 # dot (in which case that matches only a dot).
81882 func_stripname ()
81883 {
81884 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
81885 # positional parameters, so assign one to ordinary parameter first.
81886 func_stripname_result=${3}
81887 func_stripname_result=${func_stripname_result#"${1}"}
81888 func_stripname_result=${func_stripname_result%"${2}"}
81889 }
81890
81891 # func_opt_split
81892 func_opt_split ()
81893 {
81894 func_opt_split_opt=${1%%=*}
81895 func_opt_split_arg=${1#*=}
81896 }
81897
81898 # func_lo2o object
81899 func_lo2o ()
81900 {
81901 case ${1} in
81902 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
81903 *) func_lo2o_result=${1} ;;
81904 esac
81905 }
81906
81907 # func_xform libobj-or-source
81908 func_xform ()
81909 {
81910 func_xform_result=${1%.*}.lo
81911 }
81912
81913 # func_arith arithmetic-term...
81914 func_arith ()
81915 {
81916 func_arith_result=$(( $* ))
81917 }
81918
81919 # func_len string
81920 # STRING may not start with a hyphen.
81921 func_len ()
81922 {
81923 func_len_result=${#1}
81924 }
81925
81926 _LT_EOF
81927 ;;
81928 *) # Bourne compatible functions.
81929 cat << \_LT_EOF >> "$cfgfile"
81930
81931 # func_dirname file append nondir_replacement
81932 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81933 # otherwise set result to NONDIR_REPLACEMENT.
81934 func_dirname ()
81935 {
81936 # Extract subdirectory from the argument.
81937 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
81938 if test "X$func_dirname_result" = "X${1}"; then
81939 func_dirname_result="${3}"
81940 else
81941 func_dirname_result="$func_dirname_result${2}"
81942 fi
81943 }
81944
81945 # func_basename file
81946 func_basename ()
81947 {
81948 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
81949 }
81950
81951
81952 # func_stripname prefix suffix name
81953 # strip PREFIX and SUFFIX off of NAME.
81954 # PREFIX and SUFFIX must not contain globbing or regex special
81955 # characters, hashes, percent signs, but SUFFIX may contain a leading
81956 # dot (in which case that matches only a dot).
81957 # func_strip_suffix prefix name
81958 func_stripname ()
81959 {
81960 case ${2} in
81961 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
81962 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
81963 esac
81964 }
81965
81966 # sed scripts:
81967 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
81968 my_sed_long_arg='1s/^-[^=]*=//'
81969
81970 # func_opt_split
81971 func_opt_split ()
81972 {
81973 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
81974 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
81975 }
81976
81977 # func_lo2o object
81978 func_lo2o ()
81979 {
81980 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
81981 }
81982
81983 # func_xform libobj-or-source
81984 func_xform ()
81985 {
81986 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
81987 }
81988
81989 # func_arith arithmetic-term...
81990 func_arith ()
81991 {
81992 func_arith_result=`expr "$@"`
81993 }
81994
81995 # func_len string
81996 # STRING may not start with a hyphen.
81997 func_len ()
81998 {
81999 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
82000 }
82001
82002 _LT_EOF
82003 esac
82004
82005 case $lt_shell_append in
82006 yes)
82007 cat << \_LT_EOF >> "$cfgfile"
82008
82009 # func_append var value
82010 # Append VALUE to the end of shell variable VAR.
82011 func_append ()
82012 {
82013 eval "$1+=\$2"
82014 }
82015 _LT_EOF
82016 ;;
82017 *)
82018 cat << \_LT_EOF >> "$cfgfile"
82019
82020 # func_append var value
82021 # Append VALUE to the end of shell variable VAR.
82022 func_append ()
82023 {
82024 eval "$1=\$$1\$2"
82025 }
82026
82027 _LT_EOF
82028 ;;
82029 esac
82030
82031
82032 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82033 || (rm -f "$cfgfile"; exit 1)
82034
82035 mv -f "$cfgfile" "$ofile" ||
82036 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82037 chmod +x "$ofile"
82038
82039
82040 cat <<_LT_EOF >> "$ofile"
82041
82042 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82043
82044 # The linker used to build libraries.
82045 LD=$lt_LD_CXX
82046
82047 # How to create reloadable object files.
82048 reload_flag=$lt_reload_flag_CXX
82049 reload_cmds=$lt_reload_cmds_CXX
82050
82051 # Commands used to build an old-style archive.
82052 old_archive_cmds=$lt_old_archive_cmds_CXX
82053
82054 # A language specific compiler.
82055 CC=$lt_compiler_CXX
82056
82057 # Is the compiler the GNU compiler?
82058 with_gcc=$GCC_CXX
82059
82060 # Compiler flag to turn off builtin functions.
82061 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82062
82063 # How to pass a linker flag through the compiler.
82064 wl=$lt_lt_prog_compiler_wl_CXX
82065
82066 # Additional compiler flags for building library objects.
82067 pic_flag=$lt_lt_prog_compiler_pic_CXX
82068
82069 # Compiler flag to prevent dynamic linking.
82070 link_static_flag=$lt_lt_prog_compiler_static_CXX
82071
82072 # Does compiler simultaneously support -c and -o options?
82073 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82074
82075 # Whether or not to add -lc for building shared libraries.
82076 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82077
82078 # Whether or not to disallow shared libs when runtime libs are static.
82079 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82080
82081 # Compiler flag to allow reflexive dlopens.
82082 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82083
82084 # Compiler flag to generate shared objects directly from archives.
82085 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82086
82087 # Whether the compiler copes with passing no objects directly.
82088 compiler_needs_object=$lt_compiler_needs_object_CXX
82089
82090 # Create an old-style archive from a shared archive.
82091 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82092
82093 # Create a temporary old-style archive to link instead of a shared archive.
82094 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82095
82096 # Commands used to build a shared archive.
82097 archive_cmds=$lt_archive_cmds_CXX
82098 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82099
82100 # Commands used to build a loadable module if different from building
82101 # a shared archive.
82102 module_cmds=$lt_module_cmds_CXX
82103 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82104
82105 # Whether we are building with GNU ld or not.
82106 with_gnu_ld=$lt_with_gnu_ld_CXX
82107
82108 # Flag that allows shared libraries with undefined symbols to be built.
82109 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82110
82111 # Flag that enforces no undefined symbols.
82112 no_undefined_flag=$lt_no_undefined_flag_CXX
82113
82114 # Flag to hardcode \$libdir into a binary during linking.
82115 # This must work even if \$libdir does not exist
82116 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82117
82118 # If ld is used when linking, flag to hardcode \$libdir into a binary
82119 # during linking. This must work even if \$libdir does not exist.
82120 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82121
82122 # Whether we need a single "-rpath" flag with a separated argument.
82123 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82124
82125 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82126 # DIR into the resulting binary.
82127 hardcode_direct=$hardcode_direct_CXX
82128
82129 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82130 # DIR into the resulting binary and the resulting library dependency is
82131 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82132 # library is relocated.
82133 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82134
82135 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82136 # into the resulting binary.
82137 hardcode_minus_L=$hardcode_minus_L_CXX
82138
82139 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82140 # into the resulting binary.
82141 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82142
82143 # Set to "yes" if building a shared library automatically hardcodes DIR
82144 # into the library and all subsequent libraries and executables linked
82145 # against it.
82146 hardcode_automatic=$hardcode_automatic_CXX
82147
82148 # Set to yes if linker adds runtime paths of dependent libraries
82149 # to runtime path list.
82150 inherit_rpath=$inherit_rpath_CXX
82151
82152 # Whether libtool must link a program against all its dependency libraries.
82153 link_all_deplibs=$link_all_deplibs_CXX
82154
82155 # Fix the shell variable \$srcfile for the compiler.
82156 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82157
82158 # Set to "yes" if exported symbols are required.
82159 always_export_symbols=$always_export_symbols_CXX
82160
82161 # The commands to list exported symbols.
82162 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82163
82164 # Symbols that should not be listed in the preloaded symbols.
82165 exclude_expsyms=$lt_exclude_expsyms_CXX
82166
82167 # Symbols that must always be exported.
82168 include_expsyms=$lt_include_expsyms_CXX
82169
82170 # Commands necessary for linking programs (against libraries) with templates.
82171 prelink_cmds=$lt_prelink_cmds_CXX
82172
82173 # Specify filename containing input files.
82174 file_list_spec=$lt_file_list_spec_CXX
82175
82176 # How to hardcode a shared library path into an executable.
82177 hardcode_action=$hardcode_action_CXX
82178
82179 # The directories searched by this compiler when creating a shared library.
82180 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82181
82182 # Dependencies to place before and after the objects being linked to
82183 # create a shared library.
82184 predep_objects=$lt_predep_objects_CXX
82185 postdep_objects=$lt_postdep_objects_CXX
82186 predeps=$lt_predeps_CXX
82187 postdeps=$lt_postdeps_CXX
82188
82189 # The library search path used internally by the compiler when linking
82190 # a shared library.
82191 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82192
82193 # ### END LIBTOOL TAG CONFIG: CXX
82194 _LT_EOF
82195
82196 ;;
82197 "include/gstdint.h":C)
82198 if test "$GCC" = yes; then
82199 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82200 else
82201 echo "/* generated for $CC */" > tmp-stdint.h
82202 fi
82203
82204 sed 's/^ *//' >> tmp-stdint.h <<EOF
82205
82206 #ifndef GCC_GENERATED_STDINT_H
82207 #define GCC_GENERATED_STDINT_H 1
82208
82209 #include <sys/types.h>
82210 EOF
82211
82212 if test "$acx_cv_header_stdint" != stdint.h; then
82213 echo "#include <stddef.h>" >> tmp-stdint.h
82214 fi
82215 if test "$acx_cv_header_stdint" != stddef.h; then
82216 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82217 fi
82218
82219 sed 's/^ *//' >> tmp-stdint.h <<EOF
82220 /* glibc uses these symbols as guards to prevent redefinitions. */
82221 #ifdef __int8_t_defined
82222 #define _INT8_T
82223 #define _INT16_T
82224 #define _INT32_T
82225 #endif
82226 #ifdef __uint32_t_defined
82227 #define _UINT32_T
82228 #endif
82229
82230 EOF
82231
82232 # ----------------- done header, emit basic int types -------------
82233 if test "$acx_cv_header_stdint" = stddef.h; then
82234 sed 's/^ *//' >> tmp-stdint.h <<EOF
82235
82236 #ifndef _UINT8_T
82237 #define _UINT8_T
82238 #ifndef __uint8_t_defined
82239 #define __uint8_t_defined
82240 #ifndef uint8_t
82241 typedef unsigned $acx_cv_type_int8_t uint8_t;
82242 #endif
82243 #endif
82244 #endif
82245
82246 #ifndef _UINT16_T
82247 #define _UINT16_T
82248 #ifndef __uint16_t_defined
82249 #define __uint16_t_defined
82250 #ifndef uint16_t
82251 typedef unsigned $acx_cv_type_int16_t uint16_t;
82252 #endif
82253 #endif
82254 #endif
82255
82256 #ifndef _UINT32_T
82257 #define _UINT32_T
82258 #ifndef __uint32_t_defined
82259 #define __uint32_t_defined
82260 #ifndef uint32_t
82261 typedef unsigned $acx_cv_type_int32_t uint32_t;
82262 #endif
82263 #endif
82264 #endif
82265
82266 #ifndef _INT8_T
82267 #define _INT8_T
82268 #ifndef __int8_t_defined
82269 #define __int8_t_defined
82270 #ifndef int8_t
82271 typedef $acx_cv_type_int8_t int8_t;
82272 #endif
82273 #endif
82274 #endif
82275
82276 #ifndef _INT16_T
82277 #define _INT16_T
82278 #ifndef __int16_t_defined
82279 #define __int16_t_defined
82280 #ifndef int16_t
82281 typedef $acx_cv_type_int16_t int16_t;
82282 #endif
82283 #endif
82284 #endif
82285
82286 #ifndef _INT32_T
82287 #define _INT32_T
82288 #ifndef __int32_t_defined
82289 #define __int32_t_defined
82290 #ifndef int32_t
82291 typedef $acx_cv_type_int32_t int32_t;
82292 #endif
82293 #endif
82294 #endif
82295 EOF
82296 elif test "$ac_cv_type_u_int32_t" = yes; then
82297 sed 's/^ *//' >> tmp-stdint.h <<EOF
82298
82299 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
82300 #ifndef _INT8_T
82301 #define _INT8_T
82302 #endif
82303 #ifndef _INT16_T
82304 #define _INT16_T
82305 #endif
82306 #ifndef _INT32_T
82307 #define _INT32_T
82308 #endif
82309
82310 #ifndef _UINT8_T
82311 #define _UINT8_T
82312 #ifndef __uint8_t_defined
82313 #define __uint8_t_defined
82314 #ifndef uint8_t
82315 typedef u_int8_t uint8_t;
82316 #endif
82317 #endif
82318 #endif
82319
82320 #ifndef _UINT16_T
82321 #define _UINT16_T
82322 #ifndef __uint16_t_defined
82323 #define __uint16_t_defined
82324 #ifndef uint16_t
82325 typedef u_int16_t uint16_t;
82326 #endif
82327 #endif
82328 #endif
82329
82330 #ifndef _UINT32_T
82331 #define _UINT32_T
82332 #ifndef __uint32_t_defined
82333 #define __uint32_t_defined
82334 #ifndef uint32_t
82335 typedef u_int32_t uint32_t;
82336 #endif
82337 #endif
82338 #endif
82339 EOF
82340 else
82341 sed 's/^ *//' >> tmp-stdint.h <<EOF
82342
82343 /* Some systems have guard macros to prevent redefinitions, define them. */
82344 #ifndef _INT8_T
82345 #define _INT8_T
82346 #endif
82347 #ifndef _INT16_T
82348 #define _INT16_T
82349 #endif
82350 #ifndef _INT32_T
82351 #define _INT32_T
82352 #endif
82353 #ifndef _UINT8_T
82354 #define _UINT8_T
82355 #endif
82356 #ifndef _UINT16_T
82357 #define _UINT16_T
82358 #endif
82359 #ifndef _UINT32_T
82360 #define _UINT32_T
82361 #endif
82362 EOF
82363 fi
82364
82365 # ------------- done basic int types, emit int64_t types ------------
82366 if test "$ac_cv_type_uint64_t" = yes; then
82367 sed 's/^ *//' >> tmp-stdint.h <<EOF
82368
82369 /* system headers have good uint64_t and int64_t */
82370 #ifndef _INT64_T
82371 #define _INT64_T
82372 #endif
82373 #ifndef _UINT64_T
82374 #define _UINT64_T
82375 #endif
82376 EOF
82377 elif test "$ac_cv_type_u_int64_t" = yes; then
82378 sed 's/^ *//' >> tmp-stdint.h <<EOF
82379
82380 /* system headers have an u_int64_t (and int64_t) */
82381 #ifndef _INT64_T
82382 #define _INT64_T
82383 #endif
82384 #ifndef _UINT64_T
82385 #define _UINT64_T
82386 #ifndef __uint64_t_defined
82387 #define __uint64_t_defined
82388 #ifndef uint64_t
82389 typedef u_int64_t uint64_t;
82390 #endif
82391 #endif
82392 #endif
82393 EOF
82394 elif test -n "$acx_cv_type_int64_t"; then
82395 sed 's/^ *//' >> tmp-stdint.h <<EOF
82396
82397 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
82398 #ifndef _INT64_T
82399 #define _INT64_T
82400 #ifndef int64_t
82401 typedef $acx_cv_type_int64_t int64_t;
82402 #endif
82403 #endif
82404 #ifndef _UINT64_T
82405 #define _UINT64_T
82406 #ifndef __uint64_t_defined
82407 #define __uint64_t_defined
82408 #ifndef uint64_t
82409 typedef unsigned $acx_cv_type_int64_t uint64_t;
82410 #endif
82411 #endif
82412 #endif
82413 EOF
82414 else
82415 sed 's/^ *//' >> tmp-stdint.h <<EOF
82416
82417 /* some common heuristics for int64_t, using compiler-specific tests */
82418 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
82419 #ifndef _INT64_T
82420 #define _INT64_T
82421 #ifndef __int64_t_defined
82422 #ifndef int64_t
82423 typedef long long int64_t;
82424 #endif
82425 #endif
82426 #endif
82427 #ifndef _UINT64_T
82428 #define _UINT64_T
82429 #ifndef uint64_t
82430 typedef unsigned long long uint64_t;
82431 #endif
82432 #endif
82433
82434 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
82435 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
82436 does not implement __extension__. But that compiler doesn't define
82437 __GNUC_MINOR__. */
82438 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
82439 # define __extension__
82440 # endif
82441
82442 # ifndef _INT64_T
82443 # define _INT64_T
82444 # ifndef int64_t
82445 __extension__ typedef long long int64_t;
82446 # endif
82447 # endif
82448 # ifndef _UINT64_T
82449 # define _UINT64_T
82450 # ifndef uint64_t
82451 __extension__ typedef unsigned long long uint64_t;
82452 # endif
82453 # endif
82454
82455 #elif !defined __STRICT_ANSI__
82456 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
82457
82458 # ifndef _INT64_T
82459 # define _INT64_T
82460 # ifndef int64_t
82461 typedef __int64 int64_t;
82462 # endif
82463 # endif
82464 # ifndef _UINT64_T
82465 # define _UINT64_T
82466 # ifndef uint64_t
82467 typedef unsigned __int64 uint64_t;
82468 # endif
82469 # endif
82470 # endif /* compiler */
82471
82472 #endif /* ANSI version */
82473 EOF
82474 fi
82475
82476 # ------------- done int64_t types, emit intptr types ------------
82477 if test "$ac_cv_type_uintptr_t" != yes; then
82478 sed 's/^ *//' >> tmp-stdint.h <<EOF
82479
82480 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
82481 #ifndef __uintptr_t_defined
82482 #ifndef uintptr_t
82483 typedef u$acx_cv_type_intptr_t uintptr_t;
82484 #endif
82485 #endif
82486 #ifndef __intptr_t_defined
82487 #ifndef intptr_t
82488 typedef $acx_cv_type_intptr_t intptr_t;
82489 #endif
82490 #endif
82491 EOF
82492 fi
82493
82494 # ------------- done intptr types, emit int_least types ------------
82495 if test "$ac_cv_type_int_least32_t" != yes; then
82496 sed 's/^ *//' >> tmp-stdint.h <<EOF
82497
82498 /* Define int_least types */
82499 typedef int8_t int_least8_t;
82500 typedef int16_t int_least16_t;
82501 typedef int32_t int_least32_t;
82502 #ifdef _INT64_T
82503 typedef int64_t int_least64_t;
82504 #endif
82505
82506 typedef uint8_t uint_least8_t;
82507 typedef uint16_t uint_least16_t;
82508 typedef uint32_t uint_least32_t;
82509 #ifdef _UINT64_T
82510 typedef uint64_t uint_least64_t;
82511 #endif
82512 EOF
82513 fi
82514
82515 # ------------- done intptr types, emit int_fast types ------------
82516 if test "$ac_cv_type_int_fast32_t" != yes; then
82517 sed 's/^ *//' >> tmp-stdint.h <<EOF
82518
82519 /* Define int_fast types. short is often slow */
82520 typedef int8_t int_fast8_t;
82521 typedef int int_fast16_t;
82522 typedef int32_t int_fast32_t;
82523 #ifdef _INT64_T
82524 typedef int64_t int_fast64_t;
82525 #endif
82526
82527 typedef uint8_t uint_fast8_t;
82528 typedef unsigned int uint_fast16_t;
82529 typedef uint32_t uint_fast32_t;
82530 #ifdef _UINT64_T
82531 typedef uint64_t uint_fast64_t;
82532 #endif
82533 EOF
82534 fi
82535
82536 if test "$ac_cv_type_uintmax_t" != yes; then
82537 sed 's/^ *//' >> tmp-stdint.h <<EOF
82538
82539 /* Define intmax based on what we found */
82540 #ifndef intmax_t
82541 #ifdef _INT64_T
82542 typedef int64_t intmax_t;
82543 #else
82544 typedef long intmax_t;
82545 #endif
82546 #endif
82547 #ifndef uintmax_t
82548 #ifdef _UINT64_T
82549 typedef uint64_t uintmax_t;
82550 #else
82551 typedef unsigned long uintmax_t;
82552 #endif
82553 #endif
82554 EOF
82555 fi
82556
82557 sed 's/^ *//' >> tmp-stdint.h <<EOF
82558
82559 #endif /* GCC_GENERATED_STDINT_H */
82560 EOF
82561
82562 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
82563 rm -f tmp-stdint.h
82564 else
82565 mv -f tmp-stdint.h include/gstdint.h
82566 fi
82567
82568 ;;
82569 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
82570 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
82571 "include/Makefile":F) cat > vpsed$$ << \_EOF
82572 s!`test -f '$<' || echo '$(srcdir)/'`!!
82573 _EOF
82574 sed -f vpsed$$ $ac_file > tmp$$
82575 mv tmp$$ $ac_file
82576 rm vpsed$$
82577 echo 'MULTISUBDIR =' >> $ac_file
82578 ml_norecursion=yes
82579 . ${multi_basedir}/config-ml.in
82580 { ml_norecursion=; unset ml_norecursion;}
82581 ;;
82582 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
82583 s!`test -f '$<' || echo '$(srcdir)/'`!!
82584 _EOF
82585 sed -f vpsed$$ $ac_file > tmp$$
82586 mv tmp$$ $ac_file
82587 rm vpsed$$
82588 echo 'MULTISUBDIR =' >> $ac_file
82589 ml_norecursion=yes
82590 . ${multi_basedir}/config-ml.in
82591 { ml_norecursion=; unset ml_norecursion;}
82592 ;;
82593 "python/Makefile":F) cat > vpsed$$ << \_EOF
82594 s!`test -f '$<' || echo '$(srcdir)/'`!!
82595 _EOF
82596 sed -f vpsed$$ $ac_file > tmp$$
82597 mv tmp$$ $ac_file
82598 rm vpsed$$
82599 echo 'MULTISUBDIR =' >> $ac_file
82600 ml_norecursion=yes
82601 . ${multi_basedir}/config-ml.in
82602 { ml_norecursion=; unset ml_norecursion;}
82603 ;;
82604 "src/Makefile":F) cat > vpsed$$ << \_EOF
82605 s!`test -f '$<' || echo '$(srcdir)/'`!!
82606 _EOF
82607 sed -f vpsed$$ $ac_file > tmp$$
82608 mv tmp$$ $ac_file
82609 rm vpsed$$
82610 echo 'MULTISUBDIR =' >> $ac_file
82611 ml_norecursion=yes
82612 . ${multi_basedir}/config-ml.in
82613 { ml_norecursion=; unset ml_norecursion;}
82614 ;;
82615 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
82616 s!`test -f '$<' || echo '$(srcdir)/'`!!
82617 _EOF
82618 sed -f vpsed$$ $ac_file > tmp$$
82619 mv tmp$$ $ac_file
82620 rm vpsed$$
82621 echo 'MULTISUBDIR =' >> $ac_file
82622 ml_norecursion=yes
82623 . ${multi_basedir}/config-ml.in
82624 { ml_norecursion=; unset ml_norecursion;}
82625 ;;
82626 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
82627 s!`test -f '$<' || echo '$(srcdir)/'`!!
82628 _EOF
82629 sed -f vpsed$$ $ac_file > tmp$$
82630 mv tmp$$ $ac_file
82631 rm vpsed$$
82632 echo 'MULTISUBDIR =' >> $ac_file
82633 ml_norecursion=yes
82634 . ${multi_basedir}/config-ml.in
82635 { ml_norecursion=; unset ml_norecursion;}
82636 ;;
82637 "doc/Makefile":F) cat > vpsed$$ << \_EOF
82638 s!`test -f '$<' || echo '$(srcdir)/'`!!
82639 _EOF
82640 sed -f vpsed$$ $ac_file > tmp$$
82641 mv tmp$$ $ac_file
82642 rm vpsed$$
82643 echo 'MULTISUBDIR =' >> $ac_file
82644 ml_norecursion=yes
82645 . ${multi_basedir}/config-ml.in
82646 { ml_norecursion=; unset ml_norecursion;}
82647 ;;
82648 "po/Makefile":F) cat > vpsed$$ << \_EOF
82649 s!`test -f '$<' || echo '$(srcdir)/'`!!
82650 _EOF
82651 sed -f vpsed$$ $ac_file > tmp$$
82652 mv tmp$$ $ac_file
82653 rm vpsed$$
82654 echo 'MULTISUBDIR =' >> $ac_file
82655 ml_norecursion=yes
82656 . ${multi_basedir}/config-ml.in
82657 { ml_norecursion=; unset ml_norecursion;}
82658 ;;
82659 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
82660 s!`test -f '$<' || echo '$(srcdir)/'`!!
82661 _EOF
82662 sed -f vpsed$$ $ac_file > tmp$$
82663 mv tmp$$ $ac_file
82664 rm vpsed$$
82665 echo 'MULTISUBDIR =' >> $ac_file
82666 ml_norecursion=yes
82667 . ${multi_basedir}/config-ml.in
82668 { ml_norecursion=; unset ml_norecursion;}
82669 ;;
82670 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
82671
82672 esac
82673 done # for ac_tag
82674
82675
82676 as_fn_exit 0
82677 _ACEOF
82678 ac_clean_files=$ac_clean_files_save
82679
82680 test $ac_write_fail = 0 ||
82681 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
82682
82683
82684 # configure is writing to config.log, and then calls config.status.
82685 # config.status does its own redirection, appending to config.log.
82686 # Unfortunately, on DOS this fails, as config.log is still kept open
82687 # by configure, so config.status won't be able to write to it; its
82688 # output is simply discarded. So we exec the FD to /dev/null,
82689 # effectively closing config.log, so it can be properly (re)opened and
82690 # appended to by config.status. When coming back to configure, we
82691 # need to make the FD available again.
82692 if test "$no_create" != yes; then
82693 ac_cs_success=:
82694 ac_config_status_args=
82695 test "$silent" = yes &&
82696 ac_config_status_args="$ac_config_status_args --quiet"
82697 exec 5>/dev/null
82698 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
82699 exec 5>>config.log
82700 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
82701 # would make configure fail if this is the last instruction.
82702 $ac_cs_success || as_fn_exit $?
82703 fi
82704 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
82705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
82706 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
82707 fi
82708