Simplify and clean up library literals.
[gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148 esac
149 fi
150 "
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165 exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
185 fi
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
197 /*)
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
206 fi
207 fi
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241 fi
242 exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260 { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269 return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
307 q
308 }
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)$/{
314 s//\1/
315 q
316 }
317 /^X\(\/\).*/{
318 s//\1/
319 q
320 }
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
337 {
338 eval $1+=\$2
339 }'
340 else
341 as_fn_append ()
342 {
343 eval $1=\$$1\$2
344 }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
354 {
355 as_val=$(( $* ))
356 }'
357 else
358 as_fn_arith ()
359 {
360 as_val=`expr "$@" || test $? -eq 1`
361 }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376 fi
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
407 q
408 }
409 /^X\/\(\/\/\)$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\).*/{
414 s//\1/
415 q
416 }
417 s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
433 p
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
439 b
440 :lineno
441 N
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
467 *)
468 ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
491 fi
492 else
493 as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
512 fi
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
524 '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
637 DOT
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_WERROR_FALSE
668 ENABLE_WERROR_TRUE
669 ENABLE_PYTHONDIR_FALSE
670 ENABLE_PYTHONDIR_TRUE
671 python_mod_dir
672 ENABLE_EXTERN_TEMPLATE_FALSE
673 ENABLE_EXTERN_TEMPLATE_TRUE
674 EXTRA_CXX_FLAGS
675 GLIBCXX_BUILD_DEBUG_FALSE
676 GLIBCXX_BUILD_DEBUG_TRUE
677 DEBUG_FLAGS
678 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
679 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
680 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
681 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
682 GLIBCXX_C_HEADERS_C_STD_FALSE
683 GLIBCXX_C_HEADERS_C_STD_TRUE
684 GLIBCXX_C_HEADERS_C_FALSE
685 GLIBCXX_C_HEADERS_C_TRUE
686 C_INCLUDE_DIR
687 ALLOCATOR_NAME
688 ALLOCATOR_H
689 CLOCALE_INTERNAL_H
690 CLOCALE_CC
691 CTIME_CC
692 CTIME_H
693 CNUMERIC_CC
694 CMONEY_CC
695 CMESSAGES_CC
696 CCTYPE_CC
697 CCOLLATE_CC
698 CCODECVT_CC
699 CMESSAGES_H
700 CLOCALE_H
701 USE_NLS
702 glibcxx_localedir
703 glibcxx_POFILES
704 glibcxx_MOFILES
705 check_msgfmt
706 BASIC_FILE_CC
707 BASIC_FILE_H
708 CSTDIO_H
709 SECTION_FLAGS
710 WERROR
711 thread_header
712 glibcxx_PCHFLAGS
713 GLIBCXX_BUILD_PCH_FALSE
714 GLIBCXX_BUILD_PCH_TRUE
715 GLIBCXX_HOSTED_FALSE
716 GLIBCXX_HOSTED_TRUE
717 glibcxx_compiler_shared_flag
718 glibcxx_compiler_pic_flag
719 glibcxx_lt_pic_flag
720 enable_static
721 enable_shared
722 lt_host_flags
723 CXXCPP
724 OTOOL64
725 OTOOL
726 LIPO
727 NMEDIT
728 DSYMUTIL
729 OBJDUMP
730 NM
731 ac_ct_DUMPBIN
732 DUMPBIN
733 LD
734 FGREP
735 SED
736 LIBTOOL
737 EGREP
738 GREP
739 CPP
740 MAINT
741 MAINTAINER_MODE_FALSE
742 MAINTAINER_MODE_TRUE
743 RANLIB
744 AR
745 AS
746 LN_S
747 toplevel_srcdir
748 toplevel_builddir
749 glibcxx_srcdir
750 glibcxx_builddir
751 ac_ct_CXX
752 CXXFLAGS
753 CXX
754 OBJEXT
755 EXEEXT
756 ac_ct_CC
757 CPPFLAGS
758 LDFLAGS
759 CFLAGS
760 CC
761 am__untar
762 am__tar
763 AMTAR
764 am__leading_dot
765 SET_MAKE
766 AWK
767 mkdir_p
768 MKDIR_P
769 INSTALL_STRIP_PROGRAM
770 STRIP
771 install_sh
772 MAKEINFO
773 AUTOHEADER
774 AUTOMAKE
775 AUTOCONF
776 ACLOCAL
777 VERSION
778 PACKAGE
779 CYGPATH_W
780 am__isrc
781 INSTALL_DATA
782 INSTALL_SCRIPT
783 INSTALL_PROGRAM
784 target_os
785 target_vendor
786 target_cpu
787 target
788 host_os
789 host_vendor
790 host_cpu
791 host
792 build_os
793 build_vendor
794 build_cpu
795 build
796 multi_basedir
797 target_alias
798 host_alias
799 build_alias
800 LIBS
801 ECHO_T
802 ECHO_N
803 ECHO_C
804 DEFS
805 mandir
806 localedir
807 libdir
808 psdir
809 pdfdir
810 dvidir
811 htmldir
812 infodir
813 docdir
814 oldincludedir
815 includedir
816 localstatedir
817 sharedstatedir
818 sysconfdir
819 datadir
820 datarootdir
821 libexecdir
822 sbindir
823 bindir
824 program_transform_name
825 prefix
826 exec_prefix
827 PACKAGE_URL
828 PACKAGE_BUGREPORT
829 PACKAGE_STRING
830 PACKAGE_VERSION
831 PACKAGE_TARNAME
832 PACKAGE_NAME
833 PATH_SEPARATOR
834 SHELL'
835 ac_subst_files=''
836 ac_user_opts='
837 enable_option_checking
838 enable_multilib
839 with_target_subdir
840 with_cross_host
841 with_newlib
842 enable_maintainer_mode
843 enable_shared
844 enable_static
845 with_pic
846 enable_fast_install
847 with_gnu_ld
848 enable_libtool_lock
849 enable_hosted_libstdcxx
850 enable_libstdcxx_verbose
851 enable_sjlj_exceptions
852 enable_libstdcxx_pch
853 enable_cstdio
854 enable_clocale
855 enable_nls
856 enable_libstdcxx_allocator
857 enable_cheaders
858 enable_long_long
859 enable_wchar_t
860 enable_c99
861 enable_concept_checks
862 enable_libstdcxx_debug_flags
863 enable_libstdcxx_debug
864 enable_cxx_flags
865 enable_fully_dynamic_string
866 enable_extern_template
867 with_python_dir
868 enable_werror
869 enable_libstdcxx_time
870 enable_tls
871 enable_rpath
872 with_libiconv_prefix
873 with_system_libunwind
874 enable_linux_futex
875 enable_symvers
876 enable_libstdcxx_visibility
877 enable_libstdcxx_threads
878 with_gxx_include_dir
879 enable_version_specific_runtime_libs
880 '
881 ac_precious_vars='build_alias
882 host_alias
883 target_alias
884 CC
885 CFLAGS
886 LDFLAGS
887 LIBS
888 CPPFLAGS
889 CXX
890 CXXFLAGS
891 CCC
892 CPP
893 CXXCPP
894 CXXFILT'
895
896
897 # Initialize some variables set by options.
898 ac_init_help=
899 ac_init_version=false
900 ac_unrecognized_opts=
901 ac_unrecognized_sep=
902 # The variables have the same names as the options, with
903 # dashes changed to underlines.
904 cache_file=/dev/null
905 exec_prefix=NONE
906 no_create=
907 no_recursion=
908 prefix=NONE
909 program_prefix=NONE
910 program_suffix=NONE
911 program_transform_name=s,x,x,
912 silent=
913 site=
914 srcdir=
915 verbose=
916 x_includes=NONE
917 x_libraries=NONE
918
919 # Installation directory options.
920 # These are left unexpanded so users can "make install exec_prefix=/foo"
921 # and all the variables that are supposed to be based on exec_prefix
922 # by default will actually change.
923 # Use braces instead of parens because sh, perl, etc. also accept them.
924 # (The list follows the same order as the GNU Coding Standards.)
925 bindir='${exec_prefix}/bin'
926 sbindir='${exec_prefix}/sbin'
927 libexecdir='${exec_prefix}/libexec'
928 datarootdir='${prefix}/share'
929 datadir='${datarootdir}'
930 sysconfdir='${prefix}/etc'
931 sharedstatedir='${prefix}/com'
932 localstatedir='${prefix}/var'
933 includedir='${prefix}/include'
934 oldincludedir='/usr/include'
935 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
936 infodir='${datarootdir}/info'
937 htmldir='${docdir}'
938 dvidir='${docdir}'
939 pdfdir='${docdir}'
940 psdir='${docdir}'
941 libdir='${exec_prefix}/lib'
942 localedir='${datarootdir}/locale'
943 mandir='${datarootdir}/man'
944
945 ac_prev=
946 ac_dashdash=
947 for ac_option
948 do
949 # If the previous option needs an argument, assign it.
950 if test -n "$ac_prev"; then
951 eval $ac_prev=\$ac_option
952 ac_prev=
953 continue
954 fi
955
956 case $ac_option in
957 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958 *) ac_optarg=yes ;;
959 esac
960
961 # Accept the important Cygnus configure options, so we can diagnose typos.
962
963 case $ac_dashdash$ac_option in
964 --)
965 ac_dashdash=yes ;;
966
967 -bindir | --bindir | --bindi | --bind | --bin | --bi)
968 ac_prev=bindir ;;
969 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
970 bindir=$ac_optarg ;;
971
972 -build | --build | --buil | --bui | --bu)
973 ac_prev=build_alias ;;
974 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
975 build_alias=$ac_optarg ;;
976
977 -cache-file | --cache-file | --cache-fil | --cache-fi \
978 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
979 ac_prev=cache_file ;;
980 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
981 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
982 cache_file=$ac_optarg ;;
983
984 --config-cache | -C)
985 cache_file=config.cache ;;
986
987 -datadir | --datadir | --datadi | --datad)
988 ac_prev=datadir ;;
989 -datadir=* | --datadir=* | --datadi=* | --datad=*)
990 datadir=$ac_optarg ;;
991
992 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
993 | --dataroo | --dataro | --datar)
994 ac_prev=datarootdir ;;
995 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
996 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
997 datarootdir=$ac_optarg ;;
998
999 -disable-* | --disable-*)
1000 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003 as_fn_error "invalid feature name: $ac_useropt"
1004 ac_useropt_orig=$ac_useropt
1005 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006 case $ac_user_opts in
1007 *"
1008 "enable_$ac_useropt"
1009 "*) ;;
1010 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1011 ac_unrecognized_sep=', ';;
1012 esac
1013 eval enable_$ac_useropt=no ;;
1014
1015 -docdir | --docdir | --docdi | --doc | --do)
1016 ac_prev=docdir ;;
1017 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1018 docdir=$ac_optarg ;;
1019
1020 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1021 ac_prev=dvidir ;;
1022 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1023 dvidir=$ac_optarg ;;
1024
1025 -enable-* | --enable-*)
1026 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 as_fn_error "invalid feature name: $ac_useropt"
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1033 *"
1034 "enable_$ac_useropt"
1035 "*) ;;
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1038 esac
1039 eval enable_$ac_useropt=\$ac_optarg ;;
1040
1041 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1042 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1043 | --exec | --exe | --ex)
1044 ac_prev=exec_prefix ;;
1045 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1046 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1047 | --exec=* | --exe=* | --ex=*)
1048 exec_prefix=$ac_optarg ;;
1049
1050 -gas | --gas | --ga | --g)
1051 # Obsolete; use --with-gas.
1052 with_gas=yes ;;
1053
1054 -help | --help | --hel | --he | -h)
1055 ac_init_help=long ;;
1056 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1057 ac_init_help=recursive ;;
1058 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1059 ac_init_help=short ;;
1060
1061 -host | --host | --hos | --ho)
1062 ac_prev=host_alias ;;
1063 -host=* | --host=* | --hos=* | --ho=*)
1064 host_alias=$ac_optarg ;;
1065
1066 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1067 ac_prev=htmldir ;;
1068 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1069 | --ht=*)
1070 htmldir=$ac_optarg ;;
1071
1072 -includedir | --includedir | --includedi | --included | --include \
1073 | --includ | --inclu | --incl | --inc)
1074 ac_prev=includedir ;;
1075 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1076 | --includ=* | --inclu=* | --incl=* | --inc=*)
1077 includedir=$ac_optarg ;;
1078
1079 -infodir | --infodir | --infodi | --infod | --info | --inf)
1080 ac_prev=infodir ;;
1081 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1082 infodir=$ac_optarg ;;
1083
1084 -libdir | --libdir | --libdi | --libd)
1085 ac_prev=libdir ;;
1086 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1087 libdir=$ac_optarg ;;
1088
1089 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1090 | --libexe | --libex | --libe)
1091 ac_prev=libexecdir ;;
1092 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1093 | --libexe=* | --libex=* | --libe=*)
1094 libexecdir=$ac_optarg ;;
1095
1096 -localedir | --localedir | --localedi | --localed | --locale)
1097 ac_prev=localedir ;;
1098 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1099 localedir=$ac_optarg ;;
1100
1101 -localstatedir | --localstatedir | --localstatedi | --localstated \
1102 | --localstate | --localstat | --localsta | --localst | --locals)
1103 ac_prev=localstatedir ;;
1104 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1105 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1106 localstatedir=$ac_optarg ;;
1107
1108 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1109 ac_prev=mandir ;;
1110 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1111 mandir=$ac_optarg ;;
1112
1113 -nfp | --nfp | --nf)
1114 # Obsolete; use --without-fp.
1115 with_fp=no ;;
1116
1117 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1118 | --no-cr | --no-c | -n)
1119 no_create=yes ;;
1120
1121 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1122 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1123 no_recursion=yes ;;
1124
1125 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1126 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1127 | --oldin | --oldi | --old | --ol | --o)
1128 ac_prev=oldincludedir ;;
1129 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1130 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1131 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1132 oldincludedir=$ac_optarg ;;
1133
1134 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1135 ac_prev=prefix ;;
1136 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1137 prefix=$ac_optarg ;;
1138
1139 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1140 | --program-pre | --program-pr | --program-p)
1141 ac_prev=program_prefix ;;
1142 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1143 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1144 program_prefix=$ac_optarg ;;
1145
1146 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1147 | --program-suf | --program-su | --program-s)
1148 ac_prev=program_suffix ;;
1149 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1150 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1151 program_suffix=$ac_optarg ;;
1152
1153 -program-transform-name | --program-transform-name \
1154 | --program-transform-nam | --program-transform-na \
1155 | --program-transform-n | --program-transform- \
1156 | --program-transform | --program-transfor \
1157 | --program-transfo | --program-transf \
1158 | --program-trans | --program-tran \
1159 | --progr-tra | --program-tr | --program-t)
1160 ac_prev=program_transform_name ;;
1161 -program-transform-name=* | --program-transform-name=* \
1162 | --program-transform-nam=* | --program-transform-na=* \
1163 | --program-transform-n=* | --program-transform-=* \
1164 | --program-transform=* | --program-transfor=* \
1165 | --program-transfo=* | --program-transf=* \
1166 | --program-trans=* | --program-tran=* \
1167 | --progr-tra=* | --program-tr=* | --program-t=*)
1168 program_transform_name=$ac_optarg ;;
1169
1170 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1171 ac_prev=pdfdir ;;
1172 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1173 pdfdir=$ac_optarg ;;
1174
1175 -psdir | --psdir | --psdi | --psd | --ps)
1176 ac_prev=psdir ;;
1177 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1178 psdir=$ac_optarg ;;
1179
1180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1181 | -silent | --silent | --silen | --sile | --sil)
1182 silent=yes ;;
1183
1184 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1185 ac_prev=sbindir ;;
1186 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1187 | --sbi=* | --sb=*)
1188 sbindir=$ac_optarg ;;
1189
1190 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1191 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1192 | --sharedst | --shareds | --shared | --share | --shar \
1193 | --sha | --sh)
1194 ac_prev=sharedstatedir ;;
1195 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1196 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1197 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1198 | --sha=* | --sh=*)
1199 sharedstatedir=$ac_optarg ;;
1200
1201 -site | --site | --sit)
1202 ac_prev=site ;;
1203 -site=* | --site=* | --sit=*)
1204 site=$ac_optarg ;;
1205
1206 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1207 ac_prev=srcdir ;;
1208 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1209 srcdir=$ac_optarg ;;
1210
1211 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1212 | --syscon | --sysco | --sysc | --sys | --sy)
1213 ac_prev=sysconfdir ;;
1214 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1215 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1216 sysconfdir=$ac_optarg ;;
1217
1218 -target | --target | --targe | --targ | --tar | --ta | --t)
1219 ac_prev=target_alias ;;
1220 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1221 target_alias=$ac_optarg ;;
1222
1223 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1224 verbose=yes ;;
1225
1226 -version | --version | --versio | --versi | --vers | -V)
1227 ac_init_version=: ;;
1228
1229 -with-* | --with-*)
1230 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1233 as_fn_error "invalid package name: $ac_useropt"
1234 ac_useropt_orig=$ac_useropt
1235 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236 case $ac_user_opts in
1237 *"
1238 "with_$ac_useropt"
1239 "*) ;;
1240 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1241 ac_unrecognized_sep=', ';;
1242 esac
1243 eval with_$ac_useropt=\$ac_optarg ;;
1244
1245 -without-* | --without-*)
1246 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1249 as_fn_error "invalid package name: $ac_useropt"
1250 ac_useropt_orig=$ac_useropt
1251 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252 case $ac_user_opts in
1253 *"
1254 "with_$ac_useropt"
1255 "*) ;;
1256 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1257 ac_unrecognized_sep=', ';;
1258 esac
1259 eval with_$ac_useropt=no ;;
1260
1261 --x)
1262 # Obsolete; use --with-x.
1263 with_x=yes ;;
1264
1265 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1266 | --x-incl | --x-inc | --x-in | --x-i)
1267 ac_prev=x_includes ;;
1268 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1269 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1270 x_includes=$ac_optarg ;;
1271
1272 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1273 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1274 ac_prev=x_libraries ;;
1275 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1276 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1277 x_libraries=$ac_optarg ;;
1278
1279 -*) as_fn_error "unrecognized option: \`$ac_option'
1280 Try \`$0 --help' for more information."
1281 ;;
1282
1283 *=*)
1284 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1285 # Reject names that are not valid shell variable names.
1286 case $ac_envvar in #(
1287 '' | [0-9]* | *[!_$as_cr_alnum]* )
1288 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1289 esac
1290 eval $ac_envvar=\$ac_optarg
1291 export $ac_envvar ;;
1292
1293 *)
1294 # FIXME: should be removed in autoconf 3.0.
1295 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1296 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1297 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1298 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1299 ;;
1300
1301 esac
1302 done
1303
1304 if test -n "$ac_prev"; then
1305 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1306 as_fn_error "missing argument to $ac_option"
1307 fi
1308
1309 if test -n "$ac_unrecognized_opts"; then
1310 case $enable_option_checking in
1311 no) ;;
1312 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1313 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1314 esac
1315 fi
1316
1317 # Check all directory arguments for consistency.
1318 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1319 datadir sysconfdir sharedstatedir localstatedir includedir \
1320 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1321 libdir localedir mandir
1322 do
1323 eval ac_val=\$$ac_var
1324 # Remove trailing slashes.
1325 case $ac_val in
1326 */ )
1327 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1328 eval $ac_var=\$ac_val;;
1329 esac
1330 # Be sure to have absolute directory names.
1331 case $ac_val in
1332 [\\/$]* | ?:[\\/]* ) continue;;
1333 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1334 esac
1335 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1336 done
1337
1338 # There might be people who depend on the old broken behavior: `$host'
1339 # used to hold the argument of --host etc.
1340 # FIXME: To remove some day.
1341 build=$build_alias
1342 host=$host_alias
1343 target=$target_alias
1344
1345 # FIXME: To remove some day.
1346 if test "x$host_alias" != x; then
1347 if test "x$build_alias" = x; then
1348 cross_compiling=maybe
1349 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1350 If a cross compiler is detected then cross compile mode will be used." >&2
1351 elif test "x$build_alias" != "x$host_alias"; then
1352 cross_compiling=yes
1353 fi
1354 fi
1355
1356 ac_tool_prefix=
1357 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1358
1359 test "$silent" = yes && exec 6>/dev/null
1360
1361
1362 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1363 ac_ls_di=`ls -di .` &&
1364 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1365 as_fn_error "working directory cannot be determined"
1366 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1367 as_fn_error "pwd does not report name of working directory"
1368
1369
1370 # Find the source files, if location was not specified.
1371 if test -z "$srcdir"; then
1372 ac_srcdir_defaulted=yes
1373 # Try the directory containing this script, then the parent directory.
1374 ac_confdir=`$as_dirname -- "$as_myself" ||
1375 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1376 X"$as_myself" : 'X\(//\)[^/]' \| \
1377 X"$as_myself" : 'X\(//\)$' \| \
1378 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1379 $as_echo X"$as_myself" |
1380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1381 s//\1/
1382 q
1383 }
1384 /^X\(\/\/\)[^/].*/{
1385 s//\1/
1386 q
1387 }
1388 /^X\(\/\/\)$/{
1389 s//\1/
1390 q
1391 }
1392 /^X\(\/\).*/{
1393 s//\1/
1394 q
1395 }
1396 s/.*/./; q'`
1397 srcdir=$ac_confdir
1398 if test ! -r "$srcdir/$ac_unique_file"; then
1399 srcdir=..
1400 fi
1401 else
1402 ac_srcdir_defaulted=no
1403 fi
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1406 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1407 fi
1408 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1409 ac_abs_confdir=`(
1410 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1411 pwd)`
1412 # When building in place, set srcdir=.
1413 if test "$ac_abs_confdir" = "$ac_pwd"; then
1414 srcdir=.
1415 fi
1416 # Remove unnecessary trailing slashes from srcdir.
1417 # Double slashes in file names in object file debugging info
1418 # mess up M-x gdb in Emacs.
1419 case $srcdir in
1420 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1421 esac
1422 for ac_var in $ac_precious_vars; do
1423 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1424 eval ac_env_${ac_var}_value=\$${ac_var}
1425 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1426 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1427 done
1428
1429 #
1430 # Report the --help message.
1431 #
1432 if test "$ac_init_help" = "long"; then
1433 # Omit some internal or obsolete options to make the list less imposing.
1434 # This message is too long to be a string in the A/UX 3.1 sh.
1435 cat <<_ACEOF
1436 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1437
1438 Usage: $0 [OPTION]... [VAR=VALUE]...
1439
1440 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1441 VAR=VALUE. See below for descriptions of some of the useful variables.
1442
1443 Defaults for the options are specified in brackets.
1444
1445 Configuration:
1446 -h, --help display this help and exit
1447 --help=short display options specific to this package
1448 --help=recursive display the short help of all the included packages
1449 -V, --version display version information and exit
1450 -q, --quiet, --silent do not print \`checking...' messages
1451 --cache-file=FILE cache test results in FILE [disabled]
1452 -C, --config-cache alias for \`--cache-file=config.cache'
1453 -n, --no-create do not create output files
1454 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1455
1456 Installation directories:
1457 --prefix=PREFIX install architecture-independent files in PREFIX
1458 [$ac_default_prefix]
1459 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1460 [PREFIX]
1461
1462 By default, \`make install' will install all the files in
1463 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1464 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1465 for instance \`--prefix=\$HOME'.
1466
1467 For better control, use the options below.
1468
1469 Fine tuning of the installation directories:
1470 --bindir=DIR user executables [EPREFIX/bin]
1471 --sbindir=DIR system admin executables [EPREFIX/sbin]
1472 --libexecdir=DIR program executables [EPREFIX/libexec]
1473 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1474 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1475 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1476 --libdir=DIR object code libraries [EPREFIX/lib]
1477 --includedir=DIR C header files [PREFIX/include]
1478 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1479 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1480 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1481 --infodir=DIR info documentation [DATAROOTDIR/info]
1482 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1483 --mandir=DIR man documentation [DATAROOTDIR/man]
1484 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1485 --htmldir=DIR html documentation [DOCDIR]
1486 --dvidir=DIR dvi documentation [DOCDIR]
1487 --pdfdir=DIR pdf documentation [DOCDIR]
1488 --psdir=DIR ps documentation [DOCDIR]
1489 _ACEOF
1490
1491 cat <<\_ACEOF
1492
1493 Program names:
1494 --program-prefix=PREFIX prepend PREFIX to installed program names
1495 --program-suffix=SUFFIX append SUFFIX to installed program names
1496 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1497
1498 System types:
1499 --build=BUILD configure for building on BUILD [guessed]
1500 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1501 --target=TARGET configure for building compilers for TARGET [HOST]
1502 _ACEOF
1503 fi
1504
1505 if test -n "$ac_init_help"; then
1506 case $ac_init_help in
1507 short | recursive ) echo "Configuration of package-unused version-unused:";;
1508 esac
1509 cat <<\_ACEOF
1510
1511 Optional Features:
1512 --disable-option-checking ignore unrecognized --enable/--with options
1513 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1514 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1515 --enable-multilib build many library versions (default)
1516 --enable-maintainer-mode enable make rules and dependencies not useful
1517 (and sometimes confusing) to the casual installer
1518 --enable-shared[=PKGS] build shared libraries [default=yes]
1519 --enable-static[=PKGS] build static libraries [default=yes]
1520 --enable-fast-install[=PKGS]
1521 optimize for fast installation [default=yes]
1522 --disable-libtool-lock avoid locking (might break parallel builds)
1523 --disable-hosted-libstdcxx
1524 only build freestanding C++ runtime support
1525 --disable-libstdcxx-verbose
1526 disable termination messages to standard error
1527 --enable-sjlj-exceptions
1528 force use of builtin_setjmp for exceptions
1529 [default=auto]
1530 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1531 [default=$is_hosted]
1532 --enable-cstdio[=PACKAGE]
1533 use target-specific I/O package [default=stdio]
1534 --enable-clocale[=MODEL]
1535 use MODEL for target locale package [default=auto]
1536 --enable-nls use Native Language Support (default)
1537 --enable-libstdcxx-allocator[=KIND]
1538 use KIND for target std::allocator base
1539 [default=auto]
1540 --enable-cheaders[=KIND]
1541 construct "C" headers for g++ [default=$c_model]
1542 --enable-long-long enable template specializations for 'long long'
1543 [default=yes]
1544 --enable-wchar_t enable template specializations for 'wchar_t'
1545 [default=yes]
1546 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1547 --enable-concept-checks use Boost-derived template checks [default=no]
1548 --enable-libstdcxx-debug-flags=FLAGS
1549 pass compiler FLAGS when building debug library
1550 [default="-gdwarf-4 -g3 -O0"]
1551 --enable-libstdcxx-debug
1552 build extra debug library [default=no]
1553 --enable-cxx-flags=FLAGS
1554 pass compiler FLAGS when building library [default=]
1555 --enable-fully-dynamic-string
1556 do not put empty strings in per-process static
1557 memory [default=no]
1558 --enable-extern-template
1559 enable extern template [default=yes]
1560 --enable-werror turns on -Werror [default=yes]
1561 --enable-libstdcxx-time[=KIND]
1562 use KIND for check type [default=auto]
1563 --enable-tls Use thread-local storage [default=yes]
1564 --disable-rpath do not hardcode runtime library paths
1565 --enable-linux-futex use the Linux futex system call [default=default]
1566 --enable-symvers[=STYLE]
1567 enables symbol versioning of the shared library
1568 [default=yes]
1569 --enable-libstdcxx-visibility
1570 enables visibility safe usage [default=yes]
1571 --enable-libstdcxx-threads
1572 enable C++11 threads support [default=auto]
1573 --enable-version-specific-runtime-libs
1574 Specify that runtime libraries should be installed
1575 in a compiler-specific directory
1576
1577 Optional Packages:
1578 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1579 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1580 --with-target-subdir=SUBDIR
1581 configuring in a subdirectory
1582 --with-cross-host=HOST configuring with a cross compiler
1583 --with-newlib assume newlib as a system C library
1584 --with-pic try to use only PIC/non-PIC objects [default=use
1585 both]
1586 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1587 --with-python-dir the location to install Python modules. This path is
1588 relative starting from the prefix.
1589 --with-gnu-ld assume the C compiler uses GNU ld default=no
1590 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1591 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1592 --with-system-libunwind use installed libunwind
1593 --with-gxx-include-dir=DIR
1594 installation directory for include files
1595
1596 Some influential environment variables:
1597 CC C compiler command
1598 CFLAGS C compiler flags
1599 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1600 nonstandard directory <lib dir>
1601 LIBS libraries to pass to the linker, e.g. -l<library>
1602 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1603 you have headers in a nonstandard directory <include dir>
1604 CXX C++ compiler command
1605 CXXFLAGS C++ compiler flags
1606 CPP C preprocessor
1607 CXXCPP C++ preprocessor
1608 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1609 `c++filt', `gc++filt' on PATH.
1610
1611 Use these variables to override the choices made by `configure' or to help
1612 it to find libraries and programs with nonstandard names/locations.
1613
1614 Report bugs to the package provider.
1615 _ACEOF
1616 ac_status=$?
1617 fi
1618
1619 if test "$ac_init_help" = "recursive"; then
1620 # If there are subdirs, report their specific --help.
1621 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1622 test -d "$ac_dir" ||
1623 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1624 continue
1625 ac_builddir=.
1626
1627 case "$ac_dir" in
1628 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1629 *)
1630 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1631 # A ".." for each directory in $ac_dir_suffix.
1632 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1633 case $ac_top_builddir_sub in
1634 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1636 esac ;;
1637 esac
1638 ac_abs_top_builddir=$ac_pwd
1639 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1640 # for backward compatibility:
1641 ac_top_builddir=$ac_top_build_prefix
1642
1643 case $srcdir in
1644 .) # We are building in place.
1645 ac_srcdir=.
1646 ac_top_srcdir=$ac_top_builddir_sub
1647 ac_abs_top_srcdir=$ac_pwd ;;
1648 [\\/]* | ?:[\\/]* ) # Absolute name.
1649 ac_srcdir=$srcdir$ac_dir_suffix;
1650 ac_top_srcdir=$srcdir
1651 ac_abs_top_srcdir=$srcdir ;;
1652 *) # Relative name.
1653 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1654 ac_top_srcdir=$ac_top_build_prefix$srcdir
1655 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1656 esac
1657 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1658
1659 cd "$ac_dir" || { ac_status=$?; continue; }
1660 # Check for guested configure.
1661 if test -f "$ac_srcdir/configure.gnu"; then
1662 echo &&
1663 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1664 elif test -f "$ac_srcdir/configure"; then
1665 echo &&
1666 $SHELL "$ac_srcdir/configure" --help=recursive
1667 else
1668 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1669 fi || ac_status=$?
1670 cd "$ac_pwd" || { ac_status=$?; break; }
1671 done
1672 fi
1673
1674 test -n "$ac_init_help" && exit $ac_status
1675 if $ac_init_version; then
1676 cat <<\_ACEOF
1677 package-unused configure version-unused
1678 generated by GNU Autoconf 2.64
1679
1680 Copyright (C) 2009 Free Software Foundation, Inc.
1681 This configure script is free software; the Free Software Foundation
1682 gives unlimited permission to copy, distribute and modify it.
1683 _ACEOF
1684 exit
1685 fi
1686
1687 ## ------------------------ ##
1688 ## Autoconf initialization. ##
1689 ## ------------------------ ##
1690
1691 # ac_fn_c_try_compile LINENO
1692 # --------------------------
1693 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1694 ac_fn_c_try_compile ()
1695 {
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 rm -f conftest.$ac_objext
1698 if { { ac_try="$ac_compile"
1699 case "(($ac_try" in
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1702 esac
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_compile") 2>conftest.err
1706 ac_status=$?
1707 if test -s conftest.err; then
1708 grep -v '^ *+' conftest.err >conftest.er1
1709 cat conftest.er1 >&5
1710 mv -f conftest.er1 conftest.err
1711 fi
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && {
1714 test -z "$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1716 } && test -s conftest.$ac_objext; then :
1717 ac_retval=0
1718 else
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1721
1722 ac_retval=1
1723 fi
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1725 return $ac_retval
1726
1727 } # ac_fn_c_try_compile
1728
1729 # ac_fn_cxx_try_compile LINENO
1730 # ----------------------------
1731 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1732 ac_fn_cxx_try_compile ()
1733 {
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 rm -f conftest.$ac_objext
1736 if { { ac_try="$ac_compile"
1737 case "(($ac_try" in
1738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1740 esac
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_compile") 2>conftest.err
1744 ac_status=$?
1745 if test -s conftest.err; then
1746 grep -v '^ *+' conftest.err >conftest.er1
1747 cat conftest.er1 >&5
1748 mv -f conftest.er1 conftest.err
1749 fi
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && {
1752 test -z "$ac_cxx_werror_flag" ||
1753 test ! -s conftest.err
1754 } && test -s conftest.$ac_objext; then :
1755 ac_retval=0
1756 else
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1759
1760 ac_retval=1
1761 fi
1762 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763 return $ac_retval
1764
1765 } # ac_fn_cxx_try_compile
1766
1767 # ac_fn_c_try_cpp LINENO
1768 # ----------------------
1769 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1770 ac_fn_c_try_cpp ()
1771 {
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 if { { ac_try="$ac_cpp conftest.$ac_ext"
1774 case "(($ac_try" in
1775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776 *) ac_try_echo=$ac_try;;
1777 esac
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1781 ac_status=$?
1782 if test -s conftest.err; then
1783 grep -v '^ *+' conftest.err >conftest.er1
1784 cat conftest.er1 >&5
1785 mv -f conftest.er1 conftest.err
1786 fi
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; } >/dev/null && {
1789 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1790 test ! -s conftest.err
1791 }; then :
1792 ac_retval=0
1793 else
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.$ac_ext >&5
1796
1797 ac_retval=1
1798 fi
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800 return $ac_retval
1801
1802 } # ac_fn_c_try_cpp
1803
1804 # ac_fn_c_try_link LINENO
1805 # -----------------------
1806 # Try to link conftest.$ac_ext, and return whether this succeeded.
1807 ac_fn_c_try_link ()
1808 {
1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810 rm -f conftest.$ac_objext conftest$ac_exeext
1811 if { { ac_try="$ac_link"
1812 case "(($ac_try" in
1813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1814 *) ac_try_echo=$ac_try;;
1815 esac
1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818 (eval "$ac_link") 2>conftest.err
1819 ac_status=$?
1820 if test -s conftest.err; then
1821 grep -v '^ *+' conftest.err >conftest.er1
1822 cat conftest.er1 >&5
1823 mv -f conftest.er1 conftest.err
1824 fi
1825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826 test $ac_status = 0; } && {
1827 test -z "$ac_c_werror_flag" ||
1828 test ! -s conftest.err
1829 } && test -s conftest$ac_exeext && {
1830 test "$cross_compiling" = yes ||
1831 $as_test_x conftest$ac_exeext
1832 }; then :
1833 ac_retval=0
1834 else
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1837
1838 ac_retval=1
1839 fi
1840 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1841 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1842 # interfere with the next link command; also delete a directory that is
1843 # left behind by Apple's compiler. We do this before executing the actions.
1844 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1846 return $ac_retval
1847
1848 } # ac_fn_c_try_link
1849
1850 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1851 # -------------------------------------------------------
1852 # Tests whether HEADER exists and can be compiled using the include files in
1853 # INCLUDES, setting the cache variable VAR accordingly.
1854 ac_fn_c_check_header_compile ()
1855 {
1856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858 $as_echo_n "checking for $2... " >&6; }
1859 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1860 $as_echo_n "(cached) " >&6
1861 else
1862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1864 $4
1865 #include <$2>
1866 _ACEOF
1867 if ac_fn_c_try_compile "$LINENO"; then :
1868 eval "$3=yes"
1869 else
1870 eval "$3=no"
1871 fi
1872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1873 fi
1874 eval ac_res=\$$3
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876 $as_echo "$ac_res" >&6; }
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878
1879 } # ac_fn_c_check_header_compile
1880
1881 # ac_fn_c_try_run LINENO
1882 # ----------------------
1883 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1884 # that executables *can* be run.
1885 ac_fn_c_try_run ()
1886 {
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 if { { ac_try="$ac_link"
1889 case "(($ac_try" in
1890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891 *) ac_try_echo=$ac_try;;
1892 esac
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_link") 2>&5
1896 ac_status=$?
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1899 { { case "(($ac_try" in
1900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1901 *) ac_try_echo=$ac_try;;
1902 esac
1903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 $as_echo "$ac_try_echo"; } >&5
1905 (eval "$ac_try") 2>&5
1906 ac_status=$?
1907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908 test $ac_status = 0; }; }; then :
1909 ac_retval=0
1910 else
1911 $as_echo "$as_me: program exited with status $ac_status" >&5
1912 $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.$ac_ext >&5
1914
1915 ac_retval=$ac_status
1916 fi
1917 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1919 return $ac_retval
1920
1921 } # ac_fn_c_try_run
1922
1923 # ac_fn_c_check_func LINENO FUNC VAR
1924 # ----------------------------------
1925 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1926 ac_fn_c_check_func ()
1927 {
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1932 $as_echo_n "(cached) " >&6
1933 else
1934 if test x$gcc_no_link = xyes; then
1935 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1936 fi
1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h. */
1939 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1941 #define $2 innocuous_$2
1942
1943 /* System header to define __stub macros and hopefully few prototypes,
1944 which can conflict with char $2 (); below.
1945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1946 <limits.h> exists even on freestanding compilers. */
1947
1948 #ifdef __STDC__
1949 # include <limits.h>
1950 #else
1951 # include <assert.h>
1952 #endif
1953
1954 #undef $2
1955
1956 /* Override any GCC internal prototype to avoid an error.
1957 Use char because int might match the return type of a GCC
1958 builtin and then its argument prototype would still apply. */
1959 #ifdef __cplusplus
1960 extern "C"
1961 #endif
1962 char $2 ();
1963 /* The GNU C library defines this for functions which it implements
1964 to always fail with ENOSYS. Some functions are actually named
1965 something starting with __ and the normal name is an alias. */
1966 #if defined __stub_$2 || defined __stub___$2
1967 choke me
1968 #endif
1969
1970 int
1971 main ()
1972 {
1973 return $2 ();
1974 ;
1975 return 0;
1976 }
1977 _ACEOF
1978 if ac_fn_c_try_link "$LINENO"; then :
1979 eval "$3=yes"
1980 else
1981 eval "$3=no"
1982 fi
1983 rm -f core conftest.err conftest.$ac_objext \
1984 conftest$ac_exeext conftest.$ac_ext
1985 fi
1986 eval ac_res=\$$3
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1989 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1990
1991 } # ac_fn_c_check_func
1992
1993 # ac_fn_cxx_try_cpp LINENO
1994 # ------------------------
1995 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1996 ac_fn_cxx_try_cpp ()
1997 {
1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 if { { ac_try="$ac_cpp conftest.$ac_ext"
2000 case "(($ac_try" in
2001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2002 *) ac_try_echo=$ac_try;;
2003 esac
2004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2007 ac_status=$?
2008 if test -s conftest.err; then
2009 grep -v '^ *+' conftest.err >conftest.er1
2010 cat conftest.er1 >&5
2011 mv -f conftest.er1 conftest.err
2012 fi
2013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014 test $ac_status = 0; } >/dev/null && {
2015 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2016 test ! -s conftest.err
2017 }; then :
2018 ac_retval=0
2019 else
2020 $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2022
2023 ac_retval=1
2024 fi
2025 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2026 return $ac_retval
2027
2028 } # ac_fn_cxx_try_cpp
2029
2030 # ac_fn_cxx_try_link LINENO
2031 # -------------------------
2032 # Try to link conftest.$ac_ext, and return whether this succeeded.
2033 ac_fn_cxx_try_link ()
2034 {
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 rm -f conftest.$ac_objext conftest$ac_exeext
2037 if { { ac_try="$ac_link"
2038 case "(($ac_try" in
2039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2040 *) ac_try_echo=$ac_try;;
2041 esac
2042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2043 $as_echo "$ac_try_echo"; } >&5
2044 (eval "$ac_link") 2>conftest.err
2045 ac_status=$?
2046 if test -s conftest.err; then
2047 grep -v '^ *+' conftest.err >conftest.er1
2048 cat conftest.er1 >&5
2049 mv -f conftest.er1 conftest.err
2050 fi
2051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2052 test $ac_status = 0; } && {
2053 test -z "$ac_cxx_werror_flag" ||
2054 test ! -s conftest.err
2055 } && test -s conftest$ac_exeext && {
2056 test "$cross_compiling" = yes ||
2057 $as_test_x conftest$ac_exeext
2058 }; then :
2059 ac_retval=0
2060 else
2061 $as_echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.$ac_ext >&5
2063
2064 ac_retval=1
2065 fi
2066 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2067 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2068 # interfere with the next link command; also delete a directory that is
2069 # left behind by Apple's compiler. We do this before executing the actions.
2070 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2071 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2072 return $ac_retval
2073
2074 } # ac_fn_cxx_try_link
2075
2076 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2077 # -------------------------------------------------------
2078 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2079 # the include files in INCLUDES and setting the cache variable VAR
2080 # accordingly.
2081 ac_fn_c_check_header_mongrel ()
2082 {
2083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086 $as_echo_n "checking for $2... " >&6; }
2087 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2088 $as_echo_n "(cached) " >&6
2089 fi
2090 eval ac_res=\$$3
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092 $as_echo "$ac_res" >&6; }
2093 else
2094 # Is the header compilable?
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2096 $as_echo_n "checking $2 usability... " >&6; }
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2099 $4
2100 #include <$2>
2101 _ACEOF
2102 if ac_fn_c_try_compile "$LINENO"; then :
2103 ac_header_compiler=yes
2104 else
2105 ac_header_compiler=no
2106 fi
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2109 $as_echo "$ac_header_compiler" >&6; }
2110
2111 # Is the header present?
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2113 $as_echo_n "checking $2 presence... " >&6; }
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h. */
2116 #include <$2>
2117 _ACEOF
2118 if ac_fn_c_try_cpp "$LINENO"; then :
2119 ac_header_preproc=yes
2120 else
2121 ac_header_preproc=no
2122 fi
2123 rm -f conftest.err conftest.$ac_ext
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2125 $as_echo "$ac_header_preproc" >&6; }
2126
2127 # So? What about this header?
2128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2129 yes:no: )
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2131 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2133 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2134 ;;
2135 no:yes:* )
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2137 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2139 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2141 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2143 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2145 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2146 ;;
2147 esac
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149 $as_echo_n "checking for $2... " >&6; }
2150 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2151 $as_echo_n "(cached) " >&6
2152 else
2153 eval "$3=\$ac_header_compiler"
2154 fi
2155 eval ac_res=\$$3
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2157 $as_echo "$ac_res" >&6; }
2158 fi
2159 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2160
2161 } # ac_fn_c_check_header_mongrel
2162
2163 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2164 # ---------------------------------------------------------
2165 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2166 # the include files in INCLUDES and setting the cache variable VAR
2167 # accordingly.
2168 ac_fn_cxx_check_header_mongrel ()
2169 {
2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173 $as_echo_n "checking for $2... " >&6; }
2174 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2175 $as_echo_n "(cached) " >&6
2176 fi
2177 eval ac_res=\$$3
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2179 $as_echo "$ac_res" >&6; }
2180 else
2181 # Is the header compilable?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2183 $as_echo_n "checking $2 usability... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h. */
2186 $4
2187 #include <$2>
2188 _ACEOF
2189 if ac_fn_cxx_try_compile "$LINENO"; then :
2190 ac_header_compiler=yes
2191 else
2192 ac_header_compiler=no
2193 fi
2194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2196 $as_echo "$ac_header_compiler" >&6; }
2197
2198 # Is the header present?
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2200 $as_echo_n "checking $2 presence... " >&6; }
2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202 /* end confdefs.h. */
2203 #include <$2>
2204 _ACEOF
2205 if ac_fn_cxx_try_cpp "$LINENO"; then :
2206 ac_header_preproc=yes
2207 else
2208 ac_header_preproc=no
2209 fi
2210 rm -f conftest.err conftest.$ac_ext
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2212 $as_echo "$ac_header_preproc" >&6; }
2213
2214 # So? What about this header?
2215 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2216 yes:no: )
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2218 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2220 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2221 ;;
2222 no:yes:* )
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2224 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2226 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2228 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2230 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2232 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2233 ;;
2234 esac
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2236 $as_echo_n "checking for $2... " >&6; }
2237 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2238 $as_echo_n "(cached) " >&6
2239 else
2240 eval "$3=\$ac_header_compiler"
2241 fi
2242 eval ac_res=\$$3
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2244 $as_echo "$ac_res" >&6; }
2245 fi
2246 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2247
2248 } # ac_fn_cxx_check_header_mongrel
2249
2250 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2251 # --------------------------------------------
2252 # Tries to find the compile-time value of EXPR in a program that includes
2253 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2254 # computed
2255 ac_fn_c_compute_int ()
2256 {
2257 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258 if test "$cross_compiling" = yes; then
2259 # Depending upon the size, compute the lo and hi bounds.
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h. */
2262 $4
2263 int
2264 main ()
2265 {
2266 static int test_array [1 - 2 * !(($2) >= 0)];
2267 test_array [0] = 0
2268
2269 ;
2270 return 0;
2271 }
2272 _ACEOF
2273 if ac_fn_c_try_compile "$LINENO"; then :
2274 ac_lo=0 ac_mid=0
2275 while :; do
2276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h. */
2278 $4
2279 int
2280 main ()
2281 {
2282 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2283 test_array [0] = 0
2284
2285 ;
2286 return 0;
2287 }
2288 _ACEOF
2289 if ac_fn_c_try_compile "$LINENO"; then :
2290 ac_hi=$ac_mid; break
2291 else
2292 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2293 if test $ac_lo -le $ac_mid; then
2294 ac_lo= ac_hi=
2295 break
2296 fi
2297 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2298 fi
2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2300 done
2301 else
2302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303 /* end confdefs.h. */
2304 $4
2305 int
2306 main ()
2307 {
2308 static int test_array [1 - 2 * !(($2) < 0)];
2309 test_array [0] = 0
2310
2311 ;
2312 return 0;
2313 }
2314 _ACEOF
2315 if ac_fn_c_try_compile "$LINENO"; then :
2316 ac_hi=-1 ac_mid=-1
2317 while :; do
2318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h. */
2320 $4
2321 int
2322 main ()
2323 {
2324 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2325 test_array [0] = 0
2326
2327 ;
2328 return 0;
2329 }
2330 _ACEOF
2331 if ac_fn_c_try_compile "$LINENO"; then :
2332 ac_lo=$ac_mid; break
2333 else
2334 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2335 if test $ac_mid -le $ac_hi; then
2336 ac_lo= ac_hi=
2337 break
2338 fi
2339 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2340 fi
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 done
2343 else
2344 ac_lo= ac_hi=
2345 fi
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2347 fi
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 # Binary search between lo and hi bounds.
2350 while test "x$ac_lo" != "x$ac_hi"; do
2351 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h. */
2354 $4
2355 int
2356 main ()
2357 {
2358 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2359 test_array [0] = 0
2360
2361 ;
2362 return 0;
2363 }
2364 _ACEOF
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366 ac_hi=$ac_mid
2367 else
2368 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2369 fi
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 done
2372 case $ac_lo in #((
2373 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2374 '') ac_retval=1 ;;
2375 esac
2376 else
2377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h. */
2379 $4
2380 static long int longval () { return $2; }
2381 static unsigned long int ulongval () { return $2; }
2382 #include <stdio.h>
2383 #include <stdlib.h>
2384 int
2385 main ()
2386 {
2387
2388 FILE *f = fopen ("conftest.val", "w");
2389 if (! f)
2390 return 1;
2391 if (($2) < 0)
2392 {
2393 long int i = longval ();
2394 if (i != ($2))
2395 return 1;
2396 fprintf (f, "%ld", i);
2397 }
2398 else
2399 {
2400 unsigned long int i = ulongval ();
2401 if (i != ($2))
2402 return 1;
2403 fprintf (f, "%lu", i);
2404 }
2405 /* Do not output a trailing newline, as this causes \r\n confusion
2406 on some platforms. */
2407 return ferror (f) || fclose (f) != 0;
2408
2409 ;
2410 return 0;
2411 }
2412 _ACEOF
2413 if ac_fn_c_try_run "$LINENO"; then :
2414 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2415 else
2416 ac_retval=1
2417 fi
2418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2419 conftest.$ac_objext conftest.beam conftest.$ac_ext
2420 rm -f conftest.val
2421
2422 fi
2423 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2424 return $ac_retval
2425
2426 } # ac_fn_c_compute_int
2427
2428 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2429 # -------------------------------------------
2430 # Tests whether TYPE exists after having included INCLUDES, setting cache
2431 # variable VAR accordingly.
2432 ac_fn_c_check_type ()
2433 {
2434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2436 $as_echo_n "checking for $2... " >&6; }
2437 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2438 $as_echo_n "(cached) " >&6
2439 else
2440 eval "$3=no"
2441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442 /* end confdefs.h. */
2443 $4
2444 int
2445 main ()
2446 {
2447 if (sizeof ($2))
2448 return 0;
2449 ;
2450 return 0;
2451 }
2452 _ACEOF
2453 if ac_fn_c_try_compile "$LINENO"; then :
2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2456 $4
2457 int
2458 main ()
2459 {
2460 if (sizeof (($2)))
2461 return 0;
2462 ;
2463 return 0;
2464 }
2465 _ACEOF
2466 if ac_fn_c_try_compile "$LINENO"; then :
2467
2468 else
2469 eval "$3=yes"
2470 fi
2471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2472 fi
2473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2474 fi
2475 eval ac_res=\$$3
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2477 $as_echo "$ac_res" >&6; }
2478 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2479
2480 } # ac_fn_c_check_type
2481 cat >config.log <<_ACEOF
2482 This file contains any messages produced by compilers while
2483 running configure, to aid debugging if configure makes a mistake.
2484
2485 It was created by package-unused $as_me version-unused, which was
2486 generated by GNU Autoconf 2.64. Invocation command line was
2487
2488 $ $0 $@
2489
2490 _ACEOF
2491 exec 5>>config.log
2492 {
2493 cat <<_ASUNAME
2494 ## --------- ##
2495 ## Platform. ##
2496 ## --------- ##
2497
2498 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2499 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2500 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2501 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2502 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2503
2504 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2505 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2506
2507 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2508 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2509 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2510 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2511 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2512 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2513 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2514
2515 _ASUNAME
2516
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH
2519 do
2520 IFS=$as_save_IFS
2521 test -z "$as_dir" && as_dir=.
2522 $as_echo "PATH: $as_dir"
2523 done
2524 IFS=$as_save_IFS
2525
2526 } >&5
2527
2528 cat >&5 <<_ACEOF
2529
2530
2531 ## ----------- ##
2532 ## Core tests. ##
2533 ## ----------- ##
2534
2535 _ACEOF
2536
2537
2538 # Keep a trace of the command line.
2539 # Strip out --no-create and --no-recursion so they do not pile up.
2540 # Strip out --silent because we don't want to record it for future runs.
2541 # Also quote any args containing shell meta-characters.
2542 # Make two passes to allow for proper duplicate-argument suppression.
2543 ac_configure_args=
2544 ac_configure_args0=
2545 ac_configure_args1=
2546 ac_must_keep_next=false
2547 for ac_pass in 1 2
2548 do
2549 for ac_arg
2550 do
2551 case $ac_arg in
2552 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2553 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2554 | -silent | --silent | --silen | --sile | --sil)
2555 continue ;;
2556 *\'*)
2557 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2558 esac
2559 case $ac_pass in
2560 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2561 2)
2562 as_fn_append ac_configure_args1 " '$ac_arg'"
2563 if test $ac_must_keep_next = true; then
2564 ac_must_keep_next=false # Got value, back to normal.
2565 else
2566 case $ac_arg in
2567 *=* | --config-cache | -C | -disable-* | --disable-* \
2568 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2569 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2570 | -with-* | --with-* | -without-* | --without-* | --x)
2571 case "$ac_configure_args0 " in
2572 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2573 esac
2574 ;;
2575 -* ) ac_must_keep_next=true ;;
2576 esac
2577 fi
2578 as_fn_append ac_configure_args " '$ac_arg'"
2579 ;;
2580 esac
2581 done
2582 done
2583 { ac_configure_args0=; unset ac_configure_args0;}
2584 { ac_configure_args1=; unset ac_configure_args1;}
2585
2586 # When interrupted or exit'd, cleanup temporary files, and complete
2587 # config.log. We remove comments because anyway the quotes in there
2588 # would cause problems or look ugly.
2589 # WARNING: Use '\'' to represent an apostrophe within the trap.
2590 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2591 trap 'exit_status=$?
2592 # Save into config.log some information that might help in debugging.
2593 {
2594 echo
2595
2596 cat <<\_ASBOX
2597 ## ---------------- ##
2598 ## Cache variables. ##
2599 ## ---------------- ##
2600 _ASBOX
2601 echo
2602 # The following way of writing the cache mishandles newlines in values,
2603 (
2604 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2605 eval ac_val=\$$ac_var
2606 case $ac_val in #(
2607 *${as_nl}*)
2608 case $ac_var in #(
2609 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2610 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2611 esac
2612 case $ac_var in #(
2613 _ | IFS | as_nl) ;; #(
2614 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2615 *) { eval $ac_var=; unset $ac_var;} ;;
2616 esac ;;
2617 esac
2618 done
2619 (set) 2>&1 |
2620 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2621 *${as_nl}ac_space=\ *)
2622 sed -n \
2623 "s/'\''/'\''\\\\'\'''\''/g;
2624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2625 ;; #(
2626 *)
2627 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2628 ;;
2629 esac |
2630 sort
2631 )
2632 echo
2633
2634 cat <<\_ASBOX
2635 ## ----------------- ##
2636 ## Output variables. ##
2637 ## ----------------- ##
2638 _ASBOX
2639 echo
2640 for ac_var in $ac_subst_vars
2641 do
2642 eval ac_val=\$$ac_var
2643 case $ac_val in
2644 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2645 esac
2646 $as_echo "$ac_var='\''$ac_val'\''"
2647 done | sort
2648 echo
2649
2650 if test -n "$ac_subst_files"; then
2651 cat <<\_ASBOX
2652 ## ------------------- ##
2653 ## File substitutions. ##
2654 ## ------------------- ##
2655 _ASBOX
2656 echo
2657 for ac_var in $ac_subst_files
2658 do
2659 eval ac_val=\$$ac_var
2660 case $ac_val in
2661 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2662 esac
2663 $as_echo "$ac_var='\''$ac_val'\''"
2664 done | sort
2665 echo
2666 fi
2667
2668 if test -s confdefs.h; then
2669 cat <<\_ASBOX
2670 ## ----------- ##
2671 ## confdefs.h. ##
2672 ## ----------- ##
2673 _ASBOX
2674 echo
2675 cat confdefs.h
2676 echo
2677 fi
2678 test "$ac_signal" != 0 &&
2679 $as_echo "$as_me: caught signal $ac_signal"
2680 $as_echo "$as_me: exit $exit_status"
2681 } >&5
2682 rm -f core *.core core.conftest.* &&
2683 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2684 exit $exit_status
2685 ' 0
2686 for ac_signal in 1 2 13 15; do
2687 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2688 done
2689 ac_signal=0
2690
2691 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2692 rm -f -r conftest* confdefs.h
2693
2694 $as_echo "/* confdefs.h */" > confdefs.h
2695
2696 # Predefined preprocessor variables.
2697
2698 cat >>confdefs.h <<_ACEOF
2699 #define PACKAGE_NAME "$PACKAGE_NAME"
2700 _ACEOF
2701
2702 cat >>confdefs.h <<_ACEOF
2703 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2704 _ACEOF
2705
2706 cat >>confdefs.h <<_ACEOF
2707 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2708 _ACEOF
2709
2710 cat >>confdefs.h <<_ACEOF
2711 #define PACKAGE_STRING "$PACKAGE_STRING"
2712 _ACEOF
2713
2714 cat >>confdefs.h <<_ACEOF
2715 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2716 _ACEOF
2717
2718 cat >>confdefs.h <<_ACEOF
2719 #define PACKAGE_URL "$PACKAGE_URL"
2720 _ACEOF
2721
2722
2723 # Let the site file select an alternate cache file if it wants to.
2724 # Prefer an explicitly selected file to automatically selected ones.
2725 ac_site_file1=NONE
2726 ac_site_file2=NONE
2727 if test -n "$CONFIG_SITE"; then
2728 ac_site_file1=$CONFIG_SITE
2729 elif test "x$prefix" != xNONE; then
2730 ac_site_file1=$prefix/share/config.site
2731 ac_site_file2=$prefix/etc/config.site
2732 else
2733 ac_site_file1=$ac_default_prefix/share/config.site
2734 ac_site_file2=$ac_default_prefix/etc/config.site
2735 fi
2736 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2737 do
2738 test "x$ac_site_file" = xNONE && continue
2739 if test -r "$ac_site_file"; then
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2741 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2742 sed 's/^/| /' "$ac_site_file" >&5
2743 . "$ac_site_file"
2744 fi
2745 done
2746
2747 if test -r "$cache_file"; then
2748 # Some versions of bash will fail to source /dev/null (special
2749 # files actually), so we avoid doing that.
2750 if test -f "$cache_file"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2752 $as_echo "$as_me: loading cache $cache_file" >&6;}
2753 case $cache_file in
2754 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2755 *) . "./$cache_file";;
2756 esac
2757 fi
2758 else
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2760 $as_echo "$as_me: creating cache $cache_file" >&6;}
2761 >$cache_file
2762 fi
2763
2764 # Check that the precious variables saved in the cache have kept the same
2765 # value.
2766 ac_cache_corrupted=false
2767 for ac_var in $ac_precious_vars; do
2768 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2769 eval ac_new_set=\$ac_env_${ac_var}_set
2770 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2771 eval ac_new_val=\$ac_env_${ac_var}_value
2772 case $ac_old_set,$ac_new_set in
2773 set,)
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2775 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2776 ac_cache_corrupted=: ;;
2777 ,set)
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2779 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2780 ac_cache_corrupted=: ;;
2781 ,);;
2782 *)
2783 if test "x$ac_old_val" != "x$ac_new_val"; then
2784 # differences in whitespace do not lead to failure.
2785 ac_old_val_w=`echo x $ac_old_val`
2786 ac_new_val_w=`echo x $ac_new_val`
2787 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2789 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2790 ac_cache_corrupted=:
2791 else
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2793 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2794 eval $ac_var=\$ac_old_val
2795 fi
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2797 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2799 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2800 fi;;
2801 esac
2802 # Pass precious variables to config.status.
2803 if test "$ac_new_set" = set; then
2804 case $ac_new_val in
2805 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2806 *) ac_arg=$ac_var=$ac_new_val ;;
2807 esac
2808 case " $ac_configure_args " in
2809 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2810 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2811 esac
2812 fi
2813 done
2814 if $ac_cache_corrupted; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2818 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2819 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2820 fi
2821 ## -------------------- ##
2822 ## Main body of script. ##
2823 ## -------------------- ##
2824
2825 ac_ext=c
2826 ac_cpp='$CPP $CPPFLAGS'
2827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2830
2831
2832
2833
2834
2835
2836 ac_config_headers="$ac_config_headers config.h"
2837
2838
2839 # This works around the fact that libtool configuration may change LD
2840 # for this particular configuration, but some shells, instead of
2841 # keeping the changes in LD private, export them just because LD is
2842 # exported. Only used at the end of this file.
2843 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2844
2845 # Find the rest of the source tree framework.
2846 # Default to --enable-multilib
2847 # Check whether --enable-multilib was given.
2848 if test "${enable_multilib+set}" = set; then :
2849 enableval=$enable_multilib; case "$enableval" in
2850 yes) multilib=yes ;;
2851 no) multilib=no ;;
2852 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2853 esac
2854 else
2855 multilib=yes
2856 fi
2857
2858
2859 # We may get other options which we leave undocumented:
2860 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2861 # See config-ml.in if you want the gory details.
2862
2863 if test "$srcdir" = "."; then
2864 if test "$with_target_subdir" != "."; then
2865 multi_basedir="$srcdir/$with_multisrctop../.."
2866 else
2867 multi_basedir="$srcdir/$with_multisrctop.."
2868 fi
2869 else
2870 multi_basedir="$srcdir/.."
2871 fi
2872
2873
2874 # Even if the default multilib is not a cross compilation,
2875 # it may be that some of the other multilibs are.
2876 if test $cross_compiling = no && test $multilib = yes \
2877 && test "x${with_multisubdir}" != x ; then
2878 cross_compiling=maybe
2879 fi
2880
2881 ac_config_commands="$ac_config_commands default-1"
2882
2883
2884 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2885 #
2886 # You will slowly go insane if you do not grok the following fact: when
2887 # building v3 as part of the compiler, the top-level /target/ becomes the
2888 # library's /host/. configure then causes --target to default to --host,
2889 # exactly like any other package using autoconf. Therefore, 'target' and
2890 # 'host' will always be the same. This makes sense both for native and
2891 # cross compilers, just think about it for a little while. :-)
2892 #
2893 # Also, if v3 is being configured as part of a cross compiler, the top-level
2894 # configure script will pass the "real" host as $with_cross_host.
2895 #
2896 # Do not delete or change the following two lines. For why, see
2897 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2898 ac_aux_dir=
2899 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2900 for ac_t in install-sh install.sh shtool; do
2901 if test -f "$ac_dir/$ac_t"; then
2902 ac_aux_dir=$ac_dir
2903 ac_install_sh="$ac_aux_dir/$ac_t -c"
2904 break 2
2905 fi
2906 done
2907 done
2908 if test -z "$ac_aux_dir"; then
2909 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2910 fi
2911
2912 # These three variables are undocumented and unsupported,
2913 # and are intended to be withdrawn in a future Autoconf release.
2914 # They can cause serious problems if a builder's source tree is in a directory
2915 # whose full name contains unusual characters.
2916 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2917 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2918 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2919
2920
2921 # Make sure we can run config.sub.
2922 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2923 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2924
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2926 $as_echo_n "checking build system type... " >&6; }
2927 if test "${ac_cv_build+set}" = set; then :
2928 $as_echo_n "(cached) " >&6
2929 else
2930 ac_build_alias=$build_alias
2931 test "x$ac_build_alias" = x &&
2932 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2933 test "x$ac_build_alias" = x &&
2934 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2935 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2936 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2937
2938 fi
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2940 $as_echo "$ac_cv_build" >&6; }
2941 case $ac_cv_build in
2942 *-*-*) ;;
2943 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2944 esac
2945 build=$ac_cv_build
2946 ac_save_IFS=$IFS; IFS='-'
2947 set x $ac_cv_build
2948 shift
2949 build_cpu=$1
2950 build_vendor=$2
2951 shift; shift
2952 # Remember, the first character of IFS is used to create $*,
2953 # except with old shells:
2954 build_os=$*
2955 IFS=$ac_save_IFS
2956 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2957
2958
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2960 $as_echo_n "checking host system type... " >&6; }
2961 if test "${ac_cv_host+set}" = set; then :
2962 $as_echo_n "(cached) " >&6
2963 else
2964 if test "x$host_alias" = x; then
2965 ac_cv_host=$ac_cv_build
2966 else
2967 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2968 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2969 fi
2970
2971 fi
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2973 $as_echo "$ac_cv_host" >&6; }
2974 case $ac_cv_host in
2975 *-*-*) ;;
2976 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2977 esac
2978 host=$ac_cv_host
2979 ac_save_IFS=$IFS; IFS='-'
2980 set x $ac_cv_host
2981 shift
2982 host_cpu=$1
2983 host_vendor=$2
2984 shift; shift
2985 # Remember, the first character of IFS is used to create $*,
2986 # except with old shells:
2987 host_os=$*
2988 IFS=$ac_save_IFS
2989 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2990
2991
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2993 $as_echo_n "checking target system type... " >&6; }
2994 if test "${ac_cv_target+set}" = set; then :
2995 $as_echo_n "(cached) " >&6
2996 else
2997 if test "x$target_alias" = x; then
2998 ac_cv_target=$ac_cv_host
2999 else
3000 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3001 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3002 fi
3003
3004 fi
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3006 $as_echo "$ac_cv_target" >&6; }
3007 case $ac_cv_target in
3008 *-*-*) ;;
3009 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3010 esac
3011 target=$ac_cv_target
3012 ac_save_IFS=$IFS; IFS='-'
3013 set x $ac_cv_target
3014 shift
3015 target_cpu=$1
3016 target_vendor=$2
3017 shift; shift
3018 # Remember, the first character of IFS is used to create $*,
3019 # except with old shells:
3020 target_os=$*
3021 IFS=$ac_save_IFS
3022 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3023
3024
3025 # The aliases save the names the user supplied, while $host etc.
3026 # will get canonicalized.
3027 test -n "$target_alias" &&
3028 test "$program_prefix$program_suffix$program_transform_name" = \
3029 NONENONEs,x,x, &&
3030 program_prefix=${target_alias}-
3031
3032 target_alias=${target_alias-$host_alias}
3033
3034 # Handy for debugging:
3035 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3036
3037 if test "$build" != "$host"; then
3038 # We are being configured with some form of cross compiler.
3039 GLIBCXX_IS_NATIVE=false
3040 case "$host","$target" in
3041 # Darwin crosses can use the host system's libraries and headers,
3042 # because of the fat library support. Of course, it must be the
3043 # same version of Darwin on both sides. Allow the user to
3044 # just say --target=foo-darwin without a version number to mean
3045 # "the version on this system".
3046 *-*-darwin*,*-*-darwin*)
3047 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3048 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3049 if test $hostos = $targetos -o $targetos = darwin ; then
3050 GLIBCXX_IS_NATIVE=true
3051 fi
3052 ;;
3053
3054 *)
3055
3056 ;;
3057 esac
3058 else
3059 GLIBCXX_IS_NATIVE=true
3060 fi
3061
3062 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3063 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3064 # 1.x: minimum required version
3065 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3066 # of other PACKAGE_* variables will, however, and there's nothing
3067 # we can do about that; they come from AC_INIT).
3068 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3069 # file in the top srcdir, etc, etc), so stop complaining.
3070 # no-dependencies: turns off auto dependency generation (just for now)
3071 # no-dist: we don't want 'dist' and related rules.
3072 # -Wall: turns on all automake warnings...
3073 # -Wno-portability: ...except this one, since GNU make is now required.
3074 am__api_version='1.11'
3075
3076 # Find a good install program. We prefer a C program (faster),
3077 # so one script is as good as another. But avoid the broken or
3078 # incompatible versions:
3079 # SysV /etc/install, /usr/sbin/install
3080 # SunOS /usr/etc/install
3081 # IRIX /sbin/install
3082 # AIX /bin/install
3083 # AmigaOS /C/install, which installs bootblocks on floppy discs
3084 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3085 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3086 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3087 # OS/2's system install, which has a completely different semantic
3088 # ./install, which can be erroneously created by make from ./install.sh.
3089 # Reject install programs that cannot install multiple files.
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3091 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3092 if test -z "$INSTALL"; then
3093 if test "${ac_cv_path_install+set}" = set; then :
3094 $as_echo_n "(cached) " >&6
3095 else
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 for as_dir in $PATH
3098 do
3099 IFS=$as_save_IFS
3100 test -z "$as_dir" && as_dir=.
3101 # Account for people who put trailing slashes in PATH elements.
3102 case $as_dir/ in #((
3103 ./ | .// | /[cC]/* | \
3104 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3105 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3106 /usr/ucb/* ) ;;
3107 *)
3108 # OSF1 and SCO ODT 3.0 have their own names for install.
3109 # Don't use installbsd from OSF since it installs stuff as root
3110 # by default.
3111 for ac_prog in ginstall scoinst install; do
3112 for ac_exec_ext in '' $ac_executable_extensions; do
3113 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3114 if test $ac_prog = install &&
3115 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3116 # AIX install. It has an incompatible calling convention.
3117 :
3118 elif test $ac_prog = install &&
3119 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3120 # program-specific install script used by HP pwplus--don't use.
3121 :
3122 else
3123 rm -rf conftest.one conftest.two conftest.dir
3124 echo one > conftest.one
3125 echo two > conftest.two
3126 mkdir conftest.dir
3127 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3128 test -s conftest.one && test -s conftest.two &&
3129 test -s conftest.dir/conftest.one &&
3130 test -s conftest.dir/conftest.two
3131 then
3132 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3133 break 3
3134 fi
3135 fi
3136 fi
3137 done
3138 done
3139 ;;
3140 esac
3141
3142 done
3143 IFS=$as_save_IFS
3144
3145 rm -rf conftest.one conftest.two conftest.dir
3146
3147 fi
3148 if test "${ac_cv_path_install+set}" = set; then
3149 INSTALL=$ac_cv_path_install
3150 else
3151 # As a last resort, use the slow shell script. Don't cache a
3152 # value for INSTALL within a source directory, because that will
3153 # break other packages using the cache if that directory is
3154 # removed, or if the value is a relative name.
3155 INSTALL=$ac_install_sh
3156 fi
3157 fi
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3159 $as_echo "$INSTALL" >&6; }
3160
3161 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3162 # It thinks the first close brace ends the variable substitution.
3163 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3164
3165 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3166
3167 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3168
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3170 $as_echo_n "checking whether build environment is sane... " >&6; }
3171 # Just in case
3172 sleep 1
3173 echo timestamp > conftest.file
3174 # Reject unsafe characters in $srcdir or the absolute working directory
3175 # name. Accept space and tab only in the latter.
3176 am_lf='
3177 '
3178 case `pwd` in
3179 *[\\\"\#\$\&\'\`$am_lf]*)
3180 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3181 esac
3182 case $srcdir in
3183 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3184 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3185 esac
3186
3187 # Do `set' in a subshell so we don't clobber the current shell's
3188 # arguments. Must try -L first in case configure is actually a
3189 # symlink; some systems play weird games with the mod time of symlinks
3190 # (eg FreeBSD returns the mod time of the symlink's containing
3191 # directory).
3192 if (
3193 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3194 if test "$*" = "X"; then
3195 # -L didn't work.
3196 set X `ls -t "$srcdir/configure" conftest.file`
3197 fi
3198 rm -f conftest.file
3199 if test "$*" != "X $srcdir/configure conftest.file" \
3200 && test "$*" != "X conftest.file $srcdir/configure"; then
3201
3202 # If neither matched, then we have a broken ls. This can happen
3203 # if, for instance, CONFIG_SHELL is bash and it inherits a
3204 # broken ls alias from the environment. This has actually
3205 # happened. Such a system could not be considered "sane".
3206 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3207 alias in your environment" "$LINENO" 5
3208 fi
3209
3210 test "$2" = conftest.file
3211 )
3212 then
3213 # Ok.
3214 :
3215 else
3216 as_fn_error "newly created file is older than distributed files!
3217 Check your system clock" "$LINENO" 5
3218 fi
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3220 $as_echo "yes" >&6; }
3221 test "$program_prefix" != NONE &&
3222 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3223 # Use a double $ so make ignores it.
3224 test "$program_suffix" != NONE &&
3225 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3226 # Double any \ or $.
3227 # By default was `s,x,x', remove it if useless.
3228 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3229 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3230
3231 # expand $ac_aux_dir to an absolute path
3232 am_aux_dir=`cd $ac_aux_dir && pwd`
3233
3234 if test x"${MISSING+set}" != xset; then
3235 case $am_aux_dir in
3236 *\ * | *\ *)
3237 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3238 *)
3239 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3240 esac
3241 fi
3242 # Use eval to expand $SHELL
3243 if eval "$MISSING --run true"; then
3244 am_missing_run="$MISSING --run "
3245 else
3246 am_missing_run=
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3248 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3249 fi
3250
3251 if test x"${install_sh}" != xset; then
3252 case $am_aux_dir in
3253 *\ * | *\ *)
3254 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3255 *)
3256 install_sh="\${SHELL} $am_aux_dir/install-sh"
3257 esac
3258 fi
3259
3260 # Installed binaries are usually stripped using `strip' when the user
3261 # run `make install-strip'. However `strip' might not be the right
3262 # tool to use in cross-compilation environments, therefore Automake
3263 # will honor the `STRIP' environment variable to overrule this program.
3264 if test "$cross_compiling" != no; then
3265 if test -n "$ac_tool_prefix"; then
3266 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3267 set dummy ${ac_tool_prefix}strip; ac_word=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if test "${ac_cv_prog_STRIP+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3272 else
3273 if test -n "$STRIP"; then
3274 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3275 else
3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 for as_dir in $PATH
3278 do
3279 IFS=$as_save_IFS
3280 test -z "$as_dir" && as_dir=.
3281 for ac_exec_ext in '' $ac_executable_extensions; do
3282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 break 2
3286 fi
3287 done
3288 done
3289 IFS=$as_save_IFS
3290
3291 fi
3292 fi
3293 STRIP=$ac_cv_prog_STRIP
3294 if test -n "$STRIP"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3296 $as_echo "$STRIP" >&6; }
3297 else
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3300 fi
3301
3302
3303 fi
3304 if test -z "$ac_cv_prog_STRIP"; then
3305 ac_ct_STRIP=$STRIP
3306 # Extract the first word of "strip", so it can be a program name with args.
3307 set dummy strip; ac_word=$2
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309 $as_echo_n "checking for $ac_word... " >&6; }
3310 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3311 $as_echo_n "(cached) " >&6
3312 else
3313 if test -n "$ac_ct_STRIP"; then
3314 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3315 else
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH
3318 do
3319 IFS=$as_save_IFS
3320 test -z "$as_dir" && as_dir=.
3321 for ac_exec_ext in '' $ac_executable_extensions; do
3322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3323 ac_cv_prog_ac_ct_STRIP="strip"
3324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 break 2
3326 fi
3327 done
3328 done
3329 IFS=$as_save_IFS
3330
3331 fi
3332 fi
3333 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3334 if test -n "$ac_ct_STRIP"; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3336 $as_echo "$ac_ct_STRIP" >&6; }
3337 else
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3340 fi
3341
3342 if test "x$ac_ct_STRIP" = x; then
3343 STRIP=":"
3344 else
3345 case $cross_compiling:$ac_tool_warned in
3346 yes:)
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3349 ac_tool_warned=yes ;;
3350 esac
3351 STRIP=$ac_ct_STRIP
3352 fi
3353 else
3354 STRIP="$ac_cv_prog_STRIP"
3355 fi
3356
3357 fi
3358 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3359
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3361 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3362 if test -z "$MKDIR_P"; then
3363 if test "${ac_cv_path_mkdir+set}" = set; then :
3364 $as_echo_n "(cached) " >&6
3365 else
3366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3368 do
3369 IFS=$as_save_IFS
3370 test -z "$as_dir" && as_dir=.
3371 for ac_prog in mkdir gmkdir; do
3372 for ac_exec_ext in '' $ac_executable_extensions; do
3373 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3374 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3375 'mkdir (GNU coreutils) '* | \
3376 'mkdir (coreutils) '* | \
3377 'mkdir (fileutils) '4.1*)
3378 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3379 break 3;;
3380 esac
3381 done
3382 done
3383 done
3384 IFS=$as_save_IFS
3385
3386 fi
3387
3388 if test "${ac_cv_path_mkdir+set}" = set; then
3389 MKDIR_P="$ac_cv_path_mkdir -p"
3390 else
3391 # As a last resort, use the slow shell script. Don't cache a
3392 # value for MKDIR_P within a source directory, because that will
3393 # break other packages using the cache if that directory is
3394 # removed, or if the value is a relative name.
3395 test -d ./--version && rmdir ./--version
3396 MKDIR_P="$ac_install_sh -d"
3397 fi
3398 fi
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3400 $as_echo "$MKDIR_P" >&6; }
3401
3402 mkdir_p="$MKDIR_P"
3403 case $mkdir_p in
3404 [\\/$]* | ?:[\\/]*) ;;
3405 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3406 esac
3407
3408 for ac_prog in gawk mawk nawk awk
3409 do
3410 # Extract the first word of "$ac_prog", so it can be a program name with args.
3411 set dummy $ac_prog; ac_word=$2
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413 $as_echo_n "checking for $ac_word... " >&6; }
3414 if test "${ac_cv_prog_AWK+set}" = set; then :
3415 $as_echo_n "(cached) " >&6
3416 else
3417 if test -n "$AWK"; then
3418 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3419 else
3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 for as_dir in $PATH
3422 do
3423 IFS=$as_save_IFS
3424 test -z "$as_dir" && as_dir=.
3425 for ac_exec_ext in '' $ac_executable_extensions; do
3426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3427 ac_cv_prog_AWK="$ac_prog"
3428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 break 2
3430 fi
3431 done
3432 done
3433 IFS=$as_save_IFS
3434
3435 fi
3436 fi
3437 AWK=$ac_cv_prog_AWK
3438 if test -n "$AWK"; then
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3440 $as_echo "$AWK" >&6; }
3441 else
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3443 $as_echo "no" >&6; }
3444 fi
3445
3446
3447 test -n "$AWK" && break
3448 done
3449
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3451 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3452 set x ${MAKE-make}
3453 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3454 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3455 $as_echo_n "(cached) " >&6
3456 else
3457 cat >conftest.make <<\_ACEOF
3458 SHELL = /bin/sh
3459 all:
3460 @echo '@@@%%%=$(MAKE)=@@@%%%'
3461 _ACEOF
3462 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3463 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3464 *@@@%%%=?*=@@@%%%*)
3465 eval ac_cv_prog_make_${ac_make}_set=yes;;
3466 *)
3467 eval ac_cv_prog_make_${ac_make}_set=no;;
3468 esac
3469 rm -f conftest.make
3470 fi
3471 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3473 $as_echo "yes" >&6; }
3474 SET_MAKE=
3475 else
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477 $as_echo "no" >&6; }
3478 SET_MAKE="MAKE=${MAKE-make}"
3479 fi
3480
3481 rm -rf .tst 2>/dev/null
3482 mkdir .tst 2>/dev/null
3483 if test -d .tst; then
3484 am__leading_dot=.
3485 else
3486 am__leading_dot=_
3487 fi
3488 rmdir .tst 2>/dev/null
3489
3490 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3491 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3492 # is not polluted with repeated "-I."
3493 am__isrc=' -I$(srcdir)'
3494 # test to see if srcdir already configured
3495 if test -f $srcdir/config.status; then
3496 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3497 fi
3498 fi
3499
3500 # test whether we have cygpath
3501 if test -z "$CYGPATH_W"; then
3502 if (cygpath --version) >/dev/null 2>/dev/null; then
3503 CYGPATH_W='cygpath -w'
3504 else
3505 CYGPATH_W=echo
3506 fi
3507 fi
3508
3509
3510 # Define the identity of the package.
3511 PACKAGE='libstdc++'
3512 VERSION='version-unused'
3513
3514
3515 # Some tools Automake needs.
3516
3517 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3518
3519
3520 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3521
3522
3523 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3524
3525
3526 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3527
3528
3529 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3530
3531 # We need awk for the "check" target. The system "awk" is bad on
3532 # some platforms.
3533 # Always define AMTAR for backward compatibility.
3534
3535 AMTAR=${AMTAR-"${am_missing_run}tar"}
3536
3537 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3538
3539
3540
3541
3542
3543
3544
3545
3546 # -fno-builtin must be present here so that a non-conflicting form of
3547 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3548
3549 save_CXXFLAGS="$CXXFLAGS"
3550 CXXFLAGS="$CXXFLAGS -fno-builtin"
3551 ac_ext=c
3552 ac_cpp='$CPP $CPPFLAGS'
3553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3556 if test -n "$ac_tool_prefix"; then
3557 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3558 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if test "${ac_cv_prog_CC+set}" = set; then :
3562 $as_echo_n "(cached) " >&6
3563 else
3564 if test -n "$CC"; then
3565 ac_cv_prog_CC="$CC" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3569 do
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3577 fi
3578 done
3579 done
3580 IFS=$as_save_IFS
3581
3582 fi
3583 fi
3584 CC=$ac_cv_prog_CC
3585 if test -n "$CC"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3587 $as_echo "$CC" >&6; }
3588 else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3591 fi
3592
3593
3594 fi
3595 if test -z "$ac_cv_prog_CC"; then
3596 ac_ct_CC=$CC
3597 # Extract the first word of "gcc", so it can be a program name with args.
3598 set dummy gcc; ac_word=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3602 $as_echo_n "(cached) " >&6
3603 else
3604 if test -n "$ac_ct_CC"; then
3605 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3609 do
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3614 ac_cv_prog_ac_ct_CC="gcc"
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 break 2
3617 fi
3618 done
3619 done
3620 IFS=$as_save_IFS
3621
3622 fi
3623 fi
3624 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3625 if test -n "$ac_ct_CC"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3627 $as_echo "$ac_ct_CC" >&6; }
3628 else
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3631 fi
3632
3633 if test "x$ac_ct_CC" = x; then
3634 CC=""
3635 else
3636 case $cross_compiling:$ac_tool_warned in
3637 yes:)
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3640 ac_tool_warned=yes ;;
3641 esac
3642 CC=$ac_ct_CC
3643 fi
3644 else
3645 CC="$ac_cv_prog_CC"
3646 fi
3647
3648 if test -z "$CC"; then
3649 if test -n "$ac_tool_prefix"; then
3650 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3651 set dummy ${ac_tool_prefix}cc; ac_word=$2
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 $as_echo_n "checking for $ac_word... " >&6; }
3654 if test "${ac_cv_prog_CC+set}" = set; then :
3655 $as_echo_n "(cached) " >&6
3656 else
3657 if test -n "$CC"; then
3658 ac_cv_prog_CC="$CC" # Let the user override the test.
3659 else
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 for as_dir in $PATH
3662 do
3663 IFS=$as_save_IFS
3664 test -z "$as_dir" && as_dir=.
3665 for ac_exec_ext in '' $ac_executable_extensions; do
3666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3667 ac_cv_prog_CC="${ac_tool_prefix}cc"
3668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669 break 2
3670 fi
3671 done
3672 done
3673 IFS=$as_save_IFS
3674
3675 fi
3676 fi
3677 CC=$ac_cv_prog_CC
3678 if test -n "$CC"; then
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3680 $as_echo "$CC" >&6; }
3681 else
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3683 $as_echo "no" >&6; }
3684 fi
3685
3686
3687 fi
3688 fi
3689 if test -z "$CC"; then
3690 # Extract the first word of "cc", so it can be a program name with args.
3691 set dummy cc; ac_word=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if test "${ac_cv_prog_CC+set}" = set; then :
3695 $as_echo_n "(cached) " >&6
3696 else
3697 if test -n "$CC"; then
3698 ac_cv_prog_CC="$CC" # Let the user override the test.
3699 else
3700 ac_prog_rejected=no
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3703 do
3704 IFS=$as_save_IFS
3705 test -z "$as_dir" && as_dir=.
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3708 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3709 ac_prog_rejected=yes
3710 continue
3711 fi
3712 ac_cv_prog_CC="cc"
3713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714 break 2
3715 fi
3716 done
3717 done
3718 IFS=$as_save_IFS
3719
3720 if test $ac_prog_rejected = yes; then
3721 # We found a bogon in the path, so make sure we never use it.
3722 set dummy $ac_cv_prog_CC
3723 shift
3724 if test $# != 0; then
3725 # We chose a different compiler from the bogus one.
3726 # However, it has the same basename, so the bogon will be chosen
3727 # first if we set CC to just the basename; use the full file name.
3728 shift
3729 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3730 fi
3731 fi
3732 fi
3733 fi
3734 CC=$ac_cv_prog_CC
3735 if test -n "$CC"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737 $as_echo "$CC" >&6; }
3738 else
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3741 fi
3742
3743
3744 fi
3745 if test -z "$CC"; then
3746 if test -n "$ac_tool_prefix"; then
3747 for ac_prog in cl.exe
3748 do
3749 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3750 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if test "${ac_cv_prog_CC+set}" = set; then :
3754 $as_echo_n "(cached) " >&6
3755 else
3756 if test -n "$CC"; then
3757 ac_cv_prog_CC="$CC" # Let the user override the test.
3758 else
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 for as_dir in $PATH
3761 do
3762 IFS=$as_save_IFS
3763 test -z "$as_dir" && as_dir=.
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3766 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 break 2
3769 fi
3770 done
3771 done
3772 IFS=$as_save_IFS
3773
3774 fi
3775 fi
3776 CC=$ac_cv_prog_CC
3777 if test -n "$CC"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3779 $as_echo "$CC" >&6; }
3780 else
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3783 fi
3784
3785
3786 test -n "$CC" && break
3787 done
3788 fi
3789 if test -z "$CC"; then
3790 ac_ct_CC=$CC
3791 for ac_prog in cl.exe
3792 do
3793 # Extract the first word of "$ac_prog", so it can be a program name with args.
3794 set dummy $ac_prog; ac_word=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3798 $as_echo_n "(cached) " >&6
3799 else
3800 if test -n "$ac_ct_CC"; then
3801 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3802 else
3803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804 for as_dir in $PATH
3805 do
3806 IFS=$as_save_IFS
3807 test -z "$as_dir" && as_dir=.
3808 for ac_exec_ext in '' $ac_executable_extensions; do
3809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3810 ac_cv_prog_ac_ct_CC="$ac_prog"
3811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812 break 2
3813 fi
3814 done
3815 done
3816 IFS=$as_save_IFS
3817
3818 fi
3819 fi
3820 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3821 if test -n "$ac_ct_CC"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3823 $as_echo "$ac_ct_CC" >&6; }
3824 else
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3827 fi
3828
3829
3830 test -n "$ac_ct_CC" && break
3831 done
3832
3833 if test "x$ac_ct_CC" = x; then
3834 CC=""
3835 else
3836 case $cross_compiling:$ac_tool_warned in
3837 yes:)
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3840 ac_tool_warned=yes ;;
3841 esac
3842 CC=$ac_ct_CC
3843 fi
3844 fi
3845
3846 fi
3847
3848
3849 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3851 as_fn_error "no acceptable C compiler found in \$PATH
3852 See \`config.log' for more details." "$LINENO" 5; }
3853
3854 # Provide some information about the compiler.
3855 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3856 set X $ac_compile
3857 ac_compiler=$2
3858 for ac_option in --version -v -V -qversion; do
3859 { { ac_try="$ac_compiler $ac_option >&5"
3860 case "(($ac_try" in
3861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3863 esac
3864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865 $as_echo "$ac_try_echo"; } >&5
3866 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3867 ac_status=$?
3868 if test -s conftest.err; then
3869 sed '10a\
3870 ... rest of stderr output deleted ...
3871 10q' conftest.err >conftest.er1
3872 cat conftest.er1 >&5
3873 rm -f conftest.er1 conftest.err
3874 fi
3875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3876 test $ac_status = 0; }
3877 done
3878
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3881
3882 int
3883 main ()
3884 {
3885
3886 ;
3887 return 0;
3888 }
3889 _ACEOF
3890 # FIXME: Cleanup?
3891 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3892 (eval $ac_link) 2>&5
3893 ac_status=$?
3894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3895 test $ac_status = 0; }; then :
3896 gcc_no_link=no
3897 else
3898 gcc_no_link=yes
3899 fi
3900 if test x$gcc_no_link = xyes; then
3901 # Setting cross_compile will disable run tests; it will
3902 # also disable AC_CHECK_FILE but that's generally
3903 # correct if we can't link.
3904 cross_compiling=yes
3905 EXEEXT=
3906 else
3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h. */
3909
3910 int
3911 main ()
3912 {
3913
3914 ;
3915 return 0;
3916 }
3917 _ACEOF
3918 ac_clean_files_save=$ac_clean_files
3919 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3920 # Try to create an executable without -o first, disregard a.out.
3921 # It will help us diagnose broken compilers, and finding out an intuition
3922 # of exeext.
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3924 $as_echo_n "checking for C compiler default output file name... " >&6; }
3925 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3926
3927 # The possible output files:
3928 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3929
3930 ac_rmfiles=
3931 for ac_file in $ac_files
3932 do
3933 case $ac_file in
3934 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3935 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3936 esac
3937 done
3938 rm -f $ac_rmfiles
3939
3940 if { { ac_try="$ac_link_default"
3941 case "(($ac_try" in
3942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3943 *) ac_try_echo=$ac_try;;
3944 esac
3945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3946 $as_echo "$ac_try_echo"; } >&5
3947 (eval "$ac_link_default") 2>&5
3948 ac_status=$?
3949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3950 test $ac_status = 0; }; then :
3951 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3952 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3953 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3954 # so that the user can short-circuit this test for compilers unknown to
3955 # Autoconf.
3956 for ac_file in $ac_files ''
3957 do
3958 test -f "$ac_file" || continue
3959 case $ac_file in
3960 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3961 ;;
3962 [ab].out )
3963 # We found the default executable, but exeext='' is most
3964 # certainly right.
3965 break;;
3966 *.* )
3967 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3968 then :; else
3969 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3970 fi
3971 # We set ac_cv_exeext here because the later test for it is not
3972 # safe: cross compilers may not add the suffix if given an `-o'
3973 # argument, so we may need to know it at that point already.
3974 # Even if this section looks crufty: it has the advantage of
3975 # actually working.
3976 break;;
3977 * )
3978 break;;
3979 esac
3980 done
3981 test "$ac_cv_exeext" = no && ac_cv_exeext=
3982
3983 else
3984 ac_file=''
3985 fi
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3987 $as_echo "$ac_file" >&6; }
3988 if test -z "$ac_file"; then :
3989 $as_echo "$as_me: failed program was:" >&5
3990 sed 's/^/| /' conftest.$ac_ext >&5
3991
3992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3994 { as_fn_set_status 77
3995 as_fn_error "C compiler cannot create executables
3996 See \`config.log' for more details." "$LINENO" 5; }; }
3997 fi
3998 ac_exeext=$ac_cv_exeext
3999
4000 # Check that the compiler produces executables we can run. If not, either
4001 # the compiler is broken, or we cross compile.
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4003 $as_echo_n "checking whether the C compiler works... " >&6; }
4004 # If not cross compiling, check that we can run a simple program.
4005 if test "$cross_compiling" != yes; then
4006 if { ac_try='./$ac_file'
4007 { { case "(($ac_try" in
4008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009 *) ac_try_echo=$ac_try;;
4010 esac
4011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4012 $as_echo "$ac_try_echo"; } >&5
4013 (eval "$ac_try") 2>&5
4014 ac_status=$?
4015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4016 test $ac_status = 0; }; }; then
4017 cross_compiling=no
4018 else
4019 if test "$cross_compiling" = maybe; then
4020 cross_compiling=yes
4021 else
4022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4024 as_fn_error "cannot run C compiled programs.
4025 If you meant to cross compile, use \`--host'.
4026 See \`config.log' for more details." "$LINENO" 5; }
4027 fi
4028 fi
4029 fi
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4031 $as_echo "yes" >&6; }
4032
4033 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4034 ac_clean_files=$ac_clean_files_save
4035 # Check that the compiler produces executables we can run. If not, either
4036 # the compiler is broken, or we cross compile.
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4038 $as_echo_n "checking whether we are cross compiling... " >&6; }
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4040 $as_echo "$cross_compiling" >&6; }
4041
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4043 $as_echo_n "checking for suffix of executables... " >&6; }
4044 if { { ac_try="$ac_link"
4045 case "(($ac_try" in
4046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4047 *) ac_try_echo=$ac_try;;
4048 esac
4049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4050 $as_echo "$ac_try_echo"; } >&5
4051 (eval "$ac_link") 2>&5
4052 ac_status=$?
4053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4054 test $ac_status = 0; }; then :
4055 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4056 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4057 # work properly (i.e., refer to `conftest.exe'), while it won't with
4058 # `rm'.
4059 for ac_file in conftest.exe conftest conftest.*; do
4060 test -f "$ac_file" || continue
4061 case $ac_file in
4062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4063 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4064 break;;
4065 * ) break;;
4066 esac
4067 done
4068 else
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error "cannot compute suffix of executables: cannot compile and link
4072 See \`config.log' for more details." "$LINENO" 5; }
4073 fi
4074 rm -f conftest$ac_cv_exeext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4076 $as_echo "$ac_cv_exeext" >&6; }
4077
4078 rm -f conftest.$ac_ext
4079 EXEEXT=$ac_cv_exeext
4080 ac_exeext=$EXEEXT
4081 fi
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4083 $as_echo_n "checking for suffix of object files... " >&6; }
4084 if test "${ac_cv_objext+set}" = set; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4089
4090 int
4091 main ()
4092 {
4093
4094 ;
4095 return 0;
4096 }
4097 _ACEOF
4098 rm -f conftest.o conftest.obj
4099 if { { ac_try="$ac_compile"
4100 case "(($ac_try" in
4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102 *) ac_try_echo=$ac_try;;
4103 esac
4104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4105 $as_echo "$ac_try_echo"; } >&5
4106 (eval "$ac_compile") 2>&5
4107 ac_status=$?
4108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4109 test $ac_status = 0; }; then :
4110 for ac_file in conftest.o conftest.obj conftest.*; do
4111 test -f "$ac_file" || continue;
4112 case $ac_file in
4113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4114 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4115 break;;
4116 esac
4117 done
4118 else
4119 $as_echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.$ac_ext >&5
4121
4122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124 as_fn_error "cannot compute suffix of object files: cannot compile
4125 See \`config.log' for more details." "$LINENO" 5; }
4126 fi
4127 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4128 fi
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4130 $as_echo "$ac_cv_objext" >&6; }
4131 OBJEXT=$ac_cv_objext
4132 ac_objext=$OBJEXT
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4134 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4135 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4136 $as_echo_n "(cached) " >&6
4137 else
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4140
4141 int
4142 main ()
4143 {
4144 #ifndef __GNUC__
4145 choke me
4146 #endif
4147
4148 ;
4149 return 0;
4150 }
4151 _ACEOF
4152 if ac_fn_c_try_compile "$LINENO"; then :
4153 ac_compiler_gnu=yes
4154 else
4155 ac_compiler_gnu=no
4156 fi
4157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4159
4160 fi
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4162 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4163 if test $ac_compiler_gnu = yes; then
4164 GCC=yes
4165 else
4166 GCC=
4167 fi
4168 ac_test_CFLAGS=${CFLAGS+set}
4169 ac_save_CFLAGS=$CFLAGS
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4171 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4172 if test "${ac_cv_prog_cc_g+set}" = set; then :
4173 $as_echo_n "(cached) " >&6
4174 else
4175 ac_save_c_werror_flag=$ac_c_werror_flag
4176 ac_c_werror_flag=yes
4177 ac_cv_prog_cc_g=no
4178 CFLAGS="-g"
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4181
4182 int
4183 main ()
4184 {
4185
4186 ;
4187 return 0;
4188 }
4189 _ACEOF
4190 if ac_fn_c_try_compile "$LINENO"; then :
4191 ac_cv_prog_cc_g=yes
4192 else
4193 CFLAGS=""
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4196
4197 int
4198 main ()
4199 {
4200
4201 ;
4202 return 0;
4203 }
4204 _ACEOF
4205 if ac_fn_c_try_compile "$LINENO"; then :
4206
4207 else
4208 ac_c_werror_flag=$ac_save_c_werror_flag
4209 CFLAGS="-g"
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4212
4213 int
4214 main ()
4215 {
4216
4217 ;
4218 return 0;
4219 }
4220 _ACEOF
4221 if ac_fn_c_try_compile "$LINENO"; then :
4222 ac_cv_prog_cc_g=yes
4223 fi
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225 fi
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 fi
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 ac_c_werror_flag=$ac_save_c_werror_flag
4230 fi
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4232 $as_echo "$ac_cv_prog_cc_g" >&6; }
4233 if test "$ac_test_CFLAGS" = set; then
4234 CFLAGS=$ac_save_CFLAGS
4235 elif test $ac_cv_prog_cc_g = yes; then
4236 if test "$GCC" = yes; then
4237 CFLAGS="-g -O2"
4238 else
4239 CFLAGS="-g"
4240 fi
4241 else
4242 if test "$GCC" = yes; then
4243 CFLAGS="-O2"
4244 else
4245 CFLAGS=
4246 fi
4247 fi
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4249 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4250 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4251 $as_echo_n "(cached) " >&6
4252 else
4253 ac_cv_prog_cc_c89=no
4254 ac_save_CC=$CC
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4257 #include <stdarg.h>
4258 #include <stdio.h>
4259 #include <sys/types.h>
4260 #include <sys/stat.h>
4261 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4262 struct buf { int x; };
4263 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4264 static char *e (p, i)
4265 char **p;
4266 int i;
4267 {
4268 return p[i];
4269 }
4270 static char *f (char * (*g) (char **, int), char **p, ...)
4271 {
4272 char *s;
4273 va_list v;
4274 va_start (v,p);
4275 s = g (p, va_arg (v,int));
4276 va_end (v);
4277 return s;
4278 }
4279
4280 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4281 function prototypes and stuff, but not '\xHH' hex character constants.
4282 These don't provoke an error unfortunately, instead are silently treated
4283 as 'x'. The following induces an error, until -std is added to get
4284 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4285 array size at least. It's necessary to write '\x00'==0 to get something
4286 that's true only with -std. */
4287 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4288
4289 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4290 inside strings and character constants. */
4291 #define FOO(x) 'x'
4292 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4293
4294 int test (int i, double x);
4295 struct s1 {int (*f) (int a);};
4296 struct s2 {int (*f) (double a);};
4297 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4298 int argc;
4299 char **argv;
4300 int
4301 main ()
4302 {
4303 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4304 ;
4305 return 0;
4306 }
4307 _ACEOF
4308 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4309 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4310 do
4311 CC="$ac_save_CC $ac_arg"
4312 if ac_fn_c_try_compile "$LINENO"; then :
4313 ac_cv_prog_cc_c89=$ac_arg
4314 fi
4315 rm -f core conftest.err conftest.$ac_objext
4316 test "x$ac_cv_prog_cc_c89" != "xno" && break
4317 done
4318 rm -f conftest.$ac_ext
4319 CC=$ac_save_CC
4320
4321 fi
4322 # AC_CACHE_VAL
4323 case "x$ac_cv_prog_cc_c89" in
4324 x)
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4326 $as_echo "none needed" >&6; } ;;
4327 xno)
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4329 $as_echo "unsupported" >&6; } ;;
4330 *)
4331 CC="$CC $ac_cv_prog_cc_c89"
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4333 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4334 esac
4335 if test "x$ac_cv_prog_cc_c89" != xno; then :
4336
4337 fi
4338
4339 ac_ext=c
4340 ac_cpp='$CPP $CPPFLAGS'
4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4344
4345 ac_ext=cpp
4346 ac_cpp='$CXXCPP $CPPFLAGS'
4347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4350 if test -z "$CXX"; then
4351 if test -n "$CCC"; then
4352 CXX=$CCC
4353 else
4354 if test -n "$ac_tool_prefix"; then
4355 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4356 do
4357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if test "${ac_cv_prog_CXX+set}" = set; then :
4362 $as_echo_n "(cached) " >&6
4363 else
4364 if test -n "$CXX"; then
4365 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4366 else
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 for as_dir in $PATH
4369 do
4370 IFS=$as_save_IFS
4371 test -z "$as_dir" && as_dir=.
4372 for ac_exec_ext in '' $ac_executable_extensions; do
4373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4374 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 break 2
4377 fi
4378 done
4379 done
4380 IFS=$as_save_IFS
4381
4382 fi
4383 fi
4384 CXX=$ac_cv_prog_CXX
4385 if test -n "$CXX"; then
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4387 $as_echo "$CXX" >&6; }
4388 else
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4391 fi
4392
4393
4394 test -n "$CXX" && break
4395 done
4396 fi
4397 if test -z "$CXX"; then
4398 ac_ct_CXX=$CXX
4399 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4400 do
4401 # Extract the first word of "$ac_prog", so it can be a program name with args.
4402 set dummy $ac_prog; ac_word=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4406 $as_echo_n "(cached) " >&6
4407 else
4408 if test -n "$ac_ct_CXX"; then
4409 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4410 else
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 for as_dir in $PATH
4413 do
4414 IFS=$as_save_IFS
4415 test -z "$as_dir" && as_dir=.
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418 ac_cv_prog_ac_ct_CXX="$ac_prog"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 break 2
4421 fi
4422 done
4423 done
4424 IFS=$as_save_IFS
4425
4426 fi
4427 fi
4428 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4429 if test -n "$ac_ct_CXX"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4431 $as_echo "$ac_ct_CXX" >&6; }
4432 else
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4435 fi
4436
4437
4438 test -n "$ac_ct_CXX" && break
4439 done
4440
4441 if test "x$ac_ct_CXX" = x; then
4442 CXX="g++"
4443 else
4444 case $cross_compiling:$ac_tool_warned in
4445 yes:)
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4448 ac_tool_warned=yes ;;
4449 esac
4450 CXX=$ac_ct_CXX
4451 fi
4452 fi
4453
4454 fi
4455 fi
4456 # Provide some information about the compiler.
4457 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4458 set X $ac_compile
4459 ac_compiler=$2
4460 for ac_option in --version -v -V -qversion; do
4461 { { ac_try="$ac_compiler $ac_option >&5"
4462 case "(($ac_try" in
4463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4464 *) ac_try_echo=$ac_try;;
4465 esac
4466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4467 $as_echo "$ac_try_echo"; } >&5
4468 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4469 ac_status=$?
4470 if test -s conftest.err; then
4471 sed '10a\
4472 ... rest of stderr output deleted ...
4473 10q' conftest.err >conftest.er1
4474 cat conftest.er1 >&5
4475 rm -f conftest.er1 conftest.err
4476 fi
4477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478 test $ac_status = 0; }
4479 done
4480
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4482 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4483 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4484 $as_echo_n "(cached) " >&6
4485 else
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4488
4489 int
4490 main ()
4491 {
4492 #ifndef __GNUC__
4493 choke me
4494 #endif
4495
4496 ;
4497 return 0;
4498 }
4499 _ACEOF
4500 if ac_fn_cxx_try_compile "$LINENO"; then :
4501 ac_compiler_gnu=yes
4502 else
4503 ac_compiler_gnu=no
4504 fi
4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4507
4508 fi
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4510 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4511 if test $ac_compiler_gnu = yes; then
4512 GXX=yes
4513 else
4514 GXX=
4515 fi
4516 ac_test_CXXFLAGS=${CXXFLAGS+set}
4517 ac_save_CXXFLAGS=$CXXFLAGS
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4519 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4520 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4521 $as_echo_n "(cached) " >&6
4522 else
4523 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4524 ac_cxx_werror_flag=yes
4525 ac_cv_prog_cxx_g=no
4526 CXXFLAGS="-g"
4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4529
4530 int
4531 main ()
4532 {
4533
4534 ;
4535 return 0;
4536 }
4537 _ACEOF
4538 if ac_fn_cxx_try_compile "$LINENO"; then :
4539 ac_cv_prog_cxx_g=yes
4540 else
4541 CXXFLAGS=""
4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4544
4545 int
4546 main ()
4547 {
4548
4549 ;
4550 return 0;
4551 }
4552 _ACEOF
4553 if ac_fn_cxx_try_compile "$LINENO"; then :
4554
4555 else
4556 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4557 CXXFLAGS="-g"
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4560
4561 int
4562 main ()
4563 {
4564
4565 ;
4566 return 0;
4567 }
4568 _ACEOF
4569 if ac_fn_cxx_try_compile "$LINENO"; then :
4570 ac_cv_prog_cxx_g=yes
4571 fi
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 fi
4574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4575 fi
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4577 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4578 fi
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4580 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4581 if test "$ac_test_CXXFLAGS" = set; then
4582 CXXFLAGS=$ac_save_CXXFLAGS
4583 elif test $ac_cv_prog_cxx_g = yes; then
4584 if test "$GXX" = yes; then
4585 CXXFLAGS="-g -O2"
4586 else
4587 CXXFLAGS="-g"
4588 fi
4589 else
4590 if test "$GXX" = yes; then
4591 CXXFLAGS="-O2"
4592 else
4593 CXXFLAGS=
4594 fi
4595 fi
4596 ac_ext=c
4597 ac_cpp='$CPP $CPPFLAGS'
4598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4601
4602 CXXFLAGS="$save_CXXFLAGS"
4603
4604 # Runs configure.host, and assorted other critical bits. Sets
4605 # up critical shell variables.
4606
4607 ac_ext=c
4608 ac_cpp='$CPP $CPPFLAGS'
4609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4613 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4614 # On Suns, sometimes $CPP names a directory.
4615 if test -n "$CPP" && test -d "$CPP"; then
4616 CPP=
4617 fi
4618 if test -z "$CPP"; then
4619 if test "${ac_cv_prog_CPP+set}" = set; then :
4620 $as_echo_n "(cached) " >&6
4621 else
4622 # Double quotes because CPP needs to be expanded
4623 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4624 do
4625 ac_preproc_ok=false
4626 for ac_c_preproc_warn_flag in '' yes
4627 do
4628 # Use a header file that comes with gcc, so configuring glibc
4629 # with a fresh cross-compiler works.
4630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631 # <limits.h> exists even on freestanding compilers.
4632 # On the NeXT, cc -E runs the code through the compiler's parser,
4633 # not just through cpp. "Syntax error" is here to catch this case.
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4636 #ifdef __STDC__
4637 # include <limits.h>
4638 #else
4639 # include <assert.h>
4640 #endif
4641 Syntax error
4642 _ACEOF
4643 if ac_fn_c_try_cpp "$LINENO"; then :
4644
4645 else
4646 # Broken: fails on valid input.
4647 continue
4648 fi
4649 rm -f conftest.err conftest.$ac_ext
4650
4651 # OK, works on sane cases. Now check whether nonexistent headers
4652 # can be detected and how.
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4655 #include <ac_nonexistent.h>
4656 _ACEOF
4657 if ac_fn_c_try_cpp "$LINENO"; then :
4658 # Broken: success on invalid input.
4659 continue
4660 else
4661 # Passes both tests.
4662 ac_preproc_ok=:
4663 break
4664 fi
4665 rm -f conftest.err conftest.$ac_ext
4666
4667 done
4668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4669 rm -f conftest.err conftest.$ac_ext
4670 if $ac_preproc_ok; then :
4671 break
4672 fi
4673
4674 done
4675 ac_cv_prog_CPP=$CPP
4676
4677 fi
4678 CPP=$ac_cv_prog_CPP
4679 else
4680 ac_cv_prog_CPP=$CPP
4681 fi
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4683 $as_echo "$CPP" >&6; }
4684 ac_preproc_ok=false
4685 for ac_c_preproc_warn_flag in '' yes
4686 do
4687 # Use a header file that comes with gcc, so configuring glibc
4688 # with a fresh cross-compiler works.
4689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4690 # <limits.h> exists even on freestanding compilers.
4691 # On the NeXT, cc -E runs the code through the compiler's parser,
4692 # not just through cpp. "Syntax error" is here to catch this case.
4693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h. */
4695 #ifdef __STDC__
4696 # include <limits.h>
4697 #else
4698 # include <assert.h>
4699 #endif
4700 Syntax error
4701 _ACEOF
4702 if ac_fn_c_try_cpp "$LINENO"; then :
4703
4704 else
4705 # Broken: fails on valid input.
4706 continue
4707 fi
4708 rm -f conftest.err conftest.$ac_ext
4709
4710 # OK, works on sane cases. Now check whether nonexistent headers
4711 # can be detected and how.
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4714 #include <ac_nonexistent.h>
4715 _ACEOF
4716 if ac_fn_c_try_cpp "$LINENO"; then :
4717 # Broken: success on invalid input.
4718 continue
4719 else
4720 # Passes both tests.
4721 ac_preproc_ok=:
4722 break
4723 fi
4724 rm -f conftest.err conftest.$ac_ext
4725
4726 done
4727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4728 rm -f conftest.err conftest.$ac_ext
4729 if $ac_preproc_ok; then :
4730
4731 else
4732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4734 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4735 See \`config.log' for more details." "$LINENO" 5; }
4736 fi
4737
4738 ac_ext=c
4739 ac_cpp='$CPP $CPPFLAGS'
4740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4743
4744
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4746 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4747 if test "${ac_cv_path_GREP+set}" = set; then :
4748 $as_echo_n "(cached) " >&6
4749 else
4750 if test -z "$GREP"; then
4751 ac_path_GREP_found=false
4752 # Loop through the user's path and test for each of PROGNAME-LIST
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4755 do
4756 IFS=$as_save_IFS
4757 test -z "$as_dir" && as_dir=.
4758 for ac_prog in grep ggrep; do
4759 for ac_exec_ext in '' $ac_executable_extensions; do
4760 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4761 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4762 # Check for GNU ac_path_GREP and select it if it is found.
4763 # Check for GNU $ac_path_GREP
4764 case `"$ac_path_GREP" --version 2>&1` in
4765 *GNU*)
4766 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4767 *)
4768 ac_count=0
4769 $as_echo_n 0123456789 >"conftest.in"
4770 while :
4771 do
4772 cat "conftest.in" "conftest.in" >"conftest.tmp"
4773 mv "conftest.tmp" "conftest.in"
4774 cp "conftest.in" "conftest.nl"
4775 $as_echo 'GREP' >> "conftest.nl"
4776 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4777 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4778 as_fn_arith $ac_count + 1 && ac_count=$as_val
4779 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4780 # Best one so far, save it but keep looking for a better one
4781 ac_cv_path_GREP="$ac_path_GREP"
4782 ac_path_GREP_max=$ac_count
4783 fi
4784 # 10*(2^10) chars as input seems more than enough
4785 test $ac_count -gt 10 && break
4786 done
4787 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4788 esac
4789
4790 $ac_path_GREP_found && break 3
4791 done
4792 done
4793 done
4794 IFS=$as_save_IFS
4795 if test -z "$ac_cv_path_GREP"; then
4796 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4797 fi
4798 else
4799 ac_cv_path_GREP=$GREP
4800 fi
4801
4802 fi
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4804 $as_echo "$ac_cv_path_GREP" >&6; }
4805 GREP="$ac_cv_path_GREP"
4806
4807
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4809 $as_echo_n "checking for egrep... " >&6; }
4810 if test "${ac_cv_path_EGREP+set}" = set; then :
4811 $as_echo_n "(cached) " >&6
4812 else
4813 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4814 then ac_cv_path_EGREP="$GREP -E"
4815 else
4816 if test -z "$EGREP"; then
4817 ac_path_EGREP_found=false
4818 # Loop through the user's path and test for each of PROGNAME-LIST
4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4821 do
4822 IFS=$as_save_IFS
4823 test -z "$as_dir" && as_dir=.
4824 for ac_prog in egrep; do
4825 for ac_exec_ext in '' $ac_executable_extensions; do
4826 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4827 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4828 # Check for GNU ac_path_EGREP and select it if it is found.
4829 # Check for GNU $ac_path_EGREP
4830 case `"$ac_path_EGREP" --version 2>&1` in
4831 *GNU*)
4832 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4833 *)
4834 ac_count=0
4835 $as_echo_n 0123456789 >"conftest.in"
4836 while :
4837 do
4838 cat "conftest.in" "conftest.in" >"conftest.tmp"
4839 mv "conftest.tmp" "conftest.in"
4840 cp "conftest.in" "conftest.nl"
4841 $as_echo 'EGREP' >> "conftest.nl"
4842 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4843 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4844 as_fn_arith $ac_count + 1 && ac_count=$as_val
4845 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4846 # Best one so far, save it but keep looking for a better one
4847 ac_cv_path_EGREP="$ac_path_EGREP"
4848 ac_path_EGREP_max=$ac_count
4849 fi
4850 # 10*(2^10) chars as input seems more than enough
4851 test $ac_count -gt 10 && break
4852 done
4853 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4854 esac
4855
4856 $ac_path_EGREP_found && break 3
4857 done
4858 done
4859 done
4860 IFS=$as_save_IFS
4861 if test -z "$ac_cv_path_EGREP"; then
4862 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4863 fi
4864 else
4865 ac_cv_path_EGREP=$EGREP
4866 fi
4867
4868 fi
4869 fi
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4871 $as_echo "$ac_cv_path_EGREP" >&6; }
4872 EGREP="$ac_cv_path_EGREP"
4873
4874
4875
4876 # Keep these sync'd with the list in Makefile.am. The first provides an
4877 # expandable list at autoconf time; the second provides an expandable list
4878 # (i.e., shell variable) at configure time.
4879
4880 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4881
4882 # These need to be absolute paths, yet at the same time need to
4883 # canonicalize only relative paths, because then amd will not unmount
4884 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4885 glibcxx_builddir=`${PWDCMD-pwd}`
4886 case $srcdir in
4887 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4888 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4889 esac
4890 toplevel_builddir=${glibcxx_builddir}/..
4891 toplevel_srcdir=${glibcxx_srcdir}/..
4892
4893
4894
4895
4896
4897 # We use these options to decide which functions to include. They are
4898 # set from the top level.
4899
4900 # Check whether --with-target-subdir was given.
4901 if test "${with_target_subdir+set}" = set; then :
4902 withval=$with_target_subdir;
4903 fi
4904
4905
4906
4907 # Check whether --with-cross-host was given.
4908 if test "${with_cross_host+set}" = set; then :
4909 withval=$with_cross_host;
4910 fi
4911
4912
4913
4914 # Check whether --with-newlib was given.
4915 if test "${with_newlib+set}" = set; then :
4916 withval=$with_newlib;
4917 fi
4918
4919
4920 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4921 # available). Uncomment the next line to force a particular method.
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4923 $as_echo_n "checking whether ln -s works... " >&6; }
4924 LN_S=$as_ln_s
4925 if test "$LN_S" = "ln -s"; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4927 $as_echo "yes" >&6; }
4928 else
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4930 $as_echo "no, using $LN_S" >&6; }
4931 fi
4932
4933 #LN_S='cp -p'
4934
4935 if test -n "$ac_tool_prefix"; then
4936 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4937 set dummy ${ac_tool_prefix}as; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if test "${ac_cv_prog_AS+set}" = set; then :
4941 $as_echo_n "(cached) " >&6
4942 else
4943 if test -n "$AS"; then
4944 ac_cv_prog_AS="$AS" # Let the user override the test.
4945 else
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 for as_dir in $PATH
4948 do
4949 IFS=$as_save_IFS
4950 test -z "$as_dir" && as_dir=.
4951 for ac_exec_ext in '' $ac_executable_extensions; do
4952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4953 ac_cv_prog_AS="${ac_tool_prefix}as"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 break 2
4956 fi
4957 done
4958 done
4959 IFS=$as_save_IFS
4960
4961 fi
4962 fi
4963 AS=$ac_cv_prog_AS
4964 if test -n "$AS"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4966 $as_echo "$AS" >&6; }
4967 else
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4970 fi
4971
4972
4973 fi
4974 if test -z "$ac_cv_prog_AS"; then
4975 ac_ct_AS=$AS
4976 # Extract the first word of "as", so it can be a program name with args.
4977 set dummy as; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4982 else
4983 if test -n "$ac_ct_AS"; then
4984 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4988 do
4989 IFS=$as_save_IFS
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_prog_ac_ct_AS="as"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 break 2
4996 fi
4997 done
4998 done
4999 IFS=$as_save_IFS
5000
5001 fi
5002 fi
5003 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5004 if test -n "$ac_ct_AS"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5006 $as_echo "$ac_ct_AS" >&6; }
5007 else
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5010 fi
5011
5012 if test "x$ac_ct_AS" = x; then
5013 AS=""
5014 else
5015 case $cross_compiling:$ac_tool_warned in
5016 yes:)
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5019 ac_tool_warned=yes ;;
5020 esac
5021 AS=$ac_ct_AS
5022 fi
5023 else
5024 AS="$ac_cv_prog_AS"
5025 fi
5026
5027 if test -n "$ac_tool_prefix"; then
5028 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5029 set dummy ${ac_tool_prefix}ar; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if test "${ac_cv_prog_AR+set}" = set; then :
5033 $as_echo_n "(cached) " >&6
5034 else
5035 if test -n "$AR"; then
5036 ac_cv_prog_AR="$AR" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5040 do
5041 IFS=$as_save_IFS
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5045 ac_cv_prog_AR="${ac_tool_prefix}ar"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 break 2
5048 fi
5049 done
5050 done
5051 IFS=$as_save_IFS
5052
5053 fi
5054 fi
5055 AR=$ac_cv_prog_AR
5056 if test -n "$AR"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5058 $as_echo "$AR" >&6; }
5059 else
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5062 fi
5063
5064
5065 fi
5066 if test -z "$ac_cv_prog_AR"; then
5067 ac_ct_AR=$AR
5068 # Extract the first word of "ar", so it can be a program name with args.
5069 set dummy ar; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5073 $as_echo_n "(cached) " >&6
5074 else
5075 if test -n "$ac_ct_AR"; then
5076 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5080 do
5081 IFS=$as_save_IFS
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_ac_ct_AR="ar"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 break 2
5088 fi
5089 done
5090 done
5091 IFS=$as_save_IFS
5092
5093 fi
5094 fi
5095 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5096 if test -n "$ac_ct_AR"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5098 $as_echo "$ac_ct_AR" >&6; }
5099 else
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5102 fi
5103
5104 if test "x$ac_ct_AR" = x; then
5105 AR=""
5106 else
5107 case $cross_compiling:$ac_tool_warned in
5108 yes:)
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5111 ac_tool_warned=yes ;;
5112 esac
5113 AR=$ac_ct_AR
5114 fi
5115 else
5116 AR="$ac_cv_prog_AR"
5117 fi
5118
5119 if test -n "$ac_tool_prefix"; then
5120 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5121 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5126 else
5127 if test -n "$RANLIB"; then
5128 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5129 else
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 for as_dir in $PATH
5132 do
5133 IFS=$as_save_IFS
5134 test -z "$as_dir" && as_dir=.
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 break 2
5140 fi
5141 done
5142 done
5143 IFS=$as_save_IFS
5144
5145 fi
5146 fi
5147 RANLIB=$ac_cv_prog_RANLIB
5148 if test -n "$RANLIB"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5150 $as_echo "$RANLIB" >&6; }
5151 else
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5154 fi
5155
5156
5157 fi
5158 if test -z "$ac_cv_prog_RANLIB"; then
5159 ac_ct_RANLIB=$RANLIB
5160 # Extract the first word of "ranlib", so it can be a program name with args.
5161 set dummy ranlib; ac_word=$2
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163 $as_echo_n "checking for $ac_word... " >&6; }
5164 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5165 $as_echo_n "(cached) " >&6
5166 else
5167 if test -n "$ac_ct_RANLIB"; then
5168 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5169 else
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 for as_dir in $PATH
5172 do
5173 IFS=$as_save_IFS
5174 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177 ac_cv_prog_ac_ct_RANLIB="ranlib"
5178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 break 2
5180 fi
5181 done
5182 done
5183 IFS=$as_save_IFS
5184
5185 fi
5186 fi
5187 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5188 if test -n "$ac_ct_RANLIB"; then
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5190 $as_echo "$ac_ct_RANLIB" >&6; }
5191 else
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 $as_echo "no" >&6; }
5194 fi
5195
5196 if test "x$ac_ct_RANLIB" = x; then
5197 RANLIB="ranlib-not-found-in-path-error"
5198 else
5199 case $cross_compiling:$ac_tool_warned in
5200 yes:)
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5203 ac_tool_warned=yes ;;
5204 esac
5205 RANLIB=$ac_ct_RANLIB
5206 fi
5207 else
5208 RANLIB="$ac_cv_prog_RANLIB"
5209 fi
5210
5211
5212
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5214 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5215 # Check whether --enable-maintainer-mode was given.
5216 if test "${enable_maintainer_mode+set}" = set; then :
5217 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5218 else
5219 USE_MAINTAINER_MODE=no
5220 fi
5221
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5223 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5224 if test $USE_MAINTAINER_MODE = yes; then
5225 MAINTAINER_MODE_TRUE=
5226 MAINTAINER_MODE_FALSE='#'
5227 else
5228 MAINTAINER_MODE_TRUE='#'
5229 MAINTAINER_MODE_FALSE=
5230 fi
5231
5232 MAINT=$MAINTAINER_MODE_TRUE
5233
5234
5235
5236 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5237 # which are themselves conditionally expanded.
5238 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5239 ## other macros from doing the same. This should be automated.) -pme
5240
5241 # Check for C library flavor since GNU/Linux platforms use different
5242 # configuration directories depending on the C library in use.
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5245
5246 #include <stdio.h>
5247 #if __UCLIBC__
5248 _using_uclibc
5249 #endif
5250
5251 _ACEOF
5252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5253 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5254 uclibc=yes
5255 else
5256 uclibc=no
5257 fi
5258 rm -f conftest*
5259
5260
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5263
5264 #include <stdio.h>
5265 #if __BIONIC__
5266 _using_bionic
5267 #endif
5268
5269 _ACEOF
5270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5271 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5272 bionic=yes
5273 else
5274 bionic=no
5275 fi
5276 rm -f conftest*
5277
5278
5279 # Find platform-specific directories containing configuration info.
5280 # Also possibly modify flags used elsewhere, as needed by the platform.
5281
5282 . $glibcxx_srcdir/configure.host
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5284 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5286 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5287
5288
5289
5290 # Libtool setup.
5291 if test "x${with_newlib}" != "xyes"; then
5292 enable_dlopen=yes
5293
5294
5295
5296 fi
5297 case `pwd` in
5298 *\ * | *\ *)
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5300 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5301 esac
5302
5303
5304
5305 macro_version='2.2.7a'
5306 macro_revision='1.3134'
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320 ltmain="$ac_aux_dir/ltmain.sh"
5321
5322 # Backslashify metacharacters that are still active within
5323 # double-quoted strings.
5324 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5325
5326 # Same as above, but do not quote variable references.
5327 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5328
5329 # Sed substitution to delay expansion of an escaped shell variable in a
5330 # double_quote_subst'ed string.
5331 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5332
5333 # Sed substitution to delay expansion of an escaped single quote.
5334 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5335
5336 # Sed substitution to avoid accidental globbing in evaled expressions
5337 no_glob_subst='s/\*/\\\*/g'
5338
5339 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5340 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5341 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5342
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5344 $as_echo_n "checking how to print strings... " >&6; }
5345 # Test print first, because it will be a builtin if present.
5346 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5347 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5348 ECHO='print -r --'
5349 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5350 ECHO='printf %s\n'
5351 else
5352 # Use this function as a fallback that always works.
5353 func_fallback_echo ()
5354 {
5355 eval 'cat <<_LTECHO_EOF
5356 $1
5357 _LTECHO_EOF'
5358 }
5359 ECHO='func_fallback_echo'
5360 fi
5361
5362 # func_echo_all arg...
5363 # Invoke $ECHO with all args, space-separated.
5364 func_echo_all ()
5365 {
5366 $ECHO ""
5367 }
5368
5369 case "$ECHO" in
5370 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5371 $as_echo "printf" >&6; } ;;
5372 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5373 $as_echo "print -r" >&6; } ;;
5374 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5375 $as_echo "cat" >&6; } ;;
5376 esac
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5392 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5393 if test "${ac_cv_path_SED+set}" = set; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5397 for ac_i in 1 2 3 4 5 6 7; do
5398 ac_script="$ac_script$as_nl$ac_script"
5399 done
5400 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5401 { ac_script=; unset ac_script;}
5402 if test -z "$SED"; then
5403 ac_path_SED_found=false
5404 # Loop through the user's path and test for each of PROGNAME-LIST
5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 for as_dir in $PATH
5407 do
5408 IFS=$as_save_IFS
5409 test -z "$as_dir" && as_dir=.
5410 for ac_prog in sed gsed; do
5411 for ac_exec_ext in '' $ac_executable_extensions; do
5412 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5413 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5414 # Check for GNU ac_path_SED and select it if it is found.
5415 # Check for GNU $ac_path_SED
5416 case `"$ac_path_SED" --version 2>&1` in
5417 *GNU*)
5418 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5419 *)
5420 ac_count=0
5421 $as_echo_n 0123456789 >"conftest.in"
5422 while :
5423 do
5424 cat "conftest.in" "conftest.in" >"conftest.tmp"
5425 mv "conftest.tmp" "conftest.in"
5426 cp "conftest.in" "conftest.nl"
5427 $as_echo '' >> "conftest.nl"
5428 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5429 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5430 as_fn_arith $ac_count + 1 && ac_count=$as_val
5431 if test $ac_count -gt ${ac_path_SED_max-0}; then
5432 # Best one so far, save it but keep looking for a better one
5433 ac_cv_path_SED="$ac_path_SED"
5434 ac_path_SED_max=$ac_count
5435 fi
5436 # 10*(2^10) chars as input seems more than enough
5437 test $ac_count -gt 10 && break
5438 done
5439 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5440 esac
5441
5442 $ac_path_SED_found && break 3
5443 done
5444 done
5445 done
5446 IFS=$as_save_IFS
5447 if test -z "$ac_cv_path_SED"; then
5448 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5449 fi
5450 else
5451 ac_cv_path_SED=$SED
5452 fi
5453
5454 fi
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5456 $as_echo "$ac_cv_path_SED" >&6; }
5457 SED="$ac_cv_path_SED"
5458 rm -f conftest.sed
5459
5460 test -z "$SED" && SED=sed
5461 Xsed="$SED -e 1s/^X//"
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5474 $as_echo_n "checking for fgrep... " >&6; }
5475 if test "${ac_cv_path_FGREP+set}" = set; then :
5476 $as_echo_n "(cached) " >&6
5477 else
5478 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5479 then ac_cv_path_FGREP="$GREP -F"
5480 else
5481 if test -z "$FGREP"; then
5482 ac_path_FGREP_found=false
5483 # Loop through the user's path and test for each of PROGNAME-LIST
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5486 do
5487 IFS=$as_save_IFS
5488 test -z "$as_dir" && as_dir=.
5489 for ac_prog in fgrep; do
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5492 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5493 # Check for GNU ac_path_FGREP and select it if it is found.
5494 # Check for GNU $ac_path_FGREP
5495 case `"$ac_path_FGREP" --version 2>&1` in
5496 *GNU*)
5497 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5498 *)
5499 ac_count=0
5500 $as_echo_n 0123456789 >"conftest.in"
5501 while :
5502 do
5503 cat "conftest.in" "conftest.in" >"conftest.tmp"
5504 mv "conftest.tmp" "conftest.in"
5505 cp "conftest.in" "conftest.nl"
5506 $as_echo 'FGREP' >> "conftest.nl"
5507 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5508 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5509 as_fn_arith $ac_count + 1 && ac_count=$as_val
5510 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5511 # Best one so far, save it but keep looking for a better one
5512 ac_cv_path_FGREP="$ac_path_FGREP"
5513 ac_path_FGREP_max=$ac_count
5514 fi
5515 # 10*(2^10) chars as input seems more than enough
5516 test $ac_count -gt 10 && break
5517 done
5518 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5519 esac
5520
5521 $ac_path_FGREP_found && break 3
5522 done
5523 done
5524 done
5525 IFS=$as_save_IFS
5526 if test -z "$ac_cv_path_FGREP"; then
5527 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5528 fi
5529 else
5530 ac_cv_path_FGREP=$FGREP
5531 fi
5532
5533 fi
5534 fi
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5536 $as_echo "$ac_cv_path_FGREP" >&6; }
5537 FGREP="$ac_cv_path_FGREP"
5538
5539
5540 test -z "$GREP" && GREP=grep
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560 # Check whether --with-gnu-ld was given.
5561 if test "${with_gnu_ld+set}" = set; then :
5562 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5563 else
5564 with_gnu_ld=no
5565 fi
5566
5567 ac_prog=ld
5568 if test "$GCC" = yes; then
5569 # Check if gcc -print-prog-name=ld gives a path.
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5571 $as_echo_n "checking for ld used by $CC... " >&6; }
5572 case $host in
5573 *-*-mingw*)
5574 # gcc leaves a trailing carriage return which upsets mingw
5575 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5576 *)
5577 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5578 esac
5579 case $ac_prog in
5580 # Accept absolute paths.
5581 [\\/]* | ?:[\\/]*)
5582 re_direlt='/[^/][^/]*/\.\./'
5583 # Canonicalize the pathname of ld
5584 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5585 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5586 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5587 done
5588 test -z "$LD" && LD="$ac_prog"
5589 ;;
5590 "")
5591 # If it fails, then pretend we aren't using GCC.
5592 ac_prog=ld
5593 ;;
5594 *)
5595 # If it is relative, then search for the first ld in PATH.
5596 with_gnu_ld=unknown
5597 ;;
5598 esac
5599 elif test "$with_gnu_ld" = yes; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5601 $as_echo_n "checking for GNU ld... " >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5604 $as_echo_n "checking for non-GNU ld... " >&6; }
5605 fi
5606 if test "${lt_cv_path_LD+set}" = set; then :
5607 $as_echo_n "(cached) " >&6
5608 else
5609 if test -z "$LD"; then
5610 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5611 for ac_dir in $PATH; do
5612 IFS="$lt_save_ifs"
5613 test -z "$ac_dir" && ac_dir=.
5614 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5615 lt_cv_path_LD="$ac_dir/$ac_prog"
5616 # Check to see if the program is GNU ld. I'd rather use --version,
5617 # but apparently some variants of GNU ld only accept -v.
5618 # Break only if it was the GNU/non-GNU ld that we prefer.
5619 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5620 *GNU* | *'with BFD'*)
5621 test "$with_gnu_ld" != no && break
5622 ;;
5623 *)
5624 test "$with_gnu_ld" != yes && break
5625 ;;
5626 esac
5627 fi
5628 done
5629 IFS="$lt_save_ifs"
5630 else
5631 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5632 fi
5633 fi
5634
5635 LD="$lt_cv_path_LD"
5636 if test -n "$LD"; then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5638 $as_echo "$LD" >&6; }
5639 else
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 $as_echo "no" >&6; }
5642 fi
5643 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5645 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5646 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5647 $as_echo_n "(cached) " >&6
5648 else
5649 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5650 case `$LD -v 2>&1 </dev/null` in
5651 *GNU* | *'with BFD'*)
5652 lt_cv_prog_gnu_ld=yes
5653 ;;
5654 *)
5655 lt_cv_prog_gnu_ld=no
5656 ;;
5657 esac
5658 fi
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5660 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5661 with_gnu_ld=$lt_cv_prog_gnu_ld
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5672 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5673 if test "${lt_cv_path_NM+set}" = set; then :
5674 $as_echo_n "(cached) " >&6
5675 else
5676 if test -n "$NM"; then
5677 # Let the user override the test.
5678 lt_cv_path_NM="$NM"
5679 else
5680 lt_nm_to_check="${ac_tool_prefix}nm"
5681 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5682 lt_nm_to_check="$lt_nm_to_check nm"
5683 fi
5684 for lt_tmp_nm in $lt_nm_to_check; do
5685 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5686 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5687 IFS="$lt_save_ifs"
5688 test -z "$ac_dir" && ac_dir=.
5689 tmp_nm="$ac_dir/$lt_tmp_nm"
5690 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5691 # Check to see if the nm accepts a BSD-compat flag.
5692 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5693 # nm: unknown option "B" ignored
5694 # Tru64's nm complains that /dev/null is an invalid object file
5695 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5696 */dev/null* | *'Invalid file or object type'*)
5697 lt_cv_path_NM="$tmp_nm -B"
5698 break
5699 ;;
5700 *)
5701 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5702 */dev/null*)
5703 lt_cv_path_NM="$tmp_nm -p"
5704 break
5705 ;;
5706 *)
5707 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5708 continue # so that we can try to find one that supports BSD flags
5709 ;;
5710 esac
5711 ;;
5712 esac
5713 fi
5714 done
5715 IFS="$lt_save_ifs"
5716 done
5717 : ${lt_cv_path_NM=no}
5718 fi
5719 fi
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5721 $as_echo "$lt_cv_path_NM" >&6; }
5722 if test "$lt_cv_path_NM" != "no"; then
5723 NM="$lt_cv_path_NM"
5724 else
5725 # Didn't find any BSD compatible name lister, look for dumpbin.
5726 if test -n "$DUMPBIN"; then :
5727 # Let the user override the test.
5728 else
5729 if test -n "$ac_tool_prefix"; then
5730 for ac_prog in dumpbin "link -dump"
5731 do
5732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 $as_echo_n "checking for $ac_word... " >&6; }
5736 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5737 $as_echo_n "(cached) " >&6
5738 else
5739 if test -n "$DUMPBIN"; then
5740 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5741 else
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 for as_dir in $PATH
5744 do
5745 IFS=$as_save_IFS
5746 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5749 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 break 2
5752 fi
5753 done
5754 done
5755 IFS=$as_save_IFS
5756
5757 fi
5758 fi
5759 DUMPBIN=$ac_cv_prog_DUMPBIN
5760 if test -n "$DUMPBIN"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5762 $as_echo "$DUMPBIN" >&6; }
5763 else
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5766 fi
5767
5768
5769 test -n "$DUMPBIN" && break
5770 done
5771 fi
5772 if test -z "$DUMPBIN"; then
5773 ac_ct_DUMPBIN=$DUMPBIN
5774 for ac_prog in dumpbin "link -dump"
5775 do
5776 # Extract the first word of "$ac_prog", so it can be a program name with args.
5777 set dummy $ac_prog; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 if test -n "$ac_ct_DUMPBIN"; then
5784 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5785 else
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 for as_dir in $PATH
5788 do
5789 IFS=$as_save_IFS
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5793 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 break 2
5796 fi
5797 done
5798 done
5799 IFS=$as_save_IFS
5800
5801 fi
5802 fi
5803 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5804 if test -n "$ac_ct_DUMPBIN"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5806 $as_echo "$ac_ct_DUMPBIN" >&6; }
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5810 fi
5811
5812
5813 test -n "$ac_ct_DUMPBIN" && break
5814 done
5815
5816 if test "x$ac_ct_DUMPBIN" = x; then
5817 DUMPBIN=":"
5818 else
5819 case $cross_compiling:$ac_tool_warned in
5820 yes:)
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5823 ac_tool_warned=yes ;;
5824 esac
5825 DUMPBIN=$ac_ct_DUMPBIN
5826 fi
5827 fi
5828
5829 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5830 *COFF*)
5831 DUMPBIN="$DUMPBIN -symbols"
5832 ;;
5833 *)
5834 DUMPBIN=:
5835 ;;
5836 esac
5837 fi
5838
5839 if test "$DUMPBIN" != ":"; then
5840 NM="$DUMPBIN"
5841 fi
5842 fi
5843 test -z "$NM" && NM=nm
5844
5845
5846
5847
5848
5849
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5851 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5852 if test "${lt_cv_nm_interface+set}" = set; then :
5853 $as_echo_n "(cached) " >&6
5854 else
5855 lt_cv_nm_interface="BSD nm"
5856 echo "int some_variable = 0;" > conftest.$ac_ext
5857 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5858 (eval "$ac_compile" 2>conftest.err)
5859 cat conftest.err >&5
5860 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5861 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5862 cat conftest.err >&5
5863 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5864 cat conftest.out >&5
5865 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5866 lt_cv_nm_interface="MS dumpbin"
5867 fi
5868 rm -f conftest*
5869 fi
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5871 $as_echo "$lt_cv_nm_interface" >&6; }
5872
5873 # find the maximum length of command line arguments
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5875 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5876 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5877 $as_echo_n "(cached) " >&6
5878 else
5879 i=0
5880 teststring="ABCD"
5881
5882 case $build_os in
5883 msdosdjgpp*)
5884 # On DJGPP, this test can blow up pretty badly due to problems in libc
5885 # (any single argument exceeding 2000 bytes causes a buffer overrun
5886 # during glob expansion). Even if it were fixed, the result of this
5887 # check would be larger than it should be.
5888 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5889 ;;
5890
5891 gnu*)
5892 # Under GNU Hurd, this test is not required because there is
5893 # no limit to the length of command line arguments.
5894 # Libtool will interpret -1 as no limit whatsoever
5895 lt_cv_sys_max_cmd_len=-1;
5896 ;;
5897
5898 cygwin* | mingw* | cegcc*)
5899 # On Win9x/ME, this test blows up -- it succeeds, but takes
5900 # about 5 minutes as the teststring grows exponentially.
5901 # Worse, since 9x/ME are not pre-emptively multitasking,
5902 # you end up with a "frozen" computer, even though with patience
5903 # the test eventually succeeds (with a max line length of 256k).
5904 # Instead, let's just punt: use the minimum linelength reported by
5905 # all of the supported platforms: 8192 (on NT/2K/XP).
5906 lt_cv_sys_max_cmd_len=8192;
5907 ;;
5908
5909 mint*)
5910 # On MiNT this can take a long time and run out of memory.
5911 lt_cv_sys_max_cmd_len=8192;
5912 ;;
5913
5914 amigaos*)
5915 # On AmigaOS with pdksh, this test takes hours, literally.
5916 # So we just punt and use a minimum line length of 8192.
5917 lt_cv_sys_max_cmd_len=8192;
5918 ;;
5919
5920 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5921 # This has been around since 386BSD, at least. Likely further.
5922 if test -x /sbin/sysctl; then
5923 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5924 elif test -x /usr/sbin/sysctl; then
5925 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5926 else
5927 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5928 fi
5929 # And add a safety zone
5930 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5931 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5932 ;;
5933
5934 interix*)
5935 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5936 lt_cv_sys_max_cmd_len=196608
5937 ;;
5938
5939 osf*)
5940 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5941 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5942 # nice to cause kernel panics so lets avoid the loop below.
5943 # First set a reasonable default.
5944 lt_cv_sys_max_cmd_len=16384
5945 #
5946 if test -x /sbin/sysconfig; then
5947 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5948 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5949 esac
5950 fi
5951 ;;
5952 sco3.2v5*)
5953 lt_cv_sys_max_cmd_len=102400
5954 ;;
5955 sysv5* | sco5v6* | sysv4.2uw2*)
5956 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5957 if test -n "$kargmax"; then
5958 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5959 else
5960 lt_cv_sys_max_cmd_len=32768
5961 fi
5962 ;;
5963 *)
5964 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5965 if test -n "$lt_cv_sys_max_cmd_len"; then
5966 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5967 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5968 else
5969 # Make teststring a little bigger before we do anything with it.
5970 # a 1K string should be a reasonable start.
5971 for i in 1 2 3 4 5 6 7 8 ; do
5972 teststring=$teststring$teststring
5973 done
5974 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5975 # If test is not a shell built-in, we'll probably end up computing a
5976 # maximum length that is only half of the actual maximum length, but
5977 # we can't tell.
5978 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5979 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5980 test $i != 17 # 1/2 MB should be enough
5981 do
5982 i=`expr $i + 1`
5983 teststring=$teststring$teststring
5984 done
5985 # Only check the string length outside the loop.
5986 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5987 teststring=
5988 # Add a significant safety factor because C++ compilers can tack on
5989 # massive amounts of additional arguments before passing them to the
5990 # linker. It appears as though 1/2 is a usable value.
5991 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5992 fi
5993 ;;
5994 esac
5995
5996 fi
5997
5998 if test -n $lt_cv_sys_max_cmd_len ; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6000 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6001 else
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6003 $as_echo "none" >&6; }
6004 fi
6005 max_cmd_len=$lt_cv_sys_max_cmd_len
6006
6007
6008
6009
6010
6011
6012 : ${CP="cp -f"}
6013 : ${MV="mv -f"}
6014 : ${RM="rm -f"}
6015
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6017 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6018 # Try some XSI features
6019 xsi_shell=no
6020 ( _lt_dummy="a/b/c"
6021 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6022 = c,a/b,, \
6023 && eval 'test $(( 1 + 1 )) -eq 2 \
6024 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6025 && xsi_shell=yes
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6027 $as_echo "$xsi_shell" >&6; }
6028
6029
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6031 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6032 lt_shell_append=no
6033 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6034 >/dev/null 2>&1 \
6035 && lt_shell_append=yes
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6037 $as_echo "$lt_shell_append" >&6; }
6038
6039
6040 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6041 lt_unset=unset
6042 else
6043 lt_unset=false
6044 fi
6045
6046
6047
6048
6049
6050 # test EBCDIC or ASCII
6051 case `echo X|tr X '\101'` in
6052 A) # ASCII based system
6053 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6054 lt_SP2NL='tr \040 \012'
6055 lt_NL2SP='tr \015\012 \040\040'
6056 ;;
6057 *) # EBCDIC based system
6058 lt_SP2NL='tr \100 \n'
6059 lt_NL2SP='tr \r\n \100\100'
6060 ;;
6061 esac
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6072 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6073 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6074 $as_echo_n "(cached) " >&6
6075 else
6076 lt_cv_ld_reload_flag='-r'
6077 fi
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6079 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6080 reload_flag=$lt_cv_ld_reload_flag
6081 case $reload_flag in
6082 "" | " "*) ;;
6083 *) reload_flag=" $reload_flag" ;;
6084 esac
6085 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6086 case $host_os in
6087 darwin*)
6088 if test "$GCC" = yes; then
6089 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6090 else
6091 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6092 fi
6093 ;;
6094 esac
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104 if test -n "$ac_tool_prefix"; then
6105 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6106 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6110 $as_echo_n "(cached) " >&6
6111 else
6112 if test -n "$OBJDUMP"; then
6113 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6117 do
6118 IFS=$as_save_IFS
6119 test -z "$as_dir" && as_dir=.
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6122 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124 break 2
6125 fi
6126 done
6127 done
6128 IFS=$as_save_IFS
6129
6130 fi
6131 fi
6132 OBJDUMP=$ac_cv_prog_OBJDUMP
6133 if test -n "$OBJDUMP"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6135 $as_echo "$OBJDUMP" >&6; }
6136 else
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6139 fi
6140
6141
6142 fi
6143 if test -z "$ac_cv_prog_OBJDUMP"; then
6144 ac_ct_OBJDUMP=$OBJDUMP
6145 # Extract the first word of "objdump", so it can be a program name with args.
6146 set dummy objdump; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 if test -n "$ac_ct_OBJDUMP"; then
6153 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6157 do
6158 IFS=$as_save_IFS
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 break 2
6165 fi
6166 done
6167 done
6168 IFS=$as_save_IFS
6169
6170 fi
6171 fi
6172 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6173 if test -n "$ac_ct_OBJDUMP"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6175 $as_echo "$ac_ct_OBJDUMP" >&6; }
6176 else
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6179 fi
6180
6181 if test "x$ac_ct_OBJDUMP" = x; then
6182 OBJDUMP="false"
6183 else
6184 case $cross_compiling:$ac_tool_warned in
6185 yes:)
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6188 ac_tool_warned=yes ;;
6189 esac
6190 OBJDUMP=$ac_ct_OBJDUMP
6191 fi
6192 else
6193 OBJDUMP="$ac_cv_prog_OBJDUMP"
6194 fi
6195
6196 test -z "$OBJDUMP" && OBJDUMP=objdump
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6207 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6208 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6209 $as_echo_n "(cached) " >&6
6210 else
6211 lt_cv_file_magic_cmd='$MAGIC_CMD'
6212 lt_cv_file_magic_test_file=
6213 lt_cv_deplibs_check_method='unknown'
6214 # Need to set the preceding variable on all platforms that support
6215 # interlibrary dependencies.
6216 # 'none' -- dependencies not supported.
6217 # `unknown' -- same as none, but documents that we really don't know.
6218 # 'pass_all' -- all dependencies passed with no checks.
6219 # 'test_compile' -- check by making test program.
6220 # 'file_magic [[regex]]' -- check by looking for files in library path
6221 # which responds to the $file_magic_cmd with a given extended regex.
6222 # If you have `file' or equivalent on your system and you're not sure
6223 # whether `pass_all' will *always* work, you probably want this one.
6224
6225 case $host_os in
6226 aix[4-9]*)
6227 lt_cv_deplibs_check_method=pass_all
6228 ;;
6229
6230 beos*)
6231 lt_cv_deplibs_check_method=pass_all
6232 ;;
6233
6234 bsdi[45]*)
6235 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6236 lt_cv_file_magic_cmd='/usr/bin/file -L'
6237 lt_cv_file_magic_test_file=/shlib/libc.so
6238 ;;
6239
6240 cygwin*)
6241 # func_win32_libid is a shell function defined in ltmain.sh
6242 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6243 lt_cv_file_magic_cmd='func_win32_libid'
6244 ;;
6245
6246 mingw* | pw32*)
6247 # Base MSYS/MinGW do not provide the 'file' command needed by
6248 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6249 # unless we find 'file', for example because we are cross-compiling.
6250 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6251 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6252 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6253 lt_cv_file_magic_cmd='func_win32_libid'
6254 else
6255 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6256 lt_cv_file_magic_cmd='$OBJDUMP -f'
6257 fi
6258 ;;
6259
6260 cegcc*)
6261 # use the weaker test based on 'objdump'. See mingw*.
6262 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6263 lt_cv_file_magic_cmd='$OBJDUMP -f'
6264 ;;
6265
6266 darwin* | rhapsody*)
6267 lt_cv_deplibs_check_method=pass_all
6268 ;;
6269
6270 freebsd* | dragonfly*)
6271 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6272 case $host_cpu in
6273 i*86 )
6274 # Not sure whether the presence of OpenBSD here was a mistake.
6275 # Let's accept both of them until this is cleared up.
6276 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6277 lt_cv_file_magic_cmd=/usr/bin/file
6278 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6279 ;;
6280 esac
6281 else
6282 lt_cv_deplibs_check_method=pass_all
6283 fi
6284 ;;
6285
6286 gnu*)
6287 lt_cv_deplibs_check_method=pass_all
6288 ;;
6289
6290 haiku*)
6291 lt_cv_deplibs_check_method=pass_all
6292 ;;
6293
6294 hpux10.20* | hpux11*)
6295 lt_cv_file_magic_cmd=/usr/bin/file
6296 case $host_cpu in
6297 ia64*)
6298 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6299 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6300 ;;
6301 hppa*64*)
6302 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6303 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6304 ;;
6305 *)
6306 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6307 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6308 ;;
6309 esac
6310 ;;
6311
6312 interix[3-9]*)
6313 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6314 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6315 ;;
6316
6317 irix5* | irix6* | nonstopux*)
6318 case $LD in
6319 *-32|*"-32 ") libmagic=32-bit;;
6320 *-n32|*"-n32 ") libmagic=N32;;
6321 *-64|*"-64 ") libmagic=64-bit;;
6322 *) libmagic=never-match;;
6323 esac
6324 lt_cv_deplibs_check_method=pass_all
6325 ;;
6326
6327 # This must be Linux ELF.
6328 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6329 lt_cv_deplibs_check_method=pass_all
6330 ;;
6331
6332 netbsd*)
6333 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6335 else
6336 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6337 fi
6338 ;;
6339
6340 newos6*)
6341 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6342 lt_cv_file_magic_cmd=/usr/bin/file
6343 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6344 ;;
6345
6346 *nto* | *qnx*)
6347 lt_cv_deplibs_check_method=pass_all
6348 ;;
6349
6350 openbsd*)
6351 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6352 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6353 else
6354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6355 fi
6356 ;;
6357
6358 osf3* | osf4* | osf5*)
6359 lt_cv_deplibs_check_method=pass_all
6360 ;;
6361
6362 rdos*)
6363 lt_cv_deplibs_check_method=pass_all
6364 ;;
6365
6366 solaris*)
6367 lt_cv_deplibs_check_method=pass_all
6368 ;;
6369
6370 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6371 lt_cv_deplibs_check_method=pass_all
6372 ;;
6373
6374 sysv4 | sysv4.3*)
6375 case $host_vendor in
6376 motorola)
6377 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6378 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6379 ;;
6380 ncr)
6381 lt_cv_deplibs_check_method=pass_all
6382 ;;
6383 sequent)
6384 lt_cv_file_magic_cmd='/bin/file'
6385 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6386 ;;
6387 sni)
6388 lt_cv_file_magic_cmd='/bin/file'
6389 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6390 lt_cv_file_magic_test_file=/lib/libc.so
6391 ;;
6392 siemens)
6393 lt_cv_deplibs_check_method=pass_all
6394 ;;
6395 pc)
6396 lt_cv_deplibs_check_method=pass_all
6397 ;;
6398 esac
6399 ;;
6400
6401 tpf*)
6402 lt_cv_deplibs_check_method=pass_all
6403 ;;
6404 esac
6405
6406 fi
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6408 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6409 file_magic_cmd=$lt_cv_file_magic_cmd
6410 deplibs_check_method=$lt_cv_deplibs_check_method
6411 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424 if test -n "$ac_tool_prefix"; then
6425 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6426 set dummy ${ac_tool_prefix}ar; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if test "${ac_cv_prog_AR+set}" = set; then :
6430 $as_echo_n "(cached) " >&6
6431 else
6432 if test -n "$AR"; then
6433 ac_cv_prog_AR="$AR" # Let the user override the test.
6434 else
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH
6437 do
6438 IFS=$as_save_IFS
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442 ac_cv_prog_AR="${ac_tool_prefix}ar"
6443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 break 2
6445 fi
6446 done
6447 done
6448 IFS=$as_save_IFS
6449
6450 fi
6451 fi
6452 AR=$ac_cv_prog_AR
6453 if test -n "$AR"; then
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6455 $as_echo "$AR" >&6; }
6456 else
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 $as_echo "no" >&6; }
6459 fi
6460
6461
6462 fi
6463 if test -z "$ac_cv_prog_AR"; then
6464 ac_ct_AR=$AR
6465 # Extract the first word of "ar", so it can be a program name with args.
6466 set dummy ar; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468 $as_echo_n "checking for $ac_word... " >&6; }
6469 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6470 $as_echo_n "(cached) " >&6
6471 else
6472 if test -n "$ac_ct_AR"; then
6473 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6474 else
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 for as_dir in $PATH
6477 do
6478 IFS=$as_save_IFS
6479 test -z "$as_dir" && as_dir=.
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6482 ac_cv_prog_ac_ct_AR="ar"
6483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 break 2
6485 fi
6486 done
6487 done
6488 IFS=$as_save_IFS
6489
6490 fi
6491 fi
6492 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6493 if test -n "$ac_ct_AR"; then
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6495 $as_echo "$ac_ct_AR" >&6; }
6496 else
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498 $as_echo "no" >&6; }
6499 fi
6500
6501 if test "x$ac_ct_AR" = x; then
6502 AR="false"
6503 else
6504 case $cross_compiling:$ac_tool_warned in
6505 yes:)
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6508 ac_tool_warned=yes ;;
6509 esac
6510 AR=$ac_ct_AR
6511 fi
6512 else
6513 AR="$ac_cv_prog_AR"
6514 fi
6515
6516 test -z "$AR" && AR=ar
6517 test -z "$AR_FLAGS" && AR_FLAGS=cru
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529 if test -n "$ac_tool_prefix"; then
6530 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6531 set dummy ${ac_tool_prefix}strip; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533 $as_echo_n "checking for $ac_word... " >&6; }
6534 if test "${ac_cv_prog_STRIP+set}" = set; then :
6535 $as_echo_n "(cached) " >&6
6536 else
6537 if test -n "$STRIP"; then
6538 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6539 else
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6541 for as_dir in $PATH
6542 do
6543 IFS=$as_save_IFS
6544 test -z "$as_dir" && as_dir=.
6545 for ac_exec_ext in '' $ac_executable_extensions; do
6546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6547 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549 break 2
6550 fi
6551 done
6552 done
6553 IFS=$as_save_IFS
6554
6555 fi
6556 fi
6557 STRIP=$ac_cv_prog_STRIP
6558 if test -n "$STRIP"; then
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6560 $as_echo "$STRIP" >&6; }
6561 else
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563 $as_echo "no" >&6; }
6564 fi
6565
6566
6567 fi
6568 if test -z "$ac_cv_prog_STRIP"; then
6569 ac_ct_STRIP=$STRIP
6570 # Extract the first word of "strip", so it can be a program name with args.
6571 set dummy strip; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6575 $as_echo_n "(cached) " >&6
6576 else
6577 if test -n "$ac_ct_STRIP"; then
6578 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6579 else
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 for as_dir in $PATH
6582 do
6583 IFS=$as_save_IFS
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587 ac_cv_prog_ac_ct_STRIP="strip"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 break 2
6590 fi
6591 done
6592 done
6593 IFS=$as_save_IFS
6594
6595 fi
6596 fi
6597 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6598 if test -n "$ac_ct_STRIP"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6600 $as_echo "$ac_ct_STRIP" >&6; }
6601 else
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6604 fi
6605
6606 if test "x$ac_ct_STRIP" = x; then
6607 STRIP=":"
6608 else
6609 case $cross_compiling:$ac_tool_warned in
6610 yes:)
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6613 ac_tool_warned=yes ;;
6614 esac
6615 STRIP=$ac_ct_STRIP
6616 fi
6617 else
6618 STRIP="$ac_cv_prog_STRIP"
6619 fi
6620
6621 test -z "$STRIP" && STRIP=:
6622
6623
6624
6625
6626
6627
6628 if test -n "$ac_tool_prefix"; then
6629 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6630 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632 $as_echo_n "checking for $ac_word... " >&6; }
6633 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6634 $as_echo_n "(cached) " >&6
6635 else
6636 if test -n "$RANLIB"; then
6637 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6638 else
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 for as_dir in $PATH
6641 do
6642 IFS=$as_save_IFS
6643 test -z "$as_dir" && as_dir=.
6644 for ac_exec_ext in '' $ac_executable_extensions; do
6645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6646 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6648 break 2
6649 fi
6650 done
6651 done
6652 IFS=$as_save_IFS
6653
6654 fi
6655 fi
6656 RANLIB=$ac_cv_prog_RANLIB
6657 if test -n "$RANLIB"; then
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6659 $as_echo "$RANLIB" >&6; }
6660 else
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6663 fi
6664
6665
6666 fi
6667 if test -z "$ac_cv_prog_RANLIB"; then
6668 ac_ct_RANLIB=$RANLIB
6669 # Extract the first word of "ranlib", so it can be a program name with args.
6670 set dummy ranlib; ac_word=$2
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672 $as_echo_n "checking for $ac_word... " >&6; }
6673 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6674 $as_echo_n "(cached) " >&6
6675 else
6676 if test -n "$ac_ct_RANLIB"; then
6677 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6678 else
6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 for as_dir in $PATH
6681 do
6682 IFS=$as_save_IFS
6683 test -z "$as_dir" && as_dir=.
6684 for ac_exec_ext in '' $ac_executable_extensions; do
6685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6686 ac_cv_prog_ac_ct_RANLIB="ranlib"
6687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688 break 2
6689 fi
6690 done
6691 done
6692 IFS=$as_save_IFS
6693
6694 fi
6695 fi
6696 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6697 if test -n "$ac_ct_RANLIB"; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6699 $as_echo "$ac_ct_RANLIB" >&6; }
6700 else
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 $as_echo "no" >&6; }
6703 fi
6704
6705 if test "x$ac_ct_RANLIB" = x; then
6706 RANLIB=":"
6707 else
6708 case $cross_compiling:$ac_tool_warned in
6709 yes:)
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6712 ac_tool_warned=yes ;;
6713 esac
6714 RANLIB=$ac_ct_RANLIB
6715 fi
6716 else
6717 RANLIB="$ac_cv_prog_RANLIB"
6718 fi
6719
6720 test -z "$RANLIB" && RANLIB=:
6721
6722
6723
6724
6725
6726
6727 # Determine commands to create old-style static archives.
6728 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6729 old_postinstall_cmds='chmod 644 $oldlib'
6730 old_postuninstall_cmds=
6731
6732 if test -n "$RANLIB"; then
6733 case $host_os in
6734 openbsd*)
6735 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6736 ;;
6737 *)
6738 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6739 ;;
6740 esac
6741 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6742 fi
6743
6744 case $host_os in
6745 darwin*)
6746 lock_old_archive_extraction=yes ;;
6747 *)
6748 lock_old_archive_extraction=no ;;
6749 esac
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789 # If no C compiler was specified, use CC.
6790 LTCC=${LTCC-"$CC"}
6791
6792 # If no C compiler flags were specified, use CFLAGS.
6793 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6794
6795 # Allow CC to be a program name with arguments.
6796 compiler=$CC
6797
6798
6799 # Check for command to grab the raw symbol name followed by C symbol from nm.
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6801 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6802 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6803 $as_echo_n "(cached) " >&6
6804 else
6805
6806 # These are sane defaults that work on at least a few old systems.
6807 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6808
6809 # Character class describing NM global symbol codes.
6810 symcode='[BCDEGRST]'
6811
6812 # Regexp to match symbols that can be accessed directly from C.
6813 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6814
6815 # Define system-specific variables.
6816 case $host_os in
6817 aix*)
6818 symcode='[BCDT]'
6819 ;;
6820 cygwin* | mingw* | pw32* | cegcc*)
6821 symcode='[ABCDGISTW]'
6822 ;;
6823 hpux*)
6824 if test "$host_cpu" = ia64; then
6825 symcode='[ABCDEGRST]'
6826 fi
6827 ;;
6828 irix* | nonstopux*)
6829 symcode='[BCDEGRST]'
6830 ;;
6831 osf*)
6832 symcode='[BCDEGQRST]'
6833 ;;
6834 solaris*)
6835 symcode='[BDRT]'
6836 ;;
6837 sco3.2v5*)
6838 symcode='[DT]'
6839 ;;
6840 sysv4.2uw2*)
6841 symcode='[DT]'
6842 ;;
6843 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6844 symcode='[ABDT]'
6845 ;;
6846 sysv4)
6847 symcode='[DFNSTU]'
6848 ;;
6849 esac
6850
6851 # If we're using GNU nm, then use its standard symbol codes.
6852 case `$NM -V 2>&1` in
6853 *GNU* | *'with BFD'*)
6854 symcode='[ABCDGIRSTW]' ;;
6855 esac
6856
6857 # Transform an extracted symbol line into a proper C declaration.
6858 # Some systems (esp. on ia64) link data and code symbols differently,
6859 # so use this general approach.
6860 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6861
6862 # Transform an extracted symbol line into symbol name and symbol address
6863 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6864 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6865
6866 # Handle CRLF in mingw tool chain
6867 opt_cr=
6868 case $build_os in
6869 mingw*)
6870 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6871 ;;
6872 esac
6873
6874 # Try without a prefix underscore, then with it.
6875 for ac_symprfx in "" "_"; do
6876
6877 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6878 symxfrm="\\1 $ac_symprfx\\2 \\2"
6879
6880 # Write the raw and C identifiers.
6881 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6882 # Fake it for dumpbin and say T for any non-static function
6883 # and D for any global variable.
6884 # Also find C++ and __fastcall symbols from MSVC++,
6885 # which start with @ or ?.
6886 lt_cv_sys_global_symbol_pipe="$AWK '"\
6887 " {last_section=section; section=\$ 3};"\
6888 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6889 " \$ 0!~/External *\|/{next};"\
6890 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6891 " {if(hide[section]) next};"\
6892 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6893 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6894 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6895 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6896 " ' prfx=^$ac_symprfx"
6897 else
6898 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6899 fi
6900
6901 # Check to see that the pipe works correctly.
6902 pipe_works=no
6903
6904 rm -f conftest*
6905 cat > conftest.$ac_ext <<_LT_EOF
6906 #ifdef __cplusplus
6907 extern "C" {
6908 #endif
6909 char nm_test_var;
6910 void nm_test_func(void);
6911 void nm_test_func(void){}
6912 #ifdef __cplusplus
6913 }
6914 #endif
6915 int main(){nm_test_var='a';nm_test_func();return(0);}
6916 _LT_EOF
6917
6918 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6919 (eval $ac_compile) 2>&5
6920 ac_status=$?
6921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6922 test $ac_status = 0; }; then
6923 # Now try to grab the symbols.
6924 nlist=conftest.nm
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6926 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; } && test -s "$nlist"; then
6930 # Try sorting and uniquifying the output.
6931 if sort "$nlist" | uniq > "$nlist"T; then
6932 mv -f "$nlist"T "$nlist"
6933 else
6934 rm -f "$nlist"T
6935 fi
6936
6937 # Make sure that we snagged all the symbols we need.
6938 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6939 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6940 cat <<_LT_EOF > conftest.$ac_ext
6941 #ifdef __cplusplus
6942 extern "C" {
6943 #endif
6944
6945 _LT_EOF
6946 # Now generate the symbol file.
6947 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6948
6949 cat <<_LT_EOF >> conftest.$ac_ext
6950
6951 /* The mapping between symbol names and symbols. */
6952 const struct {
6953 const char *name;
6954 void *address;
6955 }
6956 lt__PROGRAM__LTX_preloaded_symbols[] =
6957 {
6958 { "@PROGRAM@", (void *) 0 },
6959 _LT_EOF
6960 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6961 cat <<\_LT_EOF >> conftest.$ac_ext
6962 {0, (void *) 0}
6963 };
6964
6965 /* This works around a problem in FreeBSD linker */
6966 #ifdef FREEBSD_WORKAROUND
6967 static const void *lt_preloaded_setup() {
6968 return lt__PROGRAM__LTX_preloaded_symbols;
6969 }
6970 #endif
6971
6972 #ifdef __cplusplus
6973 }
6974 #endif
6975 _LT_EOF
6976 # Now try linking the two files.
6977 mv conftest.$ac_objext conftstm.$ac_objext
6978 lt_save_LIBS="$LIBS"
6979 lt_save_CFLAGS="$CFLAGS"
6980 LIBS="conftstm.$ac_objext"
6981 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6983 (eval $ac_link) 2>&5
6984 ac_status=$?
6985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6986 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6987 pipe_works=yes
6988 fi
6989 LIBS="$lt_save_LIBS"
6990 CFLAGS="$lt_save_CFLAGS"
6991 else
6992 echo "cannot find nm_test_func in $nlist" >&5
6993 fi
6994 else
6995 echo "cannot find nm_test_var in $nlist" >&5
6996 fi
6997 else
6998 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6999 fi
7000 else
7001 echo "$progname: failed program was:" >&5
7002 cat conftest.$ac_ext >&5
7003 fi
7004 rm -rf conftest* conftst*
7005
7006 # Do not use the global_symbol_pipe unless it works.
7007 if test "$pipe_works" = yes; then
7008 break
7009 else
7010 lt_cv_sys_global_symbol_pipe=
7011 fi
7012 done
7013
7014 fi
7015
7016 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7017 lt_cv_sys_global_symbol_to_cdecl=
7018 fi
7019 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7021 $as_echo "failed" >&6; }
7022 else
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7024 $as_echo "ok" >&6; }
7025 fi
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048 # Check whether --enable-libtool-lock was given.
7049 if test "${enable_libtool_lock+set}" = set; then :
7050 enableval=$enable_libtool_lock;
7051 fi
7052
7053 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7054
7055 # Some flags need to be propagated to the compiler or linker for good
7056 # libtool support.
7057 case $host in
7058 ia64-*-hpux*)
7059 # Find out which ABI we are using.
7060 echo 'int i;' > conftest.$ac_ext
7061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7062 (eval $ac_compile) 2>&5
7063 ac_status=$?
7064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7065 test $ac_status = 0; }; then
7066 case `/usr/bin/file conftest.$ac_objext` in
7067 *ELF-32*)
7068 HPUX_IA64_MODE="32"
7069 ;;
7070 *ELF-64*)
7071 HPUX_IA64_MODE="64"
7072 ;;
7073 esac
7074 fi
7075 rm -rf conftest*
7076 ;;
7077 *-*-irix6*)
7078 # Find out which ABI we are using.
7079 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7080 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7081 (eval $ac_compile) 2>&5
7082 ac_status=$?
7083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7084 test $ac_status = 0; }; then
7085 if test "$lt_cv_prog_gnu_ld" = yes; then
7086 case `/usr/bin/file conftest.$ac_objext` in
7087 *32-bit*)
7088 LD="${LD-ld} -melf32bsmip"
7089 ;;
7090 *N32*)
7091 LD="${LD-ld} -melf32bmipn32"
7092 ;;
7093 *64-bit*)
7094 LD="${LD-ld} -melf64bmip"
7095 ;;
7096 esac
7097 else
7098 case `/usr/bin/file conftest.$ac_objext` in
7099 *32-bit*)
7100 LD="${LD-ld} -32"
7101 ;;
7102 *N32*)
7103 LD="${LD-ld} -n32"
7104 ;;
7105 *64-bit*)
7106 LD="${LD-ld} -64"
7107 ;;
7108 esac
7109 fi
7110 fi
7111 rm -rf conftest*
7112 ;;
7113
7114 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7115 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7116 # Find out which ABI we are using.
7117 echo 'int i;' > conftest.$ac_ext
7118 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7119 (eval $ac_compile) 2>&5
7120 ac_status=$?
7121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7122 test $ac_status = 0; }; then
7123 case `/usr/bin/file conftest.o` in
7124 *32-bit*)
7125 case $host in
7126 x86_64-*kfreebsd*-gnu)
7127 LD="${LD-ld} -m elf_i386_fbsd"
7128 ;;
7129 x86_64-*linux*)
7130 case `/usr/bin/file conftest.o` in
7131 *x86-64*)
7132 LD="${LD-ld} -m elf32_x86_64"
7133 ;;
7134 *)
7135 LD="${LD-ld} -m elf_i386"
7136 ;;
7137 esac
7138 ;;
7139 ppc64-*linux*|powerpc64-*linux*)
7140 LD="${LD-ld} -m elf32ppclinux"
7141 ;;
7142 s390x-*linux*)
7143 LD="${LD-ld} -m elf_s390"
7144 ;;
7145 sparc64-*linux*)
7146 LD="${LD-ld} -m elf32_sparc"
7147 ;;
7148 esac
7149 ;;
7150 *64-bit*)
7151 case $host in
7152 x86_64-*kfreebsd*-gnu)
7153 LD="${LD-ld} -m elf_x86_64_fbsd"
7154 ;;
7155 x86_64-*linux*)
7156 LD="${LD-ld} -m elf_x86_64"
7157 ;;
7158 ppc*-*linux*|powerpc*-*linux*)
7159 LD="${LD-ld} -m elf64ppc"
7160 ;;
7161 s390*-*linux*|s390*-*tpf*)
7162 LD="${LD-ld} -m elf64_s390"
7163 ;;
7164 sparc*-*linux*)
7165 LD="${LD-ld} -m elf64_sparc"
7166 ;;
7167 esac
7168 ;;
7169 esac
7170 fi
7171 rm -rf conftest*
7172 ;;
7173
7174 *-*-sco3.2v5*)
7175 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7176 SAVE_CFLAGS="$CFLAGS"
7177 CFLAGS="$CFLAGS -belf"
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7179 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7180 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7181 $as_echo_n "(cached) " >&6
7182 else
7183 ac_ext=c
7184 ac_cpp='$CPP $CPPFLAGS'
7185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7188
7189 if test x$gcc_no_link = xyes; then
7190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7191 fi
7192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7193 /* end confdefs.h. */
7194
7195 int
7196 main ()
7197 {
7198
7199 ;
7200 return 0;
7201 }
7202 _ACEOF
7203 if ac_fn_c_try_link "$LINENO"; then :
7204 lt_cv_cc_needs_belf=yes
7205 else
7206 lt_cv_cc_needs_belf=no
7207 fi
7208 rm -f core conftest.err conftest.$ac_objext \
7209 conftest$ac_exeext conftest.$ac_ext
7210 ac_ext=c
7211 ac_cpp='$CPP $CPPFLAGS'
7212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7215
7216 fi
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7218 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7219 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7220 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7221 CFLAGS="$SAVE_CFLAGS"
7222 fi
7223 ;;
7224 sparc*-*solaris*)
7225 # Find out which ABI we are using.
7226 echo 'int i;' > conftest.$ac_ext
7227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7228 (eval $ac_compile) 2>&5
7229 ac_status=$?
7230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7231 test $ac_status = 0; }; then
7232 case `/usr/bin/file conftest.o` in
7233 *64-bit*)
7234 case $lt_cv_prog_gnu_ld in
7235 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7236 *)
7237 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7238 LD="${LD-ld} -64"
7239 fi
7240 ;;
7241 esac
7242 ;;
7243 esac
7244 fi
7245 rm -rf conftest*
7246 ;;
7247 esac
7248
7249 need_locks="$enable_libtool_lock"
7250
7251
7252 case $host_os in
7253 rhapsody* | darwin*)
7254 if test -n "$ac_tool_prefix"; then
7255 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7256 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7260 $as_echo_n "(cached) " >&6
7261 else
7262 if test -n "$DSYMUTIL"; then
7263 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7264 else
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 for as_dir in $PATH
7267 do
7268 IFS=$as_save_IFS
7269 test -z "$as_dir" && as_dir=.
7270 for ac_exec_ext in '' $ac_executable_extensions; do
7271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7272 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 break 2
7275 fi
7276 done
7277 done
7278 IFS=$as_save_IFS
7279
7280 fi
7281 fi
7282 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7283 if test -n "$DSYMUTIL"; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7285 $as_echo "$DSYMUTIL" >&6; }
7286 else
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7289 fi
7290
7291
7292 fi
7293 if test -z "$ac_cv_prog_DSYMUTIL"; then
7294 ac_ct_DSYMUTIL=$DSYMUTIL
7295 # Extract the first word of "dsymutil", so it can be a program name with args.
7296 set dummy dsymutil; ac_word=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7300 $as_echo_n "(cached) " >&6
7301 else
7302 if test -n "$ac_ct_DSYMUTIL"; then
7303 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7304 else
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH
7307 do
7308 IFS=$as_save_IFS
7309 test -z "$as_dir" && as_dir=.
7310 for ac_exec_ext in '' $ac_executable_extensions; do
7311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7312 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314 break 2
7315 fi
7316 done
7317 done
7318 IFS=$as_save_IFS
7319
7320 fi
7321 fi
7322 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7323 if test -n "$ac_ct_DSYMUTIL"; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7325 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7326 else
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7329 fi
7330
7331 if test "x$ac_ct_DSYMUTIL" = x; then
7332 DSYMUTIL=":"
7333 else
7334 case $cross_compiling:$ac_tool_warned in
7335 yes:)
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7338 ac_tool_warned=yes ;;
7339 esac
7340 DSYMUTIL=$ac_ct_DSYMUTIL
7341 fi
7342 else
7343 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7344 fi
7345
7346 if test -n "$ac_tool_prefix"; then
7347 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7348 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7352 $as_echo_n "(cached) " >&6
7353 else
7354 if test -n "$NMEDIT"; then
7355 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7356 else
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 for as_dir in $PATH
7359 do
7360 IFS=$as_save_IFS
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7364 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366 break 2
7367 fi
7368 done
7369 done
7370 IFS=$as_save_IFS
7371
7372 fi
7373 fi
7374 NMEDIT=$ac_cv_prog_NMEDIT
7375 if test -n "$NMEDIT"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7377 $as_echo "$NMEDIT" >&6; }
7378 else
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7381 fi
7382
7383
7384 fi
7385 if test -z "$ac_cv_prog_NMEDIT"; then
7386 ac_ct_NMEDIT=$NMEDIT
7387 # Extract the first word of "nmedit", so it can be a program name with args.
7388 set dummy nmedit; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7392 $as_echo_n "(cached) " >&6
7393 else
7394 if test -n "$ac_ct_NMEDIT"; then
7395 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7399 do
7400 IFS=$as_save_IFS
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 break 2
7407 fi
7408 done
7409 done
7410 IFS=$as_save_IFS
7411
7412 fi
7413 fi
7414 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7415 if test -n "$ac_ct_NMEDIT"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7417 $as_echo "$ac_ct_NMEDIT" >&6; }
7418 else
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7421 fi
7422
7423 if test "x$ac_ct_NMEDIT" = x; then
7424 NMEDIT=":"
7425 else
7426 case $cross_compiling:$ac_tool_warned in
7427 yes:)
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7430 ac_tool_warned=yes ;;
7431 esac
7432 NMEDIT=$ac_ct_NMEDIT
7433 fi
7434 else
7435 NMEDIT="$ac_cv_prog_NMEDIT"
7436 fi
7437
7438 if test -n "$ac_tool_prefix"; then
7439 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7440 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if test "${ac_cv_prog_LIPO+set}" = set; then :
7444 $as_echo_n "(cached) " >&6
7445 else
7446 if test -n "$LIPO"; then
7447 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7448 else
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 for as_dir in $PATH
7451 do
7452 IFS=$as_save_IFS
7453 test -z "$as_dir" && as_dir=.
7454 for ac_exec_ext in '' $ac_executable_extensions; do
7455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7456 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 break 2
7459 fi
7460 done
7461 done
7462 IFS=$as_save_IFS
7463
7464 fi
7465 fi
7466 LIPO=$ac_cv_prog_LIPO
7467 if test -n "$LIPO"; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7469 $as_echo "$LIPO" >&6; }
7470 else
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7473 fi
7474
7475
7476 fi
7477 if test -z "$ac_cv_prog_LIPO"; then
7478 ac_ct_LIPO=$LIPO
7479 # Extract the first word of "lipo", so it can be a program name with args.
7480 set dummy lipo; ac_word=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7484 $as_echo_n "(cached) " >&6
7485 else
7486 if test -n "$ac_ct_LIPO"; then
7487 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7488 else
7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 for as_dir in $PATH
7491 do
7492 IFS=$as_save_IFS
7493 test -z "$as_dir" && as_dir=.
7494 for ac_exec_ext in '' $ac_executable_extensions; do
7495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7496 ac_cv_prog_ac_ct_LIPO="lipo"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 break 2
7499 fi
7500 done
7501 done
7502 IFS=$as_save_IFS
7503
7504 fi
7505 fi
7506 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7507 if test -n "$ac_ct_LIPO"; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7509 $as_echo "$ac_ct_LIPO" >&6; }
7510 else
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7513 fi
7514
7515 if test "x$ac_ct_LIPO" = x; then
7516 LIPO=":"
7517 else
7518 case $cross_compiling:$ac_tool_warned in
7519 yes:)
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7522 ac_tool_warned=yes ;;
7523 esac
7524 LIPO=$ac_ct_LIPO
7525 fi
7526 else
7527 LIPO="$ac_cv_prog_LIPO"
7528 fi
7529
7530 if test -n "$ac_tool_prefix"; then
7531 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7532 set dummy ${ac_tool_prefix}otool; ac_word=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7536 $as_echo_n "(cached) " >&6
7537 else
7538 if test -n "$OTOOL"; then
7539 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7540 else
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 for as_dir in $PATH
7543 do
7544 IFS=$as_save_IFS
7545 test -z "$as_dir" && as_dir=.
7546 for ac_exec_ext in '' $ac_executable_extensions; do
7547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7548 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7550 break 2
7551 fi
7552 done
7553 done
7554 IFS=$as_save_IFS
7555
7556 fi
7557 fi
7558 OTOOL=$ac_cv_prog_OTOOL
7559 if test -n "$OTOOL"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7561 $as_echo "$OTOOL" >&6; }
7562 else
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7565 fi
7566
7567
7568 fi
7569 if test -z "$ac_cv_prog_OTOOL"; then
7570 ac_ct_OTOOL=$OTOOL
7571 # Extract the first word of "otool", so it can be a program name with args.
7572 set dummy otool; ac_word=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7576 $as_echo_n "(cached) " >&6
7577 else
7578 if test -n "$ac_ct_OTOOL"; then
7579 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7580 else
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582 for as_dir in $PATH
7583 do
7584 IFS=$as_save_IFS
7585 test -z "$as_dir" && as_dir=.
7586 for ac_exec_ext in '' $ac_executable_extensions; do
7587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7588 ac_cv_prog_ac_ct_OTOOL="otool"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590 break 2
7591 fi
7592 done
7593 done
7594 IFS=$as_save_IFS
7595
7596 fi
7597 fi
7598 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7599 if test -n "$ac_ct_OTOOL"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7601 $as_echo "$ac_ct_OTOOL" >&6; }
7602 else
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7605 fi
7606
7607 if test "x$ac_ct_OTOOL" = x; then
7608 OTOOL=":"
7609 else
7610 case $cross_compiling:$ac_tool_warned in
7611 yes:)
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7614 ac_tool_warned=yes ;;
7615 esac
7616 OTOOL=$ac_ct_OTOOL
7617 fi
7618 else
7619 OTOOL="$ac_cv_prog_OTOOL"
7620 fi
7621
7622 if test -n "$ac_tool_prefix"; then
7623 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7624 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7628 $as_echo_n "(cached) " >&6
7629 else
7630 if test -n "$OTOOL64"; then
7631 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7632 else
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634 for as_dir in $PATH
7635 do
7636 IFS=$as_save_IFS
7637 test -z "$as_dir" && as_dir=.
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 break 2
7643 fi
7644 done
7645 done
7646 IFS=$as_save_IFS
7647
7648 fi
7649 fi
7650 OTOOL64=$ac_cv_prog_OTOOL64
7651 if test -n "$OTOOL64"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7653 $as_echo "$OTOOL64" >&6; }
7654 else
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7657 fi
7658
7659
7660 fi
7661 if test -z "$ac_cv_prog_OTOOL64"; then
7662 ac_ct_OTOOL64=$OTOOL64
7663 # Extract the first word of "otool64", so it can be a program name with args.
7664 set dummy otool64; ac_word=$2
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7666 $as_echo_n "checking for $ac_word... " >&6; }
7667 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7668 $as_echo_n "(cached) " >&6
7669 else
7670 if test -n "$ac_ct_OTOOL64"; then
7671 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7672 else
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7674 for as_dir in $PATH
7675 do
7676 IFS=$as_save_IFS
7677 test -z "$as_dir" && as_dir=.
7678 for ac_exec_ext in '' $ac_executable_extensions; do
7679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7680 ac_cv_prog_ac_ct_OTOOL64="otool64"
7681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7682 break 2
7683 fi
7684 done
7685 done
7686 IFS=$as_save_IFS
7687
7688 fi
7689 fi
7690 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7691 if test -n "$ac_ct_OTOOL64"; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7693 $as_echo "$ac_ct_OTOOL64" >&6; }
7694 else
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7696 $as_echo "no" >&6; }
7697 fi
7698
7699 if test "x$ac_ct_OTOOL64" = x; then
7700 OTOOL64=":"
7701 else
7702 case $cross_compiling:$ac_tool_warned in
7703 yes:)
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7706 ac_tool_warned=yes ;;
7707 esac
7708 OTOOL64=$ac_ct_OTOOL64
7709 fi
7710 else
7711 OTOOL64="$ac_cv_prog_OTOOL64"
7712 fi
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7741 $as_echo_n "checking for -single_module linker flag... " >&6; }
7742 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7743 $as_echo_n "(cached) " >&6
7744 else
7745 lt_cv_apple_cc_single_mod=no
7746 if test -z "${LT_MULTI_MODULE}"; then
7747 # By default we will add the -single_module flag. You can override
7748 # by either setting the environment variable LT_MULTI_MODULE
7749 # non-empty at configure time, or by adding -multi_module to the
7750 # link flags.
7751 rm -rf libconftest.dylib*
7752 echo "int foo(void){return 1;}" > conftest.c
7753 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7754 -dynamiclib -Wl,-single_module conftest.c" >&5
7755 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7756 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7757 _lt_result=$?
7758 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7759 lt_cv_apple_cc_single_mod=yes
7760 else
7761 cat conftest.err >&5
7762 fi
7763 rm -rf libconftest.dylib*
7764 rm -f conftest.*
7765 fi
7766 fi
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7768 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7770 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7771 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7772 $as_echo_n "(cached) " >&6
7773 else
7774 lt_cv_ld_exported_symbols_list=no
7775 save_LDFLAGS=$LDFLAGS
7776 echo "_main" > conftest.sym
7777 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7778 if test x$gcc_no_link = xyes; then
7779 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7780 fi
7781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h. */
7783
7784 int
7785 main ()
7786 {
7787
7788 ;
7789 return 0;
7790 }
7791 _ACEOF
7792 if ac_fn_c_try_link "$LINENO"; then :
7793 lt_cv_ld_exported_symbols_list=yes
7794 else
7795 lt_cv_ld_exported_symbols_list=no
7796 fi
7797 rm -f core conftest.err conftest.$ac_objext \
7798 conftest$ac_exeext conftest.$ac_ext
7799 LDFLAGS="$save_LDFLAGS"
7800
7801 fi
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7803 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7805 $as_echo_n "checking for -force_load linker flag... " >&6; }
7806 if test "${lt_cv_ld_force_load+set}" = set; then :
7807 $as_echo_n "(cached) " >&6
7808 else
7809 lt_cv_ld_force_load=no
7810 cat > conftest.c << _LT_EOF
7811 int forced_loaded() { return 2;}
7812 _LT_EOF
7813 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7814 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7815 echo "$AR cru libconftest.a conftest.o" >&5
7816 $AR cru libconftest.a conftest.o 2>&5
7817 cat > conftest.c << _LT_EOF
7818 int main() { return 0;}
7819 _LT_EOF
7820 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7821 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7822 _lt_result=$?
7823 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7824 lt_cv_ld_force_load=yes
7825 else
7826 cat conftest.err >&5
7827 fi
7828 rm -f conftest.err libconftest.a conftest conftest.c
7829 rm -rf conftest.dSYM
7830
7831 fi
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7833 $as_echo "$lt_cv_ld_force_load" >&6; }
7834 case $host_os in
7835 rhapsody* | darwin1.[012])
7836 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7837 darwin1.*)
7838 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7839 darwin*) # darwin 5.x on
7840 # if running on 10.5 or later, the deployment target defaults
7841 # to the OS version, if on x86, and 10.4, the deployment
7842 # target defaults to 10.4. Don't you love it?
7843 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7844 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7845 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7846 10.[012]*)
7847 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7848 10.*)
7849 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7850 esac
7851 ;;
7852 esac
7853 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7854 _lt_dar_single_mod='$single_module'
7855 fi
7856 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7857 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7858 else
7859 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7860 fi
7861 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7862 _lt_dsymutil='~$DSYMUTIL $lib || :'
7863 else
7864 _lt_dsymutil=
7865 fi
7866 ;;
7867 esac
7868
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7870 $as_echo_n "checking for ANSI C header files... " >&6; }
7871 if test "${ac_cv_header_stdc+set}" = set; then :
7872 $as_echo_n "(cached) " >&6
7873 else
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7876 #include <stdlib.h>
7877 #include <stdarg.h>
7878 #include <string.h>
7879 #include <float.h>
7880
7881 int
7882 main ()
7883 {
7884
7885 ;
7886 return 0;
7887 }
7888 _ACEOF
7889 if ac_fn_c_try_compile "$LINENO"; then :
7890 ac_cv_header_stdc=yes
7891 else
7892 ac_cv_header_stdc=no
7893 fi
7894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7895
7896 if test $ac_cv_header_stdc = yes; then
7897 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h. */
7900 #include <string.h>
7901
7902 _ACEOF
7903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7904 $EGREP "memchr" >/dev/null 2>&1; then :
7905
7906 else
7907 ac_cv_header_stdc=no
7908 fi
7909 rm -f conftest*
7910
7911 fi
7912
7913 if test $ac_cv_header_stdc = yes; then
7914 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h. */
7917 #include <stdlib.h>
7918
7919 _ACEOF
7920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7921 $EGREP "free" >/dev/null 2>&1; then :
7922
7923 else
7924 ac_cv_header_stdc=no
7925 fi
7926 rm -f conftest*
7927
7928 fi
7929
7930 if test $ac_cv_header_stdc = yes; then
7931 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7932 if test "$cross_compiling" = yes; then :
7933 :
7934 else
7935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7936 /* end confdefs.h. */
7937 #include <ctype.h>
7938 #include <stdlib.h>
7939 #if ((' ' & 0x0FF) == 0x020)
7940 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7941 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7942 #else
7943 # define ISLOWER(c) \
7944 (('a' <= (c) && (c) <= 'i') \
7945 || ('j' <= (c) && (c) <= 'r') \
7946 || ('s' <= (c) && (c) <= 'z'))
7947 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7948 #endif
7949
7950 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7951 int
7952 main ()
7953 {
7954 int i;
7955 for (i = 0; i < 256; i++)
7956 if (XOR (islower (i), ISLOWER (i))
7957 || toupper (i) != TOUPPER (i))
7958 return 2;
7959 return 0;
7960 }
7961 _ACEOF
7962 if ac_fn_c_try_run "$LINENO"; then :
7963
7964 else
7965 ac_cv_header_stdc=no
7966 fi
7967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7968 conftest.$ac_objext conftest.beam conftest.$ac_ext
7969 fi
7970
7971 fi
7972 fi
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7974 $as_echo "$ac_cv_header_stdc" >&6; }
7975 if test $ac_cv_header_stdc = yes; then
7976
7977 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7978
7979 fi
7980
7981 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7982 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7983 inttypes.h stdint.h unistd.h
7984 do :
7985 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7986 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7987 "
7988 eval as_val=\$$as_ac_Header
7989 if test "x$as_val" = x""yes; then :
7990 cat >>confdefs.h <<_ACEOF
7991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7992 _ACEOF
7993
7994 fi
7995
7996 done
7997
7998
7999 for ac_header in dlfcn.h
8000 do :
8001 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8002 "
8003 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8004 cat >>confdefs.h <<_ACEOF
8005 #define HAVE_DLFCN_H 1
8006 _ACEOF
8007
8008 fi
8009
8010 done
8011
8012
8013
8014
8015
8016
8017 # Set options
8018
8019
8020
8021
8022 enable_win32_dll=no
8023
8024
8025 # Check whether --enable-shared was given.
8026 if test "${enable_shared+set}" = set; then :
8027 enableval=$enable_shared; p=${PACKAGE-default}
8028 case $enableval in
8029 yes) enable_shared=yes ;;
8030 no) enable_shared=no ;;
8031 *)
8032 enable_shared=no
8033 # Look at the argument we got. We use all the common list separators.
8034 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8035 for pkg in $enableval; do
8036 IFS="$lt_save_ifs"
8037 if test "X$pkg" = "X$p"; then
8038 enable_shared=yes
8039 fi
8040 done
8041 IFS="$lt_save_ifs"
8042 ;;
8043 esac
8044 else
8045 enable_shared=yes
8046 fi
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056 # Check whether --enable-static was given.
8057 if test "${enable_static+set}" = set; then :
8058 enableval=$enable_static; p=${PACKAGE-default}
8059 case $enableval in
8060 yes) enable_static=yes ;;
8061 no) enable_static=no ;;
8062 *)
8063 enable_static=no
8064 # Look at the argument we got. We use all the common list separators.
8065 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8066 for pkg in $enableval; do
8067 IFS="$lt_save_ifs"
8068 if test "X$pkg" = "X$p"; then
8069 enable_static=yes
8070 fi
8071 done
8072 IFS="$lt_save_ifs"
8073 ;;
8074 esac
8075 else
8076 enable_static=yes
8077 fi
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088 # Check whether --with-pic was given.
8089 if test "${with_pic+set}" = set; then :
8090 withval=$with_pic; pic_mode="$withval"
8091 else
8092 pic_mode=default
8093 fi
8094
8095
8096 test -z "$pic_mode" && pic_mode=default
8097
8098
8099
8100
8101
8102
8103
8104 # Check whether --enable-fast-install was given.
8105 if test "${enable_fast_install+set}" = set; then :
8106 enableval=$enable_fast_install; p=${PACKAGE-default}
8107 case $enableval in
8108 yes) enable_fast_install=yes ;;
8109 no) enable_fast_install=no ;;
8110 *)
8111 enable_fast_install=no
8112 # Look at the argument we got. We use all the common list separators.
8113 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8114 for pkg in $enableval; do
8115 IFS="$lt_save_ifs"
8116 if test "X$pkg" = "X$p"; then
8117 enable_fast_install=yes
8118 fi
8119 done
8120 IFS="$lt_save_ifs"
8121 ;;
8122 esac
8123 else
8124 enable_fast_install=yes
8125 fi
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137 # This can be used to rebuild libtool when needed
8138 LIBTOOL_DEPS="$ltmain"
8139
8140 # Always use our own libtool.
8141 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168 test -z "$LN_S" && LN_S="ln -s"
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183 if test -n "${ZSH_VERSION+set}" ; then
8184 setopt NO_GLOB_SUBST
8185 fi
8186
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8188 $as_echo_n "checking for objdir... " >&6; }
8189 if test "${lt_cv_objdir+set}" = set; then :
8190 $as_echo_n "(cached) " >&6
8191 else
8192 rm -f .libs 2>/dev/null
8193 mkdir .libs 2>/dev/null
8194 if test -d .libs; then
8195 lt_cv_objdir=.libs
8196 else
8197 # MS-DOS does not allow filenames that begin with a dot.
8198 lt_cv_objdir=_libs
8199 fi
8200 rmdir .libs 2>/dev/null
8201 fi
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8203 $as_echo "$lt_cv_objdir" >&6; }
8204 objdir=$lt_cv_objdir
8205
8206
8207
8208
8209
8210 cat >>confdefs.h <<_ACEOF
8211 #define LT_OBJDIR "$lt_cv_objdir/"
8212 _ACEOF
8213
8214
8215
8216
8217 case $host_os in
8218 aix3*)
8219 # AIX sometimes has problems with the GCC collect2 program. For some
8220 # reason, if we set the COLLECT_NAMES environment variable, the problems
8221 # vanish in a puff of smoke.
8222 if test "X${COLLECT_NAMES+set}" != Xset; then
8223 COLLECT_NAMES=
8224 export COLLECT_NAMES
8225 fi
8226 ;;
8227 esac
8228
8229 # Global variables:
8230 ofile=libtool
8231 can_build_shared=yes
8232
8233 # All known linkers require a `.a' archive for static linking (except MSVC,
8234 # which needs '.lib').
8235 libext=a
8236
8237 with_gnu_ld="$lt_cv_prog_gnu_ld"
8238
8239 old_CC="$CC"
8240 old_CFLAGS="$CFLAGS"
8241
8242 # Set sane defaults for various variables
8243 test -z "$CC" && CC=cc
8244 test -z "$LTCC" && LTCC=$CC
8245 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8246 test -z "$LD" && LD=ld
8247 test -z "$ac_objext" && ac_objext=o
8248
8249 for cc_temp in $compiler""; do
8250 case $cc_temp in
8251 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8252 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8253 \-*) ;;
8254 *) break;;
8255 esac
8256 done
8257 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8258
8259
8260 # Only perform the check for file, if the check method requires it
8261 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8262 case $deplibs_check_method in
8263 file_magic*)
8264 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8266 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8267 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8268 $as_echo_n "(cached) " >&6
8269 else
8270 case $MAGIC_CMD in
8271 [\\/*] | ?:[\\/]*)
8272 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8273 ;;
8274 *)
8275 lt_save_MAGIC_CMD="$MAGIC_CMD"
8276 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8277 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8278 for ac_dir in $ac_dummy; do
8279 IFS="$lt_save_ifs"
8280 test -z "$ac_dir" && ac_dir=.
8281 if test -f $ac_dir/${ac_tool_prefix}file; then
8282 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8283 if test -n "$file_magic_test_file"; then
8284 case $deplibs_check_method in
8285 "file_magic "*)
8286 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8287 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8288 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8289 $EGREP "$file_magic_regex" > /dev/null; then
8290 :
8291 else
8292 cat <<_LT_EOF 1>&2
8293
8294 *** Warning: the command libtool uses to detect shared libraries,
8295 *** $file_magic_cmd, produces output that libtool cannot recognize.
8296 *** The result is that libtool may fail to recognize shared libraries
8297 *** as such. This will affect the creation of libtool libraries that
8298 *** depend on shared libraries, but programs linked with such libtool
8299 *** libraries will work regardless of this problem. Nevertheless, you
8300 *** may want to report the problem to your system manager and/or to
8301 *** bug-libtool@gnu.org
8302
8303 _LT_EOF
8304 fi ;;
8305 esac
8306 fi
8307 break
8308 fi
8309 done
8310 IFS="$lt_save_ifs"
8311 MAGIC_CMD="$lt_save_MAGIC_CMD"
8312 ;;
8313 esac
8314 fi
8315
8316 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8317 if test -n "$MAGIC_CMD"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8319 $as_echo "$MAGIC_CMD" >&6; }
8320 else
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8323 fi
8324
8325
8326
8327
8328
8329 if test -z "$lt_cv_path_MAGIC_CMD"; then
8330 if test -n "$ac_tool_prefix"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8332 $as_echo_n "checking for file... " >&6; }
8333 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8334 $as_echo_n "(cached) " >&6
8335 else
8336 case $MAGIC_CMD in
8337 [\\/*] | ?:[\\/]*)
8338 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8339 ;;
8340 *)
8341 lt_save_MAGIC_CMD="$MAGIC_CMD"
8342 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8343 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8344 for ac_dir in $ac_dummy; do
8345 IFS="$lt_save_ifs"
8346 test -z "$ac_dir" && ac_dir=.
8347 if test -f $ac_dir/file; then
8348 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8349 if test -n "$file_magic_test_file"; then
8350 case $deplibs_check_method in
8351 "file_magic "*)
8352 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8353 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8354 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8355 $EGREP "$file_magic_regex" > /dev/null; then
8356 :
8357 else
8358 cat <<_LT_EOF 1>&2
8359
8360 *** Warning: the command libtool uses to detect shared libraries,
8361 *** $file_magic_cmd, produces output that libtool cannot recognize.
8362 *** The result is that libtool may fail to recognize shared libraries
8363 *** as such. This will affect the creation of libtool libraries that
8364 *** depend on shared libraries, but programs linked with such libtool
8365 *** libraries will work regardless of this problem. Nevertheless, you
8366 *** may want to report the problem to your system manager and/or to
8367 *** bug-libtool@gnu.org
8368
8369 _LT_EOF
8370 fi ;;
8371 esac
8372 fi
8373 break
8374 fi
8375 done
8376 IFS="$lt_save_ifs"
8377 MAGIC_CMD="$lt_save_MAGIC_CMD"
8378 ;;
8379 esac
8380 fi
8381
8382 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8383 if test -n "$MAGIC_CMD"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8385 $as_echo "$MAGIC_CMD" >&6; }
8386 else
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8389 fi
8390
8391
8392 else
8393 MAGIC_CMD=:
8394 fi
8395 fi
8396
8397 fi
8398 ;;
8399 esac
8400
8401 # Use C for the default configuration in the libtool script
8402
8403 lt_save_CC="$CC"
8404 ac_ext=c
8405 ac_cpp='$CPP $CPPFLAGS'
8406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8409
8410
8411 # Source file extension for C test sources.
8412 ac_ext=c
8413
8414 # Object file extension for compiled C test sources.
8415 objext=o
8416 objext=$objext
8417
8418 # Code to be used in simple compile tests
8419 lt_simple_compile_test_code="int some_variable = 0;"
8420
8421 # Code to be used in simple link tests
8422 lt_simple_link_test_code='int main(){return(0);}'
8423
8424
8425
8426
8427
8428
8429
8430 # If no C compiler was specified, use CC.
8431 LTCC=${LTCC-"$CC"}
8432
8433 # If no C compiler flags were specified, use CFLAGS.
8434 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8435
8436 # Allow CC to be a program name with arguments.
8437 compiler=$CC
8438
8439 # Save the default compiler, since it gets overwritten when the other
8440 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8441 compiler_DEFAULT=$CC
8442
8443 # save warnings/boilerplate of simple test code
8444 ac_outfile=conftest.$ac_objext
8445 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8446 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8447 _lt_compiler_boilerplate=`cat conftest.err`
8448 $RM conftest*
8449
8450 ac_outfile=conftest.$ac_objext
8451 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8452 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8453 _lt_linker_boilerplate=`cat conftest.err`
8454 $RM -r conftest*
8455
8456
8457 ## CAVEAT EMPTOR:
8458 ## There is no encapsulation within the following macros, do not change
8459 ## the running order or otherwise move them around unless you know exactly
8460 ## what you are doing...
8461 if test -n "$compiler"; then
8462
8463 lt_prog_compiler_no_builtin_flag=
8464
8465 if test "$GCC" = yes; then
8466 case $cc_basename in
8467 nvcc*)
8468 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8469 *)
8470 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8471 esac
8472
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8474 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8475 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8476 $as_echo_n "(cached) " >&6
8477 else
8478 lt_cv_prog_compiler_rtti_exceptions=no
8479 ac_outfile=conftest.$ac_objext
8480 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8481 lt_compiler_flag="-fno-rtti -fno-exceptions"
8482 # Insert the option either (1) after the last *FLAGS variable, or
8483 # (2) before a word containing "conftest.", or (3) at the end.
8484 # Note that $ac_compile itself does not contain backslashes and begins
8485 # with a dollar sign (not a hyphen), so the echo should work correctly.
8486 # The option is referenced via a variable to avoid confusing sed.
8487 lt_compile=`echo "$ac_compile" | $SED \
8488 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8489 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8490 -e 's:$: $lt_compiler_flag:'`
8491 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8492 (eval "$lt_compile" 2>conftest.err)
8493 ac_status=$?
8494 cat conftest.err >&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 if (exit $ac_status) && test -s "$ac_outfile"; then
8497 # The compiler can only warn and ignore the option if not recognized
8498 # So say no if there are warnings other than the usual output.
8499 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8500 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8501 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8502 lt_cv_prog_compiler_rtti_exceptions=yes
8503 fi
8504 fi
8505 $RM conftest*
8506
8507 fi
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8509 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8510
8511 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8512 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8513 else
8514 :
8515 fi
8516
8517 fi
8518
8519
8520
8521
8522
8523
8524 lt_prog_compiler_wl=
8525 lt_prog_compiler_pic=
8526 lt_prog_compiler_static=
8527
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8529 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8530
8531 if test "$GCC" = yes; then
8532 lt_prog_compiler_wl='-Wl,'
8533 lt_prog_compiler_static='-static'
8534
8535 case $host_os in
8536 aix*)
8537 # All AIX code is PIC.
8538 if test "$host_cpu" = ia64; then
8539 # AIX 5 now supports IA64 processor
8540 lt_prog_compiler_static='-Bstatic'
8541 fi
8542 lt_prog_compiler_pic='-fPIC'
8543 ;;
8544
8545 amigaos*)
8546 case $host_cpu in
8547 powerpc)
8548 # see comment about AmigaOS4 .so support
8549 lt_prog_compiler_pic='-fPIC'
8550 ;;
8551 m68k)
8552 # FIXME: we need at least 68020 code to build shared libraries, but
8553 # adding the `-m68020' flag to GCC prevents building anything better,
8554 # like `-m68040'.
8555 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8556 ;;
8557 esac
8558 ;;
8559
8560 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8561 # PIC is the default for these OSes.
8562 ;;
8563
8564 mingw* | cygwin* | pw32* | os2* | cegcc*)
8565 # This hack is so that the source file can tell whether it is being
8566 # built for inclusion in a dll (and should export symbols for example).
8567 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8568 # (--disable-auto-import) libraries
8569 lt_prog_compiler_pic='-DDLL_EXPORT'
8570 ;;
8571
8572 darwin* | rhapsody*)
8573 # PIC is the default on this platform
8574 # Common symbols not allowed in MH_DYLIB files
8575 lt_prog_compiler_pic='-fno-common'
8576 ;;
8577
8578 haiku*)
8579 # PIC is the default for Haiku.
8580 # The "-static" flag exists, but is broken.
8581 lt_prog_compiler_static=
8582 ;;
8583
8584 hpux*)
8585 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8586 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8587 # sets the default TLS model and affects inlining.
8588 case $host_cpu in
8589 hppa*64*)
8590 # +Z the default
8591 ;;
8592 *)
8593 lt_prog_compiler_pic='-fPIC'
8594 ;;
8595 esac
8596 ;;
8597
8598 interix[3-9]*)
8599 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8600 # Instead, we relocate shared libraries at runtime.
8601 ;;
8602
8603 msdosdjgpp*)
8604 # Just because we use GCC doesn't mean we suddenly get shared libraries
8605 # on systems that don't support them.
8606 lt_prog_compiler_can_build_shared=no
8607 enable_shared=no
8608 ;;
8609
8610 *nto* | *qnx*)
8611 # QNX uses GNU C++, but need to define -shared option too, otherwise
8612 # it will coredump.
8613 lt_prog_compiler_pic='-fPIC -shared'
8614 ;;
8615
8616 sysv4*MP*)
8617 if test -d /usr/nec; then
8618 lt_prog_compiler_pic=-Kconform_pic
8619 fi
8620 ;;
8621
8622 *)
8623 lt_prog_compiler_pic='-fPIC'
8624 ;;
8625 esac
8626
8627 case $cc_basename in
8628 nvcc*) # Cuda Compiler Driver 2.2
8629 lt_prog_compiler_wl='-Xlinker '
8630 lt_prog_compiler_pic='-Xcompiler -fPIC'
8631 ;;
8632 esac
8633 else
8634 # PORTME Check for flag to pass linker flags through the system compiler.
8635 case $host_os in
8636 aix*)
8637 lt_prog_compiler_wl='-Wl,'
8638 if test "$host_cpu" = ia64; then
8639 # AIX 5 now supports IA64 processor
8640 lt_prog_compiler_static='-Bstatic'
8641 else
8642 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8643 fi
8644 ;;
8645
8646 mingw* | cygwin* | pw32* | os2* | cegcc*)
8647 # This hack is so that the source file can tell whether it is being
8648 # built for inclusion in a dll (and should export symbols for example).
8649 lt_prog_compiler_pic='-DDLL_EXPORT'
8650 ;;
8651
8652 hpux9* | hpux10* | hpux11*)
8653 lt_prog_compiler_wl='-Wl,'
8654 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8655 # not for PA HP-UX.
8656 case $host_cpu in
8657 hppa*64*|ia64*)
8658 # +Z the default
8659 ;;
8660 *)
8661 lt_prog_compiler_pic='+Z'
8662 ;;
8663 esac
8664 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8665 lt_prog_compiler_static='${wl}-a ${wl}archive'
8666 ;;
8667
8668 irix5* | irix6* | nonstopux*)
8669 lt_prog_compiler_wl='-Wl,'
8670 # PIC (with -KPIC) is the default.
8671 lt_prog_compiler_static='-non_shared'
8672 ;;
8673
8674 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8675 case $cc_basename in
8676 # old Intel for x86_64 which still supported -KPIC.
8677 ecc*)
8678 lt_prog_compiler_wl='-Wl,'
8679 lt_prog_compiler_pic='-KPIC'
8680 lt_prog_compiler_static='-static'
8681 ;;
8682 # icc used to be incompatible with GCC.
8683 # ICC 10 doesn't accept -KPIC any more.
8684 icc* | ifort*)
8685 lt_prog_compiler_wl='-Wl,'
8686 lt_prog_compiler_pic='-fPIC'
8687 lt_prog_compiler_static='-static'
8688 ;;
8689 # Lahey Fortran 8.1.
8690 lf95*)
8691 lt_prog_compiler_wl='-Wl,'
8692 lt_prog_compiler_pic='--shared'
8693 lt_prog_compiler_static='--static'
8694 ;;
8695 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8696 # Portland Group compilers (*not* the Pentium gcc compiler,
8697 # which looks to be a dead project)
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='-fpic'
8700 lt_prog_compiler_static='-Bstatic'
8701 ;;
8702 ccc*)
8703 lt_prog_compiler_wl='-Wl,'
8704 # All Alpha code is PIC.
8705 lt_prog_compiler_static='-non_shared'
8706 ;;
8707 xl* | bgxl* | bgf* | mpixl*)
8708 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8709 lt_prog_compiler_wl='-Wl,'
8710 lt_prog_compiler_pic='-qpic'
8711 lt_prog_compiler_static='-qstaticlink'
8712 ;;
8713 *)
8714 case `$CC -V 2>&1 | sed 5q` in
8715 *Sun\ F* | *Sun*Fortran*)
8716 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8717 lt_prog_compiler_pic='-KPIC'
8718 lt_prog_compiler_static='-Bstatic'
8719 lt_prog_compiler_wl=''
8720 ;;
8721 *Sun\ C*)
8722 # Sun C 5.9
8723 lt_prog_compiler_pic='-KPIC'
8724 lt_prog_compiler_static='-Bstatic'
8725 lt_prog_compiler_wl='-Wl,'
8726 ;;
8727 esac
8728 ;;
8729 esac
8730 ;;
8731
8732 newsos6)
8733 lt_prog_compiler_pic='-KPIC'
8734 lt_prog_compiler_static='-Bstatic'
8735 ;;
8736
8737 *nto* | *qnx*)
8738 # QNX uses GNU C++, but need to define -shared option too, otherwise
8739 # it will coredump.
8740 lt_prog_compiler_pic='-fPIC -shared'
8741 ;;
8742
8743 osf3* | osf4* | osf5*)
8744 lt_prog_compiler_wl='-Wl,'
8745 # All OSF/1 code is PIC.
8746 lt_prog_compiler_static='-non_shared'
8747 ;;
8748
8749 rdos*)
8750 lt_prog_compiler_static='-non_shared'
8751 ;;
8752
8753 solaris*)
8754 lt_prog_compiler_pic='-KPIC'
8755 lt_prog_compiler_static='-Bstatic'
8756 case $cc_basename in
8757 f77* | f90* | f95*)
8758 lt_prog_compiler_wl='-Qoption ld ';;
8759 *)
8760 lt_prog_compiler_wl='-Wl,';;
8761 esac
8762 ;;
8763
8764 sunos4*)
8765 lt_prog_compiler_wl='-Qoption ld '
8766 lt_prog_compiler_pic='-PIC'
8767 lt_prog_compiler_static='-Bstatic'
8768 ;;
8769
8770 sysv4 | sysv4.2uw2* | sysv4.3*)
8771 lt_prog_compiler_wl='-Wl,'
8772 lt_prog_compiler_pic='-KPIC'
8773 lt_prog_compiler_static='-Bstatic'
8774 ;;
8775
8776 sysv4*MP*)
8777 if test -d /usr/nec ;then
8778 lt_prog_compiler_pic='-Kconform_pic'
8779 lt_prog_compiler_static='-Bstatic'
8780 fi
8781 ;;
8782
8783 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_pic='-KPIC'
8786 lt_prog_compiler_static='-Bstatic'
8787 ;;
8788
8789 unicos*)
8790 lt_prog_compiler_wl='-Wl,'
8791 lt_prog_compiler_can_build_shared=no
8792 ;;
8793
8794 uts4*)
8795 lt_prog_compiler_pic='-pic'
8796 lt_prog_compiler_static='-Bstatic'
8797 ;;
8798
8799 *)
8800 lt_prog_compiler_can_build_shared=no
8801 ;;
8802 esac
8803 fi
8804
8805 case $host_os in
8806 # For platforms which do not support PIC, -DPIC is meaningless:
8807 *djgpp*)
8808 lt_prog_compiler_pic=
8809 ;;
8810 *)
8811 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8812 ;;
8813 esac
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8815 $as_echo "$lt_prog_compiler_pic" >&6; }
8816
8817
8818
8819
8820
8821
8822 #
8823 # Check to make sure the PIC flag actually works.
8824 #
8825 if test -n "$lt_prog_compiler_pic"; then
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8827 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8828 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8829 $as_echo_n "(cached) " >&6
8830 else
8831 lt_cv_prog_compiler_pic_works=no
8832 ac_outfile=conftest.$ac_objext
8833 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8834 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8835 # Insert the option either (1) after the last *FLAGS variable, or
8836 # (2) before a word containing "conftest.", or (3) at the end.
8837 # Note that $ac_compile itself does not contain backslashes and begins
8838 # with a dollar sign (not a hyphen), so the echo should work correctly.
8839 # The option is referenced via a variable to avoid confusing sed.
8840 lt_compile=`echo "$ac_compile" | $SED \
8841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8843 -e 's:$: $lt_compiler_flag:'`
8844 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8845 (eval "$lt_compile" 2>conftest.err)
8846 ac_status=$?
8847 cat conftest.err >&5
8848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849 if (exit $ac_status) && test -s "$ac_outfile"; then
8850 # The compiler can only warn and ignore the option if not recognized
8851 # So say no if there are warnings other than the usual output.
8852 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8853 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8854 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8855 lt_cv_prog_compiler_pic_works=yes
8856 fi
8857 fi
8858 $RM conftest*
8859
8860 fi
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8862 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8863
8864 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8865 case $lt_prog_compiler_pic in
8866 "" | " "*) ;;
8867 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8868 esac
8869 else
8870 lt_prog_compiler_pic=
8871 lt_prog_compiler_can_build_shared=no
8872 fi
8873
8874 fi
8875
8876
8877
8878
8879
8880
8881 #
8882 # Check to make sure the static flag actually works.
8883 #
8884 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8886 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8887 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8888 $as_echo_n "(cached) " >&6
8889 else
8890 lt_cv_prog_compiler_static_works=no
8891 save_LDFLAGS="$LDFLAGS"
8892 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8893 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8894 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8895 # The linker can only warn and ignore the option if not recognized
8896 # So say no if there are warnings
8897 if test -s conftest.err; then
8898 # Append any errors to the config.log.
8899 cat conftest.err 1>&5
8900 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8901 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8902 if diff conftest.exp conftest.er2 >/dev/null; then
8903 lt_cv_prog_compiler_static_works=yes
8904 fi
8905 else
8906 lt_cv_prog_compiler_static_works=yes
8907 fi
8908 fi
8909 $RM -r conftest*
8910 LDFLAGS="$save_LDFLAGS"
8911
8912 fi
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8914 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8915
8916 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8917 :
8918 else
8919 lt_prog_compiler_static=
8920 fi
8921
8922
8923
8924
8925
8926
8927
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8929 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8930 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8931 $as_echo_n "(cached) " >&6
8932 else
8933 lt_cv_prog_compiler_c_o=no
8934 $RM -r conftest 2>/dev/null
8935 mkdir conftest
8936 cd conftest
8937 mkdir out
8938 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8939
8940 lt_compiler_flag="-o out/conftest2.$ac_objext"
8941 # Insert the option either (1) after the last *FLAGS variable, or
8942 # (2) before a word containing "conftest.", or (3) at the end.
8943 # Note that $ac_compile itself does not contain backslashes and begins
8944 # with a dollar sign (not a hyphen), so the echo should work correctly.
8945 lt_compile=`echo "$ac_compile" | $SED \
8946 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8947 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8948 -e 's:$: $lt_compiler_flag:'`
8949 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8950 (eval "$lt_compile" 2>out/conftest.err)
8951 ac_status=$?
8952 cat out/conftest.err >&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8955 then
8956 # The compiler can only warn and ignore the option if not recognized
8957 # So say no if there are warnings
8958 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8959 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8960 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8961 lt_cv_prog_compiler_c_o=yes
8962 fi
8963 fi
8964 chmod u+w . 2>&5
8965 $RM conftest*
8966 # SGI C++ compiler will create directory out/ii_files/ for
8967 # template instantiation
8968 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8969 $RM out/* && rmdir out
8970 cd ..
8971 $RM -r conftest
8972 $RM conftest*
8973
8974 fi
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8976 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8977
8978
8979
8980
8981
8982
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8984 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8985 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8986 $as_echo_n "(cached) " >&6
8987 else
8988 lt_cv_prog_compiler_c_o=no
8989 $RM -r conftest 2>/dev/null
8990 mkdir conftest
8991 cd conftest
8992 mkdir out
8993 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8994
8995 lt_compiler_flag="-o out/conftest2.$ac_objext"
8996 # Insert the option either (1) after the last *FLAGS variable, or
8997 # (2) before a word containing "conftest.", or (3) at the end.
8998 # Note that $ac_compile itself does not contain backslashes and begins
8999 # with a dollar sign (not a hyphen), so the echo should work correctly.
9000 lt_compile=`echo "$ac_compile" | $SED \
9001 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9002 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9003 -e 's:$: $lt_compiler_flag:'`
9004 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9005 (eval "$lt_compile" 2>out/conftest.err)
9006 ac_status=$?
9007 cat out/conftest.err >&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9010 then
9011 # The compiler can only warn and ignore the option if not recognized
9012 # So say no if there are warnings
9013 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9014 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9015 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9016 lt_cv_prog_compiler_c_o=yes
9017 fi
9018 fi
9019 chmod u+w . 2>&5
9020 $RM conftest*
9021 # SGI C++ compiler will create directory out/ii_files/ for
9022 # template instantiation
9023 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9024 $RM out/* && rmdir out
9025 cd ..
9026 $RM -r conftest
9027 $RM conftest*
9028
9029 fi
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9031 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9032
9033
9034
9035
9036 hard_links="nottested"
9037 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9038 # do not overwrite the value of need_locks provided by the user
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9040 $as_echo_n "checking if we can lock with hard links... " >&6; }
9041 hard_links=yes
9042 $RM conftest*
9043 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9044 touch conftest.a
9045 ln conftest.a conftest.b 2>&5 || hard_links=no
9046 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9048 $as_echo "$hard_links" >&6; }
9049 if test "$hard_links" = no; then
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9051 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9052 need_locks=warn
9053 fi
9054 else
9055 need_locks=no
9056 fi
9057
9058
9059
9060
9061
9062
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9064 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9065
9066 runpath_var=
9067 allow_undefined_flag=
9068 always_export_symbols=no
9069 archive_cmds=
9070 archive_expsym_cmds=
9071 compiler_needs_object=no
9072 enable_shared_with_static_runtimes=no
9073 export_dynamic_flag_spec=
9074 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9075 hardcode_automatic=no
9076 hardcode_direct=no
9077 hardcode_direct_absolute=no
9078 hardcode_libdir_flag_spec=
9079 hardcode_libdir_flag_spec_ld=
9080 hardcode_libdir_separator=
9081 hardcode_minus_L=no
9082 hardcode_shlibpath_var=unsupported
9083 inherit_rpath=no
9084 link_all_deplibs=unknown
9085 module_cmds=
9086 module_expsym_cmds=
9087 old_archive_from_new_cmds=
9088 old_archive_from_expsyms_cmds=
9089 thread_safe_flag_spec=
9090 whole_archive_flag_spec=
9091 # include_expsyms should be a list of space-separated symbols to be *always*
9092 # included in the symbol list
9093 include_expsyms=
9094 # exclude_expsyms can be an extended regexp of symbols to exclude
9095 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9096 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9097 # as well as any symbol that contains `d'.
9098 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9099 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9100 # platforms (ab)use it in PIC code, but their linkers get confused if
9101 # the symbol is explicitly referenced. Since portable code cannot
9102 # rely on this symbol name, it's probably fine to never include it in
9103 # preloaded symbol tables.
9104 # Exclude shared library initialization/finalization symbols.
9105 extract_expsyms_cmds=
9106
9107 case $host_os in
9108 cygwin* | mingw* | pw32* | cegcc*)
9109 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9110 # When not using gcc, we currently assume that we are using
9111 # Microsoft Visual C++.
9112 if test "$GCC" != yes; then
9113 with_gnu_ld=no
9114 fi
9115 ;;
9116 interix*)
9117 # we just hope/assume this is gcc and not c89 (= MSVC++)
9118 with_gnu_ld=yes
9119 ;;
9120 openbsd*)
9121 with_gnu_ld=no
9122 ;;
9123 esac
9124
9125 ld_shlibs=yes
9126
9127 # On some targets, GNU ld is compatible enough with the native linker
9128 # that we're better off using the native interface for both.
9129 lt_use_gnu_ld_interface=no
9130 if test "$with_gnu_ld" = yes; then
9131 case $host_os in
9132 aix*)
9133 # The AIX port of GNU ld has always aspired to compatibility
9134 # with the native linker. However, as the warning in the GNU ld
9135 # block says, versions before 2.19.5* couldn't really create working
9136 # shared libraries, regardless of the interface used.
9137 case `$LD -v 2>&1` in
9138 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9139 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9140 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9141 *)
9142 lt_use_gnu_ld_interface=yes
9143 ;;
9144 esac
9145 ;;
9146 *)
9147 lt_use_gnu_ld_interface=yes
9148 ;;
9149 esac
9150 fi
9151
9152 if test "$lt_use_gnu_ld_interface" = yes; then
9153 # If archive_cmds runs LD, not CC, wlarc should be empty
9154 wlarc='${wl}'
9155
9156 # Set some defaults for GNU ld with shared library support. These
9157 # are reset later if shared libraries are not supported. Putting them
9158 # here allows them to be overridden if necessary.
9159 runpath_var=LD_RUN_PATH
9160 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9161 export_dynamic_flag_spec='${wl}--export-dynamic'
9162 # ancient GNU ld didn't support --whole-archive et. al.
9163 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9164 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9165 else
9166 whole_archive_flag_spec=
9167 fi
9168 supports_anon_versioning=no
9169 case `$LD -v 2>&1` in
9170 *GNU\ gold*) supports_anon_versioning=yes ;;
9171 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9172 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9173 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9174 *\ 2.11.*) ;; # other 2.11 versions
9175 *) supports_anon_versioning=yes ;;
9176 esac
9177
9178 # See if GNU ld supports shared libraries.
9179 case $host_os in
9180 aix[3-9]*)
9181 # On AIX/PPC, the GNU linker is very broken
9182 if test "$host_cpu" != ia64; then
9183 ld_shlibs=no
9184 cat <<_LT_EOF 1>&2
9185
9186 *** Warning: the GNU linker, at least up to release 2.19, is reported
9187 *** to be unable to reliably create shared libraries on AIX.
9188 *** Therefore, libtool is disabling shared libraries support. If you
9189 *** really care for shared libraries, you may want to install binutils
9190 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9191 *** You will then need to restart the configuration process.
9192
9193 _LT_EOF
9194 fi
9195 ;;
9196
9197 amigaos*)
9198 case $host_cpu in
9199 powerpc)
9200 # see comment about AmigaOS4 .so support
9201 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202 archive_expsym_cmds=''
9203 ;;
9204 m68k)
9205 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9206 hardcode_libdir_flag_spec='-L$libdir'
9207 hardcode_minus_L=yes
9208 ;;
9209 esac
9210 ;;
9211
9212 beos*)
9213 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9214 allow_undefined_flag=unsupported
9215 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9216 # support --undefined. This deserves some investigation. FIXME
9217 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9218 else
9219 ld_shlibs=no
9220 fi
9221 ;;
9222
9223 cygwin* | mingw* | pw32* | cegcc*)
9224 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9225 # as there is no search path for DLLs.
9226 hardcode_libdir_flag_spec='-L$libdir'
9227 export_dynamic_flag_spec='${wl}--export-all-symbols'
9228 allow_undefined_flag=unsupported
9229 always_export_symbols=no
9230 enable_shared_with_static_runtimes=yes
9231 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9232
9233 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9234 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9235 # If the export-symbols file already is a .def file (1st line
9236 # is EXPORTS), use it as is; otherwise, prepend...
9237 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9238 cp $export_symbols $output_objdir/$soname.def;
9239 else
9240 echo EXPORTS > $output_objdir/$soname.def;
9241 cat $export_symbols >> $output_objdir/$soname.def;
9242 fi~
9243 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9244 else
9245 ld_shlibs=no
9246 fi
9247 ;;
9248
9249 haiku*)
9250 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9251 link_all_deplibs=yes
9252 ;;
9253
9254 interix[3-9]*)
9255 hardcode_direct=no
9256 hardcode_shlibpath_var=no
9257 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9258 export_dynamic_flag_spec='${wl}-E'
9259 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9260 # Instead, shared libraries are loaded at an image base (0x10000000 by
9261 # default) and relocated if they conflict, which is a slow very memory
9262 # consuming and fragmenting process. To avoid this, we pick a random,
9263 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9264 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9265 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9266 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9267 ;;
9268
9269 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9270 tmp_diet=no
9271 if test "$host_os" = linux-dietlibc; then
9272 case $cc_basename in
9273 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9274 esac
9275 fi
9276 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9277 && test "$tmp_diet" = no
9278 then
9279 tmp_addflag=
9280 tmp_sharedflag='-shared'
9281 case $cc_basename,$host_cpu in
9282 pgcc*) # Portland Group C compiler
9283 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9284 tmp_addflag=' $pic_flag'
9285 ;;
9286 pgf77* | pgf90* | pgf95* | pgfortran*)
9287 # Portland Group f77 and f90 compilers
9288 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9289 tmp_addflag=' $pic_flag -Mnomain' ;;
9290 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9291 tmp_addflag=' -i_dynamic' ;;
9292 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9293 tmp_addflag=' -i_dynamic -nofor_main' ;;
9294 ifc* | ifort*) # Intel Fortran compiler
9295 tmp_addflag=' -nofor_main' ;;
9296 lf95*) # Lahey Fortran 8.1
9297 whole_archive_flag_spec=
9298 tmp_sharedflag='--shared' ;;
9299 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9300 tmp_sharedflag='-qmkshrobj'
9301 tmp_addflag= ;;
9302 nvcc*) # Cuda Compiler Driver 2.2
9303 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9304 compiler_needs_object=yes
9305 ;;
9306 esac
9307 case `$CC -V 2>&1 | sed 5q` in
9308 *Sun\ C*) # Sun C 5.9
9309 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9310 compiler_needs_object=yes
9311 tmp_sharedflag='-G' ;;
9312 *Sun\ F*) # Sun Fortran 8.3
9313 tmp_sharedflag='-G' ;;
9314 esac
9315 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9316
9317 if test "x$supports_anon_versioning" = xyes; then
9318 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9319 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9320 echo "local: *; };" >> $output_objdir/$libname.ver~
9321 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9322 fi
9323
9324 case $cc_basename in
9325 xlf* | bgf* | bgxlf* | mpixlf*)
9326 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9327 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9328 hardcode_libdir_flag_spec=
9329 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9330 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9331 if test "x$supports_anon_versioning" = xyes; then
9332 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9333 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9334 echo "local: *; };" >> $output_objdir/$libname.ver~
9335 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9336 fi
9337 ;;
9338 esac
9339 else
9340 ld_shlibs=no
9341 fi
9342 ;;
9343
9344 netbsd*)
9345 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9346 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9347 wlarc=
9348 else
9349 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9350 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9351 fi
9352 ;;
9353
9354 solaris*)
9355 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9356 ld_shlibs=no
9357 cat <<_LT_EOF 1>&2
9358
9359 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9360 *** create shared libraries on Solaris systems. Therefore, libtool
9361 *** is disabling shared libraries support. We urge you to upgrade GNU
9362 *** binutils to release 2.9.1 or newer. Another option is to modify
9363 *** your PATH or compiler configuration so that the native linker is
9364 *** used, and then restart.
9365
9366 _LT_EOF
9367 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9368 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9369 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9370 else
9371 ld_shlibs=no
9372 fi
9373 ;;
9374
9375 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9376 case `$LD -v 2>&1` in
9377 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9378 ld_shlibs=no
9379 cat <<_LT_EOF 1>&2
9380
9381 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9382 *** reliably create shared libraries on SCO systems. Therefore, libtool
9383 *** is disabling shared libraries support. We urge you to upgrade GNU
9384 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9385 *** your PATH or compiler configuration so that the native linker is
9386 *** used, and then restart.
9387
9388 _LT_EOF
9389 ;;
9390 *)
9391 # For security reasons, it is highly recommended that you always
9392 # use absolute paths for naming shared libraries, and exclude the
9393 # DT_RUNPATH tag from executables and libraries. But doing so
9394 # requires that you compile everything twice, which is a pain.
9395 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9396 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9397 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9399 else
9400 ld_shlibs=no
9401 fi
9402 ;;
9403 esac
9404 ;;
9405
9406 sunos4*)
9407 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9408 wlarc=
9409 hardcode_direct=yes
9410 hardcode_shlibpath_var=no
9411 ;;
9412
9413 *)
9414 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9415 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417 else
9418 ld_shlibs=no
9419 fi
9420 ;;
9421 esac
9422
9423 if test "$ld_shlibs" = no; then
9424 runpath_var=
9425 hardcode_libdir_flag_spec=
9426 export_dynamic_flag_spec=
9427 whole_archive_flag_spec=
9428 fi
9429 else
9430 # PORTME fill in a description of your system's linker (not GNU ld)
9431 case $host_os in
9432 aix3*)
9433 allow_undefined_flag=unsupported
9434 always_export_symbols=yes
9435 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9436 # Note: this linker hardcodes the directories in LIBPATH if there
9437 # are no directories specified by -L.
9438 hardcode_minus_L=yes
9439 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9440 # Neither direct hardcoding nor static linking is supported with a
9441 # broken collect2.
9442 hardcode_direct=unsupported
9443 fi
9444 ;;
9445
9446 aix[4-9]*)
9447 if test "$host_cpu" = ia64; then
9448 # On IA64, the linker does run time linking by default, so we don't
9449 # have to do anything special.
9450 aix_use_runtimelinking=no
9451 exp_sym_flag='-Bexport'
9452 no_entry_flag=""
9453 else
9454 # If we're using GNU nm, then we don't want the "-C" option.
9455 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9456 # Also, AIX nm treats weak defined symbols like other global
9457 # defined symbols, whereas GNU nm marks them as "W".
9458 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9459 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9460 else
9461 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9462 fi
9463 aix_use_runtimelinking=no
9464
9465 # Test if we are trying to use run time linking or normal
9466 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9467 # need to do runtime linking.
9468 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9469 for ld_flag in $LDFLAGS; do
9470 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9471 aix_use_runtimelinking=yes
9472 break
9473 fi
9474 done
9475 ;;
9476 esac
9477
9478 exp_sym_flag='-bexport'
9479 no_entry_flag='-bnoentry'
9480 fi
9481
9482 # When large executables or shared objects are built, AIX ld can
9483 # have problems creating the table of contents. If linking a library
9484 # or program results in "error TOC overflow" add -mminimal-toc to
9485 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9486 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9487
9488 archive_cmds=''
9489 hardcode_direct=yes
9490 hardcode_direct_absolute=yes
9491 hardcode_libdir_separator=':'
9492 link_all_deplibs=yes
9493 file_list_spec='${wl}-f,'
9494
9495 if test "$GCC" = yes; then
9496 case $host_os in aix4.[012]|aix4.[012].*)
9497 # We only want to do this on AIX 4.2 and lower, the check
9498 # below for broken collect2 doesn't work under 4.3+
9499 collect2name=`${CC} -print-prog-name=collect2`
9500 if test -f "$collect2name" &&
9501 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9502 then
9503 # We have reworked collect2
9504 :
9505 else
9506 # We have old collect2
9507 hardcode_direct=unsupported
9508 # It fails to find uninstalled libraries when the uninstalled
9509 # path is not listed in the libpath. Setting hardcode_minus_L
9510 # to unsupported forces relinking
9511 hardcode_minus_L=yes
9512 hardcode_libdir_flag_spec='-L$libdir'
9513 hardcode_libdir_separator=
9514 fi
9515 ;;
9516 esac
9517 shared_flag='-shared'
9518 if test "$aix_use_runtimelinking" = yes; then
9519 shared_flag="$shared_flag "'${wl}-G'
9520 fi
9521 else
9522 # not using gcc
9523 if test "$host_cpu" = ia64; then
9524 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9525 # chokes on -Wl,-G. The following line is correct:
9526 shared_flag='-G'
9527 else
9528 if test "$aix_use_runtimelinking" = yes; then
9529 shared_flag='${wl}-G'
9530 else
9531 shared_flag='${wl}-bM:SRE'
9532 fi
9533 fi
9534 fi
9535
9536 export_dynamic_flag_spec='${wl}-bexpall'
9537 # It seems that -bexpall does not export symbols beginning with
9538 # underscore (_), so it is better to generate a list of symbols to export.
9539 always_export_symbols=yes
9540 if test "$aix_use_runtimelinking" = yes; then
9541 # Warning - without using the other runtime loading flags (-brtl),
9542 # -berok will link without error, but may produce a broken library.
9543 allow_undefined_flag='-berok'
9544 # Determine the default libpath from the value encoded in an
9545 # empty executable.
9546 if test x$gcc_no_link = xyes; then
9547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9548 fi
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9551
9552 int
9553 main ()
9554 {
9555
9556 ;
9557 return 0;
9558 }
9559 _ACEOF
9560 if ac_fn_c_try_link "$LINENO"; then :
9561
9562 lt_aix_libpath_sed='
9563 /Import File Strings/,/^$/ {
9564 /^0/ {
9565 s/^0 *\(.*\)$/\1/
9566 p
9567 }
9568 }'
9569 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9570 # Check for a 64-bit object if we didn't find anything.
9571 if test -z "$aix_libpath"; then
9572 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9573 fi
9574 fi
9575 rm -f core conftest.err conftest.$ac_objext \
9576 conftest$ac_exeext conftest.$ac_ext
9577 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9578
9579 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9580 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9581 else
9582 if test "$host_cpu" = ia64; then
9583 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9584 allow_undefined_flag="-z nodefs"
9585 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9586 else
9587 # Determine the default libpath from the value encoded in an
9588 # empty executable.
9589 if test x$gcc_no_link = xyes; then
9590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9591 fi
9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h. */
9594
9595 int
9596 main ()
9597 {
9598
9599 ;
9600 return 0;
9601 }
9602 _ACEOF
9603 if ac_fn_c_try_link "$LINENO"; then :
9604
9605 lt_aix_libpath_sed='
9606 /Import File Strings/,/^$/ {
9607 /^0/ {
9608 s/^0 *\(.*\)$/\1/
9609 p
9610 }
9611 }'
9612 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9613 # Check for a 64-bit object if we didn't find anything.
9614 if test -z "$aix_libpath"; then
9615 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9616 fi
9617 fi
9618 rm -f core conftest.err conftest.$ac_objext \
9619 conftest$ac_exeext conftest.$ac_ext
9620 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9621
9622 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9623 # Warning - without using the other run time loading flags,
9624 # -berok will link without error, but may produce a broken library.
9625 no_undefined_flag=' ${wl}-bernotok'
9626 allow_undefined_flag=' ${wl}-berok'
9627 if test "$with_gnu_ld" = yes; then
9628 # We only use this code for GNU lds that support --whole-archive.
9629 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9630 else
9631 # Exported symbols can be pulled into shared objects from archives
9632 whole_archive_flag_spec='$convenience'
9633 fi
9634 archive_cmds_need_lc=yes
9635 # This is similar to how AIX traditionally builds its shared libraries.
9636 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9637 fi
9638 fi
9639 ;;
9640
9641 amigaos*)
9642 case $host_cpu in
9643 powerpc)
9644 # see comment about AmigaOS4 .so support
9645 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9646 archive_expsym_cmds=''
9647 ;;
9648 m68k)
9649 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9650 hardcode_libdir_flag_spec='-L$libdir'
9651 hardcode_minus_L=yes
9652 ;;
9653 esac
9654 ;;
9655
9656 bsdi[45]*)
9657 export_dynamic_flag_spec=-rdynamic
9658 ;;
9659
9660 cygwin* | mingw* | pw32* | cegcc*)
9661 # When not using gcc, we currently assume that we are using
9662 # Microsoft Visual C++.
9663 # hardcode_libdir_flag_spec is actually meaningless, as there is
9664 # no search path for DLLs.
9665 hardcode_libdir_flag_spec=' '
9666 allow_undefined_flag=unsupported
9667 # Tell ltmain to make .lib files, not .a files.
9668 libext=lib
9669 # Tell ltmain to make .dll files, not .so files.
9670 shrext_cmds=".dll"
9671 # FIXME: Setting linknames here is a bad hack.
9672 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9673 # The linker will automatically build a .lib file if we build a DLL.
9674 old_archive_from_new_cmds='true'
9675 # FIXME: Should let the user specify the lib program.
9676 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9677 fix_srcfile_path='`cygpath -w "$srcfile"`'
9678 enable_shared_with_static_runtimes=yes
9679 ;;
9680
9681 darwin* | rhapsody*)
9682
9683
9684 archive_cmds_need_lc=no
9685 hardcode_direct=no
9686 hardcode_automatic=yes
9687 hardcode_shlibpath_var=unsupported
9688 if test "$lt_cv_ld_force_load" = "yes"; then
9689 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9690 else
9691 whole_archive_flag_spec=''
9692 fi
9693 link_all_deplibs=yes
9694 allow_undefined_flag="$_lt_dar_allow_undefined"
9695 case $cc_basename in
9696 ifort*) _lt_dar_can_shared=yes ;;
9697 *) _lt_dar_can_shared=$GCC ;;
9698 esac
9699 if test "$_lt_dar_can_shared" = "yes"; then
9700 output_verbose_link_cmd=func_echo_all
9701 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9702 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9703 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9704 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9705
9706 else
9707 ld_shlibs=no
9708 fi
9709
9710 ;;
9711
9712 dgux*)
9713 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9714 hardcode_libdir_flag_spec='-L$libdir'
9715 hardcode_shlibpath_var=no
9716 ;;
9717
9718 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9719 # support. Future versions do this automatically, but an explicit c++rt0.o
9720 # does not break anything, and helps significantly (at the cost of a little
9721 # extra space).
9722 freebsd2.2*)
9723 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9724 hardcode_libdir_flag_spec='-R$libdir'
9725 hardcode_direct=yes
9726 hardcode_shlibpath_var=no
9727 ;;
9728
9729 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9730 freebsd2.*)
9731 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9732 hardcode_direct=yes
9733 hardcode_minus_L=yes
9734 hardcode_shlibpath_var=no
9735 ;;
9736
9737 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9738 freebsd* | dragonfly*)
9739 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9740 hardcode_libdir_flag_spec='-R$libdir'
9741 hardcode_direct=yes
9742 hardcode_shlibpath_var=no
9743 ;;
9744
9745 hpux9*)
9746 if test "$GCC" = yes; then
9747 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9748 else
9749 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9750 fi
9751 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9752 hardcode_libdir_separator=:
9753 hardcode_direct=yes
9754
9755 # hardcode_minus_L: Not really in the search PATH,
9756 # but as the default location of the library.
9757 hardcode_minus_L=yes
9758 export_dynamic_flag_spec='${wl}-E'
9759 ;;
9760
9761 hpux10*)
9762 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9763 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9764 else
9765 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9766 fi
9767 if test "$with_gnu_ld" = no; then
9768 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9769 hardcode_libdir_flag_spec_ld='+b $libdir'
9770 hardcode_libdir_separator=:
9771 hardcode_direct=yes
9772 hardcode_direct_absolute=yes
9773 export_dynamic_flag_spec='${wl}-E'
9774 # hardcode_minus_L: Not really in the search PATH,
9775 # but as the default location of the library.
9776 hardcode_minus_L=yes
9777 fi
9778 ;;
9779
9780 hpux11*)
9781 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9782 case $host_cpu in
9783 hppa*64*)
9784 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9785 ;;
9786 ia64*)
9787 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9788 ;;
9789 *)
9790 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9791 ;;
9792 esac
9793 else
9794 case $host_cpu in
9795 hppa*64*)
9796 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9797 ;;
9798 ia64*)
9799 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9800 ;;
9801 *)
9802
9803 # Older versions of the 11.00 compiler do not understand -b yet
9804 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9806 $as_echo_n "checking if $CC understands -b... " >&6; }
9807 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9808 $as_echo_n "(cached) " >&6
9809 else
9810 lt_cv_prog_compiler__b=no
9811 save_LDFLAGS="$LDFLAGS"
9812 LDFLAGS="$LDFLAGS -b"
9813 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9814 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9815 # The linker can only warn and ignore the option if not recognized
9816 # So say no if there are warnings
9817 if test -s conftest.err; then
9818 # Append any errors to the config.log.
9819 cat conftest.err 1>&5
9820 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9821 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9822 if diff conftest.exp conftest.er2 >/dev/null; then
9823 lt_cv_prog_compiler__b=yes
9824 fi
9825 else
9826 lt_cv_prog_compiler__b=yes
9827 fi
9828 fi
9829 $RM -r conftest*
9830 LDFLAGS="$save_LDFLAGS"
9831
9832 fi
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9834 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9835
9836 if test x"$lt_cv_prog_compiler__b" = xyes; then
9837 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9838 else
9839 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9840 fi
9841
9842 ;;
9843 esac
9844 fi
9845 if test "$with_gnu_ld" = no; then
9846 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9847 hardcode_libdir_separator=:
9848
9849 case $host_cpu in
9850 hppa*64*|ia64*)
9851 hardcode_direct=no
9852 hardcode_shlibpath_var=no
9853 ;;
9854 *)
9855 hardcode_direct=yes
9856 hardcode_direct_absolute=yes
9857 export_dynamic_flag_spec='${wl}-E'
9858
9859 # hardcode_minus_L: Not really in the search PATH,
9860 # but as the default location of the library.
9861 hardcode_minus_L=yes
9862 ;;
9863 esac
9864 fi
9865 ;;
9866
9867 irix5* | irix6* | nonstopux*)
9868 if test "$GCC" = yes; then
9869 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9870 # Try to use the -exported_symbol ld option, if it does not
9871 # work, assume that -exports_file does not work either and
9872 # implicitly export all symbols.
9873 save_LDFLAGS="$LDFLAGS"
9874 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9875 if test x$gcc_no_link = xyes; then
9876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9877 fi
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9880 int foo(void) {}
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9884
9885 fi
9886 rm -f core conftest.err conftest.$ac_objext \
9887 conftest$ac_exeext conftest.$ac_ext
9888 LDFLAGS="$save_LDFLAGS"
9889 else
9890 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9891 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9892 fi
9893 archive_cmds_need_lc='no'
9894 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9895 hardcode_libdir_separator=:
9896 inherit_rpath=yes
9897 link_all_deplibs=yes
9898 ;;
9899
9900 netbsd*)
9901 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9902 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9903 else
9904 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9905 fi
9906 hardcode_libdir_flag_spec='-R$libdir'
9907 hardcode_direct=yes
9908 hardcode_shlibpath_var=no
9909 ;;
9910
9911 newsos6)
9912 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9913 hardcode_direct=yes
9914 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9915 hardcode_libdir_separator=:
9916 hardcode_shlibpath_var=no
9917 ;;
9918
9919 *nto* | *qnx*)
9920 ;;
9921
9922 openbsd*)
9923 if test -f /usr/libexec/ld.so; then
9924 hardcode_direct=yes
9925 hardcode_shlibpath_var=no
9926 hardcode_direct_absolute=yes
9927 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9928 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9929 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9930 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9931 export_dynamic_flag_spec='${wl}-E'
9932 else
9933 case $host_os in
9934 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9935 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9936 hardcode_libdir_flag_spec='-R$libdir'
9937 ;;
9938 *)
9939 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9940 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9941 ;;
9942 esac
9943 fi
9944 else
9945 ld_shlibs=no
9946 fi
9947 ;;
9948
9949 os2*)
9950 hardcode_libdir_flag_spec='-L$libdir'
9951 hardcode_minus_L=yes
9952 allow_undefined_flag=unsupported
9953 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9954 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9955 ;;
9956
9957 osf3*)
9958 if test "$GCC" = yes; then
9959 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9960 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9961 else
9962 allow_undefined_flag=' -expect_unresolved \*'
9963 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9964 fi
9965 archive_cmds_need_lc='no'
9966 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9967 hardcode_libdir_separator=:
9968 ;;
9969
9970 osf4* | osf5*) # as osf3* with the addition of -msym flag
9971 if test "$GCC" = yes; then
9972 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9973 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9974 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9975 else
9976 allow_undefined_flag=' -expect_unresolved \*'
9977 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9978 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9979 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9980
9981 # Both c and cxx compiler support -rpath directly
9982 hardcode_libdir_flag_spec='-rpath $libdir'
9983 fi
9984 archive_cmds_need_lc='no'
9985 hardcode_libdir_separator=:
9986 ;;
9987
9988 solaris*)
9989 no_undefined_flag=' -z defs'
9990 if test "$GCC" = yes; then
9991 wlarc='${wl}'
9992 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9993 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9994 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9995 else
9996 case `$CC -V 2>&1` in
9997 *"Compilers 5.0"*)
9998 wlarc=''
9999 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10000 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10001 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10002 ;;
10003 *)
10004 wlarc='${wl}'
10005 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10008 ;;
10009 esac
10010 fi
10011 hardcode_libdir_flag_spec='-R$libdir'
10012 hardcode_shlibpath_var=no
10013 case $host_os in
10014 solaris2.[0-5] | solaris2.[0-5].*) ;;
10015 *)
10016 # The compiler driver will combine and reorder linker options,
10017 # but understands `-z linker_flag'. GCC discards it without `$wl',
10018 # but is careful enough not to reorder.
10019 # Supported since Solaris 2.6 (maybe 2.5.1?)
10020 if test "$GCC" = yes; then
10021 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10022 else
10023 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10024 fi
10025 ;;
10026 esac
10027 link_all_deplibs=yes
10028 ;;
10029
10030 sunos4*)
10031 if test "x$host_vendor" = xsequent; then
10032 # Use $CC to link under sequent, because it throws in some extra .o
10033 # files that make .init and .fini sections work.
10034 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10035 else
10036 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10037 fi
10038 hardcode_libdir_flag_spec='-L$libdir'
10039 hardcode_direct=yes
10040 hardcode_minus_L=yes
10041 hardcode_shlibpath_var=no
10042 ;;
10043
10044 sysv4)
10045 case $host_vendor in
10046 sni)
10047 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048 hardcode_direct=yes # is this really true???
10049 ;;
10050 siemens)
10051 ## LD is ld it makes a PLAMLIB
10052 ## CC just makes a GrossModule.
10053 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10054 reload_cmds='$CC -r -o $output$reload_objs'
10055 hardcode_direct=no
10056 ;;
10057 motorola)
10058 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10060 ;;
10061 esac
10062 runpath_var='LD_RUN_PATH'
10063 hardcode_shlibpath_var=no
10064 ;;
10065
10066 sysv4.3*)
10067 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10068 hardcode_shlibpath_var=no
10069 export_dynamic_flag_spec='-Bexport'
10070 ;;
10071
10072 sysv4*MP*)
10073 if test -d /usr/nec; then
10074 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10075 hardcode_shlibpath_var=no
10076 runpath_var=LD_RUN_PATH
10077 hardcode_runpath_var=yes
10078 ld_shlibs=yes
10079 fi
10080 ;;
10081
10082 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10083 no_undefined_flag='${wl}-z,text'
10084 archive_cmds_need_lc=no
10085 hardcode_shlibpath_var=no
10086 runpath_var='LD_RUN_PATH'
10087
10088 if test "$GCC" = yes; then
10089 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 else
10092 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094 fi
10095 ;;
10096
10097 sysv5* | sco3.2v5* | sco5v6*)
10098 # Note: We can NOT use -z defs as we might desire, because we do not
10099 # link with -lc, and that would cause any symbols used from libc to
10100 # always be unresolved, which means just about no library would
10101 # ever link correctly. If we're not using GNU ld we use -z text
10102 # though, which does catch some bad symbols but isn't as heavy-handed
10103 # as -z defs.
10104 no_undefined_flag='${wl}-z,text'
10105 allow_undefined_flag='${wl}-z,nodefs'
10106 archive_cmds_need_lc=no
10107 hardcode_shlibpath_var=no
10108 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10109 hardcode_libdir_separator=':'
10110 link_all_deplibs=yes
10111 export_dynamic_flag_spec='${wl}-Bexport'
10112 runpath_var='LD_RUN_PATH'
10113
10114 if test "$GCC" = yes; then
10115 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 else
10118 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10120 fi
10121 ;;
10122
10123 uts4*)
10124 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10125 hardcode_libdir_flag_spec='-L$libdir'
10126 hardcode_shlibpath_var=no
10127 ;;
10128
10129 *)
10130 ld_shlibs=no
10131 ;;
10132 esac
10133
10134 if test x$host_vendor = xsni; then
10135 case $host in
10136 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10137 export_dynamic_flag_spec='${wl}-Blargedynsym'
10138 ;;
10139 esac
10140 fi
10141 fi
10142
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10144 $as_echo "$ld_shlibs" >&6; }
10145 test "$ld_shlibs" = no && can_build_shared=no
10146
10147 with_gnu_ld=$with_gnu_ld
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163 #
10164 # Do we need to explicitly link libc?
10165 #
10166 case "x$archive_cmds_need_lc" in
10167 x|xyes)
10168 # Assume -lc should be added
10169 archive_cmds_need_lc=yes
10170
10171 if test "$enable_shared" = yes && test "$GCC" = yes; then
10172 case $archive_cmds in
10173 *'~'*)
10174 # FIXME: we may have to deal with multi-command sequences.
10175 ;;
10176 '$CC '*)
10177 # Test whether the compiler implicitly links with -lc since on some
10178 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10179 # to ld, don't add -lc before -lgcc.
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10181 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10182 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10183 $as_echo_n "(cached) " >&6
10184 else
10185 $RM conftest*
10186 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10187
10188 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10189 (eval $ac_compile) 2>&5
10190 ac_status=$?
10191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10192 test $ac_status = 0; } 2>conftest.err; then
10193 soname=conftest
10194 lib=conftest
10195 libobjs=conftest.$ac_objext
10196 deplibs=
10197 wl=$lt_prog_compiler_wl
10198 pic_flag=$lt_prog_compiler_pic
10199 compiler_flags=-v
10200 linker_flags=-v
10201 verstring=
10202 output_objdir=.
10203 libname=conftest
10204 lt_save_allow_undefined_flag=$allow_undefined_flag
10205 allow_undefined_flag=
10206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10207 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10208 ac_status=$?
10209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10210 test $ac_status = 0; }
10211 then
10212 lt_cv_archive_cmds_need_lc=no
10213 else
10214 lt_cv_archive_cmds_need_lc=yes
10215 fi
10216 allow_undefined_flag=$lt_save_allow_undefined_flag
10217 else
10218 cat conftest.err 1>&5
10219 fi
10220 $RM conftest*
10221
10222 fi
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10224 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10225 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10226 ;;
10227 esac
10228 fi
10229 ;;
10230 esac
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10389 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10390
10391 if test "$GCC" = yes; then
10392 case $host_os in
10393 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10394 *) lt_awk_arg="/^libraries:/" ;;
10395 esac
10396 case $host_os in
10397 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10398 *) lt_sed_strip_eq="s,=/,/,g" ;;
10399 esac
10400 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10401 case $lt_search_path_spec in
10402 *\;*)
10403 # if the path contains ";" then we assume it to be the separator
10404 # otherwise default to the standard path separator (i.e. ":") - it is
10405 # assumed that no part of a normal pathname contains ";" but that should
10406 # okay in the real world where ";" in dirpaths is itself problematic.
10407 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10408 ;;
10409 *)
10410 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10411 ;;
10412 esac
10413 # Ok, now we have the path, separated by spaces, we can step through it
10414 # and add multilib dir if necessary.
10415 lt_tmp_lt_search_path_spec=
10416 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10417 for lt_sys_path in $lt_search_path_spec; do
10418 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10419 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10420 else
10421 test -d "$lt_sys_path" && \
10422 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10423 fi
10424 done
10425 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10426 BEGIN {RS=" "; FS="/|\n";} {
10427 lt_foo="";
10428 lt_count=0;
10429 for (lt_i = NF; lt_i > 0; lt_i--) {
10430 if ($lt_i != "" && $lt_i != ".") {
10431 if ($lt_i == "..") {
10432 lt_count++;
10433 } else {
10434 if (lt_count == 0) {
10435 lt_foo="/" $lt_i lt_foo;
10436 } else {
10437 lt_count--;
10438 }
10439 }
10440 }
10441 }
10442 if (lt_foo != "") { lt_freq[lt_foo]++; }
10443 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10444 }'`
10445 # AWK program above erroneously prepends '/' to C:/dos/paths
10446 # for these hosts.
10447 case $host_os in
10448 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10449 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10450 esac
10451 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10452 else
10453 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10454 fi
10455 library_names_spec=
10456 libname_spec='lib$name'
10457 soname_spec=
10458 shrext_cmds=".so"
10459 postinstall_cmds=
10460 postuninstall_cmds=
10461 finish_cmds=
10462 finish_eval=
10463 shlibpath_var=
10464 shlibpath_overrides_runpath=unknown
10465 version_type=none
10466 dynamic_linker="$host_os ld.so"
10467 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10468 need_lib_prefix=unknown
10469 hardcode_into_libs=no
10470
10471 # when you set need_version to no, make sure it does not cause -set_version
10472 # flags to be left without arguments
10473 need_version=unknown
10474
10475 case $host_os in
10476 aix3*)
10477 version_type=linux
10478 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10479 shlibpath_var=LIBPATH
10480
10481 # AIX 3 has no versioning support, so we append a major version to the name.
10482 soname_spec='${libname}${release}${shared_ext}$major'
10483 ;;
10484
10485 aix[4-9]*)
10486 version_type=linux
10487 need_lib_prefix=no
10488 need_version=no
10489 hardcode_into_libs=yes
10490 if test "$host_cpu" = ia64; then
10491 # AIX 5 supports IA64
10492 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10493 shlibpath_var=LD_LIBRARY_PATH
10494 else
10495 # With GCC up to 2.95.x, collect2 would create an import file
10496 # for dependence libraries. The import file would start with
10497 # the line `#! .'. This would cause the generated library to
10498 # depend on `.', always an invalid library. This was fixed in
10499 # development snapshots of GCC prior to 3.0.
10500 case $host_os in
10501 aix4 | aix4.[01] | aix4.[01].*)
10502 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10503 echo ' yes '
10504 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10505 :
10506 else
10507 can_build_shared=no
10508 fi
10509 ;;
10510 esac
10511 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10512 # soname into executable. Probably we can add versioning support to
10513 # collect2, so additional links can be useful in future.
10514 if test "$aix_use_runtimelinking" = yes; then
10515 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10516 # instead of lib<name>.a to let people know that these are not
10517 # typical AIX shared libraries.
10518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519 else
10520 # We preserve .a as extension for shared libraries through AIX4.2
10521 # and later when we are not doing run time linking.
10522 library_names_spec='${libname}${release}.a $libname.a'
10523 soname_spec='${libname}${release}${shared_ext}$major'
10524 fi
10525 shlibpath_var=LIBPATH
10526 fi
10527 ;;
10528
10529 amigaos*)
10530 case $host_cpu in
10531 powerpc)
10532 # Since July 2007 AmigaOS4 officially supports .so libraries.
10533 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10535 ;;
10536 m68k)
10537 library_names_spec='$libname.ixlibrary $libname.a'
10538 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10539 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10540 ;;
10541 esac
10542 ;;
10543
10544 beos*)
10545 library_names_spec='${libname}${shared_ext}'
10546 dynamic_linker="$host_os ld.so"
10547 shlibpath_var=LIBRARY_PATH
10548 ;;
10549
10550 bsdi[45]*)
10551 version_type=linux
10552 need_version=no
10553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554 soname_spec='${libname}${release}${shared_ext}$major'
10555 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10556 shlibpath_var=LD_LIBRARY_PATH
10557 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10558 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10559 # the default ld.so.conf also contains /usr/contrib/lib and
10560 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10561 # libtool to hard-code these into programs
10562 ;;
10563
10564 cygwin* | mingw* | pw32* | cegcc*)
10565 version_type=windows
10566 shrext_cmds=".dll"
10567 need_version=no
10568 need_lib_prefix=no
10569
10570 case $GCC,$host_os in
10571 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10572 library_names_spec='$libname.dll.a'
10573 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10574 postinstall_cmds='base_file=`basename \${file}`~
10575 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10576 dldir=$destdir/`dirname \$dlpath`~
10577 test -d \$dldir || mkdir -p \$dldir~
10578 $install_prog $dir/$dlname \$dldir/$dlname~
10579 chmod a+x \$dldir/$dlname~
10580 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10581 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10582 fi'
10583 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10584 dlpath=$dir/\$dldll~
10585 $RM \$dlpath'
10586 shlibpath_overrides_runpath=yes
10587
10588 case $host_os in
10589 cygwin*)
10590 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10591 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10592
10593 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10594 ;;
10595 mingw* | cegcc*)
10596 # MinGW DLLs use traditional 'lib' prefix
10597 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10598 ;;
10599 pw32*)
10600 # pw32 DLLs use 'pw' prefix rather than 'lib'
10601 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10602 ;;
10603 esac
10604 ;;
10605
10606 *)
10607 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10608 ;;
10609 esac
10610 dynamic_linker='Win32 ld.exe'
10611 # FIXME: first we should search . and the directory the executable is in
10612 shlibpath_var=PATH
10613 ;;
10614
10615 darwin* | rhapsody*)
10616 dynamic_linker="$host_os dyld"
10617 version_type=darwin
10618 need_lib_prefix=no
10619 need_version=no
10620 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10621 soname_spec='${libname}${release}${major}$shared_ext'
10622 shlibpath_overrides_runpath=yes
10623 shlibpath_var=DYLD_LIBRARY_PATH
10624 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10625
10626 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10627 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10628 ;;
10629
10630 dgux*)
10631 version_type=linux
10632 need_lib_prefix=no
10633 need_version=no
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10635 soname_spec='${libname}${release}${shared_ext}$major'
10636 shlibpath_var=LD_LIBRARY_PATH
10637 ;;
10638
10639 freebsd* | dragonfly*)
10640 # DragonFly does not have aout. When/if they implement a new
10641 # versioning mechanism, adjust this.
10642 if test -x /usr/bin/objformat; then
10643 objformat=`/usr/bin/objformat`
10644 else
10645 case $host_os in
10646 freebsd[23].*) objformat=aout ;;
10647 *) objformat=elf ;;
10648 esac
10649 fi
10650 version_type=freebsd-$objformat
10651 case $version_type in
10652 freebsd-elf*)
10653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10654 need_version=no
10655 need_lib_prefix=no
10656 ;;
10657 freebsd-*)
10658 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10659 need_version=yes
10660 ;;
10661 esac
10662 shlibpath_var=LD_LIBRARY_PATH
10663 case $host_os in
10664 freebsd2.*)
10665 shlibpath_overrides_runpath=yes
10666 ;;
10667 freebsd3.[01]* | freebsdelf3.[01]*)
10668 shlibpath_overrides_runpath=yes
10669 hardcode_into_libs=yes
10670 ;;
10671 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10672 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10673 shlibpath_overrides_runpath=no
10674 hardcode_into_libs=yes
10675 ;;
10676 *) # from 4.6 on, and DragonFly
10677 shlibpath_overrides_runpath=yes
10678 hardcode_into_libs=yes
10679 ;;
10680 esac
10681 ;;
10682
10683 gnu*)
10684 version_type=linux
10685 need_lib_prefix=no
10686 need_version=no
10687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10688 soname_spec='${libname}${release}${shared_ext}$major'
10689 shlibpath_var=LD_LIBRARY_PATH
10690 hardcode_into_libs=yes
10691 ;;
10692
10693 haiku*)
10694 version_type=linux
10695 need_lib_prefix=no
10696 need_version=no
10697 dynamic_linker="$host_os runtime_loader"
10698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10699 soname_spec='${libname}${release}${shared_ext}$major'
10700 shlibpath_var=LIBRARY_PATH
10701 shlibpath_overrides_runpath=yes
10702 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10703 hardcode_into_libs=yes
10704 ;;
10705
10706 hpux9* | hpux10* | hpux11*)
10707 # Give a soname corresponding to the major version so that dld.sl refuses to
10708 # link against other versions.
10709 version_type=sunos
10710 need_lib_prefix=no
10711 need_version=no
10712 case $host_cpu in
10713 ia64*)
10714 shrext_cmds='.so'
10715 hardcode_into_libs=yes
10716 dynamic_linker="$host_os dld.so"
10717 shlibpath_var=LD_LIBRARY_PATH
10718 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720 soname_spec='${libname}${release}${shared_ext}$major'
10721 if test "X$HPUX_IA64_MODE" = X32; then
10722 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10723 else
10724 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10725 fi
10726 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10727 ;;
10728 hppa*64*)
10729 shrext_cmds='.sl'
10730 hardcode_into_libs=yes
10731 dynamic_linker="$host_os dld.sl"
10732 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10733 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10735 soname_spec='${libname}${release}${shared_ext}$major'
10736 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10737 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10738 ;;
10739 *)
10740 shrext_cmds='.sl'
10741 dynamic_linker="$host_os dld.sl"
10742 shlibpath_var=SHLIB_PATH
10743 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 soname_spec='${libname}${release}${shared_ext}$major'
10746 ;;
10747 esac
10748 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10749 postinstall_cmds='chmod 555 $lib'
10750 # or fails outright, so override atomically:
10751 install_override_mode=555
10752 ;;
10753
10754 interix[3-9]*)
10755 version_type=linux
10756 need_lib_prefix=no
10757 need_version=no
10758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10759 soname_spec='${libname}${release}${shared_ext}$major'
10760 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10761 shlibpath_var=LD_LIBRARY_PATH
10762 shlibpath_overrides_runpath=no
10763 hardcode_into_libs=yes
10764 ;;
10765
10766 irix5* | irix6* | nonstopux*)
10767 case $host_os in
10768 nonstopux*) version_type=nonstopux ;;
10769 *)
10770 if test "$lt_cv_prog_gnu_ld" = yes; then
10771 version_type=linux
10772 else
10773 version_type=irix
10774 fi ;;
10775 esac
10776 need_lib_prefix=no
10777 need_version=no
10778 soname_spec='${libname}${release}${shared_ext}$major'
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10780 case $host_os in
10781 irix5* | nonstopux*)
10782 libsuff= shlibsuff=
10783 ;;
10784 *)
10785 case $LD in # libtool.m4 will add one of these switches to LD
10786 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10787 libsuff= shlibsuff= libmagic=32-bit;;
10788 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10789 libsuff=32 shlibsuff=N32 libmagic=N32;;
10790 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10791 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10792 *) libsuff= shlibsuff= libmagic=never-match;;
10793 esac
10794 ;;
10795 esac
10796 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10797 shlibpath_overrides_runpath=no
10798 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10799 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10800 hardcode_into_libs=yes
10801 ;;
10802
10803 # No shared lib support for Linux oldld, aout, or coff.
10804 linux*oldld* | linux*aout* | linux*coff*)
10805 dynamic_linker=no
10806 ;;
10807
10808 # This must be Linux ELF.
10809 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10810 version_type=linux
10811 need_lib_prefix=no
10812 need_version=no
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 soname_spec='${libname}${release}${shared_ext}$major'
10815 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10816 shlibpath_var=LD_LIBRARY_PATH
10817 shlibpath_overrides_runpath=no
10818
10819 # Some binutils ld are patched to set DT_RUNPATH
10820 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10821 $as_echo_n "(cached) " >&6
10822 else
10823 lt_cv_shlibpath_overrides_runpath=no
10824 save_LDFLAGS=$LDFLAGS
10825 save_libdir=$libdir
10826 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10827 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10828 if test x$gcc_no_link = xyes; then
10829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10830 fi
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10833
10834 int
10835 main ()
10836 {
10837
10838 ;
10839 return 0;
10840 }
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"; then :
10843 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10844 lt_cv_shlibpath_overrides_runpath=yes
10845 fi
10846 fi
10847 rm -f core conftest.err conftest.$ac_objext \
10848 conftest$ac_exeext conftest.$ac_ext
10849 LDFLAGS=$save_LDFLAGS
10850 libdir=$save_libdir
10851
10852 fi
10853
10854 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10855
10856 # This implies no fast_install, which is unacceptable.
10857 # Some rework will be needed to allow for fast_install
10858 # before this can be enabled.
10859 hardcode_into_libs=yes
10860
10861 # Append ld.so.conf contents to the search path
10862 if test -f /etc/ld.so.conf; then
10863 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10864 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10865 fi
10866
10867 # We used to test for /lib/ld.so.1 and disable shared libraries on
10868 # powerpc, because MkLinux only supported shared libraries with the
10869 # GNU dynamic linker. Since this was broken with cross compilers,
10870 # most powerpc-linux boxes support dynamic linking these days and
10871 # people can always --disable-shared, the test was removed, and we
10872 # assume the GNU/Linux dynamic linker is in use.
10873 dynamic_linker='GNU/Linux ld.so'
10874 ;;
10875
10876 netbsd*)
10877 version_type=sunos
10878 need_lib_prefix=no
10879 need_version=no
10880 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10882 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10883 dynamic_linker='NetBSD (a.out) ld.so'
10884 else
10885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10886 soname_spec='${libname}${release}${shared_ext}$major'
10887 dynamic_linker='NetBSD ld.elf_so'
10888 fi
10889 shlibpath_var=LD_LIBRARY_PATH
10890 shlibpath_overrides_runpath=yes
10891 hardcode_into_libs=yes
10892 ;;
10893
10894 newsos6)
10895 version_type=linux
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=yes
10899 ;;
10900
10901 *nto* | *qnx*)
10902 version_type=qnx
10903 need_lib_prefix=no
10904 need_version=no
10905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906 soname_spec='${libname}${release}${shared_ext}$major'
10907 shlibpath_var=LD_LIBRARY_PATH
10908 shlibpath_overrides_runpath=no
10909 hardcode_into_libs=yes
10910 dynamic_linker='ldqnx.so'
10911 ;;
10912
10913 openbsd*)
10914 version_type=sunos
10915 sys_lib_dlsearch_path_spec="/usr/lib"
10916 need_lib_prefix=no
10917 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10918 case $host_os in
10919 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10920 *) need_version=no ;;
10921 esac
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10923 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10924 shlibpath_var=LD_LIBRARY_PATH
10925 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10926 case $host_os in
10927 openbsd2.[89] | openbsd2.[89].*)
10928 shlibpath_overrides_runpath=no
10929 ;;
10930 *)
10931 shlibpath_overrides_runpath=yes
10932 ;;
10933 esac
10934 else
10935 shlibpath_overrides_runpath=yes
10936 fi
10937 ;;
10938
10939 os2*)
10940 libname_spec='$name'
10941 shrext_cmds=".dll"
10942 need_lib_prefix=no
10943 library_names_spec='$libname${shared_ext} $libname.a'
10944 dynamic_linker='OS/2 ld.exe'
10945 shlibpath_var=LIBPATH
10946 ;;
10947
10948 osf3* | osf4* | osf5*)
10949 version_type=osf
10950 need_lib_prefix=no
10951 need_version=no
10952 soname_spec='${libname}${release}${shared_ext}$major'
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10954 shlibpath_var=LD_LIBRARY_PATH
10955 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10956 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10957 ;;
10958
10959 rdos*)
10960 dynamic_linker=no
10961 ;;
10962
10963 solaris*)
10964 version_type=linux
10965 need_lib_prefix=no
10966 need_version=no
10967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10968 soname_spec='${libname}${release}${shared_ext}$major'
10969 shlibpath_var=LD_LIBRARY_PATH
10970 shlibpath_overrides_runpath=yes
10971 hardcode_into_libs=yes
10972 # ldd complains unless libraries are executable
10973 postinstall_cmds='chmod +x $lib'
10974 ;;
10975
10976 sunos4*)
10977 version_type=sunos
10978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10979 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath=yes
10982 if test "$with_gnu_ld" = yes; then
10983 need_lib_prefix=no
10984 fi
10985 need_version=yes
10986 ;;
10987
10988 sysv4 | sysv4.3*)
10989 version_type=linux
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 soname_spec='${libname}${release}${shared_ext}$major'
10992 shlibpath_var=LD_LIBRARY_PATH
10993 case $host_vendor in
10994 sni)
10995 shlibpath_overrides_runpath=no
10996 need_lib_prefix=no
10997 runpath_var=LD_RUN_PATH
10998 ;;
10999 siemens)
11000 need_lib_prefix=no
11001 ;;
11002 motorola)
11003 need_lib_prefix=no
11004 need_version=no
11005 shlibpath_overrides_runpath=no
11006 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11007 ;;
11008 esac
11009 ;;
11010
11011 sysv4*MP*)
11012 if test -d /usr/nec ;then
11013 version_type=linux
11014 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11015 soname_spec='$libname${shared_ext}.$major'
11016 shlibpath_var=LD_LIBRARY_PATH
11017 fi
11018 ;;
11019
11020 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11021 version_type=freebsd-elf
11022 need_lib_prefix=no
11023 need_version=no
11024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11025 soname_spec='${libname}${release}${shared_ext}$major'
11026 shlibpath_var=LD_LIBRARY_PATH
11027 shlibpath_overrides_runpath=yes
11028 hardcode_into_libs=yes
11029 if test "$with_gnu_ld" = yes; then
11030 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11031 else
11032 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11033 case $host_os in
11034 sco3.2v5*)
11035 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11036 ;;
11037 esac
11038 fi
11039 sys_lib_dlsearch_path_spec='/usr/lib'
11040 ;;
11041
11042 tpf*)
11043 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11044 version_type=linux
11045 need_lib_prefix=no
11046 need_version=no
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 shlibpath_overrides_runpath=no
11050 hardcode_into_libs=yes
11051 ;;
11052
11053 uts4*)
11054 version_type=linux
11055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056 soname_spec='${libname}${release}${shared_ext}$major'
11057 shlibpath_var=LD_LIBRARY_PATH
11058 ;;
11059
11060 *)
11061 dynamic_linker=no
11062 ;;
11063 esac
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11065 $as_echo "$dynamic_linker" >&6; }
11066 test "$dynamic_linker" = no && can_build_shared=no
11067
11068 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11069 if test "$GCC" = yes; then
11070 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11071 fi
11072
11073 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11074 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11075 fi
11076 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11077 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11078 fi
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11172 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11173 hardcode_action=
11174 if test -n "$hardcode_libdir_flag_spec" ||
11175 test -n "$runpath_var" ||
11176 test "X$hardcode_automatic" = "Xyes" ; then
11177
11178 # We can hardcode non-existent directories.
11179 if test "$hardcode_direct" != no &&
11180 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11181 # have to relink, otherwise we might link with an installed library
11182 # when we should be linking with a yet-to-be-installed one
11183 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11184 test "$hardcode_minus_L" != no; then
11185 # Linking always hardcodes the temporary library directory.
11186 hardcode_action=relink
11187 else
11188 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11189 hardcode_action=immediate
11190 fi
11191 else
11192 # We cannot hardcode anything, or else we can only hardcode existing
11193 # directories.
11194 hardcode_action=unsupported
11195 fi
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11197 $as_echo "$hardcode_action" >&6; }
11198
11199 if test "$hardcode_action" = relink ||
11200 test "$inherit_rpath" = yes; then
11201 # Fast installation is not supported
11202 enable_fast_install=no
11203 elif test "$shlibpath_overrides_runpath" = yes ||
11204 test "$enable_shared" = no; then
11205 # Fast installation is not necessary
11206 enable_fast_install=needless
11207 fi
11208
11209
11210
11211
11212
11213
11214 if test "x$enable_dlopen" != xyes; then
11215 enable_dlopen=unknown
11216 enable_dlopen_self=unknown
11217 enable_dlopen_self_static=unknown
11218 else
11219 lt_cv_dlopen=no
11220 lt_cv_dlopen_libs=
11221
11222 case $host_os in
11223 beos*)
11224 lt_cv_dlopen="load_add_on"
11225 lt_cv_dlopen_libs=
11226 lt_cv_dlopen_self=yes
11227 ;;
11228
11229 mingw* | pw32* | cegcc*)
11230 lt_cv_dlopen="LoadLibrary"
11231 lt_cv_dlopen_libs=
11232 ;;
11233
11234 cygwin*)
11235 lt_cv_dlopen="dlopen"
11236 lt_cv_dlopen_libs=
11237 ;;
11238
11239 darwin*)
11240 # if libdl is installed we need to link against it
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11242 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11243 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11244 $as_echo_n "(cached) " >&6
11245 else
11246 ac_check_lib_save_LIBS=$LIBS
11247 LIBS="-ldl $LIBS"
11248 if test x$gcc_no_link = xyes; then
11249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11250 fi
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11253
11254 /* Override any GCC internal prototype to avoid an error.
11255 Use char because int might match the return type of a GCC
11256 builtin and then its argument prototype would still apply. */
11257 #ifdef __cplusplus
11258 extern "C"
11259 #endif
11260 char dlopen ();
11261 int
11262 main ()
11263 {
11264 return dlopen ();
11265 ;
11266 return 0;
11267 }
11268 _ACEOF
11269 if ac_fn_c_try_link "$LINENO"; then :
11270 ac_cv_lib_dl_dlopen=yes
11271 else
11272 ac_cv_lib_dl_dlopen=no
11273 fi
11274 rm -f core conftest.err conftest.$ac_objext \
11275 conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_lib_save_LIBS
11277 fi
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11279 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11280 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11281 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11282 else
11283
11284 lt_cv_dlopen="dyld"
11285 lt_cv_dlopen_libs=
11286 lt_cv_dlopen_self=yes
11287
11288 fi
11289
11290 ;;
11291
11292 *)
11293 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11294 if test "x$ac_cv_func_shl_load" = x""yes; then :
11295 lt_cv_dlopen="shl_load"
11296 else
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11298 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11299 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11300 $as_echo_n "(cached) " >&6
11301 else
11302 ac_check_lib_save_LIBS=$LIBS
11303 LIBS="-ldld $LIBS"
11304 if test x$gcc_no_link = xyes; then
11305 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11306 fi
11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11309
11310 /* Override any GCC internal prototype to avoid an error.
11311 Use char because int might match the return type of a GCC
11312 builtin and then its argument prototype would still apply. */
11313 #ifdef __cplusplus
11314 extern "C"
11315 #endif
11316 char shl_load ();
11317 int
11318 main ()
11319 {
11320 return shl_load ();
11321 ;
11322 return 0;
11323 }
11324 _ACEOF
11325 if ac_fn_c_try_link "$LINENO"; then :
11326 ac_cv_lib_dld_shl_load=yes
11327 else
11328 ac_cv_lib_dld_shl_load=no
11329 fi
11330 rm -f core conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_lib_save_LIBS
11333 fi
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11335 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11336 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11337 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11338 else
11339 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11340 if test "x$ac_cv_func_dlopen" = x""yes; then :
11341 lt_cv_dlopen="dlopen"
11342 else
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11344 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11345 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11346 $as_echo_n "(cached) " >&6
11347 else
11348 ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-ldl $LIBS"
11350 if test x$gcc_no_link = xyes; then
11351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11352 fi
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11355
11356 /* Override any GCC internal prototype to avoid an error.
11357 Use char because int might match the return type of a GCC
11358 builtin and then its argument prototype would still apply. */
11359 #ifdef __cplusplus
11360 extern "C"
11361 #endif
11362 char dlopen ();
11363 int
11364 main ()
11365 {
11366 return dlopen ();
11367 ;
11368 return 0;
11369 }
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"; then :
11372 ac_cv_lib_dl_dlopen=yes
11373 else
11374 ac_cv_lib_dl_dlopen=no
11375 fi
11376 rm -f core conftest.err conftest.$ac_objext \
11377 conftest$ac_exeext conftest.$ac_ext
11378 LIBS=$ac_check_lib_save_LIBS
11379 fi
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11381 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11382 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11383 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11384 else
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11386 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11387 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11388 $as_echo_n "(cached) " >&6
11389 else
11390 ac_check_lib_save_LIBS=$LIBS
11391 LIBS="-lsvld $LIBS"
11392 if test x$gcc_no_link = xyes; then
11393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11394 fi
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11397
11398 /* Override any GCC internal prototype to avoid an error.
11399 Use char because int might match the return type of a GCC
11400 builtin and then its argument prototype would still apply. */
11401 #ifdef __cplusplus
11402 extern "C"
11403 #endif
11404 char dlopen ();
11405 int
11406 main ()
11407 {
11408 return dlopen ();
11409 ;
11410 return 0;
11411 }
11412 _ACEOF
11413 if ac_fn_c_try_link "$LINENO"; then :
11414 ac_cv_lib_svld_dlopen=yes
11415 else
11416 ac_cv_lib_svld_dlopen=no
11417 fi
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_lib_save_LIBS
11421 fi
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11423 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11424 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11425 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11426 else
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11428 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11429 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11430 $as_echo_n "(cached) " >&6
11431 else
11432 ac_check_lib_save_LIBS=$LIBS
11433 LIBS="-ldld $LIBS"
11434 if test x$gcc_no_link = xyes; then
11435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11436 fi
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11439
11440 /* Override any GCC internal prototype to avoid an error.
11441 Use char because int might match the return type of a GCC
11442 builtin and then its argument prototype would still apply. */
11443 #ifdef __cplusplus
11444 extern "C"
11445 #endif
11446 char dld_link ();
11447 int
11448 main ()
11449 {
11450 return dld_link ();
11451 ;
11452 return 0;
11453 }
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"; then :
11456 ac_cv_lib_dld_dld_link=yes
11457 else
11458 ac_cv_lib_dld_dld_link=no
11459 fi
11460 rm -f core conftest.err conftest.$ac_objext \
11461 conftest$ac_exeext conftest.$ac_ext
11462 LIBS=$ac_check_lib_save_LIBS
11463 fi
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11465 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11466 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11467 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11468 fi
11469
11470
11471 fi
11472
11473
11474 fi
11475
11476
11477 fi
11478
11479
11480 fi
11481
11482
11483 fi
11484
11485 ;;
11486 esac
11487
11488 if test "x$lt_cv_dlopen" != xno; then
11489 enable_dlopen=yes
11490 else
11491 enable_dlopen=no
11492 fi
11493
11494 case $lt_cv_dlopen in
11495 dlopen)
11496 save_CPPFLAGS="$CPPFLAGS"
11497 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11498
11499 save_LDFLAGS="$LDFLAGS"
11500 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11501
11502 save_LIBS="$LIBS"
11503 LIBS="$lt_cv_dlopen_libs $LIBS"
11504
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11506 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11507 if test "${lt_cv_dlopen_self+set}" = set; then :
11508 $as_echo_n "(cached) " >&6
11509 else
11510 if test "$cross_compiling" = yes; then :
11511 lt_cv_dlopen_self=cross
11512 else
11513 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11514 lt_status=$lt_dlunknown
11515 cat > conftest.$ac_ext <<_LT_EOF
11516 #line 11516 "configure"
11517 #include "confdefs.h"
11518
11519 #if HAVE_DLFCN_H
11520 #include <dlfcn.h>
11521 #endif
11522
11523 #include <stdio.h>
11524
11525 #ifdef RTLD_GLOBAL
11526 # define LT_DLGLOBAL RTLD_GLOBAL
11527 #else
11528 # ifdef DL_GLOBAL
11529 # define LT_DLGLOBAL DL_GLOBAL
11530 # else
11531 # define LT_DLGLOBAL 0
11532 # endif
11533 #endif
11534
11535 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11536 find out it does not work in some platform. */
11537 #ifndef LT_DLLAZY_OR_NOW
11538 # ifdef RTLD_LAZY
11539 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11540 # else
11541 # ifdef DL_LAZY
11542 # define LT_DLLAZY_OR_NOW DL_LAZY
11543 # else
11544 # ifdef RTLD_NOW
11545 # define LT_DLLAZY_OR_NOW RTLD_NOW
11546 # else
11547 # ifdef DL_NOW
11548 # define LT_DLLAZY_OR_NOW DL_NOW
11549 # else
11550 # define LT_DLLAZY_OR_NOW 0
11551 # endif
11552 # endif
11553 # endif
11554 # endif
11555 #endif
11556
11557 /* When -fvisbility=hidden is used, assume the code has been annotated
11558 correspondingly for the symbols needed. */
11559 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11560 void fnord () __attribute__((visibility("default")));
11561 #endif
11562
11563 void fnord () { int i=42; }
11564 int main ()
11565 {
11566 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11567 int status = $lt_dlunknown;
11568
11569 if (self)
11570 {
11571 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11572 else
11573 {
11574 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11575 else puts (dlerror ());
11576 }
11577 /* dlclose (self); */
11578 }
11579 else
11580 puts (dlerror ());
11581
11582 return status;
11583 }
11584 _LT_EOF
11585 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11586 (eval $ac_link) 2>&5
11587 ac_status=$?
11588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11589 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11590 (./conftest; exit; ) >&5 2>/dev/null
11591 lt_status=$?
11592 case x$lt_status in
11593 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11594 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11595 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11596 esac
11597 else :
11598 # compilation failed
11599 lt_cv_dlopen_self=no
11600 fi
11601 fi
11602 rm -fr conftest*
11603
11604
11605 fi
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11607 $as_echo "$lt_cv_dlopen_self" >&6; }
11608
11609 if test "x$lt_cv_dlopen_self" = xyes; then
11610 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11612 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11613 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11614 $as_echo_n "(cached) " >&6
11615 else
11616 if test "$cross_compiling" = yes; then :
11617 lt_cv_dlopen_self_static=cross
11618 else
11619 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11620 lt_status=$lt_dlunknown
11621 cat > conftest.$ac_ext <<_LT_EOF
11622 #line 11622 "configure"
11623 #include "confdefs.h"
11624
11625 #if HAVE_DLFCN_H
11626 #include <dlfcn.h>
11627 #endif
11628
11629 #include <stdio.h>
11630
11631 #ifdef RTLD_GLOBAL
11632 # define LT_DLGLOBAL RTLD_GLOBAL
11633 #else
11634 # ifdef DL_GLOBAL
11635 # define LT_DLGLOBAL DL_GLOBAL
11636 # else
11637 # define LT_DLGLOBAL 0
11638 # endif
11639 #endif
11640
11641 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11642 find out it does not work in some platform. */
11643 #ifndef LT_DLLAZY_OR_NOW
11644 # ifdef RTLD_LAZY
11645 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11646 # else
11647 # ifdef DL_LAZY
11648 # define LT_DLLAZY_OR_NOW DL_LAZY
11649 # else
11650 # ifdef RTLD_NOW
11651 # define LT_DLLAZY_OR_NOW RTLD_NOW
11652 # else
11653 # ifdef DL_NOW
11654 # define LT_DLLAZY_OR_NOW DL_NOW
11655 # else
11656 # define LT_DLLAZY_OR_NOW 0
11657 # endif
11658 # endif
11659 # endif
11660 # endif
11661 #endif
11662
11663 /* When -fvisbility=hidden is used, assume the code has been annotated
11664 correspondingly for the symbols needed. */
11665 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11666 void fnord () __attribute__((visibility("default")));
11667 #endif
11668
11669 void fnord () { int i=42; }
11670 int main ()
11671 {
11672 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11673 int status = $lt_dlunknown;
11674
11675 if (self)
11676 {
11677 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11678 else
11679 {
11680 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11681 else puts (dlerror ());
11682 }
11683 /* dlclose (self); */
11684 }
11685 else
11686 puts (dlerror ());
11687
11688 return status;
11689 }
11690 _LT_EOF
11691 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11692 (eval $ac_link) 2>&5
11693 ac_status=$?
11694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11695 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11696 (./conftest; exit; ) >&5 2>/dev/null
11697 lt_status=$?
11698 case x$lt_status in
11699 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11700 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11701 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11702 esac
11703 else :
11704 # compilation failed
11705 lt_cv_dlopen_self_static=no
11706 fi
11707 fi
11708 rm -fr conftest*
11709
11710
11711 fi
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11713 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11714 fi
11715
11716 CPPFLAGS="$save_CPPFLAGS"
11717 LDFLAGS="$save_LDFLAGS"
11718 LIBS="$save_LIBS"
11719 ;;
11720 esac
11721
11722 case $lt_cv_dlopen_self in
11723 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11724 *) enable_dlopen_self=unknown ;;
11725 esac
11726
11727 case $lt_cv_dlopen_self_static in
11728 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11729 *) enable_dlopen_self_static=unknown ;;
11730 esac
11731 fi
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749 striplib=
11750 old_striplib=
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11752 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11753 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11754 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11755 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11757 $as_echo "yes" >&6; }
11758 else
11759 # FIXME - insert some real tests, host_os isn't really good enough
11760 case $host_os in
11761 darwin*)
11762 if test -n "$STRIP" ; then
11763 striplib="$STRIP -x"
11764 old_striplib="$STRIP -S"
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11766 $as_echo "yes" >&6; }
11767 else
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11769 $as_echo "no" >&6; }
11770 fi
11771 ;;
11772 *)
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11774 $as_echo "no" >&6; }
11775 ;;
11776 esac
11777 fi
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790 # Report which library types will actually be built
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11792 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11794 $as_echo "$can_build_shared" >&6; }
11795
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11797 $as_echo_n "checking whether to build shared libraries... " >&6; }
11798 test "$can_build_shared" = "no" && enable_shared=no
11799
11800 # On AIX, shared libraries and static libraries use the same namespace, and
11801 # are all built from PIC.
11802 case $host_os in
11803 aix3*)
11804 test "$enable_shared" = yes && enable_static=no
11805 if test -n "$RANLIB"; then
11806 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11807 postinstall_cmds='$RANLIB $lib'
11808 fi
11809 ;;
11810
11811 aix[4-9]*)
11812 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11813 test "$enable_shared" = yes && enable_static=no
11814 fi
11815 ;;
11816 esac
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11818 $as_echo "$enable_shared" >&6; }
11819
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11821 $as_echo_n "checking whether to build static libraries... " >&6; }
11822 # Make sure either enable_shared or enable_static is yes.
11823 test "$enable_shared" = yes || enable_static=yes
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11825 $as_echo "$enable_static" >&6; }
11826
11827
11828
11829
11830 fi
11831 ac_ext=c
11832 ac_cpp='$CPP $CPPFLAGS'
11833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11836
11837 CC="$lt_save_CC"
11838
11839 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11840 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11841 (test "X$CXX" != "Xg++"))) ; then
11842 ac_ext=cpp
11843 ac_cpp='$CXXCPP $CPPFLAGS'
11844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11848 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11849 if test -z "$CXXCPP"; then
11850 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11851 $as_echo_n "(cached) " >&6
11852 else
11853 # Double quotes because CXXCPP needs to be expanded
11854 for CXXCPP in "$CXX -E" "/lib/cpp"
11855 do
11856 ac_preproc_ok=false
11857 for ac_cxx_preproc_warn_flag in '' yes
11858 do
11859 # Use a header file that comes with gcc, so configuring glibc
11860 # with a fresh cross-compiler works.
11861 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11862 # <limits.h> exists even on freestanding compilers.
11863 # On the NeXT, cc -E runs the code through the compiler's parser,
11864 # not just through cpp. "Syntax error" is here to catch this case.
11865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11866 /* end confdefs.h. */
11867 #ifdef __STDC__
11868 # include <limits.h>
11869 #else
11870 # include <assert.h>
11871 #endif
11872 Syntax error
11873 _ACEOF
11874 if ac_fn_cxx_try_cpp "$LINENO"; then :
11875
11876 else
11877 # Broken: fails on valid input.
11878 continue
11879 fi
11880 rm -f conftest.err conftest.$ac_ext
11881
11882 # OK, works on sane cases. Now check whether nonexistent headers
11883 # can be detected and how.
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11886 #include <ac_nonexistent.h>
11887 _ACEOF
11888 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889 # Broken: success on invalid input.
11890 continue
11891 else
11892 # Passes both tests.
11893 ac_preproc_ok=:
11894 break
11895 fi
11896 rm -f conftest.err conftest.$ac_ext
11897
11898 done
11899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11900 rm -f conftest.err conftest.$ac_ext
11901 if $ac_preproc_ok; then :
11902 break
11903 fi
11904
11905 done
11906 ac_cv_prog_CXXCPP=$CXXCPP
11907
11908 fi
11909 CXXCPP=$ac_cv_prog_CXXCPP
11910 else
11911 ac_cv_prog_CXXCPP=$CXXCPP
11912 fi
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11914 $as_echo "$CXXCPP" >&6; }
11915 ac_preproc_ok=false
11916 for ac_cxx_preproc_warn_flag in '' yes
11917 do
11918 # Use a header file that comes with gcc, so configuring glibc
11919 # with a fresh cross-compiler works.
11920 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11921 # <limits.h> exists even on freestanding compilers.
11922 # On the NeXT, cc -E runs the code through the compiler's parser,
11923 # not just through cpp. "Syntax error" is here to catch this case.
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11926 #ifdef __STDC__
11927 # include <limits.h>
11928 #else
11929 # include <assert.h>
11930 #endif
11931 Syntax error
11932 _ACEOF
11933 if ac_fn_cxx_try_cpp "$LINENO"; then :
11934
11935 else
11936 # Broken: fails on valid input.
11937 continue
11938 fi
11939 rm -f conftest.err conftest.$ac_ext
11940
11941 # OK, works on sane cases. Now check whether nonexistent headers
11942 # can be detected and how.
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11945 #include <ac_nonexistent.h>
11946 _ACEOF
11947 if ac_fn_cxx_try_cpp "$LINENO"; then :
11948 # Broken: success on invalid input.
11949 continue
11950 else
11951 # Passes both tests.
11952 ac_preproc_ok=:
11953 break
11954 fi
11955 rm -f conftest.err conftest.$ac_ext
11956
11957 done
11958 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11959 rm -f conftest.err conftest.$ac_ext
11960 if $ac_preproc_ok; then :
11961
11962 else
11963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11965 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11966 See \`config.log' for more details." "$LINENO" 5; }
11967 fi
11968
11969 ac_ext=c
11970 ac_cpp='$CPP $CPPFLAGS'
11971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11974
11975 else
11976 _lt_caught_CXX_error=yes
11977 fi
11978
11979 ac_ext=cpp
11980 ac_cpp='$CXXCPP $CPPFLAGS'
11981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11984
11985 archive_cmds_need_lc_CXX=no
11986 allow_undefined_flag_CXX=
11987 always_export_symbols_CXX=no
11988 archive_expsym_cmds_CXX=
11989 compiler_needs_object_CXX=no
11990 export_dynamic_flag_spec_CXX=
11991 hardcode_direct_CXX=no
11992 hardcode_direct_absolute_CXX=no
11993 hardcode_libdir_flag_spec_CXX=
11994 hardcode_libdir_flag_spec_ld_CXX=
11995 hardcode_libdir_separator_CXX=
11996 hardcode_minus_L_CXX=no
11997 hardcode_shlibpath_var_CXX=unsupported
11998 hardcode_automatic_CXX=no
11999 inherit_rpath_CXX=no
12000 module_cmds_CXX=
12001 module_expsym_cmds_CXX=
12002 link_all_deplibs_CXX=unknown
12003 old_archive_cmds_CXX=$old_archive_cmds
12004 reload_flag_CXX=$reload_flag
12005 reload_cmds_CXX=$reload_cmds
12006 no_undefined_flag_CXX=
12007 whole_archive_flag_spec_CXX=
12008 enable_shared_with_static_runtimes_CXX=no
12009
12010 # Source file extension for C++ test sources.
12011 ac_ext=cpp
12012
12013 # Object file extension for compiled C++ test sources.
12014 objext=o
12015 objext_CXX=$objext
12016
12017 # No sense in running all these tests if we already determined that
12018 # the CXX compiler isn't working. Some variables (like enable_shared)
12019 # are currently assumed to apply to all compilers on this platform,
12020 # and will be corrupted by setting them based on a non-working compiler.
12021 if test "$_lt_caught_CXX_error" != yes; then
12022 # Code to be used in simple compile tests
12023 lt_simple_compile_test_code="int some_variable = 0;"
12024
12025 # Code to be used in simple link tests
12026 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12027
12028 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12029
12030
12031
12032
12033
12034
12035 # If no C compiler was specified, use CC.
12036 LTCC=${LTCC-"$CC"}
12037
12038 # If no C compiler flags were specified, use CFLAGS.
12039 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12040
12041 # Allow CC to be a program name with arguments.
12042 compiler=$CC
12043
12044
12045 # save warnings/boilerplate of simple test code
12046 ac_outfile=conftest.$ac_objext
12047 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12048 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12049 _lt_compiler_boilerplate=`cat conftest.err`
12050 $RM conftest*
12051
12052 ac_outfile=conftest.$ac_objext
12053 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12054 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12055 _lt_linker_boilerplate=`cat conftest.err`
12056 $RM -r conftest*
12057
12058
12059 # Allow CC to be a program name with arguments.
12060 lt_save_CC=$CC
12061 lt_save_LD=$LD
12062 lt_save_GCC=$GCC
12063 GCC=$GXX
12064 lt_save_with_gnu_ld=$with_gnu_ld
12065 lt_save_path_LD=$lt_cv_path_LD
12066 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12067 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12068 else
12069 $as_unset lt_cv_prog_gnu_ld
12070 fi
12071 if test -n "${lt_cv_path_LDCXX+set}"; then
12072 lt_cv_path_LD=$lt_cv_path_LDCXX
12073 else
12074 $as_unset lt_cv_path_LD
12075 fi
12076 test -z "${LDCXX+set}" || LD=$LDCXX
12077 CC=${CXX-"c++"}
12078 compiler=$CC
12079 compiler_CXX=$CC
12080 for cc_temp in $compiler""; do
12081 case $cc_temp in
12082 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12083 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12084 \-*) ;;
12085 *) break;;
12086 esac
12087 done
12088 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12089
12090
12091 if test -n "$compiler"; then
12092 # We don't want -fno-exception when compiling C++ code, so set the
12093 # no_builtin_flag separately
12094 if test "$GXX" = yes; then
12095 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12096 else
12097 lt_prog_compiler_no_builtin_flag_CXX=
12098 fi
12099
12100 if test "$GXX" = yes; then
12101 # Set up default GNU C++ configuration
12102
12103
12104
12105 # Check whether --with-gnu-ld was given.
12106 if test "${with_gnu_ld+set}" = set; then :
12107 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12108 else
12109 with_gnu_ld=no
12110 fi
12111
12112 ac_prog=ld
12113 if test "$GCC" = yes; then
12114 # Check if gcc -print-prog-name=ld gives a path.
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12116 $as_echo_n "checking for ld used by $CC... " >&6; }
12117 case $host in
12118 *-*-mingw*)
12119 # gcc leaves a trailing carriage return which upsets mingw
12120 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12121 *)
12122 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12123 esac
12124 case $ac_prog in
12125 # Accept absolute paths.
12126 [\\/]* | ?:[\\/]*)
12127 re_direlt='/[^/][^/]*/\.\./'
12128 # Canonicalize the pathname of ld
12129 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12130 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12131 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12132 done
12133 test -z "$LD" && LD="$ac_prog"
12134 ;;
12135 "")
12136 # If it fails, then pretend we aren't using GCC.
12137 ac_prog=ld
12138 ;;
12139 *)
12140 # If it is relative, then search for the first ld in PATH.
12141 with_gnu_ld=unknown
12142 ;;
12143 esac
12144 elif test "$with_gnu_ld" = yes; then
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12146 $as_echo_n "checking for GNU ld... " >&6; }
12147 else
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12149 $as_echo_n "checking for non-GNU ld... " >&6; }
12150 fi
12151 if test "${lt_cv_path_LD+set}" = set; then :
12152 $as_echo_n "(cached) " >&6
12153 else
12154 if test -z "$LD"; then
12155 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12156 for ac_dir in $PATH; do
12157 IFS="$lt_save_ifs"
12158 test -z "$ac_dir" && ac_dir=.
12159 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12160 lt_cv_path_LD="$ac_dir/$ac_prog"
12161 # Check to see if the program is GNU ld. I'd rather use --version,
12162 # but apparently some variants of GNU ld only accept -v.
12163 # Break only if it was the GNU/non-GNU ld that we prefer.
12164 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12165 *GNU* | *'with BFD'*)
12166 test "$with_gnu_ld" != no && break
12167 ;;
12168 *)
12169 test "$with_gnu_ld" != yes && break
12170 ;;
12171 esac
12172 fi
12173 done
12174 IFS="$lt_save_ifs"
12175 else
12176 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12177 fi
12178 fi
12179
12180 LD="$lt_cv_path_LD"
12181 if test -n "$LD"; then
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12183 $as_echo "$LD" >&6; }
12184 else
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12186 $as_echo "no" >&6; }
12187 fi
12188 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12190 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12191 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12192 $as_echo_n "(cached) " >&6
12193 else
12194 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12195 case `$LD -v 2>&1 </dev/null` in
12196 *GNU* | *'with BFD'*)
12197 lt_cv_prog_gnu_ld=yes
12198 ;;
12199 *)
12200 lt_cv_prog_gnu_ld=no
12201 ;;
12202 esac
12203 fi
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12205 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12206 with_gnu_ld=$lt_cv_prog_gnu_ld
12207
12208
12209
12210
12211
12212
12213
12214 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12215 # archiving commands below assume that GNU ld is being used.
12216 if test "$with_gnu_ld" = yes; then
12217 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12218 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12219
12220 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12221 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12222
12223 # If archive_cmds runs LD, not CC, wlarc should be empty
12224 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12225 # investigate it a little bit more. (MM)
12226 wlarc='${wl}'
12227
12228 # ancient GNU ld didn't support --whole-archive et. al.
12229 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12230 $GREP 'no-whole-archive' > /dev/null; then
12231 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12232 else
12233 whole_archive_flag_spec_CXX=
12234 fi
12235 else
12236 with_gnu_ld=no
12237 wlarc=
12238
12239 # A generic and very simple default shared library creation
12240 # command for GNU C++ for the case where it uses the native
12241 # linker, instead of GNU ld. If possible, this setting should
12242 # overridden to take advantage of the native linker features on
12243 # the platform it is being used on.
12244 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12245 fi
12246
12247 # Commands to make compiler produce verbose output that lists
12248 # what "hidden" libraries, object files and flags are used when
12249 # linking a shared library.
12250 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12251
12252 else
12253 GXX=no
12254 with_gnu_ld=no
12255 wlarc=
12256 fi
12257
12258 # PORTME: fill in a description of your system's C++ link characteristics
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12260 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12261 ld_shlibs_CXX=yes
12262 case $host_os in
12263 aix3*)
12264 # FIXME: insert proper C++ library support
12265 ld_shlibs_CXX=no
12266 ;;
12267 aix[4-9]*)
12268 if test "$host_cpu" = ia64; then
12269 # On IA64, the linker does run time linking by default, so we don't
12270 # have to do anything special.
12271 aix_use_runtimelinking=no
12272 exp_sym_flag='-Bexport'
12273 no_entry_flag=""
12274 else
12275 aix_use_runtimelinking=no
12276
12277 # Test if we are trying to use run time linking or normal
12278 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12279 # need to do runtime linking.
12280 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12281 for ld_flag in $LDFLAGS; do
12282 case $ld_flag in
12283 *-brtl*)
12284 aix_use_runtimelinking=yes
12285 break
12286 ;;
12287 esac
12288 done
12289 ;;
12290 esac
12291
12292 exp_sym_flag='-bexport'
12293 no_entry_flag='-bnoentry'
12294 fi
12295
12296 # When large executables or shared objects are built, AIX ld can
12297 # have problems creating the table of contents. If linking a library
12298 # or program results in "error TOC overflow" add -mminimal-toc to
12299 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12300 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12301
12302 archive_cmds_CXX=''
12303 hardcode_direct_CXX=yes
12304 hardcode_direct_absolute_CXX=yes
12305 hardcode_libdir_separator_CXX=':'
12306 link_all_deplibs_CXX=yes
12307 file_list_spec_CXX='${wl}-f,'
12308
12309 if test "$GXX" = yes; then
12310 case $host_os in aix4.[012]|aix4.[012].*)
12311 # We only want to do this on AIX 4.2 and lower, the check
12312 # below for broken collect2 doesn't work under 4.3+
12313 collect2name=`${CC} -print-prog-name=collect2`
12314 if test -f "$collect2name" &&
12315 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12316 then
12317 # We have reworked collect2
12318 :
12319 else
12320 # We have old collect2
12321 hardcode_direct_CXX=unsupported
12322 # It fails to find uninstalled libraries when the uninstalled
12323 # path is not listed in the libpath. Setting hardcode_minus_L
12324 # to unsupported forces relinking
12325 hardcode_minus_L_CXX=yes
12326 hardcode_libdir_flag_spec_CXX='-L$libdir'
12327 hardcode_libdir_separator_CXX=
12328 fi
12329 esac
12330 shared_flag='-shared'
12331 if test "$aix_use_runtimelinking" = yes; then
12332 shared_flag="$shared_flag "'${wl}-G'
12333 fi
12334 else
12335 # not using gcc
12336 if test "$host_cpu" = ia64; then
12337 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12338 # chokes on -Wl,-G. The following line is correct:
12339 shared_flag='-G'
12340 else
12341 if test "$aix_use_runtimelinking" = yes; then
12342 shared_flag='${wl}-G'
12343 else
12344 shared_flag='${wl}-bM:SRE'
12345 fi
12346 fi
12347 fi
12348
12349 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12350 # It seems that -bexpall does not export symbols beginning with
12351 # underscore (_), so it is better to generate a list of symbols to
12352 # export.
12353 always_export_symbols_CXX=yes
12354 if test "$aix_use_runtimelinking" = yes; then
12355 # Warning - without using the other runtime loading flags (-brtl),
12356 # -berok will link without error, but may produce a broken library.
12357 allow_undefined_flag_CXX='-berok'
12358 # Determine the default libpath from the value encoded in an empty
12359 # executable.
12360 if test x$gcc_no_link = xyes; then
12361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12362 fi
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12365
12366 int
12367 main ()
12368 {
12369
12370 ;
12371 return 0;
12372 }
12373 _ACEOF
12374 if ac_fn_cxx_try_link "$LINENO"; then :
12375
12376 lt_aix_libpath_sed='
12377 /Import File Strings/,/^$/ {
12378 /^0/ {
12379 s/^0 *\(.*\)$/\1/
12380 p
12381 }
12382 }'
12383 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12384 # Check for a 64-bit object if we didn't find anything.
12385 if test -z "$aix_libpath"; then
12386 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12387 fi
12388 fi
12389 rm -f core conftest.err conftest.$ac_objext \
12390 conftest$ac_exeext conftest.$ac_ext
12391 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12392
12393 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12394
12395 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12396 else
12397 if test "$host_cpu" = ia64; then
12398 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12399 allow_undefined_flag_CXX="-z nodefs"
12400 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12401 else
12402 # Determine the default libpath from the value encoded in an
12403 # empty executable.
12404 if test x$gcc_no_link = xyes; then
12405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12406 fi
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12409
12410 int
12411 main ()
12412 {
12413
12414 ;
12415 return 0;
12416 }
12417 _ACEOF
12418 if ac_fn_cxx_try_link "$LINENO"; then :
12419
12420 lt_aix_libpath_sed='
12421 /Import File Strings/,/^$/ {
12422 /^0/ {
12423 s/^0 *\(.*\)$/\1/
12424 p
12425 }
12426 }'
12427 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12428 # Check for a 64-bit object if we didn't find anything.
12429 if test -z "$aix_libpath"; then
12430 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12431 fi
12432 fi
12433 rm -f core conftest.err conftest.$ac_objext \
12434 conftest$ac_exeext conftest.$ac_ext
12435 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12436
12437 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12438 # Warning - without using the other run time loading flags,
12439 # -berok will link without error, but may produce a broken library.
12440 no_undefined_flag_CXX=' ${wl}-bernotok'
12441 allow_undefined_flag_CXX=' ${wl}-berok'
12442 if test "$with_gnu_ld" = yes; then
12443 # We only use this code for GNU lds that support --whole-archive.
12444 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12445 else
12446 # Exported symbols can be pulled into shared objects from archives
12447 whole_archive_flag_spec_CXX='$convenience'
12448 fi
12449 archive_cmds_need_lc_CXX=yes
12450 # This is similar to how AIX traditionally builds its shared
12451 # libraries.
12452 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12453 fi
12454 fi
12455 ;;
12456
12457 beos*)
12458 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12459 allow_undefined_flag_CXX=unsupported
12460 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12461 # support --undefined. This deserves some investigation. FIXME
12462 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12463 else
12464 ld_shlibs_CXX=no
12465 fi
12466 ;;
12467
12468 chorus*)
12469 case $cc_basename in
12470 *)
12471 # FIXME: insert proper C++ library support
12472 ld_shlibs_CXX=no
12473 ;;
12474 esac
12475 ;;
12476
12477 cygwin* | mingw* | pw32* | cegcc*)
12478 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12479 # as there is no search path for DLLs.
12480 hardcode_libdir_flag_spec_CXX='-L$libdir'
12481 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12482 allow_undefined_flag_CXX=unsupported
12483 always_export_symbols_CXX=no
12484 enable_shared_with_static_runtimes_CXX=yes
12485
12486 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12487 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12488 # If the export-symbols file already is a .def file (1st line
12489 # is EXPORTS), use it as is; otherwise, prepend...
12490 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12491 cp $export_symbols $output_objdir/$soname.def;
12492 else
12493 echo EXPORTS > $output_objdir/$soname.def;
12494 cat $export_symbols >> $output_objdir/$soname.def;
12495 fi~
12496 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12497 else
12498 ld_shlibs_CXX=no
12499 fi
12500 ;;
12501 darwin* | rhapsody*)
12502
12503
12504 archive_cmds_need_lc_CXX=no
12505 hardcode_direct_CXX=no
12506 hardcode_automatic_CXX=yes
12507 hardcode_shlibpath_var_CXX=unsupported
12508 if test "$lt_cv_ld_force_load" = "yes"; then
12509 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12510 else
12511 whole_archive_flag_spec_CXX=''
12512 fi
12513 link_all_deplibs_CXX=yes
12514 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12515 case $cc_basename in
12516 ifort*) _lt_dar_can_shared=yes ;;
12517 *) _lt_dar_can_shared=$GCC ;;
12518 esac
12519 if test "$_lt_dar_can_shared" = "yes"; then
12520 output_verbose_link_cmd=func_echo_all
12521 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12522 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12523 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12524 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12525 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12526 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12527 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12528 fi
12529
12530 else
12531 ld_shlibs_CXX=no
12532 fi
12533
12534 ;;
12535
12536 dgux*)
12537 case $cc_basename in
12538 ec++*)
12539 # FIXME: insert proper C++ library support
12540 ld_shlibs_CXX=no
12541 ;;
12542 ghcx*)
12543 # Green Hills C++ Compiler
12544 # FIXME: insert proper C++ library support
12545 ld_shlibs_CXX=no
12546 ;;
12547 *)
12548 # FIXME: insert proper C++ library support
12549 ld_shlibs_CXX=no
12550 ;;
12551 esac
12552 ;;
12553
12554 freebsd2.*)
12555 # C++ shared libraries reported to be fairly broken before
12556 # switch to ELF
12557 ld_shlibs_CXX=no
12558 ;;
12559
12560 freebsd-elf*)
12561 archive_cmds_need_lc_CXX=no
12562 ;;
12563
12564 freebsd* | dragonfly*)
12565 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12566 # conventions
12567 ld_shlibs_CXX=yes
12568 ;;
12569
12570 gnu*)
12571 ;;
12572
12573 haiku*)
12574 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12575 link_all_deplibs_CXX=yes
12576 ;;
12577
12578 hpux9*)
12579 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12580 hardcode_libdir_separator_CXX=:
12581 export_dynamic_flag_spec_CXX='${wl}-E'
12582 hardcode_direct_CXX=yes
12583 hardcode_minus_L_CXX=yes # Not in the search PATH,
12584 # but as the default
12585 # location of the library.
12586
12587 case $cc_basename in
12588 CC*)
12589 # FIXME: insert proper C++ library support
12590 ld_shlibs_CXX=no
12591 ;;
12592 aCC*)
12593 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12594 # Commands to make compiler produce verbose output that lists
12595 # what "hidden" libraries, object files and flags are used when
12596 # linking a shared library.
12597 #
12598 # There doesn't appear to be a way to prevent this compiler from
12599 # explicitly linking system object files so we need to strip them
12600 # from the output so that they don't get included in the library
12601 # dependencies.
12602 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12603 ;;
12604 *)
12605 if test "$GXX" = yes; then
12606 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12607 else
12608 # FIXME: insert proper C++ library support
12609 ld_shlibs_CXX=no
12610 fi
12611 ;;
12612 esac
12613 ;;
12614
12615 hpux10*|hpux11*)
12616 if test $with_gnu_ld = no; then
12617 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12618 hardcode_libdir_separator_CXX=:
12619
12620 case $host_cpu in
12621 hppa*64*|ia64*)
12622 ;;
12623 *)
12624 export_dynamic_flag_spec_CXX='${wl}-E'
12625 ;;
12626 esac
12627 fi
12628 case $host_cpu in
12629 hppa*64*|ia64*)
12630 hardcode_direct_CXX=no
12631 hardcode_shlibpath_var_CXX=no
12632 ;;
12633 *)
12634 hardcode_direct_CXX=yes
12635 hardcode_direct_absolute_CXX=yes
12636 hardcode_minus_L_CXX=yes # Not in the search PATH,
12637 # but as the default
12638 # location of the library.
12639 ;;
12640 esac
12641
12642 case $cc_basename in
12643 CC*)
12644 # FIXME: insert proper C++ library support
12645 ld_shlibs_CXX=no
12646 ;;
12647 aCC*)
12648 case $host_cpu in
12649 hppa*64*)
12650 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12651 ;;
12652 ia64*)
12653 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12654 ;;
12655 *)
12656 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12657 ;;
12658 esac
12659 # Commands to make compiler produce verbose output that lists
12660 # what "hidden" libraries, object files and flags are used when
12661 # linking a shared library.
12662 #
12663 # There doesn't appear to be a way to prevent this compiler from
12664 # explicitly linking system object files so we need to strip them
12665 # from the output so that they don't get included in the library
12666 # dependencies.
12667 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12668 ;;
12669 *)
12670 if test "$GXX" = yes; then
12671 if test $with_gnu_ld = no; then
12672 case $host_cpu in
12673 hppa*64*)
12674 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12675 ;;
12676 ia64*)
12677 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12678 ;;
12679 *)
12680 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12681 ;;
12682 esac
12683 fi
12684 else
12685 # FIXME: insert proper C++ library support
12686 ld_shlibs_CXX=no
12687 fi
12688 ;;
12689 esac
12690 ;;
12691
12692 interix[3-9]*)
12693 hardcode_direct_CXX=no
12694 hardcode_shlibpath_var_CXX=no
12695 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12696 export_dynamic_flag_spec_CXX='${wl}-E'
12697 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12698 # Instead, shared libraries are loaded at an image base (0x10000000 by
12699 # default) and relocated if they conflict, which is a slow very memory
12700 # consuming and fragmenting process. To avoid this, we pick a random,
12701 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12702 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12703 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12704 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12705 ;;
12706 irix5* | irix6*)
12707 case $cc_basename in
12708 CC*)
12709 # SGI C++
12710 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12711
12712 # Archives containing C++ object files must be created using
12713 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12714 # necessary to make sure instantiated templates are included
12715 # in the archive.
12716 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12717 ;;
12718 *)
12719 if test "$GXX" = yes; then
12720 if test "$with_gnu_ld" = no; then
12721 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12722 else
12723 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12724 fi
12725 fi
12726 link_all_deplibs_CXX=yes
12727 ;;
12728 esac
12729 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12730 hardcode_libdir_separator_CXX=:
12731 inherit_rpath_CXX=yes
12732 ;;
12733
12734 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12735 case $cc_basename in
12736 KCC*)
12737 # Kuck and Associates, Inc. (KAI) C++ Compiler
12738
12739 # KCC will only create a shared library if the output file
12740 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12741 # to its proper name (with version) after linking.
12742 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12743 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12744 # Commands to make compiler produce verbose output that lists
12745 # what "hidden" libraries, object files and flags are used when
12746 # linking a shared library.
12747 #
12748 # There doesn't appear to be a way to prevent this compiler from
12749 # explicitly linking system object files so we need to strip them
12750 # from the output so that they don't get included in the library
12751 # dependencies.
12752 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12753
12754 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12755 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12756
12757 # Archives containing C++ object files must be created using
12758 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12759 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12760 ;;
12761 icpc* | ecpc* )
12762 # Intel C++
12763 with_gnu_ld=yes
12764 # version 8.0 and above of icpc choke on multiply defined symbols
12765 # if we add $predep_objects and $postdep_objects, however 7.1 and
12766 # earlier do not add the objects themselves.
12767 case `$CC -V 2>&1` in
12768 *"Version 7."*)
12769 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12770 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12771 ;;
12772 *) # Version 8.0 or newer
12773 tmp_idyn=
12774 case $host_cpu in
12775 ia64*) tmp_idyn=' -i_dynamic';;
12776 esac
12777 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12778 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12779 ;;
12780 esac
12781 archive_cmds_need_lc_CXX=no
12782 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12783 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12784 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12785 ;;
12786 pgCC* | pgcpp*)
12787 # Portland Group C++ compiler
12788 case `$CC -V` in
12789 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12790 prelink_cmds_CXX='tpldir=Template.dir~
12791 rm -rf $tpldir~
12792 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12793 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12794 old_archive_cmds_CXX='tpldir=Template.dir~
12795 rm -rf $tpldir~
12796 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12797 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12798 $RANLIB $oldlib'
12799 archive_cmds_CXX='tpldir=Template.dir~
12800 rm -rf $tpldir~
12801 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12802 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12803 archive_expsym_cmds_CXX='tpldir=Template.dir~
12804 rm -rf $tpldir~
12805 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12806 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12807 ;;
12808 *) # Version 6 and above use weak symbols
12809 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12810 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12811 ;;
12812 esac
12813
12814 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12815 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12816 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12817 ;;
12818 cxx*)
12819 # Compaq C++
12820 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12821 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12822
12823 runpath_var=LD_RUN_PATH
12824 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12825 hardcode_libdir_separator_CXX=:
12826
12827 # Commands to make compiler produce verbose output that lists
12828 # what "hidden" libraries, object files and flags are used when
12829 # linking a shared library.
12830 #
12831 # There doesn't appear to be a way to prevent this compiler from
12832 # explicitly linking system object files so we need to strip them
12833 # from the output so that they don't get included in the library
12834 # dependencies.
12835 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12836 ;;
12837 xl* | mpixl* | bgxl*)
12838 # IBM XL 8.0 on PPC, with GNU ld
12839 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12840 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12841 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12842 if test "x$supports_anon_versioning" = xyes; then
12843 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12844 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12845 echo "local: *; };" >> $output_objdir/$libname.ver~
12846 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12847 fi
12848 ;;
12849 *)
12850 case `$CC -V 2>&1 | sed 5q` in
12851 *Sun\ C*)
12852 # Sun C++ 5.9
12853 no_undefined_flag_CXX=' -zdefs'
12854 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12855 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12856 hardcode_libdir_flag_spec_CXX='-R$libdir'
12857 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12858 compiler_needs_object_CXX=yes
12859
12860 # Not sure whether something based on
12861 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12862 # would be better.
12863 output_verbose_link_cmd='func_echo_all'
12864
12865 # Archives containing C++ object files must be created using
12866 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12867 # necessary to make sure instantiated templates are included
12868 # in the archive.
12869 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12870 ;;
12871 esac
12872 ;;
12873 esac
12874 ;;
12875
12876 lynxos*)
12877 # FIXME: insert proper C++ library support
12878 ld_shlibs_CXX=no
12879 ;;
12880
12881 m88k*)
12882 # FIXME: insert proper C++ library support
12883 ld_shlibs_CXX=no
12884 ;;
12885
12886 mvs*)
12887 case $cc_basename in
12888 cxx*)
12889 # FIXME: insert proper C++ library support
12890 ld_shlibs_CXX=no
12891 ;;
12892 *)
12893 # FIXME: insert proper C++ library support
12894 ld_shlibs_CXX=no
12895 ;;
12896 esac
12897 ;;
12898
12899 netbsd*)
12900 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12901 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12902 wlarc=
12903 hardcode_libdir_flag_spec_CXX='-R$libdir'
12904 hardcode_direct_CXX=yes
12905 hardcode_shlibpath_var_CXX=no
12906 fi
12907 # Workaround some broken pre-1.5 toolchains
12908 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12909 ;;
12910
12911 *nto* | *qnx*)
12912 ld_shlibs_CXX=yes
12913 ;;
12914
12915 openbsd2*)
12916 # C++ shared libraries are fairly broken
12917 ld_shlibs_CXX=no
12918 ;;
12919
12920 openbsd*)
12921 if test -f /usr/libexec/ld.so; then
12922 hardcode_direct_CXX=yes
12923 hardcode_shlibpath_var_CXX=no
12924 hardcode_direct_absolute_CXX=yes
12925 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12926 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12927 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12928 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12929 export_dynamic_flag_spec_CXX='${wl}-E'
12930 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12931 fi
12932 output_verbose_link_cmd=func_echo_all
12933 else
12934 ld_shlibs_CXX=no
12935 fi
12936 ;;
12937
12938 osf3* | osf4* | osf5*)
12939 case $cc_basename in
12940 KCC*)
12941 # Kuck and Associates, Inc. (KAI) C++ Compiler
12942
12943 # KCC will only create a shared library if the output file
12944 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12945 # to its proper name (with version) after linking.
12946 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12947
12948 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12949 hardcode_libdir_separator_CXX=:
12950
12951 # Archives containing C++ object files must be created using
12952 # the KAI C++ compiler.
12953 case $host in
12954 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12955 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12956 esac
12957 ;;
12958 RCC*)
12959 # Rational C++ 2.4.1
12960 # FIXME: insert proper C++ library support
12961 ld_shlibs_CXX=no
12962 ;;
12963 cxx*)
12964 case $host in
12965 osf3*)
12966 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12967 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12968 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12969 ;;
12970 *)
12971 allow_undefined_flag_CXX=' -expect_unresolved \*'
12972 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12973 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12974 echo "-hidden">> $lib.exp~
12975 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
12976 $RM $lib.exp'
12977 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12978 ;;
12979 esac
12980
12981 hardcode_libdir_separator_CXX=:
12982
12983 # Commands to make compiler produce verbose output that lists
12984 # what "hidden" libraries, object files and flags are used when
12985 # linking a shared library.
12986 #
12987 # There doesn't appear to be a way to prevent this compiler from
12988 # explicitly linking system object files so we need to strip them
12989 # from the output so that they don't get included in the library
12990 # dependencies.
12991 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12992 ;;
12993 *)
12994 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12995 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12996 case $host in
12997 osf3*)
12998 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12999 ;;
13000 *)
13001 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13002 ;;
13003 esac
13004
13005 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13006 hardcode_libdir_separator_CXX=:
13007
13008 # Commands to make compiler produce verbose output that lists
13009 # what "hidden" libraries, object files and flags are used when
13010 # linking a shared library.
13011 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13012
13013 else
13014 # FIXME: insert proper C++ library support
13015 ld_shlibs_CXX=no
13016 fi
13017 ;;
13018 esac
13019 ;;
13020
13021 psos*)
13022 # FIXME: insert proper C++ library support
13023 ld_shlibs_CXX=no
13024 ;;
13025
13026 sunos4*)
13027 case $cc_basename in
13028 CC*)
13029 # Sun C++ 4.x
13030 # FIXME: insert proper C++ library support
13031 ld_shlibs_CXX=no
13032 ;;
13033 lcc*)
13034 # Lucid
13035 # FIXME: insert proper C++ library support
13036 ld_shlibs_CXX=no
13037 ;;
13038 *)
13039 # FIXME: insert proper C++ library support
13040 ld_shlibs_CXX=no
13041 ;;
13042 esac
13043 ;;
13044
13045 solaris*)
13046 case $cc_basename in
13047 CC*)
13048 # Sun C++ 4.2, 5.x and Centerline C++
13049 archive_cmds_need_lc_CXX=yes
13050 no_undefined_flag_CXX=' -zdefs'
13051 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13052 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13053 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13054
13055 hardcode_libdir_flag_spec_CXX='-R$libdir'
13056 hardcode_shlibpath_var_CXX=no
13057 case $host_os in
13058 solaris2.[0-5] | solaris2.[0-5].*) ;;
13059 *)
13060 # The compiler driver will combine and reorder linker options,
13061 # but understands `-z linker_flag'.
13062 # Supported since Solaris 2.6 (maybe 2.5.1?)
13063 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13064 ;;
13065 esac
13066 link_all_deplibs_CXX=yes
13067
13068 output_verbose_link_cmd='func_echo_all'
13069
13070 # Archives containing C++ object files must be created using
13071 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13072 # necessary to make sure instantiated templates are included
13073 # in the archive.
13074 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13075 ;;
13076 gcx*)
13077 # Green Hills C++ Compiler
13078 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13079
13080 # The C++ compiler must be used to create the archive.
13081 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13082 ;;
13083 *)
13084 # GNU C++ compiler with Solaris linker
13085 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13086 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13087 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13088 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13089 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13090 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13091
13092 # Commands to make compiler produce verbose output that lists
13093 # what "hidden" libraries, object files and flags are used when
13094 # linking a shared library.
13095 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13096 else
13097 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13098 # platform.
13099 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13100 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13101 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13102
13103 # Commands to make compiler produce verbose output that lists
13104 # what "hidden" libraries, object files and flags are used when
13105 # linking a shared library.
13106 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13107 fi
13108
13109 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13110 case $host_os in
13111 solaris2.[0-5] | solaris2.[0-5].*) ;;
13112 *)
13113 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13114 ;;
13115 esac
13116 fi
13117 ;;
13118 esac
13119 ;;
13120
13121 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13122 no_undefined_flag_CXX='${wl}-z,text'
13123 archive_cmds_need_lc_CXX=no
13124 hardcode_shlibpath_var_CXX=no
13125 runpath_var='LD_RUN_PATH'
13126
13127 case $cc_basename in
13128 CC*)
13129 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13130 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13131 ;;
13132 *)
13133 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135 ;;
13136 esac
13137 ;;
13138
13139 sysv5* | sco3.2v5* | sco5v6*)
13140 # Note: We can NOT use -z defs as we might desire, because we do not
13141 # link with -lc, and that would cause any symbols used from libc to
13142 # always be unresolved, which means just about no library would
13143 # ever link correctly. If we're not using GNU ld we use -z text
13144 # though, which does catch some bad symbols but isn't as heavy-handed
13145 # as -z defs.
13146 no_undefined_flag_CXX='${wl}-z,text'
13147 allow_undefined_flag_CXX='${wl}-z,nodefs'
13148 archive_cmds_need_lc_CXX=no
13149 hardcode_shlibpath_var_CXX=no
13150 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13151 hardcode_libdir_separator_CXX=':'
13152 link_all_deplibs_CXX=yes
13153 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13154 runpath_var='LD_RUN_PATH'
13155
13156 case $cc_basename in
13157 CC*)
13158 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13159 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13160 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13161 '"$old_archive_cmds_CXX"
13162 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13163 '"$reload_cmds_CXX"
13164 ;;
13165 *)
13166 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13167 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13168 ;;
13169 esac
13170 ;;
13171
13172 tandem*)
13173 case $cc_basename in
13174 NCC*)
13175 # NonStop-UX NCC 3.20
13176 # FIXME: insert proper C++ library support
13177 ld_shlibs_CXX=no
13178 ;;
13179 *)
13180 # FIXME: insert proper C++ library support
13181 ld_shlibs_CXX=no
13182 ;;
13183 esac
13184 ;;
13185
13186 vxworks*)
13187 # FIXME: insert proper C++ library support
13188 ld_shlibs_CXX=no
13189 ;;
13190
13191 *)
13192 # FIXME: insert proper C++ library support
13193 ld_shlibs_CXX=no
13194 ;;
13195 esac
13196
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13198 $as_echo "$ld_shlibs_CXX" >&6; }
13199 test "$ld_shlibs_CXX" = no && can_build_shared=no
13200
13201 GCC_CXX="$GXX"
13202 LD_CXX="$LD"
13203
13204 ## CAVEAT EMPTOR:
13205 ## There is no encapsulation within the following macros, do not change
13206 ## the running order or otherwise move them around unless you know exactly
13207 ## what you are doing...
13208 # Dependencies to place before and after the object being linked:
13209 predep_objects_CXX=
13210 postdep_objects_CXX=
13211 predeps_CXX=
13212 postdeps_CXX=
13213 compiler_lib_search_path_CXX=
13214
13215 cat > conftest.$ac_ext <<_LT_EOF
13216 class Foo
13217 {
13218 public:
13219 Foo (void) { a = 0; }
13220 private:
13221 int a;
13222 };
13223 _LT_EOF
13224
13225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13226 (eval $ac_compile) 2>&5
13227 ac_status=$?
13228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13229 test $ac_status = 0; }; then
13230 # Parse the compiler output and extract the necessary
13231 # objects, libraries and library flags.
13232
13233 # Sentinel used to keep track of whether or not we are before
13234 # the conftest object file.
13235 pre_test_object_deps_done=no
13236
13237 for p in `eval "$output_verbose_link_cmd"`; do
13238 case $p in
13239
13240 -L* | -R* | -l*)
13241 # Some compilers place space between "-{L,R}" and the path.
13242 # Remove the space.
13243 if test $p = "-L" ||
13244 test $p = "-R"; then
13245 prev=$p
13246 continue
13247 else
13248 prev=
13249 fi
13250
13251 if test "$pre_test_object_deps_done" = no; then
13252 case $p in
13253 -L* | -R*)
13254 # Internal compiler library paths should come after those
13255 # provided the user. The postdeps already come after the
13256 # user supplied libs so there is no need to process them.
13257 if test -z "$compiler_lib_search_path_CXX"; then
13258 compiler_lib_search_path_CXX="${prev}${p}"
13259 else
13260 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13261 fi
13262 ;;
13263 # The "-l" case would never come before the object being
13264 # linked, so don't bother handling this case.
13265 esac
13266 else
13267 if test -z "$postdeps_CXX"; then
13268 postdeps_CXX="${prev}${p}"
13269 else
13270 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13271 fi
13272 fi
13273 ;;
13274
13275 *.$objext)
13276 # This assumes that the test object file only shows up
13277 # once in the compiler output.
13278 if test "$p" = "conftest.$objext"; then
13279 pre_test_object_deps_done=yes
13280 continue
13281 fi
13282
13283 if test "$pre_test_object_deps_done" = no; then
13284 if test -z "$predep_objects_CXX"; then
13285 predep_objects_CXX="$p"
13286 else
13287 predep_objects_CXX="$predep_objects_CXX $p"
13288 fi
13289 else
13290 if test -z "$postdep_objects_CXX"; then
13291 postdep_objects_CXX="$p"
13292 else
13293 postdep_objects_CXX="$postdep_objects_CXX $p"
13294 fi
13295 fi
13296 ;;
13297
13298 *) ;; # Ignore the rest.
13299
13300 esac
13301 done
13302
13303 # Clean up.
13304 rm -f a.out a.exe
13305 else
13306 echo "libtool.m4: error: problem compiling CXX test program"
13307 fi
13308
13309 $RM -f confest.$objext
13310
13311 # PORTME: override above test on systems where it is broken
13312 case $host_os in
13313 interix[3-9]*)
13314 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13315 # hack all around it, let's just trust "g++" to DTRT.
13316 predep_objects_CXX=
13317 postdep_objects_CXX=
13318 postdeps_CXX=
13319 ;;
13320
13321 linux*)
13322 case `$CC -V 2>&1 | sed 5q` in
13323 *Sun\ C*)
13324 # Sun C++ 5.9
13325
13326 # The more standards-conforming stlport4 library is
13327 # incompatible with the Cstd library. Avoid specifying
13328 # it if it's in CXXFLAGS. Ignore libCrun as
13329 # -library=stlport4 depends on it.
13330 case " $CXX $CXXFLAGS " in
13331 *" -library=stlport4 "*)
13332 solaris_use_stlport4=yes
13333 ;;
13334 esac
13335
13336 if test "$solaris_use_stlport4" != yes; then
13337 postdeps_CXX='-library=Cstd -library=Crun'
13338 fi
13339 ;;
13340 esac
13341 ;;
13342
13343 solaris*)
13344 case $cc_basename in
13345 CC*)
13346 # The more standards-conforming stlport4 library is
13347 # incompatible with the Cstd library. Avoid specifying
13348 # it if it's in CXXFLAGS. Ignore libCrun as
13349 # -library=stlport4 depends on it.
13350 case " $CXX $CXXFLAGS " in
13351 *" -library=stlport4 "*)
13352 solaris_use_stlport4=yes
13353 ;;
13354 esac
13355
13356 # Adding this requires a known-good setup of shared libraries for
13357 # Sun compiler versions before 5.6, else PIC objects from an old
13358 # archive will be linked into the output, leading to subtle bugs.
13359 if test "$solaris_use_stlport4" != yes; then
13360 postdeps_CXX='-library=Cstd -library=Crun'
13361 fi
13362 ;;
13363 esac
13364 ;;
13365 esac
13366
13367
13368 case " $postdeps_CXX " in
13369 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13370 esac
13371 compiler_lib_search_dirs_CXX=
13372 if test -n "${compiler_lib_search_path_CXX}"; then
13373 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13374 fi
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406 lt_prog_compiler_wl_CXX=
13407 lt_prog_compiler_pic_CXX=
13408 lt_prog_compiler_static_CXX=
13409
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13411 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13412
13413 # C++ specific cases for pic, static, wl, etc.
13414 if test "$GXX" = yes; then
13415 lt_prog_compiler_wl_CXX='-Wl,'
13416 lt_prog_compiler_static_CXX='-static'
13417
13418 case $host_os in
13419 aix*)
13420 # All AIX code is PIC.
13421 if test "$host_cpu" = ia64; then
13422 # AIX 5 now supports IA64 processor
13423 lt_prog_compiler_static_CXX='-Bstatic'
13424 fi
13425 lt_prog_compiler_pic_CXX='-fPIC'
13426 ;;
13427
13428 amigaos*)
13429 case $host_cpu in
13430 powerpc)
13431 # see comment about AmigaOS4 .so support
13432 lt_prog_compiler_pic_CXX='-fPIC'
13433 ;;
13434 m68k)
13435 # FIXME: we need at least 68020 code to build shared libraries, but
13436 # adding the `-m68020' flag to GCC prevents building anything better,
13437 # like `-m68040'.
13438 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13439 ;;
13440 esac
13441 ;;
13442
13443 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13444 # PIC is the default for these OSes.
13445 ;;
13446 mingw* | cygwin* | os2* | pw32* | cegcc*)
13447 # This hack is so that the source file can tell whether it is being
13448 # built for inclusion in a dll (and should export symbols for example).
13449 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13450 # (--disable-auto-import) libraries
13451 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13452 ;;
13453 darwin* | rhapsody*)
13454 # PIC is the default on this platform
13455 # Common symbols not allowed in MH_DYLIB files
13456 lt_prog_compiler_pic_CXX='-fno-common'
13457 ;;
13458 *djgpp*)
13459 # DJGPP does not support shared libraries at all
13460 lt_prog_compiler_pic_CXX=
13461 ;;
13462 haiku*)
13463 # PIC is the default for Haiku.
13464 # The "-static" flag exists, but is broken.
13465 lt_prog_compiler_static_CXX=
13466 ;;
13467 interix[3-9]*)
13468 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13469 # Instead, we relocate shared libraries at runtime.
13470 ;;
13471 sysv4*MP*)
13472 if test -d /usr/nec; then
13473 lt_prog_compiler_pic_CXX=-Kconform_pic
13474 fi
13475 ;;
13476 hpux*)
13477 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13478 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13479 # sets the default TLS model and affects inlining.
13480 case $host_cpu in
13481 hppa*64*)
13482 ;;
13483 *)
13484 lt_prog_compiler_pic_CXX='-fPIC'
13485 ;;
13486 esac
13487 ;;
13488 *qnx* | *nto*)
13489 # QNX uses GNU C++, but need to define -shared option too, otherwise
13490 # it will coredump.
13491 lt_prog_compiler_pic_CXX='-fPIC -shared'
13492 ;;
13493 *)
13494 lt_prog_compiler_pic_CXX='-fPIC'
13495 ;;
13496 esac
13497 else
13498 case $host_os in
13499 aix[4-9]*)
13500 # All AIX code is PIC.
13501 if test "$host_cpu" = ia64; then
13502 # AIX 5 now supports IA64 processor
13503 lt_prog_compiler_static_CXX='-Bstatic'
13504 else
13505 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13506 fi
13507 ;;
13508 chorus*)
13509 case $cc_basename in
13510 cxch68*)
13511 # Green Hills C++ Compiler
13512 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13513 ;;
13514 esac
13515 ;;
13516 dgux*)
13517 case $cc_basename in
13518 ec++*)
13519 lt_prog_compiler_pic_CXX='-KPIC'
13520 ;;
13521 ghcx*)
13522 # Green Hills C++ Compiler
13523 lt_prog_compiler_pic_CXX='-pic'
13524 ;;
13525 *)
13526 ;;
13527 esac
13528 ;;
13529 freebsd* | dragonfly*)
13530 # FreeBSD uses GNU C++
13531 ;;
13532 hpux9* | hpux10* | hpux11*)
13533 case $cc_basename in
13534 CC*)
13535 lt_prog_compiler_wl_CXX='-Wl,'
13536 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13537 if test "$host_cpu" != ia64; then
13538 lt_prog_compiler_pic_CXX='+Z'
13539 fi
13540 ;;
13541 aCC*)
13542 lt_prog_compiler_wl_CXX='-Wl,'
13543 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13544 case $host_cpu in
13545 hppa*64*|ia64*)
13546 # +Z the default
13547 ;;
13548 *)
13549 lt_prog_compiler_pic_CXX='+Z'
13550 ;;
13551 esac
13552 ;;
13553 *)
13554 ;;
13555 esac
13556 ;;
13557 interix*)
13558 # This is c89, which is MS Visual C++ (no shared libs)
13559 # Anyone wants to do a port?
13560 ;;
13561 irix5* | irix6* | nonstopux*)
13562 case $cc_basename in
13563 CC*)
13564 lt_prog_compiler_wl_CXX='-Wl,'
13565 lt_prog_compiler_static_CXX='-non_shared'
13566 # CC pic flag -KPIC is the default.
13567 ;;
13568 *)
13569 ;;
13570 esac
13571 ;;
13572 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13573 case $cc_basename in
13574 KCC*)
13575 # KAI C++ Compiler
13576 lt_prog_compiler_wl_CXX='--backend -Wl,'
13577 lt_prog_compiler_pic_CXX='-fPIC'
13578 ;;
13579 ecpc* )
13580 # old Intel C++ for x86_64 which still supported -KPIC.
13581 lt_prog_compiler_wl_CXX='-Wl,'
13582 lt_prog_compiler_pic_CXX='-KPIC'
13583 lt_prog_compiler_static_CXX='-static'
13584 ;;
13585 icpc* )
13586 # Intel C++, used to be incompatible with GCC.
13587 # ICC 10 doesn't accept -KPIC any more.
13588 lt_prog_compiler_wl_CXX='-Wl,'
13589 lt_prog_compiler_pic_CXX='-fPIC'
13590 lt_prog_compiler_static_CXX='-static'
13591 ;;
13592 pgCC* | pgcpp*)
13593 # Portland Group C++ compiler
13594 lt_prog_compiler_wl_CXX='-Wl,'
13595 lt_prog_compiler_pic_CXX='-fpic'
13596 lt_prog_compiler_static_CXX='-Bstatic'
13597 ;;
13598 cxx*)
13599 # Compaq C++
13600 # Make sure the PIC flag is empty. It appears that all Alpha
13601 # Linux and Compaq Tru64 Unix objects are PIC.
13602 lt_prog_compiler_pic_CXX=
13603 lt_prog_compiler_static_CXX='-non_shared'
13604 ;;
13605 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13606 # IBM XL 8.0, 9.0 on PPC and BlueGene
13607 lt_prog_compiler_wl_CXX='-Wl,'
13608 lt_prog_compiler_pic_CXX='-qpic'
13609 lt_prog_compiler_static_CXX='-qstaticlink'
13610 ;;
13611 *)
13612 case `$CC -V 2>&1 | sed 5q` in
13613 *Sun\ C*)
13614 # Sun C++ 5.9
13615 lt_prog_compiler_pic_CXX='-KPIC'
13616 lt_prog_compiler_static_CXX='-Bstatic'
13617 lt_prog_compiler_wl_CXX='-Qoption ld '
13618 ;;
13619 esac
13620 ;;
13621 esac
13622 ;;
13623 lynxos*)
13624 ;;
13625 m88k*)
13626 ;;
13627 mvs*)
13628 case $cc_basename in
13629 cxx*)
13630 lt_prog_compiler_pic_CXX='-W c,exportall'
13631 ;;
13632 *)
13633 ;;
13634 esac
13635 ;;
13636 netbsd*)
13637 ;;
13638 *qnx* | *nto*)
13639 # QNX uses GNU C++, but need to define -shared option too, otherwise
13640 # it will coredump.
13641 lt_prog_compiler_pic_CXX='-fPIC -shared'
13642 ;;
13643 osf3* | osf4* | osf5*)
13644 case $cc_basename in
13645 KCC*)
13646 lt_prog_compiler_wl_CXX='--backend -Wl,'
13647 ;;
13648 RCC*)
13649 # Rational C++ 2.4.1
13650 lt_prog_compiler_pic_CXX='-pic'
13651 ;;
13652 cxx*)
13653 # Digital/Compaq C++
13654 lt_prog_compiler_wl_CXX='-Wl,'
13655 # Make sure the PIC flag is empty. It appears that all Alpha
13656 # Linux and Compaq Tru64 Unix objects are PIC.
13657 lt_prog_compiler_pic_CXX=
13658 lt_prog_compiler_static_CXX='-non_shared'
13659 ;;
13660 *)
13661 ;;
13662 esac
13663 ;;
13664 psos*)
13665 ;;
13666 solaris*)
13667 case $cc_basename in
13668 CC*)
13669 # Sun C++ 4.2, 5.x and Centerline C++
13670 lt_prog_compiler_pic_CXX='-KPIC'
13671 lt_prog_compiler_static_CXX='-Bstatic'
13672 lt_prog_compiler_wl_CXX='-Qoption ld '
13673 ;;
13674 gcx*)
13675 # Green Hills C++ Compiler
13676 lt_prog_compiler_pic_CXX='-PIC'
13677 ;;
13678 *)
13679 ;;
13680 esac
13681 ;;
13682 sunos4*)
13683 case $cc_basename in
13684 CC*)
13685 # Sun C++ 4.x
13686 lt_prog_compiler_pic_CXX='-pic'
13687 lt_prog_compiler_static_CXX='-Bstatic'
13688 ;;
13689 lcc*)
13690 # Lucid
13691 lt_prog_compiler_pic_CXX='-pic'
13692 ;;
13693 *)
13694 ;;
13695 esac
13696 ;;
13697 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13698 case $cc_basename in
13699 CC*)
13700 lt_prog_compiler_wl_CXX='-Wl,'
13701 lt_prog_compiler_pic_CXX='-KPIC'
13702 lt_prog_compiler_static_CXX='-Bstatic'
13703 ;;
13704 esac
13705 ;;
13706 tandem*)
13707 case $cc_basename in
13708 NCC*)
13709 # NonStop-UX NCC 3.20
13710 lt_prog_compiler_pic_CXX='-KPIC'
13711 ;;
13712 *)
13713 ;;
13714 esac
13715 ;;
13716 vxworks*)
13717 ;;
13718 *)
13719 lt_prog_compiler_can_build_shared_CXX=no
13720 ;;
13721 esac
13722 fi
13723
13724 case $host_os in
13725 # For platforms which do not support PIC, -DPIC is meaningless:
13726 *djgpp*)
13727 lt_prog_compiler_pic_CXX=
13728 ;;
13729 *)
13730 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13731 ;;
13732 esac
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13734 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13735
13736
13737
13738 #
13739 # Check to make sure the PIC flag actually works.
13740 #
13741 if test -n "$lt_prog_compiler_pic_CXX"; then
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13743 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13744 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13745 $as_echo_n "(cached) " >&6
13746 else
13747 lt_cv_prog_compiler_pic_works_CXX=no
13748 ac_outfile=conftest.$ac_objext
13749 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13750 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13751 # Insert the option either (1) after the last *FLAGS variable, or
13752 # (2) before a word containing "conftest.", or (3) at the end.
13753 # Note that $ac_compile itself does not contain backslashes and begins
13754 # with a dollar sign (not a hyphen), so the echo should work correctly.
13755 # The option is referenced via a variable to avoid confusing sed.
13756 lt_compile=`echo "$ac_compile" | $SED \
13757 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13758 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13759 -e 's:$: $lt_compiler_flag:'`
13760 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13761 (eval "$lt_compile" 2>conftest.err)
13762 ac_status=$?
13763 cat conftest.err >&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 if (exit $ac_status) && test -s "$ac_outfile"; then
13766 # The compiler can only warn and ignore the option if not recognized
13767 # So say no if there are warnings other than the usual output.
13768 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13769 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13770 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13771 lt_cv_prog_compiler_pic_works_CXX=yes
13772 fi
13773 fi
13774 $RM conftest*
13775
13776 fi
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13778 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13779
13780 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13781 case $lt_prog_compiler_pic_CXX in
13782 "" | " "*) ;;
13783 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13784 esac
13785 else
13786 lt_prog_compiler_pic_CXX=
13787 lt_prog_compiler_can_build_shared_CXX=no
13788 fi
13789
13790 fi
13791
13792
13793
13794 #
13795 # Check to make sure the static flag actually works.
13796 #
13797 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13799 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13800 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13801 $as_echo_n "(cached) " >&6
13802 else
13803 lt_cv_prog_compiler_static_works_CXX=no
13804 save_LDFLAGS="$LDFLAGS"
13805 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13806 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13807 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13808 # The linker can only warn and ignore the option if not recognized
13809 # So say no if there are warnings
13810 if test -s conftest.err; then
13811 # Append any errors to the config.log.
13812 cat conftest.err 1>&5
13813 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13814 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13815 if diff conftest.exp conftest.er2 >/dev/null; then
13816 lt_cv_prog_compiler_static_works_CXX=yes
13817 fi
13818 else
13819 lt_cv_prog_compiler_static_works_CXX=yes
13820 fi
13821 fi
13822 $RM -r conftest*
13823 LDFLAGS="$save_LDFLAGS"
13824
13825 fi
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13827 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13828
13829 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13830 :
13831 else
13832 lt_prog_compiler_static_CXX=
13833 fi
13834
13835
13836
13837
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13839 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13840 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13841 $as_echo_n "(cached) " >&6
13842 else
13843 lt_cv_prog_compiler_c_o_CXX=no
13844 $RM -r conftest 2>/dev/null
13845 mkdir conftest
13846 cd conftest
13847 mkdir out
13848 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13849
13850 lt_compiler_flag="-o out/conftest2.$ac_objext"
13851 # Insert the option either (1) after the last *FLAGS variable, or
13852 # (2) before a word containing "conftest.", or (3) at the end.
13853 # Note that $ac_compile itself does not contain backslashes and begins
13854 # with a dollar sign (not a hyphen), so the echo should work correctly.
13855 lt_compile=`echo "$ac_compile" | $SED \
13856 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13857 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13858 -e 's:$: $lt_compiler_flag:'`
13859 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13860 (eval "$lt_compile" 2>out/conftest.err)
13861 ac_status=$?
13862 cat out/conftest.err >&5
13863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13865 then
13866 # The compiler can only warn and ignore the option if not recognized
13867 # So say no if there are warnings
13868 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13869 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13870 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13871 lt_cv_prog_compiler_c_o_CXX=yes
13872 fi
13873 fi
13874 chmod u+w . 2>&5
13875 $RM conftest*
13876 # SGI C++ compiler will create directory out/ii_files/ for
13877 # template instantiation
13878 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13879 $RM out/* && rmdir out
13880 cd ..
13881 $RM -r conftest
13882 $RM conftest*
13883
13884 fi
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13886 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13887
13888
13889
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13891 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13892 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 lt_cv_prog_compiler_c_o_CXX=no
13896 $RM -r conftest 2>/dev/null
13897 mkdir conftest
13898 cd conftest
13899 mkdir out
13900 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13901
13902 lt_compiler_flag="-o out/conftest2.$ac_objext"
13903 # Insert the option either (1) after the last *FLAGS variable, or
13904 # (2) before a word containing "conftest.", or (3) at the end.
13905 # Note that $ac_compile itself does not contain backslashes and begins
13906 # with a dollar sign (not a hyphen), so the echo should work correctly.
13907 lt_compile=`echo "$ac_compile" | $SED \
13908 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13909 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13910 -e 's:$: $lt_compiler_flag:'`
13911 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13912 (eval "$lt_compile" 2>out/conftest.err)
13913 ac_status=$?
13914 cat out/conftest.err >&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13917 then
13918 # The compiler can only warn and ignore the option if not recognized
13919 # So say no if there are warnings
13920 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13921 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13922 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13923 lt_cv_prog_compiler_c_o_CXX=yes
13924 fi
13925 fi
13926 chmod u+w . 2>&5
13927 $RM conftest*
13928 # SGI C++ compiler will create directory out/ii_files/ for
13929 # template instantiation
13930 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13931 $RM out/* && rmdir out
13932 cd ..
13933 $RM -r conftest
13934 $RM conftest*
13935
13936 fi
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13938 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13939
13940
13941
13942
13943 hard_links="nottested"
13944 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13945 # do not overwrite the value of need_locks provided by the user
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13947 $as_echo_n "checking if we can lock with hard links... " >&6; }
13948 hard_links=yes
13949 $RM conftest*
13950 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13951 touch conftest.a
13952 ln conftest.a conftest.b 2>&5 || hard_links=no
13953 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13955 $as_echo "$hard_links" >&6; }
13956 if test "$hard_links" = no; then
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13958 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13959 need_locks=warn
13960 fi
13961 else
13962 need_locks=no
13963 fi
13964
13965
13966
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13968 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13969
13970 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13971 case $host_os in
13972 aix[4-9]*)
13973 # If we're using GNU nm, then we don't want the "-C" option.
13974 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13975 # Also, AIX nm treats weak defined symbols like other global defined
13976 # symbols, whereas GNU nm marks them as "W".
13977 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13978 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13979 else
13980 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13981 fi
13982 ;;
13983 pw32*)
13984 export_symbols_cmds_CXX="$ltdll_cmds"
13985 ;;
13986 cygwin* | mingw* | cegcc*)
13987 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13988 ;;
13989 *)
13990 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13991 ;;
13992 esac
13993 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13994
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13996 $as_echo "$ld_shlibs_CXX" >&6; }
13997 test "$ld_shlibs_CXX" = no && can_build_shared=no
13998
13999 with_gnu_ld_CXX=$with_gnu_ld
14000
14001
14002
14003
14004
14005
14006 #
14007 # Do we need to explicitly link libc?
14008 #
14009 case "x$archive_cmds_need_lc_CXX" in
14010 x|xyes)
14011 # Assume -lc should be added
14012 archive_cmds_need_lc_CXX=yes
14013
14014 if test "$enable_shared" = yes && test "$GCC" = yes; then
14015 case $archive_cmds_CXX in
14016 *'~'*)
14017 # FIXME: we may have to deal with multi-command sequences.
14018 ;;
14019 '$CC '*)
14020 # Test whether the compiler implicitly links with -lc since on some
14021 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14022 # to ld, don't add -lc before -lgcc.
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14024 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14025 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14026 $as_echo_n "(cached) " >&6
14027 else
14028 $RM conftest*
14029 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14030
14031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14032 (eval $ac_compile) 2>&5
14033 ac_status=$?
14034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14035 test $ac_status = 0; } 2>conftest.err; then
14036 soname=conftest
14037 lib=conftest
14038 libobjs=conftest.$ac_objext
14039 deplibs=
14040 wl=$lt_prog_compiler_wl_CXX
14041 pic_flag=$lt_prog_compiler_pic_CXX
14042 compiler_flags=-v
14043 linker_flags=-v
14044 verstring=
14045 output_objdir=.
14046 libname=conftest
14047 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14048 allow_undefined_flag_CXX=
14049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14050 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14051 ac_status=$?
14052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14053 test $ac_status = 0; }
14054 then
14055 lt_cv_archive_cmds_need_lc_CXX=no
14056 else
14057 lt_cv_archive_cmds_need_lc_CXX=yes
14058 fi
14059 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14060 else
14061 cat conftest.err 1>&5
14062 fi
14063 $RM conftest*
14064
14065 fi
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14067 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14068 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14069 ;;
14070 esac
14071 fi
14072 ;;
14073 esac
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14139 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14140
14141 library_names_spec=
14142 libname_spec='lib$name'
14143 soname_spec=
14144 shrext_cmds=".so"
14145 postinstall_cmds=
14146 postuninstall_cmds=
14147 finish_cmds=
14148 finish_eval=
14149 shlibpath_var=
14150 shlibpath_overrides_runpath=unknown
14151 version_type=none
14152 dynamic_linker="$host_os ld.so"
14153 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14154 need_lib_prefix=unknown
14155 hardcode_into_libs=no
14156
14157 # when you set need_version to no, make sure it does not cause -set_version
14158 # flags to be left without arguments
14159 need_version=unknown
14160
14161 case $host_os in
14162 aix3*)
14163 version_type=linux
14164 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14165 shlibpath_var=LIBPATH
14166
14167 # AIX 3 has no versioning support, so we append a major version to the name.
14168 soname_spec='${libname}${release}${shared_ext}$major'
14169 ;;
14170
14171 aix[4-9]*)
14172 version_type=linux
14173 need_lib_prefix=no
14174 need_version=no
14175 hardcode_into_libs=yes
14176 if test "$host_cpu" = ia64; then
14177 # AIX 5 supports IA64
14178 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14179 shlibpath_var=LD_LIBRARY_PATH
14180 else
14181 # With GCC up to 2.95.x, collect2 would create an import file
14182 # for dependence libraries. The import file would start with
14183 # the line `#! .'. This would cause the generated library to
14184 # depend on `.', always an invalid library. This was fixed in
14185 # development snapshots of GCC prior to 3.0.
14186 case $host_os in
14187 aix4 | aix4.[01] | aix4.[01].*)
14188 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14189 echo ' yes '
14190 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14191 :
14192 else
14193 can_build_shared=no
14194 fi
14195 ;;
14196 esac
14197 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14198 # soname into executable. Probably we can add versioning support to
14199 # collect2, so additional links can be useful in future.
14200 if test "$aix_use_runtimelinking" = yes; then
14201 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14202 # instead of lib<name>.a to let people know that these are not
14203 # typical AIX shared libraries.
14204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14205 else
14206 # We preserve .a as extension for shared libraries through AIX4.2
14207 # and later when we are not doing run time linking.
14208 library_names_spec='${libname}${release}.a $libname.a'
14209 soname_spec='${libname}${release}${shared_ext}$major'
14210 fi
14211 shlibpath_var=LIBPATH
14212 fi
14213 ;;
14214
14215 amigaos*)
14216 case $host_cpu in
14217 powerpc)
14218 # Since July 2007 AmigaOS4 officially supports .so libraries.
14219 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14221 ;;
14222 m68k)
14223 library_names_spec='$libname.ixlibrary $libname.a'
14224 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14225 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14226 ;;
14227 esac
14228 ;;
14229
14230 beos*)
14231 library_names_spec='${libname}${shared_ext}'
14232 dynamic_linker="$host_os ld.so"
14233 shlibpath_var=LIBRARY_PATH
14234 ;;
14235
14236 bsdi[45]*)
14237 version_type=linux
14238 need_version=no
14239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14240 soname_spec='${libname}${release}${shared_ext}$major'
14241 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14242 shlibpath_var=LD_LIBRARY_PATH
14243 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14244 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14245 # the default ld.so.conf also contains /usr/contrib/lib and
14246 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14247 # libtool to hard-code these into programs
14248 ;;
14249
14250 cygwin* | mingw* | pw32* | cegcc*)
14251 version_type=windows
14252 shrext_cmds=".dll"
14253 need_version=no
14254 need_lib_prefix=no
14255
14256 case $GCC,$host_os in
14257 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14258 library_names_spec='$libname.dll.a'
14259 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14260 postinstall_cmds='base_file=`basename \${file}`~
14261 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14262 dldir=$destdir/`dirname \$dlpath`~
14263 test -d \$dldir || mkdir -p \$dldir~
14264 $install_prog $dir/$dlname \$dldir/$dlname~
14265 chmod a+x \$dldir/$dlname~
14266 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14267 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14268 fi'
14269 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14270 dlpath=$dir/\$dldll~
14271 $RM \$dlpath'
14272 shlibpath_overrides_runpath=yes
14273
14274 case $host_os in
14275 cygwin*)
14276 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14277 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14278
14279 ;;
14280 mingw* | cegcc*)
14281 # MinGW DLLs use traditional 'lib' prefix
14282 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14283 ;;
14284 pw32*)
14285 # pw32 DLLs use 'pw' prefix rather than 'lib'
14286 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14287 ;;
14288 esac
14289 ;;
14290
14291 *)
14292 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14293 ;;
14294 esac
14295 dynamic_linker='Win32 ld.exe'
14296 # FIXME: first we should search . and the directory the executable is in
14297 shlibpath_var=PATH
14298 ;;
14299
14300 darwin* | rhapsody*)
14301 dynamic_linker="$host_os dyld"
14302 version_type=darwin
14303 need_lib_prefix=no
14304 need_version=no
14305 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14306 soname_spec='${libname}${release}${major}$shared_ext'
14307 shlibpath_overrides_runpath=yes
14308 shlibpath_var=DYLD_LIBRARY_PATH
14309 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14310
14311 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14312 ;;
14313
14314 dgux*)
14315 version_type=linux
14316 need_lib_prefix=no
14317 need_version=no
14318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14319 soname_spec='${libname}${release}${shared_ext}$major'
14320 shlibpath_var=LD_LIBRARY_PATH
14321 ;;
14322
14323 freebsd* | dragonfly*)
14324 # DragonFly does not have aout. When/if they implement a new
14325 # versioning mechanism, adjust this.
14326 if test -x /usr/bin/objformat; then
14327 objformat=`/usr/bin/objformat`
14328 else
14329 case $host_os in
14330 freebsd[23].*) objformat=aout ;;
14331 *) objformat=elf ;;
14332 esac
14333 fi
14334 version_type=freebsd-$objformat
14335 case $version_type in
14336 freebsd-elf*)
14337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14338 need_version=no
14339 need_lib_prefix=no
14340 ;;
14341 freebsd-*)
14342 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14343 need_version=yes
14344 ;;
14345 esac
14346 shlibpath_var=LD_LIBRARY_PATH
14347 case $host_os in
14348 freebsd2.*)
14349 shlibpath_overrides_runpath=yes
14350 ;;
14351 freebsd3.[01]* | freebsdelf3.[01]*)
14352 shlibpath_overrides_runpath=yes
14353 hardcode_into_libs=yes
14354 ;;
14355 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14356 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14357 shlibpath_overrides_runpath=no
14358 hardcode_into_libs=yes
14359 ;;
14360 *) # from 4.6 on, and DragonFly
14361 shlibpath_overrides_runpath=yes
14362 hardcode_into_libs=yes
14363 ;;
14364 esac
14365 ;;
14366
14367 gnu*)
14368 version_type=linux
14369 need_lib_prefix=no
14370 need_version=no
14371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14372 soname_spec='${libname}${release}${shared_ext}$major'
14373 shlibpath_var=LD_LIBRARY_PATH
14374 hardcode_into_libs=yes
14375 ;;
14376
14377 haiku*)
14378 version_type=linux
14379 need_lib_prefix=no
14380 need_version=no
14381 dynamic_linker="$host_os runtime_loader"
14382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14383 soname_spec='${libname}${release}${shared_ext}$major'
14384 shlibpath_var=LIBRARY_PATH
14385 shlibpath_overrides_runpath=yes
14386 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14387 hardcode_into_libs=yes
14388 ;;
14389
14390 hpux9* | hpux10* | hpux11*)
14391 # Give a soname corresponding to the major version so that dld.sl refuses to
14392 # link against other versions.
14393 version_type=sunos
14394 need_lib_prefix=no
14395 need_version=no
14396 case $host_cpu in
14397 ia64*)
14398 shrext_cmds='.so'
14399 hardcode_into_libs=yes
14400 dynamic_linker="$host_os dld.so"
14401 shlibpath_var=LD_LIBRARY_PATH
14402 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14404 soname_spec='${libname}${release}${shared_ext}$major'
14405 if test "X$HPUX_IA64_MODE" = X32; then
14406 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14407 else
14408 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14409 fi
14410 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14411 ;;
14412 hppa*64*)
14413 shrext_cmds='.sl'
14414 hardcode_into_libs=yes
14415 dynamic_linker="$host_os dld.sl"
14416 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14417 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14419 soname_spec='${libname}${release}${shared_ext}$major'
14420 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14421 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14422 ;;
14423 *)
14424 shrext_cmds='.sl'
14425 dynamic_linker="$host_os dld.sl"
14426 shlibpath_var=SHLIB_PATH
14427 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14429 soname_spec='${libname}${release}${shared_ext}$major'
14430 ;;
14431 esac
14432 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14433 postinstall_cmds='chmod 555 $lib'
14434 # or fails outright, so override atomically:
14435 install_override_mode=555
14436 ;;
14437
14438 interix[3-9]*)
14439 version_type=linux
14440 need_lib_prefix=no
14441 need_version=no
14442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14443 soname_spec='${libname}${release}${shared_ext}$major'
14444 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14445 shlibpath_var=LD_LIBRARY_PATH
14446 shlibpath_overrides_runpath=no
14447 hardcode_into_libs=yes
14448 ;;
14449
14450 irix5* | irix6* | nonstopux*)
14451 case $host_os in
14452 nonstopux*) version_type=nonstopux ;;
14453 *)
14454 if test "$lt_cv_prog_gnu_ld" = yes; then
14455 version_type=linux
14456 else
14457 version_type=irix
14458 fi ;;
14459 esac
14460 need_lib_prefix=no
14461 need_version=no
14462 soname_spec='${libname}${release}${shared_ext}$major'
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14464 case $host_os in
14465 irix5* | nonstopux*)
14466 libsuff= shlibsuff=
14467 ;;
14468 *)
14469 case $LD in # libtool.m4 will add one of these switches to LD
14470 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14471 libsuff= shlibsuff= libmagic=32-bit;;
14472 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14473 libsuff=32 shlibsuff=N32 libmagic=N32;;
14474 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14475 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14476 *) libsuff= shlibsuff= libmagic=never-match;;
14477 esac
14478 ;;
14479 esac
14480 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14481 shlibpath_overrides_runpath=no
14482 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14483 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14484 hardcode_into_libs=yes
14485 ;;
14486
14487 # No shared lib support for Linux oldld, aout, or coff.
14488 linux*oldld* | linux*aout* | linux*coff*)
14489 dynamic_linker=no
14490 ;;
14491
14492 # This must be Linux ELF.
14493 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14494 version_type=linux
14495 need_lib_prefix=no
14496 need_version=no
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498 soname_spec='${libname}${release}${shared_ext}$major'
14499 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14500 shlibpath_var=LD_LIBRARY_PATH
14501 shlibpath_overrides_runpath=no
14502
14503 # Some binutils ld are patched to set DT_RUNPATH
14504 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14505 $as_echo_n "(cached) " >&6
14506 else
14507 lt_cv_shlibpath_overrides_runpath=no
14508 save_LDFLAGS=$LDFLAGS
14509 save_libdir=$libdir
14510 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14511 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14512 if test x$gcc_no_link = xyes; then
14513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14514 fi
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14517
14518 int
14519 main ()
14520 {
14521
14522 ;
14523 return 0;
14524 }
14525 _ACEOF
14526 if ac_fn_cxx_try_link "$LINENO"; then :
14527 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14528 lt_cv_shlibpath_overrides_runpath=yes
14529 fi
14530 fi
14531 rm -f core conftest.err conftest.$ac_objext \
14532 conftest$ac_exeext conftest.$ac_ext
14533 LDFLAGS=$save_LDFLAGS
14534 libdir=$save_libdir
14535
14536 fi
14537
14538 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14539
14540 # This implies no fast_install, which is unacceptable.
14541 # Some rework will be needed to allow for fast_install
14542 # before this can be enabled.
14543 hardcode_into_libs=yes
14544
14545 # Append ld.so.conf contents to the search path
14546 if test -f /etc/ld.so.conf; then
14547 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14548 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14549 fi
14550
14551 # We used to test for /lib/ld.so.1 and disable shared libraries on
14552 # powerpc, because MkLinux only supported shared libraries with the
14553 # GNU dynamic linker. Since this was broken with cross compilers,
14554 # most powerpc-linux boxes support dynamic linking these days and
14555 # people can always --disable-shared, the test was removed, and we
14556 # assume the GNU/Linux dynamic linker is in use.
14557 dynamic_linker='GNU/Linux ld.so'
14558 ;;
14559
14560 netbsd*)
14561 version_type=sunos
14562 need_lib_prefix=no
14563 need_version=no
14564 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14566 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14567 dynamic_linker='NetBSD (a.out) ld.so'
14568 else
14569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14570 soname_spec='${libname}${release}${shared_ext}$major'
14571 dynamic_linker='NetBSD ld.elf_so'
14572 fi
14573 shlibpath_var=LD_LIBRARY_PATH
14574 shlibpath_overrides_runpath=yes
14575 hardcode_into_libs=yes
14576 ;;
14577
14578 newsos6)
14579 version_type=linux
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath=yes
14583 ;;
14584
14585 *nto* | *qnx*)
14586 version_type=qnx
14587 need_lib_prefix=no
14588 need_version=no
14589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14590 soname_spec='${libname}${release}${shared_ext}$major'
14591 shlibpath_var=LD_LIBRARY_PATH
14592 shlibpath_overrides_runpath=no
14593 hardcode_into_libs=yes
14594 dynamic_linker='ldqnx.so'
14595 ;;
14596
14597 openbsd*)
14598 version_type=sunos
14599 sys_lib_dlsearch_path_spec="/usr/lib"
14600 need_lib_prefix=no
14601 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14602 case $host_os in
14603 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14604 *) need_version=no ;;
14605 esac
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14607 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14608 shlibpath_var=LD_LIBRARY_PATH
14609 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14610 case $host_os in
14611 openbsd2.[89] | openbsd2.[89].*)
14612 shlibpath_overrides_runpath=no
14613 ;;
14614 *)
14615 shlibpath_overrides_runpath=yes
14616 ;;
14617 esac
14618 else
14619 shlibpath_overrides_runpath=yes
14620 fi
14621 ;;
14622
14623 os2*)
14624 libname_spec='$name'
14625 shrext_cmds=".dll"
14626 need_lib_prefix=no
14627 library_names_spec='$libname${shared_ext} $libname.a'
14628 dynamic_linker='OS/2 ld.exe'
14629 shlibpath_var=LIBPATH
14630 ;;
14631
14632 osf3* | osf4* | osf5*)
14633 version_type=osf
14634 need_lib_prefix=no
14635 need_version=no
14636 soname_spec='${libname}${release}${shared_ext}$major'
14637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14638 shlibpath_var=LD_LIBRARY_PATH
14639 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14640 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14641 ;;
14642
14643 rdos*)
14644 dynamic_linker=no
14645 ;;
14646
14647 solaris*)
14648 version_type=linux
14649 need_lib_prefix=no
14650 need_version=no
14651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14652 soname_spec='${libname}${release}${shared_ext}$major'
14653 shlibpath_var=LD_LIBRARY_PATH
14654 shlibpath_overrides_runpath=yes
14655 hardcode_into_libs=yes
14656 # ldd complains unless libraries are executable
14657 postinstall_cmds='chmod +x $lib'
14658 ;;
14659
14660 sunos4*)
14661 version_type=sunos
14662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14663 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14664 shlibpath_var=LD_LIBRARY_PATH
14665 shlibpath_overrides_runpath=yes
14666 if test "$with_gnu_ld" = yes; then
14667 need_lib_prefix=no
14668 fi
14669 need_version=yes
14670 ;;
14671
14672 sysv4 | sysv4.3*)
14673 version_type=linux
14674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14675 soname_spec='${libname}${release}${shared_ext}$major'
14676 shlibpath_var=LD_LIBRARY_PATH
14677 case $host_vendor in
14678 sni)
14679 shlibpath_overrides_runpath=no
14680 need_lib_prefix=no
14681 runpath_var=LD_RUN_PATH
14682 ;;
14683 siemens)
14684 need_lib_prefix=no
14685 ;;
14686 motorola)
14687 need_lib_prefix=no
14688 need_version=no
14689 shlibpath_overrides_runpath=no
14690 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14691 ;;
14692 esac
14693 ;;
14694
14695 sysv4*MP*)
14696 if test -d /usr/nec ;then
14697 version_type=linux
14698 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14699 soname_spec='$libname${shared_ext}.$major'
14700 shlibpath_var=LD_LIBRARY_PATH
14701 fi
14702 ;;
14703
14704 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14705 version_type=freebsd-elf
14706 need_lib_prefix=no
14707 need_version=no
14708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14709 soname_spec='${libname}${release}${shared_ext}$major'
14710 shlibpath_var=LD_LIBRARY_PATH
14711 shlibpath_overrides_runpath=yes
14712 hardcode_into_libs=yes
14713 if test "$with_gnu_ld" = yes; then
14714 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14715 else
14716 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14717 case $host_os in
14718 sco3.2v5*)
14719 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14720 ;;
14721 esac
14722 fi
14723 sys_lib_dlsearch_path_spec='/usr/lib'
14724 ;;
14725
14726 tpf*)
14727 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14728 version_type=linux
14729 need_lib_prefix=no
14730 need_version=no
14731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732 shlibpath_var=LD_LIBRARY_PATH
14733 shlibpath_overrides_runpath=no
14734 hardcode_into_libs=yes
14735 ;;
14736
14737 uts4*)
14738 version_type=linux
14739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14740 soname_spec='${libname}${release}${shared_ext}$major'
14741 shlibpath_var=LD_LIBRARY_PATH
14742 ;;
14743
14744 *)
14745 dynamic_linker=no
14746 ;;
14747 esac
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14749 $as_echo "$dynamic_linker" >&6; }
14750 test "$dynamic_linker" = no && can_build_shared=no
14751
14752 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14753 if test "$GCC" = yes; then
14754 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14755 fi
14756
14757 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14758 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14759 fi
14760 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14761 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14762 fi
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14802 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14803 hardcode_action_CXX=
14804 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14805 test -n "$runpath_var_CXX" ||
14806 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14807
14808 # We can hardcode non-existent directories.
14809 if test "$hardcode_direct_CXX" != no &&
14810 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14811 # have to relink, otherwise we might link with an installed library
14812 # when we should be linking with a yet-to-be-installed one
14813 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14814 test "$hardcode_minus_L_CXX" != no; then
14815 # Linking always hardcodes the temporary library directory.
14816 hardcode_action_CXX=relink
14817 else
14818 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14819 hardcode_action_CXX=immediate
14820 fi
14821 else
14822 # We cannot hardcode anything, or else we can only hardcode existing
14823 # directories.
14824 hardcode_action_CXX=unsupported
14825 fi
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14827 $as_echo "$hardcode_action_CXX" >&6; }
14828
14829 if test "$hardcode_action_CXX" = relink ||
14830 test "$inherit_rpath_CXX" = yes; then
14831 # Fast installation is not supported
14832 enable_fast_install=no
14833 elif test "$shlibpath_overrides_runpath" = yes ||
14834 test "$enable_shared" = no; then
14835 # Fast installation is not necessary
14836 enable_fast_install=needless
14837 fi
14838
14839
14840
14841
14842
14843
14844
14845 fi # test -n "$compiler"
14846
14847 CC=$lt_save_CC
14848 LDCXX=$LD
14849 LD=$lt_save_LD
14850 GCC=$lt_save_GCC
14851 with_gnu_ld=$lt_save_with_gnu_ld
14852 lt_cv_path_LDCXX=$lt_cv_path_LD
14853 lt_cv_path_LD=$lt_save_path_LD
14854 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14855 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14856 fi # test "$_lt_caught_CXX_error" != yes
14857
14858 ac_ext=c
14859 ac_cpp='$CPP $CPPFLAGS'
14860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876 ac_config_commands="$ac_config_commands libtool"
14877
14878
14879
14880
14881 # Only expand once:
14882
14883
14884
14885
14886
14887 case $host in
14888 *-cygwin* | *-mingw*)
14889 # 'host' will be top-level target in the case of a target lib,
14890 # we must compare to with_cross_host to decide if this is a native
14891 # or cross-compiler and select where to install dlls appropriately.
14892 if test -n "$with_cross_host" &&
14893 test x"$with_cross_host" != x"no"; then
14894 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14895 else
14896 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14897 fi
14898 ;;
14899 *)
14900 lt_host_flags=
14901 ;;
14902 esac
14903
14904
14905
14906
14907
14908
14909 # libtool variables for C++ shared and position-independent compiles.
14910 #
14911 # Use glibcxx_lt_pic_flag to designate the automake variable
14912 # used to encapsulate the default libtool approach to creating objects
14913 # with position-independent code. Default: -prefer-pic.
14914 #
14915 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14916 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14917 #
14918 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14919 # creating position-independent objects. This varies with the target
14920 # hardware and operating system, but is often: -DPIC -fPIC.
14921 if test "$enable_shared" = yes; then
14922 glibcxx_lt_pic_flag="-prefer-pic"
14923 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14924 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14925
14926 else
14927 glibcxx_lt_pic_flag=
14928 glibcxx_compiler_pic_flag=
14929 glibcxx_compiler_shared_flag=
14930 fi
14931
14932
14933
14934
14935 # Override the libtool's pic_flag and pic_mode.
14936 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14937 # NB: this impacts --with-pic and --without-pic.
14938 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14939 pic_mode='default'
14940
14941 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14942 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14943
14944 # Possibly disable most of the library.
14945 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14946 ## than just ignoring the results. Faster /and/ more correct, win win.
14947
14948 # Check whether --enable-hosted-libstdcxx was given.
14949 if test "${enable_hosted_libstdcxx+set}" = set; then :
14950 enableval=$enable_hosted_libstdcxx;
14951 else
14952 case "$host" in
14953 arm*-*-symbianelf*)
14954 enable_hosted_libstdcxx=no
14955 ;;
14956 *)
14957 enable_hosted_libstdcxx=yes
14958 ;;
14959 esac
14960 fi
14961
14962 if test "$enable_hosted_libstdcxx" = no; then
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14964 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14965 is_hosted=no
14966 hosted_define=0
14967 enable_abi_check=no
14968 enable_libstdcxx_pch=no
14969 else
14970 is_hosted=yes
14971 hosted_define=1
14972 fi
14973
14974
14975 cat >>confdefs.h <<_ACEOF
14976 #define _GLIBCXX_HOSTED $hosted_define
14977 _ACEOF
14978
14979
14980
14981 # Enable descriptive messages to standard output on termination.
14982
14983 # Check whether --enable-libstdcxx-verbose was given.
14984 if test "${enable_libstdcxx_verbose+set}" = set; then :
14985 enableval=$enable_libstdcxx_verbose;
14986 else
14987 enable_libstdcxx_verbose=yes
14988 fi
14989
14990 if test x"$enable_libstdcxx_verbose" = xyes; then
14991 verbose_define=1
14992 else
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
14994 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
14995 verbose_define=0
14996 fi
14997
14998 cat >>confdefs.h <<_ACEOF
14999 #define _GLIBCXX_VERBOSE $verbose_define
15000 _ACEOF
15001
15002
15003
15004 # Enable compiler support that doesn't require linking.
15005
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15007 $as_echo_n "checking for exception model to use... " >&6; }
15008
15009 ac_ext=cpp
15010 ac_cpp='$CXXCPP $CPPFLAGS'
15011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15014
15015 # Check whether --enable-sjlj-exceptions was given.
15016 if test "${enable_sjlj_exceptions+set}" = set; then :
15017 enableval=$enable_sjlj_exceptions;
15018 case "$enableval" in
15019 yes|no|auto) ;;
15020 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15021 esac
15022
15023 else
15024 enable_sjlj_exceptions=auto
15025 fi
15026
15027
15028
15029 if test $enable_sjlj_exceptions = auto; then
15030 # Botheration. Now we've got to detect the exception model. Link tests
15031 # against libgcc.a are problematic since we've not been given proper -L
15032 # bits for single-tree newlib and libgloss.
15033 #
15034 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15035 cat > conftest.$ac_ext << EOF
15036 #line 15036 "configure"
15037 struct S { ~S(); };
15038 void bar();
15039 void foo()
15040 {
15041 S s;
15042 bar();
15043 }
15044 EOF
15045 old_CXXFLAGS="$CXXFLAGS"
15046 CXXFLAGS=-S
15047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15048 (eval $ac_compile) 2>&5
15049 ac_status=$?
15050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15051 test $ac_status = 0; }; then
15052 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15053 enable_sjlj_exceptions=yes
15054 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15055 enable_sjlj_exceptions=no
15056 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15057 enable_sjlj_exceptions=no
15058 fi
15059 fi
15060 CXXFLAGS="$old_CXXFLAGS"
15061 rm -f conftest*
15062 fi
15063
15064 # This is a tad weird, for hysterical raisins. We have to map
15065 # enable/disable to two different models.
15066 case $enable_sjlj_exceptions in
15067 yes)
15068
15069 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15070
15071 ac_exception_model_name=sjlj
15072 ;;
15073 no)
15074 ac_exception_model_name="call frame"
15075 ;;
15076 *)
15077 as_fn_error "unable to detect exception model" "$LINENO" 5
15078 ;;
15079 esac
15080 ac_ext=c
15081 ac_cpp='$CPP $CPPFLAGS'
15082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15085
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15087 $as_echo "$ac_exception_model_name" >&6; }
15088
15089
15090 # Check whether --enable-libstdcxx-pch was given.
15091 if test "${enable_libstdcxx_pch+set}" = set; then :
15092 enableval=$enable_libstdcxx_pch;
15093 case "$enableval" in
15094 yes|no) ;;
15095 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15096 esac
15097
15098 else
15099 enable_libstdcxx_pch=$is_hosted
15100 fi
15101
15102
15103 if test $enable_libstdcxx_pch = yes; then
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15105 $as_echo_n "checking for compiler with PCH support... " >&6; }
15106 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15107 $as_echo_n "(cached) " >&6
15108 else
15109 ac_save_CXXFLAGS="$CXXFLAGS"
15110 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15111
15112 ac_ext=cpp
15113 ac_cpp='$CXXCPP $CPPFLAGS'
15114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15117
15118 echo '#include <math.h>' > conftest.h
15119 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15120 -o conftest.h.gch 1>&5 2>&1 &&
15121 echo '#error "pch failed"' > conftest.h &&
15122 echo '#include "conftest.h"' > conftest.cc &&
15123 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15124 then
15125 glibcxx_cv_prog_CXX_pch=yes
15126 else
15127 glibcxx_cv_prog_CXX_pch=no
15128 fi
15129 rm -f conftest*
15130 CXXFLAGS=$ac_save_CXXFLAGS
15131 ac_ext=c
15132 ac_cpp='$CPP $CPPFLAGS'
15133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15136
15137
15138 fi
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15140 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15141 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15142 fi
15143
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15145 $as_echo_n "checking for enabled PCH... " >&6; }
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15147 $as_echo "$enable_libstdcxx_pch" >&6; }
15148
15149
15150 if test $enable_libstdcxx_pch = yes; then
15151 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15152 else
15153 glibcxx_PCHFLAGS=""
15154 fi
15155
15156
15157
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15159 $as_echo_n "checking for thread model used by GCC... " >&6; }
15160 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15162 $as_echo "$target_thread_file" >&6; }
15163
15164 case $target_thread_file in
15165 aix) thread_header=config/rs6000/gthr-aix.h ;;
15166 dce) thread_header=config/pa/gthr-dce.h ;;
15167 lynx) thread_header=config/gthr-lynx.h ;;
15168 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15169 posix) thread_header=gthr-posix.h ;;
15170 rtems) thread_header=config/gthr-rtems.h ;;
15171 single) thread_header=gthr-single.h ;;
15172 tpf) thread_header=config/s390/gthr-tpf.h ;;
15173 vxworks) thread_header=config/gthr-vxworks.h ;;
15174 win32) thread_header=config/i386/gthr-win32.h ;;
15175 esac
15176
15177
15178
15179
15180
15181 ac_ext=cpp
15182 ac_cpp='$CXXCPP $CPPFLAGS'
15183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15186
15187 old_CXXFLAGS="$CXXFLAGS"
15188
15189 # Do link tests if possible, instead asm tests, limited to some platforms
15190 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15191 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15192 atomic_builtins_link_tests=no
15193 if test x$gcc_no_link != xyes; then
15194 # Can do link tests. Limit to some tested platforms
15195 case "$host" in
15196 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15197 atomic_builtins_link_tests=yes
15198 ;;
15199 esac
15200 fi
15201
15202 if test x$atomic_builtins_link_tests = xyes; then
15203
15204 # Do link tests.
15205
15206 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15207
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15209 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15210 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15211 $as_echo_n "(cached) " >&6
15212 else
15213
15214 if test x$gcc_no_link = xyes; then
15215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15216 fi
15217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15219
15220 int
15221 main ()
15222 {
15223 typedef bool atomic_type;
15224 atomic_type c1;
15225 atomic_type c2;
15226 atomic_type c3(0);
15227 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15228 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15229 __ATOMIC_RELAXED);
15230 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15231 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15232
15233 ;
15234 return 0;
15235 }
15236 _ACEOF
15237 if ac_fn_cxx_try_link "$LINENO"; then :
15238 glibcxx_cv_atomic_bool=yes
15239 else
15240 glibcxx_cv_atomic_bool=no
15241 fi
15242 rm -f core conftest.err conftest.$ac_objext \
15243 conftest$ac_exeext conftest.$ac_ext
15244
15245 fi
15246
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15248 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15249
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15251 $as_echo_n "checking for atomic builtins for short... " >&6; }
15252 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15253 $as_echo_n "(cached) " >&6
15254 else
15255
15256 if test x$gcc_no_link = xyes; then
15257 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15258 fi
15259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15260 /* end confdefs.h. */
15261
15262 int
15263 main ()
15264 {
15265 typedef short atomic_type;
15266 atomic_type c1;
15267 atomic_type c2;
15268 atomic_type c3(0);
15269 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15270 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15271 __ATOMIC_RELAXED);
15272 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15273 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15274
15275 ;
15276 return 0;
15277 }
15278 _ACEOF
15279 if ac_fn_cxx_try_link "$LINENO"; then :
15280 glibcxx_cv_atomic_short=yes
15281 else
15282 glibcxx_cv_atomic_short=no
15283 fi
15284 rm -f core conftest.err conftest.$ac_objext \
15285 conftest$ac_exeext conftest.$ac_ext
15286
15287 fi
15288
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15290 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15291
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15293 $as_echo_n "checking for atomic builtins for int... " >&6; }
15294 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15295 $as_echo_n "(cached) " >&6
15296 else
15297
15298 if test x$gcc_no_link = xyes; then
15299 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15300 fi
15301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h. */
15303
15304 int
15305 main ()
15306 {
15307 typedef int atomic_type;
15308 atomic_type c1;
15309 atomic_type c2;
15310 atomic_type c3(0);
15311 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15312 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15313 __ATOMIC_RELAXED);
15314 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15315 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15316
15317 ;
15318 return 0;
15319 }
15320 _ACEOF
15321 if ac_fn_cxx_try_link "$LINENO"; then :
15322 glibcxx_cv_atomic_int=yes
15323 else
15324 glibcxx_cv_atomic_int=no
15325 fi
15326 rm -f core conftest.err conftest.$ac_objext \
15327 conftest$ac_exeext conftest.$ac_ext
15328
15329 fi
15330
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15332 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15333
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15335 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15336 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15337 $as_echo_n "(cached) " >&6
15338 else
15339
15340 if test x$gcc_no_link = xyes; then
15341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15342 fi
15343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15344 /* end confdefs.h. */
15345
15346 int
15347 main ()
15348 {
15349 typedef long long atomic_type;
15350 atomic_type c1;
15351 atomic_type c2;
15352 atomic_type c3(0);
15353 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15354 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15355 __ATOMIC_RELAXED);
15356 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15357 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15358
15359 ;
15360 return 0;
15361 }
15362 _ACEOF
15363 if ac_fn_cxx_try_link "$LINENO"; then :
15364 glibcxx_cv_atomic_long_long=yes
15365 else
15366 glibcxx_cv_atomic_long_long=no
15367 fi
15368 rm -f core conftest.err conftest.$ac_objext \
15369 conftest$ac_exeext conftest.$ac_ext
15370
15371 fi
15372
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15374 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15375
15376 else
15377
15378 # Do asm tests.
15379
15380 # Compile unoptimized.
15381 CXXFLAGS='-O0 -S'
15382
15383 # Fake what AC_TRY_COMPILE does.
15384
15385 cat > conftest.$ac_ext << EOF
15386 #line 15386 "configure"
15387 int main()
15388 {
15389 typedef bool atomic_type;
15390 atomic_type c1;
15391 atomic_type c2;
15392 atomic_type c3(0);
15393 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15394 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15395 __ATOMIC_RELAXED);
15396 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15397 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15398
15399 return 0;
15400 }
15401 EOF
15402
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15404 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15405 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15406 (eval $ac_compile) 2>&5
15407 ac_status=$?
15408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15409 test $ac_status = 0; }; then
15410 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15411 glibcxx_cv_atomic_bool=no
15412 else
15413 glibcxx_cv_atomic_bool=yes
15414 fi
15415 fi
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15417 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15418 rm -f conftest*
15419
15420 cat > conftest.$ac_ext << EOF
15421 #line 15421 "configure"
15422 int main()
15423 {
15424 typedef short atomic_type;
15425 atomic_type c1;
15426 atomic_type c2;
15427 atomic_type c3(0);
15428 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15429 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15430 __ATOMIC_RELAXED);
15431 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15432 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15433
15434 return 0;
15435 }
15436 EOF
15437
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15439 $as_echo_n "checking for atomic builtins for short... " >&6; }
15440 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15441 (eval $ac_compile) 2>&5
15442 ac_status=$?
15443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15444 test $ac_status = 0; }; then
15445 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15446 glibcxx_cv_atomic_short=no
15447 else
15448 glibcxx_cv_atomic_short=yes
15449 fi
15450 fi
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15452 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15453 rm -f conftest*
15454
15455 cat > conftest.$ac_ext << EOF
15456 #line 15456 "configure"
15457 int main()
15458 {
15459 // NB: _Atomic_word not necessarily int.
15460 typedef int atomic_type;
15461 atomic_type c1;
15462 atomic_type c2;
15463 atomic_type c3(0);
15464 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15465 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15466 __ATOMIC_RELAXED);
15467 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15468 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15469
15470 return 0;
15471 }
15472 EOF
15473
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15475 $as_echo_n "checking for atomic builtins for int... " >&6; }
15476 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15477 (eval $ac_compile) 2>&5
15478 ac_status=$?
15479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15480 test $ac_status = 0; }; then
15481 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15482 glibcxx_cv_atomic_int=no
15483 else
15484 glibcxx_cv_atomic_int=yes
15485 fi
15486 fi
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15488 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15489 rm -f conftest*
15490
15491 cat > conftest.$ac_ext << EOF
15492 #line 15492 "configure"
15493 int main()
15494 {
15495 typedef long long atomic_type;
15496 atomic_type c1;
15497 atomic_type c2;
15498 atomic_type c3(0);
15499 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15500 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15501 __ATOMIC_RELAXED);
15502 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15503 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15504
15505 return 0;
15506 }
15507 EOF
15508
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15510 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15511 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15512 (eval $ac_compile) 2>&5
15513 ac_status=$?
15514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15515 test $ac_status = 0; }; then
15516 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15517 glibcxx_cv_atomic_long_long=no
15518 else
15519 glibcxx_cv_atomic_long_long=yes
15520 fi
15521 fi
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15523 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15524 rm -f conftest*
15525
15526 fi
15527
15528 CXXFLAGS="$old_CXXFLAGS"
15529 ac_ext=c
15530 ac_cpp='$CPP $CPPFLAGS'
15531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15534
15535
15536 # Set atomicity_dir to builtins if all but the long long test above passes.
15537 if test $glibcxx_cv_atomic_bool = yes \
15538 && test $glibcxx_cv_atomic_short = yes \
15539 && test $glibcxx_cv_atomic_int = yes; then
15540
15541 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15542
15543 atomicity_dir=cpu/generic/atomicity_builtins
15544 fi
15545
15546 # If still generic, set to mutex.
15547 if test $atomicity_dir = "cpu/generic" ; then
15548 atomicity_dir=cpu/generic/atomicity_mutex
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15550 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15551 if test "x$target_thread_file" = xsingle; then
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15553 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15555 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15556 else
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15558 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15560 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15561 fi
15562 fi
15563
15564
15565
15566
15567 # Fake what AC_TRY_COMPILE does, without linking as this is
15568 # unnecessary for this test.
15569
15570 cat > conftest.$ac_ext << EOF
15571 #line 15571 "configure"
15572 int main()
15573 {
15574 _Decimal32 d1;
15575 _Decimal64 d2;
15576 _Decimal128 d3;
15577 return 0;
15578 }
15579 EOF
15580
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15582 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15584 (eval $ac_compile) 2>&5
15585 ac_status=$?
15586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15587 test $ac_status = 0; }; then
15588
15589 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15590
15591 enable_dfp=yes
15592 else
15593 enable_dfp=no
15594 fi
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15596 $as_echo "$enable_dfp" >&6; }
15597 rm -f conftest*
15598
15599
15600
15601
15602 ac_ext=cpp
15603 ac_cpp='$CXXCPP $CPPFLAGS'
15604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15607
15608
15609 # Fake what AC_TRY_COMPILE does, without linking as this is
15610 # unnecessary for this test.
15611
15612 cat > conftest.$ac_ext << EOF
15613 #line 15613 "configure"
15614 template<typename T1, typename T2>
15615 struct same
15616 { typedef T2 type; };
15617
15618 template<typename T>
15619 struct same<T, T>;
15620
15621 int main()
15622 {
15623 typename same<long, __int128>::type i1;
15624 typename same<long long, __int128>::type i2;
15625 }
15626 EOF
15627
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15629 $as_echo_n "checking for __int128... " >&6; }
15630 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15631 (eval $ac_compile) 2>&5
15632 ac_status=$?
15633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15634 test $ac_status = 0; }; then
15635
15636 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15637
15638 enable_int128=yes
15639 else
15640 enable_int128=no
15641 fi
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15643 $as_echo "$enable_int128" >&6; }
15644 rm -f conftest*
15645
15646 cat > conftest.$ac_ext << EOF
15647 #line 15647 "configure"
15648 template<typename T1, typename T2>
15649 struct same
15650 { typedef T2 type; };
15651
15652 template<typename T>
15653 struct same<T, T>;
15654
15655 int main()
15656 {
15657 typename same<double, __float128>::type f1;
15658 typename same<long double, __float128>::type f2;
15659 }
15660 EOF
15661
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15663 $as_echo_n "checking for __float128... " >&6; }
15664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15665 (eval $ac_compile) 2>&5
15666 ac_status=$?
15667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15668 test $ac_status = 0; }; then
15669
15670 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15671
15672 enable_float128=yes
15673 else
15674 enable_float128=no
15675 fi
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15677 $as_echo "$enable_float128" >&6; }
15678 rm -f conftest*
15679
15680 ac_ext=c
15681 ac_cpp='$CPP $CPPFLAGS'
15682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15685
15686
15687
15688 # Checks for compiler support that doesn't require linking.
15689
15690 # All these tests are for C++; save the language and the compiler flags.
15691 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15692 # found in GLIBCXX_CONFIGURE.
15693
15694 ac_ext=cpp
15695 ac_cpp='$CXXCPP $CPPFLAGS'
15696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15699
15700 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15701 ac_save_CXXFLAGS="$CXXFLAGS"
15702
15703 # Check for maintainer-mode bits.
15704 if test x"$USE_MAINTAINER_MODE" = xno; then
15705 WERROR=''
15706 else
15707 WERROR='-Werror'
15708 fi
15709
15710 # Check for -ffunction-sections -fdata-sections
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15712 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15713 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15715 /* end confdefs.h. */
15716 int foo; void bar() { };
15717 int
15718 main ()
15719 {
15720
15721 ;
15722 return 0;
15723 }
15724 _ACEOF
15725 if ac_fn_cxx_try_compile "$LINENO"; then :
15726 ac_fdsections=yes
15727 else
15728 ac_fdsections=no
15729 fi
15730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15731 if test "$ac_test_CXXFLAGS" = set; then
15732 CXXFLAGS="$ac_save_CXXFLAGS"
15733 else
15734 # this is the suspicious part
15735 CXXFLAGS=''
15736 fi
15737 if test x"$ac_fdsections" = x"yes"; then
15738 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15739 fi
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15741 $as_echo "$ac_fdsections" >&6; }
15742
15743 ac_ext=c
15744 ac_cpp='$CPP $CPPFLAGS'
15745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15748
15749
15750
15751
15752
15753 # Enable all the variable C++ runtime options that don't require linking.
15754
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15756 $as_echo_n "checking for underlying I/O to use... " >&6; }
15757 # Check whether --enable-cstdio was given.
15758 if test "${enable_cstdio+set}" = set; then :
15759 enableval=$enable_cstdio;
15760 case "$enableval" in
15761 stdio) ;;
15762 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15763 esac
15764
15765 else
15766 enable_cstdio=stdio
15767 fi
15768
15769
15770
15771 # Now that libio has been removed, you can have any color you want as long
15772 # as it's black. This is one big no-op until other packages are added, but
15773 # showing the framework never hurts.
15774 case ${enable_cstdio} in
15775 stdio)
15776 CSTDIO_H=config/io/c_io_stdio.h
15777 BASIC_FILE_H=config/io/basic_file_stdio.h
15778 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15780 $as_echo "stdio" >&6; }
15781 ;;
15782 esac
15783
15784
15785
15786
15787
15788
15789 # Check whether --enable-clocale was given.
15790 if test "${enable_clocale+set}" = set; then :
15791 enableval=$enable_clocale;
15792 case "$enableval" in
15793 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15794 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15795 esac
15796
15797 else
15798 enable_clocale=auto
15799 fi
15800
15801
15802
15803 # Deal with gettext issues. Default to not using it (=no) until we detect
15804 # support for it later. Let the user turn it off via --e/d, but let that
15805 # default to on for easier handling.
15806 USE_NLS=no
15807 # Check whether --enable-nls was given.
15808 if test "${enable_nls+set}" = set; then :
15809 enableval=$enable_nls;
15810 else
15811 enable_nls=yes
15812 fi
15813
15814
15815 # Either a known package, or "auto"
15816 if test $enable_clocale = no || test $enable_clocale = yes; then
15817 enable_clocale=auto
15818 fi
15819 enable_clocale_flag=$enable_clocale
15820
15821 # Probe for locale model to use if none specified.
15822 # Default to "generic".
15823 if test $enable_clocale_flag = auto; then
15824 case ${target_os} in
15825 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15826 enable_clocale_flag=gnu
15827 ;;
15828 darwin* | freebsd*)
15829 enable_clocale_flag=darwin
15830 ;;
15831 openbsd*)
15832 enable_clocale_flag=newlib
15833 ;;
15834 *)
15835 if test x"$with_newlib" = x"yes"; then
15836 enable_clocale_flag=newlib
15837 else
15838 enable_clocale_flag=generic
15839 fi
15840 ;;
15841 esac
15842 fi
15843
15844 # Sanity check model, and test for special functionality.
15845 if test $enable_clocale_flag = gnu; then
15846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15847 /* end confdefs.h. */
15848
15849 #include <features.h>
15850 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15851 _GLIBCXX_ok
15852 #endif
15853
15854 _ACEOF
15855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15856 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15857 enable_clocale_flag=gnu
15858 else
15859 enable_clocale_flag=generic
15860 fi
15861 rm -f conftest*
15862
15863
15864 # Set it to scream when it hurts.
15865 ac_save_CFLAGS="$CFLAGS"
15866 CFLAGS="-Wimplicit-function-declaration -Werror"
15867
15868 # Use strxfrm_l if available.
15869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15870 /* end confdefs.h. */
15871 #define _GNU_SOURCE 1
15872 #include <string.h>
15873 #include <locale.h>
15874 int
15875 main ()
15876 {
15877 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15878 ;
15879 return 0;
15880 }
15881 _ACEOF
15882 if ac_fn_c_try_compile "$LINENO"; then :
15883
15884 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15885
15886 fi
15887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15888
15889 # Use strerror_l if available.
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 #define _GNU_SOURCE 1
15893 #include <string.h>
15894 #include <locale.h>
15895 int
15896 main ()
15897 {
15898 __locale_t loc; strerror_l(5, loc);
15899 ;
15900 return 0;
15901 }
15902 _ACEOF
15903 if ac_fn_c_try_compile "$LINENO"; then :
15904
15905 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15906
15907 fi
15908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15909
15910 CFLAGS="$ac_save_CFLAGS"
15911 fi
15912
15913 # Perhaps use strerror_r if available, and strerror_l isn't.
15914 ac_save_CFLAGS="$CFLAGS"
15915 CFLAGS="-Wimplicit-function-declaration -Werror"
15916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15917 /* end confdefs.h. */
15918 #define _GNU_SOURCE 1
15919 #include <string.h>
15920 #include <locale.h>
15921 int
15922 main ()
15923 {
15924 char s[128]; strerror_r(5, s, 128);
15925 ;
15926 return 0;
15927 }
15928 _ACEOF
15929 if ac_fn_c_try_compile "$LINENO"; then :
15930
15931 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15932
15933 fi
15934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15935 CFLAGS="$ac_save_CFLAGS"
15936
15937 # Set configure bits for specified locale package
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15939 $as_echo_n "checking for C locale to use... " >&6; }
15940 case ${enable_clocale_flag} in
15941 generic)
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15943 $as_echo "generic" >&6; }
15944
15945 CLOCALE_H=config/locale/generic/c_locale.h
15946 CLOCALE_CC=config/locale/generic/c_locale.cc
15947 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15948 CCOLLATE_CC=config/locale/generic/collate_members.cc
15949 CCTYPE_CC=config/locale/generic/ctype_members.cc
15950 CMESSAGES_H=config/locale/generic/messages_members.h
15951 CMESSAGES_CC=config/locale/generic/messages_members.cc
15952 CMONEY_CC=config/locale/generic/monetary_members.cc
15953 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15954 CTIME_H=config/locale/generic/time_members.h
15955 CTIME_CC=config/locale/generic/time_members.cc
15956 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15957 ;;
15958 darwin)
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15960 $as_echo "darwin or freebsd" >&6; }
15961
15962 CLOCALE_H=config/locale/generic/c_locale.h
15963 CLOCALE_CC=config/locale/generic/c_locale.cc
15964 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15965 CCOLLATE_CC=config/locale/generic/collate_members.cc
15966 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15967 CMESSAGES_H=config/locale/generic/messages_members.h
15968 CMESSAGES_CC=config/locale/generic/messages_members.cc
15969 CMONEY_CC=config/locale/generic/monetary_members.cc
15970 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15971 CTIME_H=config/locale/generic/time_members.h
15972 CTIME_CC=config/locale/generic/time_members.cc
15973 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15974 ;;
15975
15976 gnu)
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15978 $as_echo "gnu" >&6; }
15979
15980 # Declare intention to use gettext, and add support for specific
15981 # languages.
15982 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15983 ALL_LINGUAS="de fr"
15984
15985 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15986 # Extract the first word of "msgfmt", so it can be a program name with args.
15987 set dummy msgfmt; ac_word=$2
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15989 $as_echo_n "checking for $ac_word... " >&6; }
15990 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15991 $as_echo_n "(cached) " >&6
15992 else
15993 if test -n "$check_msgfmt"; then
15994 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15995 else
15996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15997 for as_dir in $PATH
15998 do
15999 IFS=$as_save_IFS
16000 test -z "$as_dir" && as_dir=.
16001 for ac_exec_ext in '' $ac_executable_extensions; do
16002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16003 ac_cv_prog_check_msgfmt="yes"
16004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16005 break 2
16006 fi
16007 done
16008 done
16009 IFS=$as_save_IFS
16010
16011 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16012 fi
16013 fi
16014 check_msgfmt=$ac_cv_prog_check_msgfmt
16015 if test -n "$check_msgfmt"; then
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16017 $as_echo "$check_msgfmt" >&6; }
16018 else
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16020 $as_echo "no" >&6; }
16021 fi
16022
16023
16024 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16025 USE_NLS=yes
16026 fi
16027 # Export the build objects.
16028 for ling in $ALL_LINGUAS; do \
16029 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16030 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16031 done
16032
16033
16034
16035 CLOCALE_H=config/locale/gnu/c_locale.h
16036 CLOCALE_CC=config/locale/gnu/c_locale.cc
16037 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16038 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16039 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16040 CMESSAGES_H=config/locale/gnu/messages_members.h
16041 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16042 CMONEY_CC=config/locale/gnu/monetary_members.cc
16043 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16044 CTIME_H=config/locale/gnu/time_members.h
16045 CTIME_CC=config/locale/gnu/time_members.cc
16046 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16047 ;;
16048 ieee_1003.1-2001)
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16050 $as_echo "IEEE 1003.1" >&6; }
16051
16052 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16053 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16054 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16055 CCOLLATE_CC=config/locale/generic/collate_members.cc
16056 CCTYPE_CC=config/locale/generic/ctype_members.cc
16057 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16058 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16059 CMONEY_CC=config/locale/generic/monetary_members.cc
16060 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16061 CTIME_H=config/locale/generic/time_members.h
16062 CTIME_CC=config/locale/generic/time_members.cc
16063 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16064 ;;
16065 newlib)
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16067 $as_echo "newlib" >&6; }
16068
16069 CLOCALE_H=config/locale/generic/c_locale.h
16070 CLOCALE_CC=config/locale/generic/c_locale.cc
16071 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16072 CCOLLATE_CC=config/locale/generic/collate_members.cc
16073 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16074 CMESSAGES_H=config/locale/generic/messages_members.h
16075 CMESSAGES_CC=config/locale/generic/messages_members.cc
16076 CMONEY_CC=config/locale/generic/monetary_members.cc
16077 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16078 CTIME_H=config/locale/generic/time_members.h
16079 CTIME_CC=config/locale/generic/time_members.cc
16080 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16081 ;;
16082 esac
16083
16084 # This is where the testsuite looks for locale catalogs, using the
16085 # -DLOCALEDIR define during testsuite compilation.
16086 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16087
16088
16089 # A standalone libintl (e.g., GNU libintl) may be in use.
16090 if test $USE_NLS = yes; then
16091 for ac_header in libintl.h
16092 do :
16093 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16094 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16095 cat >>confdefs.h <<_ACEOF
16096 #define HAVE_LIBINTL_H 1
16097 _ACEOF
16098
16099 else
16100 USE_NLS=no
16101 fi
16102
16103 done
16104
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16106 $as_echo_n "checking for library containing gettext... " >&6; }
16107 if test "${ac_cv_search_gettext+set}" = set; then :
16108 $as_echo_n "(cached) " >&6
16109 else
16110 ac_func_search_save_LIBS=$LIBS
16111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16112 /* end confdefs.h. */
16113
16114 /* Override any GCC internal prototype to avoid an error.
16115 Use char because int might match the return type of a GCC
16116 builtin and then its argument prototype would still apply. */
16117 #ifdef __cplusplus
16118 extern "C"
16119 #endif
16120 char gettext ();
16121 int
16122 main ()
16123 {
16124 return gettext ();
16125 ;
16126 return 0;
16127 }
16128 _ACEOF
16129 for ac_lib in '' intl; do
16130 if test -z "$ac_lib"; then
16131 ac_res="none required"
16132 else
16133 ac_res=-l$ac_lib
16134 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16135 fi
16136 if test x$gcc_no_link = xyes; then
16137 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16138 fi
16139 if ac_fn_c_try_link "$LINENO"; then :
16140 ac_cv_search_gettext=$ac_res
16141 fi
16142 rm -f core conftest.err conftest.$ac_objext \
16143 conftest$ac_exeext
16144 if test "${ac_cv_search_gettext+set}" = set; then :
16145 break
16146 fi
16147 done
16148 if test "${ac_cv_search_gettext+set}" = set; then :
16149
16150 else
16151 ac_cv_search_gettext=no
16152 fi
16153 rm conftest.$ac_ext
16154 LIBS=$ac_func_search_save_LIBS
16155 fi
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16157 $as_echo "$ac_cv_search_gettext" >&6; }
16158 ac_res=$ac_cv_search_gettext
16159 if test "$ac_res" != no; then :
16160 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16161
16162 else
16163 USE_NLS=no
16164 fi
16165
16166 fi
16167 if test $USE_NLS = yes; then
16168
16169 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16170
16171 fi
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16189 $as_echo_n "checking for std::allocator base class... " >&6; }
16190 # Check whether --enable-libstdcxx-allocator was given.
16191 if test "${enable_libstdcxx_allocator+set}" = set; then :
16192 enableval=$enable_libstdcxx_allocator;
16193 case "$enableval" in
16194 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16195 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16196 esac
16197
16198 else
16199 enable_libstdcxx_allocator=auto
16200 fi
16201
16202
16203
16204 # If they didn't use this option switch, or if they specified --enable
16205 # with no specific model, we'll have to look for one. If they
16206 # specified --disable (???), do likewise.
16207 if test $enable_libstdcxx_allocator = no ||
16208 test $enable_libstdcxx_allocator = yes;
16209 then
16210 enable_libstdcxx_allocator=auto
16211 fi
16212
16213 # Either a known package, or "auto". Auto implies the default choice
16214 # for a particular platform.
16215 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16216
16217 # Probe for host-specific support if no specific model is specified.
16218 # Default to "new".
16219 if test $enable_libstdcxx_allocator_flag = auto; then
16220 case ${target_os} in
16221 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16222 enable_libstdcxx_allocator_flag=new
16223 ;;
16224 *)
16225 enable_libstdcxx_allocator_flag=new
16226 ;;
16227 esac
16228 fi
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16230 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16231
16232
16233 # Set configure bits for specified locale package
16234 case ${enable_libstdcxx_allocator_flag} in
16235 bitmap)
16236 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16237 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16238 ;;
16239 malloc)
16240 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16241 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16242 ;;
16243 mt)
16244 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16245 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16246 ;;
16247 new)
16248 ALLOCATOR_H=config/allocator/new_allocator_base.h
16249 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16250 ;;
16251 pool)
16252 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16253 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16254 ;;
16255 esac
16256
16257
16258
16259
16260
16261 # Check whether --enable-cheaders was given.
16262 if test "${enable_cheaders+set}" = set; then :
16263 enableval=$enable_cheaders;
16264 case "$enableval" in
16265 c|c_std|c_global) ;;
16266 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16267 esac
16268
16269 else
16270 enable_cheaders=$c_model
16271 fi
16272
16273
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16275 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16276
16277 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16278
16279 # Allow overrides to configure.host here.
16280 if test $enable_cheaders = c_global; then
16281 c_compatibility=yes
16282 fi
16283
16284
16285
16286
16287
16288
16289
16290 # Check whether --enable-long-long was given.
16291 if test "${enable_long_long+set}" = set; then :
16292 enableval=$enable_long_long;
16293 case "$enableval" in
16294 yes|no) ;;
16295 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16296 esac
16297
16298 else
16299 enable_long_long=yes
16300 fi
16301
16302
16303 if test $enable_long_long = yes; then
16304
16305 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16306
16307 fi
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16309 $as_echo_n "checking for enabled long long specializations... " >&6; }
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16311 $as_echo "$enable_long_long" >&6; }
16312
16313
16314 # Check whether --enable-wchar_t was given.
16315 if test "${enable_wchar_t+set}" = set; then :
16316 enableval=$enable_wchar_t;
16317 case "$enableval" in
16318 yes|no) ;;
16319 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16320 esac
16321
16322 else
16323 enable_wchar_t=yes
16324 fi
16325
16326
16327
16328 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16329 for ac_header in wchar.h
16330 do :
16331 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16332 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16333 cat >>confdefs.h <<_ACEOF
16334 #define HAVE_WCHAR_H 1
16335 _ACEOF
16336 ac_has_wchar_h=yes
16337 else
16338 ac_has_wchar_h=no
16339 fi
16340
16341 done
16342
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16344 $as_echo_n "checking for mbstate_t... " >&6; }
16345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h. */
16347 #include <wchar.h>
16348 int
16349 main ()
16350 {
16351 mbstate_t teststate;
16352 ;
16353 return 0;
16354 }
16355 _ACEOF
16356 if ac_fn_c_try_compile "$LINENO"; then :
16357 have_mbstate_t=yes
16358 else
16359 have_mbstate_t=no
16360 fi
16361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16363 $as_echo "$have_mbstate_t" >&6; }
16364 if test x"$have_mbstate_t" = xyes; then
16365
16366 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16367
16368 fi
16369
16370 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16371 # ac_has_wchar_h.
16372 for ac_header in wctype.h
16373 do :
16374 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16375 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_WCTYPE_H 1
16378 _ACEOF
16379 ac_has_wctype_h=yes
16380 else
16381 ac_has_wctype_h=no
16382 fi
16383
16384 done
16385
16386
16387 if test x"$enable_wchar_t" = x"yes"; then
16388
16389
16390 ac_ext=cpp
16391 ac_cpp='$CXXCPP $CPPFLAGS'
16392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16395
16396
16397 if test x"$ac_has_wchar_h" = xyes &&
16398 test x"$ac_has_wctype_h" = xyes; then
16399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16400 /* end confdefs.h. */
16401 #include <wchar.h>
16402 #include <stddef.h>
16403 wint_t i;
16404 long l = WEOF;
16405 long j = WCHAR_MIN;
16406 long k = WCHAR_MAX;
16407 namespace test
16408 {
16409 using ::btowc;
16410 using ::fgetwc;
16411 using ::fgetws;
16412 using ::fputwc;
16413 using ::fputws;
16414 using ::fwide;
16415 using ::fwprintf;
16416 using ::fwscanf;
16417 using ::getwc;
16418 using ::getwchar;
16419 using ::mbrlen;
16420 using ::mbrtowc;
16421 using ::mbsinit;
16422 using ::mbsrtowcs;
16423 using ::putwc;
16424 using ::putwchar;
16425 using ::swprintf;
16426 using ::swscanf;
16427 using ::ungetwc;
16428 using ::vfwprintf;
16429 using ::vswprintf;
16430 using ::vwprintf;
16431 using ::wcrtomb;
16432 using ::wcscat;
16433 using ::wcschr;
16434 using ::wcscmp;
16435 using ::wcscoll;
16436 using ::wcscpy;
16437 using ::wcscspn;
16438 using ::wcsftime;
16439 using ::wcslen;
16440 using ::wcsncat;
16441 using ::wcsncmp;
16442 using ::wcsncpy;
16443 using ::wcspbrk;
16444 using ::wcsrchr;
16445 using ::wcsrtombs;
16446 using ::wcsspn;
16447 using ::wcsstr;
16448 using ::wcstod;
16449 using ::wcstok;
16450 using ::wcstol;
16451 using ::wcstoul;
16452 using ::wcsxfrm;
16453 using ::wctob;
16454 using ::wmemchr;
16455 using ::wmemcmp;
16456 using ::wmemcpy;
16457 using ::wmemmove;
16458 using ::wmemset;
16459 using ::wprintf;
16460 using ::wscanf;
16461 }
16462
16463 int
16464 main ()
16465 {
16466
16467 ;
16468 return 0;
16469 }
16470 _ACEOF
16471 if ac_fn_cxx_try_compile "$LINENO"; then :
16472
16473 else
16474 enable_wchar_t=no
16475 fi
16476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16477 else
16478 enable_wchar_t=no
16479 fi
16480
16481 ac_ext=c
16482 ac_cpp='$CPP $CPPFLAGS'
16483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16486
16487 fi
16488
16489 if test x"$enable_wchar_t" = x"yes"; then
16490
16491 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16492
16493 fi
16494
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16496 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16498 $as_echo "$enable_wchar_t" >&6; }
16499
16500
16501
16502 # Check whether --enable-c99 was given.
16503 if test "${enable_c99+set}" = set; then :
16504 enableval=$enable_c99;
16505 case "$enableval" in
16506 yes|no) ;;
16507 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16508 esac
16509
16510 else
16511 enable_c99=yes
16512 fi
16513
16514
16515
16516 if test x"$enable_c99" = x"yes"; then
16517
16518
16519 ac_ext=cpp
16520 ac_cpp='$CXXCPP $CPPFLAGS'
16521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16524
16525
16526 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16527 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16528 # spuriously enabled.
16529 # Long term, -std=c++0x could be even better, could manage to explicitely
16530 # request C99 facilities to the underlying C headers.
16531 ac_save_CXXFLAGS="$CXXFLAGS"
16532 CXXFLAGS="$CXXFLAGS -std=c++98"
16533 ac_save_LIBS="$LIBS"
16534 ac_save_gcc_no_link="$gcc_no_link"
16535
16536 if test x$gcc_no_link != xyes; then
16537 # Use -fno-exceptions to that the C driver can link these tests without
16538 # hitting undefined references to personality routines.
16539 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16541 $as_echo_n "checking for sin in -lm... " >&6; }
16542 if test "${ac_cv_lib_m_sin+set}" = set; then :
16543 $as_echo_n "(cached) " >&6
16544 else
16545 ac_check_lib_save_LIBS=$LIBS
16546 LIBS="-lm $LIBS"
16547 if test x$gcc_no_link = xyes; then
16548 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16549 fi
16550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16551 /* end confdefs.h. */
16552
16553 /* Override any GCC internal prototype to avoid an error.
16554 Use char because int might match the return type of a GCC
16555 builtin and then its argument prototype would still apply. */
16556 #ifdef __cplusplus
16557 extern "C"
16558 #endif
16559 char sin ();
16560 int
16561 main ()
16562 {
16563 return sin ();
16564 ;
16565 return 0;
16566 }
16567 _ACEOF
16568 if ac_fn_cxx_try_link "$LINENO"; then :
16569 ac_cv_lib_m_sin=yes
16570 else
16571 ac_cv_lib_m_sin=no
16572 fi
16573 rm -f core conftest.err conftest.$ac_objext \
16574 conftest$ac_exeext conftest.$ac_ext
16575 LIBS=$ac_check_lib_save_LIBS
16576 fi
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16578 $as_echo "$ac_cv_lib_m_sin" >&6; }
16579 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16580
16581 LIBS="$LIBS -lm"
16582
16583 else
16584
16585 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16586 gcc_no_link=yes
16587
16588 fi
16589
16590 fi
16591
16592 # Check for the existence of <math.h> functions used if C99 is enabled.
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16594 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16595 if test "${glibcxx_cv_c99_math+set}" = set; then :
16596 $as_echo_n "(cached) " >&6
16597 else
16598
16599 if test x$gcc_no_link = xyes; then
16600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h. */
16602 #include <math.h>
16603 volatile double d1, d2;
16604 volatile int i;
16605 int
16606 main ()
16607 {
16608 i = fpclassify(d1);
16609 i = isfinite(d1);
16610 i = isinf(d1);
16611 i = isnan(d1);
16612 i = isnormal(d1);
16613 i = signbit(d1);
16614 i = isgreater(d1, d2);
16615 i = isgreaterequal(d1, d2);
16616 i = isless(d1, d2);
16617 i = islessequal(d1, d2);
16618 i = islessgreater(d1, d2);
16619 i = islessgreater(d1, d2);
16620 i = isunordered(d1, d2);
16621
16622 ;
16623 return 0;
16624 }
16625 _ACEOF
16626 if ac_fn_cxx_try_compile "$LINENO"; then :
16627 glibcxx_cv_c99_math=yes
16628 else
16629 glibcxx_cv_c99_math=no
16630 fi
16631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16632 else
16633 if test x$gcc_no_link = xyes; then
16634 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16635 fi
16636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16637 /* end confdefs.h. */
16638 #include <math.h>
16639 volatile double d1, d2;
16640 volatile int i;
16641 int
16642 main ()
16643 {
16644 i = fpclassify(d1);
16645 i = isfinite(d1);
16646 i = isinf(d1);
16647 i = isnan(d1);
16648 i = isnormal(d1);
16649 i = signbit(d1);
16650 i = isgreater(d1, d2);
16651 i = isgreaterequal(d1, d2);
16652 i = isless(d1, d2);
16653 i = islessequal(d1, d2);
16654 i = islessgreater(d1, d2);
16655 i = islessgreater(d1, d2);
16656 i = isunordered(d1, d2);
16657
16658 ;
16659 return 0;
16660 }
16661 _ACEOF
16662 if ac_fn_cxx_try_link "$LINENO"; then :
16663 glibcxx_cv_c99_math=yes
16664 else
16665 glibcxx_cv_c99_math=no
16666 fi
16667 rm -f core conftest.err conftest.$ac_objext \
16668 conftest$ac_exeext conftest.$ac_ext
16669 fi
16670
16671 fi
16672
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16674 $as_echo "$glibcxx_cv_c99_math" >&6; }
16675 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16676
16677 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16678
16679 fi
16680
16681 # Check for the existence of <complex.h> complex math functions.
16682 # This is necessary even though libstdc++ uses the builtin versions
16683 # of these functions, because if the builtin cannot be used, a reference
16684 # to the library function is emitted.
16685 for ac_header in tgmath.h
16686 do :
16687 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16688 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16689 cat >>confdefs.h <<_ACEOF
16690 #define HAVE_TGMATH_H 1
16691 _ACEOF
16692 ac_has_tgmath_h=yes
16693 else
16694 ac_has_tgmath_h=no
16695 fi
16696
16697 done
16698
16699 for ac_header in complex.h
16700 do :
16701 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16702 if test "x$ac_cv_header_complex_h" = x""yes; then :
16703 cat >>confdefs.h <<_ACEOF
16704 #define HAVE_COMPLEX_H 1
16705 _ACEOF
16706 ac_has_complex_h=yes
16707 else
16708 ac_has_complex_h=no
16709 fi
16710
16711 done
16712
16713 glibcxx_cv_c99_complex=no;
16714 if test x"$ac_has_complex_h" = x"yes"; then
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16716 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16717 if test x$gcc_no_link = xyes; then
16718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16719 /* end confdefs.h. */
16720 #include <complex.h>
16721 typedef __complex__ float float_type;
16722 typedef __complex__ double double_type;
16723 typedef __complex__ long double ld_type;
16724 volatile float_type tmpf;
16725 volatile double_type tmpd;
16726 volatile ld_type tmpld;
16727 volatile float f;
16728 volatile double d;
16729 volatile long double ld;
16730 int
16731 main ()
16732 {
16733 f = cabsf(tmpf);
16734 f = cargf(tmpf);
16735 tmpf = ccosf(tmpf);
16736 tmpf = ccoshf(tmpf);
16737 tmpf = cexpf(tmpf);
16738 tmpf = clogf(tmpf);
16739 tmpf = csinf(tmpf);
16740 tmpf = csinhf(tmpf);
16741 tmpf = csqrtf(tmpf);
16742 tmpf = ctanf(tmpf);
16743 tmpf = ctanhf(tmpf);
16744 tmpf = cpowf(tmpf, tmpf);
16745 tmpf = cprojf(tmpf);
16746 d = cabs(tmpd);
16747 d = carg(tmpd);
16748 tmpd = ccos(tmpd);
16749 tmpd = ccosh(tmpd);
16750 tmpd = cexp(tmpd);
16751 tmpd = clog(tmpd);
16752 tmpd = csin(tmpd);
16753 tmpd = csinh(tmpd);
16754 tmpd = csqrt(tmpd);
16755 tmpd = ctan(tmpd);
16756 tmpd = ctanh(tmpd);
16757 tmpd = cpow(tmpd, tmpd);
16758 tmpd = cproj(tmpd);
16759 ld = cabsl(tmpld);
16760 ld = cargl(tmpld);
16761 tmpld = ccosl(tmpld);
16762 tmpld = ccoshl(tmpld);
16763 tmpld = cexpl(tmpld);
16764 tmpld = clogl(tmpld);
16765 tmpld = csinl(tmpld);
16766 tmpld = csinhl(tmpld);
16767 tmpld = csqrtl(tmpld);
16768 tmpld = ctanl(tmpld);
16769 tmpld = ctanhl(tmpld);
16770 tmpld = cpowl(tmpld, tmpld);
16771 tmpld = cprojl(tmpld);
16772
16773 ;
16774 return 0;
16775 }
16776 _ACEOF
16777 if ac_fn_cxx_try_compile "$LINENO"; then :
16778 glibcxx_cv_c99_complex=yes
16779 else
16780 glibcxx_cv_c99_complex=no
16781 fi
16782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16783 else
16784 if test x$gcc_no_link = xyes; then
16785 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16786 fi
16787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h. */
16789 #include <complex.h>
16790 typedef __complex__ float float_type;
16791 typedef __complex__ double double_type;
16792 typedef __complex__ long double ld_type;
16793 volatile float_type tmpf;
16794 volatile double_type tmpd;
16795 volatile ld_type tmpld;
16796 volatile float f;
16797 volatile double d;
16798 volatile long double ld;
16799 int
16800 main ()
16801 {
16802 f = cabsf(tmpf);
16803 f = cargf(tmpf);
16804 tmpf = ccosf(tmpf);
16805 tmpf = ccoshf(tmpf);
16806 tmpf = cexpf(tmpf);
16807 tmpf = clogf(tmpf);
16808 tmpf = csinf(tmpf);
16809 tmpf = csinhf(tmpf);
16810 tmpf = csqrtf(tmpf);
16811 tmpf = ctanf(tmpf);
16812 tmpf = ctanhf(tmpf);
16813 tmpf = cpowf(tmpf, tmpf);
16814 tmpf = cprojf(tmpf);
16815 d = cabs(tmpd);
16816 d = carg(tmpd);
16817 tmpd = ccos(tmpd);
16818 tmpd = ccosh(tmpd);
16819 tmpd = cexp(tmpd);
16820 tmpd = clog(tmpd);
16821 tmpd = csin(tmpd);
16822 tmpd = csinh(tmpd);
16823 tmpd = csqrt(tmpd);
16824 tmpd = ctan(tmpd);
16825 tmpd = ctanh(tmpd);
16826 tmpd = cpow(tmpd, tmpd);
16827 tmpd = cproj(tmpd);
16828 ld = cabsl(tmpld);
16829 ld = cargl(tmpld);
16830 tmpld = ccosl(tmpld);
16831 tmpld = ccoshl(tmpld);
16832 tmpld = cexpl(tmpld);
16833 tmpld = clogl(tmpld);
16834 tmpld = csinl(tmpld);
16835 tmpld = csinhl(tmpld);
16836 tmpld = csqrtl(tmpld);
16837 tmpld = ctanl(tmpld);
16838 tmpld = ctanhl(tmpld);
16839 tmpld = cpowl(tmpld, tmpld);
16840 tmpld = cprojl(tmpld);
16841
16842 ;
16843 return 0;
16844 }
16845 _ACEOF
16846 if ac_fn_cxx_try_link "$LINENO"; then :
16847 glibcxx_cv_c99_complex=yes
16848 else
16849 glibcxx_cv_c99_complex=no
16850 fi
16851 rm -f core conftest.err conftest.$ac_objext \
16852 conftest$ac_exeext conftest.$ac_ext
16853 fi
16854 fi
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16856 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16857 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16858
16859 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16860
16861 fi
16862
16863 # Check for the existence in <stdio.h> of vscanf, et. al.
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16865 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16866 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16867 $as_echo_n "(cached) " >&6
16868 else
16869
16870 if test x$gcc_no_link = xyes; then
16871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16872 /* end confdefs.h. */
16873 #include <stdio.h>
16874 #include <stdarg.h>
16875 void foo(char* fmt, ...)
16876 {
16877 va_list args; va_start(args, fmt);
16878 vfscanf(stderr, "%i", args);
16879 vscanf("%i", args);
16880 vsnprintf(fmt, 0, "%i", args);
16881 vsscanf(fmt, "%i", args);
16882 }
16883 int
16884 main ()
16885 {
16886 snprintf("12", 0, "%i");
16887 ;
16888 return 0;
16889 }
16890 _ACEOF
16891 if ac_fn_cxx_try_compile "$LINENO"; then :
16892 glibcxx_cv_c99_stdio=yes
16893 else
16894 glibcxx_cv_c99_stdio=no
16895 fi
16896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16897 else
16898 if test x$gcc_no_link = xyes; then
16899 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16900 fi
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16903 #include <stdio.h>
16904 #include <stdarg.h>
16905 void foo(char* fmt, ...)
16906 {
16907 va_list args; va_start(args, fmt);
16908 vfscanf(stderr, "%i", args);
16909 vscanf("%i", args);
16910 vsnprintf(fmt, 0, "%i", args);
16911 vsscanf(fmt, "%i", args);
16912 }
16913 int
16914 main ()
16915 {
16916 snprintf("12", 0, "%i");
16917 ;
16918 return 0;
16919 }
16920 _ACEOF
16921 if ac_fn_cxx_try_link "$LINENO"; then :
16922 glibcxx_cv_c99_stdio=yes
16923 else
16924 glibcxx_cv_c99_stdio=no
16925 fi
16926 rm -f core conftest.err conftest.$ac_objext \
16927 conftest$ac_exeext conftest.$ac_ext
16928 fi
16929
16930 fi
16931
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16933 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16934
16935 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16937 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16938 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16939 $as_echo_n "(cached) " >&6
16940 else
16941
16942 if test x$gcc_no_link = xyes; then
16943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h. */
16945 #include <stdlib.h>
16946 volatile float f;
16947 volatile long double ld;
16948 volatile unsigned long long ll;
16949 lldiv_t mydivt;
16950 int
16951 main ()
16952 {
16953 char* tmp;
16954 f = strtof("gnu", &tmp);
16955 ld = strtold("gnu", &tmp);
16956 ll = strtoll("gnu", &tmp, 10);
16957 ll = strtoull("gnu", &tmp, 10);
16958 ll = llabs(10);
16959 mydivt = lldiv(10,1);
16960 ll = mydivt.quot;
16961 ll = mydivt.rem;
16962 ll = atoll("10");
16963 _Exit(0);
16964
16965 ;
16966 return 0;
16967 }
16968 _ACEOF
16969 if ac_fn_cxx_try_compile "$LINENO"; then :
16970 glibcxx_cv_c99_stdlib=yes
16971 else
16972 glibcxx_cv_c99_stdlib=no
16973 fi
16974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16975 else
16976 if test x$gcc_no_link = xyes; then
16977 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16978 fi
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h. */
16981 #include <stdlib.h>
16982 volatile float f;
16983 volatile long double ld;
16984 volatile unsigned long long ll;
16985 lldiv_t mydivt;
16986 int
16987 main ()
16988 {
16989 char* tmp;
16990 f = strtof("gnu", &tmp);
16991 ld = strtold("gnu", &tmp);
16992 ll = strtoll("gnu", &tmp, 10);
16993 ll = strtoull("gnu", &tmp, 10);
16994 ll = llabs(10);
16995 mydivt = lldiv(10,1);
16996 ll = mydivt.quot;
16997 ll = mydivt.rem;
16998 ll = atoll("10");
16999 _Exit(0);
17000
17001 ;
17002 return 0;
17003 }
17004 _ACEOF
17005 if ac_fn_cxx_try_link "$LINENO"; then :
17006 glibcxx_cv_c99_stdlib=yes
17007 else
17008 glibcxx_cv_c99_stdlib=no
17009 fi
17010 rm -f core conftest.err conftest.$ac_objext \
17011 conftest$ac_exeext conftest.$ac_ext
17012 fi
17013
17014 fi
17015
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17017 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17018
17019 # Check for the existence in <wchar.h> of wcstold, etc.
17020 glibcxx_cv_c99_wchar=no;
17021 if test x"$ac_has_wchar_h" = xyes &&
17022 test x"$ac_has_wctype_h" = xyes; then
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17024 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17027 #include <wchar.h>
17028 namespace test
17029 {
17030 using ::wcstold;
17031 using ::wcstoll;
17032 using ::wcstoull;
17033 }
17034
17035 int
17036 main ()
17037 {
17038
17039 ;
17040 return 0;
17041 }
17042 _ACEOF
17043 if ac_fn_cxx_try_compile "$LINENO"; then :
17044 glibcxx_cv_c99_wchar=yes
17045 else
17046 glibcxx_cv_c99_wchar=no
17047 fi
17048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17049
17050 # Checks for wide character functions that may not be present.
17051 # Injection of these is wrapped with guard macros.
17052 # NB: only put functions here, instead of immediately above, if
17053 # absolutely necessary.
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <wchar.h>
17057 namespace test { using ::vfwscanf; }
17058 int
17059 main ()
17060 {
17061
17062 ;
17063 return 0;
17064 }
17065 _ACEOF
17066 if ac_fn_cxx_try_compile "$LINENO"; then :
17067
17068 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17069
17070 fi
17071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17072
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17075 #include <wchar.h>
17076 namespace test { using ::vswscanf; }
17077 int
17078 main ()
17079 {
17080
17081 ;
17082 return 0;
17083 }
17084 _ACEOF
17085 if ac_fn_cxx_try_compile "$LINENO"; then :
17086
17087 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17088
17089 fi
17090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17091
17092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h. */
17094 #include <wchar.h>
17095 namespace test { using ::vwscanf; }
17096 int
17097 main ()
17098 {
17099
17100 ;
17101 return 0;
17102 }
17103 _ACEOF
17104 if ac_fn_cxx_try_compile "$LINENO"; then :
17105
17106 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17107
17108 fi
17109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17110
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17113 #include <wchar.h>
17114 namespace test { using ::wcstof; }
17115 int
17116 main ()
17117 {
17118
17119 ;
17120 return 0;
17121 }
17122 _ACEOF
17123 if ac_fn_cxx_try_compile "$LINENO"; then :
17124
17125 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17126
17127 fi
17128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17129
17130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17132 #include <wctype.h>
17133 int
17134 main ()
17135 {
17136 wint_t t; int i = iswblank(t);
17137 ;
17138 return 0;
17139 }
17140 _ACEOF
17141 if ac_fn_cxx_try_compile "$LINENO"; then :
17142
17143 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17144
17145 fi
17146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17147
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17149 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17150 fi
17151
17152 # Option parsed, now set things appropriately.
17153 if test x"$glibcxx_cv_c99_math" = x"no" ||
17154 test x"$glibcxx_cv_c99_complex" = x"no" ||
17155 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17156 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17157 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17158 enable_c99=no;
17159 else
17160
17161 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17162
17163 fi
17164
17165 gcc_no_link="$ac_save_gcc_no_link"
17166 LIBS="$ac_save_LIBS"
17167 CXXFLAGS="$ac_save_CXXFLAGS"
17168 ac_ext=c
17169 ac_cpp='$CPP $CPPFLAGS'
17170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17173
17174 fi
17175
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17177 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17179 $as_echo "$enable_c99" >&6; }
17180
17181
17182 # Check whether --enable-concept-checks was given.
17183 if test "${enable_concept_checks+set}" = set; then :
17184 enableval=$enable_concept_checks;
17185 case "$enableval" in
17186 yes|no) ;;
17187 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17188 esac
17189
17190 else
17191 enable_concept_checks=no
17192 fi
17193
17194
17195 if test $enable_concept_checks = yes; then
17196
17197 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17198
17199 fi
17200
17201
17202 # Check whether --enable-libstdcxx-debug-flags was given.
17203 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17204 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17205 xno | x) enable_libstdcxx_debug_flags= ;;
17206 x-*) ;;
17207 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17208 esac
17209 else
17210 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17211 fi
17212
17213
17214
17215 # Option parsed, now set things appropriately
17216 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17217
17218
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17220 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17221
17222
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17224 $as_echo_n "checking for additional debug build... " >&6; }
17225 # Check whether --enable-libstdcxx-debug was given.
17226 if test "${enable_libstdcxx_debug+set}" = set; then :
17227 enableval=$enable_libstdcxx_debug;
17228 case "$enableval" in
17229 yes|no) ;;
17230 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17231 esac
17232
17233 else
17234 enable_libstdcxx_debug=no
17235 fi
17236
17237
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17239 $as_echo "$enable_libstdcxx_debug" >&6; }
17240
17241
17242
17243
17244 enable_parallel=no;
17245
17246 # See if configured libgomp/omp.h exists. (libgomp may be in
17247 # noconfigdirs but not explicitly disabled.)
17248 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17249 enable_parallel=yes;
17250 else
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17252 $as_echo "$as_me: target-libgomp not built" >&6;}
17253 fi
17254
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17256 $as_echo_n "checking for parallel mode support... " >&6; }
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17258 $as_echo "$enable_parallel" >&6; }
17259
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17261 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17262 # Check whether --enable-cxx-flags was given.
17263 if test "${enable_cxx_flags+set}" = set; then :
17264 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17265 xno | x) enable_cxx_flags= ;;
17266 x-*) ;;
17267 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17268 esac
17269 else
17270 enable_cxx_flags=
17271 fi
17272
17273
17274
17275 # Run through flags (either default or command-line) and set anything
17276 # extra (e.g., #defines) that must accompany particular g++ options.
17277 if test -n "$enable_cxx_flags"; then
17278 for f in $enable_cxx_flags; do
17279 case "$f" in
17280 -fhonor-std) ;;
17281 -*) ;;
17282 *) # and we're trying to pass /what/ exactly?
17283 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17284 esac
17285 done
17286 fi
17287
17288 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17290 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17291
17292
17293
17294 # Check whether --enable-fully-dynamic-string was given.
17295 if test "${enable_fully_dynamic_string+set}" = set; then :
17296 enableval=$enable_fully_dynamic_string;
17297 case "$enableval" in
17298 yes|no) ;;
17299 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17300 esac
17301
17302 else
17303 enable_fully_dynamic_string=no
17304 fi
17305
17306
17307 if test $enable_fully_dynamic_string = yes; then
17308 enable_fully_dynamic_string_def=1
17309 else
17310 enable_fully_dynamic_string_def=0
17311 fi
17312
17313 cat >>confdefs.h <<_ACEOF
17314 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17315 _ACEOF
17316
17317
17318
17319
17320 # Check whether --enable-extern-template was given.
17321 if test "${enable_extern_template+set}" = set; then :
17322 enableval=$enable_extern_template;
17323 case "$enableval" in
17324 yes|no) ;;
17325 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17326 esac
17327
17328 else
17329 enable_extern_template=yes
17330 fi
17331
17332
17333
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17335 $as_echo_n "checking for extern template support... " >&6; }
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17337 $as_echo "$enable_extern_template" >&6; }
17338
17339
17340
17341
17342
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17344 $as_echo_n "checking for custom python install directory... " >&6; }
17345
17346 # Check whether --with-python-dir was given.
17347 if test "${with_python_dir+set}" = set; then :
17348 withval=$with_python_dir; with_python_dir=$withval
17349 else
17350 with_python_dir="no"
17351 fi
17352
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17354 $as_echo "${with_python_dir}" >&6; }
17355
17356 # Needed for installing Python modules during make install.
17357 python_mod_dir="${with_python_dir}"
17358
17359
17360
17361
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17363 $as_echo_n "checking for -Werror... " >&6; }
17364 # Check whether --enable-werror was given.
17365 if test "${enable_werror+set}" = set; then :
17366 enableval=$enable_werror;
17367 case "$enableval" in
17368 yes|no) ;;
17369 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17370 esac
17371
17372 else
17373 enable_werror=yes
17374 fi
17375
17376
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17378 $as_echo "$enable_werror" >&6; }
17379
17380
17381
17382 # Checks for operating systems support that doesn't require linking.
17383
17384
17385
17386 ac_ext=cpp
17387 ac_cpp='$CXXCPP $CPPFLAGS'
17388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17391
17392
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17394 $as_echo_n "checking for gets declaration... " >&6; }
17395 if test "${glibcxx_cv_gets+set}" = set; then :
17396 $as_echo_n "(cached) " >&6
17397 else
17398
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17401 #include <stdio.h>
17402 namespace test
17403 {
17404 using ::gets;
17405 }
17406
17407 _ACEOF
17408 if ac_fn_cxx_try_compile "$LINENO"; then :
17409 glibcxx_cv_gets=yes
17410 else
17411 glibcxx_cv_gets=no
17412
17413 fi
17414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17415 fi
17416
17417
17418 if test $glibcxx_cv_gets = yes; then
17419
17420 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17421
17422 fi
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17424 $as_echo "$glibcxx_cv_gets" >&6; }
17425
17426 ac_ext=c
17427 ac_cpp='$CPP $CPPFLAGS'
17428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17431
17432
17433
17434
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17436 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17437 if test "${glibcxx_cv_system_error1+set}" = set; then :
17438 $as_echo_n "(cached) " >&6
17439 else
17440
17441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17442 /* end confdefs.h. */
17443 #include <errno.h>
17444 int
17445 main ()
17446 {
17447 int i = EOWNERDEAD;
17448 ;
17449 return 0;
17450 }
17451 _ACEOF
17452 if ac_fn_c_try_compile "$LINENO"; then :
17453 glibcxx_cv_system_error1=yes
17454 else
17455 glibcxx_cv_system_error1=no
17456 fi
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17458
17459 fi
17460
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17462 $as_echo "$glibcxx_cv_system_error1" >&6; }
17463 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17464
17465 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17466
17467 fi
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17469 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17470 if test "${glibcxx_cv_system_error2+set}" = set; then :
17471 $as_echo_n "(cached) " >&6
17472 else
17473
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17476 #include <errno.h>
17477 int
17478 main ()
17479 {
17480 int i = ENOTRECOVERABLE;
17481 ;
17482 return 0;
17483 }
17484 _ACEOF
17485 if ac_fn_c_try_compile "$LINENO"; then :
17486 glibcxx_cv_system_error2=yes
17487 else
17488 glibcxx_cv_system_error2=no
17489 fi
17490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17491
17492 fi
17493
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17495 $as_echo "$glibcxx_cv_system_error2" >&6; }
17496 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17497
17498 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17499
17500 fi
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17502 $as_echo_n "checking for ENOLINK... " >&6; }
17503 if test "${glibcxx_cv_system_error3+set}" = set; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17506
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17509 #include <errno.h>
17510 int
17511 main ()
17512 {
17513 int i = ENOLINK;
17514 ;
17515 return 0;
17516 }
17517 _ACEOF
17518 if ac_fn_c_try_compile "$LINENO"; then :
17519 glibcxx_cv_system_error3=yes
17520 else
17521 glibcxx_cv_system_error3=no
17522 fi
17523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17524
17525 fi
17526
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17528 $as_echo "$glibcxx_cv_system_error3" >&6; }
17529 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17530
17531 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17532
17533 fi
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17535 $as_echo_n "checking for EPROTO... " >&6; }
17536 if test "${glibcxx_cv_system_error4+set}" = set; then :
17537 $as_echo_n "(cached) " >&6
17538 else
17539
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h. */
17542 #include <errno.h>
17543 int
17544 main ()
17545 {
17546 int i = EPROTO;
17547 ;
17548 return 0;
17549 }
17550 _ACEOF
17551 if ac_fn_c_try_compile "$LINENO"; then :
17552 glibcxx_cv_system_error4=yes
17553 else
17554 glibcxx_cv_system_error4=no
17555 fi
17556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17557
17558 fi
17559
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17561 $as_echo "$glibcxx_cv_system_error4" >&6; }
17562 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17563
17564 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17565
17566 fi
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17568 $as_echo_n "checking for ENODATA... " >&6; }
17569 if test "${glibcxx_cv_system_error5+set}" = set; then :
17570 $as_echo_n "(cached) " >&6
17571 else
17572
17573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h. */
17575 #include <errno.h>
17576 int
17577 main ()
17578 {
17579 int i = ENODATA;
17580 ;
17581 return 0;
17582 }
17583 _ACEOF
17584 if ac_fn_c_try_compile "$LINENO"; then :
17585 glibcxx_cv_system_error5=yes
17586 else
17587 glibcxx_cv_system_error5=no
17588 fi
17589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17590
17591 fi
17592
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17594 $as_echo "$glibcxx_cv_system_error5" >&6; }
17595 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17596
17597 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17598
17599 fi
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17601 $as_echo_n "checking for ENOSR... " >&6; }
17602 if test "${glibcxx_cv_system_error6+set}" = set; then :
17603 $as_echo_n "(cached) " >&6
17604 else
17605
17606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h. */
17608 #include <errno.h>
17609 int
17610 main ()
17611 {
17612 int i = ENOSR;
17613 ;
17614 return 0;
17615 }
17616 _ACEOF
17617 if ac_fn_c_try_compile "$LINENO"; then :
17618 glibcxx_cv_system_error6=yes
17619 else
17620 glibcxx_cv_system_error6=no
17621 fi
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17623
17624 fi
17625
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17627 $as_echo "$glibcxx_cv_system_error6" >&6; }
17628 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17629
17630 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17631
17632 fi
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17634 $as_echo_n "checking for ENOSTR... " >&6; }
17635 if test "${glibcxx_cv_system_error7+set}" = set; then :
17636 $as_echo_n "(cached) " >&6
17637 else
17638
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17641 #include <errno.h>
17642 int
17643 main ()
17644 {
17645 int i = ENOSTR;
17646 ;
17647 return 0;
17648 }
17649 _ACEOF
17650 if ac_fn_c_try_compile "$LINENO"; then :
17651 glibcxx_cv_system_error7=yes
17652 else
17653 glibcxx_cv_system_error7=no
17654 fi
17655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17656
17657 fi
17658
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17660 $as_echo "$glibcxx_cv_system_error7" >&6; }
17661 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17662
17663 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17664
17665 fi
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17667 $as_echo_n "checking for ETIME... " >&6; }
17668 if test "${glibcxx_cv_system_error8+set}" = set; then :
17669 $as_echo_n "(cached) " >&6
17670 else
17671
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17674 #include <errno.h>
17675 int
17676 main ()
17677 {
17678 int i = ETIME;
17679 ;
17680 return 0;
17681 }
17682 _ACEOF
17683 if ac_fn_c_try_compile "$LINENO"; then :
17684 glibcxx_cv_system_error8=yes
17685 else
17686 glibcxx_cv_system_error8=no
17687 fi
17688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17689
17690 fi
17691
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17693 $as_echo "$glibcxx_cv_system_error8" >&6; }
17694 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17695
17696 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17697
17698 fi
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17700 $as_echo_n "checking for EBADMSG... " >&6; }
17701 if test "${glibcxx_cv_system_error9+set}" = set; then :
17702 $as_echo_n "(cached) " >&6
17703 else
17704
17705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h. */
17707 #include <errno.h>
17708 int
17709 main ()
17710 {
17711 int i = EBADMSG;
17712 ;
17713 return 0;
17714 }
17715 _ACEOF
17716 if ac_fn_c_try_compile "$LINENO"; then :
17717 glibcxx_cv_system_error9=yes
17718 else
17719 glibcxx_cv_system_error9=no
17720 fi
17721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17722
17723 fi
17724
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17726 $as_echo "$glibcxx_cv_system_error9" >&6; }
17727 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17728
17729 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17730
17731 fi
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17733 $as_echo_n "checking for ECANCELED... " >&6; }
17734 if test "${glibcxx_cv_system_error10+set}" = set; then :
17735 $as_echo_n "(cached) " >&6
17736 else
17737
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17740 #include <errno.h>
17741 int
17742 main ()
17743 {
17744 int i = ECANCELED;
17745 ;
17746 return 0;
17747 }
17748 _ACEOF
17749 if ac_fn_c_try_compile "$LINENO"; then :
17750 glibcxx_cv_system_error10=yes
17751 else
17752 glibcxx_cv_system_error10=no
17753 fi
17754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17755
17756 fi
17757
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17759 $as_echo "$glibcxx_cv_system_error10" >&6; }
17760 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17761
17762 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17763
17764 fi
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17766 $as_echo_n "checking for EOVERFLOW... " >&6; }
17767 if test "${glibcxx_cv_system_error11+set}" = set; then :
17768 $as_echo_n "(cached) " >&6
17769 else
17770
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17773 #include <errno.h>
17774 int
17775 main ()
17776 {
17777 int i = EOVERFLOW;
17778 ;
17779 return 0;
17780 }
17781 _ACEOF
17782 if ac_fn_c_try_compile "$LINENO"; then :
17783 glibcxx_cv_system_error11=yes
17784 else
17785 glibcxx_cv_system_error11=no
17786 fi
17787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17788
17789 fi
17790
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17792 $as_echo "$glibcxx_cv_system_error11" >&6; }
17793 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17794
17795 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17796
17797 fi
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17799 $as_echo_n "checking for ENOTSUP... " >&6; }
17800 if test "${glibcxx_cv_system_error12+set}" = set; then :
17801 $as_echo_n "(cached) " >&6
17802 else
17803
17804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805 /* end confdefs.h. */
17806 #include <errno.h>
17807 int
17808 main ()
17809 {
17810 int i = ENOTSUP;
17811 ;
17812 return 0;
17813 }
17814 _ACEOF
17815 if ac_fn_c_try_compile "$LINENO"; then :
17816 glibcxx_cv_system_error12=yes
17817 else
17818 glibcxx_cv_system_error12=no
17819 fi
17820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17821
17822 fi
17823
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17825 $as_echo "$glibcxx_cv_system_error12" >&6; }
17826 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17827
17828 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17829
17830 fi
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17832 $as_echo_n "checking for EIDRM... " >&6; }
17833 if test "${glibcxx_cv_system_error13+set}" = set; then :
17834 $as_echo_n "(cached) " >&6
17835 else
17836
17837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17838 /* end confdefs.h. */
17839 #include <errno.h>
17840 int
17841 main ()
17842 {
17843 int i = EIDRM;
17844 ;
17845 return 0;
17846 }
17847 _ACEOF
17848 if ac_fn_c_try_compile "$LINENO"; then :
17849 glibcxx_cv_system_error13=yes
17850 else
17851 glibcxx_cv_system_error13=no
17852 fi
17853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17854
17855 fi
17856
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17858 $as_echo "$glibcxx_cv_system_error13" >&6; }
17859 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17860
17861 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17862
17863 fi
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17865 $as_echo_n "checking for ETXTBSY... " >&6; }
17866 if test "${glibcxx_cv_system_error14+set}" = set; then :
17867 $as_echo_n "(cached) " >&6
17868 else
17869
17870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17871 /* end confdefs.h. */
17872 #include <errno.h>
17873 int
17874 main ()
17875 {
17876 int i = ETXTBSY;
17877 ;
17878 return 0;
17879 }
17880 _ACEOF
17881 if ac_fn_c_try_compile "$LINENO"; then :
17882 glibcxx_cv_system_error14=yes
17883 else
17884 glibcxx_cv_system_error14=no
17885 fi
17886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17887
17888 fi
17889
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17891 $as_echo "$glibcxx_cv_system_error14" >&6; }
17892 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17893
17894 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17895
17896 fi
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17898 $as_echo_n "checking for ECHILD... " >&6; }
17899 if test "${glibcxx_cv_system_error15+set}" = set; then :
17900 $as_echo_n "(cached) " >&6
17901 else
17902
17903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17904 /* end confdefs.h. */
17905 #include <errno.h>
17906 int
17907 main ()
17908 {
17909 int i = ECHILD;
17910 ;
17911 return 0;
17912 }
17913 _ACEOF
17914 if ac_fn_c_try_compile "$LINENO"; then :
17915 glibcxx_cv_system_error15=yes
17916 else
17917 glibcxx_cv_system_error15=no
17918 fi
17919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17920
17921 fi
17922
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17924 $as_echo "$glibcxx_cv_system_error15" >&6; }
17925 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17926
17927 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17928
17929 fi
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17931 $as_echo_n "checking for ENOSPC... " >&6; }
17932 if test "${glibcxx_cv_system_error16+set}" = set; then :
17933 $as_echo_n "(cached) " >&6
17934 else
17935
17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h. */
17938 #include <errno.h>
17939 int
17940 main ()
17941 {
17942 int i = ENOSPC;
17943 ;
17944 return 0;
17945 }
17946 _ACEOF
17947 if ac_fn_c_try_compile "$LINENO"; then :
17948 glibcxx_cv_system_error16=yes
17949 else
17950 glibcxx_cv_system_error16=no
17951 fi
17952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17953
17954 fi
17955
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17957 $as_echo "$glibcxx_cv_system_error16" >&6; }
17958 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17959
17960 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17961
17962 fi
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17964 $as_echo_n "checking for EPERM... " >&6; }
17965 if test "${glibcxx_cv_system_error17+set}" = set; then :
17966 $as_echo_n "(cached) " >&6
17967 else
17968
17969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17970 /* end confdefs.h. */
17971 #include <errno.h>
17972 int
17973 main ()
17974 {
17975 int i = EPERM;
17976 ;
17977 return 0;
17978 }
17979 _ACEOF
17980 if ac_fn_c_try_compile "$LINENO"; then :
17981 glibcxx_cv_system_error17=yes
17982 else
17983 glibcxx_cv_system_error17=no
17984 fi
17985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17986
17987 fi
17988
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17990 $as_echo "$glibcxx_cv_system_error17" >&6; }
17991 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17992
17993 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17994
17995 fi
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17997 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17998 if test "${glibcxx_cv_system_error18+set}" = set; then :
17999 $as_echo_n "(cached) " >&6
18000 else
18001
18002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18003 /* end confdefs.h. */
18004 #include <errno.h>
18005 int
18006 main ()
18007 {
18008 int i = ETIMEDOUT;
18009 ;
18010 return 0;
18011 }
18012 _ACEOF
18013 if ac_fn_c_try_compile "$LINENO"; then :
18014 glibcxx_cv_system_error18=yes
18015 else
18016 glibcxx_cv_system_error18=no
18017 fi
18018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18019
18020 fi
18021
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18023 $as_echo "$glibcxx_cv_system_error18" >&6; }
18024 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18025
18026 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18027
18028 fi
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18030 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18031 if test "${glibcxx_cv_system_error19+set}" = set; then :
18032 $as_echo_n "(cached) " >&6
18033 else
18034
18035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18036 /* end confdefs.h. */
18037 #include <errno.h>
18038 int
18039 main ()
18040 {
18041 int i = EWOULDBLOCK;
18042 ;
18043 return 0;
18044 }
18045 _ACEOF
18046 if ac_fn_c_try_compile "$LINENO"; then :
18047 glibcxx_cv_system_error19=yes
18048 else
18049 glibcxx_cv_system_error19=no
18050 fi
18051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18052
18053 fi
18054
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18056 $as_echo "$glibcxx_cv_system_error19" >&6; }
18057 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18058
18059 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18060
18061 fi
18062
18063
18064
18065 # For the streamoff typedef.
18066
18067
18068
18069 ac_ext=cpp
18070 ac_cpp='$CXXCPP $CPPFLAGS'
18071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18074
18075
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18077 $as_echo_n "checking for int64_t... " >&6; }
18078 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18079 $as_echo_n "(cached) " >&6
18080 else
18081
18082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18084 #include <stdint.h>
18085 int
18086 main ()
18087 {
18088 int64_t var;
18089 ;
18090 return 0;
18091 }
18092 _ACEOF
18093 if ac_fn_cxx_try_compile "$LINENO"; then :
18094 glibcxx_cv_INT64_T=yes
18095 else
18096 glibcxx_cv_INT64_T=no
18097 fi
18098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18099
18100 fi
18101
18102
18103 if test $glibcxx_cv_INT64_T = yes; then
18104
18105 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18106
18107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18108 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18109
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18111 $as_echo_n "checking for int64_t as long... " >&6; }
18112 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18113 $as_echo_n "(cached) " >&6
18114 else
18115
18116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h. */
18118 #include <stdint.h>
18119 template<typename, typename> struct same { enum { value = -1 }; };
18120 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18121 int array[same<int64_t, long>::value];
18122 int
18123 main ()
18124 {
18125
18126 ;
18127 return 0;
18128 }
18129 _ACEOF
18130 if ac_fn_cxx_try_compile "$LINENO"; then :
18131 glibcxx_cv_int64_t_long=yes
18132 else
18133 glibcxx_cv_int64_t_long=no
18134 fi
18135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18136
18137 fi
18138
18139
18140 if test $glibcxx_cv_int64_t_long = yes; then
18141
18142 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18143
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18145 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18146 fi
18147
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18149 $as_echo_n "checking for int64_t as long long... " >&6; }
18150 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18151 $as_echo_n "(cached) " >&6
18152 else
18153
18154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h. */
18156 #include <stdint.h>
18157 template<typename, typename> struct same { enum { value = -1 }; };
18158 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18159 int array[same<int64_t, long long>::value];
18160 int
18161 main ()
18162 {
18163
18164 ;
18165 return 0;
18166 }
18167 _ACEOF
18168 if ac_fn_cxx_try_compile "$LINENO"; then :
18169 glibcxx_cv_int64_t_long_long=yes
18170 else
18171 glibcxx_cv_int64_t_long_long=no
18172 fi
18173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18174
18175 fi
18176
18177
18178 if test $glibcxx_cv_int64_t_long_long = yes; then
18179
18180 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18181
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18183 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18184 fi
18185 fi
18186
18187 ac_ext=c
18188 ac_cpp='$CPP $CPPFLAGS'
18189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18192
18193
18194
18195 # For LFS support.
18196
18197
18198 ac_ext=cpp
18199 ac_cpp='$CXXCPP $CPPFLAGS'
18200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18203
18204 ac_save_CXXFLAGS="$CXXFLAGS"
18205 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18207 $as_echo_n "checking for LFS support... " >&6; }
18208 if test "${glibcxx_cv_LFS+set}" = set; then :
18209 $as_echo_n "(cached) " >&6
18210 else
18211
18212 if test x$gcc_no_link = xyes; then
18213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h. */
18215 #include <unistd.h>
18216 #include <stdio.h>
18217 #include <sys/stat.h>
18218
18219 int
18220 main ()
18221 {
18222 FILE* fp;
18223 fopen64("t", "w");
18224 fseeko64(fp, 0, SEEK_CUR);
18225 ftello64(fp);
18226 lseek64(1, 0, SEEK_CUR);
18227 struct stat64 buf;
18228 fstat64(1, &buf);
18229 ;
18230 return 0;
18231 }
18232 _ACEOF
18233 if ac_fn_cxx_try_compile "$LINENO"; then :
18234 glibcxx_cv_LFS=yes
18235 else
18236 glibcxx_cv_LFS=no
18237 fi
18238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18239 else
18240 if test x$gcc_no_link = xyes; then
18241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18242 fi
18243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18244 /* end confdefs.h. */
18245 #include <unistd.h>
18246 #include <stdio.h>
18247 #include <sys/stat.h>
18248
18249 int
18250 main ()
18251 {
18252 FILE* fp;
18253 fopen64("t", "w");
18254 fseeko64(fp, 0, SEEK_CUR);
18255 ftello64(fp);
18256 lseek64(1, 0, SEEK_CUR);
18257 struct stat64 buf;
18258 fstat64(1, &buf);
18259 ;
18260 return 0;
18261 }
18262 _ACEOF
18263 if ac_fn_cxx_try_link "$LINENO"; then :
18264 glibcxx_cv_LFS=yes
18265 else
18266 glibcxx_cv_LFS=no
18267 fi
18268 rm -f core conftest.err conftest.$ac_objext \
18269 conftest$ac_exeext conftest.$ac_ext
18270 fi
18271
18272 fi
18273
18274 if test $glibcxx_cv_LFS = yes; then
18275
18276 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18277
18278 fi
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18280 $as_echo "$glibcxx_cv_LFS" >&6; }
18281 CXXFLAGS="$ac_save_CXXFLAGS"
18282 ac_ext=c
18283 ac_cpp='$CPP $CPPFLAGS'
18284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18287
18288
18289
18290 # For showmanyc_helper().
18291 for ac_header in sys/ioctl.h sys/filio.h
18292 do :
18293 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18294 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18295 eval as_val=\$$as_ac_Header
18296 if test "x$as_val" = x""yes; then :
18297 cat >>confdefs.h <<_ACEOF
18298 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18299 _ACEOF
18300
18301 fi
18302
18303 done
18304
18305
18306
18307
18308 ac_ext=cpp
18309 ac_cpp='$CXXCPP $CPPFLAGS'
18310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18313
18314 ac_save_CXXFLAGS="$CXXFLAGS"
18315 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18316
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18318 $as_echo_n "checking for poll... " >&6; }
18319 if test "${glibcxx_cv_POLL+set}" = set; then :
18320 $as_echo_n "(cached) " >&6
18321 else
18322
18323 if test x$gcc_no_link = xyes; then
18324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h. */
18326 #include <poll.h>
18327 int
18328 main ()
18329 {
18330 struct pollfd pfd[1];
18331 pfd[0].events = POLLIN;
18332 poll(pfd, 1, 0);
18333 ;
18334 return 0;
18335 }
18336 _ACEOF
18337 if ac_fn_cxx_try_compile "$LINENO"; then :
18338 glibcxx_cv_POLL=yes
18339 else
18340 glibcxx_cv_POLL=no
18341 fi
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18343 else
18344 if test x$gcc_no_link = xyes; then
18345 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18346 fi
18347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h. */
18349 #include <poll.h>
18350 int
18351 main ()
18352 {
18353 struct pollfd pfd[1];
18354 pfd[0].events = POLLIN;
18355 poll(pfd, 1, 0);
18356 ;
18357 return 0;
18358 }
18359 _ACEOF
18360 if ac_fn_cxx_try_link "$LINENO"; then :
18361 glibcxx_cv_POLL=yes
18362 else
18363 glibcxx_cv_POLL=no
18364 fi
18365 rm -f core conftest.err conftest.$ac_objext \
18366 conftest$ac_exeext conftest.$ac_ext
18367 fi
18368
18369 fi
18370
18371 if test $glibcxx_cv_POLL = yes; then
18372
18373 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18374
18375 fi
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18377 $as_echo "$glibcxx_cv_POLL" >&6; }
18378
18379 CXXFLAGS="$ac_save_CXXFLAGS"
18380 ac_ext=c
18381 ac_cpp='$CPP $CPPFLAGS'
18382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18385
18386
18387
18388
18389
18390 ac_ext=cpp
18391 ac_cpp='$CXXCPP $CPPFLAGS'
18392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18395
18396 ac_save_CXXFLAGS="$CXXFLAGS"
18397 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18398
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18400 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18401 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18402 $as_echo_n "(cached) " >&6
18403 else
18404
18405 if test x$gcc_no_link = xyes; then
18406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18408 #include <sys/stat.h>
18409 int
18410 main ()
18411 {
18412 struct stat buffer;
18413 fstat(0, &buffer);
18414 S_ISREG(buffer.st_mode);
18415 ;
18416 return 0;
18417 }
18418 _ACEOF
18419 if ac_fn_cxx_try_compile "$LINENO"; then :
18420 glibcxx_cv_S_ISREG=yes
18421 else
18422 glibcxx_cv_S_ISREG=no
18423 fi
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425 else
18426 if test x$gcc_no_link = xyes; then
18427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18428 fi
18429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18430 /* end confdefs.h. */
18431 #include <sys/stat.h>
18432 int
18433 main ()
18434 {
18435 struct stat buffer;
18436 fstat(0, &buffer);
18437 S_ISREG(buffer.st_mode);
18438 ;
18439 return 0;
18440 }
18441 _ACEOF
18442 if ac_fn_cxx_try_link "$LINENO"; then :
18443 glibcxx_cv_S_ISREG=yes
18444 else
18445 glibcxx_cv_S_ISREG=no
18446 fi
18447 rm -f core conftest.err conftest.$ac_objext \
18448 conftest$ac_exeext conftest.$ac_ext
18449 fi
18450
18451 fi
18452
18453 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18454 $as_echo_n "(cached) " >&6
18455 else
18456
18457 if test x$gcc_no_link = xyes; then
18458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18459 /* end confdefs.h. */
18460 #include <sys/stat.h>
18461 int
18462 main ()
18463 {
18464 struct stat buffer;
18465 fstat(0, &buffer);
18466 S_IFREG & buffer.st_mode;
18467 ;
18468 return 0;
18469 }
18470 _ACEOF
18471 if ac_fn_cxx_try_compile "$LINENO"; then :
18472 glibcxx_cv_S_IFREG=yes
18473 else
18474 glibcxx_cv_S_IFREG=no
18475 fi
18476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18477 else
18478 if test x$gcc_no_link = xyes; then
18479 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18480 fi
18481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h. */
18483 #include <sys/stat.h>
18484 int
18485 main ()
18486 {
18487 struct stat buffer;
18488 fstat(0, &buffer);
18489 S_IFREG & buffer.st_mode;
18490 ;
18491 return 0;
18492 }
18493 _ACEOF
18494 if ac_fn_cxx_try_link "$LINENO"; then :
18495 glibcxx_cv_S_IFREG=yes
18496 else
18497 glibcxx_cv_S_IFREG=no
18498 fi
18499 rm -f core conftest.err conftest.$ac_objext \
18500 conftest$ac_exeext conftest.$ac_ext
18501 fi
18502
18503 fi
18504
18505 res=no
18506 if test $glibcxx_cv_S_ISREG = yes; then
18507
18508 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18509
18510 res=S_ISREG
18511 elif test $glibcxx_cv_S_IFREG = yes; then
18512
18513 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18514
18515 res=S_IFREG
18516 fi
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18518 $as_echo "$res" >&6; }
18519
18520 CXXFLAGS="$ac_save_CXXFLAGS"
18521 ac_ext=c
18522 ac_cpp='$CPP $CPPFLAGS'
18523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18526
18527
18528
18529 # For xsputn_2().
18530 for ac_header in sys/uio.h
18531 do :
18532 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18533 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18534 cat >>confdefs.h <<_ACEOF
18535 #define HAVE_SYS_UIO_H 1
18536 _ACEOF
18537
18538 fi
18539
18540 done
18541
18542
18543
18544
18545 ac_ext=cpp
18546 ac_cpp='$CXXCPP $CPPFLAGS'
18547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18550
18551 ac_save_CXXFLAGS="$CXXFLAGS"
18552 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18553
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18555 $as_echo_n "checking for writev... " >&6; }
18556 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18557 $as_echo_n "(cached) " >&6
18558 else
18559
18560 if test x$gcc_no_link = xyes; then
18561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18563 #include <sys/uio.h>
18564 int
18565 main ()
18566 {
18567 struct iovec iov[2];
18568 writev(0, iov, 0);
18569 ;
18570 return 0;
18571 }
18572 _ACEOF
18573 if ac_fn_cxx_try_compile "$LINENO"; then :
18574 glibcxx_cv_WRITEV=yes
18575 else
18576 glibcxx_cv_WRITEV=no
18577 fi
18578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18579 else
18580 if test x$gcc_no_link = xyes; then
18581 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18582 fi
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18585 #include <sys/uio.h>
18586 int
18587 main ()
18588 {
18589 struct iovec iov[2];
18590 writev(0, iov, 0);
18591 ;
18592 return 0;
18593 }
18594 _ACEOF
18595 if ac_fn_cxx_try_link "$LINENO"; then :
18596 glibcxx_cv_WRITEV=yes
18597 else
18598 glibcxx_cv_WRITEV=no
18599 fi
18600 rm -f core conftest.err conftest.$ac_objext \
18601 conftest$ac_exeext conftest.$ac_ext
18602 fi
18603
18604 fi
18605
18606 if test $glibcxx_cv_WRITEV = yes; then
18607
18608 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18609
18610 fi
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18612 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18613
18614 CXXFLAGS="$ac_save_CXXFLAGS"
18615 ac_ext=c
18616 ac_cpp='$CPP $CPPFLAGS'
18617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18620
18621
18622
18623 # For C99 support to TR1.
18624
18625
18626
18627 ac_ext=cpp
18628 ac_cpp='$CXXCPP $CPPFLAGS'
18629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18632
18633
18634 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18635 # undefined and fake C99 facilities may be spuriously enabled.
18636 ac_save_CXXFLAGS="$CXXFLAGS"
18637 CXXFLAGS="$CXXFLAGS -std=c++98"
18638
18639 # Check for the existence of <complex.h> complex math functions used
18640 # by tr1/complex.
18641 for ac_header in complex.h
18642 do :
18643 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18644 if test "x$ac_cv_header_complex_h" = x""yes; then :
18645 cat >>confdefs.h <<_ACEOF
18646 #define HAVE_COMPLEX_H 1
18647 _ACEOF
18648 ac_has_complex_h=yes
18649 else
18650 ac_has_complex_h=no
18651 fi
18652
18653 done
18654
18655 ac_c99_complex_tr1=no;
18656 if test x"$ac_has_complex_h" = x"yes"; then
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18658 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18661 #include <complex.h>
18662 int
18663 main ()
18664 {
18665 typedef __complex__ float float_type; float_type tmpf;
18666 cacosf(tmpf);
18667 casinf(tmpf);
18668 catanf(tmpf);
18669 cacoshf(tmpf);
18670 casinhf(tmpf);
18671 catanhf(tmpf);
18672 typedef __complex__ double double_type; double_type tmpd;
18673 cacos(tmpd);
18674 casin(tmpd);
18675 catan(tmpd);
18676 cacosh(tmpd);
18677 casinh(tmpd);
18678 catanh(tmpd);
18679 typedef __complex__ long double ld_type; ld_type tmpld;
18680 cacosl(tmpld);
18681 casinl(tmpld);
18682 catanl(tmpld);
18683 cacoshl(tmpld);
18684 casinhl(tmpld);
18685 catanhl(tmpld);
18686
18687 ;
18688 return 0;
18689 }
18690 _ACEOF
18691 if ac_fn_cxx_try_compile "$LINENO"; then :
18692 ac_c99_complex_tr1=yes
18693 else
18694 ac_c99_complex_tr1=no
18695 fi
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697 fi
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18699 $as_echo "$ac_c99_complex_tr1" >&6; }
18700 if test x"$ac_c99_complex_tr1" = x"yes"; then
18701
18702 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18703
18704 fi
18705
18706 # Check for the existence of <ctype.h> functions.
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18708 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18709 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18710 $as_echo_n "(cached) " >&6
18711 else
18712
18713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714 /* end confdefs.h. */
18715 #include <ctype.h>
18716 int
18717 main ()
18718 {
18719 int ch;
18720 int ret;
18721 ret = isblank(ch);
18722
18723 ;
18724 return 0;
18725 }
18726 _ACEOF
18727 if ac_fn_cxx_try_compile "$LINENO"; then :
18728 glibcxx_cv_c99_ctype_tr1=yes
18729 else
18730 glibcxx_cv_c99_ctype_tr1=no
18731 fi
18732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18733
18734 fi
18735
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18737 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18738 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18739
18740 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18741
18742 fi
18743
18744 # Check for the existence of <fenv.h> functions.
18745 for ac_header in fenv.h
18746 do :
18747 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18748 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18749 cat >>confdefs.h <<_ACEOF
18750 #define HAVE_FENV_H 1
18751 _ACEOF
18752 ac_has_fenv_h=yes
18753 else
18754 ac_has_fenv_h=no
18755 fi
18756
18757 done
18758
18759 ac_c99_fenv_tr1=no;
18760 if test x"$ac_has_fenv_h" = x"yes"; then
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18762 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18764 /* end confdefs.h. */
18765 #include <fenv.h>
18766 int
18767 main ()
18768 {
18769 int except, mode;
18770 fexcept_t* pflag;
18771 fenv_t* penv;
18772 int ret;
18773 ret = feclearexcept(except);
18774 ret = fegetexceptflag(pflag, except);
18775 ret = feraiseexcept(except);
18776 ret = fesetexceptflag(pflag, except);
18777 ret = fetestexcept(except);
18778 ret = fegetround();
18779 ret = fesetround(mode);
18780 ret = fegetenv(penv);
18781 ret = feholdexcept(penv);
18782 ret = fesetenv(penv);
18783 ret = feupdateenv(penv);
18784
18785 ;
18786 return 0;
18787 }
18788 _ACEOF
18789 if ac_fn_cxx_try_compile "$LINENO"; then :
18790 ac_c99_fenv_tr1=yes
18791 else
18792 ac_c99_fenv_tr1=no
18793 fi
18794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18795 fi
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18797 $as_echo "$ac_c99_fenv_tr1" >&6; }
18798 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18799
18800 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18801
18802 fi
18803
18804 # Check for the existence of <stdint.h> types.
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18806 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18807 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18808 $as_echo_n "(cached) " >&6
18809 else
18810
18811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h. */
18813 #define __STDC_LIMIT_MACROS
18814 #define __STDC_CONSTANT_MACROS
18815 #include <stdint.h>
18816 int
18817 main ()
18818 {
18819 typedef int8_t my_int8_t;
18820 my_int8_t i8 = INT8_MIN;
18821 i8 = INT8_MAX;
18822 typedef int16_t my_int16_t;
18823 my_int16_t i16 = INT16_MIN;
18824 i16 = INT16_MAX;
18825 typedef int32_t my_int32_t;
18826 my_int32_t i32 = INT32_MIN;
18827 i32 = INT32_MAX;
18828 typedef int64_t my_int64_t;
18829 my_int64_t i64 = INT64_MIN;
18830 i64 = INT64_MAX;
18831 typedef int_fast8_t my_int_fast8_t;
18832 my_int_fast8_t if8 = INT_FAST8_MIN;
18833 if8 = INT_FAST8_MAX;
18834 typedef int_fast16_t my_int_fast16_t;
18835 my_int_fast16_t if16 = INT_FAST16_MIN;
18836 if16 = INT_FAST16_MAX;
18837 typedef int_fast32_t my_int_fast32_t;
18838 my_int_fast32_t if32 = INT_FAST32_MIN;
18839 if32 = INT_FAST32_MAX;
18840 typedef int_fast64_t my_int_fast64_t;
18841 my_int_fast64_t if64 = INT_FAST64_MIN;
18842 if64 = INT_FAST64_MAX;
18843 typedef int_least8_t my_int_least8_t;
18844 my_int_least8_t il8 = INT_LEAST8_MIN;
18845 il8 = INT_LEAST8_MAX;
18846 typedef int_least16_t my_int_least16_t;
18847 my_int_least16_t il16 = INT_LEAST16_MIN;
18848 il16 = INT_LEAST16_MAX;
18849 typedef int_least32_t my_int_least32_t;
18850 my_int_least32_t il32 = INT_LEAST32_MIN;
18851 il32 = INT_LEAST32_MAX;
18852 typedef int_least64_t my_int_least64_t;
18853 my_int_least64_t il64 = INT_LEAST64_MIN;
18854 il64 = INT_LEAST64_MAX;
18855 typedef intmax_t my_intmax_t;
18856 my_intmax_t im = INTMAX_MAX;
18857 im = INTMAX_MIN;
18858 typedef intptr_t my_intptr_t;
18859 my_intptr_t ip = INTPTR_MAX;
18860 ip = INTPTR_MIN;
18861 typedef uint8_t my_uint8_t;
18862 my_uint8_t ui8 = UINT8_MAX;
18863 ui8 = UINT8_MAX;
18864 typedef uint16_t my_uint16_t;
18865 my_uint16_t ui16 = UINT16_MAX;
18866 ui16 = UINT16_MAX;
18867 typedef uint32_t my_uint32_t;
18868 my_uint32_t ui32 = UINT32_MAX;
18869 ui32 = UINT32_MAX;
18870 typedef uint64_t my_uint64_t;
18871 my_uint64_t ui64 = UINT64_MAX;
18872 ui64 = UINT64_MAX;
18873 typedef uint_fast8_t my_uint_fast8_t;
18874 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18875 uif8 = UINT_FAST8_MAX;
18876 typedef uint_fast16_t my_uint_fast16_t;
18877 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18878 uif16 = UINT_FAST16_MAX;
18879 typedef uint_fast32_t my_uint_fast32_t;
18880 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18881 uif32 = UINT_FAST32_MAX;
18882 typedef uint_fast64_t my_uint_fast64_t;
18883 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18884 uif64 = UINT_FAST64_MAX;
18885 typedef uint_least8_t my_uint_least8_t;
18886 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18887 uil8 = UINT_LEAST8_MAX;
18888 typedef uint_least16_t my_uint_least16_t;
18889 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18890 uil16 = UINT_LEAST16_MAX;
18891 typedef uint_least32_t my_uint_least32_t;
18892 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18893 uil32 = UINT_LEAST32_MAX;
18894 typedef uint_least64_t my_uint_least64_t;
18895 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18896 uil64 = UINT_LEAST64_MAX;
18897 typedef uintmax_t my_uintmax_t;
18898 my_uintmax_t uim = UINTMAX_MAX;
18899 uim = UINTMAX_MAX;
18900 typedef uintptr_t my_uintptr_t;
18901 my_uintptr_t uip = UINTPTR_MAX;
18902 uip = UINTPTR_MAX;
18903
18904 ;
18905 return 0;
18906 }
18907 _ACEOF
18908 if ac_fn_cxx_try_compile "$LINENO"; then :
18909 glibcxx_cv_c99_stdint_tr1=yes
18910 else
18911 glibcxx_cv_c99_stdint_tr1=no
18912 fi
18913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18914
18915 fi
18916
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18918 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18919 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18920
18921 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18922
18923 fi
18924
18925 # Check for the existence of <math.h> functions.
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18927 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18928 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18929 $as_echo_n "(cached) " >&6
18930 else
18931
18932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18933 /* end confdefs.h. */
18934 #include <math.h>
18935 int
18936 main ()
18937 {
18938 typedef double_t my_double_t;
18939 typedef float_t my_float_t;
18940 acosh(0.0);
18941 acoshf(0.0f);
18942 acoshl(0.0l);
18943 asinh(0.0);
18944 asinhf(0.0f);
18945 asinhl(0.0l);
18946 atanh(0.0);
18947 atanhf(0.0f);
18948 atanhl(0.0l);
18949 cbrt(0.0);
18950 cbrtf(0.0f);
18951 cbrtl(0.0l);
18952 copysign(0.0, 0.0);
18953 copysignf(0.0f, 0.0f);
18954 copysignl(0.0l, 0.0l);
18955 erf(0.0);
18956 erff(0.0f);
18957 erfl(0.0l);
18958 erfc(0.0);
18959 erfcf(0.0f);
18960 erfcl(0.0l);
18961 exp2(0.0);
18962 exp2f(0.0f);
18963 exp2l(0.0l);
18964 expm1(0.0);
18965 expm1f(0.0f);
18966 expm1l(0.0l);
18967 fdim(0.0, 0.0);
18968 fdimf(0.0f, 0.0f);
18969 fdiml(0.0l, 0.0l);
18970 fma(0.0, 0.0, 0.0);
18971 fmaf(0.0f, 0.0f, 0.0f);
18972 fmal(0.0l, 0.0l, 0.0l);
18973 fmax(0.0, 0.0);
18974 fmaxf(0.0f, 0.0f);
18975 fmaxl(0.0l, 0.0l);
18976 fmin(0.0, 0.0);
18977 fminf(0.0f, 0.0f);
18978 fminl(0.0l, 0.0l);
18979 hypot(0.0, 0.0);
18980 hypotf(0.0f, 0.0f);
18981 hypotl(0.0l, 0.0l);
18982 ilogb(0.0);
18983 ilogbf(0.0f);
18984 ilogbl(0.0l);
18985 lgamma(0.0);
18986 lgammaf(0.0f);
18987 lgammal(0.0l);
18988 llrint(0.0);
18989 llrintf(0.0f);
18990 llrintl(0.0l);
18991 llround(0.0);
18992 llroundf(0.0f);
18993 llroundl(0.0l);
18994 log1p(0.0);
18995 log1pf(0.0f);
18996 log1pl(0.0l);
18997 log2(0.0);
18998 log2f(0.0f);
18999 log2l(0.0l);
19000 logb(0.0);
19001 logbf(0.0f);
19002 logbl(0.0l);
19003 lrint(0.0);
19004 lrintf(0.0f);
19005 lrintl(0.0l);
19006 lround(0.0);
19007 lroundf(0.0f);
19008 lroundl(0.0l);
19009 nan(0);
19010 nanf(0);
19011 nanl(0);
19012 nearbyint(0.0);
19013 nearbyintf(0.0f);
19014 nearbyintl(0.0l);
19015 nextafter(0.0, 0.0);
19016 nextafterf(0.0f, 0.0f);
19017 nextafterl(0.0l, 0.0l);
19018 nexttoward(0.0, 0.0);
19019 nexttowardf(0.0f, 0.0f);
19020 nexttowardl(0.0l, 0.0l);
19021 remainder(0.0, 0.0);
19022 remainderf(0.0f, 0.0f);
19023 remainderl(0.0l, 0.0l);
19024 remquo(0.0, 0.0, 0);
19025 remquof(0.0f, 0.0f, 0);
19026 remquol(0.0l, 0.0l, 0);
19027 rint(0.0);
19028 rintf(0.0f);
19029 rintl(0.0l);
19030 round(0.0);
19031 roundf(0.0f);
19032 roundl(0.0l);
19033 scalbln(0.0, 0l);
19034 scalblnf(0.0f, 0l);
19035 scalblnl(0.0l, 0l);
19036 scalbn(0.0, 0);
19037 scalbnf(0.0f, 0);
19038 scalbnl(0.0l, 0);
19039 tgamma(0.0);
19040 tgammaf(0.0f);
19041 tgammal(0.0l);
19042 trunc(0.0);
19043 truncf(0.0f);
19044 truncl(0.0l);
19045
19046 ;
19047 return 0;
19048 }
19049 _ACEOF
19050 if ac_fn_cxx_try_compile "$LINENO"; then :
19051 glibcxx_cv_c99_math_tr1=yes
19052 else
19053 glibcxx_cv_c99_math_tr1=no
19054 fi
19055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19056
19057 fi
19058
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19060 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19061 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19062
19063 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19064
19065 fi
19066
19067 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19068 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19069 ac_c99_inttypes_tr1=no;
19070 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19072 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19074 /* end confdefs.h. */
19075 #include <inttypes.h>
19076 int
19077 main ()
19078 {
19079 intmax_t i, numer, denom, base;
19080 const char* s;
19081 char** endptr;
19082 intmax_t ret = imaxabs(i);
19083 imaxdiv_t dret = imaxdiv(numer, denom);
19084 ret = strtoimax(s, endptr, base);
19085 uintmax_t uret = strtoumax(s, endptr, base);
19086
19087 ;
19088 return 0;
19089 }
19090 _ACEOF
19091 if ac_fn_cxx_try_compile "$LINENO"; then :
19092 ac_c99_inttypes_tr1=yes
19093 else
19094 ac_c99_inttypes_tr1=no
19095 fi
19096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19097 fi
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19099 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19100 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19101
19102 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19103
19104 fi
19105
19106 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19107 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19108 ac_c99_inttypes_wchar_t_tr1=no;
19109 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19111 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h. */
19114 #include <inttypes.h>
19115 int
19116 main ()
19117 {
19118 intmax_t base;
19119 const wchar_t* s;
19120 wchar_t** endptr;
19121 intmax_t ret = wcstoimax(s, endptr, base);
19122 uintmax_t uret = wcstoumax(s, endptr, base);
19123
19124 ;
19125 return 0;
19126 }
19127 _ACEOF
19128 if ac_fn_cxx_try_compile "$LINENO"; then :
19129 ac_c99_inttypes_wchar_t_tr1=yes
19130 else
19131 ac_c99_inttypes_wchar_t_tr1=no
19132 fi
19133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19134 fi
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19136 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19137 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19138
19139 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19140
19141 fi
19142
19143 # Check for the existence of the <stdbool.h> header.
19144 for ac_header in stdbool.h
19145 do :
19146 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19147 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19148 cat >>confdefs.h <<_ACEOF
19149 #define HAVE_STDBOOL_H 1
19150 _ACEOF
19151
19152 fi
19153
19154 done
19155
19156
19157 # Check for the existence of the <stdalign.h> header.
19158 for ac_header in stdalign.h
19159 do :
19160 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19161 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19162 cat >>confdefs.h <<_ACEOF
19163 #define HAVE_STDALIGN_H 1
19164 _ACEOF
19165
19166 fi
19167
19168 done
19169
19170
19171 CXXFLAGS="$ac_save_CXXFLAGS"
19172 ac_ext=c
19173 ac_cpp='$CPP $CPPFLAGS'
19174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19177
19178
19179
19180 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19181
19182
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19184 $as_echo_n "checking for the value of EOF... " >&6; }
19185 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19186 $as_echo_n "(cached) " >&6
19187 else
19188
19189 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19190
19191 else
19192 as_fn_error "computing EOF failed" "$LINENO" 5
19193 fi
19194
19195
19196 fi
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19198 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19199
19200 cat >>confdefs.h <<_ACEOF
19201 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19202 _ACEOF
19203
19204
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19206 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19207 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19208 $as_echo_n "(cached) " >&6
19209 else
19210
19211 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19212
19213 else
19214 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19215 fi
19216
19217
19218 fi
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19220 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19221
19222 cat >>confdefs.h <<_ACEOF
19223 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19224 _ACEOF
19225
19226
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19228 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19229 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19230 $as_echo_n "(cached) " >&6
19231 else
19232
19233 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19234
19235 else
19236 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19237 fi
19238
19239
19240 fi
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19242 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19243
19244 cat >>confdefs.h <<_ACEOF
19245 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19246 _ACEOF
19247
19248
19249
19250 # For gettimeofday support.
19251
19252
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19254 $as_echo_n "checking for gettimeofday... " >&6; }
19255
19256
19257 ac_ext=cpp
19258 ac_cpp='$CXXCPP $CPPFLAGS'
19259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19262
19263 ac_save_CXXFLAGS="$CXXFLAGS"
19264 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19265
19266 ac_has_gettimeofday=no;
19267 for ac_header in sys/time.h
19268 do :
19269 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19270 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19271 cat >>confdefs.h <<_ACEOF
19272 #define HAVE_SYS_TIME_H 1
19273 _ACEOF
19274 ac_has_sys_time_h=yes
19275 else
19276 ac_has_sys_time_h=no
19277 fi
19278
19279 done
19280
19281 if test x"$ac_has_sys_time_h" = x"yes"; then
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19283 $as_echo_n "checking for gettimeofday... " >&6; }
19284 if test x$gcc_no_link = xyes; then
19285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19286 /* end confdefs.h. */
19287 #include <sys/time.h>
19288 int
19289 main ()
19290 {
19291 timeval tv; gettimeofday(&tv, 0);
19292 ;
19293 return 0;
19294 }
19295 _ACEOF
19296 if ac_fn_cxx_try_compile "$LINENO"; then :
19297 ac_has_gettimeofday=yes
19298 else
19299 ac_has_gettimeofday=no
19300 fi
19301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19302 else
19303 if test x$gcc_no_link = xyes; then
19304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19305 fi
19306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19307 /* end confdefs.h. */
19308 #include <sys/time.h>
19309 int
19310 main ()
19311 {
19312 timeval tv; gettimeofday(&tv, 0);
19313 ;
19314 return 0;
19315 }
19316 _ACEOF
19317 if ac_fn_cxx_try_link "$LINENO"; then :
19318 ac_has_gettimeofday=yes
19319 else
19320 ac_has_gettimeofday=no
19321 fi
19322 rm -f core conftest.err conftest.$ac_objext \
19323 conftest$ac_exeext conftest.$ac_ext
19324 fi
19325
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19327 $as_echo "$ac_has_gettimeofday" >&6; }
19328 fi
19329
19330 if test x"$ac_has_gettimeofday" = x"yes"; then
19331
19332 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19333
19334 fi
19335
19336 CXXFLAGS="$ac_save_CXXFLAGS"
19337 ac_ext=c
19338 ac_cpp='$CPP $CPPFLAGS'
19339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19342
19343
19344
19345 # For clock_gettime, nanosleep and sched_yield support.
19346
19347
19348 # Check whether --enable-libstdcxx-time was given.
19349 if test "${enable_libstdcxx_time+set}" = set; then :
19350 enableval=$enable_libstdcxx_time;
19351 case "$enableval" in
19352 yes|no|rt) ;;
19353 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19354 esac
19355
19356 else
19357 enable_libstdcxx_time=auto
19358 fi
19359
19360
19361
19362
19363 ac_ext=cpp
19364 ac_cpp='$CXXCPP $CPPFLAGS'
19365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19368
19369 ac_save_CXXFLAGS="$CXXFLAGS"
19370 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19371 ac_save_LIBS="$LIBS"
19372
19373 ac_has_clock_monotonic=no
19374 ac_has_clock_realtime=no
19375 ac_has_nanosleep=no
19376 ac_has_sched_yield=no
19377
19378 if test x"$enable_libstdcxx_time" = x"auto"; then
19379
19380 case "${target_os}" in
19381 cygwin*)
19382 ac_has_nanosleep=yes
19383 ;;
19384 darwin*)
19385 ac_has_nanosleep=yes
19386 ac_has_sched_yield=yes
19387 ;;
19388 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19390 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19392 /* end confdefs.h. */
19393 #include <features.h>
19394 int
19395 main ()
19396 {
19397
19398 #if ! __GLIBC_PREREQ(2, 17)
19399 #error
19400 #endif
19401
19402 ;
19403 return 0;
19404 }
19405 _ACEOF
19406 if ac_fn_cxx_try_compile "$LINENO"; then :
19407 glibcxx_glibc217=yes
19408 else
19409 glibcxx_glibc217=no
19410 fi
19411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19413 $as_echo "$glibcxx_glibc217" >&6; }
19414
19415 if test x"$glibcxx_glibc217" = x"yes"; then
19416 ac_has_clock_monotonic=yes
19417 ac_has_clock_realtime=yes
19418 fi
19419 ac_has_nanosleep=yes
19420 ac_has_sched_yield=yes
19421 ;;
19422 freebsd*|netbsd*)
19423 ac_has_clock_monotonic=yes
19424 ac_has_clock_realtime=yes
19425 ac_has_nanosleep=yes
19426 ac_has_sched_yield=yes
19427 ;;
19428 openbsd*)
19429 ac_has_clock_monotonic=yes
19430 ac_has_clock_realtime=yes
19431 ac_has_nanosleep=yes
19432 ;;
19433 solaris*)
19434 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19435 ac_has_clock_monotonic=yes
19436 ac_has_clock_realtime=yes
19437 ac_has_nanosleep=yes
19438 ac_has_sched_yield=yes
19439 ;;
19440 esac
19441
19442 elif test x"$enable_libstdcxx_time" != x"no"; then
19443
19444 if test x"$enable_libstdcxx_time" = x"rt"; then
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19446 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19447 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19448 $as_echo_n "(cached) " >&6
19449 else
19450 ac_func_search_save_LIBS=$LIBS
19451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19452 /* end confdefs.h. */
19453
19454 /* Override any GCC internal prototype to avoid an error.
19455 Use char because int might match the return type of a GCC
19456 builtin and then its argument prototype would still apply. */
19457 #ifdef __cplusplus
19458 extern "C"
19459 #endif
19460 char clock_gettime ();
19461 int
19462 main ()
19463 {
19464 return clock_gettime ();
19465 ;
19466 return 0;
19467 }
19468 _ACEOF
19469 for ac_lib in '' rt posix4; do
19470 if test -z "$ac_lib"; then
19471 ac_res="none required"
19472 else
19473 ac_res=-l$ac_lib
19474 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19475 fi
19476 if test x$gcc_no_link = xyes; then
19477 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19478 fi
19479 if ac_fn_cxx_try_link "$LINENO"; then :
19480 ac_cv_search_clock_gettime=$ac_res
19481 fi
19482 rm -f core conftest.err conftest.$ac_objext \
19483 conftest$ac_exeext
19484 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19485 break
19486 fi
19487 done
19488 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19489
19490 else
19491 ac_cv_search_clock_gettime=no
19492 fi
19493 rm conftest.$ac_ext
19494 LIBS=$ac_func_search_save_LIBS
19495 fi
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19497 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19498 ac_res=$ac_cv_search_clock_gettime
19499 if test "$ac_res" != no; then :
19500 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19501
19502 fi
19503
19504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19505 $as_echo_n "checking for library containing nanosleep... " >&6; }
19506 if test "${ac_cv_search_nanosleep+set}" = set; then :
19507 $as_echo_n "(cached) " >&6
19508 else
19509 ac_func_search_save_LIBS=$LIBS
19510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19511 /* end confdefs.h. */
19512
19513 /* Override any GCC internal prototype to avoid an error.
19514 Use char because int might match the return type of a GCC
19515 builtin and then its argument prototype would still apply. */
19516 #ifdef __cplusplus
19517 extern "C"
19518 #endif
19519 char nanosleep ();
19520 int
19521 main ()
19522 {
19523 return nanosleep ();
19524 ;
19525 return 0;
19526 }
19527 _ACEOF
19528 for ac_lib in '' rt posix4; do
19529 if test -z "$ac_lib"; then
19530 ac_res="none required"
19531 else
19532 ac_res=-l$ac_lib
19533 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19534 fi
19535 if test x$gcc_no_link = xyes; then
19536 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19537 fi
19538 if ac_fn_cxx_try_link "$LINENO"; then :
19539 ac_cv_search_nanosleep=$ac_res
19540 fi
19541 rm -f core conftest.err conftest.$ac_objext \
19542 conftest$ac_exeext
19543 if test "${ac_cv_search_nanosleep+set}" = set; then :
19544 break
19545 fi
19546 done
19547 if test "${ac_cv_search_nanosleep+set}" = set; then :
19548
19549 else
19550 ac_cv_search_nanosleep=no
19551 fi
19552 rm conftest.$ac_ext
19553 LIBS=$ac_func_search_save_LIBS
19554 fi
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19556 $as_echo "$ac_cv_search_nanosleep" >&6; }
19557 ac_res=$ac_cv_search_nanosleep
19558 if test "$ac_res" != no; then :
19559 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19560
19561 fi
19562
19563 else
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19565 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19566 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19567 $as_echo_n "(cached) " >&6
19568 else
19569 ac_func_search_save_LIBS=$LIBS
19570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19571 /* end confdefs.h. */
19572
19573 /* Override any GCC internal prototype to avoid an error.
19574 Use char because int might match the return type of a GCC
19575 builtin and then its argument prototype would still apply. */
19576 #ifdef __cplusplus
19577 extern "C"
19578 #endif
19579 char clock_gettime ();
19580 int
19581 main ()
19582 {
19583 return clock_gettime ();
19584 ;
19585 return 0;
19586 }
19587 _ACEOF
19588 for ac_lib in '' posix4; do
19589 if test -z "$ac_lib"; then
19590 ac_res="none required"
19591 else
19592 ac_res=-l$ac_lib
19593 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19594 fi
19595 if test x$gcc_no_link = xyes; then
19596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19597 fi
19598 if ac_fn_cxx_try_link "$LINENO"; then :
19599 ac_cv_search_clock_gettime=$ac_res
19600 fi
19601 rm -f core conftest.err conftest.$ac_objext \
19602 conftest$ac_exeext
19603 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19604 break
19605 fi
19606 done
19607 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19608
19609 else
19610 ac_cv_search_clock_gettime=no
19611 fi
19612 rm conftest.$ac_ext
19613 LIBS=$ac_func_search_save_LIBS
19614 fi
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19616 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19617 ac_res=$ac_cv_search_clock_gettime
19618 if test "$ac_res" != no; then :
19619 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19620
19621 fi
19622
19623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19624 $as_echo_n "checking for library containing nanosleep... " >&6; }
19625 if test "${ac_cv_search_nanosleep+set}" = set; then :
19626 $as_echo_n "(cached) " >&6
19627 else
19628 ac_func_search_save_LIBS=$LIBS
19629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19630 /* end confdefs.h. */
19631
19632 /* Override any GCC internal prototype to avoid an error.
19633 Use char because int might match the return type of a GCC
19634 builtin and then its argument prototype would still apply. */
19635 #ifdef __cplusplus
19636 extern "C"
19637 #endif
19638 char nanosleep ();
19639 int
19640 main ()
19641 {
19642 return nanosleep ();
19643 ;
19644 return 0;
19645 }
19646 _ACEOF
19647 for ac_lib in '' posix4; do
19648 if test -z "$ac_lib"; then
19649 ac_res="none required"
19650 else
19651 ac_res=-l$ac_lib
19652 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19653 fi
19654 if test x$gcc_no_link = xyes; then
19655 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19656 fi
19657 if ac_fn_cxx_try_link "$LINENO"; then :
19658 ac_cv_search_nanosleep=$ac_res
19659 fi
19660 rm -f core conftest.err conftest.$ac_objext \
19661 conftest$ac_exeext
19662 if test "${ac_cv_search_nanosleep+set}" = set; then :
19663 break
19664 fi
19665 done
19666 if test "${ac_cv_search_nanosleep+set}" = set; then :
19667
19668 else
19669 ac_cv_search_nanosleep=no
19670 fi
19671 rm conftest.$ac_ext
19672 LIBS=$ac_func_search_save_LIBS
19673 fi
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19675 $as_echo "$ac_cv_search_nanosleep" >&6; }
19676 ac_res=$ac_cv_search_nanosleep
19677 if test "$ac_res" != no; then :
19678 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19679
19680 fi
19681
19682 fi
19683
19684 case "$ac_cv_search_clock_gettime" in
19685 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19686 ;;
19687 esac
19688 case "$ac_cv_search_nanosleep" in
19689 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19690 ;;
19691 esac
19692
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19694 $as_echo_n "checking for library containing sched_yield... " >&6; }
19695 if test "${ac_cv_search_sched_yield+set}" = set; then :
19696 $as_echo_n "(cached) " >&6
19697 else
19698 ac_func_search_save_LIBS=$LIBS
19699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19700 /* end confdefs.h. */
19701
19702 /* Override any GCC internal prototype to avoid an error.
19703 Use char because int might match the return type of a GCC
19704 builtin and then its argument prototype would still apply. */
19705 #ifdef __cplusplus
19706 extern "C"
19707 #endif
19708 char sched_yield ();
19709 int
19710 main ()
19711 {
19712 return sched_yield ();
19713 ;
19714 return 0;
19715 }
19716 _ACEOF
19717 for ac_lib in '' rt posix4; do
19718 if test -z "$ac_lib"; then
19719 ac_res="none required"
19720 else
19721 ac_res=-l$ac_lib
19722 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19723 fi
19724 if test x$gcc_no_link = xyes; then
19725 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19726 fi
19727 if ac_fn_cxx_try_link "$LINENO"; then :
19728 ac_cv_search_sched_yield=$ac_res
19729 fi
19730 rm -f core conftest.err conftest.$ac_objext \
19731 conftest$ac_exeext
19732 if test "${ac_cv_search_sched_yield+set}" = set; then :
19733 break
19734 fi
19735 done
19736 if test "${ac_cv_search_sched_yield+set}" = set; then :
19737
19738 else
19739 ac_cv_search_sched_yield=no
19740 fi
19741 rm conftest.$ac_ext
19742 LIBS=$ac_func_search_save_LIBS
19743 fi
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19745 $as_echo "$ac_cv_search_sched_yield" >&6; }
19746 ac_res=$ac_cv_search_sched_yield
19747 if test "$ac_res" != no; then :
19748 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19749
19750 fi
19751
19752
19753 case "$ac_cv_search_sched_yield" in
19754 -lposix4*)
19755 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19756 ac_has_sched_yield=yes
19757 ;;
19758 -lrt*)
19759 if test x"$enable_libstdcxx_time" = x"rt"; then
19760 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19761 ac_has_sched_yield=yes
19762 fi
19763 ;;
19764 *)
19765 ac_has_sched_yield=yes
19766 ;;
19767 esac
19768
19769 for ac_header in unistd.h
19770 do :
19771 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19772 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19773 cat >>confdefs.h <<_ACEOF
19774 #define HAVE_UNISTD_H 1
19775 _ACEOF
19776 ac_has_unistd_h=yes
19777 else
19778 ac_has_unistd_h=no
19779 fi
19780
19781 done
19782
19783
19784 if test x"$ac_has_unistd_h" = x"yes"; then
19785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19786 $as_echo_n "checking for monotonic clock... " >&6; }
19787 if test x$gcc_no_link = xyes; then
19788 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19789 fi
19790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19791 /* end confdefs.h. */
19792 #include <unistd.h>
19793 #include <time.h>
19794
19795 int
19796 main ()
19797 {
19798 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19799 timespec tp;
19800 #endif
19801 clock_gettime(CLOCK_MONOTONIC, &tp);
19802
19803 ;
19804 return 0;
19805 }
19806 _ACEOF
19807 if ac_fn_cxx_try_link "$LINENO"; then :
19808 ac_has_clock_monotonic=yes
19809 else
19810 ac_has_clock_monotonic=no
19811 fi
19812 rm -f core conftest.err conftest.$ac_objext \
19813 conftest$ac_exeext conftest.$ac_ext
19814
19815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19816 $as_echo "$ac_has_clock_monotonic" >&6; }
19817
19818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19819 $as_echo_n "checking for realtime clock... " >&6; }
19820 if test x$gcc_no_link = xyes; then
19821 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19822 fi
19823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19824 /* end confdefs.h. */
19825 #include <unistd.h>
19826 #include <time.h>
19827
19828 int
19829 main ()
19830 {
19831 #if _POSIX_TIMERS > 0
19832 timespec tp;
19833 #endif
19834 clock_gettime(CLOCK_REALTIME, &tp);
19835
19836 ;
19837 return 0;
19838 }
19839 _ACEOF
19840 if ac_fn_cxx_try_link "$LINENO"; then :
19841 ac_has_clock_realtime=yes
19842 else
19843 ac_has_clock_realtime=no
19844 fi
19845 rm -f core conftest.err conftest.$ac_objext \
19846 conftest$ac_exeext conftest.$ac_ext
19847
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19849 $as_echo "$ac_has_clock_realtime" >&6; }
19850
19851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19852 $as_echo_n "checking for nanosleep... " >&6; }
19853 if test x$gcc_no_link = xyes; then
19854 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19855 fi
19856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19857 /* end confdefs.h. */
19858 #include <unistd.h>
19859 #include <time.h>
19860
19861 int
19862 main ()
19863 {
19864 #if _POSIX_TIMERS > 0
19865 timespec tp;
19866 #endif
19867 nanosleep(&tp, 0);
19868
19869 ;
19870 return 0;
19871 }
19872 _ACEOF
19873 if ac_fn_cxx_try_link "$LINENO"; then :
19874 ac_has_nanosleep=yes
19875 else
19876 ac_has_nanosleep=no
19877 fi
19878 rm -f core conftest.err conftest.$ac_objext \
19879 conftest$ac_exeext conftest.$ac_ext
19880
19881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19882 $as_echo "$ac_has_nanosleep" >&6; }
19883 fi
19884 fi
19885
19886 if test x"$ac_has_clock_monotonic" != x"yes"; then
19887 case ${target_os} in
19888 linux*)
19889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19890 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19892 /* end confdefs.h. */
19893 #include <unistd.h>
19894 #include <time.h>
19895 #include <sys/syscall.h>
19896
19897 int
19898 main ()
19899 {
19900 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19901 timespec tp;
19902 #endif
19903 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
19904 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
19905
19906 ;
19907 return 0;
19908 }
19909 _ACEOF
19910 if ac_fn_cxx_try_compile "$LINENO"; then :
19911 ac_has_clock_monotonic_syscall=yes
19912 else
19913 ac_has_clock_monotonic_syscall=no
19914 fi
19915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
19917 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
19918 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
19919
19920 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
19921
19922 ac_has_clock_monotonic=yes
19923 ac_has_clock_realtime=yes
19924 fi;;
19925 esac
19926 fi
19927
19928 if test x"$ac_has_clock_monotonic" = x"yes"; then
19929
19930 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19931
19932 fi
19933
19934 if test x"$ac_has_clock_realtime" = x"yes"; then
19935
19936 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19937
19938 fi
19939
19940 if test x"$ac_has_sched_yield" = x"yes"; then
19941
19942 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19943
19944 fi
19945
19946 if test x"$ac_has_nanosleep" = x"yes"; then
19947
19948 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19949
19950 else
19951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
19952 $as_echo_n "checking for sleep... " >&6; }
19953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19954 /* end confdefs.h. */
19955 #include <unistd.h>
19956 int
19957 main ()
19958 {
19959 sleep(1)
19960 ;
19961 return 0;
19962 }
19963 _ACEOF
19964 if ac_fn_cxx_try_compile "$LINENO"; then :
19965 ac_has_sleep=yes
19966 else
19967 ac_has_sleep=no
19968 fi
19969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19970 if test x"$ac_has_sleep" = x"yes"; then
19971
19972 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
19973
19974 fi
19975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
19976 $as_echo "$ac_has_sleep" >&6; }
19977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
19978 $as_echo_n "checking for usleep... " >&6; }
19979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19980 /* end confdefs.h. */
19981 #include <unistd.h>
19982 int
19983 main ()
19984 {
19985 sleep(1);
19986 usleep(100);
19987 ;
19988 return 0;
19989 }
19990 _ACEOF
19991 if ac_fn_cxx_try_compile "$LINENO"; then :
19992 ac_has_usleep=yes
19993 else
19994 ac_has_usleep=no
19995 fi
19996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19997 if test x"$ac_has_usleep" = x"yes"; then
19998
19999 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20000
20001 fi
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20003 $as_echo "$ac_has_usleep" >&6; }
20004 fi
20005
20006 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20008 $as_echo_n "checking for Sleep... " >&6; }
20009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20010 /* end confdefs.h. */
20011 #include <windows.h>
20012 int
20013 main ()
20014 {
20015 Sleep(1)
20016 ;
20017 return 0;
20018 }
20019 _ACEOF
20020 if ac_fn_cxx_try_compile "$LINENO"; then :
20021 ac_has_win32_sleep=yes
20022 else
20023 ac_has_win32_sleep=no
20024 fi
20025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20026 if test x"$ac_has_win32_sleep" = x"yes"; then
20027
20028 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20029
20030 fi
20031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20032 $as_echo "$ac_has_win32_sleep" >&6; }
20033 fi
20034
20035
20036
20037 CXXFLAGS="$ac_save_CXXFLAGS"
20038 LIBS="$ac_save_LIBS"
20039 ac_ext=c
20040 ac_cpp='$CPP $CPPFLAGS'
20041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20044
20045
20046
20047
20048 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20049 if test "x$ac_cv_header_locale_h" = x""yes; then :
20050
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20052 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20053 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20054 $as_echo_n "(cached) " >&6
20055 else
20056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20057 /* end confdefs.h. */
20058 #include <locale.h>
20059 int
20060 main ()
20061 {
20062 return LC_MESSAGES
20063 ;
20064 return 0;
20065 }
20066 _ACEOF
20067 if ac_fn_c_try_compile "$LINENO"; then :
20068 ac_cv_val_LC_MESSAGES=yes
20069 else
20070 ac_cv_val_LC_MESSAGES=no
20071 fi
20072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20073 fi
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20075 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20076 if test $ac_cv_val_LC_MESSAGES = yes; then
20077
20078 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20079
20080 fi
20081
20082 fi
20083
20084
20085
20086
20087 # For hardware_concurrency
20088 for ac_header in sys/sysinfo.h
20089 do :
20090 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20091 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20092 cat >>confdefs.h <<_ACEOF
20093 #define HAVE_SYS_SYSINFO_H 1
20094 _ACEOF
20095
20096 fi
20097
20098 done
20099
20100
20101
20102
20103 ac_ext=cpp
20104 ac_cpp='$CXXCPP $CPPFLAGS'
20105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20108
20109 ac_save_CXXFLAGS="$CXXFLAGS"
20110 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20111
20112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20113 $as_echo_n "checking for get_nprocs... " >&6; }
20114 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20115 $as_echo_n "(cached) " >&6
20116 else
20117
20118 if test x$gcc_no_link = xyes; then
20119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20120 /* end confdefs.h. */
20121 #include <sys/sysinfo.h>
20122 int
20123 main ()
20124 {
20125 int n = get_nprocs();
20126 ;
20127 return 0;
20128 }
20129 _ACEOF
20130 if ac_fn_cxx_try_compile "$LINENO"; then :
20131 glibcxx_cv_GET_NPROCS=yes
20132 else
20133 glibcxx_cv_GET_NPROCS=no
20134 fi
20135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20136 else
20137 if test x$gcc_no_link = xyes; then
20138 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20139 fi
20140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20141 /* end confdefs.h. */
20142 #include <sys/sysinfo.h>
20143 int
20144 main ()
20145 {
20146 int n = get_nprocs();
20147 ;
20148 return 0;
20149 }
20150 _ACEOF
20151 if ac_fn_cxx_try_link "$LINENO"; then :
20152 glibcxx_cv_GET_NPROCS=yes
20153 else
20154 glibcxx_cv_GET_NPROCS=no
20155 fi
20156 rm -f core conftest.err conftest.$ac_objext \
20157 conftest$ac_exeext conftest.$ac_ext
20158 fi
20159
20160 fi
20161
20162 if test $glibcxx_cv_GET_NPROCS = yes; then
20163
20164 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20165
20166 fi
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20168 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20169
20170 CXXFLAGS="$ac_save_CXXFLAGS"
20171 ac_ext=c
20172 ac_cpp='$CPP $CPPFLAGS'
20173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20176
20177
20178 for ac_header in unistd.h
20179 do :
20180 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20181 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20182 cat >>confdefs.h <<_ACEOF
20183 #define HAVE_UNISTD_H 1
20184 _ACEOF
20185
20186 fi
20187
20188 done
20189
20190
20191
20192
20193 ac_ext=cpp
20194 ac_cpp='$CXXCPP $CPPFLAGS'
20195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20198
20199 ac_save_CXXFLAGS="$CXXFLAGS"
20200 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20201
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20203 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20204 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20205 $as_echo_n "(cached) " >&6
20206 else
20207
20208 if test x$gcc_no_link = xyes; then
20209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20210 /* end confdefs.h. */
20211 #include <unistd.h>
20212 int
20213 main ()
20214 {
20215 int n = sysconf(_SC_NPROCESSORS_ONLN);
20216 ;
20217 return 0;
20218 }
20219 _ACEOF
20220 if ac_fn_cxx_try_compile "$LINENO"; then :
20221 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20222 else
20223 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20224 fi
20225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20226 else
20227 if test x$gcc_no_link = xyes; then
20228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20229 fi
20230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20231 /* end confdefs.h. */
20232 #include <unistd.h>
20233 int
20234 main ()
20235 {
20236 int n = sysconf(_SC_NPROCESSORS_ONLN);
20237 ;
20238 return 0;
20239 }
20240 _ACEOF
20241 if ac_fn_cxx_try_link "$LINENO"; then :
20242 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20243 else
20244 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20245 fi
20246 rm -f core conftest.err conftest.$ac_objext \
20247 conftest$ac_exeext conftest.$ac_ext
20248 fi
20249
20250 fi
20251
20252 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20253
20254 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20255
20256 fi
20257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20258 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20259
20260 CXXFLAGS="$ac_save_CXXFLAGS"
20261 ac_ext=c
20262 ac_cpp='$CPP $CPPFLAGS'
20263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20266
20267
20268
20269
20270
20271 ac_ext=cpp
20272 ac_cpp='$CXXCPP $CPPFLAGS'
20273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20276
20277 ac_save_CXXFLAGS="$CXXFLAGS"
20278 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20279
20280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20281 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20282 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20283 $as_echo_n "(cached) " >&6
20284 else
20285
20286 if test x$gcc_no_link = xyes; then
20287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20288 /* end confdefs.h. */
20289 #include <unistd.h>
20290 int
20291 main ()
20292 {
20293 int n = sysconf(_SC_NPROC_ONLN);
20294 ;
20295 return 0;
20296 }
20297 _ACEOF
20298 if ac_fn_cxx_try_compile "$LINENO"; then :
20299 glibcxx_cv_SC_NPROC_ONLN=yes
20300 else
20301 glibcxx_cv_SC_NPROC_ONLN=no
20302 fi
20303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20304 else
20305 if test x$gcc_no_link = xyes; then
20306 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20307 fi
20308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20309 /* end confdefs.h. */
20310 #include <unistd.h>
20311 int
20312 main ()
20313 {
20314 int n = sysconf(_SC_NPROC_ONLN);
20315 ;
20316 return 0;
20317 }
20318 _ACEOF
20319 if ac_fn_cxx_try_link "$LINENO"; then :
20320 glibcxx_cv_SC_NPROC_ONLN=yes
20321 else
20322 glibcxx_cv_SC_NPROC_ONLN=no
20323 fi
20324 rm -f core conftest.err conftest.$ac_objext \
20325 conftest$ac_exeext conftest.$ac_ext
20326 fi
20327
20328 fi
20329
20330 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20331
20332 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20333
20334 fi
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20336 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20337
20338 CXXFLAGS="$ac_save_CXXFLAGS"
20339 ac_ext=c
20340 ac_cpp='$CPP $CPPFLAGS'
20341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20344
20345
20346
20347
20348
20349 ac_ext=cpp
20350 ac_cpp='$CXXCPP $CPPFLAGS'
20351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20354
20355 ac_save_CXXFLAGS="$CXXFLAGS"
20356 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20357
20358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20359 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20360 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20361 $as_echo_n "(cached) " >&6
20362 else
20363
20364 if test x$gcc_no_link = xyes; then
20365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20366 /* end confdefs.h. */
20367 #include <pthread.h>
20368 int
20369 main ()
20370 {
20371 int n = pthread_num_processors_np();
20372 ;
20373 return 0;
20374 }
20375 _ACEOF
20376 if ac_fn_cxx_try_compile "$LINENO"; then :
20377 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20378 else
20379 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20380 fi
20381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20382 else
20383 if test x$gcc_no_link = xyes; then
20384 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20385 fi
20386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20387 /* end confdefs.h. */
20388 #include <pthread.h>
20389 int
20390 main ()
20391 {
20392 int n = pthread_num_processors_np();
20393 ;
20394 return 0;
20395 }
20396 _ACEOF
20397 if ac_fn_cxx_try_link "$LINENO"; then :
20398 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20399 else
20400 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20401 fi
20402 rm -f core conftest.err conftest.$ac_objext \
20403 conftest$ac_exeext conftest.$ac_ext
20404 fi
20405
20406 fi
20407
20408 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20409
20410 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20411
20412 fi
20413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20414 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20415
20416 CXXFLAGS="$ac_save_CXXFLAGS"
20417 ac_ext=c
20418 ac_cpp='$CPP $CPPFLAGS'
20419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20422
20423
20424
20425
20426
20427 ac_ext=cpp
20428 ac_cpp='$CXXCPP $CPPFLAGS'
20429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20432
20433 ac_save_CXXFLAGS="$CXXFLAGS"
20434 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20435
20436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20437 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20438 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20439 $as_echo_n "(cached) " >&6
20440 else
20441
20442 if test x$gcc_no_link = xyes; then
20443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20444 /* end confdefs.h. */
20445
20446 #include <stddef.h>
20447 #include <sys/sysctl.h>
20448
20449 int
20450 main ()
20451 {
20452
20453 int count;
20454 size_t size = sizeof(count);
20455 int mib[] = { CTL_HW, HW_NCPU };
20456 sysctl(mib, 2, &count, &size, NULL, 0);
20457
20458 ;
20459 return 0;
20460 }
20461 _ACEOF
20462 if ac_fn_cxx_try_compile "$LINENO"; then :
20463 glibcxx_cv_SYSCTL_HW_NCPU=yes
20464 else
20465 glibcxx_cv_SYSCTL_HW_NCPU=no
20466 fi
20467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20468 else
20469 if test x$gcc_no_link = xyes; then
20470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20471 fi
20472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20473 /* end confdefs.h. */
20474
20475 #include <stddef.h>
20476 #include <sys/sysctl.h>
20477
20478 int
20479 main ()
20480 {
20481
20482 int count;
20483 size_t size = sizeof(count);
20484 int mib[] = { CTL_HW, HW_NCPU };
20485 sysctl(mib, 2, &count, &size, NULL, 0);
20486
20487 ;
20488 return 0;
20489 }
20490 _ACEOF
20491 if ac_fn_cxx_try_link "$LINENO"; then :
20492 glibcxx_cv_SYSCTL_HW_NCPU=yes
20493 else
20494 glibcxx_cv_SYSCTL_HW_NCPU=no
20495 fi
20496 rm -f core conftest.err conftest.$ac_objext \
20497 conftest$ac_exeext conftest.$ac_ext
20498 fi
20499
20500 fi
20501
20502 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20503
20504 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20505
20506 fi
20507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20508 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20509
20510 CXXFLAGS="$ac_save_CXXFLAGS"
20511 ac_ext=c
20512 ac_cpp='$CPP $CPPFLAGS'
20513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20516
20517
20518
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: for suitable sys/sdt.h" >&5
20520 $as_echo "for suitable sys/sdt.h" >&6; }
20521 # Note that this test has to be run with the C language.
20522 # Otherwise, sdt.h will try to include some headers from
20523 # libstdc++ itself.
20524
20525 ac_ext=c
20526 ac_cpp='$CPP $CPPFLAGS'
20527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20530
20531 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20532 $as_echo_n "(cached) " >&6
20533 else
20534
20535 # Because we have to run the test in C, we use grep rather
20536 # than the compiler to check for the bug. The bug is that
20537 # were strings without trailing whitespace, causing g++
20538 # to look for operator"". The pattern searches for the fixed
20539 # output.
20540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20541 /* end confdefs.h. */
20542
20543 #include <sys/sdt.h>
20544 int f() { STAP_PROBE(hi, bob); }
20545
20546 _ACEOF
20547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20548 $EGREP " \",\" " >/dev/null 2>&1; then :
20549 glibcxx_cv_sys_sdt_h=yes
20550 else
20551 glibcxx_cv_sys_sdt_h=no
20552 fi
20553 rm -f conftest*
20554
20555
20556 fi
20557
20558 ac_ext=c
20559 ac_cpp='$CPP $CPPFLAGS'
20560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20563
20564 if test $glibcxx_cv_sys_sdt_h = yes; then
20565
20566 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20567
20568 fi
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20570 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20571
20572
20573 # Check for available headers.
20574 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20575 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20576 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20577 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20578 wchar.h wctype.h
20579 do :
20580 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20581 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20582 eval as_val=\$$as_ac_Header
20583 if test "x$as_val" = x""yes; then :
20584 cat >>confdefs.h <<_ACEOF
20585 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20586 _ACEOF
20587
20588 fi
20589
20590 done
20591
20592
20593 # Only do link tests if native. Else, hardcode.
20594 if $GLIBCXX_IS_NATIVE; then
20595
20596 # We can do more elaborate tests that assume a working linker.
20597 CANADIAN=no
20598
20599
20600
20601 # Check whether --with-gnu-ld was given.
20602 if test "${with_gnu_ld+set}" = set; then :
20603 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20604 else
20605 with_gnu_ld=no
20606 fi
20607
20608 ac_prog=ld
20609 if test "$GCC" = yes; then
20610 # Check if gcc -print-prog-name=ld gives a path.
20611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20612 $as_echo_n "checking for ld used by $CC... " >&6; }
20613 case $host in
20614 *-*-mingw*)
20615 # gcc leaves a trailing carriage return which upsets mingw
20616 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20617 *)
20618 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20619 esac
20620 case $ac_prog in
20621 # Accept absolute paths.
20622 [\\/]* | ?:[\\/]*)
20623 re_direlt='/[^/][^/]*/\.\./'
20624 # Canonicalize the pathname of ld
20625 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20626 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20627 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20628 done
20629 test -z "$LD" && LD="$ac_prog"
20630 ;;
20631 "")
20632 # If it fails, then pretend we aren't using GCC.
20633 ac_prog=ld
20634 ;;
20635 *)
20636 # If it is relative, then search for the first ld in PATH.
20637 with_gnu_ld=unknown
20638 ;;
20639 esac
20640 elif test "$with_gnu_ld" = yes; then
20641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20642 $as_echo_n "checking for GNU ld... " >&6; }
20643 else
20644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20645 $as_echo_n "checking for non-GNU ld... " >&6; }
20646 fi
20647 if test "${lt_cv_path_LD+set}" = set; then :
20648 $as_echo_n "(cached) " >&6
20649 else
20650 if test -z "$LD"; then
20651 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20652 for ac_dir in $PATH; do
20653 IFS="$lt_save_ifs"
20654 test -z "$ac_dir" && ac_dir=.
20655 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20656 lt_cv_path_LD="$ac_dir/$ac_prog"
20657 # Check to see if the program is GNU ld. I'd rather use --version,
20658 # but apparently some variants of GNU ld only accept -v.
20659 # Break only if it was the GNU/non-GNU ld that we prefer.
20660 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20661 *GNU* | *'with BFD'*)
20662 test "$with_gnu_ld" != no && break
20663 ;;
20664 *)
20665 test "$with_gnu_ld" != yes && break
20666 ;;
20667 esac
20668 fi
20669 done
20670 IFS="$lt_save_ifs"
20671 else
20672 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20673 fi
20674 fi
20675
20676 LD="$lt_cv_path_LD"
20677 if test -n "$LD"; then
20678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20679 $as_echo "$LD" >&6; }
20680 else
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20682 $as_echo "no" >&6; }
20683 fi
20684 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20686 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20687 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20688 $as_echo_n "(cached) " >&6
20689 else
20690 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20691 case `$LD -v 2>&1 </dev/null` in
20692 *GNU* | *'with BFD'*)
20693 lt_cv_prog_gnu_ld=yes
20694 ;;
20695 *)
20696 lt_cv_prog_gnu_ld=no
20697 ;;
20698 esac
20699 fi
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20701 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20702 with_gnu_ld=$lt_cv_prog_gnu_ld
20703
20704
20705
20706
20707
20708
20709
20710 # If we're not using GNU ld, then there's no point in even trying these
20711 # tests. Check for that first. We should have already tested for gld
20712 # by now (in libtool), but require it now just to be safe...
20713 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20714 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20715
20716
20717
20718 # The name set by libtool depends on the version of libtool. Shame on us
20719 # for depending on an impl detail, but c'est la vie. Older versions used
20720 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20721 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20722 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20723 # set (hence we're using an older libtool), then set it.
20724 if test x${with_gnu_ld+set} != xset; then
20725 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20726 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20727 with_gnu_ld=no
20728 else
20729 with_gnu_ld=$ac_cv_prog_gnu_ld
20730 fi
20731 fi
20732
20733 # Start by getting the version number. I think the libtool test already
20734 # does some of this, but throws away the result.
20735 glibcxx_ld_is_gold=no
20736 if test x"$with_gnu_ld" = x"yes"; then
20737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20738 $as_echo_n "checking for ld version... " >&6; }
20739
20740 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20741 glibcxx_ld_is_gold=yes
20742 fi
20743 ldver=`$LD --version 2>/dev/null |
20744 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'`
20745
20746 glibcxx_gnu_ld_version=`echo $ldver | \
20747 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20749 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20750 fi
20751
20752 # Set --gc-sections.
20753 glibcxx_have_gc_sections=no
20754 if test "$glibcxx_ld_is_gold" = "yes"; then
20755 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20756 glibcxx_have_gc_sections=yes
20757 fi
20758 else
20759 glibcxx_gcsections_min_ld=21602
20760 if test x"$with_gnu_ld" = x"yes" &&
20761 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20762 glibcxx_have_gc_sections=yes
20763 fi
20764 fi
20765 if test "$glibcxx_have_gc_sections" = "yes"; then
20766 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20767 # NB: This flag only works reliably after 2.16.1. Configure tests
20768 # for this are difficult, so hard wire a value that should work.
20769
20770 ac_test_CFLAGS="${CFLAGS+set}"
20771 ac_save_CFLAGS="$CFLAGS"
20772 CFLAGS='-Wl,--gc-sections'
20773
20774 # Check for -Wl,--gc-sections
20775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20776 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20777 if test x$gcc_no_link = xyes; then
20778 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20779 fi
20780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20781 /* end confdefs.h. */
20782 int one(void) { return 1; }
20783 int two(void) { return 2; }
20784
20785 int
20786 main ()
20787 {
20788 two();
20789 ;
20790 return 0;
20791 }
20792 _ACEOF
20793 if ac_fn_c_try_link "$LINENO"; then :
20794 ac_gcsections=yes
20795 else
20796 ac_gcsections=no
20797 fi
20798 rm -f core conftest.err conftest.$ac_objext \
20799 conftest$ac_exeext conftest.$ac_ext
20800 if test "$ac_gcsections" = "yes"; then
20801 rm -f conftest.c
20802 touch conftest.c
20803 if $CC -c conftest.c; then
20804 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20805 grep "Warning: gc-sections option ignored" > /dev/null; then
20806 ac_gcsections=no
20807 fi
20808 fi
20809 rm -f conftest.c conftest.o conftest
20810 fi
20811 if test "$ac_gcsections" = "yes"; then
20812 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20813 fi
20814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20815 $as_echo "$ac_gcsections" >&6; }
20816
20817 if test "$ac_test_CFLAGS" = set; then
20818 CFLAGS="$ac_save_CFLAGS"
20819 else
20820 # this is the suspicious part
20821 CFLAGS=''
20822 fi
20823 fi
20824
20825 # Set -z,relro.
20826 # Note this is only for shared objects.
20827 ac_ld_relro=no
20828 if test x"$with_gnu_ld" = x"yes"; then
20829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20830 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20831 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20832 if test -n "$cxx_z_relo"; then
20833 OPT_LDFLAGS="-Wl,-z,relro"
20834 ac_ld_relro=yes
20835 fi
20836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20837 $as_echo "$ac_ld_relro" >&6; }
20838 fi
20839
20840 # Set linker optimization flags.
20841 if test x"$with_gnu_ld" = x"yes"; then
20842 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20843 fi
20844
20845
20846
20847
20848
20849 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20850 ac_save_CXXFLAGS="$CXXFLAGS"
20851 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20852
20853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20854 $as_echo_n "checking for sin in -lm... " >&6; }
20855 if test "${ac_cv_lib_m_sin+set}" = set; then :
20856 $as_echo_n "(cached) " >&6
20857 else
20858 ac_check_lib_save_LIBS=$LIBS
20859 LIBS="-lm $LIBS"
20860 if test x$gcc_no_link = xyes; then
20861 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20862 fi
20863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20864 /* end confdefs.h. */
20865
20866 /* Override any GCC internal prototype to avoid an error.
20867 Use char because int might match the return type of a GCC
20868 builtin and then its argument prototype would still apply. */
20869 #ifdef __cplusplus
20870 extern "C"
20871 #endif
20872 char sin ();
20873 int
20874 main ()
20875 {
20876 return sin ();
20877 ;
20878 return 0;
20879 }
20880 _ACEOF
20881 if ac_fn_c_try_link "$LINENO"; then :
20882 ac_cv_lib_m_sin=yes
20883 else
20884 ac_cv_lib_m_sin=no
20885 fi
20886 rm -f core conftest.err conftest.$ac_objext \
20887 conftest$ac_exeext conftest.$ac_ext
20888 LIBS=$ac_check_lib_save_LIBS
20889 fi
20890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20891 $as_echo "$ac_cv_lib_m_sin" >&6; }
20892 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20893 libm="-lm"
20894 fi
20895
20896 ac_save_LIBS="$LIBS"
20897 LIBS="$LIBS $libm"
20898
20899
20900
20901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20902 $as_echo_n "checking for isinf declaration... " >&6; }
20903 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20904 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20905 $as_echo_n "(cached) " >&6
20906 else
20907
20908
20909 ac_ext=cpp
20910 ac_cpp='$CXXCPP $CPPFLAGS'
20911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20914
20915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20916 /* end confdefs.h. */
20917 #include <math.h>
20918 #ifdef HAVE_IEEEFP_H
20919 #include <ieeefp.h>
20920 #endif
20921
20922 int
20923 main ()
20924 {
20925 isinf(0);
20926 ;
20927 return 0;
20928 }
20929 _ACEOF
20930 if ac_fn_cxx_try_compile "$LINENO"; then :
20931 glibcxx_cv_func_isinf_use=yes
20932 else
20933 glibcxx_cv_func_isinf_use=no
20934 fi
20935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20936 ac_ext=c
20937 ac_cpp='$CPP $CPPFLAGS'
20938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20941
20942
20943 fi
20944
20945 fi
20946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20947 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20948
20949 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20950 for ac_func in isinf
20951 do :
20952 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20953 if test "x$ac_cv_func_isinf" = x""yes; then :
20954 cat >>confdefs.h <<_ACEOF
20955 #define HAVE_ISINF 1
20956 _ACEOF
20957
20958 fi
20959 done
20960
20961 else
20962
20963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20964 $as_echo_n "checking for _isinf declaration... " >&6; }
20965 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20966 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20967 $as_echo_n "(cached) " >&6
20968 else
20969
20970
20971 ac_ext=cpp
20972 ac_cpp='$CXXCPP $CPPFLAGS'
20973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20976
20977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20978 /* end confdefs.h. */
20979 #include <math.h>
20980 #ifdef HAVE_IEEEFP_H
20981 #include <ieeefp.h>
20982 #endif
20983
20984 int
20985 main ()
20986 {
20987 _isinf(0);
20988 ;
20989 return 0;
20990 }
20991 _ACEOF
20992 if ac_fn_cxx_try_compile "$LINENO"; then :
20993 glibcxx_cv_func__isinf_use=yes
20994 else
20995 glibcxx_cv_func__isinf_use=no
20996 fi
20997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20998 ac_ext=c
20999 ac_cpp='$CPP $CPPFLAGS'
21000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21003
21004
21005 fi
21006
21007 fi
21008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21009 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21010
21011 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21012 for ac_func in _isinf
21013 do :
21014 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21015 if test "x$ac_cv_func__isinf" = x""yes; then :
21016 cat >>confdefs.h <<_ACEOF
21017 #define HAVE__ISINF 1
21018 _ACEOF
21019
21020 fi
21021 done
21022
21023 fi
21024 fi
21025
21026
21027
21028
21029
21030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21031 $as_echo_n "checking for isnan declaration... " >&6; }
21032 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21033 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21034 $as_echo_n "(cached) " >&6
21035 else
21036
21037
21038 ac_ext=cpp
21039 ac_cpp='$CXXCPP $CPPFLAGS'
21040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21043
21044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21045 /* end confdefs.h. */
21046 #include <math.h>
21047 #ifdef HAVE_IEEEFP_H
21048 #include <ieeefp.h>
21049 #endif
21050
21051 int
21052 main ()
21053 {
21054 isnan(0);
21055 ;
21056 return 0;
21057 }
21058 _ACEOF
21059 if ac_fn_cxx_try_compile "$LINENO"; then :
21060 glibcxx_cv_func_isnan_use=yes
21061 else
21062 glibcxx_cv_func_isnan_use=no
21063 fi
21064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21065 ac_ext=c
21066 ac_cpp='$CPP $CPPFLAGS'
21067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21070
21071
21072 fi
21073
21074 fi
21075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21076 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21077
21078 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21079 for ac_func in isnan
21080 do :
21081 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21082 if test "x$ac_cv_func_isnan" = x""yes; then :
21083 cat >>confdefs.h <<_ACEOF
21084 #define HAVE_ISNAN 1
21085 _ACEOF
21086
21087 fi
21088 done
21089
21090 else
21091
21092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21093 $as_echo_n "checking for _isnan declaration... " >&6; }
21094 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21095 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21096 $as_echo_n "(cached) " >&6
21097 else
21098
21099
21100 ac_ext=cpp
21101 ac_cpp='$CXXCPP $CPPFLAGS'
21102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21105
21106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21107 /* end confdefs.h. */
21108 #include <math.h>
21109 #ifdef HAVE_IEEEFP_H
21110 #include <ieeefp.h>
21111 #endif
21112
21113 int
21114 main ()
21115 {
21116 _isnan(0);
21117 ;
21118 return 0;
21119 }
21120 _ACEOF
21121 if ac_fn_cxx_try_compile "$LINENO"; then :
21122 glibcxx_cv_func__isnan_use=yes
21123 else
21124 glibcxx_cv_func__isnan_use=no
21125 fi
21126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21127 ac_ext=c
21128 ac_cpp='$CPP $CPPFLAGS'
21129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21132
21133
21134 fi
21135
21136 fi
21137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21138 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21139
21140 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21141 for ac_func in _isnan
21142 do :
21143 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21144 if test "x$ac_cv_func__isnan" = x""yes; then :
21145 cat >>confdefs.h <<_ACEOF
21146 #define HAVE__ISNAN 1
21147 _ACEOF
21148
21149 fi
21150 done
21151
21152 fi
21153 fi
21154
21155
21156
21157
21158
21159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21160 $as_echo_n "checking for finite declaration... " >&6; }
21161 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21162 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21163 $as_echo_n "(cached) " >&6
21164 else
21165
21166
21167 ac_ext=cpp
21168 ac_cpp='$CXXCPP $CPPFLAGS'
21169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21172
21173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21174 /* end confdefs.h. */
21175 #include <math.h>
21176 #ifdef HAVE_IEEEFP_H
21177 #include <ieeefp.h>
21178 #endif
21179
21180 int
21181 main ()
21182 {
21183 finite(0);
21184 ;
21185 return 0;
21186 }
21187 _ACEOF
21188 if ac_fn_cxx_try_compile "$LINENO"; then :
21189 glibcxx_cv_func_finite_use=yes
21190 else
21191 glibcxx_cv_func_finite_use=no
21192 fi
21193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21194 ac_ext=c
21195 ac_cpp='$CPP $CPPFLAGS'
21196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21199
21200
21201 fi
21202
21203 fi
21204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21205 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21206
21207 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21208 for ac_func in finite
21209 do :
21210 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21211 if test "x$ac_cv_func_finite" = x""yes; then :
21212 cat >>confdefs.h <<_ACEOF
21213 #define HAVE_FINITE 1
21214 _ACEOF
21215
21216 fi
21217 done
21218
21219 else
21220
21221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21222 $as_echo_n "checking for _finite declaration... " >&6; }
21223 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21224 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21225 $as_echo_n "(cached) " >&6
21226 else
21227
21228
21229 ac_ext=cpp
21230 ac_cpp='$CXXCPP $CPPFLAGS'
21231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21234
21235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21236 /* end confdefs.h. */
21237 #include <math.h>
21238 #ifdef HAVE_IEEEFP_H
21239 #include <ieeefp.h>
21240 #endif
21241
21242 int
21243 main ()
21244 {
21245 _finite(0);
21246 ;
21247 return 0;
21248 }
21249 _ACEOF
21250 if ac_fn_cxx_try_compile "$LINENO"; then :
21251 glibcxx_cv_func__finite_use=yes
21252 else
21253 glibcxx_cv_func__finite_use=no
21254 fi
21255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21256 ac_ext=c
21257 ac_cpp='$CPP $CPPFLAGS'
21258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21261
21262
21263 fi
21264
21265 fi
21266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21267 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21268
21269 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21270 for ac_func in _finite
21271 do :
21272 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21273 if test "x$ac_cv_func__finite" = x""yes; then :
21274 cat >>confdefs.h <<_ACEOF
21275 #define HAVE__FINITE 1
21276 _ACEOF
21277
21278 fi
21279 done
21280
21281 fi
21282 fi
21283
21284
21285
21286
21287
21288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21289 $as_echo_n "checking for sincos declaration... " >&6; }
21290 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21291 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21292 $as_echo_n "(cached) " >&6
21293 else
21294
21295
21296 ac_ext=cpp
21297 ac_cpp='$CXXCPP $CPPFLAGS'
21298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21301
21302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21303 /* end confdefs.h. */
21304 #include <math.h>
21305 int
21306 main ()
21307 {
21308 sincos(0, 0, 0);
21309 ;
21310 return 0;
21311 }
21312 _ACEOF
21313 if ac_fn_cxx_try_compile "$LINENO"; then :
21314 glibcxx_cv_func_sincos_use=yes
21315 else
21316 glibcxx_cv_func_sincos_use=no
21317 fi
21318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21319 ac_ext=c
21320 ac_cpp='$CPP $CPPFLAGS'
21321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21324
21325
21326 fi
21327
21328 fi
21329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21330 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21331
21332 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21333 for ac_func in sincos
21334 do :
21335 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21336 if test "x$ac_cv_func_sincos" = x""yes; then :
21337 cat >>confdefs.h <<_ACEOF
21338 #define HAVE_SINCOS 1
21339 _ACEOF
21340
21341 fi
21342 done
21343
21344 else
21345
21346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21347 $as_echo_n "checking for _sincos declaration... " >&6; }
21348 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21349 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21350 $as_echo_n "(cached) " >&6
21351 else
21352
21353
21354 ac_ext=cpp
21355 ac_cpp='$CXXCPP $CPPFLAGS'
21356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21359
21360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21361 /* end confdefs.h. */
21362 #include <math.h>
21363 int
21364 main ()
21365 {
21366 _sincos(0, 0, 0);
21367 ;
21368 return 0;
21369 }
21370 _ACEOF
21371 if ac_fn_cxx_try_compile "$LINENO"; then :
21372 glibcxx_cv_func__sincos_use=yes
21373 else
21374 glibcxx_cv_func__sincos_use=no
21375 fi
21376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21377 ac_ext=c
21378 ac_cpp='$CPP $CPPFLAGS'
21379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21382
21383
21384 fi
21385
21386 fi
21387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21388 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21389
21390 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21391 for ac_func in _sincos
21392 do :
21393 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21394 if test "x$ac_cv_func__sincos" = x""yes; then :
21395 cat >>confdefs.h <<_ACEOF
21396 #define HAVE__SINCOS 1
21397 _ACEOF
21398
21399 fi
21400 done
21401
21402 fi
21403 fi
21404
21405
21406
21407
21408
21409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21410 $as_echo_n "checking for fpclass declaration... " >&6; }
21411 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21412 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21413 $as_echo_n "(cached) " >&6
21414 else
21415
21416
21417 ac_ext=cpp
21418 ac_cpp='$CXXCPP $CPPFLAGS'
21419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21422
21423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21424 /* end confdefs.h. */
21425 #include <math.h>
21426 #ifdef HAVE_IEEEFP_H
21427 #include <ieeefp.h>
21428 #endif
21429
21430 int
21431 main ()
21432 {
21433 fpclass(0);
21434 ;
21435 return 0;
21436 }
21437 _ACEOF
21438 if ac_fn_cxx_try_compile "$LINENO"; then :
21439 glibcxx_cv_func_fpclass_use=yes
21440 else
21441 glibcxx_cv_func_fpclass_use=no
21442 fi
21443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21444 ac_ext=c
21445 ac_cpp='$CPP $CPPFLAGS'
21446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21449
21450
21451 fi
21452
21453 fi
21454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21455 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21456
21457 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21458 for ac_func in fpclass
21459 do :
21460 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21461 if test "x$ac_cv_func_fpclass" = x""yes; then :
21462 cat >>confdefs.h <<_ACEOF
21463 #define HAVE_FPCLASS 1
21464 _ACEOF
21465
21466 fi
21467 done
21468
21469 else
21470
21471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21472 $as_echo_n "checking for _fpclass declaration... " >&6; }
21473 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21474 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21475 $as_echo_n "(cached) " >&6
21476 else
21477
21478
21479 ac_ext=cpp
21480 ac_cpp='$CXXCPP $CPPFLAGS'
21481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21484
21485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21486 /* end confdefs.h. */
21487 #include <math.h>
21488 #ifdef HAVE_IEEEFP_H
21489 #include <ieeefp.h>
21490 #endif
21491
21492 int
21493 main ()
21494 {
21495 _fpclass(0);
21496 ;
21497 return 0;
21498 }
21499 _ACEOF
21500 if ac_fn_cxx_try_compile "$LINENO"; then :
21501 glibcxx_cv_func__fpclass_use=yes
21502 else
21503 glibcxx_cv_func__fpclass_use=no
21504 fi
21505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21506 ac_ext=c
21507 ac_cpp='$CPP $CPPFLAGS'
21508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21511
21512
21513 fi
21514
21515 fi
21516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21517 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21518
21519 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21520 for ac_func in _fpclass
21521 do :
21522 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21523 if test "x$ac_cv_func__fpclass" = x""yes; then :
21524 cat >>confdefs.h <<_ACEOF
21525 #define HAVE__FPCLASS 1
21526 _ACEOF
21527
21528 fi
21529 done
21530
21531 fi
21532 fi
21533
21534
21535
21536
21537
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21539 $as_echo_n "checking for qfpclass declaration... " >&6; }
21540 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21541 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21542 $as_echo_n "(cached) " >&6
21543 else
21544
21545
21546 ac_ext=cpp
21547 ac_cpp='$CXXCPP $CPPFLAGS'
21548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21551
21552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21553 /* end confdefs.h. */
21554 #include <math.h>
21555 #ifdef HAVE_IEEEFP_H
21556 #include <ieeefp.h>
21557 #endif
21558
21559 int
21560 main ()
21561 {
21562 qfpclass(0);
21563 ;
21564 return 0;
21565 }
21566 _ACEOF
21567 if ac_fn_cxx_try_compile "$LINENO"; then :
21568 glibcxx_cv_func_qfpclass_use=yes
21569 else
21570 glibcxx_cv_func_qfpclass_use=no
21571 fi
21572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21573 ac_ext=c
21574 ac_cpp='$CPP $CPPFLAGS'
21575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21578
21579
21580 fi
21581
21582 fi
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21584 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21585
21586 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21587 for ac_func in qfpclass
21588 do :
21589 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21590 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21591 cat >>confdefs.h <<_ACEOF
21592 #define HAVE_QFPCLASS 1
21593 _ACEOF
21594
21595 fi
21596 done
21597
21598 else
21599
21600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21601 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21602 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21603 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21604 $as_echo_n "(cached) " >&6
21605 else
21606
21607
21608 ac_ext=cpp
21609 ac_cpp='$CXXCPP $CPPFLAGS'
21610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21613
21614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21615 /* end confdefs.h. */
21616 #include <math.h>
21617 #ifdef HAVE_IEEEFP_H
21618 #include <ieeefp.h>
21619 #endif
21620
21621 int
21622 main ()
21623 {
21624 _qfpclass(0);
21625 ;
21626 return 0;
21627 }
21628 _ACEOF
21629 if ac_fn_cxx_try_compile "$LINENO"; then :
21630 glibcxx_cv_func__qfpclass_use=yes
21631 else
21632 glibcxx_cv_func__qfpclass_use=no
21633 fi
21634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21635 ac_ext=c
21636 ac_cpp='$CPP $CPPFLAGS'
21637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21640
21641
21642 fi
21643
21644 fi
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21646 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21647
21648 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21649 for ac_func in _qfpclass
21650 do :
21651 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21652 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21653 cat >>confdefs.h <<_ACEOF
21654 #define HAVE__QFPCLASS 1
21655 _ACEOF
21656
21657 fi
21658 done
21659
21660 fi
21661 fi
21662
21663
21664
21665
21666
21667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21668 $as_echo_n "checking for hypot declaration... " >&6; }
21669 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21670 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21671 $as_echo_n "(cached) " >&6
21672 else
21673
21674
21675 ac_ext=cpp
21676 ac_cpp='$CXXCPP $CPPFLAGS'
21677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21680
21681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21682 /* end confdefs.h. */
21683 #include <math.h>
21684 int
21685 main ()
21686 {
21687 hypot(0, 0);
21688 ;
21689 return 0;
21690 }
21691 _ACEOF
21692 if ac_fn_cxx_try_compile "$LINENO"; then :
21693 glibcxx_cv_func_hypot_use=yes
21694 else
21695 glibcxx_cv_func_hypot_use=no
21696 fi
21697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21698 ac_ext=c
21699 ac_cpp='$CPP $CPPFLAGS'
21700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21703
21704
21705 fi
21706
21707 fi
21708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21709 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21710
21711 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21712 for ac_func in hypot
21713 do :
21714 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21715 if test "x$ac_cv_func_hypot" = x""yes; then :
21716 cat >>confdefs.h <<_ACEOF
21717 #define HAVE_HYPOT 1
21718 _ACEOF
21719
21720 fi
21721 done
21722
21723 else
21724
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21726 $as_echo_n "checking for _hypot declaration... " >&6; }
21727 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21728 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21729 $as_echo_n "(cached) " >&6
21730 else
21731
21732
21733 ac_ext=cpp
21734 ac_cpp='$CXXCPP $CPPFLAGS'
21735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21738
21739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21740 /* end confdefs.h. */
21741 #include <math.h>
21742 int
21743 main ()
21744 {
21745 _hypot(0, 0);
21746 ;
21747 return 0;
21748 }
21749 _ACEOF
21750 if ac_fn_cxx_try_compile "$LINENO"; then :
21751 glibcxx_cv_func__hypot_use=yes
21752 else
21753 glibcxx_cv_func__hypot_use=no
21754 fi
21755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21756 ac_ext=c
21757 ac_cpp='$CPP $CPPFLAGS'
21758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21761
21762
21763 fi
21764
21765 fi
21766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21767 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21768
21769 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21770 for ac_func in _hypot
21771 do :
21772 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21773 if test "x$ac_cv_func__hypot" = x""yes; then :
21774 cat >>confdefs.h <<_ACEOF
21775 #define HAVE__HYPOT 1
21776 _ACEOF
21777
21778 fi
21779 done
21780
21781 fi
21782 fi
21783
21784
21785
21786
21787
21788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21789 $as_echo_n "checking for float trig functions... " >&6; }
21790 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21791 $as_echo_n "(cached) " >&6
21792 else
21793
21794
21795 ac_ext=cpp
21796 ac_cpp='$CXXCPP $CPPFLAGS'
21797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21800
21801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21802 /* end confdefs.h. */
21803 #include <math.h>
21804 int
21805 main ()
21806 {
21807 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21808 ;
21809 return 0;
21810 }
21811 _ACEOF
21812 if ac_fn_cxx_try_compile "$LINENO"; then :
21813 glibcxx_cv_func_float_trig_use=yes
21814 else
21815 glibcxx_cv_func_float_trig_use=no
21816 fi
21817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21818 ac_ext=c
21819 ac_cpp='$CPP $CPPFLAGS'
21820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21823
21824 fi
21825
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21827 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21828 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21829 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21830 do :
21831 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21832 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21833 eval as_val=\$$as_ac_var
21834 if test "x$as_val" = x""yes; then :
21835 cat >>confdefs.h <<_ACEOF
21836 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21837 _ACEOF
21838
21839 fi
21840 done
21841
21842 else
21843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21844 $as_echo_n "checking for _float trig functions... " >&6; }
21845 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21846 $as_echo_n "(cached) " >&6
21847 else
21848
21849
21850 ac_ext=cpp
21851 ac_cpp='$CXXCPP $CPPFLAGS'
21852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21855
21856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21857 /* end confdefs.h. */
21858 #include <math.h>
21859 int
21860 main ()
21861 {
21862 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21863 ;
21864 return 0;
21865 }
21866 _ACEOF
21867 if ac_fn_cxx_try_compile "$LINENO"; then :
21868 glibcxx_cv_func__float_trig_use=yes
21869 else
21870 glibcxx_cv_func__float_trig_use=no
21871 fi
21872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21873 ac_ext=c
21874 ac_cpp='$CPP $CPPFLAGS'
21875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21878
21879 fi
21880
21881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21882 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21883 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21884 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21885 do :
21886 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21887 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21888 eval as_val=\$$as_ac_var
21889 if test "x$as_val" = x""yes; then :
21890 cat >>confdefs.h <<_ACEOF
21891 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21892 _ACEOF
21893
21894 fi
21895 done
21896
21897 fi
21898 fi
21899
21900
21901
21902
21903
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21905 $as_echo_n "checking for float round functions... " >&6; }
21906 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21907 $as_echo_n "(cached) " >&6
21908 else
21909
21910
21911 ac_ext=cpp
21912 ac_cpp='$CXXCPP $CPPFLAGS'
21913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21916
21917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21918 /* end confdefs.h. */
21919 #include <math.h>
21920 int
21921 main ()
21922 {
21923 ceilf (0); floorf (0);
21924 ;
21925 return 0;
21926 }
21927 _ACEOF
21928 if ac_fn_cxx_try_compile "$LINENO"; then :
21929 glibcxx_cv_func_float_round_use=yes
21930 else
21931 glibcxx_cv_func_float_round_use=no
21932 fi
21933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21934 ac_ext=c
21935 ac_cpp='$CPP $CPPFLAGS'
21936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21939
21940 fi
21941
21942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21943 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21944 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21945 for ac_func in ceilf floorf
21946 do :
21947 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21948 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21949 eval as_val=\$$as_ac_var
21950 if test "x$as_val" = x""yes; then :
21951 cat >>confdefs.h <<_ACEOF
21952 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21953 _ACEOF
21954
21955 fi
21956 done
21957
21958 else
21959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21960 $as_echo_n "checking for _float round functions... " >&6; }
21961 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21962 $as_echo_n "(cached) " >&6
21963 else
21964
21965
21966 ac_ext=cpp
21967 ac_cpp='$CXXCPP $CPPFLAGS'
21968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21971
21972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21973 /* end confdefs.h. */
21974 #include <math.h>
21975 int
21976 main ()
21977 {
21978 _ceilf (0); _floorf (0);
21979 ;
21980 return 0;
21981 }
21982 _ACEOF
21983 if ac_fn_cxx_try_compile "$LINENO"; then :
21984 glibcxx_cv_func__float_round_use=yes
21985 else
21986 glibcxx_cv_func__float_round_use=no
21987 fi
21988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21989 ac_ext=c
21990 ac_cpp='$CPP $CPPFLAGS'
21991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21994
21995 fi
21996
21997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21998 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21999 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22000 for ac_func in _ceilf _floorf
22001 do :
22002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22004 eval as_val=\$$as_ac_var
22005 if test "x$as_val" = x""yes; then :
22006 cat >>confdefs.h <<_ACEOF
22007 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22008 _ACEOF
22009
22010 fi
22011 done
22012
22013 fi
22014 fi
22015
22016
22017
22018
22019
22020
22021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22022 $as_echo_n "checking for expf declaration... " >&6; }
22023 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22024 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22025 $as_echo_n "(cached) " >&6
22026 else
22027
22028
22029 ac_ext=cpp
22030 ac_cpp='$CXXCPP $CPPFLAGS'
22031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22034
22035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22036 /* end confdefs.h. */
22037 #include <math.h>
22038 #ifdef HAVE_IEEEFP_H
22039 #include <ieeefp.h>
22040 #endif
22041
22042 int
22043 main ()
22044 {
22045 expf(0);
22046 ;
22047 return 0;
22048 }
22049 _ACEOF
22050 if ac_fn_cxx_try_compile "$LINENO"; then :
22051 glibcxx_cv_func_expf_use=yes
22052 else
22053 glibcxx_cv_func_expf_use=no
22054 fi
22055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22056 ac_ext=c
22057 ac_cpp='$CPP $CPPFLAGS'
22058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22061
22062
22063 fi
22064
22065 fi
22066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22067 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22068
22069 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22070 for ac_func in expf
22071 do :
22072 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22073 if test "x$ac_cv_func_expf" = x""yes; then :
22074 cat >>confdefs.h <<_ACEOF
22075 #define HAVE_EXPF 1
22076 _ACEOF
22077
22078 fi
22079 done
22080
22081 else
22082
22083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22084 $as_echo_n "checking for _expf declaration... " >&6; }
22085 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22086 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22087 $as_echo_n "(cached) " >&6
22088 else
22089
22090
22091 ac_ext=cpp
22092 ac_cpp='$CXXCPP $CPPFLAGS'
22093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22096
22097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22098 /* end confdefs.h. */
22099 #include <math.h>
22100 #ifdef HAVE_IEEEFP_H
22101 #include <ieeefp.h>
22102 #endif
22103
22104 int
22105 main ()
22106 {
22107 _expf(0);
22108 ;
22109 return 0;
22110 }
22111 _ACEOF
22112 if ac_fn_cxx_try_compile "$LINENO"; then :
22113 glibcxx_cv_func__expf_use=yes
22114 else
22115 glibcxx_cv_func__expf_use=no
22116 fi
22117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22118 ac_ext=c
22119 ac_cpp='$CPP $CPPFLAGS'
22120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22123
22124
22125 fi
22126
22127 fi
22128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22129 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22130
22131 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22132 for ac_func in _expf
22133 do :
22134 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22135 if test "x$ac_cv_func__expf" = x""yes; then :
22136 cat >>confdefs.h <<_ACEOF
22137 #define HAVE__EXPF 1
22138 _ACEOF
22139
22140 fi
22141 done
22142
22143 fi
22144 fi
22145
22146
22147
22148
22149
22150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22151 $as_echo_n "checking for isnanf declaration... " >&6; }
22152 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22153 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22154 $as_echo_n "(cached) " >&6
22155 else
22156
22157
22158 ac_ext=cpp
22159 ac_cpp='$CXXCPP $CPPFLAGS'
22160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22163
22164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22165 /* end confdefs.h. */
22166 #include <math.h>
22167 #ifdef HAVE_IEEEFP_H
22168 #include <ieeefp.h>
22169 #endif
22170
22171 int
22172 main ()
22173 {
22174 isnanf(0);
22175 ;
22176 return 0;
22177 }
22178 _ACEOF
22179 if ac_fn_cxx_try_compile "$LINENO"; then :
22180 glibcxx_cv_func_isnanf_use=yes
22181 else
22182 glibcxx_cv_func_isnanf_use=no
22183 fi
22184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22185 ac_ext=c
22186 ac_cpp='$CPP $CPPFLAGS'
22187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22190
22191
22192 fi
22193
22194 fi
22195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22196 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22197
22198 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22199 for ac_func in isnanf
22200 do :
22201 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22202 if test "x$ac_cv_func_isnanf" = x""yes; then :
22203 cat >>confdefs.h <<_ACEOF
22204 #define HAVE_ISNANF 1
22205 _ACEOF
22206
22207 fi
22208 done
22209
22210 else
22211
22212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22213 $as_echo_n "checking for _isnanf declaration... " >&6; }
22214 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22215 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22216 $as_echo_n "(cached) " >&6
22217 else
22218
22219
22220 ac_ext=cpp
22221 ac_cpp='$CXXCPP $CPPFLAGS'
22222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22225
22226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22227 /* end confdefs.h. */
22228 #include <math.h>
22229 #ifdef HAVE_IEEEFP_H
22230 #include <ieeefp.h>
22231 #endif
22232
22233 int
22234 main ()
22235 {
22236 _isnanf(0);
22237 ;
22238 return 0;
22239 }
22240 _ACEOF
22241 if ac_fn_cxx_try_compile "$LINENO"; then :
22242 glibcxx_cv_func__isnanf_use=yes
22243 else
22244 glibcxx_cv_func__isnanf_use=no
22245 fi
22246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22247 ac_ext=c
22248 ac_cpp='$CPP $CPPFLAGS'
22249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22252
22253
22254 fi
22255
22256 fi
22257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22258 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22259
22260 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22261 for ac_func in _isnanf
22262 do :
22263 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22264 if test "x$ac_cv_func__isnanf" = x""yes; then :
22265 cat >>confdefs.h <<_ACEOF
22266 #define HAVE__ISNANF 1
22267 _ACEOF
22268
22269 fi
22270 done
22271
22272 fi
22273 fi
22274
22275
22276
22277
22278
22279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22280 $as_echo_n "checking for isinff declaration... " >&6; }
22281 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22282 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22283 $as_echo_n "(cached) " >&6
22284 else
22285
22286
22287 ac_ext=cpp
22288 ac_cpp='$CXXCPP $CPPFLAGS'
22289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22292
22293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22294 /* end confdefs.h. */
22295 #include <math.h>
22296 #ifdef HAVE_IEEEFP_H
22297 #include <ieeefp.h>
22298 #endif
22299
22300 int
22301 main ()
22302 {
22303 isinff(0);
22304 ;
22305 return 0;
22306 }
22307 _ACEOF
22308 if ac_fn_cxx_try_compile "$LINENO"; then :
22309 glibcxx_cv_func_isinff_use=yes
22310 else
22311 glibcxx_cv_func_isinff_use=no
22312 fi
22313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22314 ac_ext=c
22315 ac_cpp='$CPP $CPPFLAGS'
22316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22319
22320
22321 fi
22322
22323 fi
22324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22325 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22326
22327 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22328 for ac_func in isinff
22329 do :
22330 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22331 if test "x$ac_cv_func_isinff" = x""yes; then :
22332 cat >>confdefs.h <<_ACEOF
22333 #define HAVE_ISINFF 1
22334 _ACEOF
22335
22336 fi
22337 done
22338
22339 else
22340
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22342 $as_echo_n "checking for _isinff declaration... " >&6; }
22343 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22344 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22345 $as_echo_n "(cached) " >&6
22346 else
22347
22348
22349 ac_ext=cpp
22350 ac_cpp='$CXXCPP $CPPFLAGS'
22351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22354
22355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22356 /* end confdefs.h. */
22357 #include <math.h>
22358 #ifdef HAVE_IEEEFP_H
22359 #include <ieeefp.h>
22360 #endif
22361
22362 int
22363 main ()
22364 {
22365 _isinff(0);
22366 ;
22367 return 0;
22368 }
22369 _ACEOF
22370 if ac_fn_cxx_try_compile "$LINENO"; then :
22371 glibcxx_cv_func__isinff_use=yes
22372 else
22373 glibcxx_cv_func__isinff_use=no
22374 fi
22375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22376 ac_ext=c
22377 ac_cpp='$CPP $CPPFLAGS'
22378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22381
22382
22383 fi
22384
22385 fi
22386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22387 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22388
22389 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22390 for ac_func in _isinff
22391 do :
22392 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22393 if test "x$ac_cv_func__isinff" = x""yes; then :
22394 cat >>confdefs.h <<_ACEOF
22395 #define HAVE__ISINFF 1
22396 _ACEOF
22397
22398 fi
22399 done
22400
22401 fi
22402 fi
22403
22404
22405
22406
22407
22408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22409 $as_echo_n "checking for atan2f declaration... " >&6; }
22410 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22411 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22412 $as_echo_n "(cached) " >&6
22413 else
22414
22415
22416 ac_ext=cpp
22417 ac_cpp='$CXXCPP $CPPFLAGS'
22418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22421
22422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22423 /* end confdefs.h. */
22424 #include <math.h>
22425 int
22426 main ()
22427 {
22428 atan2f(0, 0);
22429 ;
22430 return 0;
22431 }
22432 _ACEOF
22433 if ac_fn_cxx_try_compile "$LINENO"; then :
22434 glibcxx_cv_func_atan2f_use=yes
22435 else
22436 glibcxx_cv_func_atan2f_use=no
22437 fi
22438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22439 ac_ext=c
22440 ac_cpp='$CPP $CPPFLAGS'
22441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22444
22445
22446 fi
22447
22448 fi
22449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22450 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22451
22452 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22453 for ac_func in atan2f
22454 do :
22455 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22456 if test "x$ac_cv_func_atan2f" = x""yes; then :
22457 cat >>confdefs.h <<_ACEOF
22458 #define HAVE_ATAN2F 1
22459 _ACEOF
22460
22461 fi
22462 done
22463
22464 else
22465
22466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22467 $as_echo_n "checking for _atan2f declaration... " >&6; }
22468 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22469 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22470 $as_echo_n "(cached) " >&6
22471 else
22472
22473
22474 ac_ext=cpp
22475 ac_cpp='$CXXCPP $CPPFLAGS'
22476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22479
22480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22481 /* end confdefs.h. */
22482 #include <math.h>
22483 int
22484 main ()
22485 {
22486 _atan2f(0, 0);
22487 ;
22488 return 0;
22489 }
22490 _ACEOF
22491 if ac_fn_cxx_try_compile "$LINENO"; then :
22492 glibcxx_cv_func__atan2f_use=yes
22493 else
22494 glibcxx_cv_func__atan2f_use=no
22495 fi
22496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22497 ac_ext=c
22498 ac_cpp='$CPP $CPPFLAGS'
22499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22502
22503
22504 fi
22505
22506 fi
22507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22508 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22509
22510 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22511 for ac_func in _atan2f
22512 do :
22513 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22514 if test "x$ac_cv_func__atan2f" = x""yes; then :
22515 cat >>confdefs.h <<_ACEOF
22516 #define HAVE__ATAN2F 1
22517 _ACEOF
22518
22519 fi
22520 done
22521
22522 fi
22523 fi
22524
22525
22526
22527
22528
22529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22530 $as_echo_n "checking for fabsf declaration... " >&6; }
22531 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22532 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22533 $as_echo_n "(cached) " >&6
22534 else
22535
22536
22537 ac_ext=cpp
22538 ac_cpp='$CXXCPP $CPPFLAGS'
22539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22542
22543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22544 /* end confdefs.h. */
22545 #include <math.h>
22546 #ifdef HAVE_IEEEFP_H
22547 #include <ieeefp.h>
22548 #endif
22549
22550 int
22551 main ()
22552 {
22553 fabsf(0);
22554 ;
22555 return 0;
22556 }
22557 _ACEOF
22558 if ac_fn_cxx_try_compile "$LINENO"; then :
22559 glibcxx_cv_func_fabsf_use=yes
22560 else
22561 glibcxx_cv_func_fabsf_use=no
22562 fi
22563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22564 ac_ext=c
22565 ac_cpp='$CPP $CPPFLAGS'
22566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22569
22570
22571 fi
22572
22573 fi
22574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22575 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22576
22577 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22578 for ac_func in fabsf
22579 do :
22580 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22581 if test "x$ac_cv_func_fabsf" = x""yes; then :
22582 cat >>confdefs.h <<_ACEOF
22583 #define HAVE_FABSF 1
22584 _ACEOF
22585
22586 fi
22587 done
22588
22589 else
22590
22591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22592 $as_echo_n "checking for _fabsf declaration... " >&6; }
22593 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22594 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22595 $as_echo_n "(cached) " >&6
22596 else
22597
22598
22599 ac_ext=cpp
22600 ac_cpp='$CXXCPP $CPPFLAGS'
22601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22604
22605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22606 /* end confdefs.h. */
22607 #include <math.h>
22608 #ifdef HAVE_IEEEFP_H
22609 #include <ieeefp.h>
22610 #endif
22611
22612 int
22613 main ()
22614 {
22615 _fabsf(0);
22616 ;
22617 return 0;
22618 }
22619 _ACEOF
22620 if ac_fn_cxx_try_compile "$LINENO"; then :
22621 glibcxx_cv_func__fabsf_use=yes
22622 else
22623 glibcxx_cv_func__fabsf_use=no
22624 fi
22625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22626 ac_ext=c
22627 ac_cpp='$CPP $CPPFLAGS'
22628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22631
22632
22633 fi
22634
22635 fi
22636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22637 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22638
22639 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22640 for ac_func in _fabsf
22641 do :
22642 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22643 if test "x$ac_cv_func__fabsf" = x""yes; then :
22644 cat >>confdefs.h <<_ACEOF
22645 #define HAVE__FABSF 1
22646 _ACEOF
22647
22648 fi
22649 done
22650
22651 fi
22652 fi
22653
22654
22655
22656
22657
22658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22659 $as_echo_n "checking for fmodf declaration... " >&6; }
22660 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22661 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22662 $as_echo_n "(cached) " >&6
22663 else
22664
22665
22666 ac_ext=cpp
22667 ac_cpp='$CXXCPP $CPPFLAGS'
22668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22671
22672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22673 /* end confdefs.h. */
22674 #include <math.h>
22675 int
22676 main ()
22677 {
22678 fmodf(0, 0);
22679 ;
22680 return 0;
22681 }
22682 _ACEOF
22683 if ac_fn_cxx_try_compile "$LINENO"; then :
22684 glibcxx_cv_func_fmodf_use=yes
22685 else
22686 glibcxx_cv_func_fmodf_use=no
22687 fi
22688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22689 ac_ext=c
22690 ac_cpp='$CPP $CPPFLAGS'
22691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22694
22695
22696 fi
22697
22698 fi
22699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22700 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22701
22702 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22703 for ac_func in fmodf
22704 do :
22705 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22706 if test "x$ac_cv_func_fmodf" = x""yes; then :
22707 cat >>confdefs.h <<_ACEOF
22708 #define HAVE_FMODF 1
22709 _ACEOF
22710
22711 fi
22712 done
22713
22714 else
22715
22716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22717 $as_echo_n "checking for _fmodf declaration... " >&6; }
22718 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22719 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22720 $as_echo_n "(cached) " >&6
22721 else
22722
22723
22724 ac_ext=cpp
22725 ac_cpp='$CXXCPP $CPPFLAGS'
22726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22729
22730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22731 /* end confdefs.h. */
22732 #include <math.h>
22733 int
22734 main ()
22735 {
22736 _fmodf(0, 0);
22737 ;
22738 return 0;
22739 }
22740 _ACEOF
22741 if ac_fn_cxx_try_compile "$LINENO"; then :
22742 glibcxx_cv_func__fmodf_use=yes
22743 else
22744 glibcxx_cv_func__fmodf_use=no
22745 fi
22746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22747 ac_ext=c
22748 ac_cpp='$CPP $CPPFLAGS'
22749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22752
22753
22754 fi
22755
22756 fi
22757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22758 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22759
22760 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22761 for ac_func in _fmodf
22762 do :
22763 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22764 if test "x$ac_cv_func__fmodf" = x""yes; then :
22765 cat >>confdefs.h <<_ACEOF
22766 #define HAVE__FMODF 1
22767 _ACEOF
22768
22769 fi
22770 done
22771
22772 fi
22773 fi
22774
22775
22776
22777
22778
22779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22780 $as_echo_n "checking for frexpf declaration... " >&6; }
22781 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22782 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22783 $as_echo_n "(cached) " >&6
22784 else
22785
22786
22787 ac_ext=cpp
22788 ac_cpp='$CXXCPP $CPPFLAGS'
22789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22792
22793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22794 /* end confdefs.h. */
22795 #include <math.h>
22796 int
22797 main ()
22798 {
22799 frexpf(0, 0);
22800 ;
22801 return 0;
22802 }
22803 _ACEOF
22804 if ac_fn_cxx_try_compile "$LINENO"; then :
22805 glibcxx_cv_func_frexpf_use=yes
22806 else
22807 glibcxx_cv_func_frexpf_use=no
22808 fi
22809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22810 ac_ext=c
22811 ac_cpp='$CPP $CPPFLAGS'
22812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22815
22816
22817 fi
22818
22819 fi
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22821 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22822
22823 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22824 for ac_func in frexpf
22825 do :
22826 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22827 if test "x$ac_cv_func_frexpf" = x""yes; then :
22828 cat >>confdefs.h <<_ACEOF
22829 #define HAVE_FREXPF 1
22830 _ACEOF
22831
22832 fi
22833 done
22834
22835 else
22836
22837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22838 $as_echo_n "checking for _frexpf declaration... " >&6; }
22839 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22840 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22841 $as_echo_n "(cached) " >&6
22842 else
22843
22844
22845 ac_ext=cpp
22846 ac_cpp='$CXXCPP $CPPFLAGS'
22847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22850
22851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22852 /* end confdefs.h. */
22853 #include <math.h>
22854 int
22855 main ()
22856 {
22857 _frexpf(0, 0);
22858 ;
22859 return 0;
22860 }
22861 _ACEOF
22862 if ac_fn_cxx_try_compile "$LINENO"; then :
22863 glibcxx_cv_func__frexpf_use=yes
22864 else
22865 glibcxx_cv_func__frexpf_use=no
22866 fi
22867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22868 ac_ext=c
22869 ac_cpp='$CPP $CPPFLAGS'
22870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22873
22874
22875 fi
22876
22877 fi
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22879 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22880
22881 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22882 for ac_func in _frexpf
22883 do :
22884 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22885 if test "x$ac_cv_func__frexpf" = x""yes; then :
22886 cat >>confdefs.h <<_ACEOF
22887 #define HAVE__FREXPF 1
22888 _ACEOF
22889
22890 fi
22891 done
22892
22893 fi
22894 fi
22895
22896
22897
22898
22899
22900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22901 $as_echo_n "checking for hypotf declaration... " >&6; }
22902 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22903 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22904 $as_echo_n "(cached) " >&6
22905 else
22906
22907
22908 ac_ext=cpp
22909 ac_cpp='$CXXCPP $CPPFLAGS'
22910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22913
22914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22915 /* end confdefs.h. */
22916 #include <math.h>
22917 int
22918 main ()
22919 {
22920 hypotf(0, 0);
22921 ;
22922 return 0;
22923 }
22924 _ACEOF
22925 if ac_fn_cxx_try_compile "$LINENO"; then :
22926 glibcxx_cv_func_hypotf_use=yes
22927 else
22928 glibcxx_cv_func_hypotf_use=no
22929 fi
22930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22931 ac_ext=c
22932 ac_cpp='$CPP $CPPFLAGS'
22933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22936
22937
22938 fi
22939
22940 fi
22941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22942 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22943
22944 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22945 for ac_func in hypotf
22946 do :
22947 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22948 if test "x$ac_cv_func_hypotf" = x""yes; then :
22949 cat >>confdefs.h <<_ACEOF
22950 #define HAVE_HYPOTF 1
22951 _ACEOF
22952
22953 fi
22954 done
22955
22956 else
22957
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22959 $as_echo_n "checking for _hypotf declaration... " >&6; }
22960 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22961 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22962 $as_echo_n "(cached) " >&6
22963 else
22964
22965
22966 ac_ext=cpp
22967 ac_cpp='$CXXCPP $CPPFLAGS'
22968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22971
22972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22973 /* end confdefs.h. */
22974 #include <math.h>
22975 int
22976 main ()
22977 {
22978 _hypotf(0, 0);
22979 ;
22980 return 0;
22981 }
22982 _ACEOF
22983 if ac_fn_cxx_try_compile "$LINENO"; then :
22984 glibcxx_cv_func__hypotf_use=yes
22985 else
22986 glibcxx_cv_func__hypotf_use=no
22987 fi
22988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22989 ac_ext=c
22990 ac_cpp='$CPP $CPPFLAGS'
22991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22994
22995
22996 fi
22997
22998 fi
22999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23000 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23001
23002 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23003 for ac_func in _hypotf
23004 do :
23005 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23006 if test "x$ac_cv_func__hypotf" = x""yes; then :
23007 cat >>confdefs.h <<_ACEOF
23008 #define HAVE__HYPOTF 1
23009 _ACEOF
23010
23011 fi
23012 done
23013
23014 fi
23015 fi
23016
23017
23018
23019
23020
23021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23022 $as_echo_n "checking for ldexpf declaration... " >&6; }
23023 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23024 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23025 $as_echo_n "(cached) " >&6
23026 else
23027
23028
23029 ac_ext=cpp
23030 ac_cpp='$CXXCPP $CPPFLAGS'
23031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23034
23035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23036 /* end confdefs.h. */
23037 #include <math.h>
23038 int
23039 main ()
23040 {
23041 ldexpf(0, 0);
23042 ;
23043 return 0;
23044 }
23045 _ACEOF
23046 if ac_fn_cxx_try_compile "$LINENO"; then :
23047 glibcxx_cv_func_ldexpf_use=yes
23048 else
23049 glibcxx_cv_func_ldexpf_use=no
23050 fi
23051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23052 ac_ext=c
23053 ac_cpp='$CPP $CPPFLAGS'
23054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23057
23058
23059 fi
23060
23061 fi
23062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23063 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23064
23065 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23066 for ac_func in ldexpf
23067 do :
23068 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23069 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23070 cat >>confdefs.h <<_ACEOF
23071 #define HAVE_LDEXPF 1
23072 _ACEOF
23073
23074 fi
23075 done
23076
23077 else
23078
23079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23080 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23081 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23082 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23083 $as_echo_n "(cached) " >&6
23084 else
23085
23086
23087 ac_ext=cpp
23088 ac_cpp='$CXXCPP $CPPFLAGS'
23089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23092
23093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23094 /* end confdefs.h. */
23095 #include <math.h>
23096 int
23097 main ()
23098 {
23099 _ldexpf(0, 0);
23100 ;
23101 return 0;
23102 }
23103 _ACEOF
23104 if ac_fn_cxx_try_compile "$LINENO"; then :
23105 glibcxx_cv_func__ldexpf_use=yes
23106 else
23107 glibcxx_cv_func__ldexpf_use=no
23108 fi
23109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23110 ac_ext=c
23111 ac_cpp='$CPP $CPPFLAGS'
23112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23115
23116
23117 fi
23118
23119 fi
23120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23121 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23122
23123 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23124 for ac_func in _ldexpf
23125 do :
23126 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23127 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23128 cat >>confdefs.h <<_ACEOF
23129 #define HAVE__LDEXPF 1
23130 _ACEOF
23131
23132 fi
23133 done
23134
23135 fi
23136 fi
23137
23138
23139
23140
23141
23142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23143 $as_echo_n "checking for logf declaration... " >&6; }
23144 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23145 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23146 $as_echo_n "(cached) " >&6
23147 else
23148
23149
23150 ac_ext=cpp
23151 ac_cpp='$CXXCPP $CPPFLAGS'
23152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23155
23156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23157 /* end confdefs.h. */
23158 #include <math.h>
23159 #ifdef HAVE_IEEEFP_H
23160 #include <ieeefp.h>
23161 #endif
23162
23163 int
23164 main ()
23165 {
23166 logf(0);
23167 ;
23168 return 0;
23169 }
23170 _ACEOF
23171 if ac_fn_cxx_try_compile "$LINENO"; then :
23172 glibcxx_cv_func_logf_use=yes
23173 else
23174 glibcxx_cv_func_logf_use=no
23175 fi
23176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23177 ac_ext=c
23178 ac_cpp='$CPP $CPPFLAGS'
23179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23182
23183
23184 fi
23185
23186 fi
23187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23188 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23189
23190 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23191 for ac_func in logf
23192 do :
23193 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23194 if test "x$ac_cv_func_logf" = x""yes; then :
23195 cat >>confdefs.h <<_ACEOF
23196 #define HAVE_LOGF 1
23197 _ACEOF
23198
23199 fi
23200 done
23201
23202 else
23203
23204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23205 $as_echo_n "checking for _logf declaration... " >&6; }
23206 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23207 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23208 $as_echo_n "(cached) " >&6
23209 else
23210
23211
23212 ac_ext=cpp
23213 ac_cpp='$CXXCPP $CPPFLAGS'
23214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23217
23218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23219 /* end confdefs.h. */
23220 #include <math.h>
23221 #ifdef HAVE_IEEEFP_H
23222 #include <ieeefp.h>
23223 #endif
23224
23225 int
23226 main ()
23227 {
23228 _logf(0);
23229 ;
23230 return 0;
23231 }
23232 _ACEOF
23233 if ac_fn_cxx_try_compile "$LINENO"; then :
23234 glibcxx_cv_func__logf_use=yes
23235 else
23236 glibcxx_cv_func__logf_use=no
23237 fi
23238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23239 ac_ext=c
23240 ac_cpp='$CPP $CPPFLAGS'
23241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23244
23245
23246 fi
23247
23248 fi
23249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23250 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23251
23252 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23253 for ac_func in _logf
23254 do :
23255 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23256 if test "x$ac_cv_func__logf" = x""yes; then :
23257 cat >>confdefs.h <<_ACEOF
23258 #define HAVE__LOGF 1
23259 _ACEOF
23260
23261 fi
23262 done
23263
23264 fi
23265 fi
23266
23267
23268
23269
23270
23271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23272 $as_echo_n "checking for log10f declaration... " >&6; }
23273 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23274 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23275 $as_echo_n "(cached) " >&6
23276 else
23277
23278
23279 ac_ext=cpp
23280 ac_cpp='$CXXCPP $CPPFLAGS'
23281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23284
23285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23286 /* end confdefs.h. */
23287 #include <math.h>
23288 #ifdef HAVE_IEEEFP_H
23289 #include <ieeefp.h>
23290 #endif
23291
23292 int
23293 main ()
23294 {
23295 log10f(0);
23296 ;
23297 return 0;
23298 }
23299 _ACEOF
23300 if ac_fn_cxx_try_compile "$LINENO"; then :
23301 glibcxx_cv_func_log10f_use=yes
23302 else
23303 glibcxx_cv_func_log10f_use=no
23304 fi
23305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23306 ac_ext=c
23307 ac_cpp='$CPP $CPPFLAGS'
23308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23311
23312
23313 fi
23314
23315 fi
23316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23317 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23318
23319 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23320 for ac_func in log10f
23321 do :
23322 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23323 if test "x$ac_cv_func_log10f" = x""yes; then :
23324 cat >>confdefs.h <<_ACEOF
23325 #define HAVE_LOG10F 1
23326 _ACEOF
23327
23328 fi
23329 done
23330
23331 else
23332
23333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23334 $as_echo_n "checking for _log10f declaration... " >&6; }
23335 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23336 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23337 $as_echo_n "(cached) " >&6
23338 else
23339
23340
23341 ac_ext=cpp
23342 ac_cpp='$CXXCPP $CPPFLAGS'
23343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23346
23347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23348 /* end confdefs.h. */
23349 #include <math.h>
23350 #ifdef HAVE_IEEEFP_H
23351 #include <ieeefp.h>
23352 #endif
23353
23354 int
23355 main ()
23356 {
23357 _log10f(0);
23358 ;
23359 return 0;
23360 }
23361 _ACEOF
23362 if ac_fn_cxx_try_compile "$LINENO"; then :
23363 glibcxx_cv_func__log10f_use=yes
23364 else
23365 glibcxx_cv_func__log10f_use=no
23366 fi
23367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23368 ac_ext=c
23369 ac_cpp='$CPP $CPPFLAGS'
23370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23373
23374
23375 fi
23376
23377 fi
23378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23379 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23380
23381 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23382 for ac_func in _log10f
23383 do :
23384 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23385 if test "x$ac_cv_func__log10f" = x""yes; then :
23386 cat >>confdefs.h <<_ACEOF
23387 #define HAVE__LOG10F 1
23388 _ACEOF
23389
23390 fi
23391 done
23392
23393 fi
23394 fi
23395
23396
23397
23398
23399
23400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23401 $as_echo_n "checking for modff declaration... " >&6; }
23402 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23403 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23404 $as_echo_n "(cached) " >&6
23405 else
23406
23407
23408 ac_ext=cpp
23409 ac_cpp='$CXXCPP $CPPFLAGS'
23410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23413
23414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23415 /* end confdefs.h. */
23416 #include <math.h>
23417 int
23418 main ()
23419 {
23420 modff(0, 0);
23421 ;
23422 return 0;
23423 }
23424 _ACEOF
23425 if ac_fn_cxx_try_compile "$LINENO"; then :
23426 glibcxx_cv_func_modff_use=yes
23427 else
23428 glibcxx_cv_func_modff_use=no
23429 fi
23430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23431 ac_ext=c
23432 ac_cpp='$CPP $CPPFLAGS'
23433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23436
23437
23438 fi
23439
23440 fi
23441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23442 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23443
23444 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23445 for ac_func in modff
23446 do :
23447 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23448 if test "x$ac_cv_func_modff" = x""yes; then :
23449 cat >>confdefs.h <<_ACEOF
23450 #define HAVE_MODFF 1
23451 _ACEOF
23452
23453 fi
23454 done
23455
23456 else
23457
23458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23459 $as_echo_n "checking for _modff declaration... " >&6; }
23460 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23461 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23462 $as_echo_n "(cached) " >&6
23463 else
23464
23465
23466 ac_ext=cpp
23467 ac_cpp='$CXXCPP $CPPFLAGS'
23468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23471
23472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23473 /* end confdefs.h. */
23474 #include <math.h>
23475 int
23476 main ()
23477 {
23478 _modff(0, 0);
23479 ;
23480 return 0;
23481 }
23482 _ACEOF
23483 if ac_fn_cxx_try_compile "$LINENO"; then :
23484 glibcxx_cv_func__modff_use=yes
23485 else
23486 glibcxx_cv_func__modff_use=no
23487 fi
23488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23489 ac_ext=c
23490 ac_cpp='$CPP $CPPFLAGS'
23491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23494
23495
23496 fi
23497
23498 fi
23499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23500 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23501
23502 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23503 for ac_func in _modff
23504 do :
23505 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23506 if test "x$ac_cv_func__modff" = x""yes; then :
23507 cat >>confdefs.h <<_ACEOF
23508 #define HAVE__MODFF 1
23509 _ACEOF
23510
23511 fi
23512 done
23513
23514 fi
23515 fi
23516
23517
23518
23519
23520
23521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23522 $as_echo_n "checking for modf declaration... " >&6; }
23523 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23524 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23525 $as_echo_n "(cached) " >&6
23526 else
23527
23528
23529 ac_ext=cpp
23530 ac_cpp='$CXXCPP $CPPFLAGS'
23531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23534
23535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23536 /* end confdefs.h. */
23537 #include <math.h>
23538 int
23539 main ()
23540 {
23541 modf(0, 0);
23542 ;
23543 return 0;
23544 }
23545 _ACEOF
23546 if ac_fn_cxx_try_compile "$LINENO"; then :
23547 glibcxx_cv_func_modf_use=yes
23548 else
23549 glibcxx_cv_func_modf_use=no
23550 fi
23551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23552 ac_ext=c
23553 ac_cpp='$CPP $CPPFLAGS'
23554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23557
23558
23559 fi
23560
23561 fi
23562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23563 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23564
23565 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23566 for ac_func in modf
23567 do :
23568 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23569 if test "x$ac_cv_func_modf" = x""yes; then :
23570 cat >>confdefs.h <<_ACEOF
23571 #define HAVE_MODF 1
23572 _ACEOF
23573
23574 fi
23575 done
23576
23577 else
23578
23579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23580 $as_echo_n "checking for _modf declaration... " >&6; }
23581 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23582 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23583 $as_echo_n "(cached) " >&6
23584 else
23585
23586
23587 ac_ext=cpp
23588 ac_cpp='$CXXCPP $CPPFLAGS'
23589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23592
23593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23594 /* end confdefs.h. */
23595 #include <math.h>
23596 int
23597 main ()
23598 {
23599 _modf(0, 0);
23600 ;
23601 return 0;
23602 }
23603 _ACEOF
23604 if ac_fn_cxx_try_compile "$LINENO"; then :
23605 glibcxx_cv_func__modf_use=yes
23606 else
23607 glibcxx_cv_func__modf_use=no
23608 fi
23609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23610 ac_ext=c
23611 ac_cpp='$CPP $CPPFLAGS'
23612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23615
23616
23617 fi
23618
23619 fi
23620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23621 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23622
23623 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23624 for ac_func in _modf
23625 do :
23626 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23627 if test "x$ac_cv_func__modf" = x""yes; then :
23628 cat >>confdefs.h <<_ACEOF
23629 #define HAVE__MODF 1
23630 _ACEOF
23631
23632 fi
23633 done
23634
23635 fi
23636 fi
23637
23638
23639
23640
23641
23642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23643 $as_echo_n "checking for powf declaration... " >&6; }
23644 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23645 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23646 $as_echo_n "(cached) " >&6
23647 else
23648
23649
23650 ac_ext=cpp
23651 ac_cpp='$CXXCPP $CPPFLAGS'
23652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23655
23656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23657 /* end confdefs.h. */
23658 #include <math.h>
23659 int
23660 main ()
23661 {
23662 powf(0, 0);
23663 ;
23664 return 0;
23665 }
23666 _ACEOF
23667 if ac_fn_cxx_try_compile "$LINENO"; then :
23668 glibcxx_cv_func_powf_use=yes
23669 else
23670 glibcxx_cv_func_powf_use=no
23671 fi
23672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23673 ac_ext=c
23674 ac_cpp='$CPP $CPPFLAGS'
23675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23678
23679
23680 fi
23681
23682 fi
23683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23684 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23685
23686 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23687 for ac_func in powf
23688 do :
23689 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23690 if test "x$ac_cv_func_powf" = x""yes; then :
23691 cat >>confdefs.h <<_ACEOF
23692 #define HAVE_POWF 1
23693 _ACEOF
23694
23695 fi
23696 done
23697
23698 else
23699
23700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23701 $as_echo_n "checking for _powf declaration... " >&6; }
23702 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23703 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23704 $as_echo_n "(cached) " >&6
23705 else
23706
23707
23708 ac_ext=cpp
23709 ac_cpp='$CXXCPP $CPPFLAGS'
23710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23713
23714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23715 /* end confdefs.h. */
23716 #include <math.h>
23717 int
23718 main ()
23719 {
23720 _powf(0, 0);
23721 ;
23722 return 0;
23723 }
23724 _ACEOF
23725 if ac_fn_cxx_try_compile "$LINENO"; then :
23726 glibcxx_cv_func__powf_use=yes
23727 else
23728 glibcxx_cv_func__powf_use=no
23729 fi
23730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23731 ac_ext=c
23732 ac_cpp='$CPP $CPPFLAGS'
23733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23736
23737
23738 fi
23739
23740 fi
23741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23742 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23743
23744 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23745 for ac_func in _powf
23746 do :
23747 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23748 if test "x$ac_cv_func__powf" = x""yes; then :
23749 cat >>confdefs.h <<_ACEOF
23750 #define HAVE__POWF 1
23751 _ACEOF
23752
23753 fi
23754 done
23755
23756 fi
23757 fi
23758
23759
23760
23761
23762
23763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23764 $as_echo_n "checking for sqrtf declaration... " >&6; }
23765 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23766 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23767 $as_echo_n "(cached) " >&6
23768 else
23769
23770
23771 ac_ext=cpp
23772 ac_cpp='$CXXCPP $CPPFLAGS'
23773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23776
23777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23778 /* end confdefs.h. */
23779 #include <math.h>
23780 #ifdef HAVE_IEEEFP_H
23781 #include <ieeefp.h>
23782 #endif
23783
23784 int
23785 main ()
23786 {
23787 sqrtf(0);
23788 ;
23789 return 0;
23790 }
23791 _ACEOF
23792 if ac_fn_cxx_try_compile "$LINENO"; then :
23793 glibcxx_cv_func_sqrtf_use=yes
23794 else
23795 glibcxx_cv_func_sqrtf_use=no
23796 fi
23797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23798 ac_ext=c
23799 ac_cpp='$CPP $CPPFLAGS'
23800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23803
23804
23805 fi
23806
23807 fi
23808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23809 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23810
23811 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23812 for ac_func in sqrtf
23813 do :
23814 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23815 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23816 cat >>confdefs.h <<_ACEOF
23817 #define HAVE_SQRTF 1
23818 _ACEOF
23819
23820 fi
23821 done
23822
23823 else
23824
23825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23826 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23827 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23828 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23829 $as_echo_n "(cached) " >&6
23830 else
23831
23832
23833 ac_ext=cpp
23834 ac_cpp='$CXXCPP $CPPFLAGS'
23835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23838
23839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23840 /* end confdefs.h. */
23841 #include <math.h>
23842 #ifdef HAVE_IEEEFP_H
23843 #include <ieeefp.h>
23844 #endif
23845
23846 int
23847 main ()
23848 {
23849 _sqrtf(0);
23850 ;
23851 return 0;
23852 }
23853 _ACEOF
23854 if ac_fn_cxx_try_compile "$LINENO"; then :
23855 glibcxx_cv_func__sqrtf_use=yes
23856 else
23857 glibcxx_cv_func__sqrtf_use=no
23858 fi
23859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23860 ac_ext=c
23861 ac_cpp='$CPP $CPPFLAGS'
23862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23865
23866
23867 fi
23868
23869 fi
23870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23871 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23872
23873 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23874 for ac_func in _sqrtf
23875 do :
23876 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23877 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23878 cat >>confdefs.h <<_ACEOF
23879 #define HAVE__SQRTF 1
23880 _ACEOF
23881
23882 fi
23883 done
23884
23885 fi
23886 fi
23887
23888
23889
23890
23891
23892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23893 $as_echo_n "checking for sincosf declaration... " >&6; }
23894 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23895 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23896 $as_echo_n "(cached) " >&6
23897 else
23898
23899
23900 ac_ext=cpp
23901 ac_cpp='$CXXCPP $CPPFLAGS'
23902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23905
23906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23907 /* end confdefs.h. */
23908 #include <math.h>
23909 int
23910 main ()
23911 {
23912 sincosf(0, 0, 0);
23913 ;
23914 return 0;
23915 }
23916 _ACEOF
23917 if ac_fn_cxx_try_compile "$LINENO"; then :
23918 glibcxx_cv_func_sincosf_use=yes
23919 else
23920 glibcxx_cv_func_sincosf_use=no
23921 fi
23922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23923 ac_ext=c
23924 ac_cpp='$CPP $CPPFLAGS'
23925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23928
23929
23930 fi
23931
23932 fi
23933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23934 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23935
23936 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23937 for ac_func in sincosf
23938 do :
23939 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23940 if test "x$ac_cv_func_sincosf" = x""yes; then :
23941 cat >>confdefs.h <<_ACEOF
23942 #define HAVE_SINCOSF 1
23943 _ACEOF
23944
23945 fi
23946 done
23947
23948 else
23949
23950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23951 $as_echo_n "checking for _sincosf declaration... " >&6; }
23952 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23953 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23954 $as_echo_n "(cached) " >&6
23955 else
23956
23957
23958 ac_ext=cpp
23959 ac_cpp='$CXXCPP $CPPFLAGS'
23960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23963
23964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23965 /* end confdefs.h. */
23966 #include <math.h>
23967 int
23968 main ()
23969 {
23970 _sincosf(0, 0, 0);
23971 ;
23972 return 0;
23973 }
23974 _ACEOF
23975 if ac_fn_cxx_try_compile "$LINENO"; then :
23976 glibcxx_cv_func__sincosf_use=yes
23977 else
23978 glibcxx_cv_func__sincosf_use=no
23979 fi
23980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23981 ac_ext=c
23982 ac_cpp='$CPP $CPPFLAGS'
23983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23986
23987
23988 fi
23989
23990 fi
23991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23992 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23993
23994 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23995 for ac_func in _sincosf
23996 do :
23997 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23998 if test "x$ac_cv_func__sincosf" = x""yes; then :
23999 cat >>confdefs.h <<_ACEOF
24000 #define HAVE__SINCOSF 1
24001 _ACEOF
24002
24003 fi
24004 done
24005
24006 fi
24007 fi
24008
24009
24010
24011
24012
24013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24014 $as_echo_n "checking for finitef declaration... " >&6; }
24015 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24016 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24017 $as_echo_n "(cached) " >&6
24018 else
24019
24020
24021 ac_ext=cpp
24022 ac_cpp='$CXXCPP $CPPFLAGS'
24023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24026
24027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24028 /* end confdefs.h. */
24029 #include <math.h>
24030 #ifdef HAVE_IEEEFP_H
24031 #include <ieeefp.h>
24032 #endif
24033
24034 int
24035 main ()
24036 {
24037 finitef(0);
24038 ;
24039 return 0;
24040 }
24041 _ACEOF
24042 if ac_fn_cxx_try_compile "$LINENO"; then :
24043 glibcxx_cv_func_finitef_use=yes
24044 else
24045 glibcxx_cv_func_finitef_use=no
24046 fi
24047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24048 ac_ext=c
24049 ac_cpp='$CPP $CPPFLAGS'
24050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24053
24054
24055 fi
24056
24057 fi
24058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24059 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24060
24061 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24062 for ac_func in finitef
24063 do :
24064 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24065 if test "x$ac_cv_func_finitef" = x""yes; then :
24066 cat >>confdefs.h <<_ACEOF
24067 #define HAVE_FINITEF 1
24068 _ACEOF
24069
24070 fi
24071 done
24072
24073 else
24074
24075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24076 $as_echo_n "checking for _finitef declaration... " >&6; }
24077 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24078 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24079 $as_echo_n "(cached) " >&6
24080 else
24081
24082
24083 ac_ext=cpp
24084 ac_cpp='$CXXCPP $CPPFLAGS'
24085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24088
24089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24090 /* end confdefs.h. */
24091 #include <math.h>
24092 #ifdef HAVE_IEEEFP_H
24093 #include <ieeefp.h>
24094 #endif
24095
24096 int
24097 main ()
24098 {
24099 _finitef(0);
24100 ;
24101 return 0;
24102 }
24103 _ACEOF
24104 if ac_fn_cxx_try_compile "$LINENO"; then :
24105 glibcxx_cv_func__finitef_use=yes
24106 else
24107 glibcxx_cv_func__finitef_use=no
24108 fi
24109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24110 ac_ext=c
24111 ac_cpp='$CPP $CPPFLAGS'
24112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24115
24116
24117 fi
24118
24119 fi
24120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24121 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24122
24123 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24124 for ac_func in _finitef
24125 do :
24126 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24127 if test "x$ac_cv_func__finitef" = x""yes; then :
24128 cat >>confdefs.h <<_ACEOF
24129 #define HAVE__FINITEF 1
24130 _ACEOF
24131
24132 fi
24133 done
24134
24135 fi
24136 fi
24137
24138
24139
24140
24141
24142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24143 $as_echo_n "checking for long double trig functions... " >&6; }
24144 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24145 $as_echo_n "(cached) " >&6
24146 else
24147
24148
24149 ac_ext=cpp
24150 ac_cpp='$CXXCPP $CPPFLAGS'
24151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24154
24155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24156 /* end confdefs.h. */
24157 #include <math.h>
24158 int
24159 main ()
24160 {
24161 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24162 ;
24163 return 0;
24164 }
24165 _ACEOF
24166 if ac_fn_cxx_try_compile "$LINENO"; then :
24167 glibcxx_cv_func_long_double_trig_use=yes
24168 else
24169 glibcxx_cv_func_long_double_trig_use=no
24170 fi
24171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24172 ac_ext=c
24173 ac_cpp='$CPP $CPPFLAGS'
24174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24177
24178 fi
24179
24180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24181 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24182 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24183 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24184 do :
24185 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24186 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24187 eval as_val=\$$as_ac_var
24188 if test "x$as_val" = x""yes; then :
24189 cat >>confdefs.h <<_ACEOF
24190 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24191 _ACEOF
24192
24193 fi
24194 done
24195
24196 else
24197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24198 $as_echo_n "checking for _long double trig functions... " >&6; }
24199 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24200 $as_echo_n "(cached) " >&6
24201 else
24202
24203
24204 ac_ext=cpp
24205 ac_cpp='$CXXCPP $CPPFLAGS'
24206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24209
24210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24211 /* end confdefs.h. */
24212 #include <math.h>
24213 int
24214 main ()
24215 {
24216 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24217 ;
24218 return 0;
24219 }
24220 _ACEOF
24221 if ac_fn_cxx_try_compile "$LINENO"; then :
24222 glibcxx_cv_func__long_double_trig_use=yes
24223 else
24224 glibcxx_cv_func__long_double_trig_use=no
24225 fi
24226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24227 ac_ext=c
24228 ac_cpp='$CPP $CPPFLAGS'
24229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24232
24233 fi
24234
24235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24236 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24237 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24238 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24239 do :
24240 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24241 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24242 eval as_val=\$$as_ac_var
24243 if test "x$as_val" = x""yes; then :
24244 cat >>confdefs.h <<_ACEOF
24245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24246 _ACEOF
24247
24248 fi
24249 done
24250
24251 fi
24252 fi
24253
24254
24255
24256
24257
24258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24259 $as_echo_n "checking for long double round functions... " >&6; }
24260 if test "${glibcxx_cv_func_long_double_round_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 int
24275 main ()
24276 {
24277 ceill (0); floorl (0);
24278 ;
24279 return 0;
24280 }
24281 _ACEOF
24282 if ac_fn_cxx_try_compile "$LINENO"; then :
24283 glibcxx_cv_func_long_double_round_use=yes
24284 else
24285 glibcxx_cv_func_long_double_round_use=no
24286 fi
24287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24288 ac_ext=c
24289 ac_cpp='$CPP $CPPFLAGS'
24290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24293
24294 fi
24295
24296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24297 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24298 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24299 for ac_func in ceill floorl
24300 do :
24301 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24302 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24303 eval as_val=\$$as_ac_var
24304 if test "x$as_val" = x""yes; then :
24305 cat >>confdefs.h <<_ACEOF
24306 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24307 _ACEOF
24308
24309 fi
24310 done
24311
24312 else
24313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24314 $as_echo_n "checking for _long double round functions... " >&6; }
24315 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24316 $as_echo_n "(cached) " >&6
24317 else
24318
24319
24320 ac_ext=cpp
24321 ac_cpp='$CXXCPP $CPPFLAGS'
24322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24325
24326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24327 /* end confdefs.h. */
24328 #include <math.h>
24329 int
24330 main ()
24331 {
24332 _ceill (0); _floorl (0);
24333 ;
24334 return 0;
24335 }
24336 _ACEOF
24337 if ac_fn_cxx_try_compile "$LINENO"; then :
24338 glibcxx_cv_func__long_double_round_use=yes
24339 else
24340 glibcxx_cv_func__long_double_round_use=no
24341 fi
24342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24343 ac_ext=c
24344 ac_cpp='$CPP $CPPFLAGS'
24345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24348
24349 fi
24350
24351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24352 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24353 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24354 for ac_func in _ceill _floorl
24355 do :
24356 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24358 eval as_val=\$$as_ac_var
24359 if test "x$as_val" = x""yes; then :
24360 cat >>confdefs.h <<_ACEOF
24361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24362 _ACEOF
24363
24364 fi
24365 done
24366
24367 fi
24368 fi
24369
24370
24371
24372
24373
24374
24375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24376 $as_echo_n "checking for isnanl declaration... " >&6; }
24377 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24378 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24379 $as_echo_n "(cached) " >&6
24380 else
24381
24382
24383 ac_ext=cpp
24384 ac_cpp='$CXXCPP $CPPFLAGS'
24385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24388
24389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24390 /* end confdefs.h. */
24391 #include <math.h>
24392 #ifdef HAVE_IEEEFP_H
24393 #include <ieeefp.h>
24394 #endif
24395
24396 int
24397 main ()
24398 {
24399 isnanl(0);
24400 ;
24401 return 0;
24402 }
24403 _ACEOF
24404 if ac_fn_cxx_try_compile "$LINENO"; then :
24405 glibcxx_cv_func_isnanl_use=yes
24406 else
24407 glibcxx_cv_func_isnanl_use=no
24408 fi
24409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24410 ac_ext=c
24411 ac_cpp='$CPP $CPPFLAGS'
24412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24415
24416
24417 fi
24418
24419 fi
24420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24421 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24422
24423 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24424 for ac_func in isnanl
24425 do :
24426 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24427 if test "x$ac_cv_func_isnanl" = x""yes; then :
24428 cat >>confdefs.h <<_ACEOF
24429 #define HAVE_ISNANL 1
24430 _ACEOF
24431
24432 fi
24433 done
24434
24435 else
24436
24437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24438 $as_echo_n "checking for _isnanl declaration... " >&6; }
24439 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24440 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24441 $as_echo_n "(cached) " >&6
24442 else
24443
24444
24445 ac_ext=cpp
24446 ac_cpp='$CXXCPP $CPPFLAGS'
24447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24450
24451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24452 /* end confdefs.h. */
24453 #include <math.h>
24454 #ifdef HAVE_IEEEFP_H
24455 #include <ieeefp.h>
24456 #endif
24457
24458 int
24459 main ()
24460 {
24461 _isnanl(0);
24462 ;
24463 return 0;
24464 }
24465 _ACEOF
24466 if ac_fn_cxx_try_compile "$LINENO"; then :
24467 glibcxx_cv_func__isnanl_use=yes
24468 else
24469 glibcxx_cv_func__isnanl_use=no
24470 fi
24471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24472 ac_ext=c
24473 ac_cpp='$CPP $CPPFLAGS'
24474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24477
24478
24479 fi
24480
24481 fi
24482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24483 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24484
24485 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24486 for ac_func in _isnanl
24487 do :
24488 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24489 if test "x$ac_cv_func__isnanl" = x""yes; then :
24490 cat >>confdefs.h <<_ACEOF
24491 #define HAVE__ISNANL 1
24492 _ACEOF
24493
24494 fi
24495 done
24496
24497 fi
24498 fi
24499
24500
24501
24502
24503
24504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24505 $as_echo_n "checking for isinfl declaration... " >&6; }
24506 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24507 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24508 $as_echo_n "(cached) " >&6
24509 else
24510
24511
24512 ac_ext=cpp
24513 ac_cpp='$CXXCPP $CPPFLAGS'
24514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24517
24518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24519 /* end confdefs.h. */
24520 #include <math.h>
24521 #ifdef HAVE_IEEEFP_H
24522 #include <ieeefp.h>
24523 #endif
24524
24525 int
24526 main ()
24527 {
24528 isinfl(0);
24529 ;
24530 return 0;
24531 }
24532 _ACEOF
24533 if ac_fn_cxx_try_compile "$LINENO"; then :
24534 glibcxx_cv_func_isinfl_use=yes
24535 else
24536 glibcxx_cv_func_isinfl_use=no
24537 fi
24538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24539 ac_ext=c
24540 ac_cpp='$CPP $CPPFLAGS'
24541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24544
24545
24546 fi
24547
24548 fi
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24550 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24551
24552 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24553 for ac_func in isinfl
24554 do :
24555 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24556 if test "x$ac_cv_func_isinfl" = x""yes; then :
24557 cat >>confdefs.h <<_ACEOF
24558 #define HAVE_ISINFL 1
24559 _ACEOF
24560
24561 fi
24562 done
24563
24564 else
24565
24566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24567 $as_echo_n "checking for _isinfl declaration... " >&6; }
24568 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24569 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24570 $as_echo_n "(cached) " >&6
24571 else
24572
24573
24574 ac_ext=cpp
24575 ac_cpp='$CXXCPP $CPPFLAGS'
24576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24579
24580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24581 /* end confdefs.h. */
24582 #include <math.h>
24583 #ifdef HAVE_IEEEFP_H
24584 #include <ieeefp.h>
24585 #endif
24586
24587 int
24588 main ()
24589 {
24590 _isinfl(0);
24591 ;
24592 return 0;
24593 }
24594 _ACEOF
24595 if ac_fn_cxx_try_compile "$LINENO"; then :
24596 glibcxx_cv_func__isinfl_use=yes
24597 else
24598 glibcxx_cv_func__isinfl_use=no
24599 fi
24600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24601 ac_ext=c
24602 ac_cpp='$CPP $CPPFLAGS'
24603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24606
24607
24608 fi
24609
24610 fi
24611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24612 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24613
24614 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24615 for ac_func in _isinfl
24616 do :
24617 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24618 if test "x$ac_cv_func__isinfl" = x""yes; then :
24619 cat >>confdefs.h <<_ACEOF
24620 #define HAVE__ISINFL 1
24621 _ACEOF
24622
24623 fi
24624 done
24625
24626 fi
24627 fi
24628
24629
24630
24631
24632
24633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24634 $as_echo_n "checking for atan2l declaration... " >&6; }
24635 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24636 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24637 $as_echo_n "(cached) " >&6
24638 else
24639
24640
24641 ac_ext=cpp
24642 ac_cpp='$CXXCPP $CPPFLAGS'
24643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24646
24647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24648 /* end confdefs.h. */
24649 #include <math.h>
24650 int
24651 main ()
24652 {
24653 atan2l(0, 0);
24654 ;
24655 return 0;
24656 }
24657 _ACEOF
24658 if ac_fn_cxx_try_compile "$LINENO"; then :
24659 glibcxx_cv_func_atan2l_use=yes
24660 else
24661 glibcxx_cv_func_atan2l_use=no
24662 fi
24663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24664 ac_ext=c
24665 ac_cpp='$CPP $CPPFLAGS'
24666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24669
24670
24671 fi
24672
24673 fi
24674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24675 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24676
24677 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24678 for ac_func in atan2l
24679 do :
24680 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24681 if test "x$ac_cv_func_atan2l" = x""yes; then :
24682 cat >>confdefs.h <<_ACEOF
24683 #define HAVE_ATAN2L 1
24684 _ACEOF
24685
24686 fi
24687 done
24688
24689 else
24690
24691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24692 $as_echo_n "checking for _atan2l declaration... " >&6; }
24693 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24694 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24695 $as_echo_n "(cached) " >&6
24696 else
24697
24698
24699 ac_ext=cpp
24700 ac_cpp='$CXXCPP $CPPFLAGS'
24701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24704
24705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24706 /* end confdefs.h. */
24707 #include <math.h>
24708 int
24709 main ()
24710 {
24711 _atan2l(0, 0);
24712 ;
24713 return 0;
24714 }
24715 _ACEOF
24716 if ac_fn_cxx_try_compile "$LINENO"; then :
24717 glibcxx_cv_func__atan2l_use=yes
24718 else
24719 glibcxx_cv_func__atan2l_use=no
24720 fi
24721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24722 ac_ext=c
24723 ac_cpp='$CPP $CPPFLAGS'
24724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24727
24728
24729 fi
24730
24731 fi
24732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24733 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24734
24735 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24736 for ac_func in _atan2l
24737 do :
24738 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24739 if test "x$ac_cv_func__atan2l" = x""yes; then :
24740 cat >>confdefs.h <<_ACEOF
24741 #define HAVE__ATAN2L 1
24742 _ACEOF
24743
24744 fi
24745 done
24746
24747 fi
24748 fi
24749
24750
24751
24752
24753
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24755 $as_echo_n "checking for expl declaration... " >&6; }
24756 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24757 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24758 $as_echo_n "(cached) " >&6
24759 else
24760
24761
24762 ac_ext=cpp
24763 ac_cpp='$CXXCPP $CPPFLAGS'
24764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24767
24768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24769 /* end confdefs.h. */
24770 #include <math.h>
24771 #ifdef HAVE_IEEEFP_H
24772 #include <ieeefp.h>
24773 #endif
24774
24775 int
24776 main ()
24777 {
24778 expl(0);
24779 ;
24780 return 0;
24781 }
24782 _ACEOF
24783 if ac_fn_cxx_try_compile "$LINENO"; then :
24784 glibcxx_cv_func_expl_use=yes
24785 else
24786 glibcxx_cv_func_expl_use=no
24787 fi
24788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24789 ac_ext=c
24790 ac_cpp='$CPP $CPPFLAGS'
24791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24794
24795
24796 fi
24797
24798 fi
24799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24800 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24801
24802 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24803 for ac_func in expl
24804 do :
24805 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24806 if test "x$ac_cv_func_expl" = x""yes; then :
24807 cat >>confdefs.h <<_ACEOF
24808 #define HAVE_EXPL 1
24809 _ACEOF
24810
24811 fi
24812 done
24813
24814 else
24815
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24817 $as_echo_n "checking for _expl declaration... " >&6; }
24818 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24819 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24820 $as_echo_n "(cached) " >&6
24821 else
24822
24823
24824 ac_ext=cpp
24825 ac_cpp='$CXXCPP $CPPFLAGS'
24826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24829
24830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24831 /* end confdefs.h. */
24832 #include <math.h>
24833 #ifdef HAVE_IEEEFP_H
24834 #include <ieeefp.h>
24835 #endif
24836
24837 int
24838 main ()
24839 {
24840 _expl(0);
24841 ;
24842 return 0;
24843 }
24844 _ACEOF
24845 if ac_fn_cxx_try_compile "$LINENO"; then :
24846 glibcxx_cv_func__expl_use=yes
24847 else
24848 glibcxx_cv_func__expl_use=no
24849 fi
24850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24851 ac_ext=c
24852 ac_cpp='$CPP $CPPFLAGS'
24853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24856
24857
24858 fi
24859
24860 fi
24861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24862 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24863
24864 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24865 for ac_func in _expl
24866 do :
24867 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24868 if test "x$ac_cv_func__expl" = x""yes; then :
24869 cat >>confdefs.h <<_ACEOF
24870 #define HAVE__EXPL 1
24871 _ACEOF
24872
24873 fi
24874 done
24875
24876 fi
24877 fi
24878
24879
24880
24881
24882
24883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24884 $as_echo_n "checking for fabsl declaration... " >&6; }
24885 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24886 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24887 $as_echo_n "(cached) " >&6
24888 else
24889
24890
24891 ac_ext=cpp
24892 ac_cpp='$CXXCPP $CPPFLAGS'
24893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24896
24897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24898 /* end confdefs.h. */
24899 #include <math.h>
24900 #ifdef HAVE_IEEEFP_H
24901 #include <ieeefp.h>
24902 #endif
24903
24904 int
24905 main ()
24906 {
24907 fabsl(0);
24908 ;
24909 return 0;
24910 }
24911 _ACEOF
24912 if ac_fn_cxx_try_compile "$LINENO"; then :
24913 glibcxx_cv_func_fabsl_use=yes
24914 else
24915 glibcxx_cv_func_fabsl_use=no
24916 fi
24917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24918 ac_ext=c
24919 ac_cpp='$CPP $CPPFLAGS'
24920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24923
24924
24925 fi
24926
24927 fi
24928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24929 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24930
24931 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24932 for ac_func in fabsl
24933 do :
24934 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24935 if test "x$ac_cv_func_fabsl" = x""yes; then :
24936 cat >>confdefs.h <<_ACEOF
24937 #define HAVE_FABSL 1
24938 _ACEOF
24939
24940 fi
24941 done
24942
24943 else
24944
24945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24946 $as_echo_n "checking for _fabsl declaration... " >&6; }
24947 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24948 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24949 $as_echo_n "(cached) " >&6
24950 else
24951
24952
24953 ac_ext=cpp
24954 ac_cpp='$CXXCPP $CPPFLAGS'
24955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24958
24959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24960 /* end confdefs.h. */
24961 #include <math.h>
24962 #ifdef HAVE_IEEEFP_H
24963 #include <ieeefp.h>
24964 #endif
24965
24966 int
24967 main ()
24968 {
24969 _fabsl(0);
24970 ;
24971 return 0;
24972 }
24973 _ACEOF
24974 if ac_fn_cxx_try_compile "$LINENO"; then :
24975 glibcxx_cv_func__fabsl_use=yes
24976 else
24977 glibcxx_cv_func__fabsl_use=no
24978 fi
24979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24980 ac_ext=c
24981 ac_cpp='$CPP $CPPFLAGS'
24982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24985
24986
24987 fi
24988
24989 fi
24990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24991 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24992
24993 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24994 for ac_func in _fabsl
24995 do :
24996 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24997 if test "x$ac_cv_func__fabsl" = x""yes; then :
24998 cat >>confdefs.h <<_ACEOF
24999 #define HAVE__FABSL 1
25000 _ACEOF
25001
25002 fi
25003 done
25004
25005 fi
25006 fi
25007
25008
25009
25010
25011
25012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25013 $as_echo_n "checking for fmodl declaration... " >&6; }
25014 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25015 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25016 $as_echo_n "(cached) " >&6
25017 else
25018
25019
25020 ac_ext=cpp
25021 ac_cpp='$CXXCPP $CPPFLAGS'
25022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25025
25026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25027 /* end confdefs.h. */
25028 #include <math.h>
25029 int
25030 main ()
25031 {
25032 fmodl(0, 0);
25033 ;
25034 return 0;
25035 }
25036 _ACEOF
25037 if ac_fn_cxx_try_compile "$LINENO"; then :
25038 glibcxx_cv_func_fmodl_use=yes
25039 else
25040 glibcxx_cv_func_fmodl_use=no
25041 fi
25042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25043 ac_ext=c
25044 ac_cpp='$CPP $CPPFLAGS'
25045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25048
25049
25050 fi
25051
25052 fi
25053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25054 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25055
25056 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25057 for ac_func in fmodl
25058 do :
25059 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25060 if test "x$ac_cv_func_fmodl" = x""yes; then :
25061 cat >>confdefs.h <<_ACEOF
25062 #define HAVE_FMODL 1
25063 _ACEOF
25064
25065 fi
25066 done
25067
25068 else
25069
25070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25071 $as_echo_n "checking for _fmodl declaration... " >&6; }
25072 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25073 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25074 $as_echo_n "(cached) " >&6
25075 else
25076
25077
25078 ac_ext=cpp
25079 ac_cpp='$CXXCPP $CPPFLAGS'
25080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25083
25084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25085 /* end confdefs.h. */
25086 #include <math.h>
25087 int
25088 main ()
25089 {
25090 _fmodl(0, 0);
25091 ;
25092 return 0;
25093 }
25094 _ACEOF
25095 if ac_fn_cxx_try_compile "$LINENO"; then :
25096 glibcxx_cv_func__fmodl_use=yes
25097 else
25098 glibcxx_cv_func__fmodl_use=no
25099 fi
25100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25101 ac_ext=c
25102 ac_cpp='$CPP $CPPFLAGS'
25103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25106
25107
25108 fi
25109
25110 fi
25111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25112 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25113
25114 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25115 for ac_func in _fmodl
25116 do :
25117 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25118 if test "x$ac_cv_func__fmodl" = x""yes; then :
25119 cat >>confdefs.h <<_ACEOF
25120 #define HAVE__FMODL 1
25121 _ACEOF
25122
25123 fi
25124 done
25125
25126 fi
25127 fi
25128
25129
25130
25131
25132
25133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25134 $as_echo_n "checking for frexpl declaration... " >&6; }
25135 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25136 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25137 $as_echo_n "(cached) " >&6
25138 else
25139
25140
25141 ac_ext=cpp
25142 ac_cpp='$CXXCPP $CPPFLAGS'
25143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25146
25147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25148 /* end confdefs.h. */
25149 #include <math.h>
25150 int
25151 main ()
25152 {
25153 frexpl(0, 0);
25154 ;
25155 return 0;
25156 }
25157 _ACEOF
25158 if ac_fn_cxx_try_compile "$LINENO"; then :
25159 glibcxx_cv_func_frexpl_use=yes
25160 else
25161 glibcxx_cv_func_frexpl_use=no
25162 fi
25163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25164 ac_ext=c
25165 ac_cpp='$CPP $CPPFLAGS'
25166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25169
25170
25171 fi
25172
25173 fi
25174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25175 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25176
25177 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25178 for ac_func in frexpl
25179 do :
25180 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25181 if test "x$ac_cv_func_frexpl" = x""yes; then :
25182 cat >>confdefs.h <<_ACEOF
25183 #define HAVE_FREXPL 1
25184 _ACEOF
25185
25186 fi
25187 done
25188
25189 else
25190
25191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25192 $as_echo_n "checking for _frexpl declaration... " >&6; }
25193 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25194 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25195 $as_echo_n "(cached) " >&6
25196 else
25197
25198
25199 ac_ext=cpp
25200 ac_cpp='$CXXCPP $CPPFLAGS'
25201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25204
25205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25206 /* end confdefs.h. */
25207 #include <math.h>
25208 int
25209 main ()
25210 {
25211 _frexpl(0, 0);
25212 ;
25213 return 0;
25214 }
25215 _ACEOF
25216 if ac_fn_cxx_try_compile "$LINENO"; then :
25217 glibcxx_cv_func__frexpl_use=yes
25218 else
25219 glibcxx_cv_func__frexpl_use=no
25220 fi
25221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25222 ac_ext=c
25223 ac_cpp='$CPP $CPPFLAGS'
25224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25227
25228
25229 fi
25230
25231 fi
25232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25233 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25234
25235 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25236 for ac_func in _frexpl
25237 do :
25238 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25239 if test "x$ac_cv_func__frexpl" = x""yes; then :
25240 cat >>confdefs.h <<_ACEOF
25241 #define HAVE__FREXPL 1
25242 _ACEOF
25243
25244 fi
25245 done
25246
25247 fi
25248 fi
25249
25250
25251
25252
25253
25254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25255 $as_echo_n "checking for hypotl declaration... " >&6; }
25256 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25257 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25258 $as_echo_n "(cached) " >&6
25259 else
25260
25261
25262 ac_ext=cpp
25263 ac_cpp='$CXXCPP $CPPFLAGS'
25264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25267
25268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25269 /* end confdefs.h. */
25270 #include <math.h>
25271 int
25272 main ()
25273 {
25274 hypotl(0, 0);
25275 ;
25276 return 0;
25277 }
25278 _ACEOF
25279 if ac_fn_cxx_try_compile "$LINENO"; then :
25280 glibcxx_cv_func_hypotl_use=yes
25281 else
25282 glibcxx_cv_func_hypotl_use=no
25283 fi
25284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25285 ac_ext=c
25286 ac_cpp='$CPP $CPPFLAGS'
25287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25290
25291
25292 fi
25293
25294 fi
25295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25296 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25297
25298 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25299 for ac_func in hypotl
25300 do :
25301 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25302 if test "x$ac_cv_func_hypotl" = x""yes; then :
25303 cat >>confdefs.h <<_ACEOF
25304 #define HAVE_HYPOTL 1
25305 _ACEOF
25306
25307 fi
25308 done
25309
25310 else
25311
25312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25313 $as_echo_n "checking for _hypotl declaration... " >&6; }
25314 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25315 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25316 $as_echo_n "(cached) " >&6
25317 else
25318
25319
25320 ac_ext=cpp
25321 ac_cpp='$CXXCPP $CPPFLAGS'
25322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25325
25326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25327 /* end confdefs.h. */
25328 #include <math.h>
25329 int
25330 main ()
25331 {
25332 _hypotl(0, 0);
25333 ;
25334 return 0;
25335 }
25336 _ACEOF
25337 if ac_fn_cxx_try_compile "$LINENO"; then :
25338 glibcxx_cv_func__hypotl_use=yes
25339 else
25340 glibcxx_cv_func__hypotl_use=no
25341 fi
25342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25343 ac_ext=c
25344 ac_cpp='$CPP $CPPFLAGS'
25345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25348
25349
25350 fi
25351
25352 fi
25353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25354 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25355
25356 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25357 for ac_func in _hypotl
25358 do :
25359 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25360 if test "x$ac_cv_func__hypotl" = x""yes; then :
25361 cat >>confdefs.h <<_ACEOF
25362 #define HAVE__HYPOTL 1
25363 _ACEOF
25364
25365 fi
25366 done
25367
25368 fi
25369 fi
25370
25371
25372
25373
25374
25375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25376 $as_echo_n "checking for ldexpl declaration... " >&6; }
25377 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25378 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25379 $as_echo_n "(cached) " >&6
25380 else
25381
25382
25383 ac_ext=cpp
25384 ac_cpp='$CXXCPP $CPPFLAGS'
25385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25388
25389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25390 /* end confdefs.h. */
25391 #include <math.h>
25392 int
25393 main ()
25394 {
25395 ldexpl(0, 0);
25396 ;
25397 return 0;
25398 }
25399 _ACEOF
25400 if ac_fn_cxx_try_compile "$LINENO"; then :
25401 glibcxx_cv_func_ldexpl_use=yes
25402 else
25403 glibcxx_cv_func_ldexpl_use=no
25404 fi
25405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25406 ac_ext=c
25407 ac_cpp='$CPP $CPPFLAGS'
25408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25411
25412
25413 fi
25414
25415 fi
25416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25417 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25418
25419 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25420 for ac_func in ldexpl
25421 do :
25422 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25423 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25424 cat >>confdefs.h <<_ACEOF
25425 #define HAVE_LDEXPL 1
25426 _ACEOF
25427
25428 fi
25429 done
25430
25431 else
25432
25433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25434 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25435 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25436 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25437 $as_echo_n "(cached) " >&6
25438 else
25439
25440
25441 ac_ext=cpp
25442 ac_cpp='$CXXCPP $CPPFLAGS'
25443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25446
25447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25448 /* end confdefs.h. */
25449 #include <math.h>
25450 int
25451 main ()
25452 {
25453 _ldexpl(0, 0);
25454 ;
25455 return 0;
25456 }
25457 _ACEOF
25458 if ac_fn_cxx_try_compile "$LINENO"; then :
25459 glibcxx_cv_func__ldexpl_use=yes
25460 else
25461 glibcxx_cv_func__ldexpl_use=no
25462 fi
25463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25464 ac_ext=c
25465 ac_cpp='$CPP $CPPFLAGS'
25466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25469
25470
25471 fi
25472
25473 fi
25474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25475 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25476
25477 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25478 for ac_func in _ldexpl
25479 do :
25480 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25481 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25482 cat >>confdefs.h <<_ACEOF
25483 #define HAVE__LDEXPL 1
25484 _ACEOF
25485
25486 fi
25487 done
25488
25489 fi
25490 fi
25491
25492
25493
25494
25495
25496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25497 $as_echo_n "checking for logl declaration... " >&6; }
25498 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25499 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25500 $as_echo_n "(cached) " >&6
25501 else
25502
25503
25504 ac_ext=cpp
25505 ac_cpp='$CXXCPP $CPPFLAGS'
25506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25509
25510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25511 /* end confdefs.h. */
25512 #include <math.h>
25513 #ifdef HAVE_IEEEFP_H
25514 #include <ieeefp.h>
25515 #endif
25516
25517 int
25518 main ()
25519 {
25520 logl(0);
25521 ;
25522 return 0;
25523 }
25524 _ACEOF
25525 if ac_fn_cxx_try_compile "$LINENO"; then :
25526 glibcxx_cv_func_logl_use=yes
25527 else
25528 glibcxx_cv_func_logl_use=no
25529 fi
25530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25531 ac_ext=c
25532 ac_cpp='$CPP $CPPFLAGS'
25533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25536
25537
25538 fi
25539
25540 fi
25541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25542 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25543
25544 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25545 for ac_func in logl
25546 do :
25547 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25548 if test "x$ac_cv_func_logl" = x""yes; then :
25549 cat >>confdefs.h <<_ACEOF
25550 #define HAVE_LOGL 1
25551 _ACEOF
25552
25553 fi
25554 done
25555
25556 else
25557
25558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25559 $as_echo_n "checking for _logl declaration... " >&6; }
25560 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25561 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25562 $as_echo_n "(cached) " >&6
25563 else
25564
25565
25566 ac_ext=cpp
25567 ac_cpp='$CXXCPP $CPPFLAGS'
25568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25571
25572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25573 /* end confdefs.h. */
25574 #include <math.h>
25575 #ifdef HAVE_IEEEFP_H
25576 #include <ieeefp.h>
25577 #endif
25578
25579 int
25580 main ()
25581 {
25582 _logl(0);
25583 ;
25584 return 0;
25585 }
25586 _ACEOF
25587 if ac_fn_cxx_try_compile "$LINENO"; then :
25588 glibcxx_cv_func__logl_use=yes
25589 else
25590 glibcxx_cv_func__logl_use=no
25591 fi
25592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25593 ac_ext=c
25594 ac_cpp='$CPP $CPPFLAGS'
25595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25598
25599
25600 fi
25601
25602 fi
25603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25604 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25605
25606 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25607 for ac_func in _logl
25608 do :
25609 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25610 if test "x$ac_cv_func__logl" = x""yes; then :
25611 cat >>confdefs.h <<_ACEOF
25612 #define HAVE__LOGL 1
25613 _ACEOF
25614
25615 fi
25616 done
25617
25618 fi
25619 fi
25620
25621
25622
25623
25624
25625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25626 $as_echo_n "checking for log10l declaration... " >&6; }
25627 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25628 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25629 $as_echo_n "(cached) " >&6
25630 else
25631
25632
25633 ac_ext=cpp
25634 ac_cpp='$CXXCPP $CPPFLAGS'
25635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25638
25639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25640 /* end confdefs.h. */
25641 #include <math.h>
25642 #ifdef HAVE_IEEEFP_H
25643 #include <ieeefp.h>
25644 #endif
25645
25646 int
25647 main ()
25648 {
25649 log10l(0);
25650 ;
25651 return 0;
25652 }
25653 _ACEOF
25654 if ac_fn_cxx_try_compile "$LINENO"; then :
25655 glibcxx_cv_func_log10l_use=yes
25656 else
25657 glibcxx_cv_func_log10l_use=no
25658 fi
25659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25660 ac_ext=c
25661 ac_cpp='$CPP $CPPFLAGS'
25662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25665
25666
25667 fi
25668
25669 fi
25670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25671 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25672
25673 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25674 for ac_func in log10l
25675 do :
25676 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25677 if test "x$ac_cv_func_log10l" = x""yes; then :
25678 cat >>confdefs.h <<_ACEOF
25679 #define HAVE_LOG10L 1
25680 _ACEOF
25681
25682 fi
25683 done
25684
25685 else
25686
25687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25688 $as_echo_n "checking for _log10l declaration... " >&6; }
25689 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25690 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25691 $as_echo_n "(cached) " >&6
25692 else
25693
25694
25695 ac_ext=cpp
25696 ac_cpp='$CXXCPP $CPPFLAGS'
25697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25700
25701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25702 /* end confdefs.h. */
25703 #include <math.h>
25704 #ifdef HAVE_IEEEFP_H
25705 #include <ieeefp.h>
25706 #endif
25707
25708 int
25709 main ()
25710 {
25711 _log10l(0);
25712 ;
25713 return 0;
25714 }
25715 _ACEOF
25716 if ac_fn_cxx_try_compile "$LINENO"; then :
25717 glibcxx_cv_func__log10l_use=yes
25718 else
25719 glibcxx_cv_func__log10l_use=no
25720 fi
25721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25722 ac_ext=c
25723 ac_cpp='$CPP $CPPFLAGS'
25724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25727
25728
25729 fi
25730
25731 fi
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25733 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25734
25735 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25736 for ac_func in _log10l
25737 do :
25738 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25739 if test "x$ac_cv_func__log10l" = x""yes; then :
25740 cat >>confdefs.h <<_ACEOF
25741 #define HAVE__LOG10L 1
25742 _ACEOF
25743
25744 fi
25745 done
25746
25747 fi
25748 fi
25749
25750
25751
25752
25753
25754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25755 $as_echo_n "checking for modfl declaration... " >&6; }
25756 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25757 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25758 $as_echo_n "(cached) " >&6
25759 else
25760
25761
25762 ac_ext=cpp
25763 ac_cpp='$CXXCPP $CPPFLAGS'
25764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25767
25768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25769 /* end confdefs.h. */
25770 #include <math.h>
25771 int
25772 main ()
25773 {
25774 modfl(0, 0);
25775 ;
25776 return 0;
25777 }
25778 _ACEOF
25779 if ac_fn_cxx_try_compile "$LINENO"; then :
25780 glibcxx_cv_func_modfl_use=yes
25781 else
25782 glibcxx_cv_func_modfl_use=no
25783 fi
25784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25785 ac_ext=c
25786 ac_cpp='$CPP $CPPFLAGS'
25787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25790
25791
25792 fi
25793
25794 fi
25795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25796 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25797
25798 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25799 for ac_func in modfl
25800 do :
25801 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25802 if test "x$ac_cv_func_modfl" = x""yes; then :
25803 cat >>confdefs.h <<_ACEOF
25804 #define HAVE_MODFL 1
25805 _ACEOF
25806
25807 fi
25808 done
25809
25810 else
25811
25812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25813 $as_echo_n "checking for _modfl declaration... " >&6; }
25814 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25815 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25816 $as_echo_n "(cached) " >&6
25817 else
25818
25819
25820 ac_ext=cpp
25821 ac_cpp='$CXXCPP $CPPFLAGS'
25822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25825
25826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25827 /* end confdefs.h. */
25828 #include <math.h>
25829 int
25830 main ()
25831 {
25832 _modfl(0, 0);
25833 ;
25834 return 0;
25835 }
25836 _ACEOF
25837 if ac_fn_cxx_try_compile "$LINENO"; then :
25838 glibcxx_cv_func__modfl_use=yes
25839 else
25840 glibcxx_cv_func__modfl_use=no
25841 fi
25842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25843 ac_ext=c
25844 ac_cpp='$CPP $CPPFLAGS'
25845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25848
25849
25850 fi
25851
25852 fi
25853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25854 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25855
25856 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25857 for ac_func in _modfl
25858 do :
25859 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25860 if test "x$ac_cv_func__modfl" = x""yes; then :
25861 cat >>confdefs.h <<_ACEOF
25862 #define HAVE__MODFL 1
25863 _ACEOF
25864
25865 fi
25866 done
25867
25868 fi
25869 fi
25870
25871
25872
25873
25874
25875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25876 $as_echo_n "checking for powl declaration... " >&6; }
25877 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25878 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25879 $as_echo_n "(cached) " >&6
25880 else
25881
25882
25883 ac_ext=cpp
25884 ac_cpp='$CXXCPP $CPPFLAGS'
25885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25888
25889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25890 /* end confdefs.h. */
25891 #include <math.h>
25892 int
25893 main ()
25894 {
25895 powl(0, 0);
25896 ;
25897 return 0;
25898 }
25899 _ACEOF
25900 if ac_fn_cxx_try_compile "$LINENO"; then :
25901 glibcxx_cv_func_powl_use=yes
25902 else
25903 glibcxx_cv_func_powl_use=no
25904 fi
25905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25906 ac_ext=c
25907 ac_cpp='$CPP $CPPFLAGS'
25908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25911
25912
25913 fi
25914
25915 fi
25916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25917 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25918
25919 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25920 for ac_func in powl
25921 do :
25922 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25923 if test "x$ac_cv_func_powl" = x""yes; then :
25924 cat >>confdefs.h <<_ACEOF
25925 #define HAVE_POWL 1
25926 _ACEOF
25927
25928 fi
25929 done
25930
25931 else
25932
25933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25934 $as_echo_n "checking for _powl declaration... " >&6; }
25935 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25936 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25937 $as_echo_n "(cached) " >&6
25938 else
25939
25940
25941 ac_ext=cpp
25942 ac_cpp='$CXXCPP $CPPFLAGS'
25943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25946
25947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25948 /* end confdefs.h. */
25949 #include <math.h>
25950 int
25951 main ()
25952 {
25953 _powl(0, 0);
25954 ;
25955 return 0;
25956 }
25957 _ACEOF
25958 if ac_fn_cxx_try_compile "$LINENO"; then :
25959 glibcxx_cv_func__powl_use=yes
25960 else
25961 glibcxx_cv_func__powl_use=no
25962 fi
25963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25964 ac_ext=c
25965 ac_cpp='$CPP $CPPFLAGS'
25966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25969
25970
25971 fi
25972
25973 fi
25974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25975 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25976
25977 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25978 for ac_func in _powl
25979 do :
25980 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25981 if test "x$ac_cv_func__powl" = x""yes; then :
25982 cat >>confdefs.h <<_ACEOF
25983 #define HAVE__POWL 1
25984 _ACEOF
25985
25986 fi
25987 done
25988
25989 fi
25990 fi
25991
25992
25993
25994
25995
25996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25997 $as_echo_n "checking for sqrtl declaration... " >&6; }
25998 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25999 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26000 $as_echo_n "(cached) " >&6
26001 else
26002
26003
26004 ac_ext=cpp
26005 ac_cpp='$CXXCPP $CPPFLAGS'
26006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26009
26010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26011 /* end confdefs.h. */
26012 #include <math.h>
26013 #ifdef HAVE_IEEEFP_H
26014 #include <ieeefp.h>
26015 #endif
26016
26017 int
26018 main ()
26019 {
26020 sqrtl(0);
26021 ;
26022 return 0;
26023 }
26024 _ACEOF
26025 if ac_fn_cxx_try_compile "$LINENO"; then :
26026 glibcxx_cv_func_sqrtl_use=yes
26027 else
26028 glibcxx_cv_func_sqrtl_use=no
26029 fi
26030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26031 ac_ext=c
26032 ac_cpp='$CPP $CPPFLAGS'
26033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26036
26037
26038 fi
26039
26040 fi
26041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26042 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26043
26044 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26045 for ac_func in sqrtl
26046 do :
26047 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26048 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26049 cat >>confdefs.h <<_ACEOF
26050 #define HAVE_SQRTL 1
26051 _ACEOF
26052
26053 fi
26054 done
26055
26056 else
26057
26058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26059 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26060 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26061 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26062 $as_echo_n "(cached) " >&6
26063 else
26064
26065
26066 ac_ext=cpp
26067 ac_cpp='$CXXCPP $CPPFLAGS'
26068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26071
26072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26073 /* end confdefs.h. */
26074 #include <math.h>
26075 #ifdef HAVE_IEEEFP_H
26076 #include <ieeefp.h>
26077 #endif
26078
26079 int
26080 main ()
26081 {
26082 _sqrtl(0);
26083 ;
26084 return 0;
26085 }
26086 _ACEOF
26087 if ac_fn_cxx_try_compile "$LINENO"; then :
26088 glibcxx_cv_func__sqrtl_use=yes
26089 else
26090 glibcxx_cv_func__sqrtl_use=no
26091 fi
26092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26093 ac_ext=c
26094 ac_cpp='$CPP $CPPFLAGS'
26095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26098
26099
26100 fi
26101
26102 fi
26103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26104 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26105
26106 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26107 for ac_func in _sqrtl
26108 do :
26109 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26110 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26111 cat >>confdefs.h <<_ACEOF
26112 #define HAVE__SQRTL 1
26113 _ACEOF
26114
26115 fi
26116 done
26117
26118 fi
26119 fi
26120
26121
26122
26123
26124
26125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26126 $as_echo_n "checking for sincosl declaration... " >&6; }
26127 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26128 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26129 $as_echo_n "(cached) " >&6
26130 else
26131
26132
26133 ac_ext=cpp
26134 ac_cpp='$CXXCPP $CPPFLAGS'
26135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26138
26139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26140 /* end confdefs.h. */
26141 #include <math.h>
26142 int
26143 main ()
26144 {
26145 sincosl(0, 0, 0);
26146 ;
26147 return 0;
26148 }
26149 _ACEOF
26150 if ac_fn_cxx_try_compile "$LINENO"; then :
26151 glibcxx_cv_func_sincosl_use=yes
26152 else
26153 glibcxx_cv_func_sincosl_use=no
26154 fi
26155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26156 ac_ext=c
26157 ac_cpp='$CPP $CPPFLAGS'
26158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26161
26162
26163 fi
26164
26165 fi
26166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26167 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26168
26169 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26170 for ac_func in sincosl
26171 do :
26172 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26173 if test "x$ac_cv_func_sincosl" = x""yes; then :
26174 cat >>confdefs.h <<_ACEOF
26175 #define HAVE_SINCOSL 1
26176 _ACEOF
26177
26178 fi
26179 done
26180
26181 else
26182
26183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26184 $as_echo_n "checking for _sincosl declaration... " >&6; }
26185 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26186 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26187 $as_echo_n "(cached) " >&6
26188 else
26189
26190
26191 ac_ext=cpp
26192 ac_cpp='$CXXCPP $CPPFLAGS'
26193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26196
26197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26198 /* end confdefs.h. */
26199 #include <math.h>
26200 int
26201 main ()
26202 {
26203 _sincosl(0, 0, 0);
26204 ;
26205 return 0;
26206 }
26207 _ACEOF
26208 if ac_fn_cxx_try_compile "$LINENO"; then :
26209 glibcxx_cv_func__sincosl_use=yes
26210 else
26211 glibcxx_cv_func__sincosl_use=no
26212 fi
26213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26214 ac_ext=c
26215 ac_cpp='$CPP $CPPFLAGS'
26216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26219
26220
26221 fi
26222
26223 fi
26224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26225 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26226
26227 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26228 for ac_func in _sincosl
26229 do :
26230 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26231 if test "x$ac_cv_func__sincosl" = x""yes; then :
26232 cat >>confdefs.h <<_ACEOF
26233 #define HAVE__SINCOSL 1
26234 _ACEOF
26235
26236 fi
26237 done
26238
26239 fi
26240 fi
26241
26242
26243
26244
26245
26246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26247 $as_echo_n "checking for finitel declaration... " >&6; }
26248 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26249 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26250 $as_echo_n "(cached) " >&6
26251 else
26252
26253
26254 ac_ext=cpp
26255 ac_cpp='$CXXCPP $CPPFLAGS'
26256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26259
26260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26261 /* end confdefs.h. */
26262 #include <math.h>
26263 #ifdef HAVE_IEEEFP_H
26264 #include <ieeefp.h>
26265 #endif
26266
26267 int
26268 main ()
26269 {
26270 finitel(0);
26271 ;
26272 return 0;
26273 }
26274 _ACEOF
26275 if ac_fn_cxx_try_compile "$LINENO"; then :
26276 glibcxx_cv_func_finitel_use=yes
26277 else
26278 glibcxx_cv_func_finitel_use=no
26279 fi
26280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26281 ac_ext=c
26282 ac_cpp='$CPP $CPPFLAGS'
26283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26286
26287
26288 fi
26289
26290 fi
26291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26292 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26293
26294 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26295 for ac_func in finitel
26296 do :
26297 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26298 if test "x$ac_cv_func_finitel" = x""yes; then :
26299 cat >>confdefs.h <<_ACEOF
26300 #define HAVE_FINITEL 1
26301 _ACEOF
26302
26303 fi
26304 done
26305
26306 else
26307
26308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26309 $as_echo_n "checking for _finitel declaration... " >&6; }
26310 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26311 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26312 $as_echo_n "(cached) " >&6
26313 else
26314
26315
26316 ac_ext=cpp
26317 ac_cpp='$CXXCPP $CPPFLAGS'
26318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26321
26322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26323 /* end confdefs.h. */
26324 #include <math.h>
26325 #ifdef HAVE_IEEEFP_H
26326 #include <ieeefp.h>
26327 #endif
26328
26329 int
26330 main ()
26331 {
26332 _finitel(0);
26333 ;
26334 return 0;
26335 }
26336 _ACEOF
26337 if ac_fn_cxx_try_compile "$LINENO"; then :
26338 glibcxx_cv_func__finitel_use=yes
26339 else
26340 glibcxx_cv_func__finitel_use=no
26341 fi
26342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26343 ac_ext=c
26344 ac_cpp='$CPP $CPPFLAGS'
26345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26348
26349
26350 fi
26351
26352 fi
26353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26354 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26355
26356 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26357 for ac_func in _finitel
26358 do :
26359 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26360 if test "x$ac_cv_func__finitel" = x""yes; then :
26361 cat >>confdefs.h <<_ACEOF
26362 #define HAVE__FINITEL 1
26363 _ACEOF
26364
26365 fi
26366 done
26367
26368 fi
26369 fi
26370
26371
26372
26373
26374 LIBS="$ac_save_LIBS"
26375 CXXFLAGS="$ac_save_CXXFLAGS"
26376
26377
26378 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26379 ac_save_CXXFLAGS="$CXXFLAGS"
26380 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26381
26382
26383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26384 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26385 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26386 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26387 $as_echo_n "(cached) " >&6
26388 else
26389
26390
26391 ac_ext=cpp
26392 ac_cpp='$CXXCPP $CPPFLAGS'
26393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26396
26397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26398 /* end confdefs.h. */
26399 #include <stdlib.h>
26400 int
26401 main ()
26402 {
26403 at_quick_exit(0);
26404 ;
26405 return 0;
26406 }
26407 _ACEOF
26408 if ac_fn_cxx_try_compile "$LINENO"; then :
26409 glibcxx_cv_func_at_quick_exit_use=yes
26410 else
26411 glibcxx_cv_func_at_quick_exit_use=no
26412 fi
26413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26414 ac_ext=c
26415 ac_cpp='$CPP $CPPFLAGS'
26416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26419
26420
26421 fi
26422
26423 fi
26424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26425 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26426 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26427 for ac_func in at_quick_exit
26428 do :
26429 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26430 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26431 cat >>confdefs.h <<_ACEOF
26432 #define HAVE_AT_QUICK_EXIT 1
26433 _ACEOF
26434
26435 fi
26436 done
26437
26438 fi
26439
26440
26441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26442 $as_echo_n "checking for quick_exit declaration... " >&6; }
26443 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26444 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26445 $as_echo_n "(cached) " >&6
26446 else
26447
26448
26449 ac_ext=cpp
26450 ac_cpp='$CXXCPP $CPPFLAGS'
26451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26454
26455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26456 /* end confdefs.h. */
26457 #include <stdlib.h>
26458 int
26459 main ()
26460 {
26461 quick_exit(0);
26462 ;
26463 return 0;
26464 }
26465 _ACEOF
26466 if ac_fn_cxx_try_compile "$LINENO"; then :
26467 glibcxx_cv_func_quick_exit_use=yes
26468 else
26469 glibcxx_cv_func_quick_exit_use=no
26470 fi
26471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26472 ac_ext=c
26473 ac_cpp='$CPP $CPPFLAGS'
26474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26477
26478
26479 fi
26480
26481 fi
26482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26483 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26484 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26485 for ac_func in quick_exit
26486 do :
26487 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26488 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26489 cat >>confdefs.h <<_ACEOF
26490 #define HAVE_QUICK_EXIT 1
26491 _ACEOF
26492
26493 fi
26494 done
26495
26496 fi
26497
26498
26499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26500 $as_echo_n "checking for strtold declaration... " >&6; }
26501 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26502 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26503 $as_echo_n "(cached) " >&6
26504 else
26505
26506
26507 ac_ext=cpp
26508 ac_cpp='$CXXCPP $CPPFLAGS'
26509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26512
26513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26514 /* end confdefs.h. */
26515 #include <stdlib.h>
26516 int
26517 main ()
26518 {
26519 strtold(0, 0);
26520 ;
26521 return 0;
26522 }
26523 _ACEOF
26524 if ac_fn_cxx_try_compile "$LINENO"; then :
26525 glibcxx_cv_func_strtold_use=yes
26526 else
26527 glibcxx_cv_func_strtold_use=no
26528 fi
26529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26530 ac_ext=c
26531 ac_cpp='$CPP $CPPFLAGS'
26532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26535
26536
26537 fi
26538
26539 fi
26540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26541 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26542 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26543 for ac_func in strtold
26544 do :
26545 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26546 if test "x$ac_cv_func_strtold" = x""yes; then :
26547 cat >>confdefs.h <<_ACEOF
26548 #define HAVE_STRTOLD 1
26549 _ACEOF
26550
26551 fi
26552 done
26553
26554 fi
26555
26556
26557
26558
26559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26560 $as_echo_n "checking for strtof declaration... " >&6; }
26561 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26562 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26563 $as_echo_n "(cached) " >&6
26564 else
26565
26566
26567 ac_ext=cpp
26568 ac_cpp='$CXXCPP $CPPFLAGS'
26569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26572
26573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26574 /* end confdefs.h. */
26575 #include <stdlib.h>
26576 int
26577 main ()
26578 {
26579 strtof(0, 0);
26580 ;
26581 return 0;
26582 }
26583 _ACEOF
26584 if ac_fn_cxx_try_compile "$LINENO"; then :
26585 glibcxx_cv_func_strtof_use=yes
26586 else
26587 glibcxx_cv_func_strtof_use=no
26588 fi
26589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26590 ac_ext=c
26591 ac_cpp='$CPP $CPPFLAGS'
26592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26595
26596
26597 fi
26598
26599 fi
26600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26601 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26602 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26603 for ac_func in strtof
26604 do :
26605 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26606 if test "x$ac_cv_func_strtof" = x""yes; then :
26607 cat >>confdefs.h <<_ACEOF
26608 #define HAVE_STRTOF 1
26609 _ACEOF
26610
26611 fi
26612 done
26613
26614 fi
26615
26616
26617
26618
26619 CXXFLAGS="$ac_save_CXXFLAGS"
26620
26621
26622 # For /dev/random and /dev/urandom for TR1.
26623
26624
26625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26626 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26627 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26628 $as_echo_n "(cached) " >&6
26629 else
26630
26631 if test -r /dev/random && test -r /dev/urandom; then
26632 ## For MSys environment the test above is detect as false-positive
26633 ## on mingw-targets. So disable it explicit for them.
26634 case ${target_os} in
26635 *mingw*) glibcxx_cv_random_tr1=no ;;
26636 *) glibcxx_cv_random_tr1=yes ;;
26637 esac
26638 else
26639 glibcxx_cv_random_tr1=no;
26640 fi
26641
26642 fi
26643
26644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26645 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26646
26647 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26648
26649 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26650
26651 fi
26652
26653
26654
26655 # For TLS support.
26656
26657
26658 # Check whether --enable-tls was given.
26659 if test "${enable_tls+set}" = set; then :
26660 enableval=$enable_tls;
26661 case "$enableval" in
26662 yes|no) ;;
26663 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26664 esac
26665
26666 else
26667 enable_tls=yes
26668 fi
26669
26670
26671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26672 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26673 if test "${gcc_cv_have_tls+set}" = set; then :
26674 $as_echo_n "(cached) " >&6
26675 else
26676
26677 if test "$cross_compiling" = yes; then :
26678 if test x$gcc_no_link = xyes; then
26679 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26680 fi
26681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26682 /* end confdefs.h. */
26683 __thread int a; int b; int main() { return a = b; }
26684 _ACEOF
26685 if ac_fn_c_try_link "$LINENO"; then :
26686 chktls_save_LDFLAGS="$LDFLAGS"
26687 case $host in
26688 *-*-linux*)
26689 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26690 ;;
26691 esac
26692 chktls_save_CFLAGS="$CFLAGS"
26693 CFLAGS="-fPIC $CFLAGS"
26694 if test x$gcc_no_link = xyes; then
26695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26696 fi
26697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26698 /* end confdefs.h. */
26699 int f() { return 0; }
26700 _ACEOF
26701 if ac_fn_c_try_link "$LINENO"; then :
26702 if test x$gcc_no_link = xyes; then
26703 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26704 fi
26705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26706 /* end confdefs.h. */
26707 __thread int a; int b; int f() { return a = b; }
26708 _ACEOF
26709 if ac_fn_c_try_link "$LINENO"; then :
26710 gcc_cv_have_tls=yes
26711 else
26712 gcc_cv_have_tls=no
26713 fi
26714 rm -f core conftest.err conftest.$ac_objext \
26715 conftest$ac_exeext conftest.$ac_ext
26716 else
26717 gcc_cv_have_tls=yes
26718 fi
26719 rm -f core conftest.err conftest.$ac_objext \
26720 conftest$ac_exeext conftest.$ac_ext
26721 CFLAGS="$chktls_save_CFLAGS"
26722 LDFLAGS="$chktls_save_LDFLAGS"
26723 else
26724 gcc_cv_have_tls=no
26725 fi
26726 rm -f core conftest.err conftest.$ac_objext \
26727 conftest$ac_exeext conftest.$ac_ext
26728
26729
26730 else
26731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26732 /* end confdefs.h. */
26733 __thread int a; int b; int main() { return a = b; }
26734 _ACEOF
26735 if ac_fn_c_try_run "$LINENO"; then :
26736 chktls_save_LDFLAGS="$LDFLAGS"
26737 LDFLAGS="-static $LDFLAGS"
26738 if test x$gcc_no_link = xyes; then
26739 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26740 fi
26741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26742 /* end confdefs.h. */
26743 int main() { return 0; }
26744 _ACEOF
26745 if ac_fn_c_try_link "$LINENO"; then :
26746 if test "$cross_compiling" = yes; then :
26747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26749 as_fn_error "cannot run test program while cross compiling
26750 See \`config.log' for more details." "$LINENO" 5; }
26751 else
26752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26753 /* end confdefs.h. */
26754 __thread int a; int b; int main() { return a = b; }
26755 _ACEOF
26756 if ac_fn_c_try_run "$LINENO"; then :
26757 gcc_cv_have_tls=yes
26758 else
26759 gcc_cv_have_tls=no
26760 fi
26761 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26762 conftest.$ac_objext conftest.beam conftest.$ac_ext
26763 fi
26764
26765 else
26766 gcc_cv_have_tls=yes
26767 fi
26768 rm -f core conftest.err conftest.$ac_objext \
26769 conftest$ac_exeext conftest.$ac_ext
26770 LDFLAGS="$chktls_save_LDFLAGS"
26771 if test $gcc_cv_have_tls = yes; then
26772 chktls_save_CFLAGS="$CFLAGS"
26773 thread_CFLAGS=failed
26774 for flag in '' '-pthread' '-lpthread'; do
26775 CFLAGS="$flag $chktls_save_CFLAGS"
26776 if test x$gcc_no_link = xyes; then
26777 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26778 fi
26779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26780 /* end confdefs.h. */
26781 #include <pthread.h>
26782 void *g(void *d) { return NULL; }
26783 int
26784 main ()
26785 {
26786 pthread_t t; pthread_create(&t,NULL,g,NULL);
26787 ;
26788 return 0;
26789 }
26790 _ACEOF
26791 if ac_fn_c_try_link "$LINENO"; then :
26792 thread_CFLAGS="$flag"
26793 fi
26794 rm -f core conftest.err conftest.$ac_objext \
26795 conftest$ac_exeext conftest.$ac_ext
26796 if test "X$thread_CFLAGS" != Xfailed; then
26797 break
26798 fi
26799 done
26800 CFLAGS="$chktls_save_CFLAGS"
26801 if test "X$thread_CFLAGS" != Xfailed; then
26802 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26803 if test "$cross_compiling" = yes; then :
26804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26806 as_fn_error "cannot run test program while cross compiling
26807 See \`config.log' for more details." "$LINENO" 5; }
26808 else
26809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26810 /* end confdefs.h. */
26811 #include <pthread.h>
26812 __thread int a;
26813 static int *volatile a_in_other_thread;
26814 static void *
26815 thread_func (void *arg)
26816 {
26817 a_in_other_thread = &a;
26818 return (void *)0;
26819 }
26820 int
26821 main ()
26822 {
26823 pthread_t thread;
26824 void *thread_retval;
26825 int *volatile a_in_main_thread;
26826 a_in_main_thread = &a;
26827 if (pthread_create (&thread, (pthread_attr_t *)0,
26828 thread_func, (void *)0))
26829 return 0;
26830 if (pthread_join (thread, &thread_retval))
26831 return 0;
26832 return (a_in_other_thread == a_in_main_thread);
26833 ;
26834 return 0;
26835 }
26836 _ACEOF
26837 if ac_fn_c_try_run "$LINENO"; then :
26838 gcc_cv_have_tls=yes
26839 else
26840 gcc_cv_have_tls=no
26841 fi
26842 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26843 conftest.$ac_objext conftest.beam conftest.$ac_ext
26844 fi
26845
26846 CFLAGS="$chktls_save_CFLAGS"
26847 fi
26848 fi
26849 else
26850 gcc_cv_have_tls=no
26851 fi
26852 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26853 conftest.$ac_objext conftest.beam conftest.$ac_ext
26854 fi
26855
26856 fi
26857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26858 $as_echo "$gcc_cv_have_tls" >&6; }
26859 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26860
26861 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26862
26863 fi
26864
26865 for ac_func in __cxa_thread_atexit_impl
26866 do :
26867 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
26868 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
26869 cat >>confdefs.h <<_ACEOF
26870 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
26871 _ACEOF
26872
26873 fi
26874 done
26875
26876
26877 # For iconv support.
26878
26879 if test "X$prefix" = "XNONE"; then
26880 acl_final_prefix="$ac_default_prefix"
26881 else
26882 acl_final_prefix="$prefix"
26883 fi
26884 if test "X$exec_prefix" = "XNONE"; then
26885 acl_final_exec_prefix='${prefix}'
26886 else
26887 acl_final_exec_prefix="$exec_prefix"
26888 fi
26889 acl_save_prefix="$prefix"
26890 prefix="$acl_final_prefix"
26891 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26892 prefix="$acl_save_prefix"
26893
26894
26895 # Check whether --with-gnu-ld was given.
26896 if test "${with_gnu_ld+set}" = set; then :
26897 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26898 else
26899 with_gnu_ld=no
26900 fi
26901
26902 # Prepare PATH_SEPARATOR.
26903 # The user is always right.
26904 if test "${PATH_SEPARATOR+set}" != set; then
26905 echo "#! /bin/sh" >conf$$.sh
26906 echo "exit 0" >>conf$$.sh
26907 chmod +x conf$$.sh
26908 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26909 PATH_SEPARATOR=';'
26910 else
26911 PATH_SEPARATOR=:
26912 fi
26913 rm -f conf$$.sh
26914 fi
26915 ac_prog=ld
26916 if test "$GCC" = yes; then
26917 # Check if gcc -print-prog-name=ld gives a path.
26918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26919 $as_echo_n "checking for ld used by GCC... " >&6; }
26920 case $host in
26921 *-*-mingw*)
26922 # gcc leaves a trailing carriage return which upsets mingw
26923 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26924 *)
26925 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26926 esac
26927 case $ac_prog in
26928 # Accept absolute paths.
26929 [\\/]* | [A-Za-z]:[\\/]*)
26930 re_direlt='/[^/][^/]*/\.\./'
26931 # Canonicalize the path of ld
26932 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26933 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26934 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26935 done
26936 test -z "$LD" && LD="$ac_prog"
26937 ;;
26938 "")
26939 # If it fails, then pretend we aren't using GCC.
26940 ac_prog=ld
26941 ;;
26942 *)
26943 # If it is relative, then search for the first ld in PATH.
26944 with_gnu_ld=unknown
26945 ;;
26946 esac
26947 elif test "$with_gnu_ld" = yes; then
26948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26949 $as_echo_n "checking for GNU ld... " >&6; }
26950 else
26951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26952 $as_echo_n "checking for non-GNU ld... " >&6; }
26953 fi
26954 if test "${acl_cv_path_LD+set}" = set; then :
26955 $as_echo_n "(cached) " >&6
26956 else
26957 if test -z "$LD"; then
26958 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26959 for ac_dir in $PATH; do
26960 test -z "$ac_dir" && ac_dir=.
26961 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26962 acl_cv_path_LD="$ac_dir/$ac_prog"
26963 # Check to see if the program is GNU ld. I'd rather use --version,
26964 # but apparently some GNU ld's only accept -v.
26965 # Break only if it was the GNU/non-GNU ld that we prefer.
26966 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26967 test "$with_gnu_ld" != no && break
26968 else
26969 test "$with_gnu_ld" != yes && break
26970 fi
26971 fi
26972 done
26973 IFS="$ac_save_ifs"
26974 else
26975 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26976 fi
26977 fi
26978
26979 LD="$acl_cv_path_LD"
26980 if test -n "$LD"; then
26981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26982 $as_echo "$LD" >&6; }
26983 else
26984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26985 $as_echo "no" >&6; }
26986 fi
26987 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26989 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26990 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26991 $as_echo_n "(cached) " >&6
26992 else
26993 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26994 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26995 acl_cv_prog_gnu_ld=yes
26996 else
26997 acl_cv_prog_gnu_ld=no
26998 fi
26999 fi
27000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27001 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27002 with_gnu_ld=$acl_cv_prog_gnu_ld
27003
27004
27005
27006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27007 $as_echo_n "checking for shared library run path origin... " >&6; }
27008 if test "${acl_cv_rpath+set}" = set; then :
27009 $as_echo_n "(cached) " >&6
27010 else
27011
27012 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27013 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27014 . ./conftest.sh
27015 rm -f ./conftest.sh
27016 acl_cv_rpath=done
27017
27018 fi
27019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27020 $as_echo "$acl_cv_rpath" >&6; }
27021 wl="$acl_cv_wl"
27022 libext="$acl_cv_libext"
27023 shlibext="$acl_cv_shlibext"
27024 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27025 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27026 hardcode_direct="$acl_cv_hardcode_direct"
27027 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27028 # Check whether --enable-rpath was given.
27029 if test "${enable_rpath+set}" = set; then :
27030 enableval=$enable_rpath; :
27031 else
27032 enable_rpath=yes
27033 fi
27034
27035
27036
27037
27038
27039
27040
27041
27042 use_additional=yes
27043
27044 acl_save_prefix="$prefix"
27045 prefix="$acl_final_prefix"
27046 acl_save_exec_prefix="$exec_prefix"
27047 exec_prefix="$acl_final_exec_prefix"
27048
27049 eval additional_includedir=\"$includedir\"
27050 eval additional_libdir=\"$libdir\"
27051
27052 exec_prefix="$acl_save_exec_prefix"
27053 prefix="$acl_save_prefix"
27054
27055
27056 # Check whether --with-libiconv-prefix was given.
27057 if test "${with_libiconv_prefix+set}" = set; then :
27058 withval=$with_libiconv_prefix;
27059 if test "X$withval" = "Xno"; then
27060 use_additional=no
27061 else
27062 if test "X$withval" = "X"; then
27063
27064 acl_save_prefix="$prefix"
27065 prefix="$acl_final_prefix"
27066 acl_save_exec_prefix="$exec_prefix"
27067 exec_prefix="$acl_final_exec_prefix"
27068
27069 eval additional_includedir=\"$includedir\"
27070 eval additional_libdir=\"$libdir\"
27071
27072 exec_prefix="$acl_save_exec_prefix"
27073 prefix="$acl_save_prefix"
27074
27075 else
27076 additional_includedir="$withval/include"
27077 additional_libdir="$withval/lib"
27078 fi
27079 fi
27080
27081 fi
27082
27083 LIBICONV=
27084 LTLIBICONV=
27085 INCICONV=
27086 rpathdirs=
27087 ltrpathdirs=
27088 names_already_handled=
27089 names_next_round='iconv '
27090 while test -n "$names_next_round"; do
27091 names_this_round="$names_next_round"
27092 names_next_round=
27093 for name in $names_this_round; do
27094 already_handled=
27095 for n in $names_already_handled; do
27096 if test "$n" = "$name"; then
27097 already_handled=yes
27098 break
27099 fi
27100 done
27101 if test -z "$already_handled"; then
27102 names_already_handled="$names_already_handled $name"
27103 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27104 eval value=\"\$HAVE_LIB$uppername\"
27105 if test -n "$value"; then
27106 if test "$value" = yes; then
27107 eval value=\"\$LIB$uppername\"
27108 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27109 eval value=\"\$LTLIB$uppername\"
27110 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27111 else
27112 :
27113 fi
27114 else
27115 found_dir=
27116 found_la=
27117 found_so=
27118 found_a=
27119 if test $use_additional = yes; then
27120 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27121 found_dir="$additional_libdir"
27122 found_so="$additional_libdir/lib$name.$shlibext"
27123 if test -f "$additional_libdir/lib$name.la"; then
27124 found_la="$additional_libdir/lib$name.la"
27125 fi
27126 else
27127 if test -f "$additional_libdir/lib$name.$libext"; then
27128 found_dir="$additional_libdir"
27129 found_a="$additional_libdir/lib$name.$libext"
27130 if test -f "$additional_libdir/lib$name.la"; then
27131 found_la="$additional_libdir/lib$name.la"
27132 fi
27133 fi
27134 fi
27135 fi
27136 if test "X$found_dir" = "X"; then
27137 for x in $LDFLAGS $LTLIBICONV; do
27138
27139 acl_save_prefix="$prefix"
27140 prefix="$acl_final_prefix"
27141 acl_save_exec_prefix="$exec_prefix"
27142 exec_prefix="$acl_final_exec_prefix"
27143 eval x=\"$x\"
27144 exec_prefix="$acl_save_exec_prefix"
27145 prefix="$acl_save_prefix"
27146
27147 case "$x" in
27148 -L*)
27149 dir=`echo "X$x" | sed -e 's/^X-L//'`
27150 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27151 found_dir="$dir"
27152 found_so="$dir/lib$name.$shlibext"
27153 if test -f "$dir/lib$name.la"; then
27154 found_la="$dir/lib$name.la"
27155 fi
27156 else
27157 if test -f "$dir/lib$name.$libext"; then
27158 found_dir="$dir"
27159 found_a="$dir/lib$name.$libext"
27160 if test -f "$dir/lib$name.la"; then
27161 found_la="$dir/lib$name.la"
27162 fi
27163 fi
27164 fi
27165 ;;
27166 esac
27167 if test "X$found_dir" != "X"; then
27168 break
27169 fi
27170 done
27171 fi
27172 if test "X$found_dir" != "X"; then
27173 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27174 if test "X$found_so" != "X"; then
27175 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27176 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27177 else
27178 haveit=
27179 for x in $ltrpathdirs; do
27180 if test "X$x" = "X$found_dir"; then
27181 haveit=yes
27182 break
27183 fi
27184 done
27185 if test -z "$haveit"; then
27186 ltrpathdirs="$ltrpathdirs $found_dir"
27187 fi
27188 if test "$hardcode_direct" = yes; then
27189 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27190 else
27191 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27192 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27193 haveit=
27194 for x in $rpathdirs; do
27195 if test "X$x" = "X$found_dir"; then
27196 haveit=yes
27197 break
27198 fi
27199 done
27200 if test -z "$haveit"; then
27201 rpathdirs="$rpathdirs $found_dir"
27202 fi
27203 else
27204 haveit=
27205 for x in $LDFLAGS $LIBICONV; do
27206
27207 acl_save_prefix="$prefix"
27208 prefix="$acl_final_prefix"
27209 acl_save_exec_prefix="$exec_prefix"
27210 exec_prefix="$acl_final_exec_prefix"
27211 eval x=\"$x\"
27212 exec_prefix="$acl_save_exec_prefix"
27213 prefix="$acl_save_prefix"
27214
27215 if test "X$x" = "X-L$found_dir"; then
27216 haveit=yes
27217 break
27218 fi
27219 done
27220 if test -z "$haveit"; then
27221 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27222 fi
27223 if test "$hardcode_minus_L" != no; then
27224 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27225 else
27226 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27227 fi
27228 fi
27229 fi
27230 fi
27231 else
27232 if test "X$found_a" != "X"; then
27233 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27234 else
27235 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27236 fi
27237 fi
27238 additional_includedir=
27239 case "$found_dir" in
27240 */lib | */lib/)
27241 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27242 additional_includedir="$basedir/include"
27243 ;;
27244 esac
27245 if test "X$additional_includedir" != "X"; then
27246 if test "X$additional_includedir" != "X/usr/include"; then
27247 haveit=
27248 if test "X$additional_includedir" = "X/usr/local/include"; then
27249 if test -n "$GCC"; then
27250 case $host_os in
27251 linux*) haveit=yes;;
27252 esac
27253 fi
27254 fi
27255 if test -z "$haveit"; then
27256 for x in $CPPFLAGS $INCICONV; do
27257
27258 acl_save_prefix="$prefix"
27259 prefix="$acl_final_prefix"
27260 acl_save_exec_prefix="$exec_prefix"
27261 exec_prefix="$acl_final_exec_prefix"
27262 eval x=\"$x\"
27263 exec_prefix="$acl_save_exec_prefix"
27264 prefix="$acl_save_prefix"
27265
27266 if test "X$x" = "X-I$additional_includedir"; then
27267 haveit=yes
27268 break
27269 fi
27270 done
27271 if test -z "$haveit"; then
27272 if test -d "$additional_includedir"; then
27273 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27274 fi
27275 fi
27276 fi
27277 fi
27278 fi
27279 if test -n "$found_la"; then
27280 save_libdir="$libdir"
27281 case "$found_la" in
27282 */* | *\\*) . "$found_la" ;;
27283 *) . "./$found_la" ;;
27284 esac
27285 libdir="$save_libdir"
27286 for dep in $dependency_libs; do
27287 case "$dep" in
27288 -L*)
27289 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27290 if test "X$additional_libdir" != "X/usr/lib"; then
27291 haveit=
27292 if test "X$additional_libdir" = "X/usr/local/lib"; then
27293 if test -n "$GCC"; then
27294 case $host_os in
27295 linux*) haveit=yes;;
27296 esac
27297 fi
27298 fi
27299 if test -z "$haveit"; then
27300 haveit=
27301 for x in $LDFLAGS $LIBICONV; do
27302
27303 acl_save_prefix="$prefix"
27304 prefix="$acl_final_prefix"
27305 acl_save_exec_prefix="$exec_prefix"
27306 exec_prefix="$acl_final_exec_prefix"
27307 eval x=\"$x\"
27308 exec_prefix="$acl_save_exec_prefix"
27309 prefix="$acl_save_prefix"
27310
27311 if test "X$x" = "X-L$additional_libdir"; then
27312 haveit=yes
27313 break
27314 fi
27315 done
27316 if test -z "$haveit"; then
27317 if test -d "$additional_libdir"; then
27318 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27319 fi
27320 fi
27321 haveit=
27322 for x in $LDFLAGS $LTLIBICONV; do
27323
27324 acl_save_prefix="$prefix"
27325 prefix="$acl_final_prefix"
27326 acl_save_exec_prefix="$exec_prefix"
27327 exec_prefix="$acl_final_exec_prefix"
27328 eval x=\"$x\"
27329 exec_prefix="$acl_save_exec_prefix"
27330 prefix="$acl_save_prefix"
27331
27332 if test "X$x" = "X-L$additional_libdir"; then
27333 haveit=yes
27334 break
27335 fi
27336 done
27337 if test -z "$haveit"; then
27338 if test -d "$additional_libdir"; then
27339 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27340 fi
27341 fi
27342 fi
27343 fi
27344 ;;
27345 -R*)
27346 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27347 if test "$enable_rpath" != no; then
27348 haveit=
27349 for x in $rpathdirs; do
27350 if test "X$x" = "X$dir"; then
27351 haveit=yes
27352 break
27353 fi
27354 done
27355 if test -z "$haveit"; then
27356 rpathdirs="$rpathdirs $dir"
27357 fi
27358 haveit=
27359 for x in $ltrpathdirs; do
27360 if test "X$x" = "X$dir"; then
27361 haveit=yes
27362 break
27363 fi
27364 done
27365 if test -z "$haveit"; then
27366 ltrpathdirs="$ltrpathdirs $dir"
27367 fi
27368 fi
27369 ;;
27370 -l*)
27371 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27372 ;;
27373 *.la)
27374 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27375 ;;
27376 *)
27377 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27378 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27379 ;;
27380 esac
27381 done
27382 fi
27383 else
27384 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27385 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27386 fi
27387 fi
27388 fi
27389 done
27390 done
27391 if test "X$rpathdirs" != "X"; then
27392 if test -n "$hardcode_libdir_separator"; then
27393 alldirs=
27394 for found_dir in $rpathdirs; do
27395 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27396 done
27397 acl_save_libdir="$libdir"
27398 libdir="$alldirs"
27399 eval flag=\"$hardcode_libdir_flag_spec\"
27400 libdir="$acl_save_libdir"
27401 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27402 else
27403 for found_dir in $rpathdirs; do
27404 acl_save_libdir="$libdir"
27405 libdir="$found_dir"
27406 eval flag=\"$hardcode_libdir_flag_spec\"
27407 libdir="$acl_save_libdir"
27408 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27409 done
27410 fi
27411 fi
27412 if test "X$ltrpathdirs" != "X"; then
27413 for found_dir in $ltrpathdirs; do
27414 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27415 done
27416 fi
27417
27418
27419
27420
27421
27422
27423
27424 am_save_CPPFLAGS="$CPPFLAGS"
27425
27426 for element in $INCICONV; do
27427 haveit=
27428 for x in $CPPFLAGS; do
27429
27430 acl_save_prefix="$prefix"
27431 prefix="$acl_final_prefix"
27432 acl_save_exec_prefix="$exec_prefix"
27433 exec_prefix="$acl_final_exec_prefix"
27434 eval x=\"$x\"
27435 exec_prefix="$acl_save_exec_prefix"
27436 prefix="$acl_save_prefix"
27437
27438 if test "X$x" = "X$element"; then
27439 haveit=yes
27440 break
27441 fi
27442 done
27443 if test -z "$haveit"; then
27444 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27445 fi
27446 done
27447
27448
27449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27450 $as_echo_n "checking for iconv... " >&6; }
27451 if test "${am_cv_func_iconv+set}" = set; then :
27452 $as_echo_n "(cached) " >&6
27453 else
27454
27455 am_cv_func_iconv="no, consider installing GNU libiconv"
27456 am_cv_lib_iconv=no
27457 if test x$gcc_no_link = xyes; then
27458 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27459 fi
27460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27461 /* end confdefs.h. */
27462 #include <stdlib.h>
27463 #include <iconv.h>
27464 int
27465 main ()
27466 {
27467 iconv_t cd = iconv_open("","");
27468 iconv(cd,NULL,NULL,NULL,NULL);
27469 iconv_close(cd);
27470 ;
27471 return 0;
27472 }
27473 _ACEOF
27474 if ac_fn_c_try_link "$LINENO"; then :
27475 am_cv_func_iconv=yes
27476 fi
27477 rm -f core conftest.err conftest.$ac_objext \
27478 conftest$ac_exeext conftest.$ac_ext
27479 if test "$am_cv_func_iconv" != yes; then
27480 am_save_LIBS="$LIBS"
27481 LIBS="$LIBS $LIBICONV"
27482 if test x$gcc_no_link = xyes; then
27483 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27484 fi
27485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27486 /* end confdefs.h. */
27487 #include <stdlib.h>
27488 #include <iconv.h>
27489 int
27490 main ()
27491 {
27492 iconv_t cd = iconv_open("","");
27493 iconv(cd,NULL,NULL,NULL,NULL);
27494 iconv_close(cd);
27495 ;
27496 return 0;
27497 }
27498 _ACEOF
27499 if ac_fn_c_try_link "$LINENO"; then :
27500 am_cv_lib_iconv=yes
27501 am_cv_func_iconv=yes
27502 fi
27503 rm -f core conftest.err conftest.$ac_objext \
27504 conftest$ac_exeext conftest.$ac_ext
27505 LIBS="$am_save_LIBS"
27506 fi
27507
27508 fi
27509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27510 $as_echo "$am_cv_func_iconv" >&6; }
27511 if test "$am_cv_func_iconv" = yes; then
27512
27513 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27514
27515 fi
27516 if test "$am_cv_lib_iconv" = yes; then
27517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27518 $as_echo_n "checking how to link with libiconv... " >&6; }
27519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27520 $as_echo "$LIBICONV" >&6; }
27521 else
27522 CPPFLAGS="$am_save_CPPFLAGS"
27523 LIBICONV=
27524 LTLIBICONV=
27525 fi
27526
27527
27528
27529 if test "$am_cv_func_iconv" = yes; then
27530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27531 $as_echo_n "checking for iconv declaration... " >&6; }
27532 if test "${am_cv_proto_iconv+set}" = set; then :
27533 $as_echo_n "(cached) " >&6
27534 else
27535
27536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27537 /* end confdefs.h. */
27538
27539 #include <stdlib.h>
27540 #include <iconv.h>
27541 extern
27542 #ifdef __cplusplus
27543 "C"
27544 #endif
27545 #if defined(__STDC__) || defined(__cplusplus)
27546 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27547 #else
27548 size_t iconv();
27549 #endif
27550
27551 int
27552 main ()
27553 {
27554
27555 ;
27556 return 0;
27557 }
27558 _ACEOF
27559 if ac_fn_c_try_compile "$LINENO"; then :
27560 am_cv_proto_iconv_arg1=""
27561 else
27562 am_cv_proto_iconv_arg1="const"
27563 fi
27564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27565 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);"
27566 fi
27567
27568 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27570 }$am_cv_proto_iconv" >&5
27571 $as_echo "${ac_t:-
27572 }$am_cv_proto_iconv" >&6; }
27573
27574 cat >>confdefs.h <<_ACEOF
27575 #define ICONV_CONST $am_cv_proto_iconv_arg1
27576 _ACEOF
27577
27578 fi
27579
27580
27581 else
27582
27583 # This lets us hard-code the functionality we know we'll have in the cross
27584 # target environment. "Let" is a sugar-coated word placed on an especially
27585 # dull and tedious hack, actually.
27586 #
27587 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27588 # that involve linking, can't be used:
27589 # "cannot open sim-crt0.o"
27590 # "cannot open crt0.o"
27591 # etc. All this is because there currently exists no unified, consistent
27592 # way for top level CC information to be passed down to target directories:
27593 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27594 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27595 # crosses can be removed.
27596
27597 # If Canadian cross, then don't pick up tools from the build directory.
27598 # Used only in GLIBCXX_EXPORT_INCLUDES.
27599 if test -n "$with_cross_host" &&
27600 test x"$build_alias" != x"$with_cross_host" &&
27601 test x"$build" != x"$target";
27602 then
27603 CANADIAN=yes
27604 else
27605 CANADIAN=no
27606 fi
27607
27608 # Construct crosses by hand, eliminating bits that need ld...
27609 # GLIBCXX_CHECK_MATH_SUPPORT
27610
27611 # First, test for "known" system libraries. We may be using newlib even
27612 # on a hosted environment.
27613 if test "x${with_newlib}" = "xyes"; then
27614 os_include_dir="os/newlib"
27615 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27616
27617
27618 # GLIBCXX_CHECK_STDLIB_SUPPORT
27619 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27620
27621
27622 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27623
27624 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27625
27626 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27627
27628 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27629
27630 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27631
27632 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27633
27634 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27635
27636 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27637
27638 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27639
27640 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27641
27642 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27643
27644 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27645
27646 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27647
27648 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27649
27650 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27651
27652 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27653
27654 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27655
27656 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27657
27658 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27659
27660 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27661
27662 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27663
27664 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27665
27666
27667 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27668
27669 else
27670
27671 # Base decisions on target environment.
27672 case "${host}" in
27673 arm*-*-symbianelf*)
27674 # This is a freestanding configuration; there is nothing to do here.
27675 ;;
27676
27677 mips*-sde-elf*)
27678 # These definitions are for the SDE C library rather than newlib.
27679 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27680
27681
27682 # All these tests are for C++; save the language and the compiler flags.
27683 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27684 # found in GLIBCXX_CONFIGURE.
27685
27686 ac_ext=cpp
27687 ac_cpp='$CXXCPP $CPPFLAGS'
27688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27691
27692 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27693 ac_save_CXXFLAGS="$CXXFLAGS"
27694
27695 # Check for maintainer-mode bits.
27696 if test x"$USE_MAINTAINER_MODE" = xno; then
27697 WERROR=''
27698 else
27699 WERROR='-Werror'
27700 fi
27701
27702 # Check for -ffunction-sections -fdata-sections
27703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27704 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27705 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27707 /* end confdefs.h. */
27708 int foo; void bar() { };
27709 int
27710 main ()
27711 {
27712
27713 ;
27714 return 0;
27715 }
27716 _ACEOF
27717 if ac_fn_cxx_try_compile "$LINENO"; then :
27718 ac_fdsections=yes
27719 else
27720 ac_fdsections=no
27721 fi
27722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27723 if test "$ac_test_CXXFLAGS" = set; then
27724 CXXFLAGS="$ac_save_CXXFLAGS"
27725 else
27726 # this is the suspicious part
27727 CXXFLAGS=''
27728 fi
27729 if test x"$ac_fdsections" = x"yes"; then
27730 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27731 fi
27732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27733 $as_echo "$ac_fdsections" >&6; }
27734
27735 ac_ext=c
27736 ac_cpp='$CPP $CPPFLAGS'
27737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27740
27741
27742
27743
27744
27745 # If we're not using GNU ld, then there's no point in even trying these
27746 # tests. Check for that first. We should have already tested for gld
27747 # by now (in libtool), but require it now just to be safe...
27748 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27749 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27750
27751
27752
27753 # The name set by libtool depends on the version of libtool. Shame on us
27754 # for depending on an impl detail, but c'est la vie. Older versions used
27755 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27756 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27757 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27758 # set (hence we're using an older libtool), then set it.
27759 if test x${with_gnu_ld+set} != xset; then
27760 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27761 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27762 with_gnu_ld=no
27763 else
27764 with_gnu_ld=$ac_cv_prog_gnu_ld
27765 fi
27766 fi
27767
27768 # Start by getting the version number. I think the libtool test already
27769 # does some of this, but throws away the result.
27770 glibcxx_ld_is_gold=no
27771 if test x"$with_gnu_ld" = x"yes"; then
27772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27773 $as_echo_n "checking for ld version... " >&6; }
27774
27775 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27776 glibcxx_ld_is_gold=yes
27777 fi
27778 ldver=`$LD --version 2>/dev/null |
27779 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'`
27780
27781 glibcxx_gnu_ld_version=`echo $ldver | \
27782 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27784 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27785 fi
27786
27787 # Set --gc-sections.
27788 glibcxx_have_gc_sections=no
27789 if test "$glibcxx_ld_is_gold" = "yes"; then
27790 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27791 glibcxx_have_gc_sections=yes
27792 fi
27793 else
27794 glibcxx_gcsections_min_ld=21602
27795 if test x"$with_gnu_ld" = x"yes" &&
27796 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27797 glibcxx_have_gc_sections=yes
27798 fi
27799 fi
27800 if test "$glibcxx_have_gc_sections" = "yes"; then
27801 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27802 # NB: This flag only works reliably after 2.16.1. Configure tests
27803 # for this are difficult, so hard wire a value that should work.
27804
27805 ac_test_CFLAGS="${CFLAGS+set}"
27806 ac_save_CFLAGS="$CFLAGS"
27807 CFLAGS='-Wl,--gc-sections'
27808
27809 # Check for -Wl,--gc-sections
27810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27811 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27812 if test x$gcc_no_link = xyes; then
27813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27814 fi
27815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27816 /* end confdefs.h. */
27817 int one(void) { return 1; }
27818 int two(void) { return 2; }
27819
27820 int
27821 main ()
27822 {
27823 two();
27824 ;
27825 return 0;
27826 }
27827 _ACEOF
27828 if ac_fn_c_try_link "$LINENO"; then :
27829 ac_gcsections=yes
27830 else
27831 ac_gcsections=no
27832 fi
27833 rm -f core conftest.err conftest.$ac_objext \
27834 conftest$ac_exeext conftest.$ac_ext
27835 if test "$ac_gcsections" = "yes"; then
27836 rm -f conftest.c
27837 touch conftest.c
27838 if $CC -c conftest.c; then
27839 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27840 grep "Warning: gc-sections option ignored" > /dev/null; then
27841 ac_gcsections=no
27842 fi
27843 fi
27844 rm -f conftest.c conftest.o conftest
27845 fi
27846 if test "$ac_gcsections" = "yes"; then
27847 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27848 fi
27849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27850 $as_echo "$ac_gcsections" >&6; }
27851
27852 if test "$ac_test_CFLAGS" = set; then
27853 CFLAGS="$ac_save_CFLAGS"
27854 else
27855 # this is the suspicious part
27856 CFLAGS=''
27857 fi
27858 fi
27859
27860 # Set -z,relro.
27861 # Note this is only for shared objects.
27862 ac_ld_relro=no
27863 if test x"$with_gnu_ld" = x"yes"; then
27864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27865 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27866 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27867 if test -n "$cxx_z_relo"; then
27868 OPT_LDFLAGS="-Wl,-z,relro"
27869 ac_ld_relro=yes
27870 fi
27871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27872 $as_echo "$ac_ld_relro" >&6; }
27873 fi
27874
27875 # Set linker optimization flags.
27876 if test x"$with_gnu_ld" = x"yes"; then
27877 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27878 fi
27879
27880
27881
27882
27883
27884 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27885 ac_save_CXXFLAGS="$CXXFLAGS"
27886 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27887
27888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27889 $as_echo_n "checking for sin in -lm... " >&6; }
27890 if test "${ac_cv_lib_m_sin+set}" = set; then :
27891 $as_echo_n "(cached) " >&6
27892 else
27893 ac_check_lib_save_LIBS=$LIBS
27894 LIBS="-lm $LIBS"
27895 if test x$gcc_no_link = xyes; then
27896 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27897 fi
27898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27899 /* end confdefs.h. */
27900
27901 /* Override any GCC internal prototype to avoid an error.
27902 Use char because int might match the return type of a GCC
27903 builtin and then its argument prototype would still apply. */
27904 #ifdef __cplusplus
27905 extern "C"
27906 #endif
27907 char sin ();
27908 int
27909 main ()
27910 {
27911 return sin ();
27912 ;
27913 return 0;
27914 }
27915 _ACEOF
27916 if ac_fn_c_try_link "$LINENO"; then :
27917 ac_cv_lib_m_sin=yes
27918 else
27919 ac_cv_lib_m_sin=no
27920 fi
27921 rm -f core conftest.err conftest.$ac_objext \
27922 conftest$ac_exeext conftest.$ac_ext
27923 LIBS=$ac_check_lib_save_LIBS
27924 fi
27925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27926 $as_echo "$ac_cv_lib_m_sin" >&6; }
27927 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27928 libm="-lm"
27929 fi
27930
27931 ac_save_LIBS="$LIBS"
27932 LIBS="$LIBS $libm"
27933
27934
27935
27936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27937 $as_echo_n "checking for isinf declaration... " >&6; }
27938 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27939 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27940 $as_echo_n "(cached) " >&6
27941 else
27942
27943
27944 ac_ext=cpp
27945 ac_cpp='$CXXCPP $CPPFLAGS'
27946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27949
27950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27951 /* end confdefs.h. */
27952 #include <math.h>
27953 #ifdef HAVE_IEEEFP_H
27954 #include <ieeefp.h>
27955 #endif
27956
27957 int
27958 main ()
27959 {
27960 isinf(0);
27961 ;
27962 return 0;
27963 }
27964 _ACEOF
27965 if ac_fn_cxx_try_compile "$LINENO"; then :
27966 glibcxx_cv_func_isinf_use=yes
27967 else
27968 glibcxx_cv_func_isinf_use=no
27969 fi
27970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27971 ac_ext=c
27972 ac_cpp='$CPP $CPPFLAGS'
27973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27976
27977
27978 fi
27979
27980 fi
27981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27982 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27983
27984 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27985 for ac_func in isinf
27986 do :
27987 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27988 if test "x$ac_cv_func_isinf" = x""yes; then :
27989 cat >>confdefs.h <<_ACEOF
27990 #define HAVE_ISINF 1
27991 _ACEOF
27992
27993 fi
27994 done
27995
27996 else
27997
27998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27999 $as_echo_n "checking for _isinf declaration... " >&6; }
28000 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28001 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28002 $as_echo_n "(cached) " >&6
28003 else
28004
28005
28006 ac_ext=cpp
28007 ac_cpp='$CXXCPP $CPPFLAGS'
28008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28011
28012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28013 /* end confdefs.h. */
28014 #include <math.h>
28015 #ifdef HAVE_IEEEFP_H
28016 #include <ieeefp.h>
28017 #endif
28018
28019 int
28020 main ()
28021 {
28022 _isinf(0);
28023 ;
28024 return 0;
28025 }
28026 _ACEOF
28027 if ac_fn_cxx_try_compile "$LINENO"; then :
28028 glibcxx_cv_func__isinf_use=yes
28029 else
28030 glibcxx_cv_func__isinf_use=no
28031 fi
28032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28033 ac_ext=c
28034 ac_cpp='$CPP $CPPFLAGS'
28035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28038
28039
28040 fi
28041
28042 fi
28043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28044 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28045
28046 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28047 for ac_func in _isinf
28048 do :
28049 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28050 if test "x$ac_cv_func__isinf" = x""yes; then :
28051 cat >>confdefs.h <<_ACEOF
28052 #define HAVE__ISINF 1
28053 _ACEOF
28054
28055 fi
28056 done
28057
28058 fi
28059 fi
28060
28061
28062
28063
28064
28065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28066 $as_echo_n "checking for isnan declaration... " >&6; }
28067 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28068 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28069 $as_echo_n "(cached) " >&6
28070 else
28071
28072
28073 ac_ext=cpp
28074 ac_cpp='$CXXCPP $CPPFLAGS'
28075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28078
28079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28080 /* end confdefs.h. */
28081 #include <math.h>
28082 #ifdef HAVE_IEEEFP_H
28083 #include <ieeefp.h>
28084 #endif
28085
28086 int
28087 main ()
28088 {
28089 isnan(0);
28090 ;
28091 return 0;
28092 }
28093 _ACEOF
28094 if ac_fn_cxx_try_compile "$LINENO"; then :
28095 glibcxx_cv_func_isnan_use=yes
28096 else
28097 glibcxx_cv_func_isnan_use=no
28098 fi
28099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28100 ac_ext=c
28101 ac_cpp='$CPP $CPPFLAGS'
28102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28105
28106
28107 fi
28108
28109 fi
28110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28111 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28112
28113 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28114 for ac_func in isnan
28115 do :
28116 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28117 if test "x$ac_cv_func_isnan" = x""yes; then :
28118 cat >>confdefs.h <<_ACEOF
28119 #define HAVE_ISNAN 1
28120 _ACEOF
28121
28122 fi
28123 done
28124
28125 else
28126
28127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28128 $as_echo_n "checking for _isnan declaration... " >&6; }
28129 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28130 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28131 $as_echo_n "(cached) " >&6
28132 else
28133
28134
28135 ac_ext=cpp
28136 ac_cpp='$CXXCPP $CPPFLAGS'
28137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28140
28141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28142 /* end confdefs.h. */
28143 #include <math.h>
28144 #ifdef HAVE_IEEEFP_H
28145 #include <ieeefp.h>
28146 #endif
28147
28148 int
28149 main ()
28150 {
28151 _isnan(0);
28152 ;
28153 return 0;
28154 }
28155 _ACEOF
28156 if ac_fn_cxx_try_compile "$LINENO"; then :
28157 glibcxx_cv_func__isnan_use=yes
28158 else
28159 glibcxx_cv_func__isnan_use=no
28160 fi
28161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28162 ac_ext=c
28163 ac_cpp='$CPP $CPPFLAGS'
28164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28167
28168
28169 fi
28170
28171 fi
28172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28173 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28174
28175 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28176 for ac_func in _isnan
28177 do :
28178 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28179 if test "x$ac_cv_func__isnan" = x""yes; then :
28180 cat >>confdefs.h <<_ACEOF
28181 #define HAVE__ISNAN 1
28182 _ACEOF
28183
28184 fi
28185 done
28186
28187 fi
28188 fi
28189
28190
28191
28192
28193
28194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28195 $as_echo_n "checking for finite declaration... " >&6; }
28196 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28197 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28198 $as_echo_n "(cached) " >&6
28199 else
28200
28201
28202 ac_ext=cpp
28203 ac_cpp='$CXXCPP $CPPFLAGS'
28204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28207
28208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28209 /* end confdefs.h. */
28210 #include <math.h>
28211 #ifdef HAVE_IEEEFP_H
28212 #include <ieeefp.h>
28213 #endif
28214
28215 int
28216 main ()
28217 {
28218 finite(0);
28219 ;
28220 return 0;
28221 }
28222 _ACEOF
28223 if ac_fn_cxx_try_compile "$LINENO"; then :
28224 glibcxx_cv_func_finite_use=yes
28225 else
28226 glibcxx_cv_func_finite_use=no
28227 fi
28228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28229 ac_ext=c
28230 ac_cpp='$CPP $CPPFLAGS'
28231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28234
28235
28236 fi
28237
28238 fi
28239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28240 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28241
28242 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28243 for ac_func in finite
28244 do :
28245 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28246 if test "x$ac_cv_func_finite" = x""yes; then :
28247 cat >>confdefs.h <<_ACEOF
28248 #define HAVE_FINITE 1
28249 _ACEOF
28250
28251 fi
28252 done
28253
28254 else
28255
28256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28257 $as_echo_n "checking for _finite declaration... " >&6; }
28258 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28259 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28260 $as_echo_n "(cached) " >&6
28261 else
28262
28263
28264 ac_ext=cpp
28265 ac_cpp='$CXXCPP $CPPFLAGS'
28266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28269
28270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28271 /* end confdefs.h. */
28272 #include <math.h>
28273 #ifdef HAVE_IEEEFP_H
28274 #include <ieeefp.h>
28275 #endif
28276
28277 int
28278 main ()
28279 {
28280 _finite(0);
28281 ;
28282 return 0;
28283 }
28284 _ACEOF
28285 if ac_fn_cxx_try_compile "$LINENO"; then :
28286 glibcxx_cv_func__finite_use=yes
28287 else
28288 glibcxx_cv_func__finite_use=no
28289 fi
28290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28291 ac_ext=c
28292 ac_cpp='$CPP $CPPFLAGS'
28293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28296
28297
28298 fi
28299
28300 fi
28301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28302 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28303
28304 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28305 for ac_func in _finite
28306 do :
28307 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28308 if test "x$ac_cv_func__finite" = x""yes; then :
28309 cat >>confdefs.h <<_ACEOF
28310 #define HAVE__FINITE 1
28311 _ACEOF
28312
28313 fi
28314 done
28315
28316 fi
28317 fi
28318
28319
28320
28321
28322
28323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28324 $as_echo_n "checking for sincos declaration... " >&6; }
28325 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28326 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28327 $as_echo_n "(cached) " >&6
28328 else
28329
28330
28331 ac_ext=cpp
28332 ac_cpp='$CXXCPP $CPPFLAGS'
28333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28336
28337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28338 /* end confdefs.h. */
28339 #include <math.h>
28340 int
28341 main ()
28342 {
28343 sincos(0, 0, 0);
28344 ;
28345 return 0;
28346 }
28347 _ACEOF
28348 if ac_fn_cxx_try_compile "$LINENO"; then :
28349 glibcxx_cv_func_sincos_use=yes
28350 else
28351 glibcxx_cv_func_sincos_use=no
28352 fi
28353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28354 ac_ext=c
28355 ac_cpp='$CPP $CPPFLAGS'
28356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28359
28360
28361 fi
28362
28363 fi
28364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28365 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28366
28367 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28368 for ac_func in sincos
28369 do :
28370 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28371 if test "x$ac_cv_func_sincos" = x""yes; then :
28372 cat >>confdefs.h <<_ACEOF
28373 #define HAVE_SINCOS 1
28374 _ACEOF
28375
28376 fi
28377 done
28378
28379 else
28380
28381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28382 $as_echo_n "checking for _sincos declaration... " >&6; }
28383 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28384 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28385 $as_echo_n "(cached) " >&6
28386 else
28387
28388
28389 ac_ext=cpp
28390 ac_cpp='$CXXCPP $CPPFLAGS'
28391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28394
28395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28396 /* end confdefs.h. */
28397 #include <math.h>
28398 int
28399 main ()
28400 {
28401 _sincos(0, 0, 0);
28402 ;
28403 return 0;
28404 }
28405 _ACEOF
28406 if ac_fn_cxx_try_compile "$LINENO"; then :
28407 glibcxx_cv_func__sincos_use=yes
28408 else
28409 glibcxx_cv_func__sincos_use=no
28410 fi
28411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28412 ac_ext=c
28413 ac_cpp='$CPP $CPPFLAGS'
28414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28417
28418
28419 fi
28420
28421 fi
28422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28423 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28424
28425 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28426 for ac_func in _sincos
28427 do :
28428 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28429 if test "x$ac_cv_func__sincos" = x""yes; then :
28430 cat >>confdefs.h <<_ACEOF
28431 #define HAVE__SINCOS 1
28432 _ACEOF
28433
28434 fi
28435 done
28436
28437 fi
28438 fi
28439
28440
28441
28442
28443
28444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28445 $as_echo_n "checking for fpclass declaration... " >&6; }
28446 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28447 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28448 $as_echo_n "(cached) " >&6
28449 else
28450
28451
28452 ac_ext=cpp
28453 ac_cpp='$CXXCPP $CPPFLAGS'
28454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28457
28458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28459 /* end confdefs.h. */
28460 #include <math.h>
28461 #ifdef HAVE_IEEEFP_H
28462 #include <ieeefp.h>
28463 #endif
28464
28465 int
28466 main ()
28467 {
28468 fpclass(0);
28469 ;
28470 return 0;
28471 }
28472 _ACEOF
28473 if ac_fn_cxx_try_compile "$LINENO"; then :
28474 glibcxx_cv_func_fpclass_use=yes
28475 else
28476 glibcxx_cv_func_fpclass_use=no
28477 fi
28478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28479 ac_ext=c
28480 ac_cpp='$CPP $CPPFLAGS'
28481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28484
28485
28486 fi
28487
28488 fi
28489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28490 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28491
28492 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28493 for ac_func in fpclass
28494 do :
28495 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28496 if test "x$ac_cv_func_fpclass" = x""yes; then :
28497 cat >>confdefs.h <<_ACEOF
28498 #define HAVE_FPCLASS 1
28499 _ACEOF
28500
28501 fi
28502 done
28503
28504 else
28505
28506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28507 $as_echo_n "checking for _fpclass declaration... " >&6; }
28508 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28509 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28510 $as_echo_n "(cached) " >&6
28511 else
28512
28513
28514 ac_ext=cpp
28515 ac_cpp='$CXXCPP $CPPFLAGS'
28516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28519
28520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28521 /* end confdefs.h. */
28522 #include <math.h>
28523 #ifdef HAVE_IEEEFP_H
28524 #include <ieeefp.h>
28525 #endif
28526
28527 int
28528 main ()
28529 {
28530 _fpclass(0);
28531 ;
28532 return 0;
28533 }
28534 _ACEOF
28535 if ac_fn_cxx_try_compile "$LINENO"; then :
28536 glibcxx_cv_func__fpclass_use=yes
28537 else
28538 glibcxx_cv_func__fpclass_use=no
28539 fi
28540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28541 ac_ext=c
28542 ac_cpp='$CPP $CPPFLAGS'
28543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28546
28547
28548 fi
28549
28550 fi
28551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28552 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28553
28554 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28555 for ac_func in _fpclass
28556 do :
28557 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28558 if test "x$ac_cv_func__fpclass" = x""yes; then :
28559 cat >>confdefs.h <<_ACEOF
28560 #define HAVE__FPCLASS 1
28561 _ACEOF
28562
28563 fi
28564 done
28565
28566 fi
28567 fi
28568
28569
28570
28571
28572
28573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28574 $as_echo_n "checking for qfpclass declaration... " >&6; }
28575 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28576 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28577 $as_echo_n "(cached) " >&6
28578 else
28579
28580
28581 ac_ext=cpp
28582 ac_cpp='$CXXCPP $CPPFLAGS'
28583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28586
28587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28588 /* end confdefs.h. */
28589 #include <math.h>
28590 #ifdef HAVE_IEEEFP_H
28591 #include <ieeefp.h>
28592 #endif
28593
28594 int
28595 main ()
28596 {
28597 qfpclass(0);
28598 ;
28599 return 0;
28600 }
28601 _ACEOF
28602 if ac_fn_cxx_try_compile "$LINENO"; then :
28603 glibcxx_cv_func_qfpclass_use=yes
28604 else
28605 glibcxx_cv_func_qfpclass_use=no
28606 fi
28607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28608 ac_ext=c
28609 ac_cpp='$CPP $CPPFLAGS'
28610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28613
28614
28615 fi
28616
28617 fi
28618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28619 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28620
28621 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28622 for ac_func in qfpclass
28623 do :
28624 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28625 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28626 cat >>confdefs.h <<_ACEOF
28627 #define HAVE_QFPCLASS 1
28628 _ACEOF
28629
28630 fi
28631 done
28632
28633 else
28634
28635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28636 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28637 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28638 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28639 $as_echo_n "(cached) " >&6
28640 else
28641
28642
28643 ac_ext=cpp
28644 ac_cpp='$CXXCPP $CPPFLAGS'
28645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28648
28649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28650 /* end confdefs.h. */
28651 #include <math.h>
28652 #ifdef HAVE_IEEEFP_H
28653 #include <ieeefp.h>
28654 #endif
28655
28656 int
28657 main ()
28658 {
28659 _qfpclass(0);
28660 ;
28661 return 0;
28662 }
28663 _ACEOF
28664 if ac_fn_cxx_try_compile "$LINENO"; then :
28665 glibcxx_cv_func__qfpclass_use=yes
28666 else
28667 glibcxx_cv_func__qfpclass_use=no
28668 fi
28669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28670 ac_ext=c
28671 ac_cpp='$CPP $CPPFLAGS'
28672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28675
28676
28677 fi
28678
28679 fi
28680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28681 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28682
28683 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28684 for ac_func in _qfpclass
28685 do :
28686 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28687 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28688 cat >>confdefs.h <<_ACEOF
28689 #define HAVE__QFPCLASS 1
28690 _ACEOF
28691
28692 fi
28693 done
28694
28695 fi
28696 fi
28697
28698
28699
28700
28701
28702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28703 $as_echo_n "checking for hypot declaration... " >&6; }
28704 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28705 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28706 $as_echo_n "(cached) " >&6
28707 else
28708
28709
28710 ac_ext=cpp
28711 ac_cpp='$CXXCPP $CPPFLAGS'
28712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28715
28716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28717 /* end confdefs.h. */
28718 #include <math.h>
28719 int
28720 main ()
28721 {
28722 hypot(0, 0);
28723 ;
28724 return 0;
28725 }
28726 _ACEOF
28727 if ac_fn_cxx_try_compile "$LINENO"; then :
28728 glibcxx_cv_func_hypot_use=yes
28729 else
28730 glibcxx_cv_func_hypot_use=no
28731 fi
28732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28733 ac_ext=c
28734 ac_cpp='$CPP $CPPFLAGS'
28735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28738
28739
28740 fi
28741
28742 fi
28743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28744 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28745
28746 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28747 for ac_func in hypot
28748 do :
28749 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28750 if test "x$ac_cv_func_hypot" = x""yes; then :
28751 cat >>confdefs.h <<_ACEOF
28752 #define HAVE_HYPOT 1
28753 _ACEOF
28754
28755 fi
28756 done
28757
28758 else
28759
28760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28761 $as_echo_n "checking for _hypot declaration... " >&6; }
28762 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28763 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28764 $as_echo_n "(cached) " >&6
28765 else
28766
28767
28768 ac_ext=cpp
28769 ac_cpp='$CXXCPP $CPPFLAGS'
28770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28773
28774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28775 /* end confdefs.h. */
28776 #include <math.h>
28777 int
28778 main ()
28779 {
28780 _hypot(0, 0);
28781 ;
28782 return 0;
28783 }
28784 _ACEOF
28785 if ac_fn_cxx_try_compile "$LINENO"; then :
28786 glibcxx_cv_func__hypot_use=yes
28787 else
28788 glibcxx_cv_func__hypot_use=no
28789 fi
28790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28791 ac_ext=c
28792 ac_cpp='$CPP $CPPFLAGS'
28793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28796
28797
28798 fi
28799
28800 fi
28801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28802 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28803
28804 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28805 for ac_func in _hypot
28806 do :
28807 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28808 if test "x$ac_cv_func__hypot" = x""yes; then :
28809 cat >>confdefs.h <<_ACEOF
28810 #define HAVE__HYPOT 1
28811 _ACEOF
28812
28813 fi
28814 done
28815
28816 fi
28817 fi
28818
28819
28820
28821
28822
28823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28824 $as_echo_n "checking for float trig functions... " >&6; }
28825 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28826 $as_echo_n "(cached) " >&6
28827 else
28828
28829
28830 ac_ext=cpp
28831 ac_cpp='$CXXCPP $CPPFLAGS'
28832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28835
28836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28837 /* end confdefs.h. */
28838 #include <math.h>
28839 int
28840 main ()
28841 {
28842 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28843 ;
28844 return 0;
28845 }
28846 _ACEOF
28847 if ac_fn_cxx_try_compile "$LINENO"; then :
28848 glibcxx_cv_func_float_trig_use=yes
28849 else
28850 glibcxx_cv_func_float_trig_use=no
28851 fi
28852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28853 ac_ext=c
28854 ac_cpp='$CPP $CPPFLAGS'
28855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28858
28859 fi
28860
28861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28862 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28863 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28864 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28865 do :
28866 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28867 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28868 eval as_val=\$$as_ac_var
28869 if test "x$as_val" = x""yes; then :
28870 cat >>confdefs.h <<_ACEOF
28871 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28872 _ACEOF
28873
28874 fi
28875 done
28876
28877 else
28878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28879 $as_echo_n "checking for _float trig functions... " >&6; }
28880 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28881 $as_echo_n "(cached) " >&6
28882 else
28883
28884
28885 ac_ext=cpp
28886 ac_cpp='$CXXCPP $CPPFLAGS'
28887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28890
28891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28892 /* end confdefs.h. */
28893 #include <math.h>
28894 int
28895 main ()
28896 {
28897 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28898 ;
28899 return 0;
28900 }
28901 _ACEOF
28902 if ac_fn_cxx_try_compile "$LINENO"; then :
28903 glibcxx_cv_func__float_trig_use=yes
28904 else
28905 glibcxx_cv_func__float_trig_use=no
28906 fi
28907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28908 ac_ext=c
28909 ac_cpp='$CPP $CPPFLAGS'
28910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28913
28914 fi
28915
28916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28917 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28918 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28919 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28920 do :
28921 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28922 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28923 eval as_val=\$$as_ac_var
28924 if test "x$as_val" = x""yes; then :
28925 cat >>confdefs.h <<_ACEOF
28926 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28927 _ACEOF
28928
28929 fi
28930 done
28931
28932 fi
28933 fi
28934
28935
28936
28937
28938
28939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28940 $as_echo_n "checking for float round functions... " >&6; }
28941 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28942 $as_echo_n "(cached) " >&6
28943 else
28944
28945
28946 ac_ext=cpp
28947 ac_cpp='$CXXCPP $CPPFLAGS'
28948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28951
28952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28953 /* end confdefs.h. */
28954 #include <math.h>
28955 int
28956 main ()
28957 {
28958 ceilf (0); floorf (0);
28959 ;
28960 return 0;
28961 }
28962 _ACEOF
28963 if ac_fn_cxx_try_compile "$LINENO"; then :
28964 glibcxx_cv_func_float_round_use=yes
28965 else
28966 glibcxx_cv_func_float_round_use=no
28967 fi
28968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28969 ac_ext=c
28970 ac_cpp='$CPP $CPPFLAGS'
28971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28974
28975 fi
28976
28977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28978 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28979 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28980 for ac_func in ceilf floorf
28981 do :
28982 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28984 eval as_val=\$$as_ac_var
28985 if test "x$as_val" = x""yes; then :
28986 cat >>confdefs.h <<_ACEOF
28987 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28988 _ACEOF
28989
28990 fi
28991 done
28992
28993 else
28994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28995 $as_echo_n "checking for _float round functions... " >&6; }
28996 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28997 $as_echo_n "(cached) " >&6
28998 else
28999
29000
29001 ac_ext=cpp
29002 ac_cpp='$CXXCPP $CPPFLAGS'
29003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29006
29007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29008 /* end confdefs.h. */
29009 #include <math.h>
29010 int
29011 main ()
29012 {
29013 _ceilf (0); _floorf (0);
29014 ;
29015 return 0;
29016 }
29017 _ACEOF
29018 if ac_fn_cxx_try_compile "$LINENO"; then :
29019 glibcxx_cv_func__float_round_use=yes
29020 else
29021 glibcxx_cv_func__float_round_use=no
29022 fi
29023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29024 ac_ext=c
29025 ac_cpp='$CPP $CPPFLAGS'
29026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29029
29030 fi
29031
29032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29033 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29034 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29035 for ac_func in _ceilf _floorf
29036 do :
29037 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29038 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29039 eval as_val=\$$as_ac_var
29040 if test "x$as_val" = x""yes; then :
29041 cat >>confdefs.h <<_ACEOF
29042 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29043 _ACEOF
29044
29045 fi
29046 done
29047
29048 fi
29049 fi
29050
29051
29052
29053
29054
29055
29056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29057 $as_echo_n "checking for expf declaration... " >&6; }
29058 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29059 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29060 $as_echo_n "(cached) " >&6
29061 else
29062
29063
29064 ac_ext=cpp
29065 ac_cpp='$CXXCPP $CPPFLAGS'
29066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29069
29070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29071 /* end confdefs.h. */
29072 #include <math.h>
29073 #ifdef HAVE_IEEEFP_H
29074 #include <ieeefp.h>
29075 #endif
29076
29077 int
29078 main ()
29079 {
29080 expf(0);
29081 ;
29082 return 0;
29083 }
29084 _ACEOF
29085 if ac_fn_cxx_try_compile "$LINENO"; then :
29086 glibcxx_cv_func_expf_use=yes
29087 else
29088 glibcxx_cv_func_expf_use=no
29089 fi
29090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29091 ac_ext=c
29092 ac_cpp='$CPP $CPPFLAGS'
29093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29096
29097
29098 fi
29099
29100 fi
29101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29102 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29103
29104 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29105 for ac_func in expf
29106 do :
29107 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29108 if test "x$ac_cv_func_expf" = x""yes; then :
29109 cat >>confdefs.h <<_ACEOF
29110 #define HAVE_EXPF 1
29111 _ACEOF
29112
29113 fi
29114 done
29115
29116 else
29117
29118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29119 $as_echo_n "checking for _expf declaration... " >&6; }
29120 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29121 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29122 $as_echo_n "(cached) " >&6
29123 else
29124
29125
29126 ac_ext=cpp
29127 ac_cpp='$CXXCPP $CPPFLAGS'
29128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29131
29132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29133 /* end confdefs.h. */
29134 #include <math.h>
29135 #ifdef HAVE_IEEEFP_H
29136 #include <ieeefp.h>
29137 #endif
29138
29139 int
29140 main ()
29141 {
29142 _expf(0);
29143 ;
29144 return 0;
29145 }
29146 _ACEOF
29147 if ac_fn_cxx_try_compile "$LINENO"; then :
29148 glibcxx_cv_func__expf_use=yes
29149 else
29150 glibcxx_cv_func__expf_use=no
29151 fi
29152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29153 ac_ext=c
29154 ac_cpp='$CPP $CPPFLAGS'
29155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29158
29159
29160 fi
29161
29162 fi
29163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29164 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29165
29166 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29167 for ac_func in _expf
29168 do :
29169 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29170 if test "x$ac_cv_func__expf" = x""yes; then :
29171 cat >>confdefs.h <<_ACEOF
29172 #define HAVE__EXPF 1
29173 _ACEOF
29174
29175 fi
29176 done
29177
29178 fi
29179 fi
29180
29181
29182
29183
29184
29185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29186 $as_echo_n "checking for isnanf declaration... " >&6; }
29187 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29188 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29189 $as_echo_n "(cached) " >&6
29190 else
29191
29192
29193 ac_ext=cpp
29194 ac_cpp='$CXXCPP $CPPFLAGS'
29195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29198
29199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29200 /* end confdefs.h. */
29201 #include <math.h>
29202 #ifdef HAVE_IEEEFP_H
29203 #include <ieeefp.h>
29204 #endif
29205
29206 int
29207 main ()
29208 {
29209 isnanf(0);
29210 ;
29211 return 0;
29212 }
29213 _ACEOF
29214 if ac_fn_cxx_try_compile "$LINENO"; then :
29215 glibcxx_cv_func_isnanf_use=yes
29216 else
29217 glibcxx_cv_func_isnanf_use=no
29218 fi
29219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29220 ac_ext=c
29221 ac_cpp='$CPP $CPPFLAGS'
29222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29225
29226
29227 fi
29228
29229 fi
29230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29231 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29232
29233 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29234 for ac_func in isnanf
29235 do :
29236 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29237 if test "x$ac_cv_func_isnanf" = x""yes; then :
29238 cat >>confdefs.h <<_ACEOF
29239 #define HAVE_ISNANF 1
29240 _ACEOF
29241
29242 fi
29243 done
29244
29245 else
29246
29247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29248 $as_echo_n "checking for _isnanf declaration... " >&6; }
29249 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29250 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29251 $as_echo_n "(cached) " >&6
29252 else
29253
29254
29255 ac_ext=cpp
29256 ac_cpp='$CXXCPP $CPPFLAGS'
29257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29260
29261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29262 /* end confdefs.h. */
29263 #include <math.h>
29264 #ifdef HAVE_IEEEFP_H
29265 #include <ieeefp.h>
29266 #endif
29267
29268 int
29269 main ()
29270 {
29271 _isnanf(0);
29272 ;
29273 return 0;
29274 }
29275 _ACEOF
29276 if ac_fn_cxx_try_compile "$LINENO"; then :
29277 glibcxx_cv_func__isnanf_use=yes
29278 else
29279 glibcxx_cv_func__isnanf_use=no
29280 fi
29281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29282 ac_ext=c
29283 ac_cpp='$CPP $CPPFLAGS'
29284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29287
29288
29289 fi
29290
29291 fi
29292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29293 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29294
29295 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29296 for ac_func in _isnanf
29297 do :
29298 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29299 if test "x$ac_cv_func__isnanf" = x""yes; then :
29300 cat >>confdefs.h <<_ACEOF
29301 #define HAVE__ISNANF 1
29302 _ACEOF
29303
29304 fi
29305 done
29306
29307 fi
29308 fi
29309
29310
29311
29312
29313
29314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29315 $as_echo_n "checking for isinff declaration... " >&6; }
29316 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29317 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29318 $as_echo_n "(cached) " >&6
29319 else
29320
29321
29322 ac_ext=cpp
29323 ac_cpp='$CXXCPP $CPPFLAGS'
29324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29327
29328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29329 /* end confdefs.h. */
29330 #include <math.h>
29331 #ifdef HAVE_IEEEFP_H
29332 #include <ieeefp.h>
29333 #endif
29334
29335 int
29336 main ()
29337 {
29338 isinff(0);
29339 ;
29340 return 0;
29341 }
29342 _ACEOF
29343 if ac_fn_cxx_try_compile "$LINENO"; then :
29344 glibcxx_cv_func_isinff_use=yes
29345 else
29346 glibcxx_cv_func_isinff_use=no
29347 fi
29348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29349 ac_ext=c
29350 ac_cpp='$CPP $CPPFLAGS'
29351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29354
29355
29356 fi
29357
29358 fi
29359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29360 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29361
29362 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29363 for ac_func in isinff
29364 do :
29365 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29366 if test "x$ac_cv_func_isinff" = x""yes; then :
29367 cat >>confdefs.h <<_ACEOF
29368 #define HAVE_ISINFF 1
29369 _ACEOF
29370
29371 fi
29372 done
29373
29374 else
29375
29376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29377 $as_echo_n "checking for _isinff declaration... " >&6; }
29378 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29379 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29380 $as_echo_n "(cached) " >&6
29381 else
29382
29383
29384 ac_ext=cpp
29385 ac_cpp='$CXXCPP $CPPFLAGS'
29386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29389
29390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29391 /* end confdefs.h. */
29392 #include <math.h>
29393 #ifdef HAVE_IEEEFP_H
29394 #include <ieeefp.h>
29395 #endif
29396
29397 int
29398 main ()
29399 {
29400 _isinff(0);
29401 ;
29402 return 0;
29403 }
29404 _ACEOF
29405 if ac_fn_cxx_try_compile "$LINENO"; then :
29406 glibcxx_cv_func__isinff_use=yes
29407 else
29408 glibcxx_cv_func__isinff_use=no
29409 fi
29410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29411 ac_ext=c
29412 ac_cpp='$CPP $CPPFLAGS'
29413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29416
29417
29418 fi
29419
29420 fi
29421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29422 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29423
29424 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29425 for ac_func in _isinff
29426 do :
29427 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29428 if test "x$ac_cv_func__isinff" = x""yes; then :
29429 cat >>confdefs.h <<_ACEOF
29430 #define HAVE__ISINFF 1
29431 _ACEOF
29432
29433 fi
29434 done
29435
29436 fi
29437 fi
29438
29439
29440
29441
29442
29443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29444 $as_echo_n "checking for atan2f declaration... " >&6; }
29445 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29446 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29447 $as_echo_n "(cached) " >&6
29448 else
29449
29450
29451 ac_ext=cpp
29452 ac_cpp='$CXXCPP $CPPFLAGS'
29453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29456
29457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29458 /* end confdefs.h. */
29459 #include <math.h>
29460 int
29461 main ()
29462 {
29463 atan2f(0, 0);
29464 ;
29465 return 0;
29466 }
29467 _ACEOF
29468 if ac_fn_cxx_try_compile "$LINENO"; then :
29469 glibcxx_cv_func_atan2f_use=yes
29470 else
29471 glibcxx_cv_func_atan2f_use=no
29472 fi
29473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29474 ac_ext=c
29475 ac_cpp='$CPP $CPPFLAGS'
29476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29479
29480
29481 fi
29482
29483 fi
29484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29485 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29486
29487 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29488 for ac_func in atan2f
29489 do :
29490 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29491 if test "x$ac_cv_func_atan2f" = x""yes; then :
29492 cat >>confdefs.h <<_ACEOF
29493 #define HAVE_ATAN2F 1
29494 _ACEOF
29495
29496 fi
29497 done
29498
29499 else
29500
29501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29502 $as_echo_n "checking for _atan2f declaration... " >&6; }
29503 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29504 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29505 $as_echo_n "(cached) " >&6
29506 else
29507
29508
29509 ac_ext=cpp
29510 ac_cpp='$CXXCPP $CPPFLAGS'
29511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29514
29515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29516 /* end confdefs.h. */
29517 #include <math.h>
29518 int
29519 main ()
29520 {
29521 _atan2f(0, 0);
29522 ;
29523 return 0;
29524 }
29525 _ACEOF
29526 if ac_fn_cxx_try_compile "$LINENO"; then :
29527 glibcxx_cv_func__atan2f_use=yes
29528 else
29529 glibcxx_cv_func__atan2f_use=no
29530 fi
29531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29532 ac_ext=c
29533 ac_cpp='$CPP $CPPFLAGS'
29534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29537
29538
29539 fi
29540
29541 fi
29542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29543 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29544
29545 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29546 for ac_func in _atan2f
29547 do :
29548 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29549 if test "x$ac_cv_func__atan2f" = x""yes; then :
29550 cat >>confdefs.h <<_ACEOF
29551 #define HAVE__ATAN2F 1
29552 _ACEOF
29553
29554 fi
29555 done
29556
29557 fi
29558 fi
29559
29560
29561
29562
29563
29564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29565 $as_echo_n "checking for fabsf declaration... " >&6; }
29566 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29567 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29568 $as_echo_n "(cached) " >&6
29569 else
29570
29571
29572 ac_ext=cpp
29573 ac_cpp='$CXXCPP $CPPFLAGS'
29574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29577
29578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29579 /* end confdefs.h. */
29580 #include <math.h>
29581 #ifdef HAVE_IEEEFP_H
29582 #include <ieeefp.h>
29583 #endif
29584
29585 int
29586 main ()
29587 {
29588 fabsf(0);
29589 ;
29590 return 0;
29591 }
29592 _ACEOF
29593 if ac_fn_cxx_try_compile "$LINENO"; then :
29594 glibcxx_cv_func_fabsf_use=yes
29595 else
29596 glibcxx_cv_func_fabsf_use=no
29597 fi
29598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29599 ac_ext=c
29600 ac_cpp='$CPP $CPPFLAGS'
29601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29604
29605
29606 fi
29607
29608 fi
29609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29610 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29611
29612 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29613 for ac_func in fabsf
29614 do :
29615 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29616 if test "x$ac_cv_func_fabsf" = x""yes; then :
29617 cat >>confdefs.h <<_ACEOF
29618 #define HAVE_FABSF 1
29619 _ACEOF
29620
29621 fi
29622 done
29623
29624 else
29625
29626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29627 $as_echo_n "checking for _fabsf declaration... " >&6; }
29628 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29629 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29630 $as_echo_n "(cached) " >&6
29631 else
29632
29633
29634 ac_ext=cpp
29635 ac_cpp='$CXXCPP $CPPFLAGS'
29636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29639
29640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29641 /* end confdefs.h. */
29642 #include <math.h>
29643 #ifdef HAVE_IEEEFP_H
29644 #include <ieeefp.h>
29645 #endif
29646
29647 int
29648 main ()
29649 {
29650 _fabsf(0);
29651 ;
29652 return 0;
29653 }
29654 _ACEOF
29655 if ac_fn_cxx_try_compile "$LINENO"; then :
29656 glibcxx_cv_func__fabsf_use=yes
29657 else
29658 glibcxx_cv_func__fabsf_use=no
29659 fi
29660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29661 ac_ext=c
29662 ac_cpp='$CPP $CPPFLAGS'
29663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29666
29667
29668 fi
29669
29670 fi
29671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29672 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29673
29674 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29675 for ac_func in _fabsf
29676 do :
29677 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29678 if test "x$ac_cv_func__fabsf" = x""yes; then :
29679 cat >>confdefs.h <<_ACEOF
29680 #define HAVE__FABSF 1
29681 _ACEOF
29682
29683 fi
29684 done
29685
29686 fi
29687 fi
29688
29689
29690
29691
29692
29693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29694 $as_echo_n "checking for fmodf declaration... " >&6; }
29695 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29696 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29697 $as_echo_n "(cached) " >&6
29698 else
29699
29700
29701 ac_ext=cpp
29702 ac_cpp='$CXXCPP $CPPFLAGS'
29703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29706
29707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29708 /* end confdefs.h. */
29709 #include <math.h>
29710 int
29711 main ()
29712 {
29713 fmodf(0, 0);
29714 ;
29715 return 0;
29716 }
29717 _ACEOF
29718 if ac_fn_cxx_try_compile "$LINENO"; then :
29719 glibcxx_cv_func_fmodf_use=yes
29720 else
29721 glibcxx_cv_func_fmodf_use=no
29722 fi
29723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29724 ac_ext=c
29725 ac_cpp='$CPP $CPPFLAGS'
29726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29729
29730
29731 fi
29732
29733 fi
29734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29735 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29736
29737 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29738 for ac_func in fmodf
29739 do :
29740 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29741 if test "x$ac_cv_func_fmodf" = x""yes; then :
29742 cat >>confdefs.h <<_ACEOF
29743 #define HAVE_FMODF 1
29744 _ACEOF
29745
29746 fi
29747 done
29748
29749 else
29750
29751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29752 $as_echo_n "checking for _fmodf declaration... " >&6; }
29753 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29754 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29755 $as_echo_n "(cached) " >&6
29756 else
29757
29758
29759 ac_ext=cpp
29760 ac_cpp='$CXXCPP $CPPFLAGS'
29761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29764
29765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29766 /* end confdefs.h. */
29767 #include <math.h>
29768 int
29769 main ()
29770 {
29771 _fmodf(0, 0);
29772 ;
29773 return 0;
29774 }
29775 _ACEOF
29776 if ac_fn_cxx_try_compile "$LINENO"; then :
29777 glibcxx_cv_func__fmodf_use=yes
29778 else
29779 glibcxx_cv_func__fmodf_use=no
29780 fi
29781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29782 ac_ext=c
29783 ac_cpp='$CPP $CPPFLAGS'
29784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29787
29788
29789 fi
29790
29791 fi
29792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29793 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29794
29795 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29796 for ac_func in _fmodf
29797 do :
29798 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29799 if test "x$ac_cv_func__fmodf" = x""yes; then :
29800 cat >>confdefs.h <<_ACEOF
29801 #define HAVE__FMODF 1
29802 _ACEOF
29803
29804 fi
29805 done
29806
29807 fi
29808 fi
29809
29810
29811
29812
29813
29814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29815 $as_echo_n "checking for frexpf declaration... " >&6; }
29816 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29817 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29818 $as_echo_n "(cached) " >&6
29819 else
29820
29821
29822 ac_ext=cpp
29823 ac_cpp='$CXXCPP $CPPFLAGS'
29824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29827
29828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29829 /* end confdefs.h. */
29830 #include <math.h>
29831 int
29832 main ()
29833 {
29834 frexpf(0, 0);
29835 ;
29836 return 0;
29837 }
29838 _ACEOF
29839 if ac_fn_cxx_try_compile "$LINENO"; then :
29840 glibcxx_cv_func_frexpf_use=yes
29841 else
29842 glibcxx_cv_func_frexpf_use=no
29843 fi
29844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29845 ac_ext=c
29846 ac_cpp='$CPP $CPPFLAGS'
29847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29850
29851
29852 fi
29853
29854 fi
29855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29856 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29857
29858 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29859 for ac_func in frexpf
29860 do :
29861 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29862 if test "x$ac_cv_func_frexpf" = x""yes; then :
29863 cat >>confdefs.h <<_ACEOF
29864 #define HAVE_FREXPF 1
29865 _ACEOF
29866
29867 fi
29868 done
29869
29870 else
29871
29872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29873 $as_echo_n "checking for _frexpf declaration... " >&6; }
29874 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29875 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29876 $as_echo_n "(cached) " >&6
29877 else
29878
29879
29880 ac_ext=cpp
29881 ac_cpp='$CXXCPP $CPPFLAGS'
29882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29885
29886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29887 /* end confdefs.h. */
29888 #include <math.h>
29889 int
29890 main ()
29891 {
29892 _frexpf(0, 0);
29893 ;
29894 return 0;
29895 }
29896 _ACEOF
29897 if ac_fn_cxx_try_compile "$LINENO"; then :
29898 glibcxx_cv_func__frexpf_use=yes
29899 else
29900 glibcxx_cv_func__frexpf_use=no
29901 fi
29902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29903 ac_ext=c
29904 ac_cpp='$CPP $CPPFLAGS'
29905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29908
29909
29910 fi
29911
29912 fi
29913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29914 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29915
29916 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29917 for ac_func in _frexpf
29918 do :
29919 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29920 if test "x$ac_cv_func__frexpf" = x""yes; then :
29921 cat >>confdefs.h <<_ACEOF
29922 #define HAVE__FREXPF 1
29923 _ACEOF
29924
29925 fi
29926 done
29927
29928 fi
29929 fi
29930
29931
29932
29933
29934
29935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29936 $as_echo_n "checking for hypotf declaration... " >&6; }
29937 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29938 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29939 $as_echo_n "(cached) " >&6
29940 else
29941
29942
29943 ac_ext=cpp
29944 ac_cpp='$CXXCPP $CPPFLAGS'
29945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29948
29949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29950 /* end confdefs.h. */
29951 #include <math.h>
29952 int
29953 main ()
29954 {
29955 hypotf(0, 0);
29956 ;
29957 return 0;
29958 }
29959 _ACEOF
29960 if ac_fn_cxx_try_compile "$LINENO"; then :
29961 glibcxx_cv_func_hypotf_use=yes
29962 else
29963 glibcxx_cv_func_hypotf_use=no
29964 fi
29965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29966 ac_ext=c
29967 ac_cpp='$CPP $CPPFLAGS'
29968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29971
29972
29973 fi
29974
29975 fi
29976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29977 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29978
29979 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29980 for ac_func in hypotf
29981 do :
29982 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29983 if test "x$ac_cv_func_hypotf" = x""yes; then :
29984 cat >>confdefs.h <<_ACEOF
29985 #define HAVE_HYPOTF 1
29986 _ACEOF
29987
29988 fi
29989 done
29990
29991 else
29992
29993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29994 $as_echo_n "checking for _hypotf declaration... " >&6; }
29995 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29996 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29997 $as_echo_n "(cached) " >&6
29998 else
29999
30000
30001 ac_ext=cpp
30002 ac_cpp='$CXXCPP $CPPFLAGS'
30003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30006
30007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30008 /* end confdefs.h. */
30009 #include <math.h>
30010 int
30011 main ()
30012 {
30013 _hypotf(0, 0);
30014 ;
30015 return 0;
30016 }
30017 _ACEOF
30018 if ac_fn_cxx_try_compile "$LINENO"; then :
30019 glibcxx_cv_func__hypotf_use=yes
30020 else
30021 glibcxx_cv_func__hypotf_use=no
30022 fi
30023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30024 ac_ext=c
30025 ac_cpp='$CPP $CPPFLAGS'
30026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30029
30030
30031 fi
30032
30033 fi
30034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30035 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30036
30037 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30038 for ac_func in _hypotf
30039 do :
30040 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30041 if test "x$ac_cv_func__hypotf" = x""yes; then :
30042 cat >>confdefs.h <<_ACEOF
30043 #define HAVE__HYPOTF 1
30044 _ACEOF
30045
30046 fi
30047 done
30048
30049 fi
30050 fi
30051
30052
30053
30054
30055
30056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30057 $as_echo_n "checking for ldexpf declaration... " >&6; }
30058 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30059 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30060 $as_echo_n "(cached) " >&6
30061 else
30062
30063
30064 ac_ext=cpp
30065 ac_cpp='$CXXCPP $CPPFLAGS'
30066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30069
30070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30071 /* end confdefs.h. */
30072 #include <math.h>
30073 int
30074 main ()
30075 {
30076 ldexpf(0, 0);
30077 ;
30078 return 0;
30079 }
30080 _ACEOF
30081 if ac_fn_cxx_try_compile "$LINENO"; then :
30082 glibcxx_cv_func_ldexpf_use=yes
30083 else
30084 glibcxx_cv_func_ldexpf_use=no
30085 fi
30086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30087 ac_ext=c
30088 ac_cpp='$CPP $CPPFLAGS'
30089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30092
30093
30094 fi
30095
30096 fi
30097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30098 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30099
30100 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30101 for ac_func in ldexpf
30102 do :
30103 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30104 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30105 cat >>confdefs.h <<_ACEOF
30106 #define HAVE_LDEXPF 1
30107 _ACEOF
30108
30109 fi
30110 done
30111
30112 else
30113
30114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30115 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30116 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30117 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30118 $as_echo_n "(cached) " >&6
30119 else
30120
30121
30122 ac_ext=cpp
30123 ac_cpp='$CXXCPP $CPPFLAGS'
30124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30127
30128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30129 /* end confdefs.h. */
30130 #include <math.h>
30131 int
30132 main ()
30133 {
30134 _ldexpf(0, 0);
30135 ;
30136 return 0;
30137 }
30138 _ACEOF
30139 if ac_fn_cxx_try_compile "$LINENO"; then :
30140 glibcxx_cv_func__ldexpf_use=yes
30141 else
30142 glibcxx_cv_func__ldexpf_use=no
30143 fi
30144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30145 ac_ext=c
30146 ac_cpp='$CPP $CPPFLAGS'
30147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30150
30151
30152 fi
30153
30154 fi
30155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30156 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30157
30158 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30159 for ac_func in _ldexpf
30160 do :
30161 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30162 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30163 cat >>confdefs.h <<_ACEOF
30164 #define HAVE__LDEXPF 1
30165 _ACEOF
30166
30167 fi
30168 done
30169
30170 fi
30171 fi
30172
30173
30174
30175
30176
30177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30178 $as_echo_n "checking for logf declaration... " >&6; }
30179 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30180 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30181 $as_echo_n "(cached) " >&6
30182 else
30183
30184
30185 ac_ext=cpp
30186 ac_cpp='$CXXCPP $CPPFLAGS'
30187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30190
30191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30192 /* end confdefs.h. */
30193 #include <math.h>
30194 #ifdef HAVE_IEEEFP_H
30195 #include <ieeefp.h>
30196 #endif
30197
30198 int
30199 main ()
30200 {
30201 logf(0);
30202 ;
30203 return 0;
30204 }
30205 _ACEOF
30206 if ac_fn_cxx_try_compile "$LINENO"; then :
30207 glibcxx_cv_func_logf_use=yes
30208 else
30209 glibcxx_cv_func_logf_use=no
30210 fi
30211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30212 ac_ext=c
30213 ac_cpp='$CPP $CPPFLAGS'
30214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30217
30218
30219 fi
30220
30221 fi
30222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30223 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30224
30225 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30226 for ac_func in logf
30227 do :
30228 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30229 if test "x$ac_cv_func_logf" = x""yes; then :
30230 cat >>confdefs.h <<_ACEOF
30231 #define HAVE_LOGF 1
30232 _ACEOF
30233
30234 fi
30235 done
30236
30237 else
30238
30239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30240 $as_echo_n "checking for _logf declaration... " >&6; }
30241 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30242 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30243 $as_echo_n "(cached) " >&6
30244 else
30245
30246
30247 ac_ext=cpp
30248 ac_cpp='$CXXCPP $CPPFLAGS'
30249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30252
30253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30254 /* end confdefs.h. */
30255 #include <math.h>
30256 #ifdef HAVE_IEEEFP_H
30257 #include <ieeefp.h>
30258 #endif
30259
30260 int
30261 main ()
30262 {
30263 _logf(0);
30264 ;
30265 return 0;
30266 }
30267 _ACEOF
30268 if ac_fn_cxx_try_compile "$LINENO"; then :
30269 glibcxx_cv_func__logf_use=yes
30270 else
30271 glibcxx_cv_func__logf_use=no
30272 fi
30273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30274 ac_ext=c
30275 ac_cpp='$CPP $CPPFLAGS'
30276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30279
30280
30281 fi
30282
30283 fi
30284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30285 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30286
30287 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30288 for ac_func in _logf
30289 do :
30290 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30291 if test "x$ac_cv_func__logf" = x""yes; then :
30292 cat >>confdefs.h <<_ACEOF
30293 #define HAVE__LOGF 1
30294 _ACEOF
30295
30296 fi
30297 done
30298
30299 fi
30300 fi
30301
30302
30303
30304
30305
30306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30307 $as_echo_n "checking for log10f declaration... " >&6; }
30308 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30309 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30310 $as_echo_n "(cached) " >&6
30311 else
30312
30313
30314 ac_ext=cpp
30315 ac_cpp='$CXXCPP $CPPFLAGS'
30316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30319
30320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30321 /* end confdefs.h. */
30322 #include <math.h>
30323 #ifdef HAVE_IEEEFP_H
30324 #include <ieeefp.h>
30325 #endif
30326
30327 int
30328 main ()
30329 {
30330 log10f(0);
30331 ;
30332 return 0;
30333 }
30334 _ACEOF
30335 if ac_fn_cxx_try_compile "$LINENO"; then :
30336 glibcxx_cv_func_log10f_use=yes
30337 else
30338 glibcxx_cv_func_log10f_use=no
30339 fi
30340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30341 ac_ext=c
30342 ac_cpp='$CPP $CPPFLAGS'
30343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30346
30347
30348 fi
30349
30350 fi
30351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30352 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30353
30354 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30355 for ac_func in log10f
30356 do :
30357 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30358 if test "x$ac_cv_func_log10f" = x""yes; then :
30359 cat >>confdefs.h <<_ACEOF
30360 #define HAVE_LOG10F 1
30361 _ACEOF
30362
30363 fi
30364 done
30365
30366 else
30367
30368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30369 $as_echo_n "checking for _log10f declaration... " >&6; }
30370 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30371 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30372 $as_echo_n "(cached) " >&6
30373 else
30374
30375
30376 ac_ext=cpp
30377 ac_cpp='$CXXCPP $CPPFLAGS'
30378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30381
30382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30383 /* end confdefs.h. */
30384 #include <math.h>
30385 #ifdef HAVE_IEEEFP_H
30386 #include <ieeefp.h>
30387 #endif
30388
30389 int
30390 main ()
30391 {
30392 _log10f(0);
30393 ;
30394 return 0;
30395 }
30396 _ACEOF
30397 if ac_fn_cxx_try_compile "$LINENO"; then :
30398 glibcxx_cv_func__log10f_use=yes
30399 else
30400 glibcxx_cv_func__log10f_use=no
30401 fi
30402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30403 ac_ext=c
30404 ac_cpp='$CPP $CPPFLAGS'
30405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30408
30409
30410 fi
30411
30412 fi
30413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30414 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30415
30416 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30417 for ac_func in _log10f
30418 do :
30419 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30420 if test "x$ac_cv_func__log10f" = x""yes; then :
30421 cat >>confdefs.h <<_ACEOF
30422 #define HAVE__LOG10F 1
30423 _ACEOF
30424
30425 fi
30426 done
30427
30428 fi
30429 fi
30430
30431
30432
30433
30434
30435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30436 $as_echo_n "checking for modff declaration... " >&6; }
30437 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30438 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30439 $as_echo_n "(cached) " >&6
30440 else
30441
30442
30443 ac_ext=cpp
30444 ac_cpp='$CXXCPP $CPPFLAGS'
30445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30448
30449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30450 /* end confdefs.h. */
30451 #include <math.h>
30452 int
30453 main ()
30454 {
30455 modff(0, 0);
30456 ;
30457 return 0;
30458 }
30459 _ACEOF
30460 if ac_fn_cxx_try_compile "$LINENO"; then :
30461 glibcxx_cv_func_modff_use=yes
30462 else
30463 glibcxx_cv_func_modff_use=no
30464 fi
30465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30466 ac_ext=c
30467 ac_cpp='$CPP $CPPFLAGS'
30468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30471
30472
30473 fi
30474
30475 fi
30476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30477 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30478
30479 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30480 for ac_func in modff
30481 do :
30482 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30483 if test "x$ac_cv_func_modff" = x""yes; then :
30484 cat >>confdefs.h <<_ACEOF
30485 #define HAVE_MODFF 1
30486 _ACEOF
30487
30488 fi
30489 done
30490
30491 else
30492
30493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30494 $as_echo_n "checking for _modff declaration... " >&6; }
30495 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30496 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30497 $as_echo_n "(cached) " >&6
30498 else
30499
30500
30501 ac_ext=cpp
30502 ac_cpp='$CXXCPP $CPPFLAGS'
30503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30506
30507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30508 /* end confdefs.h. */
30509 #include <math.h>
30510 int
30511 main ()
30512 {
30513 _modff(0, 0);
30514 ;
30515 return 0;
30516 }
30517 _ACEOF
30518 if ac_fn_cxx_try_compile "$LINENO"; then :
30519 glibcxx_cv_func__modff_use=yes
30520 else
30521 glibcxx_cv_func__modff_use=no
30522 fi
30523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30524 ac_ext=c
30525 ac_cpp='$CPP $CPPFLAGS'
30526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30529
30530
30531 fi
30532
30533 fi
30534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30535 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30536
30537 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30538 for ac_func in _modff
30539 do :
30540 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30541 if test "x$ac_cv_func__modff" = x""yes; then :
30542 cat >>confdefs.h <<_ACEOF
30543 #define HAVE__MODFF 1
30544 _ACEOF
30545
30546 fi
30547 done
30548
30549 fi
30550 fi
30551
30552
30553
30554
30555
30556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30557 $as_echo_n "checking for modf declaration... " >&6; }
30558 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30559 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30560 $as_echo_n "(cached) " >&6
30561 else
30562
30563
30564 ac_ext=cpp
30565 ac_cpp='$CXXCPP $CPPFLAGS'
30566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30569
30570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30571 /* end confdefs.h. */
30572 #include <math.h>
30573 int
30574 main ()
30575 {
30576 modf(0, 0);
30577 ;
30578 return 0;
30579 }
30580 _ACEOF
30581 if ac_fn_cxx_try_compile "$LINENO"; then :
30582 glibcxx_cv_func_modf_use=yes
30583 else
30584 glibcxx_cv_func_modf_use=no
30585 fi
30586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30587 ac_ext=c
30588 ac_cpp='$CPP $CPPFLAGS'
30589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30592
30593
30594 fi
30595
30596 fi
30597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30598 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30599
30600 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30601 for ac_func in modf
30602 do :
30603 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30604 if test "x$ac_cv_func_modf" = x""yes; then :
30605 cat >>confdefs.h <<_ACEOF
30606 #define HAVE_MODF 1
30607 _ACEOF
30608
30609 fi
30610 done
30611
30612 else
30613
30614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30615 $as_echo_n "checking for _modf declaration... " >&6; }
30616 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30617 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30618 $as_echo_n "(cached) " >&6
30619 else
30620
30621
30622 ac_ext=cpp
30623 ac_cpp='$CXXCPP $CPPFLAGS'
30624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30627
30628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30629 /* end confdefs.h. */
30630 #include <math.h>
30631 int
30632 main ()
30633 {
30634 _modf(0, 0);
30635 ;
30636 return 0;
30637 }
30638 _ACEOF
30639 if ac_fn_cxx_try_compile "$LINENO"; then :
30640 glibcxx_cv_func__modf_use=yes
30641 else
30642 glibcxx_cv_func__modf_use=no
30643 fi
30644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30645 ac_ext=c
30646 ac_cpp='$CPP $CPPFLAGS'
30647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30650
30651
30652 fi
30653
30654 fi
30655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30656 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30657
30658 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30659 for ac_func in _modf
30660 do :
30661 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30662 if test "x$ac_cv_func__modf" = x""yes; then :
30663 cat >>confdefs.h <<_ACEOF
30664 #define HAVE__MODF 1
30665 _ACEOF
30666
30667 fi
30668 done
30669
30670 fi
30671 fi
30672
30673
30674
30675
30676
30677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30678 $as_echo_n "checking for powf declaration... " >&6; }
30679 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30680 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30681 $as_echo_n "(cached) " >&6
30682 else
30683
30684
30685 ac_ext=cpp
30686 ac_cpp='$CXXCPP $CPPFLAGS'
30687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30690
30691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30692 /* end confdefs.h. */
30693 #include <math.h>
30694 int
30695 main ()
30696 {
30697 powf(0, 0);
30698 ;
30699 return 0;
30700 }
30701 _ACEOF
30702 if ac_fn_cxx_try_compile "$LINENO"; then :
30703 glibcxx_cv_func_powf_use=yes
30704 else
30705 glibcxx_cv_func_powf_use=no
30706 fi
30707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30708 ac_ext=c
30709 ac_cpp='$CPP $CPPFLAGS'
30710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30713
30714
30715 fi
30716
30717 fi
30718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30719 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30720
30721 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30722 for ac_func in powf
30723 do :
30724 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30725 if test "x$ac_cv_func_powf" = x""yes; then :
30726 cat >>confdefs.h <<_ACEOF
30727 #define HAVE_POWF 1
30728 _ACEOF
30729
30730 fi
30731 done
30732
30733 else
30734
30735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30736 $as_echo_n "checking for _powf declaration... " >&6; }
30737 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30738 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30739 $as_echo_n "(cached) " >&6
30740 else
30741
30742
30743 ac_ext=cpp
30744 ac_cpp='$CXXCPP $CPPFLAGS'
30745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30748
30749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30750 /* end confdefs.h. */
30751 #include <math.h>
30752 int
30753 main ()
30754 {
30755 _powf(0, 0);
30756 ;
30757 return 0;
30758 }
30759 _ACEOF
30760 if ac_fn_cxx_try_compile "$LINENO"; then :
30761 glibcxx_cv_func__powf_use=yes
30762 else
30763 glibcxx_cv_func__powf_use=no
30764 fi
30765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30766 ac_ext=c
30767 ac_cpp='$CPP $CPPFLAGS'
30768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30771
30772
30773 fi
30774
30775 fi
30776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30777 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30778
30779 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30780 for ac_func in _powf
30781 do :
30782 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30783 if test "x$ac_cv_func__powf" = x""yes; then :
30784 cat >>confdefs.h <<_ACEOF
30785 #define HAVE__POWF 1
30786 _ACEOF
30787
30788 fi
30789 done
30790
30791 fi
30792 fi
30793
30794
30795
30796
30797
30798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30799 $as_echo_n "checking for sqrtf declaration... " >&6; }
30800 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30801 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30802 $as_echo_n "(cached) " >&6
30803 else
30804
30805
30806 ac_ext=cpp
30807 ac_cpp='$CXXCPP $CPPFLAGS'
30808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30811
30812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30813 /* end confdefs.h. */
30814 #include <math.h>
30815 #ifdef HAVE_IEEEFP_H
30816 #include <ieeefp.h>
30817 #endif
30818
30819 int
30820 main ()
30821 {
30822 sqrtf(0);
30823 ;
30824 return 0;
30825 }
30826 _ACEOF
30827 if ac_fn_cxx_try_compile "$LINENO"; then :
30828 glibcxx_cv_func_sqrtf_use=yes
30829 else
30830 glibcxx_cv_func_sqrtf_use=no
30831 fi
30832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30833 ac_ext=c
30834 ac_cpp='$CPP $CPPFLAGS'
30835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30838
30839
30840 fi
30841
30842 fi
30843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30844 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30845
30846 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30847 for ac_func in sqrtf
30848 do :
30849 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30850 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30851 cat >>confdefs.h <<_ACEOF
30852 #define HAVE_SQRTF 1
30853 _ACEOF
30854
30855 fi
30856 done
30857
30858 else
30859
30860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30861 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30862 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30863 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30864 $as_echo_n "(cached) " >&6
30865 else
30866
30867
30868 ac_ext=cpp
30869 ac_cpp='$CXXCPP $CPPFLAGS'
30870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30873
30874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30875 /* end confdefs.h. */
30876 #include <math.h>
30877 #ifdef HAVE_IEEEFP_H
30878 #include <ieeefp.h>
30879 #endif
30880
30881 int
30882 main ()
30883 {
30884 _sqrtf(0);
30885 ;
30886 return 0;
30887 }
30888 _ACEOF
30889 if ac_fn_cxx_try_compile "$LINENO"; then :
30890 glibcxx_cv_func__sqrtf_use=yes
30891 else
30892 glibcxx_cv_func__sqrtf_use=no
30893 fi
30894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30895 ac_ext=c
30896 ac_cpp='$CPP $CPPFLAGS'
30897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30900
30901
30902 fi
30903
30904 fi
30905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30906 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30907
30908 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30909 for ac_func in _sqrtf
30910 do :
30911 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30912 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30913 cat >>confdefs.h <<_ACEOF
30914 #define HAVE__SQRTF 1
30915 _ACEOF
30916
30917 fi
30918 done
30919
30920 fi
30921 fi
30922
30923
30924
30925
30926
30927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30928 $as_echo_n "checking for sincosf declaration... " >&6; }
30929 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30930 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30931 $as_echo_n "(cached) " >&6
30932 else
30933
30934
30935 ac_ext=cpp
30936 ac_cpp='$CXXCPP $CPPFLAGS'
30937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30940
30941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30942 /* end confdefs.h. */
30943 #include <math.h>
30944 int
30945 main ()
30946 {
30947 sincosf(0, 0, 0);
30948 ;
30949 return 0;
30950 }
30951 _ACEOF
30952 if ac_fn_cxx_try_compile "$LINENO"; then :
30953 glibcxx_cv_func_sincosf_use=yes
30954 else
30955 glibcxx_cv_func_sincosf_use=no
30956 fi
30957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30958 ac_ext=c
30959 ac_cpp='$CPP $CPPFLAGS'
30960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30963
30964
30965 fi
30966
30967 fi
30968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30969 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30970
30971 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30972 for ac_func in sincosf
30973 do :
30974 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30975 if test "x$ac_cv_func_sincosf" = x""yes; then :
30976 cat >>confdefs.h <<_ACEOF
30977 #define HAVE_SINCOSF 1
30978 _ACEOF
30979
30980 fi
30981 done
30982
30983 else
30984
30985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30986 $as_echo_n "checking for _sincosf declaration... " >&6; }
30987 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30988 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30989 $as_echo_n "(cached) " >&6
30990 else
30991
30992
30993 ac_ext=cpp
30994 ac_cpp='$CXXCPP $CPPFLAGS'
30995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30998
30999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31000 /* end confdefs.h. */
31001 #include <math.h>
31002 int
31003 main ()
31004 {
31005 _sincosf(0, 0, 0);
31006 ;
31007 return 0;
31008 }
31009 _ACEOF
31010 if ac_fn_cxx_try_compile "$LINENO"; then :
31011 glibcxx_cv_func__sincosf_use=yes
31012 else
31013 glibcxx_cv_func__sincosf_use=no
31014 fi
31015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31016 ac_ext=c
31017 ac_cpp='$CPP $CPPFLAGS'
31018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31021
31022
31023 fi
31024
31025 fi
31026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31027 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31028
31029 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31030 for ac_func in _sincosf
31031 do :
31032 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31033 if test "x$ac_cv_func__sincosf" = x""yes; then :
31034 cat >>confdefs.h <<_ACEOF
31035 #define HAVE__SINCOSF 1
31036 _ACEOF
31037
31038 fi
31039 done
31040
31041 fi
31042 fi
31043
31044
31045
31046
31047
31048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31049 $as_echo_n "checking for finitef declaration... " >&6; }
31050 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31051 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31052 $as_echo_n "(cached) " >&6
31053 else
31054
31055
31056 ac_ext=cpp
31057 ac_cpp='$CXXCPP $CPPFLAGS'
31058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31061
31062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31063 /* end confdefs.h. */
31064 #include <math.h>
31065 #ifdef HAVE_IEEEFP_H
31066 #include <ieeefp.h>
31067 #endif
31068
31069 int
31070 main ()
31071 {
31072 finitef(0);
31073 ;
31074 return 0;
31075 }
31076 _ACEOF
31077 if ac_fn_cxx_try_compile "$LINENO"; then :
31078 glibcxx_cv_func_finitef_use=yes
31079 else
31080 glibcxx_cv_func_finitef_use=no
31081 fi
31082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31083 ac_ext=c
31084 ac_cpp='$CPP $CPPFLAGS'
31085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31088
31089
31090 fi
31091
31092 fi
31093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31094 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31095
31096 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31097 for ac_func in finitef
31098 do :
31099 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31100 if test "x$ac_cv_func_finitef" = x""yes; then :
31101 cat >>confdefs.h <<_ACEOF
31102 #define HAVE_FINITEF 1
31103 _ACEOF
31104
31105 fi
31106 done
31107
31108 else
31109
31110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31111 $as_echo_n "checking for _finitef declaration... " >&6; }
31112 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31113 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31114 $as_echo_n "(cached) " >&6
31115 else
31116
31117
31118 ac_ext=cpp
31119 ac_cpp='$CXXCPP $CPPFLAGS'
31120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31123
31124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31125 /* end confdefs.h. */
31126 #include <math.h>
31127 #ifdef HAVE_IEEEFP_H
31128 #include <ieeefp.h>
31129 #endif
31130
31131 int
31132 main ()
31133 {
31134 _finitef(0);
31135 ;
31136 return 0;
31137 }
31138 _ACEOF
31139 if ac_fn_cxx_try_compile "$LINENO"; then :
31140 glibcxx_cv_func__finitef_use=yes
31141 else
31142 glibcxx_cv_func__finitef_use=no
31143 fi
31144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31145 ac_ext=c
31146 ac_cpp='$CPP $CPPFLAGS'
31147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31150
31151
31152 fi
31153
31154 fi
31155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31156 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31157
31158 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31159 for ac_func in _finitef
31160 do :
31161 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31162 if test "x$ac_cv_func__finitef" = x""yes; then :
31163 cat >>confdefs.h <<_ACEOF
31164 #define HAVE__FINITEF 1
31165 _ACEOF
31166
31167 fi
31168 done
31169
31170 fi
31171 fi
31172
31173
31174
31175
31176
31177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31178 $as_echo_n "checking for long double trig functions... " >&6; }
31179 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31180 $as_echo_n "(cached) " >&6
31181 else
31182
31183
31184 ac_ext=cpp
31185 ac_cpp='$CXXCPP $CPPFLAGS'
31186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31189
31190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31191 /* end confdefs.h. */
31192 #include <math.h>
31193 int
31194 main ()
31195 {
31196 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31197 ;
31198 return 0;
31199 }
31200 _ACEOF
31201 if ac_fn_cxx_try_compile "$LINENO"; then :
31202 glibcxx_cv_func_long_double_trig_use=yes
31203 else
31204 glibcxx_cv_func_long_double_trig_use=no
31205 fi
31206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31207 ac_ext=c
31208 ac_cpp='$CPP $CPPFLAGS'
31209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31212
31213 fi
31214
31215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31216 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31217 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31218 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31219 do :
31220 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31221 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31222 eval as_val=\$$as_ac_var
31223 if test "x$as_val" = x""yes; then :
31224 cat >>confdefs.h <<_ACEOF
31225 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31226 _ACEOF
31227
31228 fi
31229 done
31230
31231 else
31232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31233 $as_echo_n "checking for _long double trig functions... " >&6; }
31234 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31235 $as_echo_n "(cached) " >&6
31236 else
31237
31238
31239 ac_ext=cpp
31240 ac_cpp='$CXXCPP $CPPFLAGS'
31241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31244
31245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31246 /* end confdefs.h. */
31247 #include <math.h>
31248 int
31249 main ()
31250 {
31251 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31252 ;
31253 return 0;
31254 }
31255 _ACEOF
31256 if ac_fn_cxx_try_compile "$LINENO"; then :
31257 glibcxx_cv_func__long_double_trig_use=yes
31258 else
31259 glibcxx_cv_func__long_double_trig_use=no
31260 fi
31261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31262 ac_ext=c
31263 ac_cpp='$CPP $CPPFLAGS'
31264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31267
31268 fi
31269
31270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31271 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31272 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31273 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31274 do :
31275 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31276 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31277 eval as_val=\$$as_ac_var
31278 if test "x$as_val" = x""yes; then :
31279 cat >>confdefs.h <<_ACEOF
31280 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31281 _ACEOF
31282
31283 fi
31284 done
31285
31286 fi
31287 fi
31288
31289
31290
31291
31292
31293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31294 $as_echo_n "checking for long double round functions... " >&6; }
31295 if test "${glibcxx_cv_func_long_double_round_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 int
31310 main ()
31311 {
31312 ceill (0); floorl (0);
31313 ;
31314 return 0;
31315 }
31316 _ACEOF
31317 if ac_fn_cxx_try_compile "$LINENO"; then :
31318 glibcxx_cv_func_long_double_round_use=yes
31319 else
31320 glibcxx_cv_func_long_double_round_use=no
31321 fi
31322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31323 ac_ext=c
31324 ac_cpp='$CPP $CPPFLAGS'
31325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31328
31329 fi
31330
31331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31332 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31333 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31334 for ac_func in ceill floorl
31335 do :
31336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31338 eval as_val=\$$as_ac_var
31339 if test "x$as_val" = x""yes; then :
31340 cat >>confdefs.h <<_ACEOF
31341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31342 _ACEOF
31343
31344 fi
31345 done
31346
31347 else
31348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31349 $as_echo_n "checking for _long double round functions... " >&6; }
31350 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31351 $as_echo_n "(cached) " >&6
31352 else
31353
31354
31355 ac_ext=cpp
31356 ac_cpp='$CXXCPP $CPPFLAGS'
31357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31360
31361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31362 /* end confdefs.h. */
31363 #include <math.h>
31364 int
31365 main ()
31366 {
31367 _ceill (0); _floorl (0);
31368 ;
31369 return 0;
31370 }
31371 _ACEOF
31372 if ac_fn_cxx_try_compile "$LINENO"; then :
31373 glibcxx_cv_func__long_double_round_use=yes
31374 else
31375 glibcxx_cv_func__long_double_round_use=no
31376 fi
31377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31378 ac_ext=c
31379 ac_cpp='$CPP $CPPFLAGS'
31380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31383
31384 fi
31385
31386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31387 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31388 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31389 for ac_func in _ceill _floorl
31390 do :
31391 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31392 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31393 eval as_val=\$$as_ac_var
31394 if test "x$as_val" = x""yes; then :
31395 cat >>confdefs.h <<_ACEOF
31396 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31397 _ACEOF
31398
31399 fi
31400 done
31401
31402 fi
31403 fi
31404
31405
31406
31407
31408
31409
31410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31411 $as_echo_n "checking for isnanl declaration... " >&6; }
31412 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31413 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31414 $as_echo_n "(cached) " >&6
31415 else
31416
31417
31418 ac_ext=cpp
31419 ac_cpp='$CXXCPP $CPPFLAGS'
31420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31423
31424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31425 /* end confdefs.h. */
31426 #include <math.h>
31427 #ifdef HAVE_IEEEFP_H
31428 #include <ieeefp.h>
31429 #endif
31430
31431 int
31432 main ()
31433 {
31434 isnanl(0);
31435 ;
31436 return 0;
31437 }
31438 _ACEOF
31439 if ac_fn_cxx_try_compile "$LINENO"; then :
31440 glibcxx_cv_func_isnanl_use=yes
31441 else
31442 glibcxx_cv_func_isnanl_use=no
31443 fi
31444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31445 ac_ext=c
31446 ac_cpp='$CPP $CPPFLAGS'
31447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31450
31451
31452 fi
31453
31454 fi
31455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31456 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31457
31458 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31459 for ac_func in isnanl
31460 do :
31461 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31462 if test "x$ac_cv_func_isnanl" = x""yes; then :
31463 cat >>confdefs.h <<_ACEOF
31464 #define HAVE_ISNANL 1
31465 _ACEOF
31466
31467 fi
31468 done
31469
31470 else
31471
31472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31473 $as_echo_n "checking for _isnanl declaration... " >&6; }
31474 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31475 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31476 $as_echo_n "(cached) " >&6
31477 else
31478
31479
31480 ac_ext=cpp
31481 ac_cpp='$CXXCPP $CPPFLAGS'
31482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31485
31486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31487 /* end confdefs.h. */
31488 #include <math.h>
31489 #ifdef HAVE_IEEEFP_H
31490 #include <ieeefp.h>
31491 #endif
31492
31493 int
31494 main ()
31495 {
31496 _isnanl(0);
31497 ;
31498 return 0;
31499 }
31500 _ACEOF
31501 if ac_fn_cxx_try_compile "$LINENO"; then :
31502 glibcxx_cv_func__isnanl_use=yes
31503 else
31504 glibcxx_cv_func__isnanl_use=no
31505 fi
31506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31507 ac_ext=c
31508 ac_cpp='$CPP $CPPFLAGS'
31509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31512
31513
31514 fi
31515
31516 fi
31517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31518 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31519
31520 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31521 for ac_func in _isnanl
31522 do :
31523 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31524 if test "x$ac_cv_func__isnanl" = x""yes; then :
31525 cat >>confdefs.h <<_ACEOF
31526 #define HAVE__ISNANL 1
31527 _ACEOF
31528
31529 fi
31530 done
31531
31532 fi
31533 fi
31534
31535
31536
31537
31538
31539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31540 $as_echo_n "checking for isinfl declaration... " >&6; }
31541 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31542 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31543 $as_echo_n "(cached) " >&6
31544 else
31545
31546
31547 ac_ext=cpp
31548 ac_cpp='$CXXCPP $CPPFLAGS'
31549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31552
31553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31554 /* end confdefs.h. */
31555 #include <math.h>
31556 #ifdef HAVE_IEEEFP_H
31557 #include <ieeefp.h>
31558 #endif
31559
31560 int
31561 main ()
31562 {
31563 isinfl(0);
31564 ;
31565 return 0;
31566 }
31567 _ACEOF
31568 if ac_fn_cxx_try_compile "$LINENO"; then :
31569 glibcxx_cv_func_isinfl_use=yes
31570 else
31571 glibcxx_cv_func_isinfl_use=no
31572 fi
31573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31574 ac_ext=c
31575 ac_cpp='$CPP $CPPFLAGS'
31576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31579
31580
31581 fi
31582
31583 fi
31584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31585 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31586
31587 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31588 for ac_func in isinfl
31589 do :
31590 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31591 if test "x$ac_cv_func_isinfl" = x""yes; then :
31592 cat >>confdefs.h <<_ACEOF
31593 #define HAVE_ISINFL 1
31594 _ACEOF
31595
31596 fi
31597 done
31598
31599 else
31600
31601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31602 $as_echo_n "checking for _isinfl declaration... " >&6; }
31603 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31604 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31605 $as_echo_n "(cached) " >&6
31606 else
31607
31608
31609 ac_ext=cpp
31610 ac_cpp='$CXXCPP $CPPFLAGS'
31611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31614
31615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31616 /* end confdefs.h. */
31617 #include <math.h>
31618 #ifdef HAVE_IEEEFP_H
31619 #include <ieeefp.h>
31620 #endif
31621
31622 int
31623 main ()
31624 {
31625 _isinfl(0);
31626 ;
31627 return 0;
31628 }
31629 _ACEOF
31630 if ac_fn_cxx_try_compile "$LINENO"; then :
31631 glibcxx_cv_func__isinfl_use=yes
31632 else
31633 glibcxx_cv_func__isinfl_use=no
31634 fi
31635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31636 ac_ext=c
31637 ac_cpp='$CPP $CPPFLAGS'
31638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31641
31642
31643 fi
31644
31645 fi
31646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31647 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31648
31649 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31650 for ac_func in _isinfl
31651 do :
31652 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31653 if test "x$ac_cv_func__isinfl" = x""yes; then :
31654 cat >>confdefs.h <<_ACEOF
31655 #define HAVE__ISINFL 1
31656 _ACEOF
31657
31658 fi
31659 done
31660
31661 fi
31662 fi
31663
31664
31665
31666
31667
31668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31669 $as_echo_n "checking for atan2l declaration... " >&6; }
31670 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31671 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31672 $as_echo_n "(cached) " >&6
31673 else
31674
31675
31676 ac_ext=cpp
31677 ac_cpp='$CXXCPP $CPPFLAGS'
31678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31681
31682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31683 /* end confdefs.h. */
31684 #include <math.h>
31685 int
31686 main ()
31687 {
31688 atan2l(0, 0);
31689 ;
31690 return 0;
31691 }
31692 _ACEOF
31693 if ac_fn_cxx_try_compile "$LINENO"; then :
31694 glibcxx_cv_func_atan2l_use=yes
31695 else
31696 glibcxx_cv_func_atan2l_use=no
31697 fi
31698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31699 ac_ext=c
31700 ac_cpp='$CPP $CPPFLAGS'
31701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31704
31705
31706 fi
31707
31708 fi
31709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31710 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31711
31712 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31713 for ac_func in atan2l
31714 do :
31715 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31716 if test "x$ac_cv_func_atan2l" = x""yes; then :
31717 cat >>confdefs.h <<_ACEOF
31718 #define HAVE_ATAN2L 1
31719 _ACEOF
31720
31721 fi
31722 done
31723
31724 else
31725
31726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31727 $as_echo_n "checking for _atan2l declaration... " >&6; }
31728 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31729 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31730 $as_echo_n "(cached) " >&6
31731 else
31732
31733
31734 ac_ext=cpp
31735 ac_cpp='$CXXCPP $CPPFLAGS'
31736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31739
31740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31741 /* end confdefs.h. */
31742 #include <math.h>
31743 int
31744 main ()
31745 {
31746 _atan2l(0, 0);
31747 ;
31748 return 0;
31749 }
31750 _ACEOF
31751 if ac_fn_cxx_try_compile "$LINENO"; then :
31752 glibcxx_cv_func__atan2l_use=yes
31753 else
31754 glibcxx_cv_func__atan2l_use=no
31755 fi
31756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31757 ac_ext=c
31758 ac_cpp='$CPP $CPPFLAGS'
31759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31762
31763
31764 fi
31765
31766 fi
31767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31768 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31769
31770 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31771 for ac_func in _atan2l
31772 do :
31773 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31774 if test "x$ac_cv_func__atan2l" = x""yes; then :
31775 cat >>confdefs.h <<_ACEOF
31776 #define HAVE__ATAN2L 1
31777 _ACEOF
31778
31779 fi
31780 done
31781
31782 fi
31783 fi
31784
31785
31786
31787
31788
31789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31790 $as_echo_n "checking for expl declaration... " >&6; }
31791 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31792 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31793 $as_echo_n "(cached) " >&6
31794 else
31795
31796
31797 ac_ext=cpp
31798 ac_cpp='$CXXCPP $CPPFLAGS'
31799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31802
31803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31804 /* end confdefs.h. */
31805 #include <math.h>
31806 #ifdef HAVE_IEEEFP_H
31807 #include <ieeefp.h>
31808 #endif
31809
31810 int
31811 main ()
31812 {
31813 expl(0);
31814 ;
31815 return 0;
31816 }
31817 _ACEOF
31818 if ac_fn_cxx_try_compile "$LINENO"; then :
31819 glibcxx_cv_func_expl_use=yes
31820 else
31821 glibcxx_cv_func_expl_use=no
31822 fi
31823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31824 ac_ext=c
31825 ac_cpp='$CPP $CPPFLAGS'
31826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31829
31830
31831 fi
31832
31833 fi
31834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31835 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31836
31837 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31838 for ac_func in expl
31839 do :
31840 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31841 if test "x$ac_cv_func_expl" = x""yes; then :
31842 cat >>confdefs.h <<_ACEOF
31843 #define HAVE_EXPL 1
31844 _ACEOF
31845
31846 fi
31847 done
31848
31849 else
31850
31851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31852 $as_echo_n "checking for _expl declaration... " >&6; }
31853 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31854 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31855 $as_echo_n "(cached) " >&6
31856 else
31857
31858
31859 ac_ext=cpp
31860 ac_cpp='$CXXCPP $CPPFLAGS'
31861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31864
31865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31866 /* end confdefs.h. */
31867 #include <math.h>
31868 #ifdef HAVE_IEEEFP_H
31869 #include <ieeefp.h>
31870 #endif
31871
31872 int
31873 main ()
31874 {
31875 _expl(0);
31876 ;
31877 return 0;
31878 }
31879 _ACEOF
31880 if ac_fn_cxx_try_compile "$LINENO"; then :
31881 glibcxx_cv_func__expl_use=yes
31882 else
31883 glibcxx_cv_func__expl_use=no
31884 fi
31885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31886 ac_ext=c
31887 ac_cpp='$CPP $CPPFLAGS'
31888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31891
31892
31893 fi
31894
31895 fi
31896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31897 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31898
31899 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31900 for ac_func in _expl
31901 do :
31902 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31903 if test "x$ac_cv_func__expl" = x""yes; then :
31904 cat >>confdefs.h <<_ACEOF
31905 #define HAVE__EXPL 1
31906 _ACEOF
31907
31908 fi
31909 done
31910
31911 fi
31912 fi
31913
31914
31915
31916
31917
31918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31919 $as_echo_n "checking for fabsl declaration... " >&6; }
31920 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31921 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31922 $as_echo_n "(cached) " >&6
31923 else
31924
31925
31926 ac_ext=cpp
31927 ac_cpp='$CXXCPP $CPPFLAGS'
31928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31931
31932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31933 /* end confdefs.h. */
31934 #include <math.h>
31935 #ifdef HAVE_IEEEFP_H
31936 #include <ieeefp.h>
31937 #endif
31938
31939 int
31940 main ()
31941 {
31942 fabsl(0);
31943 ;
31944 return 0;
31945 }
31946 _ACEOF
31947 if ac_fn_cxx_try_compile "$LINENO"; then :
31948 glibcxx_cv_func_fabsl_use=yes
31949 else
31950 glibcxx_cv_func_fabsl_use=no
31951 fi
31952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31953 ac_ext=c
31954 ac_cpp='$CPP $CPPFLAGS'
31955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31958
31959
31960 fi
31961
31962 fi
31963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31964 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31965
31966 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31967 for ac_func in fabsl
31968 do :
31969 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31970 if test "x$ac_cv_func_fabsl" = x""yes; then :
31971 cat >>confdefs.h <<_ACEOF
31972 #define HAVE_FABSL 1
31973 _ACEOF
31974
31975 fi
31976 done
31977
31978 else
31979
31980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31981 $as_echo_n "checking for _fabsl declaration... " >&6; }
31982 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31983 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31984 $as_echo_n "(cached) " >&6
31985 else
31986
31987
31988 ac_ext=cpp
31989 ac_cpp='$CXXCPP $CPPFLAGS'
31990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31993
31994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31995 /* end confdefs.h. */
31996 #include <math.h>
31997 #ifdef HAVE_IEEEFP_H
31998 #include <ieeefp.h>
31999 #endif
32000
32001 int
32002 main ()
32003 {
32004 _fabsl(0);
32005 ;
32006 return 0;
32007 }
32008 _ACEOF
32009 if ac_fn_cxx_try_compile "$LINENO"; then :
32010 glibcxx_cv_func__fabsl_use=yes
32011 else
32012 glibcxx_cv_func__fabsl_use=no
32013 fi
32014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32015 ac_ext=c
32016 ac_cpp='$CPP $CPPFLAGS'
32017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32020
32021
32022 fi
32023
32024 fi
32025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32026 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32027
32028 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32029 for ac_func in _fabsl
32030 do :
32031 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32032 if test "x$ac_cv_func__fabsl" = x""yes; then :
32033 cat >>confdefs.h <<_ACEOF
32034 #define HAVE__FABSL 1
32035 _ACEOF
32036
32037 fi
32038 done
32039
32040 fi
32041 fi
32042
32043
32044
32045
32046
32047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32048 $as_echo_n "checking for fmodl declaration... " >&6; }
32049 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32050 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32051 $as_echo_n "(cached) " >&6
32052 else
32053
32054
32055 ac_ext=cpp
32056 ac_cpp='$CXXCPP $CPPFLAGS'
32057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32060
32061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32062 /* end confdefs.h. */
32063 #include <math.h>
32064 int
32065 main ()
32066 {
32067 fmodl(0, 0);
32068 ;
32069 return 0;
32070 }
32071 _ACEOF
32072 if ac_fn_cxx_try_compile "$LINENO"; then :
32073 glibcxx_cv_func_fmodl_use=yes
32074 else
32075 glibcxx_cv_func_fmodl_use=no
32076 fi
32077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32078 ac_ext=c
32079 ac_cpp='$CPP $CPPFLAGS'
32080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32083
32084
32085 fi
32086
32087 fi
32088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32089 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32090
32091 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32092 for ac_func in fmodl
32093 do :
32094 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32095 if test "x$ac_cv_func_fmodl" = x""yes; then :
32096 cat >>confdefs.h <<_ACEOF
32097 #define HAVE_FMODL 1
32098 _ACEOF
32099
32100 fi
32101 done
32102
32103 else
32104
32105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32106 $as_echo_n "checking for _fmodl declaration... " >&6; }
32107 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32108 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32109 $as_echo_n "(cached) " >&6
32110 else
32111
32112
32113 ac_ext=cpp
32114 ac_cpp='$CXXCPP $CPPFLAGS'
32115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32118
32119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32120 /* end confdefs.h. */
32121 #include <math.h>
32122 int
32123 main ()
32124 {
32125 _fmodl(0, 0);
32126 ;
32127 return 0;
32128 }
32129 _ACEOF
32130 if ac_fn_cxx_try_compile "$LINENO"; then :
32131 glibcxx_cv_func__fmodl_use=yes
32132 else
32133 glibcxx_cv_func__fmodl_use=no
32134 fi
32135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32136 ac_ext=c
32137 ac_cpp='$CPP $CPPFLAGS'
32138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32141
32142
32143 fi
32144
32145 fi
32146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32147 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32148
32149 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32150 for ac_func in _fmodl
32151 do :
32152 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32153 if test "x$ac_cv_func__fmodl" = x""yes; then :
32154 cat >>confdefs.h <<_ACEOF
32155 #define HAVE__FMODL 1
32156 _ACEOF
32157
32158 fi
32159 done
32160
32161 fi
32162 fi
32163
32164
32165
32166
32167
32168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32169 $as_echo_n "checking for frexpl declaration... " >&6; }
32170 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32171 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32172 $as_echo_n "(cached) " >&6
32173 else
32174
32175
32176 ac_ext=cpp
32177 ac_cpp='$CXXCPP $CPPFLAGS'
32178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32181
32182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32183 /* end confdefs.h. */
32184 #include <math.h>
32185 int
32186 main ()
32187 {
32188 frexpl(0, 0);
32189 ;
32190 return 0;
32191 }
32192 _ACEOF
32193 if ac_fn_cxx_try_compile "$LINENO"; then :
32194 glibcxx_cv_func_frexpl_use=yes
32195 else
32196 glibcxx_cv_func_frexpl_use=no
32197 fi
32198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32199 ac_ext=c
32200 ac_cpp='$CPP $CPPFLAGS'
32201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32204
32205
32206 fi
32207
32208 fi
32209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32210 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32211
32212 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32213 for ac_func in frexpl
32214 do :
32215 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32216 if test "x$ac_cv_func_frexpl" = x""yes; then :
32217 cat >>confdefs.h <<_ACEOF
32218 #define HAVE_FREXPL 1
32219 _ACEOF
32220
32221 fi
32222 done
32223
32224 else
32225
32226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32227 $as_echo_n "checking for _frexpl declaration... " >&6; }
32228 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32229 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32230 $as_echo_n "(cached) " >&6
32231 else
32232
32233
32234 ac_ext=cpp
32235 ac_cpp='$CXXCPP $CPPFLAGS'
32236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32239
32240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32241 /* end confdefs.h. */
32242 #include <math.h>
32243 int
32244 main ()
32245 {
32246 _frexpl(0, 0);
32247 ;
32248 return 0;
32249 }
32250 _ACEOF
32251 if ac_fn_cxx_try_compile "$LINENO"; then :
32252 glibcxx_cv_func__frexpl_use=yes
32253 else
32254 glibcxx_cv_func__frexpl_use=no
32255 fi
32256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32257 ac_ext=c
32258 ac_cpp='$CPP $CPPFLAGS'
32259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32262
32263
32264 fi
32265
32266 fi
32267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32268 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32269
32270 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32271 for ac_func in _frexpl
32272 do :
32273 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32274 if test "x$ac_cv_func__frexpl" = x""yes; then :
32275 cat >>confdefs.h <<_ACEOF
32276 #define HAVE__FREXPL 1
32277 _ACEOF
32278
32279 fi
32280 done
32281
32282 fi
32283 fi
32284
32285
32286
32287
32288
32289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32290 $as_echo_n "checking for hypotl declaration... " >&6; }
32291 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32292 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32293 $as_echo_n "(cached) " >&6
32294 else
32295
32296
32297 ac_ext=cpp
32298 ac_cpp='$CXXCPP $CPPFLAGS'
32299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32302
32303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32304 /* end confdefs.h. */
32305 #include <math.h>
32306 int
32307 main ()
32308 {
32309 hypotl(0, 0);
32310 ;
32311 return 0;
32312 }
32313 _ACEOF
32314 if ac_fn_cxx_try_compile "$LINENO"; then :
32315 glibcxx_cv_func_hypotl_use=yes
32316 else
32317 glibcxx_cv_func_hypotl_use=no
32318 fi
32319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32320 ac_ext=c
32321 ac_cpp='$CPP $CPPFLAGS'
32322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32325
32326
32327 fi
32328
32329 fi
32330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32331 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32332
32333 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32334 for ac_func in hypotl
32335 do :
32336 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32337 if test "x$ac_cv_func_hypotl" = x""yes; then :
32338 cat >>confdefs.h <<_ACEOF
32339 #define HAVE_HYPOTL 1
32340 _ACEOF
32341
32342 fi
32343 done
32344
32345 else
32346
32347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32348 $as_echo_n "checking for _hypotl declaration... " >&6; }
32349 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32350 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32351 $as_echo_n "(cached) " >&6
32352 else
32353
32354
32355 ac_ext=cpp
32356 ac_cpp='$CXXCPP $CPPFLAGS'
32357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32360
32361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32362 /* end confdefs.h. */
32363 #include <math.h>
32364 int
32365 main ()
32366 {
32367 _hypotl(0, 0);
32368 ;
32369 return 0;
32370 }
32371 _ACEOF
32372 if ac_fn_cxx_try_compile "$LINENO"; then :
32373 glibcxx_cv_func__hypotl_use=yes
32374 else
32375 glibcxx_cv_func__hypotl_use=no
32376 fi
32377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32378 ac_ext=c
32379 ac_cpp='$CPP $CPPFLAGS'
32380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32383
32384
32385 fi
32386
32387 fi
32388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32389 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32390
32391 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32392 for ac_func in _hypotl
32393 do :
32394 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32395 if test "x$ac_cv_func__hypotl" = x""yes; then :
32396 cat >>confdefs.h <<_ACEOF
32397 #define HAVE__HYPOTL 1
32398 _ACEOF
32399
32400 fi
32401 done
32402
32403 fi
32404 fi
32405
32406
32407
32408
32409
32410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32411 $as_echo_n "checking for ldexpl declaration... " >&6; }
32412 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32413 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32414 $as_echo_n "(cached) " >&6
32415 else
32416
32417
32418 ac_ext=cpp
32419 ac_cpp='$CXXCPP $CPPFLAGS'
32420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32423
32424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32425 /* end confdefs.h. */
32426 #include <math.h>
32427 int
32428 main ()
32429 {
32430 ldexpl(0, 0);
32431 ;
32432 return 0;
32433 }
32434 _ACEOF
32435 if ac_fn_cxx_try_compile "$LINENO"; then :
32436 glibcxx_cv_func_ldexpl_use=yes
32437 else
32438 glibcxx_cv_func_ldexpl_use=no
32439 fi
32440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32441 ac_ext=c
32442 ac_cpp='$CPP $CPPFLAGS'
32443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32446
32447
32448 fi
32449
32450 fi
32451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32452 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32453
32454 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32455 for ac_func in ldexpl
32456 do :
32457 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32458 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32459 cat >>confdefs.h <<_ACEOF
32460 #define HAVE_LDEXPL 1
32461 _ACEOF
32462
32463 fi
32464 done
32465
32466 else
32467
32468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32469 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32470 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32471 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32472 $as_echo_n "(cached) " >&6
32473 else
32474
32475
32476 ac_ext=cpp
32477 ac_cpp='$CXXCPP $CPPFLAGS'
32478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32481
32482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32483 /* end confdefs.h. */
32484 #include <math.h>
32485 int
32486 main ()
32487 {
32488 _ldexpl(0, 0);
32489 ;
32490 return 0;
32491 }
32492 _ACEOF
32493 if ac_fn_cxx_try_compile "$LINENO"; then :
32494 glibcxx_cv_func__ldexpl_use=yes
32495 else
32496 glibcxx_cv_func__ldexpl_use=no
32497 fi
32498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32499 ac_ext=c
32500 ac_cpp='$CPP $CPPFLAGS'
32501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32504
32505
32506 fi
32507
32508 fi
32509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32510 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32511
32512 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32513 for ac_func in _ldexpl
32514 do :
32515 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32516 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32517 cat >>confdefs.h <<_ACEOF
32518 #define HAVE__LDEXPL 1
32519 _ACEOF
32520
32521 fi
32522 done
32523
32524 fi
32525 fi
32526
32527
32528
32529
32530
32531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32532 $as_echo_n "checking for logl declaration... " >&6; }
32533 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32534 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32535 $as_echo_n "(cached) " >&6
32536 else
32537
32538
32539 ac_ext=cpp
32540 ac_cpp='$CXXCPP $CPPFLAGS'
32541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32544
32545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32546 /* end confdefs.h. */
32547 #include <math.h>
32548 #ifdef HAVE_IEEEFP_H
32549 #include <ieeefp.h>
32550 #endif
32551
32552 int
32553 main ()
32554 {
32555 logl(0);
32556 ;
32557 return 0;
32558 }
32559 _ACEOF
32560 if ac_fn_cxx_try_compile "$LINENO"; then :
32561 glibcxx_cv_func_logl_use=yes
32562 else
32563 glibcxx_cv_func_logl_use=no
32564 fi
32565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32566 ac_ext=c
32567 ac_cpp='$CPP $CPPFLAGS'
32568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32571
32572
32573 fi
32574
32575 fi
32576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32577 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32578
32579 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32580 for ac_func in logl
32581 do :
32582 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32583 if test "x$ac_cv_func_logl" = x""yes; then :
32584 cat >>confdefs.h <<_ACEOF
32585 #define HAVE_LOGL 1
32586 _ACEOF
32587
32588 fi
32589 done
32590
32591 else
32592
32593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32594 $as_echo_n "checking for _logl declaration... " >&6; }
32595 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32596 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32597 $as_echo_n "(cached) " >&6
32598 else
32599
32600
32601 ac_ext=cpp
32602 ac_cpp='$CXXCPP $CPPFLAGS'
32603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32606
32607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32608 /* end confdefs.h. */
32609 #include <math.h>
32610 #ifdef HAVE_IEEEFP_H
32611 #include <ieeefp.h>
32612 #endif
32613
32614 int
32615 main ()
32616 {
32617 _logl(0);
32618 ;
32619 return 0;
32620 }
32621 _ACEOF
32622 if ac_fn_cxx_try_compile "$LINENO"; then :
32623 glibcxx_cv_func__logl_use=yes
32624 else
32625 glibcxx_cv_func__logl_use=no
32626 fi
32627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32628 ac_ext=c
32629 ac_cpp='$CPP $CPPFLAGS'
32630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32633
32634
32635 fi
32636
32637 fi
32638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32639 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32640
32641 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32642 for ac_func in _logl
32643 do :
32644 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32645 if test "x$ac_cv_func__logl" = x""yes; then :
32646 cat >>confdefs.h <<_ACEOF
32647 #define HAVE__LOGL 1
32648 _ACEOF
32649
32650 fi
32651 done
32652
32653 fi
32654 fi
32655
32656
32657
32658
32659
32660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32661 $as_echo_n "checking for log10l declaration... " >&6; }
32662 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32663 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32664 $as_echo_n "(cached) " >&6
32665 else
32666
32667
32668 ac_ext=cpp
32669 ac_cpp='$CXXCPP $CPPFLAGS'
32670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32673
32674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32675 /* end confdefs.h. */
32676 #include <math.h>
32677 #ifdef HAVE_IEEEFP_H
32678 #include <ieeefp.h>
32679 #endif
32680
32681 int
32682 main ()
32683 {
32684 log10l(0);
32685 ;
32686 return 0;
32687 }
32688 _ACEOF
32689 if ac_fn_cxx_try_compile "$LINENO"; then :
32690 glibcxx_cv_func_log10l_use=yes
32691 else
32692 glibcxx_cv_func_log10l_use=no
32693 fi
32694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32695 ac_ext=c
32696 ac_cpp='$CPP $CPPFLAGS'
32697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32700
32701
32702 fi
32703
32704 fi
32705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32706 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32707
32708 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32709 for ac_func in log10l
32710 do :
32711 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32712 if test "x$ac_cv_func_log10l" = x""yes; then :
32713 cat >>confdefs.h <<_ACEOF
32714 #define HAVE_LOG10L 1
32715 _ACEOF
32716
32717 fi
32718 done
32719
32720 else
32721
32722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32723 $as_echo_n "checking for _log10l declaration... " >&6; }
32724 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32725 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32726 $as_echo_n "(cached) " >&6
32727 else
32728
32729
32730 ac_ext=cpp
32731 ac_cpp='$CXXCPP $CPPFLAGS'
32732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32735
32736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32737 /* end confdefs.h. */
32738 #include <math.h>
32739 #ifdef HAVE_IEEEFP_H
32740 #include <ieeefp.h>
32741 #endif
32742
32743 int
32744 main ()
32745 {
32746 _log10l(0);
32747 ;
32748 return 0;
32749 }
32750 _ACEOF
32751 if ac_fn_cxx_try_compile "$LINENO"; then :
32752 glibcxx_cv_func__log10l_use=yes
32753 else
32754 glibcxx_cv_func__log10l_use=no
32755 fi
32756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32757 ac_ext=c
32758 ac_cpp='$CPP $CPPFLAGS'
32759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32762
32763
32764 fi
32765
32766 fi
32767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32768 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32769
32770 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32771 for ac_func in _log10l
32772 do :
32773 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32774 if test "x$ac_cv_func__log10l" = x""yes; then :
32775 cat >>confdefs.h <<_ACEOF
32776 #define HAVE__LOG10L 1
32777 _ACEOF
32778
32779 fi
32780 done
32781
32782 fi
32783 fi
32784
32785
32786
32787
32788
32789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32790 $as_echo_n "checking for modfl declaration... " >&6; }
32791 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32792 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32793 $as_echo_n "(cached) " >&6
32794 else
32795
32796
32797 ac_ext=cpp
32798 ac_cpp='$CXXCPP $CPPFLAGS'
32799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32802
32803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32804 /* end confdefs.h. */
32805 #include <math.h>
32806 int
32807 main ()
32808 {
32809 modfl(0, 0);
32810 ;
32811 return 0;
32812 }
32813 _ACEOF
32814 if ac_fn_cxx_try_compile "$LINENO"; then :
32815 glibcxx_cv_func_modfl_use=yes
32816 else
32817 glibcxx_cv_func_modfl_use=no
32818 fi
32819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32820 ac_ext=c
32821 ac_cpp='$CPP $CPPFLAGS'
32822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32825
32826
32827 fi
32828
32829 fi
32830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32831 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32832
32833 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32834 for ac_func in modfl
32835 do :
32836 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32837 if test "x$ac_cv_func_modfl" = x""yes; then :
32838 cat >>confdefs.h <<_ACEOF
32839 #define HAVE_MODFL 1
32840 _ACEOF
32841
32842 fi
32843 done
32844
32845 else
32846
32847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32848 $as_echo_n "checking for _modfl declaration... " >&6; }
32849 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32850 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32851 $as_echo_n "(cached) " >&6
32852 else
32853
32854
32855 ac_ext=cpp
32856 ac_cpp='$CXXCPP $CPPFLAGS'
32857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32860
32861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32862 /* end confdefs.h. */
32863 #include <math.h>
32864 int
32865 main ()
32866 {
32867 _modfl(0, 0);
32868 ;
32869 return 0;
32870 }
32871 _ACEOF
32872 if ac_fn_cxx_try_compile "$LINENO"; then :
32873 glibcxx_cv_func__modfl_use=yes
32874 else
32875 glibcxx_cv_func__modfl_use=no
32876 fi
32877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32878 ac_ext=c
32879 ac_cpp='$CPP $CPPFLAGS'
32880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32883
32884
32885 fi
32886
32887 fi
32888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32889 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32890
32891 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32892 for ac_func in _modfl
32893 do :
32894 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32895 if test "x$ac_cv_func__modfl" = x""yes; then :
32896 cat >>confdefs.h <<_ACEOF
32897 #define HAVE__MODFL 1
32898 _ACEOF
32899
32900 fi
32901 done
32902
32903 fi
32904 fi
32905
32906
32907
32908
32909
32910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32911 $as_echo_n "checking for powl declaration... " >&6; }
32912 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32913 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32914 $as_echo_n "(cached) " >&6
32915 else
32916
32917
32918 ac_ext=cpp
32919 ac_cpp='$CXXCPP $CPPFLAGS'
32920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32923
32924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32925 /* end confdefs.h. */
32926 #include <math.h>
32927 int
32928 main ()
32929 {
32930 powl(0, 0);
32931 ;
32932 return 0;
32933 }
32934 _ACEOF
32935 if ac_fn_cxx_try_compile "$LINENO"; then :
32936 glibcxx_cv_func_powl_use=yes
32937 else
32938 glibcxx_cv_func_powl_use=no
32939 fi
32940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32941 ac_ext=c
32942 ac_cpp='$CPP $CPPFLAGS'
32943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32946
32947
32948 fi
32949
32950 fi
32951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32952 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32953
32954 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32955 for ac_func in powl
32956 do :
32957 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32958 if test "x$ac_cv_func_powl" = x""yes; then :
32959 cat >>confdefs.h <<_ACEOF
32960 #define HAVE_POWL 1
32961 _ACEOF
32962
32963 fi
32964 done
32965
32966 else
32967
32968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32969 $as_echo_n "checking for _powl declaration... " >&6; }
32970 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32971 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32972 $as_echo_n "(cached) " >&6
32973 else
32974
32975
32976 ac_ext=cpp
32977 ac_cpp='$CXXCPP $CPPFLAGS'
32978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32981
32982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32983 /* end confdefs.h. */
32984 #include <math.h>
32985 int
32986 main ()
32987 {
32988 _powl(0, 0);
32989 ;
32990 return 0;
32991 }
32992 _ACEOF
32993 if ac_fn_cxx_try_compile "$LINENO"; then :
32994 glibcxx_cv_func__powl_use=yes
32995 else
32996 glibcxx_cv_func__powl_use=no
32997 fi
32998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32999 ac_ext=c
33000 ac_cpp='$CPP $CPPFLAGS'
33001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33004
33005
33006 fi
33007
33008 fi
33009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33010 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33011
33012 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33013 for ac_func in _powl
33014 do :
33015 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33016 if test "x$ac_cv_func__powl" = x""yes; then :
33017 cat >>confdefs.h <<_ACEOF
33018 #define HAVE__POWL 1
33019 _ACEOF
33020
33021 fi
33022 done
33023
33024 fi
33025 fi
33026
33027
33028
33029
33030
33031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33032 $as_echo_n "checking for sqrtl declaration... " >&6; }
33033 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33034 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33035 $as_echo_n "(cached) " >&6
33036 else
33037
33038
33039 ac_ext=cpp
33040 ac_cpp='$CXXCPP $CPPFLAGS'
33041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33044
33045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33046 /* end confdefs.h. */
33047 #include <math.h>
33048 #ifdef HAVE_IEEEFP_H
33049 #include <ieeefp.h>
33050 #endif
33051
33052 int
33053 main ()
33054 {
33055 sqrtl(0);
33056 ;
33057 return 0;
33058 }
33059 _ACEOF
33060 if ac_fn_cxx_try_compile "$LINENO"; then :
33061 glibcxx_cv_func_sqrtl_use=yes
33062 else
33063 glibcxx_cv_func_sqrtl_use=no
33064 fi
33065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33066 ac_ext=c
33067 ac_cpp='$CPP $CPPFLAGS'
33068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33071
33072
33073 fi
33074
33075 fi
33076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33077 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33078
33079 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33080 for ac_func in sqrtl
33081 do :
33082 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33083 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33084 cat >>confdefs.h <<_ACEOF
33085 #define HAVE_SQRTL 1
33086 _ACEOF
33087
33088 fi
33089 done
33090
33091 else
33092
33093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33094 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33095 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33096 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33097 $as_echo_n "(cached) " >&6
33098 else
33099
33100
33101 ac_ext=cpp
33102 ac_cpp='$CXXCPP $CPPFLAGS'
33103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33106
33107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33108 /* end confdefs.h. */
33109 #include <math.h>
33110 #ifdef HAVE_IEEEFP_H
33111 #include <ieeefp.h>
33112 #endif
33113
33114 int
33115 main ()
33116 {
33117 _sqrtl(0);
33118 ;
33119 return 0;
33120 }
33121 _ACEOF
33122 if ac_fn_cxx_try_compile "$LINENO"; then :
33123 glibcxx_cv_func__sqrtl_use=yes
33124 else
33125 glibcxx_cv_func__sqrtl_use=no
33126 fi
33127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33128 ac_ext=c
33129 ac_cpp='$CPP $CPPFLAGS'
33130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33133
33134
33135 fi
33136
33137 fi
33138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33139 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33140
33141 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33142 for ac_func in _sqrtl
33143 do :
33144 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33145 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33146 cat >>confdefs.h <<_ACEOF
33147 #define HAVE__SQRTL 1
33148 _ACEOF
33149
33150 fi
33151 done
33152
33153 fi
33154 fi
33155
33156
33157
33158
33159
33160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33161 $as_echo_n "checking for sincosl declaration... " >&6; }
33162 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33163 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33164 $as_echo_n "(cached) " >&6
33165 else
33166
33167
33168 ac_ext=cpp
33169 ac_cpp='$CXXCPP $CPPFLAGS'
33170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33173
33174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33175 /* end confdefs.h. */
33176 #include <math.h>
33177 int
33178 main ()
33179 {
33180 sincosl(0, 0, 0);
33181 ;
33182 return 0;
33183 }
33184 _ACEOF
33185 if ac_fn_cxx_try_compile "$LINENO"; then :
33186 glibcxx_cv_func_sincosl_use=yes
33187 else
33188 glibcxx_cv_func_sincosl_use=no
33189 fi
33190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33191 ac_ext=c
33192 ac_cpp='$CPP $CPPFLAGS'
33193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33196
33197
33198 fi
33199
33200 fi
33201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33202 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33203
33204 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33205 for ac_func in sincosl
33206 do :
33207 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33208 if test "x$ac_cv_func_sincosl" = x""yes; then :
33209 cat >>confdefs.h <<_ACEOF
33210 #define HAVE_SINCOSL 1
33211 _ACEOF
33212
33213 fi
33214 done
33215
33216 else
33217
33218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33219 $as_echo_n "checking for _sincosl declaration... " >&6; }
33220 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33221 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33222 $as_echo_n "(cached) " >&6
33223 else
33224
33225
33226 ac_ext=cpp
33227 ac_cpp='$CXXCPP $CPPFLAGS'
33228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33231
33232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33233 /* end confdefs.h. */
33234 #include <math.h>
33235 int
33236 main ()
33237 {
33238 _sincosl(0, 0, 0);
33239 ;
33240 return 0;
33241 }
33242 _ACEOF
33243 if ac_fn_cxx_try_compile "$LINENO"; then :
33244 glibcxx_cv_func__sincosl_use=yes
33245 else
33246 glibcxx_cv_func__sincosl_use=no
33247 fi
33248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33249 ac_ext=c
33250 ac_cpp='$CPP $CPPFLAGS'
33251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33254
33255
33256 fi
33257
33258 fi
33259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33260 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33261
33262 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33263 for ac_func in _sincosl
33264 do :
33265 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33266 if test "x$ac_cv_func__sincosl" = x""yes; then :
33267 cat >>confdefs.h <<_ACEOF
33268 #define HAVE__SINCOSL 1
33269 _ACEOF
33270
33271 fi
33272 done
33273
33274 fi
33275 fi
33276
33277
33278
33279
33280
33281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33282 $as_echo_n "checking for finitel declaration... " >&6; }
33283 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33284 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33285 $as_echo_n "(cached) " >&6
33286 else
33287
33288
33289 ac_ext=cpp
33290 ac_cpp='$CXXCPP $CPPFLAGS'
33291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33294
33295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33296 /* end confdefs.h. */
33297 #include <math.h>
33298 #ifdef HAVE_IEEEFP_H
33299 #include <ieeefp.h>
33300 #endif
33301
33302 int
33303 main ()
33304 {
33305 finitel(0);
33306 ;
33307 return 0;
33308 }
33309 _ACEOF
33310 if ac_fn_cxx_try_compile "$LINENO"; then :
33311 glibcxx_cv_func_finitel_use=yes
33312 else
33313 glibcxx_cv_func_finitel_use=no
33314 fi
33315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33316 ac_ext=c
33317 ac_cpp='$CPP $CPPFLAGS'
33318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33321
33322
33323 fi
33324
33325 fi
33326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33327 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33328
33329 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33330 for ac_func in finitel
33331 do :
33332 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33333 if test "x$ac_cv_func_finitel" = x""yes; then :
33334 cat >>confdefs.h <<_ACEOF
33335 #define HAVE_FINITEL 1
33336 _ACEOF
33337
33338 fi
33339 done
33340
33341 else
33342
33343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33344 $as_echo_n "checking for _finitel declaration... " >&6; }
33345 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33346 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33347 $as_echo_n "(cached) " >&6
33348 else
33349
33350
33351 ac_ext=cpp
33352 ac_cpp='$CXXCPP $CPPFLAGS'
33353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33356
33357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33358 /* end confdefs.h. */
33359 #include <math.h>
33360 #ifdef HAVE_IEEEFP_H
33361 #include <ieeefp.h>
33362 #endif
33363
33364 int
33365 main ()
33366 {
33367 _finitel(0);
33368 ;
33369 return 0;
33370 }
33371 _ACEOF
33372 if ac_fn_cxx_try_compile "$LINENO"; then :
33373 glibcxx_cv_func__finitel_use=yes
33374 else
33375 glibcxx_cv_func__finitel_use=no
33376 fi
33377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33378 ac_ext=c
33379 ac_cpp='$CPP $CPPFLAGS'
33380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33383
33384
33385 fi
33386
33387 fi
33388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33389 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33390
33391 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33392 for ac_func in _finitel
33393 do :
33394 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33395 if test "x$ac_cv_func__finitel" = x""yes; then :
33396 cat >>confdefs.h <<_ACEOF
33397 #define HAVE__FINITEL 1
33398 _ACEOF
33399
33400 fi
33401 done
33402
33403 fi
33404 fi
33405
33406
33407
33408
33409 LIBS="$ac_save_LIBS"
33410 CXXFLAGS="$ac_save_CXXFLAGS"
33411
33412
33413 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33414 ac_save_CXXFLAGS="$CXXFLAGS"
33415 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33416
33417
33418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33419 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33420 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33421 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33422 $as_echo_n "(cached) " >&6
33423 else
33424
33425
33426 ac_ext=cpp
33427 ac_cpp='$CXXCPP $CPPFLAGS'
33428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33431
33432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33433 /* end confdefs.h. */
33434 #include <stdlib.h>
33435 int
33436 main ()
33437 {
33438 at_quick_exit(0);
33439 ;
33440 return 0;
33441 }
33442 _ACEOF
33443 if ac_fn_cxx_try_compile "$LINENO"; then :
33444 glibcxx_cv_func_at_quick_exit_use=yes
33445 else
33446 glibcxx_cv_func_at_quick_exit_use=no
33447 fi
33448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33449 ac_ext=c
33450 ac_cpp='$CPP $CPPFLAGS'
33451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33454
33455
33456 fi
33457
33458 fi
33459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33460 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33461 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33462 for ac_func in at_quick_exit
33463 do :
33464 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33465 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33466 cat >>confdefs.h <<_ACEOF
33467 #define HAVE_AT_QUICK_EXIT 1
33468 _ACEOF
33469
33470 fi
33471 done
33472
33473 fi
33474
33475
33476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33477 $as_echo_n "checking for quick_exit declaration... " >&6; }
33478 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33479 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33480 $as_echo_n "(cached) " >&6
33481 else
33482
33483
33484 ac_ext=cpp
33485 ac_cpp='$CXXCPP $CPPFLAGS'
33486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33489
33490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33491 /* end confdefs.h. */
33492 #include <stdlib.h>
33493 int
33494 main ()
33495 {
33496 quick_exit(0);
33497 ;
33498 return 0;
33499 }
33500 _ACEOF
33501 if ac_fn_cxx_try_compile "$LINENO"; then :
33502 glibcxx_cv_func_quick_exit_use=yes
33503 else
33504 glibcxx_cv_func_quick_exit_use=no
33505 fi
33506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33507 ac_ext=c
33508 ac_cpp='$CPP $CPPFLAGS'
33509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33512
33513
33514 fi
33515
33516 fi
33517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33518 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33519 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33520 for ac_func in quick_exit
33521 do :
33522 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33523 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33524 cat >>confdefs.h <<_ACEOF
33525 #define HAVE_QUICK_EXIT 1
33526 _ACEOF
33527
33528 fi
33529 done
33530
33531 fi
33532
33533
33534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33535 $as_echo_n "checking for strtold declaration... " >&6; }
33536 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33537 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33538 $as_echo_n "(cached) " >&6
33539 else
33540
33541
33542 ac_ext=cpp
33543 ac_cpp='$CXXCPP $CPPFLAGS'
33544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33547
33548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33549 /* end confdefs.h. */
33550 #include <stdlib.h>
33551 int
33552 main ()
33553 {
33554 strtold(0, 0);
33555 ;
33556 return 0;
33557 }
33558 _ACEOF
33559 if ac_fn_cxx_try_compile "$LINENO"; then :
33560 glibcxx_cv_func_strtold_use=yes
33561 else
33562 glibcxx_cv_func_strtold_use=no
33563 fi
33564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33565 ac_ext=c
33566 ac_cpp='$CPP $CPPFLAGS'
33567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33570
33571
33572 fi
33573
33574 fi
33575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33576 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33577 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33578 for ac_func in strtold
33579 do :
33580 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33581 if test "x$ac_cv_func_strtold" = x""yes; then :
33582 cat >>confdefs.h <<_ACEOF
33583 #define HAVE_STRTOLD 1
33584 _ACEOF
33585
33586 fi
33587 done
33588
33589 fi
33590
33591
33592
33593
33594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33595 $as_echo_n "checking for strtof declaration... " >&6; }
33596 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33597 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33598 $as_echo_n "(cached) " >&6
33599 else
33600
33601
33602 ac_ext=cpp
33603 ac_cpp='$CXXCPP $CPPFLAGS'
33604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33607
33608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33609 /* end confdefs.h. */
33610 #include <stdlib.h>
33611 int
33612 main ()
33613 {
33614 strtof(0, 0);
33615 ;
33616 return 0;
33617 }
33618 _ACEOF
33619 if ac_fn_cxx_try_compile "$LINENO"; then :
33620 glibcxx_cv_func_strtof_use=yes
33621 else
33622 glibcxx_cv_func_strtof_use=no
33623 fi
33624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33625 ac_ext=c
33626 ac_cpp='$CPP $CPPFLAGS'
33627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33630
33631
33632 fi
33633
33634 fi
33635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33636 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33637 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33638 for ac_func in strtof
33639 do :
33640 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33641 if test "x$ac_cv_func_strtof" = x""yes; then :
33642 cat >>confdefs.h <<_ACEOF
33643 #define HAVE_STRTOF 1
33644 _ACEOF
33645
33646 fi
33647 done
33648
33649 fi
33650
33651
33652
33653
33654 CXXFLAGS="$ac_save_CXXFLAGS"
33655
33656
33657 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33658
33659 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33660
33661 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33662
33663 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33664
33665
33666 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33667
33668 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33669
33670 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33671
33672 ;;
33673
33674 *-aix*)
33675
33676 # If we're not using GNU ld, then there's no point in even trying these
33677 # tests. Check for that first. We should have already tested for gld
33678 # by now (in libtool), but require it now just to be safe...
33679 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33680 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33681
33682
33683
33684 # The name set by libtool depends on the version of libtool. Shame on us
33685 # for depending on an impl detail, but c'est la vie. Older versions used
33686 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33687 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33688 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33689 # set (hence we're using an older libtool), then set it.
33690 if test x${with_gnu_ld+set} != xset; then
33691 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33692 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33693 with_gnu_ld=no
33694 else
33695 with_gnu_ld=$ac_cv_prog_gnu_ld
33696 fi
33697 fi
33698
33699 # Start by getting the version number. I think the libtool test already
33700 # does some of this, but throws away the result.
33701 glibcxx_ld_is_gold=no
33702 if test x"$with_gnu_ld" = x"yes"; then
33703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33704 $as_echo_n "checking for ld version... " >&6; }
33705
33706 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33707 glibcxx_ld_is_gold=yes
33708 fi
33709 ldver=`$LD --version 2>/dev/null |
33710 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'`
33711
33712 glibcxx_gnu_ld_version=`echo $ldver | \
33713 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33715 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33716 fi
33717
33718 # Set --gc-sections.
33719 glibcxx_have_gc_sections=no
33720 if test "$glibcxx_ld_is_gold" = "yes"; then
33721 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33722 glibcxx_have_gc_sections=yes
33723 fi
33724 else
33725 glibcxx_gcsections_min_ld=21602
33726 if test x"$with_gnu_ld" = x"yes" &&
33727 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33728 glibcxx_have_gc_sections=yes
33729 fi
33730 fi
33731 if test "$glibcxx_have_gc_sections" = "yes"; then
33732 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33733 # NB: This flag only works reliably after 2.16.1. Configure tests
33734 # for this are difficult, so hard wire a value that should work.
33735
33736 ac_test_CFLAGS="${CFLAGS+set}"
33737 ac_save_CFLAGS="$CFLAGS"
33738 CFLAGS='-Wl,--gc-sections'
33739
33740 # Check for -Wl,--gc-sections
33741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33742 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33743 if test x$gcc_no_link = xyes; then
33744 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33745 fi
33746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33747 /* end confdefs.h. */
33748 int one(void) { return 1; }
33749 int two(void) { return 2; }
33750
33751 int
33752 main ()
33753 {
33754 two();
33755 ;
33756 return 0;
33757 }
33758 _ACEOF
33759 if ac_fn_c_try_link "$LINENO"; then :
33760 ac_gcsections=yes
33761 else
33762 ac_gcsections=no
33763 fi
33764 rm -f core conftest.err conftest.$ac_objext \
33765 conftest$ac_exeext conftest.$ac_ext
33766 if test "$ac_gcsections" = "yes"; then
33767 rm -f conftest.c
33768 touch conftest.c
33769 if $CC -c conftest.c; then
33770 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33771 grep "Warning: gc-sections option ignored" > /dev/null; then
33772 ac_gcsections=no
33773 fi
33774 fi
33775 rm -f conftest.c conftest.o conftest
33776 fi
33777 if test "$ac_gcsections" = "yes"; then
33778 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33779 fi
33780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33781 $as_echo "$ac_gcsections" >&6; }
33782
33783 if test "$ac_test_CFLAGS" = set; then
33784 CFLAGS="$ac_save_CFLAGS"
33785 else
33786 # this is the suspicious part
33787 CFLAGS=''
33788 fi
33789 fi
33790
33791 # Set -z,relro.
33792 # Note this is only for shared objects.
33793 ac_ld_relro=no
33794 if test x"$with_gnu_ld" = x"yes"; then
33795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33796 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33797 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33798 if test -n "$cxx_z_relo"; then
33799 OPT_LDFLAGS="-Wl,-z,relro"
33800 ac_ld_relro=yes
33801 fi
33802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33803 $as_echo "$ac_ld_relro" >&6; }
33804 fi
33805
33806 # Set linker optimization flags.
33807 if test x"$with_gnu_ld" = x"yes"; then
33808 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33809 fi
33810
33811
33812
33813
33814
33815 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33816 ac_save_CXXFLAGS="$CXXFLAGS"
33817 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33818
33819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33820 $as_echo_n "checking for sin in -lm... " >&6; }
33821 if test "${ac_cv_lib_m_sin+set}" = set; then :
33822 $as_echo_n "(cached) " >&6
33823 else
33824 ac_check_lib_save_LIBS=$LIBS
33825 LIBS="-lm $LIBS"
33826 if test x$gcc_no_link = xyes; then
33827 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33828 fi
33829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33830 /* end confdefs.h. */
33831
33832 /* Override any GCC internal prototype to avoid an error.
33833 Use char because int might match the return type of a GCC
33834 builtin and then its argument prototype would still apply. */
33835 #ifdef __cplusplus
33836 extern "C"
33837 #endif
33838 char sin ();
33839 int
33840 main ()
33841 {
33842 return sin ();
33843 ;
33844 return 0;
33845 }
33846 _ACEOF
33847 if ac_fn_c_try_link "$LINENO"; then :
33848 ac_cv_lib_m_sin=yes
33849 else
33850 ac_cv_lib_m_sin=no
33851 fi
33852 rm -f core conftest.err conftest.$ac_objext \
33853 conftest$ac_exeext conftest.$ac_ext
33854 LIBS=$ac_check_lib_save_LIBS
33855 fi
33856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33857 $as_echo "$ac_cv_lib_m_sin" >&6; }
33858 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33859 libm="-lm"
33860 fi
33861
33862 ac_save_LIBS="$LIBS"
33863 LIBS="$LIBS $libm"
33864
33865
33866
33867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33868 $as_echo_n "checking for isinf declaration... " >&6; }
33869 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33870 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33871 $as_echo_n "(cached) " >&6
33872 else
33873
33874
33875 ac_ext=cpp
33876 ac_cpp='$CXXCPP $CPPFLAGS'
33877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33880
33881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33882 /* end confdefs.h. */
33883 #include <math.h>
33884 #ifdef HAVE_IEEEFP_H
33885 #include <ieeefp.h>
33886 #endif
33887
33888 int
33889 main ()
33890 {
33891 isinf(0);
33892 ;
33893 return 0;
33894 }
33895 _ACEOF
33896 if ac_fn_cxx_try_compile "$LINENO"; then :
33897 glibcxx_cv_func_isinf_use=yes
33898 else
33899 glibcxx_cv_func_isinf_use=no
33900 fi
33901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33902 ac_ext=c
33903 ac_cpp='$CPP $CPPFLAGS'
33904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33907
33908
33909 fi
33910
33911 fi
33912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33913 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33914
33915 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33916 for ac_func in isinf
33917 do :
33918 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33919 if test "x$ac_cv_func_isinf" = x""yes; then :
33920 cat >>confdefs.h <<_ACEOF
33921 #define HAVE_ISINF 1
33922 _ACEOF
33923
33924 fi
33925 done
33926
33927 else
33928
33929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33930 $as_echo_n "checking for _isinf declaration... " >&6; }
33931 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33932 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33933 $as_echo_n "(cached) " >&6
33934 else
33935
33936
33937 ac_ext=cpp
33938 ac_cpp='$CXXCPP $CPPFLAGS'
33939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33942
33943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33944 /* end confdefs.h. */
33945 #include <math.h>
33946 #ifdef HAVE_IEEEFP_H
33947 #include <ieeefp.h>
33948 #endif
33949
33950 int
33951 main ()
33952 {
33953 _isinf(0);
33954 ;
33955 return 0;
33956 }
33957 _ACEOF
33958 if ac_fn_cxx_try_compile "$LINENO"; then :
33959 glibcxx_cv_func__isinf_use=yes
33960 else
33961 glibcxx_cv_func__isinf_use=no
33962 fi
33963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33964 ac_ext=c
33965 ac_cpp='$CPP $CPPFLAGS'
33966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33969
33970
33971 fi
33972
33973 fi
33974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33975 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33976
33977 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33978 for ac_func in _isinf
33979 do :
33980 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33981 if test "x$ac_cv_func__isinf" = x""yes; then :
33982 cat >>confdefs.h <<_ACEOF
33983 #define HAVE__ISINF 1
33984 _ACEOF
33985
33986 fi
33987 done
33988
33989 fi
33990 fi
33991
33992
33993
33994
33995
33996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33997 $as_echo_n "checking for isnan declaration... " >&6; }
33998 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33999 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34000 $as_echo_n "(cached) " >&6
34001 else
34002
34003
34004 ac_ext=cpp
34005 ac_cpp='$CXXCPP $CPPFLAGS'
34006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34009
34010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34011 /* end confdefs.h. */
34012 #include <math.h>
34013 #ifdef HAVE_IEEEFP_H
34014 #include <ieeefp.h>
34015 #endif
34016
34017 int
34018 main ()
34019 {
34020 isnan(0);
34021 ;
34022 return 0;
34023 }
34024 _ACEOF
34025 if ac_fn_cxx_try_compile "$LINENO"; then :
34026 glibcxx_cv_func_isnan_use=yes
34027 else
34028 glibcxx_cv_func_isnan_use=no
34029 fi
34030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34031 ac_ext=c
34032 ac_cpp='$CPP $CPPFLAGS'
34033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34036
34037
34038 fi
34039
34040 fi
34041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34042 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34043
34044 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34045 for ac_func in isnan
34046 do :
34047 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34048 if test "x$ac_cv_func_isnan" = x""yes; then :
34049 cat >>confdefs.h <<_ACEOF
34050 #define HAVE_ISNAN 1
34051 _ACEOF
34052
34053 fi
34054 done
34055
34056 else
34057
34058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34059 $as_echo_n "checking for _isnan declaration... " >&6; }
34060 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34061 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34062 $as_echo_n "(cached) " >&6
34063 else
34064
34065
34066 ac_ext=cpp
34067 ac_cpp='$CXXCPP $CPPFLAGS'
34068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34071
34072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34073 /* end confdefs.h. */
34074 #include <math.h>
34075 #ifdef HAVE_IEEEFP_H
34076 #include <ieeefp.h>
34077 #endif
34078
34079 int
34080 main ()
34081 {
34082 _isnan(0);
34083 ;
34084 return 0;
34085 }
34086 _ACEOF
34087 if ac_fn_cxx_try_compile "$LINENO"; then :
34088 glibcxx_cv_func__isnan_use=yes
34089 else
34090 glibcxx_cv_func__isnan_use=no
34091 fi
34092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34093 ac_ext=c
34094 ac_cpp='$CPP $CPPFLAGS'
34095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34098
34099
34100 fi
34101
34102 fi
34103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34104 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34105
34106 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34107 for ac_func in _isnan
34108 do :
34109 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34110 if test "x$ac_cv_func__isnan" = x""yes; then :
34111 cat >>confdefs.h <<_ACEOF
34112 #define HAVE__ISNAN 1
34113 _ACEOF
34114
34115 fi
34116 done
34117
34118 fi
34119 fi
34120
34121
34122
34123
34124
34125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34126 $as_echo_n "checking for finite declaration... " >&6; }
34127 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34128 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34129 $as_echo_n "(cached) " >&6
34130 else
34131
34132
34133 ac_ext=cpp
34134 ac_cpp='$CXXCPP $CPPFLAGS'
34135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34138
34139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34140 /* end confdefs.h. */
34141 #include <math.h>
34142 #ifdef HAVE_IEEEFP_H
34143 #include <ieeefp.h>
34144 #endif
34145
34146 int
34147 main ()
34148 {
34149 finite(0);
34150 ;
34151 return 0;
34152 }
34153 _ACEOF
34154 if ac_fn_cxx_try_compile "$LINENO"; then :
34155 glibcxx_cv_func_finite_use=yes
34156 else
34157 glibcxx_cv_func_finite_use=no
34158 fi
34159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34160 ac_ext=c
34161 ac_cpp='$CPP $CPPFLAGS'
34162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34165
34166
34167 fi
34168
34169 fi
34170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34171 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34172
34173 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34174 for ac_func in finite
34175 do :
34176 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34177 if test "x$ac_cv_func_finite" = x""yes; then :
34178 cat >>confdefs.h <<_ACEOF
34179 #define HAVE_FINITE 1
34180 _ACEOF
34181
34182 fi
34183 done
34184
34185 else
34186
34187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34188 $as_echo_n "checking for _finite declaration... " >&6; }
34189 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34190 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34191 $as_echo_n "(cached) " >&6
34192 else
34193
34194
34195 ac_ext=cpp
34196 ac_cpp='$CXXCPP $CPPFLAGS'
34197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34200
34201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34202 /* end confdefs.h. */
34203 #include <math.h>
34204 #ifdef HAVE_IEEEFP_H
34205 #include <ieeefp.h>
34206 #endif
34207
34208 int
34209 main ()
34210 {
34211 _finite(0);
34212 ;
34213 return 0;
34214 }
34215 _ACEOF
34216 if ac_fn_cxx_try_compile "$LINENO"; then :
34217 glibcxx_cv_func__finite_use=yes
34218 else
34219 glibcxx_cv_func__finite_use=no
34220 fi
34221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34222 ac_ext=c
34223 ac_cpp='$CPP $CPPFLAGS'
34224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34227
34228
34229 fi
34230
34231 fi
34232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34233 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34234
34235 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34236 for ac_func in _finite
34237 do :
34238 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34239 if test "x$ac_cv_func__finite" = x""yes; then :
34240 cat >>confdefs.h <<_ACEOF
34241 #define HAVE__FINITE 1
34242 _ACEOF
34243
34244 fi
34245 done
34246
34247 fi
34248 fi
34249
34250
34251
34252
34253
34254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34255 $as_echo_n "checking for sincos declaration... " >&6; }
34256 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34257 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34258 $as_echo_n "(cached) " >&6
34259 else
34260
34261
34262 ac_ext=cpp
34263 ac_cpp='$CXXCPP $CPPFLAGS'
34264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34267
34268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34269 /* end confdefs.h. */
34270 #include <math.h>
34271 int
34272 main ()
34273 {
34274 sincos(0, 0, 0);
34275 ;
34276 return 0;
34277 }
34278 _ACEOF
34279 if ac_fn_cxx_try_compile "$LINENO"; then :
34280 glibcxx_cv_func_sincos_use=yes
34281 else
34282 glibcxx_cv_func_sincos_use=no
34283 fi
34284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34285 ac_ext=c
34286 ac_cpp='$CPP $CPPFLAGS'
34287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34290
34291
34292 fi
34293
34294 fi
34295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34296 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34297
34298 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34299 for ac_func in sincos
34300 do :
34301 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34302 if test "x$ac_cv_func_sincos" = x""yes; then :
34303 cat >>confdefs.h <<_ACEOF
34304 #define HAVE_SINCOS 1
34305 _ACEOF
34306
34307 fi
34308 done
34309
34310 else
34311
34312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34313 $as_echo_n "checking for _sincos declaration... " >&6; }
34314 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34315 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34316 $as_echo_n "(cached) " >&6
34317 else
34318
34319
34320 ac_ext=cpp
34321 ac_cpp='$CXXCPP $CPPFLAGS'
34322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34325
34326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34327 /* end confdefs.h. */
34328 #include <math.h>
34329 int
34330 main ()
34331 {
34332 _sincos(0, 0, 0);
34333 ;
34334 return 0;
34335 }
34336 _ACEOF
34337 if ac_fn_cxx_try_compile "$LINENO"; then :
34338 glibcxx_cv_func__sincos_use=yes
34339 else
34340 glibcxx_cv_func__sincos_use=no
34341 fi
34342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34343 ac_ext=c
34344 ac_cpp='$CPP $CPPFLAGS'
34345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34348
34349
34350 fi
34351
34352 fi
34353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34354 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34355
34356 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34357 for ac_func in _sincos
34358 do :
34359 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34360 if test "x$ac_cv_func__sincos" = x""yes; then :
34361 cat >>confdefs.h <<_ACEOF
34362 #define HAVE__SINCOS 1
34363 _ACEOF
34364
34365 fi
34366 done
34367
34368 fi
34369 fi
34370
34371
34372
34373
34374
34375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34376 $as_echo_n "checking for fpclass declaration... " >&6; }
34377 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34378 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34379 $as_echo_n "(cached) " >&6
34380 else
34381
34382
34383 ac_ext=cpp
34384 ac_cpp='$CXXCPP $CPPFLAGS'
34385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34388
34389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34390 /* end confdefs.h. */
34391 #include <math.h>
34392 #ifdef HAVE_IEEEFP_H
34393 #include <ieeefp.h>
34394 #endif
34395
34396 int
34397 main ()
34398 {
34399 fpclass(0);
34400 ;
34401 return 0;
34402 }
34403 _ACEOF
34404 if ac_fn_cxx_try_compile "$LINENO"; then :
34405 glibcxx_cv_func_fpclass_use=yes
34406 else
34407 glibcxx_cv_func_fpclass_use=no
34408 fi
34409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34410 ac_ext=c
34411 ac_cpp='$CPP $CPPFLAGS'
34412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34415
34416
34417 fi
34418
34419 fi
34420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34421 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34422
34423 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34424 for ac_func in fpclass
34425 do :
34426 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34427 if test "x$ac_cv_func_fpclass" = x""yes; then :
34428 cat >>confdefs.h <<_ACEOF
34429 #define HAVE_FPCLASS 1
34430 _ACEOF
34431
34432 fi
34433 done
34434
34435 else
34436
34437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34438 $as_echo_n "checking for _fpclass declaration... " >&6; }
34439 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34440 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34441 $as_echo_n "(cached) " >&6
34442 else
34443
34444
34445 ac_ext=cpp
34446 ac_cpp='$CXXCPP $CPPFLAGS'
34447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34450
34451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34452 /* end confdefs.h. */
34453 #include <math.h>
34454 #ifdef HAVE_IEEEFP_H
34455 #include <ieeefp.h>
34456 #endif
34457
34458 int
34459 main ()
34460 {
34461 _fpclass(0);
34462 ;
34463 return 0;
34464 }
34465 _ACEOF
34466 if ac_fn_cxx_try_compile "$LINENO"; then :
34467 glibcxx_cv_func__fpclass_use=yes
34468 else
34469 glibcxx_cv_func__fpclass_use=no
34470 fi
34471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34472 ac_ext=c
34473 ac_cpp='$CPP $CPPFLAGS'
34474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34477
34478
34479 fi
34480
34481 fi
34482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34483 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34484
34485 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34486 for ac_func in _fpclass
34487 do :
34488 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34489 if test "x$ac_cv_func__fpclass" = x""yes; then :
34490 cat >>confdefs.h <<_ACEOF
34491 #define HAVE__FPCLASS 1
34492 _ACEOF
34493
34494 fi
34495 done
34496
34497 fi
34498 fi
34499
34500
34501
34502
34503
34504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34505 $as_echo_n "checking for qfpclass declaration... " >&6; }
34506 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34507 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34508 $as_echo_n "(cached) " >&6
34509 else
34510
34511
34512 ac_ext=cpp
34513 ac_cpp='$CXXCPP $CPPFLAGS'
34514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34517
34518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34519 /* end confdefs.h. */
34520 #include <math.h>
34521 #ifdef HAVE_IEEEFP_H
34522 #include <ieeefp.h>
34523 #endif
34524
34525 int
34526 main ()
34527 {
34528 qfpclass(0);
34529 ;
34530 return 0;
34531 }
34532 _ACEOF
34533 if ac_fn_cxx_try_compile "$LINENO"; then :
34534 glibcxx_cv_func_qfpclass_use=yes
34535 else
34536 glibcxx_cv_func_qfpclass_use=no
34537 fi
34538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34539 ac_ext=c
34540 ac_cpp='$CPP $CPPFLAGS'
34541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34544
34545
34546 fi
34547
34548 fi
34549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34550 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34551
34552 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34553 for ac_func in qfpclass
34554 do :
34555 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34556 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34557 cat >>confdefs.h <<_ACEOF
34558 #define HAVE_QFPCLASS 1
34559 _ACEOF
34560
34561 fi
34562 done
34563
34564 else
34565
34566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34567 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34568 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34569 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34570 $as_echo_n "(cached) " >&6
34571 else
34572
34573
34574 ac_ext=cpp
34575 ac_cpp='$CXXCPP $CPPFLAGS'
34576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34579
34580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34581 /* end confdefs.h. */
34582 #include <math.h>
34583 #ifdef HAVE_IEEEFP_H
34584 #include <ieeefp.h>
34585 #endif
34586
34587 int
34588 main ()
34589 {
34590 _qfpclass(0);
34591 ;
34592 return 0;
34593 }
34594 _ACEOF
34595 if ac_fn_cxx_try_compile "$LINENO"; then :
34596 glibcxx_cv_func__qfpclass_use=yes
34597 else
34598 glibcxx_cv_func__qfpclass_use=no
34599 fi
34600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34601 ac_ext=c
34602 ac_cpp='$CPP $CPPFLAGS'
34603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34606
34607
34608 fi
34609
34610 fi
34611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34612 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34613
34614 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34615 for ac_func in _qfpclass
34616 do :
34617 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34618 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34619 cat >>confdefs.h <<_ACEOF
34620 #define HAVE__QFPCLASS 1
34621 _ACEOF
34622
34623 fi
34624 done
34625
34626 fi
34627 fi
34628
34629
34630
34631
34632
34633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34634 $as_echo_n "checking for hypot declaration... " >&6; }
34635 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34636 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34637 $as_echo_n "(cached) " >&6
34638 else
34639
34640
34641 ac_ext=cpp
34642 ac_cpp='$CXXCPP $CPPFLAGS'
34643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34646
34647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34648 /* end confdefs.h. */
34649 #include <math.h>
34650 int
34651 main ()
34652 {
34653 hypot(0, 0);
34654 ;
34655 return 0;
34656 }
34657 _ACEOF
34658 if ac_fn_cxx_try_compile "$LINENO"; then :
34659 glibcxx_cv_func_hypot_use=yes
34660 else
34661 glibcxx_cv_func_hypot_use=no
34662 fi
34663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34664 ac_ext=c
34665 ac_cpp='$CPP $CPPFLAGS'
34666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34669
34670
34671 fi
34672
34673 fi
34674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34675 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34676
34677 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34678 for ac_func in hypot
34679 do :
34680 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34681 if test "x$ac_cv_func_hypot" = x""yes; then :
34682 cat >>confdefs.h <<_ACEOF
34683 #define HAVE_HYPOT 1
34684 _ACEOF
34685
34686 fi
34687 done
34688
34689 else
34690
34691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34692 $as_echo_n "checking for _hypot declaration... " >&6; }
34693 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34694 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34695 $as_echo_n "(cached) " >&6
34696 else
34697
34698
34699 ac_ext=cpp
34700 ac_cpp='$CXXCPP $CPPFLAGS'
34701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34704
34705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34706 /* end confdefs.h. */
34707 #include <math.h>
34708 int
34709 main ()
34710 {
34711 _hypot(0, 0);
34712 ;
34713 return 0;
34714 }
34715 _ACEOF
34716 if ac_fn_cxx_try_compile "$LINENO"; then :
34717 glibcxx_cv_func__hypot_use=yes
34718 else
34719 glibcxx_cv_func__hypot_use=no
34720 fi
34721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34722 ac_ext=c
34723 ac_cpp='$CPP $CPPFLAGS'
34724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34727
34728
34729 fi
34730
34731 fi
34732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34733 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34734
34735 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34736 for ac_func in _hypot
34737 do :
34738 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34739 if test "x$ac_cv_func__hypot" = x""yes; then :
34740 cat >>confdefs.h <<_ACEOF
34741 #define HAVE__HYPOT 1
34742 _ACEOF
34743
34744 fi
34745 done
34746
34747 fi
34748 fi
34749
34750
34751
34752
34753
34754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34755 $as_echo_n "checking for float trig functions... " >&6; }
34756 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34757 $as_echo_n "(cached) " >&6
34758 else
34759
34760
34761 ac_ext=cpp
34762 ac_cpp='$CXXCPP $CPPFLAGS'
34763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34766
34767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34768 /* end confdefs.h. */
34769 #include <math.h>
34770 int
34771 main ()
34772 {
34773 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34774 ;
34775 return 0;
34776 }
34777 _ACEOF
34778 if ac_fn_cxx_try_compile "$LINENO"; then :
34779 glibcxx_cv_func_float_trig_use=yes
34780 else
34781 glibcxx_cv_func_float_trig_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 fi
34791
34792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34793 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34794 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34795 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34796 do :
34797 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34799 eval as_val=\$$as_ac_var
34800 if test "x$as_val" = x""yes; then :
34801 cat >>confdefs.h <<_ACEOF
34802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34803 _ACEOF
34804
34805 fi
34806 done
34807
34808 else
34809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34810 $as_echo_n "checking for _float trig functions... " >&6; }
34811 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34812 $as_echo_n "(cached) " >&6
34813 else
34814
34815
34816 ac_ext=cpp
34817 ac_cpp='$CXXCPP $CPPFLAGS'
34818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34821
34822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34823 /* end confdefs.h. */
34824 #include <math.h>
34825 int
34826 main ()
34827 {
34828 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34829 ;
34830 return 0;
34831 }
34832 _ACEOF
34833 if ac_fn_cxx_try_compile "$LINENO"; then :
34834 glibcxx_cv_func__float_trig_use=yes
34835 else
34836 glibcxx_cv_func__float_trig_use=no
34837 fi
34838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34839 ac_ext=c
34840 ac_cpp='$CPP $CPPFLAGS'
34841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34844
34845 fi
34846
34847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34848 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34849 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34850 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34851 do :
34852 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34853 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34854 eval as_val=\$$as_ac_var
34855 if test "x$as_val" = x""yes; then :
34856 cat >>confdefs.h <<_ACEOF
34857 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34858 _ACEOF
34859
34860 fi
34861 done
34862
34863 fi
34864 fi
34865
34866
34867
34868
34869
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34871 $as_echo_n "checking for float round functions... " >&6; }
34872 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34873 $as_echo_n "(cached) " >&6
34874 else
34875
34876
34877 ac_ext=cpp
34878 ac_cpp='$CXXCPP $CPPFLAGS'
34879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34882
34883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34884 /* end confdefs.h. */
34885 #include <math.h>
34886 int
34887 main ()
34888 {
34889 ceilf (0); floorf (0);
34890 ;
34891 return 0;
34892 }
34893 _ACEOF
34894 if ac_fn_cxx_try_compile "$LINENO"; then :
34895 glibcxx_cv_func_float_round_use=yes
34896 else
34897 glibcxx_cv_func_float_round_use=no
34898 fi
34899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34900 ac_ext=c
34901 ac_cpp='$CPP $CPPFLAGS'
34902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34905
34906 fi
34907
34908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34909 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34910 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34911 for ac_func in ceilf floorf
34912 do :
34913 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34914 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34915 eval as_val=\$$as_ac_var
34916 if test "x$as_val" = x""yes; then :
34917 cat >>confdefs.h <<_ACEOF
34918 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34919 _ACEOF
34920
34921 fi
34922 done
34923
34924 else
34925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34926 $as_echo_n "checking for _float round functions... " >&6; }
34927 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34928 $as_echo_n "(cached) " >&6
34929 else
34930
34931
34932 ac_ext=cpp
34933 ac_cpp='$CXXCPP $CPPFLAGS'
34934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34937
34938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34939 /* end confdefs.h. */
34940 #include <math.h>
34941 int
34942 main ()
34943 {
34944 _ceilf (0); _floorf (0);
34945 ;
34946 return 0;
34947 }
34948 _ACEOF
34949 if ac_fn_cxx_try_compile "$LINENO"; then :
34950 glibcxx_cv_func__float_round_use=yes
34951 else
34952 glibcxx_cv_func__float_round_use=no
34953 fi
34954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34955 ac_ext=c
34956 ac_cpp='$CPP $CPPFLAGS'
34957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34960
34961 fi
34962
34963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34964 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34965 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34966 for ac_func in _ceilf _floorf
34967 do :
34968 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34969 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34970 eval as_val=\$$as_ac_var
34971 if test "x$as_val" = x""yes; then :
34972 cat >>confdefs.h <<_ACEOF
34973 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34974 _ACEOF
34975
34976 fi
34977 done
34978
34979 fi
34980 fi
34981
34982
34983
34984
34985
34986
34987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34988 $as_echo_n "checking for expf declaration... " >&6; }
34989 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34990 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34991 $as_echo_n "(cached) " >&6
34992 else
34993
34994
34995 ac_ext=cpp
34996 ac_cpp='$CXXCPP $CPPFLAGS'
34997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35000
35001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35002 /* end confdefs.h. */
35003 #include <math.h>
35004 #ifdef HAVE_IEEEFP_H
35005 #include <ieeefp.h>
35006 #endif
35007
35008 int
35009 main ()
35010 {
35011 expf(0);
35012 ;
35013 return 0;
35014 }
35015 _ACEOF
35016 if ac_fn_cxx_try_compile "$LINENO"; then :
35017 glibcxx_cv_func_expf_use=yes
35018 else
35019 glibcxx_cv_func_expf_use=no
35020 fi
35021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35022 ac_ext=c
35023 ac_cpp='$CPP $CPPFLAGS'
35024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35027
35028
35029 fi
35030
35031 fi
35032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35033 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35034
35035 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35036 for ac_func in expf
35037 do :
35038 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35039 if test "x$ac_cv_func_expf" = x""yes; then :
35040 cat >>confdefs.h <<_ACEOF
35041 #define HAVE_EXPF 1
35042 _ACEOF
35043
35044 fi
35045 done
35046
35047 else
35048
35049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35050 $as_echo_n "checking for _expf declaration... " >&6; }
35051 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35052 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35053 $as_echo_n "(cached) " >&6
35054 else
35055
35056
35057 ac_ext=cpp
35058 ac_cpp='$CXXCPP $CPPFLAGS'
35059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35062
35063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35064 /* end confdefs.h. */
35065 #include <math.h>
35066 #ifdef HAVE_IEEEFP_H
35067 #include <ieeefp.h>
35068 #endif
35069
35070 int
35071 main ()
35072 {
35073 _expf(0);
35074 ;
35075 return 0;
35076 }
35077 _ACEOF
35078 if ac_fn_cxx_try_compile "$LINENO"; then :
35079 glibcxx_cv_func__expf_use=yes
35080 else
35081 glibcxx_cv_func__expf_use=no
35082 fi
35083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35084 ac_ext=c
35085 ac_cpp='$CPP $CPPFLAGS'
35086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35089
35090
35091 fi
35092
35093 fi
35094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35095 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35096
35097 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35098 for ac_func in _expf
35099 do :
35100 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35101 if test "x$ac_cv_func__expf" = x""yes; then :
35102 cat >>confdefs.h <<_ACEOF
35103 #define HAVE__EXPF 1
35104 _ACEOF
35105
35106 fi
35107 done
35108
35109 fi
35110 fi
35111
35112
35113
35114
35115
35116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35117 $as_echo_n "checking for isnanf declaration... " >&6; }
35118 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35119 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35120 $as_echo_n "(cached) " >&6
35121 else
35122
35123
35124 ac_ext=cpp
35125 ac_cpp='$CXXCPP $CPPFLAGS'
35126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35129
35130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35131 /* end confdefs.h. */
35132 #include <math.h>
35133 #ifdef HAVE_IEEEFP_H
35134 #include <ieeefp.h>
35135 #endif
35136
35137 int
35138 main ()
35139 {
35140 isnanf(0);
35141 ;
35142 return 0;
35143 }
35144 _ACEOF
35145 if ac_fn_cxx_try_compile "$LINENO"; then :
35146 glibcxx_cv_func_isnanf_use=yes
35147 else
35148 glibcxx_cv_func_isnanf_use=no
35149 fi
35150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35151 ac_ext=c
35152 ac_cpp='$CPP $CPPFLAGS'
35153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35156
35157
35158 fi
35159
35160 fi
35161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35162 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35163
35164 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35165 for ac_func in isnanf
35166 do :
35167 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35168 if test "x$ac_cv_func_isnanf" = x""yes; then :
35169 cat >>confdefs.h <<_ACEOF
35170 #define HAVE_ISNANF 1
35171 _ACEOF
35172
35173 fi
35174 done
35175
35176 else
35177
35178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35179 $as_echo_n "checking for _isnanf declaration... " >&6; }
35180 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35181 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35182 $as_echo_n "(cached) " >&6
35183 else
35184
35185
35186 ac_ext=cpp
35187 ac_cpp='$CXXCPP $CPPFLAGS'
35188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35191
35192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35193 /* end confdefs.h. */
35194 #include <math.h>
35195 #ifdef HAVE_IEEEFP_H
35196 #include <ieeefp.h>
35197 #endif
35198
35199 int
35200 main ()
35201 {
35202 _isnanf(0);
35203 ;
35204 return 0;
35205 }
35206 _ACEOF
35207 if ac_fn_cxx_try_compile "$LINENO"; then :
35208 glibcxx_cv_func__isnanf_use=yes
35209 else
35210 glibcxx_cv_func__isnanf_use=no
35211 fi
35212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35213 ac_ext=c
35214 ac_cpp='$CPP $CPPFLAGS'
35215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35218
35219
35220 fi
35221
35222 fi
35223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35224 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35225
35226 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35227 for ac_func in _isnanf
35228 do :
35229 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35230 if test "x$ac_cv_func__isnanf" = x""yes; then :
35231 cat >>confdefs.h <<_ACEOF
35232 #define HAVE__ISNANF 1
35233 _ACEOF
35234
35235 fi
35236 done
35237
35238 fi
35239 fi
35240
35241
35242
35243
35244
35245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35246 $as_echo_n "checking for isinff declaration... " >&6; }
35247 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35248 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35249 $as_echo_n "(cached) " >&6
35250 else
35251
35252
35253 ac_ext=cpp
35254 ac_cpp='$CXXCPP $CPPFLAGS'
35255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35258
35259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35260 /* end confdefs.h. */
35261 #include <math.h>
35262 #ifdef HAVE_IEEEFP_H
35263 #include <ieeefp.h>
35264 #endif
35265
35266 int
35267 main ()
35268 {
35269 isinff(0);
35270 ;
35271 return 0;
35272 }
35273 _ACEOF
35274 if ac_fn_cxx_try_compile "$LINENO"; then :
35275 glibcxx_cv_func_isinff_use=yes
35276 else
35277 glibcxx_cv_func_isinff_use=no
35278 fi
35279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35280 ac_ext=c
35281 ac_cpp='$CPP $CPPFLAGS'
35282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35285
35286
35287 fi
35288
35289 fi
35290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35291 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35292
35293 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35294 for ac_func in isinff
35295 do :
35296 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35297 if test "x$ac_cv_func_isinff" = x""yes; then :
35298 cat >>confdefs.h <<_ACEOF
35299 #define HAVE_ISINFF 1
35300 _ACEOF
35301
35302 fi
35303 done
35304
35305 else
35306
35307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35308 $as_echo_n "checking for _isinff declaration... " >&6; }
35309 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35310 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35311 $as_echo_n "(cached) " >&6
35312 else
35313
35314
35315 ac_ext=cpp
35316 ac_cpp='$CXXCPP $CPPFLAGS'
35317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35320
35321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35322 /* end confdefs.h. */
35323 #include <math.h>
35324 #ifdef HAVE_IEEEFP_H
35325 #include <ieeefp.h>
35326 #endif
35327
35328 int
35329 main ()
35330 {
35331 _isinff(0);
35332 ;
35333 return 0;
35334 }
35335 _ACEOF
35336 if ac_fn_cxx_try_compile "$LINENO"; then :
35337 glibcxx_cv_func__isinff_use=yes
35338 else
35339 glibcxx_cv_func__isinff_use=no
35340 fi
35341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35342 ac_ext=c
35343 ac_cpp='$CPP $CPPFLAGS'
35344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35347
35348
35349 fi
35350
35351 fi
35352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35353 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35354
35355 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35356 for ac_func in _isinff
35357 do :
35358 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35359 if test "x$ac_cv_func__isinff" = x""yes; then :
35360 cat >>confdefs.h <<_ACEOF
35361 #define HAVE__ISINFF 1
35362 _ACEOF
35363
35364 fi
35365 done
35366
35367 fi
35368 fi
35369
35370
35371
35372
35373
35374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35375 $as_echo_n "checking for atan2f declaration... " >&6; }
35376 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35377 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35378 $as_echo_n "(cached) " >&6
35379 else
35380
35381
35382 ac_ext=cpp
35383 ac_cpp='$CXXCPP $CPPFLAGS'
35384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35387
35388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35389 /* end confdefs.h. */
35390 #include <math.h>
35391 int
35392 main ()
35393 {
35394 atan2f(0, 0);
35395 ;
35396 return 0;
35397 }
35398 _ACEOF
35399 if ac_fn_cxx_try_compile "$LINENO"; then :
35400 glibcxx_cv_func_atan2f_use=yes
35401 else
35402 glibcxx_cv_func_atan2f_use=no
35403 fi
35404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35405 ac_ext=c
35406 ac_cpp='$CPP $CPPFLAGS'
35407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35410
35411
35412 fi
35413
35414 fi
35415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35416 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35417
35418 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35419 for ac_func in atan2f
35420 do :
35421 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35422 if test "x$ac_cv_func_atan2f" = x""yes; then :
35423 cat >>confdefs.h <<_ACEOF
35424 #define HAVE_ATAN2F 1
35425 _ACEOF
35426
35427 fi
35428 done
35429
35430 else
35431
35432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35433 $as_echo_n "checking for _atan2f declaration... " >&6; }
35434 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35435 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35436 $as_echo_n "(cached) " >&6
35437 else
35438
35439
35440 ac_ext=cpp
35441 ac_cpp='$CXXCPP $CPPFLAGS'
35442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35445
35446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35447 /* end confdefs.h. */
35448 #include <math.h>
35449 int
35450 main ()
35451 {
35452 _atan2f(0, 0);
35453 ;
35454 return 0;
35455 }
35456 _ACEOF
35457 if ac_fn_cxx_try_compile "$LINENO"; then :
35458 glibcxx_cv_func__atan2f_use=yes
35459 else
35460 glibcxx_cv_func__atan2f_use=no
35461 fi
35462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35463 ac_ext=c
35464 ac_cpp='$CPP $CPPFLAGS'
35465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35468
35469
35470 fi
35471
35472 fi
35473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35474 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35475
35476 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35477 for ac_func in _atan2f
35478 do :
35479 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35480 if test "x$ac_cv_func__atan2f" = x""yes; then :
35481 cat >>confdefs.h <<_ACEOF
35482 #define HAVE__ATAN2F 1
35483 _ACEOF
35484
35485 fi
35486 done
35487
35488 fi
35489 fi
35490
35491
35492
35493
35494
35495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35496 $as_echo_n "checking for fabsf declaration... " >&6; }
35497 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35498 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35499 $as_echo_n "(cached) " >&6
35500 else
35501
35502
35503 ac_ext=cpp
35504 ac_cpp='$CXXCPP $CPPFLAGS'
35505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35508
35509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35510 /* end confdefs.h. */
35511 #include <math.h>
35512 #ifdef HAVE_IEEEFP_H
35513 #include <ieeefp.h>
35514 #endif
35515
35516 int
35517 main ()
35518 {
35519 fabsf(0);
35520 ;
35521 return 0;
35522 }
35523 _ACEOF
35524 if ac_fn_cxx_try_compile "$LINENO"; then :
35525 glibcxx_cv_func_fabsf_use=yes
35526 else
35527 glibcxx_cv_func_fabsf_use=no
35528 fi
35529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35530 ac_ext=c
35531 ac_cpp='$CPP $CPPFLAGS'
35532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35535
35536
35537 fi
35538
35539 fi
35540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35541 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35542
35543 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35544 for ac_func in fabsf
35545 do :
35546 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35547 if test "x$ac_cv_func_fabsf" = x""yes; then :
35548 cat >>confdefs.h <<_ACEOF
35549 #define HAVE_FABSF 1
35550 _ACEOF
35551
35552 fi
35553 done
35554
35555 else
35556
35557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35558 $as_echo_n "checking for _fabsf declaration... " >&6; }
35559 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35560 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35561 $as_echo_n "(cached) " >&6
35562 else
35563
35564
35565 ac_ext=cpp
35566 ac_cpp='$CXXCPP $CPPFLAGS'
35567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35570
35571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35572 /* end confdefs.h. */
35573 #include <math.h>
35574 #ifdef HAVE_IEEEFP_H
35575 #include <ieeefp.h>
35576 #endif
35577
35578 int
35579 main ()
35580 {
35581 _fabsf(0);
35582 ;
35583 return 0;
35584 }
35585 _ACEOF
35586 if ac_fn_cxx_try_compile "$LINENO"; then :
35587 glibcxx_cv_func__fabsf_use=yes
35588 else
35589 glibcxx_cv_func__fabsf_use=no
35590 fi
35591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35592 ac_ext=c
35593 ac_cpp='$CPP $CPPFLAGS'
35594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35597
35598
35599 fi
35600
35601 fi
35602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35603 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35604
35605 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35606 for ac_func in _fabsf
35607 do :
35608 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35609 if test "x$ac_cv_func__fabsf" = x""yes; then :
35610 cat >>confdefs.h <<_ACEOF
35611 #define HAVE__FABSF 1
35612 _ACEOF
35613
35614 fi
35615 done
35616
35617 fi
35618 fi
35619
35620
35621
35622
35623
35624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35625 $as_echo_n "checking for fmodf declaration... " >&6; }
35626 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35627 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35628 $as_echo_n "(cached) " >&6
35629 else
35630
35631
35632 ac_ext=cpp
35633 ac_cpp='$CXXCPP $CPPFLAGS'
35634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35637
35638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35639 /* end confdefs.h. */
35640 #include <math.h>
35641 int
35642 main ()
35643 {
35644 fmodf(0, 0);
35645 ;
35646 return 0;
35647 }
35648 _ACEOF
35649 if ac_fn_cxx_try_compile "$LINENO"; then :
35650 glibcxx_cv_func_fmodf_use=yes
35651 else
35652 glibcxx_cv_func_fmodf_use=no
35653 fi
35654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35655 ac_ext=c
35656 ac_cpp='$CPP $CPPFLAGS'
35657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35660
35661
35662 fi
35663
35664 fi
35665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35666 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35667
35668 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35669 for ac_func in fmodf
35670 do :
35671 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35672 if test "x$ac_cv_func_fmodf" = x""yes; then :
35673 cat >>confdefs.h <<_ACEOF
35674 #define HAVE_FMODF 1
35675 _ACEOF
35676
35677 fi
35678 done
35679
35680 else
35681
35682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35683 $as_echo_n "checking for _fmodf declaration... " >&6; }
35684 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35685 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35686 $as_echo_n "(cached) " >&6
35687 else
35688
35689
35690 ac_ext=cpp
35691 ac_cpp='$CXXCPP $CPPFLAGS'
35692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35695
35696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35697 /* end confdefs.h. */
35698 #include <math.h>
35699 int
35700 main ()
35701 {
35702 _fmodf(0, 0);
35703 ;
35704 return 0;
35705 }
35706 _ACEOF
35707 if ac_fn_cxx_try_compile "$LINENO"; then :
35708 glibcxx_cv_func__fmodf_use=yes
35709 else
35710 glibcxx_cv_func__fmodf_use=no
35711 fi
35712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35713 ac_ext=c
35714 ac_cpp='$CPP $CPPFLAGS'
35715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35718
35719
35720 fi
35721
35722 fi
35723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35724 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35725
35726 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35727 for ac_func in _fmodf
35728 do :
35729 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35730 if test "x$ac_cv_func__fmodf" = x""yes; then :
35731 cat >>confdefs.h <<_ACEOF
35732 #define HAVE__FMODF 1
35733 _ACEOF
35734
35735 fi
35736 done
35737
35738 fi
35739 fi
35740
35741
35742
35743
35744
35745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35746 $as_echo_n "checking for frexpf declaration... " >&6; }
35747 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35748 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35749 $as_echo_n "(cached) " >&6
35750 else
35751
35752
35753 ac_ext=cpp
35754 ac_cpp='$CXXCPP $CPPFLAGS'
35755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35758
35759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35760 /* end confdefs.h. */
35761 #include <math.h>
35762 int
35763 main ()
35764 {
35765 frexpf(0, 0);
35766 ;
35767 return 0;
35768 }
35769 _ACEOF
35770 if ac_fn_cxx_try_compile "$LINENO"; then :
35771 glibcxx_cv_func_frexpf_use=yes
35772 else
35773 glibcxx_cv_func_frexpf_use=no
35774 fi
35775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35776 ac_ext=c
35777 ac_cpp='$CPP $CPPFLAGS'
35778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35781
35782
35783 fi
35784
35785 fi
35786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35787 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35788
35789 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35790 for ac_func in frexpf
35791 do :
35792 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35793 if test "x$ac_cv_func_frexpf" = x""yes; then :
35794 cat >>confdefs.h <<_ACEOF
35795 #define HAVE_FREXPF 1
35796 _ACEOF
35797
35798 fi
35799 done
35800
35801 else
35802
35803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35804 $as_echo_n "checking for _frexpf declaration... " >&6; }
35805 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35806 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35807 $as_echo_n "(cached) " >&6
35808 else
35809
35810
35811 ac_ext=cpp
35812 ac_cpp='$CXXCPP $CPPFLAGS'
35813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35816
35817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35818 /* end confdefs.h. */
35819 #include <math.h>
35820 int
35821 main ()
35822 {
35823 _frexpf(0, 0);
35824 ;
35825 return 0;
35826 }
35827 _ACEOF
35828 if ac_fn_cxx_try_compile "$LINENO"; then :
35829 glibcxx_cv_func__frexpf_use=yes
35830 else
35831 glibcxx_cv_func__frexpf_use=no
35832 fi
35833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35834 ac_ext=c
35835 ac_cpp='$CPP $CPPFLAGS'
35836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35839
35840
35841 fi
35842
35843 fi
35844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35845 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35846
35847 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35848 for ac_func in _frexpf
35849 do :
35850 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35851 if test "x$ac_cv_func__frexpf" = x""yes; then :
35852 cat >>confdefs.h <<_ACEOF
35853 #define HAVE__FREXPF 1
35854 _ACEOF
35855
35856 fi
35857 done
35858
35859 fi
35860 fi
35861
35862
35863
35864
35865
35866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35867 $as_echo_n "checking for hypotf declaration... " >&6; }
35868 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35869 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35870 $as_echo_n "(cached) " >&6
35871 else
35872
35873
35874 ac_ext=cpp
35875 ac_cpp='$CXXCPP $CPPFLAGS'
35876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35879
35880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35881 /* end confdefs.h. */
35882 #include <math.h>
35883 int
35884 main ()
35885 {
35886 hypotf(0, 0);
35887 ;
35888 return 0;
35889 }
35890 _ACEOF
35891 if ac_fn_cxx_try_compile "$LINENO"; then :
35892 glibcxx_cv_func_hypotf_use=yes
35893 else
35894 glibcxx_cv_func_hypotf_use=no
35895 fi
35896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35897 ac_ext=c
35898 ac_cpp='$CPP $CPPFLAGS'
35899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35902
35903
35904 fi
35905
35906 fi
35907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35908 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35909
35910 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35911 for ac_func in hypotf
35912 do :
35913 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35914 if test "x$ac_cv_func_hypotf" = x""yes; then :
35915 cat >>confdefs.h <<_ACEOF
35916 #define HAVE_HYPOTF 1
35917 _ACEOF
35918
35919 fi
35920 done
35921
35922 else
35923
35924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35925 $as_echo_n "checking for _hypotf declaration... " >&6; }
35926 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35927 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35928 $as_echo_n "(cached) " >&6
35929 else
35930
35931
35932 ac_ext=cpp
35933 ac_cpp='$CXXCPP $CPPFLAGS'
35934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35937
35938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35939 /* end confdefs.h. */
35940 #include <math.h>
35941 int
35942 main ()
35943 {
35944 _hypotf(0, 0);
35945 ;
35946 return 0;
35947 }
35948 _ACEOF
35949 if ac_fn_cxx_try_compile "$LINENO"; then :
35950 glibcxx_cv_func__hypotf_use=yes
35951 else
35952 glibcxx_cv_func__hypotf_use=no
35953 fi
35954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35955 ac_ext=c
35956 ac_cpp='$CPP $CPPFLAGS'
35957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35960
35961
35962 fi
35963
35964 fi
35965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35966 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35967
35968 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35969 for ac_func in _hypotf
35970 do :
35971 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35972 if test "x$ac_cv_func__hypotf" = x""yes; then :
35973 cat >>confdefs.h <<_ACEOF
35974 #define HAVE__HYPOTF 1
35975 _ACEOF
35976
35977 fi
35978 done
35979
35980 fi
35981 fi
35982
35983
35984
35985
35986
35987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35988 $as_echo_n "checking for ldexpf declaration... " >&6; }
35989 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35990 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35991 $as_echo_n "(cached) " >&6
35992 else
35993
35994
35995 ac_ext=cpp
35996 ac_cpp='$CXXCPP $CPPFLAGS'
35997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36000
36001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36002 /* end confdefs.h. */
36003 #include <math.h>
36004 int
36005 main ()
36006 {
36007 ldexpf(0, 0);
36008 ;
36009 return 0;
36010 }
36011 _ACEOF
36012 if ac_fn_cxx_try_compile "$LINENO"; then :
36013 glibcxx_cv_func_ldexpf_use=yes
36014 else
36015 glibcxx_cv_func_ldexpf_use=no
36016 fi
36017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36018 ac_ext=c
36019 ac_cpp='$CPP $CPPFLAGS'
36020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36023
36024
36025 fi
36026
36027 fi
36028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36029 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36030
36031 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36032 for ac_func in ldexpf
36033 do :
36034 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36035 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36036 cat >>confdefs.h <<_ACEOF
36037 #define HAVE_LDEXPF 1
36038 _ACEOF
36039
36040 fi
36041 done
36042
36043 else
36044
36045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36046 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36047 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36048 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36049 $as_echo_n "(cached) " >&6
36050 else
36051
36052
36053 ac_ext=cpp
36054 ac_cpp='$CXXCPP $CPPFLAGS'
36055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36058
36059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36060 /* end confdefs.h. */
36061 #include <math.h>
36062 int
36063 main ()
36064 {
36065 _ldexpf(0, 0);
36066 ;
36067 return 0;
36068 }
36069 _ACEOF
36070 if ac_fn_cxx_try_compile "$LINENO"; then :
36071 glibcxx_cv_func__ldexpf_use=yes
36072 else
36073 glibcxx_cv_func__ldexpf_use=no
36074 fi
36075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36076 ac_ext=c
36077 ac_cpp='$CPP $CPPFLAGS'
36078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36081
36082
36083 fi
36084
36085 fi
36086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36087 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36088
36089 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36090 for ac_func in _ldexpf
36091 do :
36092 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36093 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36094 cat >>confdefs.h <<_ACEOF
36095 #define HAVE__LDEXPF 1
36096 _ACEOF
36097
36098 fi
36099 done
36100
36101 fi
36102 fi
36103
36104
36105
36106
36107
36108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36109 $as_echo_n "checking for logf declaration... " >&6; }
36110 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36111 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36112 $as_echo_n "(cached) " >&6
36113 else
36114
36115
36116 ac_ext=cpp
36117 ac_cpp='$CXXCPP $CPPFLAGS'
36118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36121
36122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36123 /* end confdefs.h. */
36124 #include <math.h>
36125 #ifdef HAVE_IEEEFP_H
36126 #include <ieeefp.h>
36127 #endif
36128
36129 int
36130 main ()
36131 {
36132 logf(0);
36133 ;
36134 return 0;
36135 }
36136 _ACEOF
36137 if ac_fn_cxx_try_compile "$LINENO"; then :
36138 glibcxx_cv_func_logf_use=yes
36139 else
36140 glibcxx_cv_func_logf_use=no
36141 fi
36142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36143 ac_ext=c
36144 ac_cpp='$CPP $CPPFLAGS'
36145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36148
36149
36150 fi
36151
36152 fi
36153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36154 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36155
36156 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36157 for ac_func in logf
36158 do :
36159 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36160 if test "x$ac_cv_func_logf" = x""yes; then :
36161 cat >>confdefs.h <<_ACEOF
36162 #define HAVE_LOGF 1
36163 _ACEOF
36164
36165 fi
36166 done
36167
36168 else
36169
36170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36171 $as_echo_n "checking for _logf declaration... " >&6; }
36172 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36173 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36174 $as_echo_n "(cached) " >&6
36175 else
36176
36177
36178 ac_ext=cpp
36179 ac_cpp='$CXXCPP $CPPFLAGS'
36180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36183
36184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36185 /* end confdefs.h. */
36186 #include <math.h>
36187 #ifdef HAVE_IEEEFP_H
36188 #include <ieeefp.h>
36189 #endif
36190
36191 int
36192 main ()
36193 {
36194 _logf(0);
36195 ;
36196 return 0;
36197 }
36198 _ACEOF
36199 if ac_fn_cxx_try_compile "$LINENO"; then :
36200 glibcxx_cv_func__logf_use=yes
36201 else
36202 glibcxx_cv_func__logf_use=no
36203 fi
36204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36205 ac_ext=c
36206 ac_cpp='$CPP $CPPFLAGS'
36207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36210
36211
36212 fi
36213
36214 fi
36215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36216 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36217
36218 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36219 for ac_func in _logf
36220 do :
36221 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36222 if test "x$ac_cv_func__logf" = x""yes; then :
36223 cat >>confdefs.h <<_ACEOF
36224 #define HAVE__LOGF 1
36225 _ACEOF
36226
36227 fi
36228 done
36229
36230 fi
36231 fi
36232
36233
36234
36235
36236
36237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36238 $as_echo_n "checking for log10f declaration... " >&6; }
36239 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36240 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36241 $as_echo_n "(cached) " >&6
36242 else
36243
36244
36245 ac_ext=cpp
36246 ac_cpp='$CXXCPP $CPPFLAGS'
36247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36250
36251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36252 /* end confdefs.h. */
36253 #include <math.h>
36254 #ifdef HAVE_IEEEFP_H
36255 #include <ieeefp.h>
36256 #endif
36257
36258 int
36259 main ()
36260 {
36261 log10f(0);
36262 ;
36263 return 0;
36264 }
36265 _ACEOF
36266 if ac_fn_cxx_try_compile "$LINENO"; then :
36267 glibcxx_cv_func_log10f_use=yes
36268 else
36269 glibcxx_cv_func_log10f_use=no
36270 fi
36271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36272 ac_ext=c
36273 ac_cpp='$CPP $CPPFLAGS'
36274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36277
36278
36279 fi
36280
36281 fi
36282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36283 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36284
36285 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36286 for ac_func in log10f
36287 do :
36288 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36289 if test "x$ac_cv_func_log10f" = x""yes; then :
36290 cat >>confdefs.h <<_ACEOF
36291 #define HAVE_LOG10F 1
36292 _ACEOF
36293
36294 fi
36295 done
36296
36297 else
36298
36299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36300 $as_echo_n "checking for _log10f declaration... " >&6; }
36301 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36302 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36303 $as_echo_n "(cached) " >&6
36304 else
36305
36306
36307 ac_ext=cpp
36308 ac_cpp='$CXXCPP $CPPFLAGS'
36309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36312
36313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36314 /* end confdefs.h. */
36315 #include <math.h>
36316 #ifdef HAVE_IEEEFP_H
36317 #include <ieeefp.h>
36318 #endif
36319
36320 int
36321 main ()
36322 {
36323 _log10f(0);
36324 ;
36325 return 0;
36326 }
36327 _ACEOF
36328 if ac_fn_cxx_try_compile "$LINENO"; then :
36329 glibcxx_cv_func__log10f_use=yes
36330 else
36331 glibcxx_cv_func__log10f_use=no
36332 fi
36333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36334 ac_ext=c
36335 ac_cpp='$CPP $CPPFLAGS'
36336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36339
36340
36341 fi
36342
36343 fi
36344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36345 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36346
36347 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36348 for ac_func in _log10f
36349 do :
36350 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36351 if test "x$ac_cv_func__log10f" = x""yes; then :
36352 cat >>confdefs.h <<_ACEOF
36353 #define HAVE__LOG10F 1
36354 _ACEOF
36355
36356 fi
36357 done
36358
36359 fi
36360 fi
36361
36362
36363
36364
36365
36366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36367 $as_echo_n "checking for modff declaration... " >&6; }
36368 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36369 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36370 $as_echo_n "(cached) " >&6
36371 else
36372
36373
36374 ac_ext=cpp
36375 ac_cpp='$CXXCPP $CPPFLAGS'
36376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36379
36380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36381 /* end confdefs.h. */
36382 #include <math.h>
36383 int
36384 main ()
36385 {
36386 modff(0, 0);
36387 ;
36388 return 0;
36389 }
36390 _ACEOF
36391 if ac_fn_cxx_try_compile "$LINENO"; then :
36392 glibcxx_cv_func_modff_use=yes
36393 else
36394 glibcxx_cv_func_modff_use=no
36395 fi
36396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36397 ac_ext=c
36398 ac_cpp='$CPP $CPPFLAGS'
36399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36402
36403
36404 fi
36405
36406 fi
36407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36408 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36409
36410 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36411 for ac_func in modff
36412 do :
36413 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36414 if test "x$ac_cv_func_modff" = x""yes; then :
36415 cat >>confdefs.h <<_ACEOF
36416 #define HAVE_MODFF 1
36417 _ACEOF
36418
36419 fi
36420 done
36421
36422 else
36423
36424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36425 $as_echo_n "checking for _modff declaration... " >&6; }
36426 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36427 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36428 $as_echo_n "(cached) " >&6
36429 else
36430
36431
36432 ac_ext=cpp
36433 ac_cpp='$CXXCPP $CPPFLAGS'
36434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36437
36438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36439 /* end confdefs.h. */
36440 #include <math.h>
36441 int
36442 main ()
36443 {
36444 _modff(0, 0);
36445 ;
36446 return 0;
36447 }
36448 _ACEOF
36449 if ac_fn_cxx_try_compile "$LINENO"; then :
36450 glibcxx_cv_func__modff_use=yes
36451 else
36452 glibcxx_cv_func__modff_use=no
36453 fi
36454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36455 ac_ext=c
36456 ac_cpp='$CPP $CPPFLAGS'
36457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36460
36461
36462 fi
36463
36464 fi
36465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36466 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36467
36468 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36469 for ac_func in _modff
36470 do :
36471 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36472 if test "x$ac_cv_func__modff" = x""yes; then :
36473 cat >>confdefs.h <<_ACEOF
36474 #define HAVE__MODFF 1
36475 _ACEOF
36476
36477 fi
36478 done
36479
36480 fi
36481 fi
36482
36483
36484
36485
36486
36487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36488 $as_echo_n "checking for modf declaration... " >&6; }
36489 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36490 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36491 $as_echo_n "(cached) " >&6
36492 else
36493
36494
36495 ac_ext=cpp
36496 ac_cpp='$CXXCPP $CPPFLAGS'
36497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36500
36501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36502 /* end confdefs.h. */
36503 #include <math.h>
36504 int
36505 main ()
36506 {
36507 modf(0, 0);
36508 ;
36509 return 0;
36510 }
36511 _ACEOF
36512 if ac_fn_cxx_try_compile "$LINENO"; then :
36513 glibcxx_cv_func_modf_use=yes
36514 else
36515 glibcxx_cv_func_modf_use=no
36516 fi
36517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36518 ac_ext=c
36519 ac_cpp='$CPP $CPPFLAGS'
36520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36523
36524
36525 fi
36526
36527 fi
36528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36529 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36530
36531 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36532 for ac_func in modf
36533 do :
36534 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36535 if test "x$ac_cv_func_modf" = x""yes; then :
36536 cat >>confdefs.h <<_ACEOF
36537 #define HAVE_MODF 1
36538 _ACEOF
36539
36540 fi
36541 done
36542
36543 else
36544
36545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36546 $as_echo_n "checking for _modf declaration... " >&6; }
36547 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36548 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36549 $as_echo_n "(cached) " >&6
36550 else
36551
36552
36553 ac_ext=cpp
36554 ac_cpp='$CXXCPP $CPPFLAGS'
36555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36558
36559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36560 /* end confdefs.h. */
36561 #include <math.h>
36562 int
36563 main ()
36564 {
36565 _modf(0, 0);
36566 ;
36567 return 0;
36568 }
36569 _ACEOF
36570 if ac_fn_cxx_try_compile "$LINENO"; then :
36571 glibcxx_cv_func__modf_use=yes
36572 else
36573 glibcxx_cv_func__modf_use=no
36574 fi
36575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36576 ac_ext=c
36577 ac_cpp='$CPP $CPPFLAGS'
36578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36581
36582
36583 fi
36584
36585 fi
36586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36587 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36588
36589 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36590 for ac_func in _modf
36591 do :
36592 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36593 if test "x$ac_cv_func__modf" = x""yes; then :
36594 cat >>confdefs.h <<_ACEOF
36595 #define HAVE__MODF 1
36596 _ACEOF
36597
36598 fi
36599 done
36600
36601 fi
36602 fi
36603
36604
36605
36606
36607
36608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36609 $as_echo_n "checking for powf declaration... " >&6; }
36610 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36611 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36612 $as_echo_n "(cached) " >&6
36613 else
36614
36615
36616 ac_ext=cpp
36617 ac_cpp='$CXXCPP $CPPFLAGS'
36618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36621
36622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36623 /* end confdefs.h. */
36624 #include <math.h>
36625 int
36626 main ()
36627 {
36628 powf(0, 0);
36629 ;
36630 return 0;
36631 }
36632 _ACEOF
36633 if ac_fn_cxx_try_compile "$LINENO"; then :
36634 glibcxx_cv_func_powf_use=yes
36635 else
36636 glibcxx_cv_func_powf_use=no
36637 fi
36638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36639 ac_ext=c
36640 ac_cpp='$CPP $CPPFLAGS'
36641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36644
36645
36646 fi
36647
36648 fi
36649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36650 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36651
36652 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36653 for ac_func in powf
36654 do :
36655 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36656 if test "x$ac_cv_func_powf" = x""yes; then :
36657 cat >>confdefs.h <<_ACEOF
36658 #define HAVE_POWF 1
36659 _ACEOF
36660
36661 fi
36662 done
36663
36664 else
36665
36666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36667 $as_echo_n "checking for _powf declaration... " >&6; }
36668 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36669 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36670 $as_echo_n "(cached) " >&6
36671 else
36672
36673
36674 ac_ext=cpp
36675 ac_cpp='$CXXCPP $CPPFLAGS'
36676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36679
36680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36681 /* end confdefs.h. */
36682 #include <math.h>
36683 int
36684 main ()
36685 {
36686 _powf(0, 0);
36687 ;
36688 return 0;
36689 }
36690 _ACEOF
36691 if ac_fn_cxx_try_compile "$LINENO"; then :
36692 glibcxx_cv_func__powf_use=yes
36693 else
36694 glibcxx_cv_func__powf_use=no
36695 fi
36696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36697 ac_ext=c
36698 ac_cpp='$CPP $CPPFLAGS'
36699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36702
36703
36704 fi
36705
36706 fi
36707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36708 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36709
36710 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36711 for ac_func in _powf
36712 do :
36713 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36714 if test "x$ac_cv_func__powf" = x""yes; then :
36715 cat >>confdefs.h <<_ACEOF
36716 #define HAVE__POWF 1
36717 _ACEOF
36718
36719 fi
36720 done
36721
36722 fi
36723 fi
36724
36725
36726
36727
36728
36729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36730 $as_echo_n "checking for sqrtf declaration... " >&6; }
36731 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36732 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36733 $as_echo_n "(cached) " >&6
36734 else
36735
36736
36737 ac_ext=cpp
36738 ac_cpp='$CXXCPP $CPPFLAGS'
36739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36742
36743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36744 /* end confdefs.h. */
36745 #include <math.h>
36746 #ifdef HAVE_IEEEFP_H
36747 #include <ieeefp.h>
36748 #endif
36749
36750 int
36751 main ()
36752 {
36753 sqrtf(0);
36754 ;
36755 return 0;
36756 }
36757 _ACEOF
36758 if ac_fn_cxx_try_compile "$LINENO"; then :
36759 glibcxx_cv_func_sqrtf_use=yes
36760 else
36761 glibcxx_cv_func_sqrtf_use=no
36762 fi
36763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36764 ac_ext=c
36765 ac_cpp='$CPP $CPPFLAGS'
36766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36769
36770
36771 fi
36772
36773 fi
36774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36775 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36776
36777 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36778 for ac_func in sqrtf
36779 do :
36780 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36781 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36782 cat >>confdefs.h <<_ACEOF
36783 #define HAVE_SQRTF 1
36784 _ACEOF
36785
36786 fi
36787 done
36788
36789 else
36790
36791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36792 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36793 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36794 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36795 $as_echo_n "(cached) " >&6
36796 else
36797
36798
36799 ac_ext=cpp
36800 ac_cpp='$CXXCPP $CPPFLAGS'
36801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36804
36805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36806 /* end confdefs.h. */
36807 #include <math.h>
36808 #ifdef HAVE_IEEEFP_H
36809 #include <ieeefp.h>
36810 #endif
36811
36812 int
36813 main ()
36814 {
36815 _sqrtf(0);
36816 ;
36817 return 0;
36818 }
36819 _ACEOF
36820 if ac_fn_cxx_try_compile "$LINENO"; then :
36821 glibcxx_cv_func__sqrtf_use=yes
36822 else
36823 glibcxx_cv_func__sqrtf_use=no
36824 fi
36825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36826 ac_ext=c
36827 ac_cpp='$CPP $CPPFLAGS'
36828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36831
36832
36833 fi
36834
36835 fi
36836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36837 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36838
36839 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36840 for ac_func in _sqrtf
36841 do :
36842 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36843 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36844 cat >>confdefs.h <<_ACEOF
36845 #define HAVE__SQRTF 1
36846 _ACEOF
36847
36848 fi
36849 done
36850
36851 fi
36852 fi
36853
36854
36855
36856
36857
36858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36859 $as_echo_n "checking for sincosf declaration... " >&6; }
36860 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36861 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36862 $as_echo_n "(cached) " >&6
36863 else
36864
36865
36866 ac_ext=cpp
36867 ac_cpp='$CXXCPP $CPPFLAGS'
36868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36871
36872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36873 /* end confdefs.h. */
36874 #include <math.h>
36875 int
36876 main ()
36877 {
36878 sincosf(0, 0, 0);
36879 ;
36880 return 0;
36881 }
36882 _ACEOF
36883 if ac_fn_cxx_try_compile "$LINENO"; then :
36884 glibcxx_cv_func_sincosf_use=yes
36885 else
36886 glibcxx_cv_func_sincosf_use=no
36887 fi
36888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36889 ac_ext=c
36890 ac_cpp='$CPP $CPPFLAGS'
36891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36894
36895
36896 fi
36897
36898 fi
36899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36900 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36901
36902 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36903 for ac_func in sincosf
36904 do :
36905 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36906 if test "x$ac_cv_func_sincosf" = x""yes; then :
36907 cat >>confdefs.h <<_ACEOF
36908 #define HAVE_SINCOSF 1
36909 _ACEOF
36910
36911 fi
36912 done
36913
36914 else
36915
36916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36917 $as_echo_n "checking for _sincosf declaration... " >&6; }
36918 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36919 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36920 $as_echo_n "(cached) " >&6
36921 else
36922
36923
36924 ac_ext=cpp
36925 ac_cpp='$CXXCPP $CPPFLAGS'
36926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36929
36930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36931 /* end confdefs.h. */
36932 #include <math.h>
36933 int
36934 main ()
36935 {
36936 _sincosf(0, 0, 0);
36937 ;
36938 return 0;
36939 }
36940 _ACEOF
36941 if ac_fn_cxx_try_compile "$LINENO"; then :
36942 glibcxx_cv_func__sincosf_use=yes
36943 else
36944 glibcxx_cv_func__sincosf_use=no
36945 fi
36946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36947 ac_ext=c
36948 ac_cpp='$CPP $CPPFLAGS'
36949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36952
36953
36954 fi
36955
36956 fi
36957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36958 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36959
36960 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36961 for ac_func in _sincosf
36962 do :
36963 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36964 if test "x$ac_cv_func__sincosf" = x""yes; then :
36965 cat >>confdefs.h <<_ACEOF
36966 #define HAVE__SINCOSF 1
36967 _ACEOF
36968
36969 fi
36970 done
36971
36972 fi
36973 fi
36974
36975
36976
36977
36978
36979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36980 $as_echo_n "checking for finitef declaration... " >&6; }
36981 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36982 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36983 $as_echo_n "(cached) " >&6
36984 else
36985
36986
36987 ac_ext=cpp
36988 ac_cpp='$CXXCPP $CPPFLAGS'
36989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36992
36993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36994 /* end confdefs.h. */
36995 #include <math.h>
36996 #ifdef HAVE_IEEEFP_H
36997 #include <ieeefp.h>
36998 #endif
36999
37000 int
37001 main ()
37002 {
37003 finitef(0);
37004 ;
37005 return 0;
37006 }
37007 _ACEOF
37008 if ac_fn_cxx_try_compile "$LINENO"; then :
37009 glibcxx_cv_func_finitef_use=yes
37010 else
37011 glibcxx_cv_func_finitef_use=no
37012 fi
37013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37014 ac_ext=c
37015 ac_cpp='$CPP $CPPFLAGS'
37016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37019
37020
37021 fi
37022
37023 fi
37024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37025 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37026
37027 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37028 for ac_func in finitef
37029 do :
37030 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37031 if test "x$ac_cv_func_finitef" = x""yes; then :
37032 cat >>confdefs.h <<_ACEOF
37033 #define HAVE_FINITEF 1
37034 _ACEOF
37035
37036 fi
37037 done
37038
37039 else
37040
37041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37042 $as_echo_n "checking for _finitef declaration... " >&6; }
37043 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37044 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37045 $as_echo_n "(cached) " >&6
37046 else
37047
37048
37049 ac_ext=cpp
37050 ac_cpp='$CXXCPP $CPPFLAGS'
37051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37054
37055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37056 /* end confdefs.h. */
37057 #include <math.h>
37058 #ifdef HAVE_IEEEFP_H
37059 #include <ieeefp.h>
37060 #endif
37061
37062 int
37063 main ()
37064 {
37065 _finitef(0);
37066 ;
37067 return 0;
37068 }
37069 _ACEOF
37070 if ac_fn_cxx_try_compile "$LINENO"; then :
37071 glibcxx_cv_func__finitef_use=yes
37072 else
37073 glibcxx_cv_func__finitef_use=no
37074 fi
37075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37076 ac_ext=c
37077 ac_cpp='$CPP $CPPFLAGS'
37078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37081
37082
37083 fi
37084
37085 fi
37086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37087 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37088
37089 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37090 for ac_func in _finitef
37091 do :
37092 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37093 if test "x$ac_cv_func__finitef" = x""yes; then :
37094 cat >>confdefs.h <<_ACEOF
37095 #define HAVE__FINITEF 1
37096 _ACEOF
37097
37098 fi
37099 done
37100
37101 fi
37102 fi
37103
37104
37105
37106
37107
37108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37109 $as_echo_n "checking for long double trig functions... " >&6; }
37110 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37111 $as_echo_n "(cached) " >&6
37112 else
37113
37114
37115 ac_ext=cpp
37116 ac_cpp='$CXXCPP $CPPFLAGS'
37117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37120
37121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37122 /* end confdefs.h. */
37123 #include <math.h>
37124 int
37125 main ()
37126 {
37127 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37128 ;
37129 return 0;
37130 }
37131 _ACEOF
37132 if ac_fn_cxx_try_compile "$LINENO"; then :
37133 glibcxx_cv_func_long_double_trig_use=yes
37134 else
37135 glibcxx_cv_func_long_double_trig_use=no
37136 fi
37137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37138 ac_ext=c
37139 ac_cpp='$CPP $CPPFLAGS'
37140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37143
37144 fi
37145
37146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37147 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37148 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37149 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37150 do :
37151 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37152 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37153 eval as_val=\$$as_ac_var
37154 if test "x$as_val" = x""yes; then :
37155 cat >>confdefs.h <<_ACEOF
37156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37157 _ACEOF
37158
37159 fi
37160 done
37161
37162 else
37163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37164 $as_echo_n "checking for _long double trig functions... " >&6; }
37165 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37166 $as_echo_n "(cached) " >&6
37167 else
37168
37169
37170 ac_ext=cpp
37171 ac_cpp='$CXXCPP $CPPFLAGS'
37172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37175
37176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37177 /* end confdefs.h. */
37178 #include <math.h>
37179 int
37180 main ()
37181 {
37182 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37183 ;
37184 return 0;
37185 }
37186 _ACEOF
37187 if ac_fn_cxx_try_compile "$LINENO"; then :
37188 glibcxx_cv_func__long_double_trig_use=yes
37189 else
37190 glibcxx_cv_func__long_double_trig_use=no
37191 fi
37192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37193 ac_ext=c
37194 ac_cpp='$CPP $CPPFLAGS'
37195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37198
37199 fi
37200
37201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37202 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37203 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37204 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37205 do :
37206 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37207 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37208 eval as_val=\$$as_ac_var
37209 if test "x$as_val" = x""yes; then :
37210 cat >>confdefs.h <<_ACEOF
37211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 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 long double round functions" >&5
37225 $as_echo_n "checking for long double round functions... " >&6; }
37226 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37227 $as_echo_n "(cached) " >&6
37228 else
37229
37230
37231 ac_ext=cpp
37232 ac_cpp='$CXXCPP $CPPFLAGS'
37233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37236
37237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37238 /* end confdefs.h. */
37239 #include <math.h>
37240 int
37241 main ()
37242 {
37243 ceill (0); floorl (0);
37244 ;
37245 return 0;
37246 }
37247 _ACEOF
37248 if ac_fn_cxx_try_compile "$LINENO"; then :
37249 glibcxx_cv_func_long_double_round_use=yes
37250 else
37251 glibcxx_cv_func_long_double_round_use=no
37252 fi
37253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37254 ac_ext=c
37255 ac_cpp='$CPP $CPPFLAGS'
37256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37259
37260 fi
37261
37262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37263 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37264 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37265 for ac_func in ceill floorl
37266 do :
37267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37269 eval as_val=\$$as_ac_var
37270 if test "x$as_val" = x""yes; then :
37271 cat >>confdefs.h <<_ACEOF
37272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37273 _ACEOF
37274
37275 fi
37276 done
37277
37278 else
37279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37280 $as_echo_n "checking for _long double round functions... " >&6; }
37281 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37282 $as_echo_n "(cached) " >&6
37283 else
37284
37285
37286 ac_ext=cpp
37287 ac_cpp='$CXXCPP $CPPFLAGS'
37288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37291
37292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37293 /* end confdefs.h. */
37294 #include <math.h>
37295 int
37296 main ()
37297 {
37298 _ceill (0); _floorl (0);
37299 ;
37300 return 0;
37301 }
37302 _ACEOF
37303 if ac_fn_cxx_try_compile "$LINENO"; then :
37304 glibcxx_cv_func__long_double_round_use=yes
37305 else
37306 glibcxx_cv_func__long_double_round_use=no
37307 fi
37308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37309 ac_ext=c
37310 ac_cpp='$CPP $CPPFLAGS'
37311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37314
37315 fi
37316
37317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37318 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37319 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37320 for ac_func in _ceill _floorl
37321 do :
37322 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37323 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37324 eval as_val=\$$as_ac_var
37325 if test "x$as_val" = x""yes; then :
37326 cat >>confdefs.h <<_ACEOF
37327 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37328 _ACEOF
37329
37330 fi
37331 done
37332
37333 fi
37334 fi
37335
37336
37337
37338
37339
37340
37341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37342 $as_echo_n "checking for isnanl declaration... " >&6; }
37343 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37344 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37345 $as_echo_n "(cached) " >&6
37346 else
37347
37348
37349 ac_ext=cpp
37350 ac_cpp='$CXXCPP $CPPFLAGS'
37351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37354
37355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37356 /* end confdefs.h. */
37357 #include <math.h>
37358 #ifdef HAVE_IEEEFP_H
37359 #include <ieeefp.h>
37360 #endif
37361
37362 int
37363 main ()
37364 {
37365 isnanl(0);
37366 ;
37367 return 0;
37368 }
37369 _ACEOF
37370 if ac_fn_cxx_try_compile "$LINENO"; then :
37371 glibcxx_cv_func_isnanl_use=yes
37372 else
37373 glibcxx_cv_func_isnanl_use=no
37374 fi
37375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37376 ac_ext=c
37377 ac_cpp='$CPP $CPPFLAGS'
37378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37381
37382
37383 fi
37384
37385 fi
37386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37387 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37388
37389 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37390 for ac_func in isnanl
37391 do :
37392 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37393 if test "x$ac_cv_func_isnanl" = x""yes; then :
37394 cat >>confdefs.h <<_ACEOF
37395 #define HAVE_ISNANL 1
37396 _ACEOF
37397
37398 fi
37399 done
37400
37401 else
37402
37403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37404 $as_echo_n "checking for _isnanl declaration... " >&6; }
37405 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37406 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37407 $as_echo_n "(cached) " >&6
37408 else
37409
37410
37411 ac_ext=cpp
37412 ac_cpp='$CXXCPP $CPPFLAGS'
37413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37416
37417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37418 /* end confdefs.h. */
37419 #include <math.h>
37420 #ifdef HAVE_IEEEFP_H
37421 #include <ieeefp.h>
37422 #endif
37423
37424 int
37425 main ()
37426 {
37427 _isnanl(0);
37428 ;
37429 return 0;
37430 }
37431 _ACEOF
37432 if ac_fn_cxx_try_compile "$LINENO"; then :
37433 glibcxx_cv_func__isnanl_use=yes
37434 else
37435 glibcxx_cv_func__isnanl_use=no
37436 fi
37437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37438 ac_ext=c
37439 ac_cpp='$CPP $CPPFLAGS'
37440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37443
37444
37445 fi
37446
37447 fi
37448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37449 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37450
37451 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37452 for ac_func in _isnanl
37453 do :
37454 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37455 if test "x$ac_cv_func__isnanl" = x""yes; then :
37456 cat >>confdefs.h <<_ACEOF
37457 #define HAVE__ISNANL 1
37458 _ACEOF
37459
37460 fi
37461 done
37462
37463 fi
37464 fi
37465
37466
37467
37468
37469
37470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37471 $as_echo_n "checking for isinfl declaration... " >&6; }
37472 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37473 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37474 $as_echo_n "(cached) " >&6
37475 else
37476
37477
37478 ac_ext=cpp
37479 ac_cpp='$CXXCPP $CPPFLAGS'
37480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37483
37484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37485 /* end confdefs.h. */
37486 #include <math.h>
37487 #ifdef HAVE_IEEEFP_H
37488 #include <ieeefp.h>
37489 #endif
37490
37491 int
37492 main ()
37493 {
37494 isinfl(0);
37495 ;
37496 return 0;
37497 }
37498 _ACEOF
37499 if ac_fn_cxx_try_compile "$LINENO"; then :
37500 glibcxx_cv_func_isinfl_use=yes
37501 else
37502 glibcxx_cv_func_isinfl_use=no
37503 fi
37504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37505 ac_ext=c
37506 ac_cpp='$CPP $CPPFLAGS'
37507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37510
37511
37512 fi
37513
37514 fi
37515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37516 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37517
37518 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37519 for ac_func in isinfl
37520 do :
37521 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37522 if test "x$ac_cv_func_isinfl" = x""yes; then :
37523 cat >>confdefs.h <<_ACEOF
37524 #define HAVE_ISINFL 1
37525 _ACEOF
37526
37527 fi
37528 done
37529
37530 else
37531
37532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37533 $as_echo_n "checking for _isinfl declaration... " >&6; }
37534 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37535 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37536 $as_echo_n "(cached) " >&6
37537 else
37538
37539
37540 ac_ext=cpp
37541 ac_cpp='$CXXCPP $CPPFLAGS'
37542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37545
37546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37547 /* end confdefs.h. */
37548 #include <math.h>
37549 #ifdef HAVE_IEEEFP_H
37550 #include <ieeefp.h>
37551 #endif
37552
37553 int
37554 main ()
37555 {
37556 _isinfl(0);
37557 ;
37558 return 0;
37559 }
37560 _ACEOF
37561 if ac_fn_cxx_try_compile "$LINENO"; then :
37562 glibcxx_cv_func__isinfl_use=yes
37563 else
37564 glibcxx_cv_func__isinfl_use=no
37565 fi
37566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37567 ac_ext=c
37568 ac_cpp='$CPP $CPPFLAGS'
37569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37572
37573
37574 fi
37575
37576 fi
37577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37578 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37579
37580 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37581 for ac_func in _isinfl
37582 do :
37583 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37584 if test "x$ac_cv_func__isinfl" = x""yes; then :
37585 cat >>confdefs.h <<_ACEOF
37586 #define HAVE__ISINFL 1
37587 _ACEOF
37588
37589 fi
37590 done
37591
37592 fi
37593 fi
37594
37595
37596
37597
37598
37599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37600 $as_echo_n "checking for atan2l declaration... " >&6; }
37601 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37602 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37603 $as_echo_n "(cached) " >&6
37604 else
37605
37606
37607 ac_ext=cpp
37608 ac_cpp='$CXXCPP $CPPFLAGS'
37609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37612
37613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37614 /* end confdefs.h. */
37615 #include <math.h>
37616 int
37617 main ()
37618 {
37619 atan2l(0, 0);
37620 ;
37621 return 0;
37622 }
37623 _ACEOF
37624 if ac_fn_cxx_try_compile "$LINENO"; then :
37625 glibcxx_cv_func_atan2l_use=yes
37626 else
37627 glibcxx_cv_func_atan2l_use=no
37628 fi
37629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37630 ac_ext=c
37631 ac_cpp='$CPP $CPPFLAGS'
37632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37635
37636
37637 fi
37638
37639 fi
37640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37641 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37642
37643 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37644 for ac_func in atan2l
37645 do :
37646 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37647 if test "x$ac_cv_func_atan2l" = x""yes; then :
37648 cat >>confdefs.h <<_ACEOF
37649 #define HAVE_ATAN2L 1
37650 _ACEOF
37651
37652 fi
37653 done
37654
37655 else
37656
37657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37658 $as_echo_n "checking for _atan2l declaration... " >&6; }
37659 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37660 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37661 $as_echo_n "(cached) " >&6
37662 else
37663
37664
37665 ac_ext=cpp
37666 ac_cpp='$CXXCPP $CPPFLAGS'
37667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37670
37671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37672 /* end confdefs.h. */
37673 #include <math.h>
37674 int
37675 main ()
37676 {
37677 _atan2l(0, 0);
37678 ;
37679 return 0;
37680 }
37681 _ACEOF
37682 if ac_fn_cxx_try_compile "$LINENO"; then :
37683 glibcxx_cv_func__atan2l_use=yes
37684 else
37685 glibcxx_cv_func__atan2l_use=no
37686 fi
37687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37688 ac_ext=c
37689 ac_cpp='$CPP $CPPFLAGS'
37690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37693
37694
37695 fi
37696
37697 fi
37698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37699 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37700
37701 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37702 for ac_func in _atan2l
37703 do :
37704 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37705 if test "x$ac_cv_func__atan2l" = x""yes; then :
37706 cat >>confdefs.h <<_ACEOF
37707 #define HAVE__ATAN2L 1
37708 _ACEOF
37709
37710 fi
37711 done
37712
37713 fi
37714 fi
37715
37716
37717
37718
37719
37720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37721 $as_echo_n "checking for expl declaration... " >&6; }
37722 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37723 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37724 $as_echo_n "(cached) " >&6
37725 else
37726
37727
37728 ac_ext=cpp
37729 ac_cpp='$CXXCPP $CPPFLAGS'
37730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37733
37734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37735 /* end confdefs.h. */
37736 #include <math.h>
37737 #ifdef HAVE_IEEEFP_H
37738 #include <ieeefp.h>
37739 #endif
37740
37741 int
37742 main ()
37743 {
37744 expl(0);
37745 ;
37746 return 0;
37747 }
37748 _ACEOF
37749 if ac_fn_cxx_try_compile "$LINENO"; then :
37750 glibcxx_cv_func_expl_use=yes
37751 else
37752 glibcxx_cv_func_expl_use=no
37753 fi
37754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37755 ac_ext=c
37756 ac_cpp='$CPP $CPPFLAGS'
37757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37760
37761
37762 fi
37763
37764 fi
37765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37766 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37767
37768 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37769 for ac_func in expl
37770 do :
37771 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37772 if test "x$ac_cv_func_expl" = x""yes; then :
37773 cat >>confdefs.h <<_ACEOF
37774 #define HAVE_EXPL 1
37775 _ACEOF
37776
37777 fi
37778 done
37779
37780 else
37781
37782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37783 $as_echo_n "checking for _expl declaration... " >&6; }
37784 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37785 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37786 $as_echo_n "(cached) " >&6
37787 else
37788
37789
37790 ac_ext=cpp
37791 ac_cpp='$CXXCPP $CPPFLAGS'
37792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37795
37796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37797 /* end confdefs.h. */
37798 #include <math.h>
37799 #ifdef HAVE_IEEEFP_H
37800 #include <ieeefp.h>
37801 #endif
37802
37803 int
37804 main ()
37805 {
37806 _expl(0);
37807 ;
37808 return 0;
37809 }
37810 _ACEOF
37811 if ac_fn_cxx_try_compile "$LINENO"; then :
37812 glibcxx_cv_func__expl_use=yes
37813 else
37814 glibcxx_cv_func__expl_use=no
37815 fi
37816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37817 ac_ext=c
37818 ac_cpp='$CPP $CPPFLAGS'
37819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37822
37823
37824 fi
37825
37826 fi
37827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37828 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37829
37830 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37831 for ac_func in _expl
37832 do :
37833 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37834 if test "x$ac_cv_func__expl" = x""yes; then :
37835 cat >>confdefs.h <<_ACEOF
37836 #define HAVE__EXPL 1
37837 _ACEOF
37838
37839 fi
37840 done
37841
37842 fi
37843 fi
37844
37845
37846
37847
37848
37849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37850 $as_echo_n "checking for fabsl declaration... " >&6; }
37851 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37852 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37853 $as_echo_n "(cached) " >&6
37854 else
37855
37856
37857 ac_ext=cpp
37858 ac_cpp='$CXXCPP $CPPFLAGS'
37859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37862
37863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37864 /* end confdefs.h. */
37865 #include <math.h>
37866 #ifdef HAVE_IEEEFP_H
37867 #include <ieeefp.h>
37868 #endif
37869
37870 int
37871 main ()
37872 {
37873 fabsl(0);
37874 ;
37875 return 0;
37876 }
37877 _ACEOF
37878 if ac_fn_cxx_try_compile "$LINENO"; then :
37879 glibcxx_cv_func_fabsl_use=yes
37880 else
37881 glibcxx_cv_func_fabsl_use=no
37882 fi
37883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37884 ac_ext=c
37885 ac_cpp='$CPP $CPPFLAGS'
37886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37889
37890
37891 fi
37892
37893 fi
37894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37895 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37896
37897 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37898 for ac_func in fabsl
37899 do :
37900 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37901 if test "x$ac_cv_func_fabsl" = x""yes; then :
37902 cat >>confdefs.h <<_ACEOF
37903 #define HAVE_FABSL 1
37904 _ACEOF
37905
37906 fi
37907 done
37908
37909 else
37910
37911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37912 $as_echo_n "checking for _fabsl declaration... " >&6; }
37913 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37914 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37915 $as_echo_n "(cached) " >&6
37916 else
37917
37918
37919 ac_ext=cpp
37920 ac_cpp='$CXXCPP $CPPFLAGS'
37921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37924
37925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37926 /* end confdefs.h. */
37927 #include <math.h>
37928 #ifdef HAVE_IEEEFP_H
37929 #include <ieeefp.h>
37930 #endif
37931
37932 int
37933 main ()
37934 {
37935 _fabsl(0);
37936 ;
37937 return 0;
37938 }
37939 _ACEOF
37940 if ac_fn_cxx_try_compile "$LINENO"; then :
37941 glibcxx_cv_func__fabsl_use=yes
37942 else
37943 glibcxx_cv_func__fabsl_use=no
37944 fi
37945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37946 ac_ext=c
37947 ac_cpp='$CPP $CPPFLAGS'
37948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37951
37952
37953 fi
37954
37955 fi
37956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37957 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37958
37959 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37960 for ac_func in _fabsl
37961 do :
37962 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37963 if test "x$ac_cv_func__fabsl" = x""yes; then :
37964 cat >>confdefs.h <<_ACEOF
37965 #define HAVE__FABSL 1
37966 _ACEOF
37967
37968 fi
37969 done
37970
37971 fi
37972 fi
37973
37974
37975
37976
37977
37978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37979 $as_echo_n "checking for fmodl declaration... " >&6; }
37980 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37981 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37982 $as_echo_n "(cached) " >&6
37983 else
37984
37985
37986 ac_ext=cpp
37987 ac_cpp='$CXXCPP $CPPFLAGS'
37988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37991
37992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37993 /* end confdefs.h. */
37994 #include <math.h>
37995 int
37996 main ()
37997 {
37998 fmodl(0, 0);
37999 ;
38000 return 0;
38001 }
38002 _ACEOF
38003 if ac_fn_cxx_try_compile "$LINENO"; then :
38004 glibcxx_cv_func_fmodl_use=yes
38005 else
38006 glibcxx_cv_func_fmodl_use=no
38007 fi
38008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38009 ac_ext=c
38010 ac_cpp='$CPP $CPPFLAGS'
38011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38014
38015
38016 fi
38017
38018 fi
38019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38020 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38021
38022 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38023 for ac_func in fmodl
38024 do :
38025 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38026 if test "x$ac_cv_func_fmodl" = x""yes; then :
38027 cat >>confdefs.h <<_ACEOF
38028 #define HAVE_FMODL 1
38029 _ACEOF
38030
38031 fi
38032 done
38033
38034 else
38035
38036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38037 $as_echo_n "checking for _fmodl declaration... " >&6; }
38038 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38039 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38040 $as_echo_n "(cached) " >&6
38041 else
38042
38043
38044 ac_ext=cpp
38045 ac_cpp='$CXXCPP $CPPFLAGS'
38046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38049
38050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38051 /* end confdefs.h. */
38052 #include <math.h>
38053 int
38054 main ()
38055 {
38056 _fmodl(0, 0);
38057 ;
38058 return 0;
38059 }
38060 _ACEOF
38061 if ac_fn_cxx_try_compile "$LINENO"; then :
38062 glibcxx_cv_func__fmodl_use=yes
38063 else
38064 glibcxx_cv_func__fmodl_use=no
38065 fi
38066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38067 ac_ext=c
38068 ac_cpp='$CPP $CPPFLAGS'
38069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38072
38073
38074 fi
38075
38076 fi
38077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38078 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38079
38080 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38081 for ac_func in _fmodl
38082 do :
38083 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38084 if test "x$ac_cv_func__fmodl" = x""yes; then :
38085 cat >>confdefs.h <<_ACEOF
38086 #define HAVE__FMODL 1
38087 _ACEOF
38088
38089 fi
38090 done
38091
38092 fi
38093 fi
38094
38095
38096
38097
38098
38099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38100 $as_echo_n "checking for frexpl declaration... " >&6; }
38101 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38102 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38103 $as_echo_n "(cached) " >&6
38104 else
38105
38106
38107 ac_ext=cpp
38108 ac_cpp='$CXXCPP $CPPFLAGS'
38109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38112
38113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38114 /* end confdefs.h. */
38115 #include <math.h>
38116 int
38117 main ()
38118 {
38119 frexpl(0, 0);
38120 ;
38121 return 0;
38122 }
38123 _ACEOF
38124 if ac_fn_cxx_try_compile "$LINENO"; then :
38125 glibcxx_cv_func_frexpl_use=yes
38126 else
38127 glibcxx_cv_func_frexpl_use=no
38128 fi
38129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38130 ac_ext=c
38131 ac_cpp='$CPP $CPPFLAGS'
38132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38135
38136
38137 fi
38138
38139 fi
38140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38141 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38142
38143 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38144 for ac_func in frexpl
38145 do :
38146 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38147 if test "x$ac_cv_func_frexpl" = x""yes; then :
38148 cat >>confdefs.h <<_ACEOF
38149 #define HAVE_FREXPL 1
38150 _ACEOF
38151
38152 fi
38153 done
38154
38155 else
38156
38157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38158 $as_echo_n "checking for _frexpl declaration... " >&6; }
38159 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38160 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38161 $as_echo_n "(cached) " >&6
38162 else
38163
38164
38165 ac_ext=cpp
38166 ac_cpp='$CXXCPP $CPPFLAGS'
38167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38170
38171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38172 /* end confdefs.h. */
38173 #include <math.h>
38174 int
38175 main ()
38176 {
38177 _frexpl(0, 0);
38178 ;
38179 return 0;
38180 }
38181 _ACEOF
38182 if ac_fn_cxx_try_compile "$LINENO"; then :
38183 glibcxx_cv_func__frexpl_use=yes
38184 else
38185 glibcxx_cv_func__frexpl_use=no
38186 fi
38187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38188 ac_ext=c
38189 ac_cpp='$CPP $CPPFLAGS'
38190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38193
38194
38195 fi
38196
38197 fi
38198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38199 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38200
38201 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38202 for ac_func in _frexpl
38203 do :
38204 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38205 if test "x$ac_cv_func__frexpl" = x""yes; then :
38206 cat >>confdefs.h <<_ACEOF
38207 #define HAVE__FREXPL 1
38208 _ACEOF
38209
38210 fi
38211 done
38212
38213 fi
38214 fi
38215
38216
38217
38218
38219
38220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38221 $as_echo_n "checking for hypotl declaration... " >&6; }
38222 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38223 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38224 $as_echo_n "(cached) " >&6
38225 else
38226
38227
38228 ac_ext=cpp
38229 ac_cpp='$CXXCPP $CPPFLAGS'
38230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38233
38234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38235 /* end confdefs.h. */
38236 #include <math.h>
38237 int
38238 main ()
38239 {
38240 hypotl(0, 0);
38241 ;
38242 return 0;
38243 }
38244 _ACEOF
38245 if ac_fn_cxx_try_compile "$LINENO"; then :
38246 glibcxx_cv_func_hypotl_use=yes
38247 else
38248 glibcxx_cv_func_hypotl_use=no
38249 fi
38250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38251 ac_ext=c
38252 ac_cpp='$CPP $CPPFLAGS'
38253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38256
38257
38258 fi
38259
38260 fi
38261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38262 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38263
38264 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38265 for ac_func in hypotl
38266 do :
38267 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38268 if test "x$ac_cv_func_hypotl" = x""yes; then :
38269 cat >>confdefs.h <<_ACEOF
38270 #define HAVE_HYPOTL 1
38271 _ACEOF
38272
38273 fi
38274 done
38275
38276 else
38277
38278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38279 $as_echo_n "checking for _hypotl declaration... " >&6; }
38280 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38281 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38282 $as_echo_n "(cached) " >&6
38283 else
38284
38285
38286 ac_ext=cpp
38287 ac_cpp='$CXXCPP $CPPFLAGS'
38288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38291
38292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38293 /* end confdefs.h. */
38294 #include <math.h>
38295 int
38296 main ()
38297 {
38298 _hypotl(0, 0);
38299 ;
38300 return 0;
38301 }
38302 _ACEOF
38303 if ac_fn_cxx_try_compile "$LINENO"; then :
38304 glibcxx_cv_func__hypotl_use=yes
38305 else
38306 glibcxx_cv_func__hypotl_use=no
38307 fi
38308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38309 ac_ext=c
38310 ac_cpp='$CPP $CPPFLAGS'
38311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38314
38315
38316 fi
38317
38318 fi
38319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38320 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38321
38322 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38323 for ac_func in _hypotl
38324 do :
38325 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38326 if test "x$ac_cv_func__hypotl" = x""yes; then :
38327 cat >>confdefs.h <<_ACEOF
38328 #define HAVE__HYPOTL 1
38329 _ACEOF
38330
38331 fi
38332 done
38333
38334 fi
38335 fi
38336
38337
38338
38339
38340
38341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38342 $as_echo_n "checking for ldexpl declaration... " >&6; }
38343 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38344 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38345 $as_echo_n "(cached) " >&6
38346 else
38347
38348
38349 ac_ext=cpp
38350 ac_cpp='$CXXCPP $CPPFLAGS'
38351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38354
38355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38356 /* end confdefs.h. */
38357 #include <math.h>
38358 int
38359 main ()
38360 {
38361 ldexpl(0, 0);
38362 ;
38363 return 0;
38364 }
38365 _ACEOF
38366 if ac_fn_cxx_try_compile "$LINENO"; then :
38367 glibcxx_cv_func_ldexpl_use=yes
38368 else
38369 glibcxx_cv_func_ldexpl_use=no
38370 fi
38371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38372 ac_ext=c
38373 ac_cpp='$CPP $CPPFLAGS'
38374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38377
38378
38379 fi
38380
38381 fi
38382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38383 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38384
38385 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38386 for ac_func in ldexpl
38387 do :
38388 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38389 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38390 cat >>confdefs.h <<_ACEOF
38391 #define HAVE_LDEXPL 1
38392 _ACEOF
38393
38394 fi
38395 done
38396
38397 else
38398
38399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38400 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38401 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38402 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38403 $as_echo_n "(cached) " >&6
38404 else
38405
38406
38407 ac_ext=cpp
38408 ac_cpp='$CXXCPP $CPPFLAGS'
38409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38412
38413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38414 /* end confdefs.h. */
38415 #include <math.h>
38416 int
38417 main ()
38418 {
38419 _ldexpl(0, 0);
38420 ;
38421 return 0;
38422 }
38423 _ACEOF
38424 if ac_fn_cxx_try_compile "$LINENO"; then :
38425 glibcxx_cv_func__ldexpl_use=yes
38426 else
38427 glibcxx_cv_func__ldexpl_use=no
38428 fi
38429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38430 ac_ext=c
38431 ac_cpp='$CPP $CPPFLAGS'
38432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38435
38436
38437 fi
38438
38439 fi
38440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38441 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38442
38443 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38444 for ac_func in _ldexpl
38445 do :
38446 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38447 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38448 cat >>confdefs.h <<_ACEOF
38449 #define HAVE__LDEXPL 1
38450 _ACEOF
38451
38452 fi
38453 done
38454
38455 fi
38456 fi
38457
38458
38459
38460
38461
38462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38463 $as_echo_n "checking for logl declaration... " >&6; }
38464 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38465 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38466 $as_echo_n "(cached) " >&6
38467 else
38468
38469
38470 ac_ext=cpp
38471 ac_cpp='$CXXCPP $CPPFLAGS'
38472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38475
38476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38477 /* end confdefs.h. */
38478 #include <math.h>
38479 #ifdef HAVE_IEEEFP_H
38480 #include <ieeefp.h>
38481 #endif
38482
38483 int
38484 main ()
38485 {
38486 logl(0);
38487 ;
38488 return 0;
38489 }
38490 _ACEOF
38491 if ac_fn_cxx_try_compile "$LINENO"; then :
38492 glibcxx_cv_func_logl_use=yes
38493 else
38494 glibcxx_cv_func_logl_use=no
38495 fi
38496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38497 ac_ext=c
38498 ac_cpp='$CPP $CPPFLAGS'
38499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38502
38503
38504 fi
38505
38506 fi
38507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38508 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38509
38510 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38511 for ac_func in logl
38512 do :
38513 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38514 if test "x$ac_cv_func_logl" = x""yes; then :
38515 cat >>confdefs.h <<_ACEOF
38516 #define HAVE_LOGL 1
38517 _ACEOF
38518
38519 fi
38520 done
38521
38522 else
38523
38524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38525 $as_echo_n "checking for _logl declaration... " >&6; }
38526 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38527 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38528 $as_echo_n "(cached) " >&6
38529 else
38530
38531
38532 ac_ext=cpp
38533 ac_cpp='$CXXCPP $CPPFLAGS'
38534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38537
38538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38539 /* end confdefs.h. */
38540 #include <math.h>
38541 #ifdef HAVE_IEEEFP_H
38542 #include <ieeefp.h>
38543 #endif
38544
38545 int
38546 main ()
38547 {
38548 _logl(0);
38549 ;
38550 return 0;
38551 }
38552 _ACEOF
38553 if ac_fn_cxx_try_compile "$LINENO"; then :
38554 glibcxx_cv_func__logl_use=yes
38555 else
38556 glibcxx_cv_func__logl_use=no
38557 fi
38558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38559 ac_ext=c
38560 ac_cpp='$CPP $CPPFLAGS'
38561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38564
38565
38566 fi
38567
38568 fi
38569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38570 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38571
38572 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38573 for ac_func in _logl
38574 do :
38575 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38576 if test "x$ac_cv_func__logl" = x""yes; then :
38577 cat >>confdefs.h <<_ACEOF
38578 #define HAVE__LOGL 1
38579 _ACEOF
38580
38581 fi
38582 done
38583
38584 fi
38585 fi
38586
38587
38588
38589
38590
38591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38592 $as_echo_n "checking for log10l declaration... " >&6; }
38593 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38594 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38595 $as_echo_n "(cached) " >&6
38596 else
38597
38598
38599 ac_ext=cpp
38600 ac_cpp='$CXXCPP $CPPFLAGS'
38601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38604
38605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38606 /* end confdefs.h. */
38607 #include <math.h>
38608 #ifdef HAVE_IEEEFP_H
38609 #include <ieeefp.h>
38610 #endif
38611
38612 int
38613 main ()
38614 {
38615 log10l(0);
38616 ;
38617 return 0;
38618 }
38619 _ACEOF
38620 if ac_fn_cxx_try_compile "$LINENO"; then :
38621 glibcxx_cv_func_log10l_use=yes
38622 else
38623 glibcxx_cv_func_log10l_use=no
38624 fi
38625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38626 ac_ext=c
38627 ac_cpp='$CPP $CPPFLAGS'
38628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38631
38632
38633 fi
38634
38635 fi
38636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38637 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38638
38639 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38640 for ac_func in log10l
38641 do :
38642 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38643 if test "x$ac_cv_func_log10l" = x""yes; then :
38644 cat >>confdefs.h <<_ACEOF
38645 #define HAVE_LOG10L 1
38646 _ACEOF
38647
38648 fi
38649 done
38650
38651 else
38652
38653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38654 $as_echo_n "checking for _log10l declaration... " >&6; }
38655 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38656 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38657 $as_echo_n "(cached) " >&6
38658 else
38659
38660
38661 ac_ext=cpp
38662 ac_cpp='$CXXCPP $CPPFLAGS'
38663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38666
38667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38668 /* end confdefs.h. */
38669 #include <math.h>
38670 #ifdef HAVE_IEEEFP_H
38671 #include <ieeefp.h>
38672 #endif
38673
38674 int
38675 main ()
38676 {
38677 _log10l(0);
38678 ;
38679 return 0;
38680 }
38681 _ACEOF
38682 if ac_fn_cxx_try_compile "$LINENO"; then :
38683 glibcxx_cv_func__log10l_use=yes
38684 else
38685 glibcxx_cv_func__log10l_use=no
38686 fi
38687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38688 ac_ext=c
38689 ac_cpp='$CPP $CPPFLAGS'
38690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38693
38694
38695 fi
38696
38697 fi
38698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38699 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38700
38701 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38702 for ac_func in _log10l
38703 do :
38704 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38705 if test "x$ac_cv_func__log10l" = x""yes; then :
38706 cat >>confdefs.h <<_ACEOF
38707 #define HAVE__LOG10L 1
38708 _ACEOF
38709
38710 fi
38711 done
38712
38713 fi
38714 fi
38715
38716
38717
38718
38719
38720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38721 $as_echo_n "checking for modfl declaration... " >&6; }
38722 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38723 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38724 $as_echo_n "(cached) " >&6
38725 else
38726
38727
38728 ac_ext=cpp
38729 ac_cpp='$CXXCPP $CPPFLAGS'
38730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38733
38734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38735 /* end confdefs.h. */
38736 #include <math.h>
38737 int
38738 main ()
38739 {
38740 modfl(0, 0);
38741 ;
38742 return 0;
38743 }
38744 _ACEOF
38745 if ac_fn_cxx_try_compile "$LINENO"; then :
38746 glibcxx_cv_func_modfl_use=yes
38747 else
38748 glibcxx_cv_func_modfl_use=no
38749 fi
38750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38751 ac_ext=c
38752 ac_cpp='$CPP $CPPFLAGS'
38753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38756
38757
38758 fi
38759
38760 fi
38761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38762 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38763
38764 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38765 for ac_func in modfl
38766 do :
38767 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38768 if test "x$ac_cv_func_modfl" = x""yes; then :
38769 cat >>confdefs.h <<_ACEOF
38770 #define HAVE_MODFL 1
38771 _ACEOF
38772
38773 fi
38774 done
38775
38776 else
38777
38778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38779 $as_echo_n "checking for _modfl declaration... " >&6; }
38780 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38781 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38782 $as_echo_n "(cached) " >&6
38783 else
38784
38785
38786 ac_ext=cpp
38787 ac_cpp='$CXXCPP $CPPFLAGS'
38788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38791
38792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38793 /* end confdefs.h. */
38794 #include <math.h>
38795 int
38796 main ()
38797 {
38798 _modfl(0, 0);
38799 ;
38800 return 0;
38801 }
38802 _ACEOF
38803 if ac_fn_cxx_try_compile "$LINENO"; then :
38804 glibcxx_cv_func__modfl_use=yes
38805 else
38806 glibcxx_cv_func__modfl_use=no
38807 fi
38808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38809 ac_ext=c
38810 ac_cpp='$CPP $CPPFLAGS'
38811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38814
38815
38816 fi
38817
38818 fi
38819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38820 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38821
38822 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38823 for ac_func in _modfl
38824 do :
38825 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38826 if test "x$ac_cv_func__modfl" = x""yes; then :
38827 cat >>confdefs.h <<_ACEOF
38828 #define HAVE__MODFL 1
38829 _ACEOF
38830
38831 fi
38832 done
38833
38834 fi
38835 fi
38836
38837
38838
38839
38840
38841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38842 $as_echo_n "checking for powl declaration... " >&6; }
38843 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38844 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38845 $as_echo_n "(cached) " >&6
38846 else
38847
38848
38849 ac_ext=cpp
38850 ac_cpp='$CXXCPP $CPPFLAGS'
38851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38854
38855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38856 /* end confdefs.h. */
38857 #include <math.h>
38858 int
38859 main ()
38860 {
38861 powl(0, 0);
38862 ;
38863 return 0;
38864 }
38865 _ACEOF
38866 if ac_fn_cxx_try_compile "$LINENO"; then :
38867 glibcxx_cv_func_powl_use=yes
38868 else
38869 glibcxx_cv_func_powl_use=no
38870 fi
38871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38872 ac_ext=c
38873 ac_cpp='$CPP $CPPFLAGS'
38874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38877
38878
38879 fi
38880
38881 fi
38882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38883 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38884
38885 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38886 for ac_func in powl
38887 do :
38888 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38889 if test "x$ac_cv_func_powl" = x""yes; then :
38890 cat >>confdefs.h <<_ACEOF
38891 #define HAVE_POWL 1
38892 _ACEOF
38893
38894 fi
38895 done
38896
38897 else
38898
38899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38900 $as_echo_n "checking for _powl declaration... " >&6; }
38901 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38902 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38903 $as_echo_n "(cached) " >&6
38904 else
38905
38906
38907 ac_ext=cpp
38908 ac_cpp='$CXXCPP $CPPFLAGS'
38909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38912
38913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38914 /* end confdefs.h. */
38915 #include <math.h>
38916 int
38917 main ()
38918 {
38919 _powl(0, 0);
38920 ;
38921 return 0;
38922 }
38923 _ACEOF
38924 if ac_fn_cxx_try_compile "$LINENO"; then :
38925 glibcxx_cv_func__powl_use=yes
38926 else
38927 glibcxx_cv_func__powl_use=no
38928 fi
38929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38930 ac_ext=c
38931 ac_cpp='$CPP $CPPFLAGS'
38932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38935
38936
38937 fi
38938
38939 fi
38940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38941 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38942
38943 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38944 for ac_func in _powl
38945 do :
38946 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38947 if test "x$ac_cv_func__powl" = x""yes; then :
38948 cat >>confdefs.h <<_ACEOF
38949 #define HAVE__POWL 1
38950 _ACEOF
38951
38952 fi
38953 done
38954
38955 fi
38956 fi
38957
38958
38959
38960
38961
38962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38963 $as_echo_n "checking for sqrtl declaration... " >&6; }
38964 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38965 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38966 $as_echo_n "(cached) " >&6
38967 else
38968
38969
38970 ac_ext=cpp
38971 ac_cpp='$CXXCPP $CPPFLAGS'
38972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38975
38976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38977 /* end confdefs.h. */
38978 #include <math.h>
38979 #ifdef HAVE_IEEEFP_H
38980 #include <ieeefp.h>
38981 #endif
38982
38983 int
38984 main ()
38985 {
38986 sqrtl(0);
38987 ;
38988 return 0;
38989 }
38990 _ACEOF
38991 if ac_fn_cxx_try_compile "$LINENO"; then :
38992 glibcxx_cv_func_sqrtl_use=yes
38993 else
38994 glibcxx_cv_func_sqrtl_use=no
38995 fi
38996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38997 ac_ext=c
38998 ac_cpp='$CPP $CPPFLAGS'
38999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39002
39003
39004 fi
39005
39006 fi
39007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39008 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39009
39010 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39011 for ac_func in sqrtl
39012 do :
39013 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39014 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39015 cat >>confdefs.h <<_ACEOF
39016 #define HAVE_SQRTL 1
39017 _ACEOF
39018
39019 fi
39020 done
39021
39022 else
39023
39024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39025 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39026 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39027 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39028 $as_echo_n "(cached) " >&6
39029 else
39030
39031
39032 ac_ext=cpp
39033 ac_cpp='$CXXCPP $CPPFLAGS'
39034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39037
39038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39039 /* end confdefs.h. */
39040 #include <math.h>
39041 #ifdef HAVE_IEEEFP_H
39042 #include <ieeefp.h>
39043 #endif
39044
39045 int
39046 main ()
39047 {
39048 _sqrtl(0);
39049 ;
39050 return 0;
39051 }
39052 _ACEOF
39053 if ac_fn_cxx_try_compile "$LINENO"; then :
39054 glibcxx_cv_func__sqrtl_use=yes
39055 else
39056 glibcxx_cv_func__sqrtl_use=no
39057 fi
39058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39059 ac_ext=c
39060 ac_cpp='$CPP $CPPFLAGS'
39061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39064
39065
39066 fi
39067
39068 fi
39069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39070 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39071
39072 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39073 for ac_func in _sqrtl
39074 do :
39075 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39076 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39077 cat >>confdefs.h <<_ACEOF
39078 #define HAVE__SQRTL 1
39079 _ACEOF
39080
39081 fi
39082 done
39083
39084 fi
39085 fi
39086
39087
39088
39089
39090
39091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39092 $as_echo_n "checking for sincosl declaration... " >&6; }
39093 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39094 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39095 $as_echo_n "(cached) " >&6
39096 else
39097
39098
39099 ac_ext=cpp
39100 ac_cpp='$CXXCPP $CPPFLAGS'
39101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39104
39105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39106 /* end confdefs.h. */
39107 #include <math.h>
39108 int
39109 main ()
39110 {
39111 sincosl(0, 0, 0);
39112 ;
39113 return 0;
39114 }
39115 _ACEOF
39116 if ac_fn_cxx_try_compile "$LINENO"; then :
39117 glibcxx_cv_func_sincosl_use=yes
39118 else
39119 glibcxx_cv_func_sincosl_use=no
39120 fi
39121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39122 ac_ext=c
39123 ac_cpp='$CPP $CPPFLAGS'
39124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39127
39128
39129 fi
39130
39131 fi
39132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39133 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39134
39135 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39136 for ac_func in sincosl
39137 do :
39138 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39139 if test "x$ac_cv_func_sincosl" = x""yes; then :
39140 cat >>confdefs.h <<_ACEOF
39141 #define HAVE_SINCOSL 1
39142 _ACEOF
39143
39144 fi
39145 done
39146
39147 else
39148
39149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39150 $as_echo_n "checking for _sincosl declaration... " >&6; }
39151 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39152 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39153 $as_echo_n "(cached) " >&6
39154 else
39155
39156
39157 ac_ext=cpp
39158 ac_cpp='$CXXCPP $CPPFLAGS'
39159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39162
39163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39164 /* end confdefs.h. */
39165 #include <math.h>
39166 int
39167 main ()
39168 {
39169 _sincosl(0, 0, 0);
39170 ;
39171 return 0;
39172 }
39173 _ACEOF
39174 if ac_fn_cxx_try_compile "$LINENO"; then :
39175 glibcxx_cv_func__sincosl_use=yes
39176 else
39177 glibcxx_cv_func__sincosl_use=no
39178 fi
39179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39180 ac_ext=c
39181 ac_cpp='$CPP $CPPFLAGS'
39182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39185
39186
39187 fi
39188
39189 fi
39190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39191 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39192
39193 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39194 for ac_func in _sincosl
39195 do :
39196 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39197 if test "x$ac_cv_func__sincosl" = x""yes; then :
39198 cat >>confdefs.h <<_ACEOF
39199 #define HAVE__SINCOSL 1
39200 _ACEOF
39201
39202 fi
39203 done
39204
39205 fi
39206 fi
39207
39208
39209
39210
39211
39212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39213 $as_echo_n "checking for finitel declaration... " >&6; }
39214 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39215 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39216 $as_echo_n "(cached) " >&6
39217 else
39218
39219
39220 ac_ext=cpp
39221 ac_cpp='$CXXCPP $CPPFLAGS'
39222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39225
39226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39227 /* end confdefs.h. */
39228 #include <math.h>
39229 #ifdef HAVE_IEEEFP_H
39230 #include <ieeefp.h>
39231 #endif
39232
39233 int
39234 main ()
39235 {
39236 finitel(0);
39237 ;
39238 return 0;
39239 }
39240 _ACEOF
39241 if ac_fn_cxx_try_compile "$LINENO"; then :
39242 glibcxx_cv_func_finitel_use=yes
39243 else
39244 glibcxx_cv_func_finitel_use=no
39245 fi
39246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39247 ac_ext=c
39248 ac_cpp='$CPP $CPPFLAGS'
39249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39252
39253
39254 fi
39255
39256 fi
39257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39258 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39259
39260 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39261 for ac_func in finitel
39262 do :
39263 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39264 if test "x$ac_cv_func_finitel" = x""yes; then :
39265 cat >>confdefs.h <<_ACEOF
39266 #define HAVE_FINITEL 1
39267 _ACEOF
39268
39269 fi
39270 done
39271
39272 else
39273
39274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39275 $as_echo_n "checking for _finitel declaration... " >&6; }
39276 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39277 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39278 $as_echo_n "(cached) " >&6
39279 else
39280
39281
39282 ac_ext=cpp
39283 ac_cpp='$CXXCPP $CPPFLAGS'
39284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39287
39288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39289 /* end confdefs.h. */
39290 #include <math.h>
39291 #ifdef HAVE_IEEEFP_H
39292 #include <ieeefp.h>
39293 #endif
39294
39295 int
39296 main ()
39297 {
39298 _finitel(0);
39299 ;
39300 return 0;
39301 }
39302 _ACEOF
39303 if ac_fn_cxx_try_compile "$LINENO"; then :
39304 glibcxx_cv_func__finitel_use=yes
39305 else
39306 glibcxx_cv_func__finitel_use=no
39307 fi
39308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39309 ac_ext=c
39310 ac_cpp='$CPP $CPPFLAGS'
39311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39314
39315
39316 fi
39317
39318 fi
39319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39320 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39321
39322 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39323 for ac_func in _finitel
39324 do :
39325 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39326 if test "x$ac_cv_func__finitel" = x""yes; then :
39327 cat >>confdefs.h <<_ACEOF
39328 #define HAVE__FINITEL 1
39329 _ACEOF
39330
39331 fi
39332 done
39333
39334 fi
39335 fi
39336
39337
39338
39339
39340 LIBS="$ac_save_LIBS"
39341 CXXFLAGS="$ac_save_CXXFLAGS"
39342
39343
39344 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39345 ac_save_CXXFLAGS="$CXXFLAGS"
39346 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39347
39348
39349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39350 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39351 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39352 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39353 $as_echo_n "(cached) " >&6
39354 else
39355
39356
39357 ac_ext=cpp
39358 ac_cpp='$CXXCPP $CPPFLAGS'
39359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39362
39363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39364 /* end confdefs.h. */
39365 #include <stdlib.h>
39366 int
39367 main ()
39368 {
39369 at_quick_exit(0);
39370 ;
39371 return 0;
39372 }
39373 _ACEOF
39374 if ac_fn_cxx_try_compile "$LINENO"; then :
39375 glibcxx_cv_func_at_quick_exit_use=yes
39376 else
39377 glibcxx_cv_func_at_quick_exit_use=no
39378 fi
39379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39380 ac_ext=c
39381 ac_cpp='$CPP $CPPFLAGS'
39382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39385
39386
39387 fi
39388
39389 fi
39390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39391 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39392 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39393 for ac_func in at_quick_exit
39394 do :
39395 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39396 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39397 cat >>confdefs.h <<_ACEOF
39398 #define HAVE_AT_QUICK_EXIT 1
39399 _ACEOF
39400
39401 fi
39402 done
39403
39404 fi
39405
39406
39407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39408 $as_echo_n "checking for quick_exit declaration... " >&6; }
39409 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39410 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39411 $as_echo_n "(cached) " >&6
39412 else
39413
39414
39415 ac_ext=cpp
39416 ac_cpp='$CXXCPP $CPPFLAGS'
39417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39420
39421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39422 /* end confdefs.h. */
39423 #include <stdlib.h>
39424 int
39425 main ()
39426 {
39427 quick_exit(0);
39428 ;
39429 return 0;
39430 }
39431 _ACEOF
39432 if ac_fn_cxx_try_compile "$LINENO"; then :
39433 glibcxx_cv_func_quick_exit_use=yes
39434 else
39435 glibcxx_cv_func_quick_exit_use=no
39436 fi
39437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39438 ac_ext=c
39439 ac_cpp='$CPP $CPPFLAGS'
39440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39443
39444
39445 fi
39446
39447 fi
39448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39449 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39450 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39451 for ac_func in quick_exit
39452 do :
39453 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39454 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39455 cat >>confdefs.h <<_ACEOF
39456 #define HAVE_QUICK_EXIT 1
39457 _ACEOF
39458
39459 fi
39460 done
39461
39462 fi
39463
39464
39465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39466 $as_echo_n "checking for strtold declaration... " >&6; }
39467 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39468 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39469 $as_echo_n "(cached) " >&6
39470 else
39471
39472
39473 ac_ext=cpp
39474 ac_cpp='$CXXCPP $CPPFLAGS'
39475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39478
39479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39480 /* end confdefs.h. */
39481 #include <stdlib.h>
39482 int
39483 main ()
39484 {
39485 strtold(0, 0);
39486 ;
39487 return 0;
39488 }
39489 _ACEOF
39490 if ac_fn_cxx_try_compile "$LINENO"; then :
39491 glibcxx_cv_func_strtold_use=yes
39492 else
39493 glibcxx_cv_func_strtold_use=no
39494 fi
39495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39496 ac_ext=c
39497 ac_cpp='$CPP $CPPFLAGS'
39498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39501
39502
39503 fi
39504
39505 fi
39506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39507 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39508 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39509 for ac_func in strtold
39510 do :
39511 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39512 if test "x$ac_cv_func_strtold" = x""yes; then :
39513 cat >>confdefs.h <<_ACEOF
39514 #define HAVE_STRTOLD 1
39515 _ACEOF
39516
39517 fi
39518 done
39519
39520 fi
39521
39522
39523
39524
39525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39526 $as_echo_n "checking for strtof declaration... " >&6; }
39527 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39528 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39529 $as_echo_n "(cached) " >&6
39530 else
39531
39532
39533 ac_ext=cpp
39534 ac_cpp='$CXXCPP $CPPFLAGS'
39535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39538
39539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39540 /* end confdefs.h. */
39541 #include <stdlib.h>
39542 int
39543 main ()
39544 {
39545 strtof(0, 0);
39546 ;
39547 return 0;
39548 }
39549 _ACEOF
39550 if ac_fn_cxx_try_compile "$LINENO"; then :
39551 glibcxx_cv_func_strtof_use=yes
39552 else
39553 glibcxx_cv_func_strtof_use=no
39554 fi
39555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39556 ac_ext=c
39557 ac_cpp='$CPP $CPPFLAGS'
39558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39561
39562
39563 fi
39564
39565 fi
39566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39567 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39568 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39569 for ac_func in strtof
39570 do :
39571 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39572 if test "x$ac_cv_func_strtof" = x""yes; then :
39573 cat >>confdefs.h <<_ACEOF
39574 #define HAVE_STRTOF 1
39575 _ACEOF
39576
39577 fi
39578 done
39579
39580 fi
39581
39582
39583
39584
39585 CXXFLAGS="$ac_save_CXXFLAGS"
39586
39587 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39588
39589 # We don't yet support AIX's TLS ABI.
39590 #GCC_CHECK_TLS
39591
39592
39593
39594
39595
39596 am_save_CPPFLAGS="$CPPFLAGS"
39597
39598 for element in $INCICONV; do
39599 haveit=
39600 for x in $CPPFLAGS; do
39601
39602 acl_save_prefix="$prefix"
39603 prefix="$acl_final_prefix"
39604 acl_save_exec_prefix="$exec_prefix"
39605 exec_prefix="$acl_final_exec_prefix"
39606 eval x=\"$x\"
39607 exec_prefix="$acl_save_exec_prefix"
39608 prefix="$acl_save_prefix"
39609
39610 if test "X$x" = "X$element"; then
39611 haveit=yes
39612 break
39613 fi
39614 done
39615 if test -z "$haveit"; then
39616 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39617 fi
39618 done
39619
39620
39621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39622 $as_echo_n "checking for iconv... " >&6; }
39623 if test "${am_cv_func_iconv+set}" = set; then :
39624 $as_echo_n "(cached) " >&6
39625 else
39626
39627 am_cv_func_iconv="no, consider installing GNU libiconv"
39628 am_cv_lib_iconv=no
39629 if test x$gcc_no_link = xyes; then
39630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39631 fi
39632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39633 /* end confdefs.h. */
39634 #include <stdlib.h>
39635 #include <iconv.h>
39636 int
39637 main ()
39638 {
39639 iconv_t cd = iconv_open("","");
39640 iconv(cd,NULL,NULL,NULL,NULL);
39641 iconv_close(cd);
39642 ;
39643 return 0;
39644 }
39645 _ACEOF
39646 if ac_fn_c_try_link "$LINENO"; then :
39647 am_cv_func_iconv=yes
39648 fi
39649 rm -f core conftest.err conftest.$ac_objext \
39650 conftest$ac_exeext conftest.$ac_ext
39651 if test "$am_cv_func_iconv" != yes; then
39652 am_save_LIBS="$LIBS"
39653 LIBS="$LIBS $LIBICONV"
39654 if test x$gcc_no_link = xyes; then
39655 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39656 fi
39657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39658 /* end confdefs.h. */
39659 #include <stdlib.h>
39660 #include <iconv.h>
39661 int
39662 main ()
39663 {
39664 iconv_t cd = iconv_open("","");
39665 iconv(cd,NULL,NULL,NULL,NULL);
39666 iconv_close(cd);
39667 ;
39668 return 0;
39669 }
39670 _ACEOF
39671 if ac_fn_c_try_link "$LINENO"; then :
39672 am_cv_lib_iconv=yes
39673 am_cv_func_iconv=yes
39674 fi
39675 rm -f core conftest.err conftest.$ac_objext \
39676 conftest$ac_exeext conftest.$ac_ext
39677 LIBS="$am_save_LIBS"
39678 fi
39679
39680 fi
39681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39682 $as_echo "$am_cv_func_iconv" >&6; }
39683 if test "$am_cv_func_iconv" = yes; then
39684
39685 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39686
39687 fi
39688 if test "$am_cv_lib_iconv" = yes; then
39689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39690 $as_echo_n "checking how to link with libiconv... " >&6; }
39691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39692 $as_echo "$LIBICONV" >&6; }
39693 else
39694 CPPFLAGS="$am_save_CPPFLAGS"
39695 LIBICONV=
39696 LTLIBICONV=
39697 fi
39698
39699
39700
39701 if test "$am_cv_func_iconv" = yes; then
39702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39703 $as_echo_n "checking for iconv declaration... " >&6; }
39704 if test "${am_cv_proto_iconv+set}" = set; then :
39705 $as_echo_n "(cached) " >&6
39706 else
39707
39708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39709 /* end confdefs.h. */
39710
39711 #include <stdlib.h>
39712 #include <iconv.h>
39713 extern
39714 #ifdef __cplusplus
39715 "C"
39716 #endif
39717 #if defined(__STDC__) || defined(__cplusplus)
39718 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39719 #else
39720 size_t iconv();
39721 #endif
39722
39723 int
39724 main ()
39725 {
39726
39727 ;
39728 return 0;
39729 }
39730 _ACEOF
39731 if ac_fn_c_try_compile "$LINENO"; then :
39732 am_cv_proto_iconv_arg1=""
39733 else
39734 am_cv_proto_iconv_arg1="const"
39735 fi
39736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39737 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);"
39738 fi
39739
39740 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39742 }$am_cv_proto_iconv" >&5
39743 $as_echo "${ac_t:-
39744 }$am_cv_proto_iconv" >&6; }
39745
39746 cat >>confdefs.h <<_ACEOF
39747 #define ICONV_CONST $am_cv_proto_iconv_arg1
39748 _ACEOF
39749
39750 fi
39751
39752 ;;
39753
39754 *-darwin*)
39755 # Darwin versions vary, but the linker should work in a cross environment,
39756 # so we just check for all the features here.
39757 # Check for available headers.
39758
39759 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39760
39761 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39762 ac_save_CXXFLAGS="$CXXFLAGS"
39763 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39764
39765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39766 $as_echo_n "checking for sin in -lm... " >&6; }
39767 if test "${ac_cv_lib_m_sin+set}" = set; then :
39768 $as_echo_n "(cached) " >&6
39769 else
39770 ac_check_lib_save_LIBS=$LIBS
39771 LIBS="-lm $LIBS"
39772 if test x$gcc_no_link = xyes; then
39773 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39774 fi
39775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39776 /* end confdefs.h. */
39777
39778 /* Override any GCC internal prototype to avoid an error.
39779 Use char because int might match the return type of a GCC
39780 builtin and then its argument prototype would still apply. */
39781 #ifdef __cplusplus
39782 extern "C"
39783 #endif
39784 char sin ();
39785 int
39786 main ()
39787 {
39788 return sin ();
39789 ;
39790 return 0;
39791 }
39792 _ACEOF
39793 if ac_fn_c_try_link "$LINENO"; then :
39794 ac_cv_lib_m_sin=yes
39795 else
39796 ac_cv_lib_m_sin=no
39797 fi
39798 rm -f core conftest.err conftest.$ac_objext \
39799 conftest$ac_exeext conftest.$ac_ext
39800 LIBS=$ac_check_lib_save_LIBS
39801 fi
39802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39803 $as_echo "$ac_cv_lib_m_sin" >&6; }
39804 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39805 libm="-lm"
39806 fi
39807
39808 ac_save_LIBS="$LIBS"
39809 LIBS="$LIBS $libm"
39810
39811
39812
39813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39814 $as_echo_n "checking for isinf declaration... " >&6; }
39815 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39816 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39817 $as_echo_n "(cached) " >&6
39818 else
39819
39820
39821 ac_ext=cpp
39822 ac_cpp='$CXXCPP $CPPFLAGS'
39823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39826
39827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39828 /* end confdefs.h. */
39829 #include <math.h>
39830 #ifdef HAVE_IEEEFP_H
39831 #include <ieeefp.h>
39832 #endif
39833
39834 int
39835 main ()
39836 {
39837 isinf(0);
39838 ;
39839 return 0;
39840 }
39841 _ACEOF
39842 if ac_fn_cxx_try_compile "$LINENO"; then :
39843 glibcxx_cv_func_isinf_use=yes
39844 else
39845 glibcxx_cv_func_isinf_use=no
39846 fi
39847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39848 ac_ext=c
39849 ac_cpp='$CPP $CPPFLAGS'
39850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39853
39854
39855 fi
39856
39857 fi
39858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39859 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39860
39861 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39862 for ac_func in isinf
39863 do :
39864 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39865 if test "x$ac_cv_func_isinf" = x""yes; then :
39866 cat >>confdefs.h <<_ACEOF
39867 #define HAVE_ISINF 1
39868 _ACEOF
39869
39870 fi
39871 done
39872
39873 else
39874
39875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39876 $as_echo_n "checking for _isinf declaration... " >&6; }
39877 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39878 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39879 $as_echo_n "(cached) " >&6
39880 else
39881
39882
39883 ac_ext=cpp
39884 ac_cpp='$CXXCPP $CPPFLAGS'
39885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39888
39889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39890 /* end confdefs.h. */
39891 #include <math.h>
39892 #ifdef HAVE_IEEEFP_H
39893 #include <ieeefp.h>
39894 #endif
39895
39896 int
39897 main ()
39898 {
39899 _isinf(0);
39900 ;
39901 return 0;
39902 }
39903 _ACEOF
39904 if ac_fn_cxx_try_compile "$LINENO"; then :
39905 glibcxx_cv_func__isinf_use=yes
39906 else
39907 glibcxx_cv_func__isinf_use=no
39908 fi
39909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39910 ac_ext=c
39911 ac_cpp='$CPP $CPPFLAGS'
39912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39915
39916
39917 fi
39918
39919 fi
39920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39921 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39922
39923 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39924 for ac_func in _isinf
39925 do :
39926 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39927 if test "x$ac_cv_func__isinf" = x""yes; then :
39928 cat >>confdefs.h <<_ACEOF
39929 #define HAVE__ISINF 1
39930 _ACEOF
39931
39932 fi
39933 done
39934
39935 fi
39936 fi
39937
39938
39939
39940
39941
39942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39943 $as_echo_n "checking for isnan declaration... " >&6; }
39944 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39945 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39946 $as_echo_n "(cached) " >&6
39947 else
39948
39949
39950 ac_ext=cpp
39951 ac_cpp='$CXXCPP $CPPFLAGS'
39952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39955
39956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39957 /* end confdefs.h. */
39958 #include <math.h>
39959 #ifdef HAVE_IEEEFP_H
39960 #include <ieeefp.h>
39961 #endif
39962
39963 int
39964 main ()
39965 {
39966 isnan(0);
39967 ;
39968 return 0;
39969 }
39970 _ACEOF
39971 if ac_fn_cxx_try_compile "$LINENO"; then :
39972 glibcxx_cv_func_isnan_use=yes
39973 else
39974 glibcxx_cv_func_isnan_use=no
39975 fi
39976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39977 ac_ext=c
39978 ac_cpp='$CPP $CPPFLAGS'
39979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39982
39983
39984 fi
39985
39986 fi
39987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39988 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39989
39990 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39991 for ac_func in isnan
39992 do :
39993 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39994 if test "x$ac_cv_func_isnan" = x""yes; then :
39995 cat >>confdefs.h <<_ACEOF
39996 #define HAVE_ISNAN 1
39997 _ACEOF
39998
39999 fi
40000 done
40001
40002 else
40003
40004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40005 $as_echo_n "checking for _isnan declaration... " >&6; }
40006 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40007 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40008 $as_echo_n "(cached) " >&6
40009 else
40010
40011
40012 ac_ext=cpp
40013 ac_cpp='$CXXCPP $CPPFLAGS'
40014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40017
40018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40019 /* end confdefs.h. */
40020 #include <math.h>
40021 #ifdef HAVE_IEEEFP_H
40022 #include <ieeefp.h>
40023 #endif
40024
40025 int
40026 main ()
40027 {
40028 _isnan(0);
40029 ;
40030 return 0;
40031 }
40032 _ACEOF
40033 if ac_fn_cxx_try_compile "$LINENO"; then :
40034 glibcxx_cv_func__isnan_use=yes
40035 else
40036 glibcxx_cv_func__isnan_use=no
40037 fi
40038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40039 ac_ext=c
40040 ac_cpp='$CPP $CPPFLAGS'
40041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40044
40045
40046 fi
40047
40048 fi
40049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40050 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40051
40052 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40053 for ac_func in _isnan
40054 do :
40055 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40056 if test "x$ac_cv_func__isnan" = x""yes; then :
40057 cat >>confdefs.h <<_ACEOF
40058 #define HAVE__ISNAN 1
40059 _ACEOF
40060
40061 fi
40062 done
40063
40064 fi
40065 fi
40066
40067
40068
40069
40070
40071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40072 $as_echo_n "checking for finite declaration... " >&6; }
40073 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40074 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40075 $as_echo_n "(cached) " >&6
40076 else
40077
40078
40079 ac_ext=cpp
40080 ac_cpp='$CXXCPP $CPPFLAGS'
40081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40084
40085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40086 /* end confdefs.h. */
40087 #include <math.h>
40088 #ifdef HAVE_IEEEFP_H
40089 #include <ieeefp.h>
40090 #endif
40091
40092 int
40093 main ()
40094 {
40095 finite(0);
40096 ;
40097 return 0;
40098 }
40099 _ACEOF
40100 if ac_fn_cxx_try_compile "$LINENO"; then :
40101 glibcxx_cv_func_finite_use=yes
40102 else
40103 glibcxx_cv_func_finite_use=no
40104 fi
40105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40106 ac_ext=c
40107 ac_cpp='$CPP $CPPFLAGS'
40108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40111
40112
40113 fi
40114
40115 fi
40116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40117 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40118
40119 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40120 for ac_func in finite
40121 do :
40122 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40123 if test "x$ac_cv_func_finite" = x""yes; then :
40124 cat >>confdefs.h <<_ACEOF
40125 #define HAVE_FINITE 1
40126 _ACEOF
40127
40128 fi
40129 done
40130
40131 else
40132
40133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40134 $as_echo_n "checking for _finite declaration... " >&6; }
40135 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40136 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40137 $as_echo_n "(cached) " >&6
40138 else
40139
40140
40141 ac_ext=cpp
40142 ac_cpp='$CXXCPP $CPPFLAGS'
40143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40146
40147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40148 /* end confdefs.h. */
40149 #include <math.h>
40150 #ifdef HAVE_IEEEFP_H
40151 #include <ieeefp.h>
40152 #endif
40153
40154 int
40155 main ()
40156 {
40157 _finite(0);
40158 ;
40159 return 0;
40160 }
40161 _ACEOF
40162 if ac_fn_cxx_try_compile "$LINENO"; then :
40163 glibcxx_cv_func__finite_use=yes
40164 else
40165 glibcxx_cv_func__finite_use=no
40166 fi
40167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40168 ac_ext=c
40169 ac_cpp='$CPP $CPPFLAGS'
40170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40173
40174
40175 fi
40176
40177 fi
40178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40179 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40180
40181 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40182 for ac_func in _finite
40183 do :
40184 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40185 if test "x$ac_cv_func__finite" = x""yes; then :
40186 cat >>confdefs.h <<_ACEOF
40187 #define HAVE__FINITE 1
40188 _ACEOF
40189
40190 fi
40191 done
40192
40193 fi
40194 fi
40195
40196
40197
40198
40199
40200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40201 $as_echo_n "checking for sincos declaration... " >&6; }
40202 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40203 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40204 $as_echo_n "(cached) " >&6
40205 else
40206
40207
40208 ac_ext=cpp
40209 ac_cpp='$CXXCPP $CPPFLAGS'
40210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40213
40214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40215 /* end confdefs.h. */
40216 #include <math.h>
40217 int
40218 main ()
40219 {
40220 sincos(0, 0, 0);
40221 ;
40222 return 0;
40223 }
40224 _ACEOF
40225 if ac_fn_cxx_try_compile "$LINENO"; then :
40226 glibcxx_cv_func_sincos_use=yes
40227 else
40228 glibcxx_cv_func_sincos_use=no
40229 fi
40230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40231 ac_ext=c
40232 ac_cpp='$CPP $CPPFLAGS'
40233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40236
40237
40238 fi
40239
40240 fi
40241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40242 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40243
40244 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40245 for ac_func in sincos
40246 do :
40247 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40248 if test "x$ac_cv_func_sincos" = x""yes; then :
40249 cat >>confdefs.h <<_ACEOF
40250 #define HAVE_SINCOS 1
40251 _ACEOF
40252
40253 fi
40254 done
40255
40256 else
40257
40258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40259 $as_echo_n "checking for _sincos declaration... " >&6; }
40260 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40261 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40262 $as_echo_n "(cached) " >&6
40263 else
40264
40265
40266 ac_ext=cpp
40267 ac_cpp='$CXXCPP $CPPFLAGS'
40268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40271
40272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40273 /* end confdefs.h. */
40274 #include <math.h>
40275 int
40276 main ()
40277 {
40278 _sincos(0, 0, 0);
40279 ;
40280 return 0;
40281 }
40282 _ACEOF
40283 if ac_fn_cxx_try_compile "$LINENO"; then :
40284 glibcxx_cv_func__sincos_use=yes
40285 else
40286 glibcxx_cv_func__sincos_use=no
40287 fi
40288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40289 ac_ext=c
40290 ac_cpp='$CPP $CPPFLAGS'
40291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40294
40295
40296 fi
40297
40298 fi
40299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40300 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40301
40302 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40303 for ac_func in _sincos
40304 do :
40305 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40306 if test "x$ac_cv_func__sincos" = x""yes; then :
40307 cat >>confdefs.h <<_ACEOF
40308 #define HAVE__SINCOS 1
40309 _ACEOF
40310
40311 fi
40312 done
40313
40314 fi
40315 fi
40316
40317
40318
40319
40320
40321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40322 $as_echo_n "checking for fpclass declaration... " >&6; }
40323 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40324 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40325 $as_echo_n "(cached) " >&6
40326 else
40327
40328
40329 ac_ext=cpp
40330 ac_cpp='$CXXCPP $CPPFLAGS'
40331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40334
40335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40336 /* end confdefs.h. */
40337 #include <math.h>
40338 #ifdef HAVE_IEEEFP_H
40339 #include <ieeefp.h>
40340 #endif
40341
40342 int
40343 main ()
40344 {
40345 fpclass(0);
40346 ;
40347 return 0;
40348 }
40349 _ACEOF
40350 if ac_fn_cxx_try_compile "$LINENO"; then :
40351 glibcxx_cv_func_fpclass_use=yes
40352 else
40353 glibcxx_cv_func_fpclass_use=no
40354 fi
40355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40356 ac_ext=c
40357 ac_cpp='$CPP $CPPFLAGS'
40358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40361
40362
40363 fi
40364
40365 fi
40366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40367 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40368
40369 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40370 for ac_func in fpclass
40371 do :
40372 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40373 if test "x$ac_cv_func_fpclass" = x""yes; then :
40374 cat >>confdefs.h <<_ACEOF
40375 #define HAVE_FPCLASS 1
40376 _ACEOF
40377
40378 fi
40379 done
40380
40381 else
40382
40383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40384 $as_echo_n "checking for _fpclass declaration... " >&6; }
40385 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40386 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40387 $as_echo_n "(cached) " >&6
40388 else
40389
40390
40391 ac_ext=cpp
40392 ac_cpp='$CXXCPP $CPPFLAGS'
40393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40396
40397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40398 /* end confdefs.h. */
40399 #include <math.h>
40400 #ifdef HAVE_IEEEFP_H
40401 #include <ieeefp.h>
40402 #endif
40403
40404 int
40405 main ()
40406 {
40407 _fpclass(0);
40408 ;
40409 return 0;
40410 }
40411 _ACEOF
40412 if ac_fn_cxx_try_compile "$LINENO"; then :
40413 glibcxx_cv_func__fpclass_use=yes
40414 else
40415 glibcxx_cv_func__fpclass_use=no
40416 fi
40417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40418 ac_ext=c
40419 ac_cpp='$CPP $CPPFLAGS'
40420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40423
40424
40425 fi
40426
40427 fi
40428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40429 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40430
40431 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40432 for ac_func in _fpclass
40433 do :
40434 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40435 if test "x$ac_cv_func__fpclass" = x""yes; then :
40436 cat >>confdefs.h <<_ACEOF
40437 #define HAVE__FPCLASS 1
40438 _ACEOF
40439
40440 fi
40441 done
40442
40443 fi
40444 fi
40445
40446
40447
40448
40449
40450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40451 $as_echo_n "checking for qfpclass declaration... " >&6; }
40452 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40453 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40454 $as_echo_n "(cached) " >&6
40455 else
40456
40457
40458 ac_ext=cpp
40459 ac_cpp='$CXXCPP $CPPFLAGS'
40460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40463
40464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40465 /* end confdefs.h. */
40466 #include <math.h>
40467 #ifdef HAVE_IEEEFP_H
40468 #include <ieeefp.h>
40469 #endif
40470
40471 int
40472 main ()
40473 {
40474 qfpclass(0);
40475 ;
40476 return 0;
40477 }
40478 _ACEOF
40479 if ac_fn_cxx_try_compile "$LINENO"; then :
40480 glibcxx_cv_func_qfpclass_use=yes
40481 else
40482 glibcxx_cv_func_qfpclass_use=no
40483 fi
40484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40485 ac_ext=c
40486 ac_cpp='$CPP $CPPFLAGS'
40487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40490
40491
40492 fi
40493
40494 fi
40495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40496 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40497
40498 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40499 for ac_func in qfpclass
40500 do :
40501 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40502 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40503 cat >>confdefs.h <<_ACEOF
40504 #define HAVE_QFPCLASS 1
40505 _ACEOF
40506
40507 fi
40508 done
40509
40510 else
40511
40512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40513 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40514 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40515 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40516 $as_echo_n "(cached) " >&6
40517 else
40518
40519
40520 ac_ext=cpp
40521 ac_cpp='$CXXCPP $CPPFLAGS'
40522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40525
40526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40527 /* end confdefs.h. */
40528 #include <math.h>
40529 #ifdef HAVE_IEEEFP_H
40530 #include <ieeefp.h>
40531 #endif
40532
40533 int
40534 main ()
40535 {
40536 _qfpclass(0);
40537 ;
40538 return 0;
40539 }
40540 _ACEOF
40541 if ac_fn_cxx_try_compile "$LINENO"; then :
40542 glibcxx_cv_func__qfpclass_use=yes
40543 else
40544 glibcxx_cv_func__qfpclass_use=no
40545 fi
40546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40547 ac_ext=c
40548 ac_cpp='$CPP $CPPFLAGS'
40549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40552
40553
40554 fi
40555
40556 fi
40557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40558 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40559
40560 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40561 for ac_func in _qfpclass
40562 do :
40563 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40564 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40565 cat >>confdefs.h <<_ACEOF
40566 #define HAVE__QFPCLASS 1
40567 _ACEOF
40568
40569 fi
40570 done
40571
40572 fi
40573 fi
40574
40575
40576
40577
40578
40579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40580 $as_echo_n "checking for hypot declaration... " >&6; }
40581 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40582 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40583 $as_echo_n "(cached) " >&6
40584 else
40585
40586
40587 ac_ext=cpp
40588 ac_cpp='$CXXCPP $CPPFLAGS'
40589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40592
40593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40594 /* end confdefs.h. */
40595 #include <math.h>
40596 int
40597 main ()
40598 {
40599 hypot(0, 0);
40600 ;
40601 return 0;
40602 }
40603 _ACEOF
40604 if ac_fn_cxx_try_compile "$LINENO"; then :
40605 glibcxx_cv_func_hypot_use=yes
40606 else
40607 glibcxx_cv_func_hypot_use=no
40608 fi
40609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40610 ac_ext=c
40611 ac_cpp='$CPP $CPPFLAGS'
40612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40615
40616
40617 fi
40618
40619 fi
40620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40621 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40622
40623 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40624 for ac_func in hypot
40625 do :
40626 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40627 if test "x$ac_cv_func_hypot" = x""yes; then :
40628 cat >>confdefs.h <<_ACEOF
40629 #define HAVE_HYPOT 1
40630 _ACEOF
40631
40632 fi
40633 done
40634
40635 else
40636
40637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40638 $as_echo_n "checking for _hypot declaration... " >&6; }
40639 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40640 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40641 $as_echo_n "(cached) " >&6
40642 else
40643
40644
40645 ac_ext=cpp
40646 ac_cpp='$CXXCPP $CPPFLAGS'
40647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40650
40651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40652 /* end confdefs.h. */
40653 #include <math.h>
40654 int
40655 main ()
40656 {
40657 _hypot(0, 0);
40658 ;
40659 return 0;
40660 }
40661 _ACEOF
40662 if ac_fn_cxx_try_compile "$LINENO"; then :
40663 glibcxx_cv_func__hypot_use=yes
40664 else
40665 glibcxx_cv_func__hypot_use=no
40666 fi
40667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40668 ac_ext=c
40669 ac_cpp='$CPP $CPPFLAGS'
40670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40673
40674
40675 fi
40676
40677 fi
40678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40679 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40680
40681 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40682 for ac_func in _hypot
40683 do :
40684 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40685 if test "x$ac_cv_func__hypot" = x""yes; then :
40686 cat >>confdefs.h <<_ACEOF
40687 #define HAVE__HYPOT 1
40688 _ACEOF
40689
40690 fi
40691 done
40692
40693 fi
40694 fi
40695
40696
40697
40698
40699
40700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40701 $as_echo_n "checking for float trig functions... " >&6; }
40702 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40703 $as_echo_n "(cached) " >&6
40704 else
40705
40706
40707 ac_ext=cpp
40708 ac_cpp='$CXXCPP $CPPFLAGS'
40709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40712
40713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40714 /* end confdefs.h. */
40715 #include <math.h>
40716 int
40717 main ()
40718 {
40719 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40720 ;
40721 return 0;
40722 }
40723 _ACEOF
40724 if ac_fn_cxx_try_compile "$LINENO"; then :
40725 glibcxx_cv_func_float_trig_use=yes
40726 else
40727 glibcxx_cv_func_float_trig_use=no
40728 fi
40729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40730 ac_ext=c
40731 ac_cpp='$CPP $CPPFLAGS'
40732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40735
40736 fi
40737
40738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40739 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40740 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40741 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40742 do :
40743 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40744 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40745 eval as_val=\$$as_ac_var
40746 if test "x$as_val" = x""yes; then :
40747 cat >>confdefs.h <<_ACEOF
40748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40749 _ACEOF
40750
40751 fi
40752 done
40753
40754 else
40755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40756 $as_echo_n "checking for _float trig functions... " >&6; }
40757 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40758 $as_echo_n "(cached) " >&6
40759 else
40760
40761
40762 ac_ext=cpp
40763 ac_cpp='$CXXCPP $CPPFLAGS'
40764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40767
40768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40769 /* end confdefs.h. */
40770 #include <math.h>
40771 int
40772 main ()
40773 {
40774 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40775 ;
40776 return 0;
40777 }
40778 _ACEOF
40779 if ac_fn_cxx_try_compile "$LINENO"; then :
40780 glibcxx_cv_func__float_trig_use=yes
40781 else
40782 glibcxx_cv_func__float_trig_use=no
40783 fi
40784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40785 ac_ext=c
40786 ac_cpp='$CPP $CPPFLAGS'
40787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40790
40791 fi
40792
40793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40794 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40795 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40796 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40797 do :
40798 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40799 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40800 eval as_val=\$$as_ac_var
40801 if test "x$as_val" = x""yes; then :
40802 cat >>confdefs.h <<_ACEOF
40803 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40804 _ACEOF
40805
40806 fi
40807 done
40808
40809 fi
40810 fi
40811
40812
40813
40814
40815
40816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40817 $as_echo_n "checking for float round functions... " >&6; }
40818 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40819 $as_echo_n "(cached) " >&6
40820 else
40821
40822
40823 ac_ext=cpp
40824 ac_cpp='$CXXCPP $CPPFLAGS'
40825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40828
40829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40830 /* end confdefs.h. */
40831 #include <math.h>
40832 int
40833 main ()
40834 {
40835 ceilf (0); floorf (0);
40836 ;
40837 return 0;
40838 }
40839 _ACEOF
40840 if ac_fn_cxx_try_compile "$LINENO"; then :
40841 glibcxx_cv_func_float_round_use=yes
40842 else
40843 glibcxx_cv_func_float_round_use=no
40844 fi
40845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40846 ac_ext=c
40847 ac_cpp='$CPP $CPPFLAGS'
40848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40851
40852 fi
40853
40854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40855 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40856 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40857 for ac_func in ceilf floorf
40858 do :
40859 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40860 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40861 eval as_val=\$$as_ac_var
40862 if test "x$as_val" = x""yes; then :
40863 cat >>confdefs.h <<_ACEOF
40864 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40865 _ACEOF
40866
40867 fi
40868 done
40869
40870 else
40871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40872 $as_echo_n "checking for _float round functions... " >&6; }
40873 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40874 $as_echo_n "(cached) " >&6
40875 else
40876
40877
40878 ac_ext=cpp
40879 ac_cpp='$CXXCPP $CPPFLAGS'
40880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40883
40884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40885 /* end confdefs.h. */
40886 #include <math.h>
40887 int
40888 main ()
40889 {
40890 _ceilf (0); _floorf (0);
40891 ;
40892 return 0;
40893 }
40894 _ACEOF
40895 if ac_fn_cxx_try_compile "$LINENO"; then :
40896 glibcxx_cv_func__float_round_use=yes
40897 else
40898 glibcxx_cv_func__float_round_use=no
40899 fi
40900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40901 ac_ext=c
40902 ac_cpp='$CPP $CPPFLAGS'
40903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40906
40907 fi
40908
40909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40910 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40911 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40912 for ac_func in _ceilf _floorf
40913 do :
40914 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40915 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40916 eval as_val=\$$as_ac_var
40917 if test "x$as_val" = x""yes; then :
40918 cat >>confdefs.h <<_ACEOF
40919 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40920 _ACEOF
40921
40922 fi
40923 done
40924
40925 fi
40926 fi
40927
40928
40929
40930
40931
40932
40933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40934 $as_echo_n "checking for expf declaration... " >&6; }
40935 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40936 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40937 $as_echo_n "(cached) " >&6
40938 else
40939
40940
40941 ac_ext=cpp
40942 ac_cpp='$CXXCPP $CPPFLAGS'
40943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40946
40947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40948 /* end confdefs.h. */
40949 #include <math.h>
40950 #ifdef HAVE_IEEEFP_H
40951 #include <ieeefp.h>
40952 #endif
40953
40954 int
40955 main ()
40956 {
40957 expf(0);
40958 ;
40959 return 0;
40960 }
40961 _ACEOF
40962 if ac_fn_cxx_try_compile "$LINENO"; then :
40963 glibcxx_cv_func_expf_use=yes
40964 else
40965 glibcxx_cv_func_expf_use=no
40966 fi
40967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40968 ac_ext=c
40969 ac_cpp='$CPP $CPPFLAGS'
40970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40973
40974
40975 fi
40976
40977 fi
40978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40979 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40980
40981 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40982 for ac_func in expf
40983 do :
40984 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40985 if test "x$ac_cv_func_expf" = x""yes; then :
40986 cat >>confdefs.h <<_ACEOF
40987 #define HAVE_EXPF 1
40988 _ACEOF
40989
40990 fi
40991 done
40992
40993 else
40994
40995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40996 $as_echo_n "checking for _expf declaration... " >&6; }
40997 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40998 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40999 $as_echo_n "(cached) " >&6
41000 else
41001
41002
41003 ac_ext=cpp
41004 ac_cpp='$CXXCPP $CPPFLAGS'
41005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41008
41009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41010 /* end confdefs.h. */
41011 #include <math.h>
41012 #ifdef HAVE_IEEEFP_H
41013 #include <ieeefp.h>
41014 #endif
41015
41016 int
41017 main ()
41018 {
41019 _expf(0);
41020 ;
41021 return 0;
41022 }
41023 _ACEOF
41024 if ac_fn_cxx_try_compile "$LINENO"; then :
41025 glibcxx_cv_func__expf_use=yes
41026 else
41027 glibcxx_cv_func__expf_use=no
41028 fi
41029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41030 ac_ext=c
41031 ac_cpp='$CPP $CPPFLAGS'
41032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41035
41036
41037 fi
41038
41039 fi
41040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41041 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41042
41043 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41044 for ac_func in _expf
41045 do :
41046 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41047 if test "x$ac_cv_func__expf" = x""yes; then :
41048 cat >>confdefs.h <<_ACEOF
41049 #define HAVE__EXPF 1
41050 _ACEOF
41051
41052 fi
41053 done
41054
41055 fi
41056 fi
41057
41058
41059
41060
41061
41062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41063 $as_echo_n "checking for isnanf declaration... " >&6; }
41064 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41065 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41066 $as_echo_n "(cached) " >&6
41067 else
41068
41069
41070 ac_ext=cpp
41071 ac_cpp='$CXXCPP $CPPFLAGS'
41072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41075
41076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41077 /* end confdefs.h. */
41078 #include <math.h>
41079 #ifdef HAVE_IEEEFP_H
41080 #include <ieeefp.h>
41081 #endif
41082
41083 int
41084 main ()
41085 {
41086 isnanf(0);
41087 ;
41088 return 0;
41089 }
41090 _ACEOF
41091 if ac_fn_cxx_try_compile "$LINENO"; then :
41092 glibcxx_cv_func_isnanf_use=yes
41093 else
41094 glibcxx_cv_func_isnanf_use=no
41095 fi
41096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41097 ac_ext=c
41098 ac_cpp='$CPP $CPPFLAGS'
41099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41102
41103
41104 fi
41105
41106 fi
41107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41108 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41109
41110 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41111 for ac_func in isnanf
41112 do :
41113 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41114 if test "x$ac_cv_func_isnanf" = x""yes; then :
41115 cat >>confdefs.h <<_ACEOF
41116 #define HAVE_ISNANF 1
41117 _ACEOF
41118
41119 fi
41120 done
41121
41122 else
41123
41124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41125 $as_echo_n "checking for _isnanf declaration... " >&6; }
41126 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41127 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41128 $as_echo_n "(cached) " >&6
41129 else
41130
41131
41132 ac_ext=cpp
41133 ac_cpp='$CXXCPP $CPPFLAGS'
41134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41137
41138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41139 /* end confdefs.h. */
41140 #include <math.h>
41141 #ifdef HAVE_IEEEFP_H
41142 #include <ieeefp.h>
41143 #endif
41144
41145 int
41146 main ()
41147 {
41148 _isnanf(0);
41149 ;
41150 return 0;
41151 }
41152 _ACEOF
41153 if ac_fn_cxx_try_compile "$LINENO"; then :
41154 glibcxx_cv_func__isnanf_use=yes
41155 else
41156 glibcxx_cv_func__isnanf_use=no
41157 fi
41158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41159 ac_ext=c
41160 ac_cpp='$CPP $CPPFLAGS'
41161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41164
41165
41166 fi
41167
41168 fi
41169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41170 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41171
41172 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41173 for ac_func in _isnanf
41174 do :
41175 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41176 if test "x$ac_cv_func__isnanf" = x""yes; then :
41177 cat >>confdefs.h <<_ACEOF
41178 #define HAVE__ISNANF 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 isinff declaration" >&5
41192 $as_echo_n "checking for isinff declaration... " >&6; }
41193 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41194 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41195 $as_echo_n "(cached) " >&6
41196 else
41197
41198
41199 ac_ext=cpp
41200 ac_cpp='$CXXCPP $CPPFLAGS'
41201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41204
41205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41206 /* end confdefs.h. */
41207 #include <math.h>
41208 #ifdef HAVE_IEEEFP_H
41209 #include <ieeefp.h>
41210 #endif
41211
41212 int
41213 main ()
41214 {
41215 isinff(0);
41216 ;
41217 return 0;
41218 }
41219 _ACEOF
41220 if ac_fn_cxx_try_compile "$LINENO"; then :
41221 glibcxx_cv_func_isinff_use=yes
41222 else
41223 glibcxx_cv_func_isinff_use=no
41224 fi
41225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41226 ac_ext=c
41227 ac_cpp='$CPP $CPPFLAGS'
41228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41231
41232
41233 fi
41234
41235 fi
41236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41237 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41238
41239 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41240 for ac_func in isinff
41241 do :
41242 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41243 if test "x$ac_cv_func_isinff" = x""yes; then :
41244 cat >>confdefs.h <<_ACEOF
41245 #define HAVE_ISINFF 1
41246 _ACEOF
41247
41248 fi
41249 done
41250
41251 else
41252
41253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41254 $as_echo_n "checking for _isinff declaration... " >&6; }
41255 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41256 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41257 $as_echo_n "(cached) " >&6
41258 else
41259
41260
41261 ac_ext=cpp
41262 ac_cpp='$CXXCPP $CPPFLAGS'
41263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41266
41267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41268 /* end confdefs.h. */
41269 #include <math.h>
41270 #ifdef HAVE_IEEEFP_H
41271 #include <ieeefp.h>
41272 #endif
41273
41274 int
41275 main ()
41276 {
41277 _isinff(0);
41278 ;
41279 return 0;
41280 }
41281 _ACEOF
41282 if ac_fn_cxx_try_compile "$LINENO"; then :
41283 glibcxx_cv_func__isinff_use=yes
41284 else
41285 glibcxx_cv_func__isinff_use=no
41286 fi
41287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41288 ac_ext=c
41289 ac_cpp='$CPP $CPPFLAGS'
41290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41293
41294
41295 fi
41296
41297 fi
41298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41299 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41300
41301 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41302 for ac_func in _isinff
41303 do :
41304 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41305 if test "x$ac_cv_func__isinff" = x""yes; then :
41306 cat >>confdefs.h <<_ACEOF
41307 #define HAVE__ISINFF 1
41308 _ACEOF
41309
41310 fi
41311 done
41312
41313 fi
41314 fi
41315
41316
41317
41318
41319
41320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41321 $as_echo_n "checking for atan2f declaration... " >&6; }
41322 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41323 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41324 $as_echo_n "(cached) " >&6
41325 else
41326
41327
41328 ac_ext=cpp
41329 ac_cpp='$CXXCPP $CPPFLAGS'
41330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41333
41334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41335 /* end confdefs.h. */
41336 #include <math.h>
41337 int
41338 main ()
41339 {
41340 atan2f(0, 0);
41341 ;
41342 return 0;
41343 }
41344 _ACEOF
41345 if ac_fn_cxx_try_compile "$LINENO"; then :
41346 glibcxx_cv_func_atan2f_use=yes
41347 else
41348 glibcxx_cv_func_atan2f_use=no
41349 fi
41350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41351 ac_ext=c
41352 ac_cpp='$CPP $CPPFLAGS'
41353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41356
41357
41358 fi
41359
41360 fi
41361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41362 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41363
41364 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41365 for ac_func in atan2f
41366 do :
41367 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41368 if test "x$ac_cv_func_atan2f" = x""yes; then :
41369 cat >>confdefs.h <<_ACEOF
41370 #define HAVE_ATAN2F 1
41371 _ACEOF
41372
41373 fi
41374 done
41375
41376 else
41377
41378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41379 $as_echo_n "checking for _atan2f declaration... " >&6; }
41380 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41381 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41382 $as_echo_n "(cached) " >&6
41383 else
41384
41385
41386 ac_ext=cpp
41387 ac_cpp='$CXXCPP $CPPFLAGS'
41388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41391
41392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41393 /* end confdefs.h. */
41394 #include <math.h>
41395 int
41396 main ()
41397 {
41398 _atan2f(0, 0);
41399 ;
41400 return 0;
41401 }
41402 _ACEOF
41403 if ac_fn_cxx_try_compile "$LINENO"; then :
41404 glibcxx_cv_func__atan2f_use=yes
41405 else
41406 glibcxx_cv_func__atan2f_use=no
41407 fi
41408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41409 ac_ext=c
41410 ac_cpp='$CPP $CPPFLAGS'
41411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41414
41415
41416 fi
41417
41418 fi
41419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41420 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41421
41422 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41423 for ac_func in _atan2f
41424 do :
41425 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41426 if test "x$ac_cv_func__atan2f" = x""yes; then :
41427 cat >>confdefs.h <<_ACEOF
41428 #define HAVE__ATAN2F 1
41429 _ACEOF
41430
41431 fi
41432 done
41433
41434 fi
41435 fi
41436
41437
41438
41439
41440
41441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41442 $as_echo_n "checking for fabsf declaration... " >&6; }
41443 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41444 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41445 $as_echo_n "(cached) " >&6
41446 else
41447
41448
41449 ac_ext=cpp
41450 ac_cpp='$CXXCPP $CPPFLAGS'
41451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41454
41455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41456 /* end confdefs.h. */
41457 #include <math.h>
41458 #ifdef HAVE_IEEEFP_H
41459 #include <ieeefp.h>
41460 #endif
41461
41462 int
41463 main ()
41464 {
41465 fabsf(0);
41466 ;
41467 return 0;
41468 }
41469 _ACEOF
41470 if ac_fn_cxx_try_compile "$LINENO"; then :
41471 glibcxx_cv_func_fabsf_use=yes
41472 else
41473 glibcxx_cv_func_fabsf_use=no
41474 fi
41475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41476 ac_ext=c
41477 ac_cpp='$CPP $CPPFLAGS'
41478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41481
41482
41483 fi
41484
41485 fi
41486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41487 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41488
41489 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41490 for ac_func in fabsf
41491 do :
41492 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41493 if test "x$ac_cv_func_fabsf" = x""yes; then :
41494 cat >>confdefs.h <<_ACEOF
41495 #define HAVE_FABSF 1
41496 _ACEOF
41497
41498 fi
41499 done
41500
41501 else
41502
41503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41504 $as_echo_n "checking for _fabsf declaration... " >&6; }
41505 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41506 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41507 $as_echo_n "(cached) " >&6
41508 else
41509
41510
41511 ac_ext=cpp
41512 ac_cpp='$CXXCPP $CPPFLAGS'
41513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41516
41517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41518 /* end confdefs.h. */
41519 #include <math.h>
41520 #ifdef HAVE_IEEEFP_H
41521 #include <ieeefp.h>
41522 #endif
41523
41524 int
41525 main ()
41526 {
41527 _fabsf(0);
41528 ;
41529 return 0;
41530 }
41531 _ACEOF
41532 if ac_fn_cxx_try_compile "$LINENO"; then :
41533 glibcxx_cv_func__fabsf_use=yes
41534 else
41535 glibcxx_cv_func__fabsf_use=no
41536 fi
41537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41538 ac_ext=c
41539 ac_cpp='$CPP $CPPFLAGS'
41540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41543
41544
41545 fi
41546
41547 fi
41548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41549 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41550
41551 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41552 for ac_func in _fabsf
41553 do :
41554 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41555 if test "x$ac_cv_func__fabsf" = x""yes; then :
41556 cat >>confdefs.h <<_ACEOF
41557 #define HAVE__FABSF 1
41558 _ACEOF
41559
41560 fi
41561 done
41562
41563 fi
41564 fi
41565
41566
41567
41568
41569
41570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41571 $as_echo_n "checking for fmodf declaration... " >&6; }
41572 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41573 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41574 $as_echo_n "(cached) " >&6
41575 else
41576
41577
41578 ac_ext=cpp
41579 ac_cpp='$CXXCPP $CPPFLAGS'
41580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41583
41584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41585 /* end confdefs.h. */
41586 #include <math.h>
41587 int
41588 main ()
41589 {
41590 fmodf(0, 0);
41591 ;
41592 return 0;
41593 }
41594 _ACEOF
41595 if ac_fn_cxx_try_compile "$LINENO"; then :
41596 glibcxx_cv_func_fmodf_use=yes
41597 else
41598 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
41612 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41613
41614 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41615 for ac_func in fmodf
41616 do :
41617 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41618 if test "x$ac_cv_func_fmodf" = x""yes; then :
41619 cat >>confdefs.h <<_ACEOF
41620 #define HAVE_FMODF 1
41621 _ACEOF
41622
41623 fi
41624 done
41625
41626 else
41627
41628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41629 $as_echo_n "checking for _fmodf declaration... " >&6; }
41630 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41631 if test "${glibcxx_cv_func__fmodf_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 int
41646 main ()
41647 {
41648 _fmodf(0, 0);
41649 ;
41650 return 0;
41651 }
41652 _ACEOF
41653 if ac_fn_cxx_try_compile "$LINENO"; then :
41654 glibcxx_cv_func__fmodf_use=yes
41655 else
41656 glibcxx_cv_func__fmodf_use=no
41657 fi
41658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41659 ac_ext=c
41660 ac_cpp='$CPP $CPPFLAGS'
41661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41664
41665
41666 fi
41667
41668 fi
41669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41670 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41671
41672 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41673 for ac_func in _fmodf
41674 do :
41675 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41676 if test "x$ac_cv_func__fmodf" = x""yes; then :
41677 cat >>confdefs.h <<_ACEOF
41678 #define HAVE__FMODF 1
41679 _ACEOF
41680
41681 fi
41682 done
41683
41684 fi
41685 fi
41686
41687
41688
41689
41690
41691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41692 $as_echo_n "checking for frexpf declaration... " >&6; }
41693 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41694 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41695 $as_echo_n "(cached) " >&6
41696 else
41697
41698
41699 ac_ext=cpp
41700 ac_cpp='$CXXCPP $CPPFLAGS'
41701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41704
41705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41706 /* end confdefs.h. */
41707 #include <math.h>
41708 int
41709 main ()
41710 {
41711 frexpf(0, 0);
41712 ;
41713 return 0;
41714 }
41715 _ACEOF
41716 if ac_fn_cxx_try_compile "$LINENO"; then :
41717 glibcxx_cv_func_frexpf_use=yes
41718 else
41719 glibcxx_cv_func_frexpf_use=no
41720 fi
41721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41722 ac_ext=c
41723 ac_cpp='$CPP $CPPFLAGS'
41724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41727
41728
41729 fi
41730
41731 fi
41732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41733 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41734
41735 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41736 for ac_func in frexpf
41737 do :
41738 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41739 if test "x$ac_cv_func_frexpf" = x""yes; then :
41740 cat >>confdefs.h <<_ACEOF
41741 #define HAVE_FREXPF 1
41742 _ACEOF
41743
41744 fi
41745 done
41746
41747 else
41748
41749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41750 $as_echo_n "checking for _frexpf declaration... " >&6; }
41751 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41752 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41753 $as_echo_n "(cached) " >&6
41754 else
41755
41756
41757 ac_ext=cpp
41758 ac_cpp='$CXXCPP $CPPFLAGS'
41759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41762
41763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41764 /* end confdefs.h. */
41765 #include <math.h>
41766 int
41767 main ()
41768 {
41769 _frexpf(0, 0);
41770 ;
41771 return 0;
41772 }
41773 _ACEOF
41774 if ac_fn_cxx_try_compile "$LINENO"; then :
41775 glibcxx_cv_func__frexpf_use=yes
41776 else
41777 glibcxx_cv_func__frexpf_use=no
41778 fi
41779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41780 ac_ext=c
41781 ac_cpp='$CPP $CPPFLAGS'
41782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41785
41786
41787 fi
41788
41789 fi
41790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41791 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41792
41793 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41794 for ac_func in _frexpf
41795 do :
41796 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41797 if test "x$ac_cv_func__frexpf" = x""yes; then :
41798 cat >>confdefs.h <<_ACEOF
41799 #define HAVE__FREXPF 1
41800 _ACEOF
41801
41802 fi
41803 done
41804
41805 fi
41806 fi
41807
41808
41809
41810
41811
41812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41813 $as_echo_n "checking for hypotf declaration... " >&6; }
41814 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41815 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41816 $as_echo_n "(cached) " >&6
41817 else
41818
41819
41820 ac_ext=cpp
41821 ac_cpp='$CXXCPP $CPPFLAGS'
41822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41825
41826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41827 /* end confdefs.h. */
41828 #include <math.h>
41829 int
41830 main ()
41831 {
41832 hypotf(0, 0);
41833 ;
41834 return 0;
41835 }
41836 _ACEOF
41837 if ac_fn_cxx_try_compile "$LINENO"; then :
41838 glibcxx_cv_func_hypotf_use=yes
41839 else
41840 glibcxx_cv_func_hypotf_use=no
41841 fi
41842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41843 ac_ext=c
41844 ac_cpp='$CPP $CPPFLAGS'
41845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41848
41849
41850 fi
41851
41852 fi
41853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41854 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41855
41856 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41857 for ac_func in hypotf
41858 do :
41859 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41860 if test "x$ac_cv_func_hypotf" = x""yes; then :
41861 cat >>confdefs.h <<_ACEOF
41862 #define HAVE_HYPOTF 1
41863 _ACEOF
41864
41865 fi
41866 done
41867
41868 else
41869
41870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41871 $as_echo_n "checking for _hypotf declaration... " >&6; }
41872 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41873 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41874 $as_echo_n "(cached) " >&6
41875 else
41876
41877
41878 ac_ext=cpp
41879 ac_cpp='$CXXCPP $CPPFLAGS'
41880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41883
41884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41885 /* end confdefs.h. */
41886 #include <math.h>
41887 int
41888 main ()
41889 {
41890 _hypotf(0, 0);
41891 ;
41892 return 0;
41893 }
41894 _ACEOF
41895 if ac_fn_cxx_try_compile "$LINENO"; then :
41896 glibcxx_cv_func__hypotf_use=yes
41897 else
41898 glibcxx_cv_func__hypotf_use=no
41899 fi
41900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41901 ac_ext=c
41902 ac_cpp='$CPP $CPPFLAGS'
41903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41906
41907
41908 fi
41909
41910 fi
41911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41912 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41913
41914 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41915 for ac_func in _hypotf
41916 do :
41917 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41918 if test "x$ac_cv_func__hypotf" = x""yes; then :
41919 cat >>confdefs.h <<_ACEOF
41920 #define HAVE__HYPOTF 1
41921 _ACEOF
41922
41923 fi
41924 done
41925
41926 fi
41927 fi
41928
41929
41930
41931
41932
41933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41934 $as_echo_n "checking for ldexpf declaration... " >&6; }
41935 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41936 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41937 $as_echo_n "(cached) " >&6
41938 else
41939
41940
41941 ac_ext=cpp
41942 ac_cpp='$CXXCPP $CPPFLAGS'
41943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41946
41947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41948 /* end confdefs.h. */
41949 #include <math.h>
41950 int
41951 main ()
41952 {
41953 ldexpf(0, 0);
41954 ;
41955 return 0;
41956 }
41957 _ACEOF
41958 if ac_fn_cxx_try_compile "$LINENO"; then :
41959 glibcxx_cv_func_ldexpf_use=yes
41960 else
41961 glibcxx_cv_func_ldexpf_use=no
41962 fi
41963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41964 ac_ext=c
41965 ac_cpp='$CPP $CPPFLAGS'
41966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41969
41970
41971 fi
41972
41973 fi
41974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41975 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41976
41977 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41978 for ac_func in ldexpf
41979 do :
41980 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41981 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41982 cat >>confdefs.h <<_ACEOF
41983 #define HAVE_LDEXPF 1
41984 _ACEOF
41985
41986 fi
41987 done
41988
41989 else
41990
41991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41992 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41993 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41994 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41995 $as_echo_n "(cached) " >&6
41996 else
41997
41998
41999 ac_ext=cpp
42000 ac_cpp='$CXXCPP $CPPFLAGS'
42001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42004
42005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42006 /* end confdefs.h. */
42007 #include <math.h>
42008 int
42009 main ()
42010 {
42011 _ldexpf(0, 0);
42012 ;
42013 return 0;
42014 }
42015 _ACEOF
42016 if ac_fn_cxx_try_compile "$LINENO"; then :
42017 glibcxx_cv_func__ldexpf_use=yes
42018 else
42019 glibcxx_cv_func__ldexpf_use=no
42020 fi
42021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42022 ac_ext=c
42023 ac_cpp='$CPP $CPPFLAGS'
42024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42027
42028
42029 fi
42030
42031 fi
42032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42033 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42034
42035 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42036 for ac_func in _ldexpf
42037 do :
42038 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42039 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42040 cat >>confdefs.h <<_ACEOF
42041 #define HAVE__LDEXPF 1
42042 _ACEOF
42043
42044 fi
42045 done
42046
42047 fi
42048 fi
42049
42050
42051
42052
42053
42054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42055 $as_echo_n "checking for logf declaration... " >&6; }
42056 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42057 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42058 $as_echo_n "(cached) " >&6
42059 else
42060
42061
42062 ac_ext=cpp
42063 ac_cpp='$CXXCPP $CPPFLAGS'
42064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42067
42068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42069 /* end confdefs.h. */
42070 #include <math.h>
42071 #ifdef HAVE_IEEEFP_H
42072 #include <ieeefp.h>
42073 #endif
42074
42075 int
42076 main ()
42077 {
42078 logf(0);
42079 ;
42080 return 0;
42081 }
42082 _ACEOF
42083 if ac_fn_cxx_try_compile "$LINENO"; then :
42084 glibcxx_cv_func_logf_use=yes
42085 else
42086 glibcxx_cv_func_logf_use=no
42087 fi
42088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42089 ac_ext=c
42090 ac_cpp='$CPP $CPPFLAGS'
42091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42094
42095
42096 fi
42097
42098 fi
42099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42100 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42101
42102 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42103 for ac_func in logf
42104 do :
42105 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42106 if test "x$ac_cv_func_logf" = x""yes; then :
42107 cat >>confdefs.h <<_ACEOF
42108 #define HAVE_LOGF 1
42109 _ACEOF
42110
42111 fi
42112 done
42113
42114 else
42115
42116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42117 $as_echo_n "checking for _logf declaration... " >&6; }
42118 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42119 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42120 $as_echo_n "(cached) " >&6
42121 else
42122
42123
42124 ac_ext=cpp
42125 ac_cpp='$CXXCPP $CPPFLAGS'
42126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42129
42130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42131 /* end confdefs.h. */
42132 #include <math.h>
42133 #ifdef HAVE_IEEEFP_H
42134 #include <ieeefp.h>
42135 #endif
42136
42137 int
42138 main ()
42139 {
42140 _logf(0);
42141 ;
42142 return 0;
42143 }
42144 _ACEOF
42145 if ac_fn_cxx_try_compile "$LINENO"; then :
42146 glibcxx_cv_func__logf_use=yes
42147 else
42148 glibcxx_cv_func__logf_use=no
42149 fi
42150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42151 ac_ext=c
42152 ac_cpp='$CPP $CPPFLAGS'
42153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42156
42157
42158 fi
42159
42160 fi
42161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42162 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42163
42164 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42165 for ac_func in _logf
42166 do :
42167 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42168 if test "x$ac_cv_func__logf" = x""yes; then :
42169 cat >>confdefs.h <<_ACEOF
42170 #define HAVE__LOGF 1
42171 _ACEOF
42172
42173 fi
42174 done
42175
42176 fi
42177 fi
42178
42179
42180
42181
42182
42183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42184 $as_echo_n "checking for log10f declaration... " >&6; }
42185 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42186 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42187 $as_echo_n "(cached) " >&6
42188 else
42189
42190
42191 ac_ext=cpp
42192 ac_cpp='$CXXCPP $CPPFLAGS'
42193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42196
42197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42198 /* end confdefs.h. */
42199 #include <math.h>
42200 #ifdef HAVE_IEEEFP_H
42201 #include <ieeefp.h>
42202 #endif
42203
42204 int
42205 main ()
42206 {
42207 log10f(0);
42208 ;
42209 return 0;
42210 }
42211 _ACEOF
42212 if ac_fn_cxx_try_compile "$LINENO"; then :
42213 glibcxx_cv_func_log10f_use=yes
42214 else
42215 glibcxx_cv_func_log10f_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_log10f_use" >&5
42229 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42230
42231 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42232 for ac_func in log10f
42233 do :
42234 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42235 if test "x$ac_cv_func_log10f" = x""yes; then :
42236 cat >>confdefs.h <<_ACEOF
42237 #define HAVE_LOG10F 1
42238 _ACEOF
42239
42240 fi
42241 done
42242
42243 else
42244
42245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42246 $as_echo_n "checking for _log10f declaration... " >&6; }
42247 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42248 if test "${glibcxx_cv_func__log10f_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 #ifdef HAVE_IEEEFP_H
42263 #include <ieeefp.h>
42264 #endif
42265
42266 int
42267 main ()
42268 {
42269 _log10f(0);
42270 ;
42271 return 0;
42272 }
42273 _ACEOF
42274 if ac_fn_cxx_try_compile "$LINENO"; then :
42275 glibcxx_cv_func__log10f_use=yes
42276 else
42277 glibcxx_cv_func__log10f_use=no
42278 fi
42279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42280 ac_ext=c
42281 ac_cpp='$CPP $CPPFLAGS'
42282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42285
42286
42287 fi
42288
42289 fi
42290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42291 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42292
42293 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42294 for ac_func in _log10f
42295 do :
42296 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42297 if test "x$ac_cv_func__log10f" = x""yes; then :
42298 cat >>confdefs.h <<_ACEOF
42299 #define HAVE__LOG10F 1
42300 _ACEOF
42301
42302 fi
42303 done
42304
42305 fi
42306 fi
42307
42308
42309
42310
42311
42312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42313 $as_echo_n "checking for modff declaration... " >&6; }
42314 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42315 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42316 $as_echo_n "(cached) " >&6
42317 else
42318
42319
42320 ac_ext=cpp
42321 ac_cpp='$CXXCPP $CPPFLAGS'
42322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42325
42326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42327 /* end confdefs.h. */
42328 #include <math.h>
42329 int
42330 main ()
42331 {
42332 modff(0, 0);
42333 ;
42334 return 0;
42335 }
42336 _ACEOF
42337 if ac_fn_cxx_try_compile "$LINENO"; then :
42338 glibcxx_cv_func_modff_use=yes
42339 else
42340 glibcxx_cv_func_modff_use=no
42341 fi
42342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42343 ac_ext=c
42344 ac_cpp='$CPP $CPPFLAGS'
42345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42348
42349
42350 fi
42351
42352 fi
42353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42354 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42355
42356 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42357 for ac_func in modff
42358 do :
42359 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42360 if test "x$ac_cv_func_modff" = x""yes; then :
42361 cat >>confdefs.h <<_ACEOF
42362 #define HAVE_MODFF 1
42363 _ACEOF
42364
42365 fi
42366 done
42367
42368 else
42369
42370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42371 $as_echo_n "checking for _modff declaration... " >&6; }
42372 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42373 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42374 $as_echo_n "(cached) " >&6
42375 else
42376
42377
42378 ac_ext=cpp
42379 ac_cpp='$CXXCPP $CPPFLAGS'
42380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42383
42384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42385 /* end confdefs.h. */
42386 #include <math.h>
42387 int
42388 main ()
42389 {
42390 _modff(0, 0);
42391 ;
42392 return 0;
42393 }
42394 _ACEOF
42395 if ac_fn_cxx_try_compile "$LINENO"; then :
42396 glibcxx_cv_func__modff_use=yes
42397 else
42398 glibcxx_cv_func__modff_use=no
42399 fi
42400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42401 ac_ext=c
42402 ac_cpp='$CPP $CPPFLAGS'
42403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42406
42407
42408 fi
42409
42410 fi
42411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42412 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42413
42414 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42415 for ac_func in _modff
42416 do :
42417 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42418 if test "x$ac_cv_func__modff" = x""yes; then :
42419 cat >>confdefs.h <<_ACEOF
42420 #define HAVE__MODFF 1
42421 _ACEOF
42422
42423 fi
42424 done
42425
42426 fi
42427 fi
42428
42429
42430
42431
42432
42433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42434 $as_echo_n "checking for modf declaration... " >&6; }
42435 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42436 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42437 $as_echo_n "(cached) " >&6
42438 else
42439
42440
42441 ac_ext=cpp
42442 ac_cpp='$CXXCPP $CPPFLAGS'
42443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42446
42447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42448 /* end confdefs.h. */
42449 #include <math.h>
42450 int
42451 main ()
42452 {
42453 modf(0, 0);
42454 ;
42455 return 0;
42456 }
42457 _ACEOF
42458 if ac_fn_cxx_try_compile "$LINENO"; then :
42459 glibcxx_cv_func_modf_use=yes
42460 else
42461 glibcxx_cv_func_modf_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_modf_use" >&5
42475 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42476
42477 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42478 for ac_func in modf
42479 do :
42480 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42481 if test "x$ac_cv_func_modf" = x""yes; then :
42482 cat >>confdefs.h <<_ACEOF
42483 #define HAVE_MODF 1
42484 _ACEOF
42485
42486 fi
42487 done
42488
42489 else
42490
42491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42492 $as_echo_n "checking for _modf declaration... " >&6; }
42493 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42494 if test "${glibcxx_cv_func__modf_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 int
42509 main ()
42510 {
42511 _modf(0, 0);
42512 ;
42513 return 0;
42514 }
42515 _ACEOF
42516 if ac_fn_cxx_try_compile "$LINENO"; then :
42517 glibcxx_cv_func__modf_use=yes
42518 else
42519 glibcxx_cv_func__modf_use=no
42520 fi
42521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42522 ac_ext=c
42523 ac_cpp='$CPP $CPPFLAGS'
42524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42527
42528
42529 fi
42530
42531 fi
42532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42533 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42534
42535 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42536 for ac_func in _modf
42537 do :
42538 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42539 if test "x$ac_cv_func__modf" = x""yes; then :
42540 cat >>confdefs.h <<_ACEOF
42541 #define HAVE__MODF 1
42542 _ACEOF
42543
42544 fi
42545 done
42546
42547 fi
42548 fi
42549
42550
42551
42552
42553
42554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42555 $as_echo_n "checking for powf declaration... " >&6; }
42556 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42557 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42558 $as_echo_n "(cached) " >&6
42559 else
42560
42561
42562 ac_ext=cpp
42563 ac_cpp='$CXXCPP $CPPFLAGS'
42564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42567
42568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42569 /* end confdefs.h. */
42570 #include <math.h>
42571 int
42572 main ()
42573 {
42574 powf(0, 0);
42575 ;
42576 return 0;
42577 }
42578 _ACEOF
42579 if ac_fn_cxx_try_compile "$LINENO"; then :
42580 glibcxx_cv_func_powf_use=yes
42581 else
42582 glibcxx_cv_func_powf_use=no
42583 fi
42584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42585 ac_ext=c
42586 ac_cpp='$CPP $CPPFLAGS'
42587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42590
42591
42592 fi
42593
42594 fi
42595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42596 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42597
42598 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42599 for ac_func in powf
42600 do :
42601 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42602 if test "x$ac_cv_func_powf" = x""yes; then :
42603 cat >>confdefs.h <<_ACEOF
42604 #define HAVE_POWF 1
42605 _ACEOF
42606
42607 fi
42608 done
42609
42610 else
42611
42612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42613 $as_echo_n "checking for _powf declaration... " >&6; }
42614 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42615 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42616 $as_echo_n "(cached) " >&6
42617 else
42618
42619
42620 ac_ext=cpp
42621 ac_cpp='$CXXCPP $CPPFLAGS'
42622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42625
42626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42627 /* end confdefs.h. */
42628 #include <math.h>
42629 int
42630 main ()
42631 {
42632 _powf(0, 0);
42633 ;
42634 return 0;
42635 }
42636 _ACEOF
42637 if ac_fn_cxx_try_compile "$LINENO"; then :
42638 glibcxx_cv_func__powf_use=yes
42639 else
42640 glibcxx_cv_func__powf_use=no
42641 fi
42642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42643 ac_ext=c
42644 ac_cpp='$CPP $CPPFLAGS'
42645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42648
42649
42650 fi
42651
42652 fi
42653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42654 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42655
42656 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42657 for ac_func in _powf
42658 do :
42659 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42660 if test "x$ac_cv_func__powf" = x""yes; then :
42661 cat >>confdefs.h <<_ACEOF
42662 #define HAVE__POWF 1
42663 _ACEOF
42664
42665 fi
42666 done
42667
42668 fi
42669 fi
42670
42671
42672
42673
42674
42675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42676 $as_echo_n "checking for sqrtf declaration... " >&6; }
42677 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42678 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42679 $as_echo_n "(cached) " >&6
42680 else
42681
42682
42683 ac_ext=cpp
42684 ac_cpp='$CXXCPP $CPPFLAGS'
42685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42688
42689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42690 /* end confdefs.h. */
42691 #include <math.h>
42692 #ifdef HAVE_IEEEFP_H
42693 #include <ieeefp.h>
42694 #endif
42695
42696 int
42697 main ()
42698 {
42699 sqrtf(0);
42700 ;
42701 return 0;
42702 }
42703 _ACEOF
42704 if ac_fn_cxx_try_compile "$LINENO"; then :
42705 glibcxx_cv_func_sqrtf_use=yes
42706 else
42707 glibcxx_cv_func_sqrtf_use=no
42708 fi
42709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42710 ac_ext=c
42711 ac_cpp='$CPP $CPPFLAGS'
42712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42715
42716
42717 fi
42718
42719 fi
42720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42721 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42722
42723 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42724 for ac_func in sqrtf
42725 do :
42726 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42727 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42728 cat >>confdefs.h <<_ACEOF
42729 #define HAVE_SQRTF 1
42730 _ACEOF
42731
42732 fi
42733 done
42734
42735 else
42736
42737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42738 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42739 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42740 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42741 $as_echo_n "(cached) " >&6
42742 else
42743
42744
42745 ac_ext=cpp
42746 ac_cpp='$CXXCPP $CPPFLAGS'
42747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42750
42751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42752 /* end confdefs.h. */
42753 #include <math.h>
42754 #ifdef HAVE_IEEEFP_H
42755 #include <ieeefp.h>
42756 #endif
42757
42758 int
42759 main ()
42760 {
42761 _sqrtf(0);
42762 ;
42763 return 0;
42764 }
42765 _ACEOF
42766 if ac_fn_cxx_try_compile "$LINENO"; then :
42767 glibcxx_cv_func__sqrtf_use=yes
42768 else
42769 glibcxx_cv_func__sqrtf_use=no
42770 fi
42771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42772 ac_ext=c
42773 ac_cpp='$CPP $CPPFLAGS'
42774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42777
42778
42779 fi
42780
42781 fi
42782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42783 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42784
42785 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42786 for ac_func in _sqrtf
42787 do :
42788 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42789 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42790 cat >>confdefs.h <<_ACEOF
42791 #define HAVE__SQRTF 1
42792 _ACEOF
42793
42794 fi
42795 done
42796
42797 fi
42798 fi
42799
42800
42801
42802
42803
42804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42805 $as_echo_n "checking for sincosf declaration... " >&6; }
42806 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42807 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42808 $as_echo_n "(cached) " >&6
42809 else
42810
42811
42812 ac_ext=cpp
42813 ac_cpp='$CXXCPP $CPPFLAGS'
42814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42817
42818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42819 /* end confdefs.h. */
42820 #include <math.h>
42821 int
42822 main ()
42823 {
42824 sincosf(0, 0, 0);
42825 ;
42826 return 0;
42827 }
42828 _ACEOF
42829 if ac_fn_cxx_try_compile "$LINENO"; then :
42830 glibcxx_cv_func_sincosf_use=yes
42831 else
42832 glibcxx_cv_func_sincosf_use=no
42833 fi
42834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42835 ac_ext=c
42836 ac_cpp='$CPP $CPPFLAGS'
42837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42840
42841
42842 fi
42843
42844 fi
42845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42846 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42847
42848 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42849 for ac_func in sincosf
42850 do :
42851 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42852 if test "x$ac_cv_func_sincosf" = x""yes; then :
42853 cat >>confdefs.h <<_ACEOF
42854 #define HAVE_SINCOSF 1
42855 _ACEOF
42856
42857 fi
42858 done
42859
42860 else
42861
42862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42863 $as_echo_n "checking for _sincosf declaration... " >&6; }
42864 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42865 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42866 $as_echo_n "(cached) " >&6
42867 else
42868
42869
42870 ac_ext=cpp
42871 ac_cpp='$CXXCPP $CPPFLAGS'
42872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42875
42876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42877 /* end confdefs.h. */
42878 #include <math.h>
42879 int
42880 main ()
42881 {
42882 _sincosf(0, 0, 0);
42883 ;
42884 return 0;
42885 }
42886 _ACEOF
42887 if ac_fn_cxx_try_compile "$LINENO"; then :
42888 glibcxx_cv_func__sincosf_use=yes
42889 else
42890 glibcxx_cv_func__sincosf_use=no
42891 fi
42892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42893 ac_ext=c
42894 ac_cpp='$CPP $CPPFLAGS'
42895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42898
42899
42900 fi
42901
42902 fi
42903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42904 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42905
42906 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42907 for ac_func in _sincosf
42908 do :
42909 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42910 if test "x$ac_cv_func__sincosf" = x""yes; then :
42911 cat >>confdefs.h <<_ACEOF
42912 #define HAVE__SINCOSF 1
42913 _ACEOF
42914
42915 fi
42916 done
42917
42918 fi
42919 fi
42920
42921
42922
42923
42924
42925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42926 $as_echo_n "checking for finitef declaration... " >&6; }
42927 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42928 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42929 $as_echo_n "(cached) " >&6
42930 else
42931
42932
42933 ac_ext=cpp
42934 ac_cpp='$CXXCPP $CPPFLAGS'
42935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42938
42939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42940 /* end confdefs.h. */
42941 #include <math.h>
42942 #ifdef HAVE_IEEEFP_H
42943 #include <ieeefp.h>
42944 #endif
42945
42946 int
42947 main ()
42948 {
42949 finitef(0);
42950 ;
42951 return 0;
42952 }
42953 _ACEOF
42954 if ac_fn_cxx_try_compile "$LINENO"; then :
42955 glibcxx_cv_func_finitef_use=yes
42956 else
42957 glibcxx_cv_func_finitef_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_finitef_use" >&5
42971 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42972
42973 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42974 for ac_func in finitef
42975 do :
42976 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42977 if test "x$ac_cv_func_finitef" = x""yes; then :
42978 cat >>confdefs.h <<_ACEOF
42979 #define HAVE_FINITEF 1
42980 _ACEOF
42981
42982 fi
42983 done
42984
42985 else
42986
42987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42988 $as_echo_n "checking for _finitef declaration... " >&6; }
42989 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42990 if test "${glibcxx_cv_func__finitef_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 #ifdef HAVE_IEEEFP_H
43005 #include <ieeefp.h>
43006 #endif
43007
43008 int
43009 main ()
43010 {
43011 _finitef(0);
43012 ;
43013 return 0;
43014 }
43015 _ACEOF
43016 if ac_fn_cxx_try_compile "$LINENO"; then :
43017 glibcxx_cv_func__finitef_use=yes
43018 else
43019 glibcxx_cv_func__finitef_use=no
43020 fi
43021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43022 ac_ext=c
43023 ac_cpp='$CPP $CPPFLAGS'
43024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43027
43028
43029 fi
43030
43031 fi
43032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43033 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43034
43035 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43036 for ac_func in _finitef
43037 do :
43038 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43039 if test "x$ac_cv_func__finitef" = x""yes; then :
43040 cat >>confdefs.h <<_ACEOF
43041 #define HAVE__FINITEF 1
43042 _ACEOF
43043
43044 fi
43045 done
43046
43047 fi
43048 fi
43049
43050
43051
43052
43053
43054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43055 $as_echo_n "checking for long double trig functions... " >&6; }
43056 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43057 $as_echo_n "(cached) " >&6
43058 else
43059
43060
43061 ac_ext=cpp
43062 ac_cpp='$CXXCPP $CPPFLAGS'
43063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43066
43067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43068 /* end confdefs.h. */
43069 #include <math.h>
43070 int
43071 main ()
43072 {
43073 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43074 ;
43075 return 0;
43076 }
43077 _ACEOF
43078 if ac_fn_cxx_try_compile "$LINENO"; then :
43079 glibcxx_cv_func_long_double_trig_use=yes
43080 else
43081 glibcxx_cv_func_long_double_trig_use=no
43082 fi
43083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43084 ac_ext=c
43085 ac_cpp='$CPP $CPPFLAGS'
43086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43089
43090 fi
43091
43092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43093 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43094 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43095 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43096 do :
43097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43099 eval as_val=\$$as_ac_var
43100 if test "x$as_val" = x""yes; then :
43101 cat >>confdefs.h <<_ACEOF
43102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43103 _ACEOF
43104
43105 fi
43106 done
43107
43108 else
43109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43110 $as_echo_n "checking for _long double trig functions... " >&6; }
43111 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43112 $as_echo_n "(cached) " >&6
43113 else
43114
43115
43116 ac_ext=cpp
43117 ac_cpp='$CXXCPP $CPPFLAGS'
43118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43121
43122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43123 /* end confdefs.h. */
43124 #include <math.h>
43125 int
43126 main ()
43127 {
43128 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43129 ;
43130 return 0;
43131 }
43132 _ACEOF
43133 if ac_fn_cxx_try_compile "$LINENO"; then :
43134 glibcxx_cv_func__long_double_trig_use=yes
43135 else
43136 glibcxx_cv_func__long_double_trig_use=no
43137 fi
43138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43139 ac_ext=c
43140 ac_cpp='$CPP $CPPFLAGS'
43141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43144
43145 fi
43146
43147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43148 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43149 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43150 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43151 do :
43152 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43153 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43154 eval as_val=\$$as_ac_var
43155 if test "x$as_val" = x""yes; then :
43156 cat >>confdefs.h <<_ACEOF
43157 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43158 _ACEOF
43159
43160 fi
43161 done
43162
43163 fi
43164 fi
43165
43166
43167
43168
43169
43170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43171 $as_echo_n "checking for long double round functions... " >&6; }
43172 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43173 $as_echo_n "(cached) " >&6
43174 else
43175
43176
43177 ac_ext=cpp
43178 ac_cpp='$CXXCPP $CPPFLAGS'
43179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43182
43183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43184 /* end confdefs.h. */
43185 #include <math.h>
43186 int
43187 main ()
43188 {
43189 ceill (0); floorl (0);
43190 ;
43191 return 0;
43192 }
43193 _ACEOF
43194 if ac_fn_cxx_try_compile "$LINENO"; then :
43195 glibcxx_cv_func_long_double_round_use=yes
43196 else
43197 glibcxx_cv_func_long_double_round_use=no
43198 fi
43199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43200 ac_ext=c
43201 ac_cpp='$CPP $CPPFLAGS'
43202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43205
43206 fi
43207
43208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43209 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43210 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43211 for ac_func in ceill floorl
43212 do :
43213 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43215 eval as_val=\$$as_ac_var
43216 if test "x$as_val" = x""yes; then :
43217 cat >>confdefs.h <<_ACEOF
43218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43219 _ACEOF
43220
43221 fi
43222 done
43223
43224 else
43225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43226 $as_echo_n "checking for _long double round functions... " >&6; }
43227 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43228 $as_echo_n "(cached) " >&6
43229 else
43230
43231
43232 ac_ext=cpp
43233 ac_cpp='$CXXCPP $CPPFLAGS'
43234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43237
43238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43239 /* end confdefs.h. */
43240 #include <math.h>
43241 int
43242 main ()
43243 {
43244 _ceill (0); _floorl (0);
43245 ;
43246 return 0;
43247 }
43248 _ACEOF
43249 if ac_fn_cxx_try_compile "$LINENO"; then :
43250 glibcxx_cv_func__long_double_round_use=yes
43251 else
43252 glibcxx_cv_func__long_double_round_use=no
43253 fi
43254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43255 ac_ext=c
43256 ac_cpp='$CPP $CPPFLAGS'
43257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43260
43261 fi
43262
43263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43264 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43265 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43266 for ac_func in _ceill _floorl
43267 do :
43268 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43269 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43270 eval as_val=\$$as_ac_var
43271 if test "x$as_val" = x""yes; then :
43272 cat >>confdefs.h <<_ACEOF
43273 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43274 _ACEOF
43275
43276 fi
43277 done
43278
43279 fi
43280 fi
43281
43282
43283
43284
43285
43286
43287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43288 $as_echo_n "checking for isnanl declaration... " >&6; }
43289 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43290 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43291 $as_echo_n "(cached) " >&6
43292 else
43293
43294
43295 ac_ext=cpp
43296 ac_cpp='$CXXCPP $CPPFLAGS'
43297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43300
43301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43302 /* end confdefs.h. */
43303 #include <math.h>
43304 #ifdef HAVE_IEEEFP_H
43305 #include <ieeefp.h>
43306 #endif
43307
43308 int
43309 main ()
43310 {
43311 isnanl(0);
43312 ;
43313 return 0;
43314 }
43315 _ACEOF
43316 if ac_fn_cxx_try_compile "$LINENO"; then :
43317 glibcxx_cv_func_isnanl_use=yes
43318 else
43319 glibcxx_cv_func_isnanl_use=no
43320 fi
43321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43322 ac_ext=c
43323 ac_cpp='$CPP $CPPFLAGS'
43324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43327
43328
43329 fi
43330
43331 fi
43332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43333 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43334
43335 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43336 for ac_func in isnanl
43337 do :
43338 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43339 if test "x$ac_cv_func_isnanl" = x""yes; then :
43340 cat >>confdefs.h <<_ACEOF
43341 #define HAVE_ISNANL 1
43342 _ACEOF
43343
43344 fi
43345 done
43346
43347 else
43348
43349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43350 $as_echo_n "checking for _isnanl declaration... " >&6; }
43351 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43352 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43353 $as_echo_n "(cached) " >&6
43354 else
43355
43356
43357 ac_ext=cpp
43358 ac_cpp='$CXXCPP $CPPFLAGS'
43359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43362
43363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43364 /* end confdefs.h. */
43365 #include <math.h>
43366 #ifdef HAVE_IEEEFP_H
43367 #include <ieeefp.h>
43368 #endif
43369
43370 int
43371 main ()
43372 {
43373 _isnanl(0);
43374 ;
43375 return 0;
43376 }
43377 _ACEOF
43378 if ac_fn_cxx_try_compile "$LINENO"; then :
43379 glibcxx_cv_func__isnanl_use=yes
43380 else
43381 glibcxx_cv_func__isnanl_use=no
43382 fi
43383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43384 ac_ext=c
43385 ac_cpp='$CPP $CPPFLAGS'
43386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43389
43390
43391 fi
43392
43393 fi
43394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43395 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43396
43397 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43398 for ac_func in _isnanl
43399 do :
43400 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43401 if test "x$ac_cv_func__isnanl" = x""yes; then :
43402 cat >>confdefs.h <<_ACEOF
43403 #define HAVE__ISNANL 1
43404 _ACEOF
43405
43406 fi
43407 done
43408
43409 fi
43410 fi
43411
43412
43413
43414
43415
43416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43417 $as_echo_n "checking for isinfl declaration... " >&6; }
43418 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43419 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43420 $as_echo_n "(cached) " >&6
43421 else
43422
43423
43424 ac_ext=cpp
43425 ac_cpp='$CXXCPP $CPPFLAGS'
43426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43429
43430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43431 /* end confdefs.h. */
43432 #include <math.h>
43433 #ifdef HAVE_IEEEFP_H
43434 #include <ieeefp.h>
43435 #endif
43436
43437 int
43438 main ()
43439 {
43440 isinfl(0);
43441 ;
43442 return 0;
43443 }
43444 _ACEOF
43445 if ac_fn_cxx_try_compile "$LINENO"; then :
43446 glibcxx_cv_func_isinfl_use=yes
43447 else
43448 glibcxx_cv_func_isinfl_use=no
43449 fi
43450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43451 ac_ext=c
43452 ac_cpp='$CPP $CPPFLAGS'
43453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43456
43457
43458 fi
43459
43460 fi
43461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43462 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43463
43464 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43465 for ac_func in isinfl
43466 do :
43467 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43468 if test "x$ac_cv_func_isinfl" = x""yes; then :
43469 cat >>confdefs.h <<_ACEOF
43470 #define HAVE_ISINFL 1
43471 _ACEOF
43472
43473 fi
43474 done
43475
43476 else
43477
43478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43479 $as_echo_n "checking for _isinfl declaration... " >&6; }
43480 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43481 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43482 $as_echo_n "(cached) " >&6
43483 else
43484
43485
43486 ac_ext=cpp
43487 ac_cpp='$CXXCPP $CPPFLAGS'
43488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43491
43492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43493 /* end confdefs.h. */
43494 #include <math.h>
43495 #ifdef HAVE_IEEEFP_H
43496 #include <ieeefp.h>
43497 #endif
43498
43499 int
43500 main ()
43501 {
43502 _isinfl(0);
43503 ;
43504 return 0;
43505 }
43506 _ACEOF
43507 if ac_fn_cxx_try_compile "$LINENO"; then :
43508 glibcxx_cv_func__isinfl_use=yes
43509 else
43510 glibcxx_cv_func__isinfl_use=no
43511 fi
43512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43513 ac_ext=c
43514 ac_cpp='$CPP $CPPFLAGS'
43515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43518
43519
43520 fi
43521
43522 fi
43523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43524 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43525
43526 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43527 for ac_func in _isinfl
43528 do :
43529 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43530 if test "x$ac_cv_func__isinfl" = x""yes; then :
43531 cat >>confdefs.h <<_ACEOF
43532 #define HAVE__ISINFL 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 atan2l declaration" >&5
43546 $as_echo_n "checking for atan2l declaration... " >&6; }
43547 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43548 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43549 $as_echo_n "(cached) " >&6
43550 else
43551
43552
43553 ac_ext=cpp
43554 ac_cpp='$CXXCPP $CPPFLAGS'
43555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43558
43559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43560 /* end confdefs.h. */
43561 #include <math.h>
43562 int
43563 main ()
43564 {
43565 atan2l(0, 0);
43566 ;
43567 return 0;
43568 }
43569 _ACEOF
43570 if ac_fn_cxx_try_compile "$LINENO"; then :
43571 glibcxx_cv_func_atan2l_use=yes
43572 else
43573 glibcxx_cv_func_atan2l_use=no
43574 fi
43575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43576 ac_ext=c
43577 ac_cpp='$CPP $CPPFLAGS'
43578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43581
43582
43583 fi
43584
43585 fi
43586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43587 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43588
43589 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43590 for ac_func in atan2l
43591 do :
43592 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43593 if test "x$ac_cv_func_atan2l" = x""yes; then :
43594 cat >>confdefs.h <<_ACEOF
43595 #define HAVE_ATAN2L 1
43596 _ACEOF
43597
43598 fi
43599 done
43600
43601 else
43602
43603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43604 $as_echo_n "checking for _atan2l declaration... " >&6; }
43605 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43606 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43607 $as_echo_n "(cached) " >&6
43608 else
43609
43610
43611 ac_ext=cpp
43612 ac_cpp='$CXXCPP $CPPFLAGS'
43613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43616
43617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43618 /* end confdefs.h. */
43619 #include <math.h>
43620 int
43621 main ()
43622 {
43623 _atan2l(0, 0);
43624 ;
43625 return 0;
43626 }
43627 _ACEOF
43628 if ac_fn_cxx_try_compile "$LINENO"; then :
43629 glibcxx_cv_func__atan2l_use=yes
43630 else
43631 glibcxx_cv_func__atan2l_use=no
43632 fi
43633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43634 ac_ext=c
43635 ac_cpp='$CPP $CPPFLAGS'
43636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43639
43640
43641 fi
43642
43643 fi
43644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43645 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43646
43647 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43648 for ac_func in _atan2l
43649 do :
43650 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43651 if test "x$ac_cv_func__atan2l" = x""yes; then :
43652 cat >>confdefs.h <<_ACEOF
43653 #define HAVE__ATAN2L 1
43654 _ACEOF
43655
43656 fi
43657 done
43658
43659 fi
43660 fi
43661
43662
43663
43664
43665
43666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43667 $as_echo_n "checking for expl declaration... " >&6; }
43668 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43669 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43670 $as_echo_n "(cached) " >&6
43671 else
43672
43673
43674 ac_ext=cpp
43675 ac_cpp='$CXXCPP $CPPFLAGS'
43676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43679
43680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43681 /* end confdefs.h. */
43682 #include <math.h>
43683 #ifdef HAVE_IEEEFP_H
43684 #include <ieeefp.h>
43685 #endif
43686
43687 int
43688 main ()
43689 {
43690 expl(0);
43691 ;
43692 return 0;
43693 }
43694 _ACEOF
43695 if ac_fn_cxx_try_compile "$LINENO"; then :
43696 glibcxx_cv_func_expl_use=yes
43697 else
43698 glibcxx_cv_func_expl_use=no
43699 fi
43700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43701 ac_ext=c
43702 ac_cpp='$CPP $CPPFLAGS'
43703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43706
43707
43708 fi
43709
43710 fi
43711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43712 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43713
43714 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43715 for ac_func in expl
43716 do :
43717 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43718 if test "x$ac_cv_func_expl" = x""yes; then :
43719 cat >>confdefs.h <<_ACEOF
43720 #define HAVE_EXPL 1
43721 _ACEOF
43722
43723 fi
43724 done
43725
43726 else
43727
43728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43729 $as_echo_n "checking for _expl declaration... " >&6; }
43730 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43731 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43732 $as_echo_n "(cached) " >&6
43733 else
43734
43735
43736 ac_ext=cpp
43737 ac_cpp='$CXXCPP $CPPFLAGS'
43738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43741
43742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43743 /* end confdefs.h. */
43744 #include <math.h>
43745 #ifdef HAVE_IEEEFP_H
43746 #include <ieeefp.h>
43747 #endif
43748
43749 int
43750 main ()
43751 {
43752 _expl(0);
43753 ;
43754 return 0;
43755 }
43756 _ACEOF
43757 if ac_fn_cxx_try_compile "$LINENO"; then :
43758 glibcxx_cv_func__expl_use=yes
43759 else
43760 glibcxx_cv_func__expl_use=no
43761 fi
43762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43763 ac_ext=c
43764 ac_cpp='$CPP $CPPFLAGS'
43765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43768
43769
43770 fi
43771
43772 fi
43773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43774 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43775
43776 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43777 for ac_func in _expl
43778 do :
43779 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43780 if test "x$ac_cv_func__expl" = x""yes; then :
43781 cat >>confdefs.h <<_ACEOF
43782 #define HAVE__EXPL 1
43783 _ACEOF
43784
43785 fi
43786 done
43787
43788 fi
43789 fi
43790
43791
43792
43793
43794
43795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43796 $as_echo_n "checking for fabsl declaration... " >&6; }
43797 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43798 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43799 $as_echo_n "(cached) " >&6
43800 else
43801
43802
43803 ac_ext=cpp
43804 ac_cpp='$CXXCPP $CPPFLAGS'
43805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43808
43809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43810 /* end confdefs.h. */
43811 #include <math.h>
43812 #ifdef HAVE_IEEEFP_H
43813 #include <ieeefp.h>
43814 #endif
43815
43816 int
43817 main ()
43818 {
43819 fabsl(0);
43820 ;
43821 return 0;
43822 }
43823 _ACEOF
43824 if ac_fn_cxx_try_compile "$LINENO"; then :
43825 glibcxx_cv_func_fabsl_use=yes
43826 else
43827 glibcxx_cv_func_fabsl_use=no
43828 fi
43829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43830 ac_ext=c
43831 ac_cpp='$CPP $CPPFLAGS'
43832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43835
43836
43837 fi
43838
43839 fi
43840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43841 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43842
43843 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43844 for ac_func in fabsl
43845 do :
43846 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43847 if test "x$ac_cv_func_fabsl" = x""yes; then :
43848 cat >>confdefs.h <<_ACEOF
43849 #define HAVE_FABSL 1
43850 _ACEOF
43851
43852 fi
43853 done
43854
43855 else
43856
43857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43858 $as_echo_n "checking for _fabsl declaration... " >&6; }
43859 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43860 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43861 $as_echo_n "(cached) " >&6
43862 else
43863
43864
43865 ac_ext=cpp
43866 ac_cpp='$CXXCPP $CPPFLAGS'
43867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43870
43871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43872 /* end confdefs.h. */
43873 #include <math.h>
43874 #ifdef HAVE_IEEEFP_H
43875 #include <ieeefp.h>
43876 #endif
43877
43878 int
43879 main ()
43880 {
43881 _fabsl(0);
43882 ;
43883 return 0;
43884 }
43885 _ACEOF
43886 if ac_fn_cxx_try_compile "$LINENO"; then :
43887 glibcxx_cv_func__fabsl_use=yes
43888 else
43889 glibcxx_cv_func__fabsl_use=no
43890 fi
43891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43892 ac_ext=c
43893 ac_cpp='$CPP $CPPFLAGS'
43894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43897
43898
43899 fi
43900
43901 fi
43902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43903 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43904
43905 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43906 for ac_func in _fabsl
43907 do :
43908 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43909 if test "x$ac_cv_func__fabsl" = x""yes; then :
43910 cat >>confdefs.h <<_ACEOF
43911 #define HAVE__FABSL 1
43912 _ACEOF
43913
43914 fi
43915 done
43916
43917 fi
43918 fi
43919
43920
43921
43922
43923
43924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43925 $as_echo_n "checking for fmodl declaration... " >&6; }
43926 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43927 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43928 $as_echo_n "(cached) " >&6
43929 else
43930
43931
43932 ac_ext=cpp
43933 ac_cpp='$CXXCPP $CPPFLAGS'
43934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43937
43938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43939 /* end confdefs.h. */
43940 #include <math.h>
43941 int
43942 main ()
43943 {
43944 fmodl(0, 0);
43945 ;
43946 return 0;
43947 }
43948 _ACEOF
43949 if ac_fn_cxx_try_compile "$LINENO"; then :
43950 glibcxx_cv_func_fmodl_use=yes
43951 else
43952 glibcxx_cv_func_fmodl_use=no
43953 fi
43954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43955 ac_ext=c
43956 ac_cpp='$CPP $CPPFLAGS'
43957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43960
43961
43962 fi
43963
43964 fi
43965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43966 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43967
43968 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43969 for ac_func in fmodl
43970 do :
43971 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43972 if test "x$ac_cv_func_fmodl" = x""yes; then :
43973 cat >>confdefs.h <<_ACEOF
43974 #define HAVE_FMODL 1
43975 _ACEOF
43976
43977 fi
43978 done
43979
43980 else
43981
43982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43983 $as_echo_n "checking for _fmodl declaration... " >&6; }
43984 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43985 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43986 $as_echo_n "(cached) " >&6
43987 else
43988
43989
43990 ac_ext=cpp
43991 ac_cpp='$CXXCPP $CPPFLAGS'
43992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43995
43996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43997 /* end confdefs.h. */
43998 #include <math.h>
43999 int
44000 main ()
44001 {
44002 _fmodl(0, 0);
44003 ;
44004 return 0;
44005 }
44006 _ACEOF
44007 if ac_fn_cxx_try_compile "$LINENO"; then :
44008 glibcxx_cv_func__fmodl_use=yes
44009 else
44010 glibcxx_cv_func__fmodl_use=no
44011 fi
44012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44013 ac_ext=c
44014 ac_cpp='$CPP $CPPFLAGS'
44015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44018
44019
44020 fi
44021
44022 fi
44023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44024 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44025
44026 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44027 for ac_func in _fmodl
44028 do :
44029 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44030 if test "x$ac_cv_func__fmodl" = x""yes; then :
44031 cat >>confdefs.h <<_ACEOF
44032 #define HAVE__FMODL 1
44033 _ACEOF
44034
44035 fi
44036 done
44037
44038 fi
44039 fi
44040
44041
44042
44043
44044
44045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44046 $as_echo_n "checking for frexpl declaration... " >&6; }
44047 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44048 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44049 $as_echo_n "(cached) " >&6
44050 else
44051
44052
44053 ac_ext=cpp
44054 ac_cpp='$CXXCPP $CPPFLAGS'
44055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44058
44059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44060 /* end confdefs.h. */
44061 #include <math.h>
44062 int
44063 main ()
44064 {
44065 frexpl(0, 0);
44066 ;
44067 return 0;
44068 }
44069 _ACEOF
44070 if ac_fn_cxx_try_compile "$LINENO"; then :
44071 glibcxx_cv_func_frexpl_use=yes
44072 else
44073 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
44087 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44088
44089 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44090 for ac_func in frexpl
44091 do :
44092 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44093 if test "x$ac_cv_func_frexpl" = x""yes; then :
44094 cat >>confdefs.h <<_ACEOF
44095 #define HAVE_FREXPL 1
44096 _ACEOF
44097
44098 fi
44099 done
44100
44101 else
44102
44103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44104 $as_echo_n "checking for _frexpl declaration... " >&6; }
44105 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44106 if test "${glibcxx_cv_func__frexpl_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 int
44121 main ()
44122 {
44123 _frexpl(0, 0);
44124 ;
44125 return 0;
44126 }
44127 _ACEOF
44128 if ac_fn_cxx_try_compile "$LINENO"; then :
44129 glibcxx_cv_func__frexpl_use=yes
44130 else
44131 glibcxx_cv_func__frexpl_use=no
44132 fi
44133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44134 ac_ext=c
44135 ac_cpp='$CPP $CPPFLAGS'
44136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44139
44140
44141 fi
44142
44143 fi
44144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44145 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44146
44147 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44148 for ac_func in _frexpl
44149 do :
44150 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44151 if test "x$ac_cv_func__frexpl" = x""yes; then :
44152 cat >>confdefs.h <<_ACEOF
44153 #define HAVE__FREXPL 1
44154 _ACEOF
44155
44156 fi
44157 done
44158
44159 fi
44160 fi
44161
44162
44163
44164
44165
44166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44167 $as_echo_n "checking for hypotl declaration... " >&6; }
44168 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44169 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44170 $as_echo_n "(cached) " >&6
44171 else
44172
44173
44174 ac_ext=cpp
44175 ac_cpp='$CXXCPP $CPPFLAGS'
44176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44179
44180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44181 /* end confdefs.h. */
44182 #include <math.h>
44183 int
44184 main ()
44185 {
44186 hypotl(0, 0);
44187 ;
44188 return 0;
44189 }
44190 _ACEOF
44191 if ac_fn_cxx_try_compile "$LINENO"; then :
44192 glibcxx_cv_func_hypotl_use=yes
44193 else
44194 glibcxx_cv_func_hypotl_use=no
44195 fi
44196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44197 ac_ext=c
44198 ac_cpp='$CPP $CPPFLAGS'
44199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44202
44203
44204 fi
44205
44206 fi
44207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44208 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44209
44210 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44211 for ac_func in hypotl
44212 do :
44213 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44214 if test "x$ac_cv_func_hypotl" = x""yes; then :
44215 cat >>confdefs.h <<_ACEOF
44216 #define HAVE_HYPOTL 1
44217 _ACEOF
44218
44219 fi
44220 done
44221
44222 else
44223
44224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44225 $as_echo_n "checking for _hypotl declaration... " >&6; }
44226 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44227 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44228 $as_echo_n "(cached) " >&6
44229 else
44230
44231
44232 ac_ext=cpp
44233 ac_cpp='$CXXCPP $CPPFLAGS'
44234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44237
44238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44239 /* end confdefs.h. */
44240 #include <math.h>
44241 int
44242 main ()
44243 {
44244 _hypotl(0, 0);
44245 ;
44246 return 0;
44247 }
44248 _ACEOF
44249 if ac_fn_cxx_try_compile "$LINENO"; then :
44250 glibcxx_cv_func__hypotl_use=yes
44251 else
44252 glibcxx_cv_func__hypotl_use=no
44253 fi
44254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44255 ac_ext=c
44256 ac_cpp='$CPP $CPPFLAGS'
44257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44260
44261
44262 fi
44263
44264 fi
44265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44266 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44267
44268 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44269 for ac_func in _hypotl
44270 do :
44271 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44272 if test "x$ac_cv_func__hypotl" = x""yes; then :
44273 cat >>confdefs.h <<_ACEOF
44274 #define HAVE__HYPOTL 1
44275 _ACEOF
44276
44277 fi
44278 done
44279
44280 fi
44281 fi
44282
44283
44284
44285
44286
44287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44288 $as_echo_n "checking for ldexpl declaration... " >&6; }
44289 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44290 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44291 $as_echo_n "(cached) " >&6
44292 else
44293
44294
44295 ac_ext=cpp
44296 ac_cpp='$CXXCPP $CPPFLAGS'
44297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44300
44301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44302 /* end confdefs.h. */
44303 #include <math.h>
44304 int
44305 main ()
44306 {
44307 ldexpl(0, 0);
44308 ;
44309 return 0;
44310 }
44311 _ACEOF
44312 if ac_fn_cxx_try_compile "$LINENO"; then :
44313 glibcxx_cv_func_ldexpl_use=yes
44314 else
44315 glibcxx_cv_func_ldexpl_use=no
44316 fi
44317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44318 ac_ext=c
44319 ac_cpp='$CPP $CPPFLAGS'
44320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44323
44324
44325 fi
44326
44327 fi
44328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44329 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44330
44331 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44332 for ac_func in ldexpl
44333 do :
44334 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44335 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44336 cat >>confdefs.h <<_ACEOF
44337 #define HAVE_LDEXPL 1
44338 _ACEOF
44339
44340 fi
44341 done
44342
44343 else
44344
44345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44346 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44347 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44348 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44349 $as_echo_n "(cached) " >&6
44350 else
44351
44352
44353 ac_ext=cpp
44354 ac_cpp='$CXXCPP $CPPFLAGS'
44355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44358
44359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44360 /* end confdefs.h. */
44361 #include <math.h>
44362 int
44363 main ()
44364 {
44365 _ldexpl(0, 0);
44366 ;
44367 return 0;
44368 }
44369 _ACEOF
44370 if ac_fn_cxx_try_compile "$LINENO"; then :
44371 glibcxx_cv_func__ldexpl_use=yes
44372 else
44373 glibcxx_cv_func__ldexpl_use=no
44374 fi
44375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44376 ac_ext=c
44377 ac_cpp='$CPP $CPPFLAGS'
44378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44381
44382
44383 fi
44384
44385 fi
44386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44387 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44388
44389 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44390 for ac_func in _ldexpl
44391 do :
44392 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44393 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44394 cat >>confdefs.h <<_ACEOF
44395 #define HAVE__LDEXPL 1
44396 _ACEOF
44397
44398 fi
44399 done
44400
44401 fi
44402 fi
44403
44404
44405
44406
44407
44408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44409 $as_echo_n "checking for logl declaration... " >&6; }
44410 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44411 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44412 $as_echo_n "(cached) " >&6
44413 else
44414
44415
44416 ac_ext=cpp
44417 ac_cpp='$CXXCPP $CPPFLAGS'
44418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44421
44422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44423 /* end confdefs.h. */
44424 #include <math.h>
44425 #ifdef HAVE_IEEEFP_H
44426 #include <ieeefp.h>
44427 #endif
44428
44429 int
44430 main ()
44431 {
44432 logl(0);
44433 ;
44434 return 0;
44435 }
44436 _ACEOF
44437 if ac_fn_cxx_try_compile "$LINENO"; then :
44438 glibcxx_cv_func_logl_use=yes
44439 else
44440 glibcxx_cv_func_logl_use=no
44441 fi
44442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44443 ac_ext=c
44444 ac_cpp='$CPP $CPPFLAGS'
44445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44448
44449
44450 fi
44451
44452 fi
44453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44454 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44455
44456 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44457 for ac_func in logl
44458 do :
44459 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44460 if test "x$ac_cv_func_logl" = x""yes; then :
44461 cat >>confdefs.h <<_ACEOF
44462 #define HAVE_LOGL 1
44463 _ACEOF
44464
44465 fi
44466 done
44467
44468 else
44469
44470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44471 $as_echo_n "checking for _logl declaration... " >&6; }
44472 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44473 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44474 $as_echo_n "(cached) " >&6
44475 else
44476
44477
44478 ac_ext=cpp
44479 ac_cpp='$CXXCPP $CPPFLAGS'
44480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44483
44484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44485 /* end confdefs.h. */
44486 #include <math.h>
44487 #ifdef HAVE_IEEEFP_H
44488 #include <ieeefp.h>
44489 #endif
44490
44491 int
44492 main ()
44493 {
44494 _logl(0);
44495 ;
44496 return 0;
44497 }
44498 _ACEOF
44499 if ac_fn_cxx_try_compile "$LINENO"; then :
44500 glibcxx_cv_func__logl_use=yes
44501 else
44502 glibcxx_cv_func__logl_use=no
44503 fi
44504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44505 ac_ext=c
44506 ac_cpp='$CPP $CPPFLAGS'
44507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44510
44511
44512 fi
44513
44514 fi
44515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44516 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44517
44518 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44519 for ac_func in _logl
44520 do :
44521 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44522 if test "x$ac_cv_func__logl" = x""yes; then :
44523 cat >>confdefs.h <<_ACEOF
44524 #define HAVE__LOGL 1
44525 _ACEOF
44526
44527 fi
44528 done
44529
44530 fi
44531 fi
44532
44533
44534
44535
44536
44537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44538 $as_echo_n "checking for log10l declaration... " >&6; }
44539 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44540 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44541 $as_echo_n "(cached) " >&6
44542 else
44543
44544
44545 ac_ext=cpp
44546 ac_cpp='$CXXCPP $CPPFLAGS'
44547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44550
44551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44552 /* end confdefs.h. */
44553 #include <math.h>
44554 #ifdef HAVE_IEEEFP_H
44555 #include <ieeefp.h>
44556 #endif
44557
44558 int
44559 main ()
44560 {
44561 log10l(0);
44562 ;
44563 return 0;
44564 }
44565 _ACEOF
44566 if ac_fn_cxx_try_compile "$LINENO"; then :
44567 glibcxx_cv_func_log10l_use=yes
44568 else
44569 glibcxx_cv_func_log10l_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_log10l_use" >&5
44583 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44584
44585 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44586 for ac_func in log10l
44587 do :
44588 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44589 if test "x$ac_cv_func_log10l" = x""yes; then :
44590 cat >>confdefs.h <<_ACEOF
44591 #define HAVE_LOG10L 1
44592 _ACEOF
44593
44594 fi
44595 done
44596
44597 else
44598
44599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44600 $as_echo_n "checking for _log10l declaration... " >&6; }
44601 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44602 if test "${glibcxx_cv_func__log10l_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 #ifdef HAVE_IEEEFP_H
44617 #include <ieeefp.h>
44618 #endif
44619
44620 int
44621 main ()
44622 {
44623 _log10l(0);
44624 ;
44625 return 0;
44626 }
44627 _ACEOF
44628 if ac_fn_cxx_try_compile "$LINENO"; then :
44629 glibcxx_cv_func__log10l_use=yes
44630 else
44631 glibcxx_cv_func__log10l_use=no
44632 fi
44633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44634 ac_ext=c
44635 ac_cpp='$CPP $CPPFLAGS'
44636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44639
44640
44641 fi
44642
44643 fi
44644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44645 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44646
44647 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44648 for ac_func in _log10l
44649 do :
44650 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44651 if test "x$ac_cv_func__log10l" = x""yes; then :
44652 cat >>confdefs.h <<_ACEOF
44653 #define HAVE__LOG10L 1
44654 _ACEOF
44655
44656 fi
44657 done
44658
44659 fi
44660 fi
44661
44662
44663
44664
44665
44666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44667 $as_echo_n "checking for modfl declaration... " >&6; }
44668 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44669 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44670 $as_echo_n "(cached) " >&6
44671 else
44672
44673
44674 ac_ext=cpp
44675 ac_cpp='$CXXCPP $CPPFLAGS'
44676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44679
44680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44681 /* end confdefs.h. */
44682 #include <math.h>
44683 int
44684 main ()
44685 {
44686 modfl(0, 0);
44687 ;
44688 return 0;
44689 }
44690 _ACEOF
44691 if ac_fn_cxx_try_compile "$LINENO"; then :
44692 glibcxx_cv_func_modfl_use=yes
44693 else
44694 glibcxx_cv_func_modfl_use=no
44695 fi
44696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44697 ac_ext=c
44698 ac_cpp='$CPP $CPPFLAGS'
44699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44702
44703
44704 fi
44705
44706 fi
44707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44708 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44709
44710 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44711 for ac_func in modfl
44712 do :
44713 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44714 if test "x$ac_cv_func_modfl" = x""yes; then :
44715 cat >>confdefs.h <<_ACEOF
44716 #define HAVE_MODFL 1
44717 _ACEOF
44718
44719 fi
44720 done
44721
44722 else
44723
44724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44725 $as_echo_n "checking for _modfl declaration... " >&6; }
44726 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44727 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44728 $as_echo_n "(cached) " >&6
44729 else
44730
44731
44732 ac_ext=cpp
44733 ac_cpp='$CXXCPP $CPPFLAGS'
44734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44737
44738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44739 /* end confdefs.h. */
44740 #include <math.h>
44741 int
44742 main ()
44743 {
44744 _modfl(0, 0);
44745 ;
44746 return 0;
44747 }
44748 _ACEOF
44749 if ac_fn_cxx_try_compile "$LINENO"; then :
44750 glibcxx_cv_func__modfl_use=yes
44751 else
44752 glibcxx_cv_func__modfl_use=no
44753 fi
44754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44755 ac_ext=c
44756 ac_cpp='$CPP $CPPFLAGS'
44757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44760
44761
44762 fi
44763
44764 fi
44765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44766 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44767
44768 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44769 for ac_func in _modfl
44770 do :
44771 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44772 if test "x$ac_cv_func__modfl" = x""yes; then :
44773 cat >>confdefs.h <<_ACEOF
44774 #define HAVE__MODFL 1
44775 _ACEOF
44776
44777 fi
44778 done
44779
44780 fi
44781 fi
44782
44783
44784
44785
44786
44787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44788 $as_echo_n "checking for powl declaration... " >&6; }
44789 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44790 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44791 $as_echo_n "(cached) " >&6
44792 else
44793
44794
44795 ac_ext=cpp
44796 ac_cpp='$CXXCPP $CPPFLAGS'
44797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44800
44801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44802 /* end confdefs.h. */
44803 #include <math.h>
44804 int
44805 main ()
44806 {
44807 powl(0, 0);
44808 ;
44809 return 0;
44810 }
44811 _ACEOF
44812 if ac_fn_cxx_try_compile "$LINENO"; then :
44813 glibcxx_cv_func_powl_use=yes
44814 else
44815 glibcxx_cv_func_powl_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_powl_use" >&5
44829 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44830
44831 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44832 for ac_func in powl
44833 do :
44834 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44835 if test "x$ac_cv_func_powl" = x""yes; then :
44836 cat >>confdefs.h <<_ACEOF
44837 #define HAVE_POWL 1
44838 _ACEOF
44839
44840 fi
44841 done
44842
44843 else
44844
44845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44846 $as_echo_n "checking for _powl declaration... " >&6; }
44847 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44848 if test "${glibcxx_cv_func__powl_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 int
44863 main ()
44864 {
44865 _powl(0, 0);
44866 ;
44867 return 0;
44868 }
44869 _ACEOF
44870 if ac_fn_cxx_try_compile "$LINENO"; then :
44871 glibcxx_cv_func__powl_use=yes
44872 else
44873 glibcxx_cv_func__powl_use=no
44874 fi
44875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44876 ac_ext=c
44877 ac_cpp='$CPP $CPPFLAGS'
44878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44881
44882
44883 fi
44884
44885 fi
44886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44887 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44888
44889 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44890 for ac_func in _powl
44891 do :
44892 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44893 if test "x$ac_cv_func__powl" = x""yes; then :
44894 cat >>confdefs.h <<_ACEOF
44895 #define HAVE__POWL 1
44896 _ACEOF
44897
44898 fi
44899 done
44900
44901 fi
44902 fi
44903
44904
44905
44906
44907
44908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44909 $as_echo_n "checking for sqrtl declaration... " >&6; }
44910 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44911 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44912 $as_echo_n "(cached) " >&6
44913 else
44914
44915
44916 ac_ext=cpp
44917 ac_cpp='$CXXCPP $CPPFLAGS'
44918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44921
44922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44923 /* end confdefs.h. */
44924 #include <math.h>
44925 #ifdef HAVE_IEEEFP_H
44926 #include <ieeefp.h>
44927 #endif
44928
44929 int
44930 main ()
44931 {
44932 sqrtl(0);
44933 ;
44934 return 0;
44935 }
44936 _ACEOF
44937 if ac_fn_cxx_try_compile "$LINENO"; then :
44938 glibcxx_cv_func_sqrtl_use=yes
44939 else
44940 glibcxx_cv_func_sqrtl_use=no
44941 fi
44942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44943 ac_ext=c
44944 ac_cpp='$CPP $CPPFLAGS'
44945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44948
44949
44950 fi
44951
44952 fi
44953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44954 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44955
44956 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44957 for ac_func in sqrtl
44958 do :
44959 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44960 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44961 cat >>confdefs.h <<_ACEOF
44962 #define HAVE_SQRTL 1
44963 _ACEOF
44964
44965 fi
44966 done
44967
44968 else
44969
44970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44971 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44972 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44973 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44974 $as_echo_n "(cached) " >&6
44975 else
44976
44977
44978 ac_ext=cpp
44979 ac_cpp='$CXXCPP $CPPFLAGS'
44980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44983
44984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44985 /* end confdefs.h. */
44986 #include <math.h>
44987 #ifdef HAVE_IEEEFP_H
44988 #include <ieeefp.h>
44989 #endif
44990
44991 int
44992 main ()
44993 {
44994 _sqrtl(0);
44995 ;
44996 return 0;
44997 }
44998 _ACEOF
44999 if ac_fn_cxx_try_compile "$LINENO"; then :
45000 glibcxx_cv_func__sqrtl_use=yes
45001 else
45002 glibcxx_cv_func__sqrtl_use=no
45003 fi
45004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45005 ac_ext=c
45006 ac_cpp='$CPP $CPPFLAGS'
45007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45010
45011
45012 fi
45013
45014 fi
45015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45016 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45017
45018 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45019 for ac_func in _sqrtl
45020 do :
45021 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45022 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45023 cat >>confdefs.h <<_ACEOF
45024 #define HAVE__SQRTL 1
45025 _ACEOF
45026
45027 fi
45028 done
45029
45030 fi
45031 fi
45032
45033
45034
45035
45036
45037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45038 $as_echo_n "checking for sincosl declaration... " >&6; }
45039 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45040 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45041 $as_echo_n "(cached) " >&6
45042 else
45043
45044
45045 ac_ext=cpp
45046 ac_cpp='$CXXCPP $CPPFLAGS'
45047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45050
45051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45052 /* end confdefs.h. */
45053 #include <math.h>
45054 int
45055 main ()
45056 {
45057 sincosl(0, 0, 0);
45058 ;
45059 return 0;
45060 }
45061 _ACEOF
45062 if ac_fn_cxx_try_compile "$LINENO"; then :
45063 glibcxx_cv_func_sincosl_use=yes
45064 else
45065 glibcxx_cv_func_sincosl_use=no
45066 fi
45067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45068 ac_ext=c
45069 ac_cpp='$CPP $CPPFLAGS'
45070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45073
45074
45075 fi
45076
45077 fi
45078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45079 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45080
45081 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45082 for ac_func in sincosl
45083 do :
45084 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45085 if test "x$ac_cv_func_sincosl" = x""yes; then :
45086 cat >>confdefs.h <<_ACEOF
45087 #define HAVE_SINCOSL 1
45088 _ACEOF
45089
45090 fi
45091 done
45092
45093 else
45094
45095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45096 $as_echo_n "checking for _sincosl declaration... " >&6; }
45097 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45098 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45099 $as_echo_n "(cached) " >&6
45100 else
45101
45102
45103 ac_ext=cpp
45104 ac_cpp='$CXXCPP $CPPFLAGS'
45105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45108
45109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45110 /* end confdefs.h. */
45111 #include <math.h>
45112 int
45113 main ()
45114 {
45115 _sincosl(0, 0, 0);
45116 ;
45117 return 0;
45118 }
45119 _ACEOF
45120 if ac_fn_cxx_try_compile "$LINENO"; then :
45121 glibcxx_cv_func__sincosl_use=yes
45122 else
45123 glibcxx_cv_func__sincosl_use=no
45124 fi
45125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45126 ac_ext=c
45127 ac_cpp='$CPP $CPPFLAGS'
45128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45131
45132
45133 fi
45134
45135 fi
45136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45137 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45138
45139 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45140 for ac_func in _sincosl
45141 do :
45142 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45143 if test "x$ac_cv_func__sincosl" = x""yes; then :
45144 cat >>confdefs.h <<_ACEOF
45145 #define HAVE__SINCOSL 1
45146 _ACEOF
45147
45148 fi
45149 done
45150
45151 fi
45152 fi
45153
45154
45155
45156
45157
45158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45159 $as_echo_n "checking for finitel declaration... " >&6; }
45160 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45161 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45162 $as_echo_n "(cached) " >&6
45163 else
45164
45165
45166 ac_ext=cpp
45167 ac_cpp='$CXXCPP $CPPFLAGS'
45168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45171
45172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45173 /* end confdefs.h. */
45174 #include <math.h>
45175 #ifdef HAVE_IEEEFP_H
45176 #include <ieeefp.h>
45177 #endif
45178
45179 int
45180 main ()
45181 {
45182 finitel(0);
45183 ;
45184 return 0;
45185 }
45186 _ACEOF
45187 if ac_fn_cxx_try_compile "$LINENO"; then :
45188 glibcxx_cv_func_finitel_use=yes
45189 else
45190 glibcxx_cv_func_finitel_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_finitel_use" >&5
45204 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45205
45206 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45207 for ac_func in finitel
45208 do :
45209 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45210 if test "x$ac_cv_func_finitel" = x""yes; then :
45211 cat >>confdefs.h <<_ACEOF
45212 #define HAVE_FINITEL 1
45213 _ACEOF
45214
45215 fi
45216 done
45217
45218 else
45219
45220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45221 $as_echo_n "checking for _finitel declaration... " >&6; }
45222 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45223 if test "${glibcxx_cv_func__finitel_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 #ifdef HAVE_IEEEFP_H
45238 #include <ieeefp.h>
45239 #endif
45240
45241 int
45242 main ()
45243 {
45244 _finitel(0);
45245 ;
45246 return 0;
45247 }
45248 _ACEOF
45249 if ac_fn_cxx_try_compile "$LINENO"; then :
45250 glibcxx_cv_func__finitel_use=yes
45251 else
45252 glibcxx_cv_func__finitel_use=no
45253 fi
45254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45255 ac_ext=c
45256 ac_cpp='$CPP $CPPFLAGS'
45257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45260
45261
45262 fi
45263
45264 fi
45265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45266 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45267
45268 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45269 for ac_func in _finitel
45270 do :
45271 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45272 if test "x$ac_cv_func__finitel" = x""yes; then :
45273 cat >>confdefs.h <<_ACEOF
45274 #define HAVE__FINITEL 1
45275 _ACEOF
45276
45277 fi
45278 done
45279
45280 fi
45281 fi
45282
45283
45284
45285
45286 LIBS="$ac_save_LIBS"
45287 CXXFLAGS="$ac_save_CXXFLAGS"
45288
45289
45290 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45291 ac_save_CXXFLAGS="$CXXFLAGS"
45292 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45293
45294
45295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45296 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45297 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45298 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45299 $as_echo_n "(cached) " >&6
45300 else
45301
45302
45303 ac_ext=cpp
45304 ac_cpp='$CXXCPP $CPPFLAGS'
45305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45308
45309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45310 /* end confdefs.h. */
45311 #include <stdlib.h>
45312 int
45313 main ()
45314 {
45315 at_quick_exit(0);
45316 ;
45317 return 0;
45318 }
45319 _ACEOF
45320 if ac_fn_cxx_try_compile "$LINENO"; then :
45321 glibcxx_cv_func_at_quick_exit_use=yes
45322 else
45323 glibcxx_cv_func_at_quick_exit_use=no
45324 fi
45325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45326 ac_ext=c
45327 ac_cpp='$CPP $CPPFLAGS'
45328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45331
45332
45333 fi
45334
45335 fi
45336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45337 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45338 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45339 for ac_func in at_quick_exit
45340 do :
45341 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45342 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45343 cat >>confdefs.h <<_ACEOF
45344 #define HAVE_AT_QUICK_EXIT 1
45345 _ACEOF
45346
45347 fi
45348 done
45349
45350 fi
45351
45352
45353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45354 $as_echo_n "checking for quick_exit declaration... " >&6; }
45355 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45356 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45357 $as_echo_n "(cached) " >&6
45358 else
45359
45360
45361 ac_ext=cpp
45362 ac_cpp='$CXXCPP $CPPFLAGS'
45363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45366
45367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45368 /* end confdefs.h. */
45369 #include <stdlib.h>
45370 int
45371 main ()
45372 {
45373 quick_exit(0);
45374 ;
45375 return 0;
45376 }
45377 _ACEOF
45378 if ac_fn_cxx_try_compile "$LINENO"; then :
45379 glibcxx_cv_func_quick_exit_use=yes
45380 else
45381 glibcxx_cv_func_quick_exit_use=no
45382 fi
45383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45384 ac_ext=c
45385 ac_cpp='$CPP $CPPFLAGS'
45386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45389
45390
45391 fi
45392
45393 fi
45394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45395 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45396 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45397 for ac_func in quick_exit
45398 do :
45399 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45400 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45401 cat >>confdefs.h <<_ACEOF
45402 #define HAVE_QUICK_EXIT 1
45403 _ACEOF
45404
45405 fi
45406 done
45407
45408 fi
45409
45410
45411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45412 $as_echo_n "checking for strtold declaration... " >&6; }
45413 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45414 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45415 $as_echo_n "(cached) " >&6
45416 else
45417
45418
45419 ac_ext=cpp
45420 ac_cpp='$CXXCPP $CPPFLAGS'
45421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45424
45425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45426 /* end confdefs.h. */
45427 #include <stdlib.h>
45428 int
45429 main ()
45430 {
45431 strtold(0, 0);
45432 ;
45433 return 0;
45434 }
45435 _ACEOF
45436 if ac_fn_cxx_try_compile "$LINENO"; then :
45437 glibcxx_cv_func_strtold_use=yes
45438 else
45439 glibcxx_cv_func_strtold_use=no
45440 fi
45441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45442 ac_ext=c
45443 ac_cpp='$CPP $CPPFLAGS'
45444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45447
45448
45449 fi
45450
45451 fi
45452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45453 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45454 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45455 for ac_func in strtold
45456 do :
45457 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45458 if test "x$ac_cv_func_strtold" = x""yes; then :
45459 cat >>confdefs.h <<_ACEOF
45460 #define HAVE_STRTOLD 1
45461 _ACEOF
45462
45463 fi
45464 done
45465
45466 fi
45467
45468
45469
45470
45471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45472 $as_echo_n "checking for strtof declaration... " >&6; }
45473 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45474 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45475 $as_echo_n "(cached) " >&6
45476 else
45477
45478
45479 ac_ext=cpp
45480 ac_cpp='$CXXCPP $CPPFLAGS'
45481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45484
45485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45486 /* end confdefs.h. */
45487 #include <stdlib.h>
45488 int
45489 main ()
45490 {
45491 strtof(0, 0);
45492 ;
45493 return 0;
45494 }
45495 _ACEOF
45496 if ac_fn_cxx_try_compile "$LINENO"; then :
45497 glibcxx_cv_func_strtof_use=yes
45498 else
45499 glibcxx_cv_func_strtof_use=no
45500 fi
45501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45502 ac_ext=c
45503 ac_cpp='$CPP $CPPFLAGS'
45504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45507
45508
45509 fi
45510
45511 fi
45512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45513 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45514 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45515 for ac_func in strtof
45516 do :
45517 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45518 if test "x$ac_cv_func_strtof" = x""yes; then :
45519 cat >>confdefs.h <<_ACEOF
45520 #define HAVE_STRTOF 1
45521 _ACEOF
45522
45523 fi
45524 done
45525
45526 fi
45527
45528
45529
45530
45531 CXXFLAGS="$ac_save_CXXFLAGS"
45532
45533 ;;
45534
45535 *djgpp)
45536 # GLIBCXX_CHECK_MATH_SUPPORT
45537 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45538
45539 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45540
45541 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45542
45543 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
45544
45545 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45546
45547 ;;
45548
45549 *-freebsd*)
45550 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45551
45552
45553 # If we're not using GNU ld, then there's no point in even trying these
45554 # tests. Check for that first. We should have already tested for gld
45555 # by now (in libtool), but require it now just to be safe...
45556 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45557 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45558
45559
45560
45561 # The name set by libtool depends on the version of libtool. Shame on us
45562 # for depending on an impl detail, but c'est la vie. Older versions used
45563 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45564 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45565 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45566 # set (hence we're using an older libtool), then set it.
45567 if test x${with_gnu_ld+set} != xset; then
45568 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45569 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45570 with_gnu_ld=no
45571 else
45572 with_gnu_ld=$ac_cv_prog_gnu_ld
45573 fi
45574 fi
45575
45576 # Start by getting the version number. I think the libtool test already
45577 # does some of this, but throws away the result.
45578 glibcxx_ld_is_gold=no
45579 if test x"$with_gnu_ld" = x"yes"; then
45580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45581 $as_echo_n "checking for ld version... " >&6; }
45582
45583 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45584 glibcxx_ld_is_gold=yes
45585 fi
45586 ldver=`$LD --version 2>/dev/null |
45587 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'`
45588
45589 glibcxx_gnu_ld_version=`echo $ldver | \
45590 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45592 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45593 fi
45594
45595 # Set --gc-sections.
45596 glibcxx_have_gc_sections=no
45597 if test "$glibcxx_ld_is_gold" = "yes"; then
45598 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45599 glibcxx_have_gc_sections=yes
45600 fi
45601 else
45602 glibcxx_gcsections_min_ld=21602
45603 if test x"$with_gnu_ld" = x"yes" &&
45604 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45605 glibcxx_have_gc_sections=yes
45606 fi
45607 fi
45608 if test "$glibcxx_have_gc_sections" = "yes"; then
45609 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45610 # NB: This flag only works reliably after 2.16.1. Configure tests
45611 # for this are difficult, so hard wire a value that should work.
45612
45613 ac_test_CFLAGS="${CFLAGS+set}"
45614 ac_save_CFLAGS="$CFLAGS"
45615 CFLAGS='-Wl,--gc-sections'
45616
45617 # Check for -Wl,--gc-sections
45618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45619 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45620 if test x$gcc_no_link = xyes; then
45621 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45622 fi
45623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45624 /* end confdefs.h. */
45625 int one(void) { return 1; }
45626 int two(void) { return 2; }
45627
45628 int
45629 main ()
45630 {
45631 two();
45632 ;
45633 return 0;
45634 }
45635 _ACEOF
45636 if ac_fn_c_try_link "$LINENO"; then :
45637 ac_gcsections=yes
45638 else
45639 ac_gcsections=no
45640 fi
45641 rm -f core conftest.err conftest.$ac_objext \
45642 conftest$ac_exeext conftest.$ac_ext
45643 if test "$ac_gcsections" = "yes"; then
45644 rm -f conftest.c
45645 touch conftest.c
45646 if $CC -c conftest.c; then
45647 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45648 grep "Warning: gc-sections option ignored" > /dev/null; then
45649 ac_gcsections=no
45650 fi
45651 fi
45652 rm -f conftest.c conftest.o conftest
45653 fi
45654 if test "$ac_gcsections" = "yes"; then
45655 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45656 fi
45657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45658 $as_echo "$ac_gcsections" >&6; }
45659
45660 if test "$ac_test_CFLAGS" = set; then
45661 CFLAGS="$ac_save_CFLAGS"
45662 else
45663 # this is the suspicious part
45664 CFLAGS=''
45665 fi
45666 fi
45667
45668 # Set -z,relro.
45669 # Note this is only for shared objects.
45670 ac_ld_relro=no
45671 if test x"$with_gnu_ld" = x"yes"; then
45672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45673 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45674 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45675 if test -n "$cxx_z_relo"; then
45676 OPT_LDFLAGS="-Wl,-z,relro"
45677 ac_ld_relro=yes
45678 fi
45679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45680 $as_echo "$ac_ld_relro" >&6; }
45681 fi
45682
45683 # Set linker optimization flags.
45684 if test x"$with_gnu_ld" = x"yes"; then
45685 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45686 fi
45687
45688
45689
45690
45691 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45692
45693 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45694
45695 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45696
45697 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45698
45699 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45700
45701 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45702
45703 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45704
45705 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45706
45707 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45708
45709
45710 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45711
45712 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45713
45714 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45715
45716 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45717
45718 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45719
45720 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45721
45722 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45723
45724 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45725
45726 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45727
45728 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45729
45730 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45731
45732 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45733
45734 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45735
45736 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45737
45738 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45739
45740 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45741
45742 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45743
45744 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45745
45746 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45747
45748 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45749
45750 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45751
45752 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45753
45754 if test x"long_double_math_on_this_cpu" = x"yes"; then
45755 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45756
45757 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45758
45759 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45760
45761 fi
45762 ;;
45763 *-hpux*)
45764 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45765
45766
45767 # If we're not using GNU ld, then there's no point in even trying these
45768 # tests. Check for that first. We should have already tested for gld
45769 # by now (in libtool), but require it now just to be safe...
45770 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45771 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45772
45773
45774
45775 # The name set by libtool depends on the version of libtool. Shame on us
45776 # for depending on an impl detail, but c'est la vie. Older versions used
45777 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45778 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45779 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45780 # set (hence we're using an older libtool), then set it.
45781 if test x${with_gnu_ld+set} != xset; then
45782 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45783 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45784 with_gnu_ld=no
45785 else
45786 with_gnu_ld=$ac_cv_prog_gnu_ld
45787 fi
45788 fi
45789
45790 # Start by getting the version number. I think the libtool test already
45791 # does some of this, but throws away the result.
45792 glibcxx_ld_is_gold=no
45793 if test x"$with_gnu_ld" = x"yes"; then
45794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45795 $as_echo_n "checking for ld version... " >&6; }
45796
45797 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45798 glibcxx_ld_is_gold=yes
45799 fi
45800 ldver=`$LD --version 2>/dev/null |
45801 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'`
45802
45803 glibcxx_gnu_ld_version=`echo $ldver | \
45804 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45806 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45807 fi
45808
45809 # Set --gc-sections.
45810 glibcxx_have_gc_sections=no
45811 if test "$glibcxx_ld_is_gold" = "yes"; then
45812 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45813 glibcxx_have_gc_sections=yes
45814 fi
45815 else
45816 glibcxx_gcsections_min_ld=21602
45817 if test x"$with_gnu_ld" = x"yes" &&
45818 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45819 glibcxx_have_gc_sections=yes
45820 fi
45821 fi
45822 if test "$glibcxx_have_gc_sections" = "yes"; then
45823 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45824 # NB: This flag only works reliably after 2.16.1. Configure tests
45825 # for this are difficult, so hard wire a value that should work.
45826
45827 ac_test_CFLAGS="${CFLAGS+set}"
45828 ac_save_CFLAGS="$CFLAGS"
45829 CFLAGS='-Wl,--gc-sections'
45830
45831 # Check for -Wl,--gc-sections
45832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45833 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45834 if test x$gcc_no_link = xyes; then
45835 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45836 fi
45837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45838 /* end confdefs.h. */
45839 int one(void) { return 1; }
45840 int two(void) { return 2; }
45841
45842 int
45843 main ()
45844 {
45845 two();
45846 ;
45847 return 0;
45848 }
45849 _ACEOF
45850 if ac_fn_c_try_link "$LINENO"; then :
45851 ac_gcsections=yes
45852 else
45853 ac_gcsections=no
45854 fi
45855 rm -f core conftest.err conftest.$ac_objext \
45856 conftest$ac_exeext conftest.$ac_ext
45857 if test "$ac_gcsections" = "yes"; then
45858 rm -f conftest.c
45859 touch conftest.c
45860 if $CC -c conftest.c; then
45861 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45862 grep "Warning: gc-sections option ignored" > /dev/null; then
45863 ac_gcsections=no
45864 fi
45865 fi
45866 rm -f conftest.c conftest.o conftest
45867 fi
45868 if test "$ac_gcsections" = "yes"; then
45869 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45870 fi
45871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45872 $as_echo "$ac_gcsections" >&6; }
45873
45874 if test "$ac_test_CFLAGS" = set; then
45875 CFLAGS="$ac_save_CFLAGS"
45876 else
45877 # this is the suspicious part
45878 CFLAGS=''
45879 fi
45880 fi
45881
45882 # Set -z,relro.
45883 # Note this is only for shared objects.
45884 ac_ld_relro=no
45885 if test x"$with_gnu_ld" = x"yes"; then
45886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45887 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45888 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45889 if test -n "$cxx_z_relo"; then
45890 OPT_LDFLAGS="-Wl,-z,relro"
45891 ac_ld_relro=yes
45892 fi
45893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45894 $as_echo "$ac_ld_relro" >&6; }
45895 fi
45896
45897 # Set linker optimization flags.
45898 if test x"$with_gnu_ld" = x"yes"; then
45899 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45900 fi
45901
45902
45903
45904
45905
45906 # GLIBCXX_CHECK_MATH_SUPPORT
45907 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45908
45909 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45910
45911 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45912
45913 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45914
45915 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45916
45917 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45918
45919 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45920
45921 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45922
45923 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45924
45925 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45926
45927 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45928
45929 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45930
45931 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45932
45933 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45934
45935 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45936
45937 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45938
45939 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45940
45941 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45942
45943 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45944
45945 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45946
45947 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45948
45949
45950 # GLIBCXX_CHECK_STDLIB_SUPPORT
45951 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45952
45953
45954
45955
45956 # Check whether --enable-tls was given.
45957 if test "${enable_tls+set}" = set; then :
45958 enableval=$enable_tls;
45959 case "$enableval" in
45960 yes|no) ;;
45961 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45962 esac
45963
45964 else
45965 enable_tls=yes
45966 fi
45967
45968
45969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45970 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45971 if test "${gcc_cv_have_tls+set}" = set; then :
45972 $as_echo_n "(cached) " >&6
45973 else
45974
45975 if test "$cross_compiling" = yes; then :
45976 if test x$gcc_no_link = xyes; then
45977 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45978 fi
45979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45980 /* end confdefs.h. */
45981 __thread int a; int b; int main() { return a = b; }
45982 _ACEOF
45983 if ac_fn_c_try_link "$LINENO"; then :
45984 chktls_save_LDFLAGS="$LDFLAGS"
45985 case $host in
45986 *-*-linux*)
45987 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45988 ;;
45989 esac
45990 chktls_save_CFLAGS="$CFLAGS"
45991 CFLAGS="-fPIC $CFLAGS"
45992 if test x$gcc_no_link = xyes; then
45993 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45994 fi
45995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45996 /* end confdefs.h. */
45997 int f() { return 0; }
45998 _ACEOF
45999 if ac_fn_c_try_link "$LINENO"; then :
46000 if test x$gcc_no_link = xyes; then
46001 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46002 fi
46003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46004 /* end confdefs.h. */
46005 __thread int a; int b; int f() { return a = b; }
46006 _ACEOF
46007 if ac_fn_c_try_link "$LINENO"; then :
46008 gcc_cv_have_tls=yes
46009 else
46010 gcc_cv_have_tls=no
46011 fi
46012 rm -f core conftest.err conftest.$ac_objext \
46013 conftest$ac_exeext conftest.$ac_ext
46014 else
46015 gcc_cv_have_tls=yes
46016 fi
46017 rm -f core conftest.err conftest.$ac_objext \
46018 conftest$ac_exeext conftest.$ac_ext
46019 CFLAGS="$chktls_save_CFLAGS"
46020 LDFLAGS="$chktls_save_LDFLAGS"
46021 else
46022 gcc_cv_have_tls=no
46023 fi
46024 rm -f core conftest.err conftest.$ac_objext \
46025 conftest$ac_exeext conftest.$ac_ext
46026
46027
46028 else
46029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46030 /* end confdefs.h. */
46031 __thread int a; int b; int main() { return a = b; }
46032 _ACEOF
46033 if ac_fn_c_try_run "$LINENO"; then :
46034 chktls_save_LDFLAGS="$LDFLAGS"
46035 LDFLAGS="-static $LDFLAGS"
46036 if test x$gcc_no_link = xyes; then
46037 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46038 fi
46039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46040 /* end confdefs.h. */
46041 int main() { return 0; }
46042 _ACEOF
46043 if ac_fn_c_try_link "$LINENO"; then :
46044 if test "$cross_compiling" = yes; then :
46045 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46046 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46047 as_fn_error "cannot run test program while cross compiling
46048 See \`config.log' for more details." "$LINENO" 5; }
46049 else
46050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46051 /* end confdefs.h. */
46052 __thread int a; int b; int main() { return a = b; }
46053 _ACEOF
46054 if ac_fn_c_try_run "$LINENO"; then :
46055 gcc_cv_have_tls=yes
46056 else
46057 gcc_cv_have_tls=no
46058 fi
46059 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46060 conftest.$ac_objext conftest.beam conftest.$ac_ext
46061 fi
46062
46063 else
46064 gcc_cv_have_tls=yes
46065 fi
46066 rm -f core conftest.err conftest.$ac_objext \
46067 conftest$ac_exeext conftest.$ac_ext
46068 LDFLAGS="$chktls_save_LDFLAGS"
46069 if test $gcc_cv_have_tls = yes; then
46070 chktls_save_CFLAGS="$CFLAGS"
46071 thread_CFLAGS=failed
46072 for flag in '' '-pthread' '-lpthread'; do
46073 CFLAGS="$flag $chktls_save_CFLAGS"
46074 if test x$gcc_no_link = xyes; then
46075 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46076 fi
46077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46078 /* end confdefs.h. */
46079 #include <pthread.h>
46080 void *g(void *d) { return NULL; }
46081 int
46082 main ()
46083 {
46084 pthread_t t; pthread_create(&t,NULL,g,NULL);
46085 ;
46086 return 0;
46087 }
46088 _ACEOF
46089 if ac_fn_c_try_link "$LINENO"; then :
46090 thread_CFLAGS="$flag"
46091 fi
46092 rm -f core conftest.err conftest.$ac_objext \
46093 conftest$ac_exeext conftest.$ac_ext
46094 if test "X$thread_CFLAGS" != Xfailed; then
46095 break
46096 fi
46097 done
46098 CFLAGS="$chktls_save_CFLAGS"
46099 if test "X$thread_CFLAGS" != Xfailed; then
46100 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
46101 if test "$cross_compiling" = yes; then :
46102 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46104 as_fn_error "cannot run test program while cross compiling
46105 See \`config.log' for more details." "$LINENO" 5; }
46106 else
46107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46108 /* end confdefs.h. */
46109 #include <pthread.h>
46110 __thread int a;
46111 static int *volatile a_in_other_thread;
46112 static void *
46113 thread_func (void *arg)
46114 {
46115 a_in_other_thread = &a;
46116 return (void *)0;
46117 }
46118 int
46119 main ()
46120 {
46121 pthread_t thread;
46122 void *thread_retval;
46123 int *volatile a_in_main_thread;
46124 a_in_main_thread = &a;
46125 if (pthread_create (&thread, (pthread_attr_t *)0,
46126 thread_func, (void *)0))
46127 return 0;
46128 if (pthread_join (thread, &thread_retval))
46129 return 0;
46130 return (a_in_other_thread == a_in_main_thread);
46131 ;
46132 return 0;
46133 }
46134 _ACEOF
46135 if ac_fn_c_try_run "$LINENO"; then :
46136 gcc_cv_have_tls=yes
46137 else
46138 gcc_cv_have_tls=no
46139 fi
46140 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46141 conftest.$ac_objext conftest.beam conftest.$ac_ext
46142 fi
46143
46144 CFLAGS="$chktls_save_CFLAGS"
46145 fi
46146 fi
46147 else
46148 gcc_cv_have_tls=no
46149 fi
46150 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46151 conftest.$ac_objext conftest.beam conftest.$ac_ext
46152 fi
46153
46154 fi
46155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
46156 $as_echo "$gcc_cv_have_tls" >&6; }
46157 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
46158
46159 $as_echo "#define HAVE_TLS 1" >>confdefs.h
46160
46161 fi
46162 case "$target" in
46163 *-hpux10*)
46164 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
46165
46166 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
46167
46168 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
46169
46170 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
46171
46172 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
46173
46174 ;;
46175 esac
46176 ;;
46177 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
46178
46179 # All these tests are for C++; save the language and the compiler flags.
46180 # The CXXFLAGS thing is suspicious, but based on similar bits previously
46181 # found in GLIBCXX_CONFIGURE.
46182
46183 ac_ext=cpp
46184 ac_cpp='$CXXCPP $CPPFLAGS'
46185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46188
46189 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46190 ac_save_CXXFLAGS="$CXXFLAGS"
46191
46192 # Check for maintainer-mode bits.
46193 if test x"$USE_MAINTAINER_MODE" = xno; then
46194 WERROR=''
46195 else
46196 WERROR='-Werror'
46197 fi
46198
46199 # Check for -ffunction-sections -fdata-sections
46200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
46201 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
46202 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
46203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46204 /* end confdefs.h. */
46205 int foo; void bar() { };
46206 int
46207 main ()
46208 {
46209
46210 ;
46211 return 0;
46212 }
46213 _ACEOF
46214 if ac_fn_cxx_try_compile "$LINENO"; then :
46215 ac_fdsections=yes
46216 else
46217 ac_fdsections=no
46218 fi
46219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46220 if test "$ac_test_CXXFLAGS" = set; then
46221 CXXFLAGS="$ac_save_CXXFLAGS"
46222 else
46223 # this is the suspicious part
46224 CXXFLAGS=''
46225 fi
46226 if test x"$ac_fdsections" = x"yes"; then
46227 SECTION_FLAGS='-ffunction-sections -fdata-sections'
46228 fi
46229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
46230 $as_echo "$ac_fdsections" >&6; }
46231
46232 ac_ext=c
46233 ac_cpp='$CPP $CPPFLAGS'
46234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46237
46238
46239
46240
46241
46242 # If we're not using GNU ld, then there's no point in even trying these
46243 # tests. Check for that first. We should have already tested for gld
46244 # by now (in libtool), but require it now just to be safe...
46245 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46246 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46247
46248
46249
46250 # The name set by libtool depends on the version of libtool. Shame on us
46251 # for depending on an impl detail, but c'est la vie. Older versions used
46252 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46253 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46254 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
46255 # set (hence we're using an older libtool), then set it.
46256 if test x${with_gnu_ld+set} != xset; then
46257 if test x${ac_cv_prog_gnu_ld+set} != xset; then
46258 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
46259 with_gnu_ld=no
46260 else
46261 with_gnu_ld=$ac_cv_prog_gnu_ld
46262 fi
46263 fi
46264
46265 # Start by getting the version number. I think the libtool test already
46266 # does some of this, but throws away the result.
46267 glibcxx_ld_is_gold=no
46268 if test x"$with_gnu_ld" = x"yes"; then
46269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
46270 $as_echo_n "checking for ld version... " >&6; }
46271
46272 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
46273 glibcxx_ld_is_gold=yes
46274 fi
46275 ldver=`$LD --version 2>/dev/null |
46276 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'`
46277
46278 glibcxx_gnu_ld_version=`echo $ldver | \
46279 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
46281 $as_echo "$glibcxx_gnu_ld_version" >&6; }
46282 fi
46283
46284 # Set --gc-sections.
46285 glibcxx_have_gc_sections=no
46286 if test "$glibcxx_ld_is_gold" = "yes"; then
46287 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
46288 glibcxx_have_gc_sections=yes
46289 fi
46290 else
46291 glibcxx_gcsections_min_ld=21602
46292 if test x"$with_gnu_ld" = x"yes" &&
46293 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
46294 glibcxx_have_gc_sections=yes
46295 fi
46296 fi
46297 if test "$glibcxx_have_gc_sections" = "yes"; then
46298 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
46299 # NB: This flag only works reliably after 2.16.1. Configure tests
46300 # for this are difficult, so hard wire a value that should work.
46301
46302 ac_test_CFLAGS="${CFLAGS+set}"
46303 ac_save_CFLAGS="$CFLAGS"
46304 CFLAGS='-Wl,--gc-sections'
46305
46306 # Check for -Wl,--gc-sections
46307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
46308 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
46309 if test x$gcc_no_link = xyes; then
46310 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46311 fi
46312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46313 /* end confdefs.h. */
46314 int one(void) { return 1; }
46315 int two(void) { return 2; }
46316
46317 int
46318 main ()
46319 {
46320 two();
46321 ;
46322 return 0;
46323 }
46324 _ACEOF
46325 if ac_fn_c_try_link "$LINENO"; then :
46326 ac_gcsections=yes
46327 else
46328 ac_gcsections=no
46329 fi
46330 rm -f core conftest.err conftest.$ac_objext \
46331 conftest$ac_exeext conftest.$ac_ext
46332 if test "$ac_gcsections" = "yes"; then
46333 rm -f conftest.c
46334 touch conftest.c
46335 if $CC -c conftest.c; then
46336 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
46337 grep "Warning: gc-sections option ignored" > /dev/null; then
46338 ac_gcsections=no
46339 fi
46340 fi
46341 rm -f conftest.c conftest.o conftest
46342 fi
46343 if test "$ac_gcsections" = "yes"; then
46344 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46345 fi
46346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
46347 $as_echo "$ac_gcsections" >&6; }
46348
46349 if test "$ac_test_CFLAGS" = set; then
46350 CFLAGS="$ac_save_CFLAGS"
46351 else
46352 # this is the suspicious part
46353 CFLAGS=''
46354 fi
46355 fi
46356
46357 # Set -z,relro.
46358 # Note this is only for shared objects.
46359 ac_ld_relro=no
46360 if test x"$with_gnu_ld" = x"yes"; then
46361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
46362 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
46363 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
46364 if test -n "$cxx_z_relo"; then
46365 OPT_LDFLAGS="-Wl,-z,relro"
46366 ac_ld_relro=yes
46367 fi
46368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
46369 $as_echo "$ac_ld_relro" >&6; }
46370 fi
46371
46372 # Set linker optimization flags.
46373 if test x"$with_gnu_ld" = x"yes"; then
46374 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46375 fi
46376
46377
46378
46379
46380
46381 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46382 ac_save_CXXFLAGS="$CXXFLAGS"
46383 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46384
46385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46386 $as_echo_n "checking for sin in -lm... " >&6; }
46387 if test "${ac_cv_lib_m_sin+set}" = set; then :
46388 $as_echo_n "(cached) " >&6
46389 else
46390 ac_check_lib_save_LIBS=$LIBS
46391 LIBS="-lm $LIBS"
46392 if test x$gcc_no_link = xyes; then
46393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46394 fi
46395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46396 /* end confdefs.h. */
46397
46398 /* Override any GCC internal prototype to avoid an error.
46399 Use char because int might match the return type of a GCC
46400 builtin and then its argument prototype would still apply. */
46401 #ifdef __cplusplus
46402 extern "C"
46403 #endif
46404 char sin ();
46405 int
46406 main ()
46407 {
46408 return sin ();
46409 ;
46410 return 0;
46411 }
46412 _ACEOF
46413 if ac_fn_c_try_link "$LINENO"; then :
46414 ac_cv_lib_m_sin=yes
46415 else
46416 ac_cv_lib_m_sin=no
46417 fi
46418 rm -f core conftest.err conftest.$ac_objext \
46419 conftest$ac_exeext conftest.$ac_ext
46420 LIBS=$ac_check_lib_save_LIBS
46421 fi
46422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46423 $as_echo "$ac_cv_lib_m_sin" >&6; }
46424 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46425 libm="-lm"
46426 fi
46427
46428 ac_save_LIBS="$LIBS"
46429 LIBS="$LIBS $libm"
46430
46431
46432
46433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46434 $as_echo_n "checking for isinf declaration... " >&6; }
46435 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46436 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46437 $as_echo_n "(cached) " >&6
46438 else
46439
46440
46441 ac_ext=cpp
46442 ac_cpp='$CXXCPP $CPPFLAGS'
46443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46446
46447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46448 /* end confdefs.h. */
46449 #include <math.h>
46450 #ifdef HAVE_IEEEFP_H
46451 #include <ieeefp.h>
46452 #endif
46453
46454 int
46455 main ()
46456 {
46457 isinf(0);
46458 ;
46459 return 0;
46460 }
46461 _ACEOF
46462 if ac_fn_cxx_try_compile "$LINENO"; then :
46463 glibcxx_cv_func_isinf_use=yes
46464 else
46465 glibcxx_cv_func_isinf_use=no
46466 fi
46467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46468 ac_ext=c
46469 ac_cpp='$CPP $CPPFLAGS'
46470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46473
46474
46475 fi
46476
46477 fi
46478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46479 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46480
46481 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46482 for ac_func in isinf
46483 do :
46484 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46485 if test "x$ac_cv_func_isinf" = x""yes; then :
46486 cat >>confdefs.h <<_ACEOF
46487 #define HAVE_ISINF 1
46488 _ACEOF
46489
46490 fi
46491 done
46492
46493 else
46494
46495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46496 $as_echo_n "checking for _isinf declaration... " >&6; }
46497 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46498 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46499 $as_echo_n "(cached) " >&6
46500 else
46501
46502
46503 ac_ext=cpp
46504 ac_cpp='$CXXCPP $CPPFLAGS'
46505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46508
46509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46510 /* end confdefs.h. */
46511 #include <math.h>
46512 #ifdef HAVE_IEEEFP_H
46513 #include <ieeefp.h>
46514 #endif
46515
46516 int
46517 main ()
46518 {
46519 _isinf(0);
46520 ;
46521 return 0;
46522 }
46523 _ACEOF
46524 if ac_fn_cxx_try_compile "$LINENO"; then :
46525 glibcxx_cv_func__isinf_use=yes
46526 else
46527 glibcxx_cv_func__isinf_use=no
46528 fi
46529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46530 ac_ext=c
46531 ac_cpp='$CPP $CPPFLAGS'
46532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46535
46536
46537 fi
46538
46539 fi
46540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46541 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46542
46543 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46544 for ac_func in _isinf
46545 do :
46546 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46547 if test "x$ac_cv_func__isinf" = x""yes; then :
46548 cat >>confdefs.h <<_ACEOF
46549 #define HAVE__ISINF 1
46550 _ACEOF
46551
46552 fi
46553 done
46554
46555 fi
46556 fi
46557
46558
46559
46560
46561
46562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46563 $as_echo_n "checking for isnan declaration... " >&6; }
46564 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46565 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46566 $as_echo_n "(cached) " >&6
46567 else
46568
46569
46570 ac_ext=cpp
46571 ac_cpp='$CXXCPP $CPPFLAGS'
46572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46575
46576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46577 /* end confdefs.h. */
46578 #include <math.h>
46579 #ifdef HAVE_IEEEFP_H
46580 #include <ieeefp.h>
46581 #endif
46582
46583 int
46584 main ()
46585 {
46586 isnan(0);
46587 ;
46588 return 0;
46589 }
46590 _ACEOF
46591 if ac_fn_cxx_try_compile "$LINENO"; then :
46592 glibcxx_cv_func_isnan_use=yes
46593 else
46594 glibcxx_cv_func_isnan_use=no
46595 fi
46596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46597 ac_ext=c
46598 ac_cpp='$CPP $CPPFLAGS'
46599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46602
46603
46604 fi
46605
46606 fi
46607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46608 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46609
46610 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46611 for ac_func in isnan
46612 do :
46613 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46614 if test "x$ac_cv_func_isnan" = x""yes; then :
46615 cat >>confdefs.h <<_ACEOF
46616 #define HAVE_ISNAN 1
46617 _ACEOF
46618
46619 fi
46620 done
46621
46622 else
46623
46624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46625 $as_echo_n "checking for _isnan declaration... " >&6; }
46626 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46627 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46628 $as_echo_n "(cached) " >&6
46629 else
46630
46631
46632 ac_ext=cpp
46633 ac_cpp='$CXXCPP $CPPFLAGS'
46634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46637
46638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46639 /* end confdefs.h. */
46640 #include <math.h>
46641 #ifdef HAVE_IEEEFP_H
46642 #include <ieeefp.h>
46643 #endif
46644
46645 int
46646 main ()
46647 {
46648 _isnan(0);
46649 ;
46650 return 0;
46651 }
46652 _ACEOF
46653 if ac_fn_cxx_try_compile "$LINENO"; then :
46654 glibcxx_cv_func__isnan_use=yes
46655 else
46656 glibcxx_cv_func__isnan_use=no
46657 fi
46658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46659 ac_ext=c
46660 ac_cpp='$CPP $CPPFLAGS'
46661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46664
46665
46666 fi
46667
46668 fi
46669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46670 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46671
46672 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46673 for ac_func in _isnan
46674 do :
46675 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46676 if test "x$ac_cv_func__isnan" = x""yes; then :
46677 cat >>confdefs.h <<_ACEOF
46678 #define HAVE__ISNAN 1
46679 _ACEOF
46680
46681 fi
46682 done
46683
46684 fi
46685 fi
46686
46687
46688
46689
46690
46691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46692 $as_echo_n "checking for finite declaration... " >&6; }
46693 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46694 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46695 $as_echo_n "(cached) " >&6
46696 else
46697
46698
46699 ac_ext=cpp
46700 ac_cpp='$CXXCPP $CPPFLAGS'
46701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46704
46705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46706 /* end confdefs.h. */
46707 #include <math.h>
46708 #ifdef HAVE_IEEEFP_H
46709 #include <ieeefp.h>
46710 #endif
46711
46712 int
46713 main ()
46714 {
46715 finite(0);
46716 ;
46717 return 0;
46718 }
46719 _ACEOF
46720 if ac_fn_cxx_try_compile "$LINENO"; then :
46721 glibcxx_cv_func_finite_use=yes
46722 else
46723 glibcxx_cv_func_finite_use=no
46724 fi
46725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46726 ac_ext=c
46727 ac_cpp='$CPP $CPPFLAGS'
46728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46731
46732
46733 fi
46734
46735 fi
46736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46737 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46738
46739 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46740 for ac_func in finite
46741 do :
46742 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46743 if test "x$ac_cv_func_finite" = x""yes; then :
46744 cat >>confdefs.h <<_ACEOF
46745 #define HAVE_FINITE 1
46746 _ACEOF
46747
46748 fi
46749 done
46750
46751 else
46752
46753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46754 $as_echo_n "checking for _finite declaration... " >&6; }
46755 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46756 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46757 $as_echo_n "(cached) " >&6
46758 else
46759
46760
46761 ac_ext=cpp
46762 ac_cpp='$CXXCPP $CPPFLAGS'
46763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46766
46767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46768 /* end confdefs.h. */
46769 #include <math.h>
46770 #ifdef HAVE_IEEEFP_H
46771 #include <ieeefp.h>
46772 #endif
46773
46774 int
46775 main ()
46776 {
46777 _finite(0);
46778 ;
46779 return 0;
46780 }
46781 _ACEOF
46782 if ac_fn_cxx_try_compile "$LINENO"; then :
46783 glibcxx_cv_func__finite_use=yes
46784 else
46785 glibcxx_cv_func__finite_use=no
46786 fi
46787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46788 ac_ext=c
46789 ac_cpp='$CPP $CPPFLAGS'
46790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46793
46794
46795 fi
46796
46797 fi
46798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46799 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46800
46801 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46802 for ac_func in _finite
46803 do :
46804 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46805 if test "x$ac_cv_func__finite" = x""yes; then :
46806 cat >>confdefs.h <<_ACEOF
46807 #define HAVE__FINITE 1
46808 _ACEOF
46809
46810 fi
46811 done
46812
46813 fi
46814 fi
46815
46816
46817
46818
46819
46820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46821 $as_echo_n "checking for sincos declaration... " >&6; }
46822 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46823 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46824 $as_echo_n "(cached) " >&6
46825 else
46826
46827
46828 ac_ext=cpp
46829 ac_cpp='$CXXCPP $CPPFLAGS'
46830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46833
46834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46835 /* end confdefs.h. */
46836 #include <math.h>
46837 int
46838 main ()
46839 {
46840 sincos(0, 0, 0);
46841 ;
46842 return 0;
46843 }
46844 _ACEOF
46845 if ac_fn_cxx_try_compile "$LINENO"; then :
46846 glibcxx_cv_func_sincos_use=yes
46847 else
46848 glibcxx_cv_func_sincos_use=no
46849 fi
46850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46851 ac_ext=c
46852 ac_cpp='$CPP $CPPFLAGS'
46853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46856
46857
46858 fi
46859
46860 fi
46861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46862 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46863
46864 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46865 for ac_func in sincos
46866 do :
46867 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46868 if test "x$ac_cv_func_sincos" = x""yes; then :
46869 cat >>confdefs.h <<_ACEOF
46870 #define HAVE_SINCOS 1
46871 _ACEOF
46872
46873 fi
46874 done
46875
46876 else
46877
46878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46879 $as_echo_n "checking for _sincos declaration... " >&6; }
46880 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46881 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46882 $as_echo_n "(cached) " >&6
46883 else
46884
46885
46886 ac_ext=cpp
46887 ac_cpp='$CXXCPP $CPPFLAGS'
46888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46891
46892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46893 /* end confdefs.h. */
46894 #include <math.h>
46895 int
46896 main ()
46897 {
46898 _sincos(0, 0, 0);
46899 ;
46900 return 0;
46901 }
46902 _ACEOF
46903 if ac_fn_cxx_try_compile "$LINENO"; then :
46904 glibcxx_cv_func__sincos_use=yes
46905 else
46906 glibcxx_cv_func__sincos_use=no
46907 fi
46908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46909 ac_ext=c
46910 ac_cpp='$CPP $CPPFLAGS'
46911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46914
46915
46916 fi
46917
46918 fi
46919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46920 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46921
46922 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46923 for ac_func in _sincos
46924 do :
46925 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46926 if test "x$ac_cv_func__sincos" = x""yes; then :
46927 cat >>confdefs.h <<_ACEOF
46928 #define HAVE__SINCOS 1
46929 _ACEOF
46930
46931 fi
46932 done
46933
46934 fi
46935 fi
46936
46937
46938
46939
46940
46941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46942 $as_echo_n "checking for fpclass declaration... " >&6; }
46943 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46944 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46945 $as_echo_n "(cached) " >&6
46946 else
46947
46948
46949 ac_ext=cpp
46950 ac_cpp='$CXXCPP $CPPFLAGS'
46951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46954
46955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46956 /* end confdefs.h. */
46957 #include <math.h>
46958 #ifdef HAVE_IEEEFP_H
46959 #include <ieeefp.h>
46960 #endif
46961
46962 int
46963 main ()
46964 {
46965 fpclass(0);
46966 ;
46967 return 0;
46968 }
46969 _ACEOF
46970 if ac_fn_cxx_try_compile "$LINENO"; then :
46971 glibcxx_cv_func_fpclass_use=yes
46972 else
46973 glibcxx_cv_func_fpclass_use=no
46974 fi
46975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46976 ac_ext=c
46977 ac_cpp='$CPP $CPPFLAGS'
46978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46981
46982
46983 fi
46984
46985 fi
46986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46987 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46988
46989 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46990 for ac_func in fpclass
46991 do :
46992 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46993 if test "x$ac_cv_func_fpclass" = x""yes; then :
46994 cat >>confdefs.h <<_ACEOF
46995 #define HAVE_FPCLASS 1
46996 _ACEOF
46997
46998 fi
46999 done
47000
47001 else
47002
47003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47004 $as_echo_n "checking for _fpclass declaration... " >&6; }
47005 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47006 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47007 $as_echo_n "(cached) " >&6
47008 else
47009
47010
47011 ac_ext=cpp
47012 ac_cpp='$CXXCPP $CPPFLAGS'
47013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47016
47017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47018 /* end confdefs.h. */
47019 #include <math.h>
47020 #ifdef HAVE_IEEEFP_H
47021 #include <ieeefp.h>
47022 #endif
47023
47024 int
47025 main ()
47026 {
47027 _fpclass(0);
47028 ;
47029 return 0;
47030 }
47031 _ACEOF
47032 if ac_fn_cxx_try_compile "$LINENO"; then :
47033 glibcxx_cv_func__fpclass_use=yes
47034 else
47035 glibcxx_cv_func__fpclass_use=no
47036 fi
47037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47038 ac_ext=c
47039 ac_cpp='$CPP $CPPFLAGS'
47040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47043
47044
47045 fi
47046
47047 fi
47048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47049 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47050
47051 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47052 for ac_func in _fpclass
47053 do :
47054 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47055 if test "x$ac_cv_func__fpclass" = x""yes; then :
47056 cat >>confdefs.h <<_ACEOF
47057 #define HAVE__FPCLASS 1
47058 _ACEOF
47059
47060 fi
47061 done
47062
47063 fi
47064 fi
47065
47066
47067
47068
47069
47070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47071 $as_echo_n "checking for qfpclass declaration... " >&6; }
47072 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47073 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47074 $as_echo_n "(cached) " >&6
47075 else
47076
47077
47078 ac_ext=cpp
47079 ac_cpp='$CXXCPP $CPPFLAGS'
47080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47083
47084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47085 /* end confdefs.h. */
47086 #include <math.h>
47087 #ifdef HAVE_IEEEFP_H
47088 #include <ieeefp.h>
47089 #endif
47090
47091 int
47092 main ()
47093 {
47094 qfpclass(0);
47095 ;
47096 return 0;
47097 }
47098 _ACEOF
47099 if ac_fn_cxx_try_compile "$LINENO"; then :
47100 glibcxx_cv_func_qfpclass_use=yes
47101 else
47102 glibcxx_cv_func_qfpclass_use=no
47103 fi
47104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47105 ac_ext=c
47106 ac_cpp='$CPP $CPPFLAGS'
47107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47110
47111
47112 fi
47113
47114 fi
47115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47116 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47117
47118 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47119 for ac_func in qfpclass
47120 do :
47121 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47122 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47123 cat >>confdefs.h <<_ACEOF
47124 #define HAVE_QFPCLASS 1
47125 _ACEOF
47126
47127 fi
47128 done
47129
47130 else
47131
47132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47133 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47134 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47135 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47136 $as_echo_n "(cached) " >&6
47137 else
47138
47139
47140 ac_ext=cpp
47141 ac_cpp='$CXXCPP $CPPFLAGS'
47142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47145
47146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47147 /* end confdefs.h. */
47148 #include <math.h>
47149 #ifdef HAVE_IEEEFP_H
47150 #include <ieeefp.h>
47151 #endif
47152
47153 int
47154 main ()
47155 {
47156 _qfpclass(0);
47157 ;
47158 return 0;
47159 }
47160 _ACEOF
47161 if ac_fn_cxx_try_compile "$LINENO"; then :
47162 glibcxx_cv_func__qfpclass_use=yes
47163 else
47164 glibcxx_cv_func__qfpclass_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
47174 fi
47175
47176 fi
47177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47178 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47179
47180 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47181 for ac_func in _qfpclass
47182 do :
47183 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47184 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47185 cat >>confdefs.h <<_ACEOF
47186 #define HAVE__QFPCLASS 1
47187 _ACEOF
47188
47189 fi
47190 done
47191
47192 fi
47193 fi
47194
47195
47196
47197
47198
47199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47200 $as_echo_n "checking for hypot declaration... " >&6; }
47201 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47202 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47203 $as_echo_n "(cached) " >&6
47204 else
47205
47206
47207 ac_ext=cpp
47208 ac_cpp='$CXXCPP $CPPFLAGS'
47209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47212
47213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47214 /* end confdefs.h. */
47215 #include <math.h>
47216 int
47217 main ()
47218 {
47219 hypot(0, 0);
47220 ;
47221 return 0;
47222 }
47223 _ACEOF
47224 if ac_fn_cxx_try_compile "$LINENO"; then :
47225 glibcxx_cv_func_hypot_use=yes
47226 else
47227 glibcxx_cv_func_hypot_use=no
47228 fi
47229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47230 ac_ext=c
47231 ac_cpp='$CPP $CPPFLAGS'
47232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47235
47236
47237 fi
47238
47239 fi
47240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47241 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47242
47243 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47244 for ac_func in hypot
47245 do :
47246 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47247 if test "x$ac_cv_func_hypot" = x""yes; then :
47248 cat >>confdefs.h <<_ACEOF
47249 #define HAVE_HYPOT 1
47250 _ACEOF
47251
47252 fi
47253 done
47254
47255 else
47256
47257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47258 $as_echo_n "checking for _hypot declaration... " >&6; }
47259 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47260 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47261 $as_echo_n "(cached) " >&6
47262 else
47263
47264
47265 ac_ext=cpp
47266 ac_cpp='$CXXCPP $CPPFLAGS'
47267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47270
47271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47272 /* end confdefs.h. */
47273 #include <math.h>
47274 int
47275 main ()
47276 {
47277 _hypot(0, 0);
47278 ;
47279 return 0;
47280 }
47281 _ACEOF
47282 if ac_fn_cxx_try_compile "$LINENO"; then :
47283 glibcxx_cv_func__hypot_use=yes
47284 else
47285 glibcxx_cv_func__hypot_use=no
47286 fi
47287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47288 ac_ext=c
47289 ac_cpp='$CPP $CPPFLAGS'
47290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47293
47294
47295 fi
47296
47297 fi
47298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47299 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47300
47301 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47302 for ac_func in _hypot
47303 do :
47304 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47305 if test "x$ac_cv_func__hypot" = x""yes; then :
47306 cat >>confdefs.h <<_ACEOF
47307 #define HAVE__HYPOT 1
47308 _ACEOF
47309
47310 fi
47311 done
47312
47313 fi
47314 fi
47315
47316
47317
47318
47319
47320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47321 $as_echo_n "checking for float trig functions... " >&6; }
47322 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47323 $as_echo_n "(cached) " >&6
47324 else
47325
47326
47327 ac_ext=cpp
47328 ac_cpp='$CXXCPP $CPPFLAGS'
47329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47332
47333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47334 /* end confdefs.h. */
47335 #include <math.h>
47336 int
47337 main ()
47338 {
47339 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47340 ;
47341 return 0;
47342 }
47343 _ACEOF
47344 if ac_fn_cxx_try_compile "$LINENO"; then :
47345 glibcxx_cv_func_float_trig_use=yes
47346 else
47347 glibcxx_cv_func_float_trig_use=no
47348 fi
47349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47350 ac_ext=c
47351 ac_cpp='$CPP $CPPFLAGS'
47352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47355
47356 fi
47357
47358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47359 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47360 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47361 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47362 do :
47363 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47364 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47365 eval as_val=\$$as_ac_var
47366 if test "x$as_val" = x""yes; then :
47367 cat >>confdefs.h <<_ACEOF
47368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47369 _ACEOF
47370
47371 fi
47372 done
47373
47374 else
47375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47376 $as_echo_n "checking for _float trig functions... " >&6; }
47377 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47378 $as_echo_n "(cached) " >&6
47379 else
47380
47381
47382 ac_ext=cpp
47383 ac_cpp='$CXXCPP $CPPFLAGS'
47384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47387
47388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47389 /* end confdefs.h. */
47390 #include <math.h>
47391 int
47392 main ()
47393 {
47394 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47395 ;
47396 return 0;
47397 }
47398 _ACEOF
47399 if ac_fn_cxx_try_compile "$LINENO"; then :
47400 glibcxx_cv_func__float_trig_use=yes
47401 else
47402 glibcxx_cv_func__float_trig_use=no
47403 fi
47404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47405 ac_ext=c
47406 ac_cpp='$CPP $CPPFLAGS'
47407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47410
47411 fi
47412
47413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47414 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47415 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47416 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47417 do :
47418 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47419 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47420 eval as_val=\$$as_ac_var
47421 if test "x$as_val" = x""yes; then :
47422 cat >>confdefs.h <<_ACEOF
47423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47424 _ACEOF
47425
47426 fi
47427 done
47428
47429 fi
47430 fi
47431
47432
47433
47434
47435
47436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47437 $as_echo_n "checking for float round functions... " >&6; }
47438 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47439 $as_echo_n "(cached) " >&6
47440 else
47441
47442
47443 ac_ext=cpp
47444 ac_cpp='$CXXCPP $CPPFLAGS'
47445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47448
47449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47450 /* end confdefs.h. */
47451 #include <math.h>
47452 int
47453 main ()
47454 {
47455 ceilf (0); floorf (0);
47456 ;
47457 return 0;
47458 }
47459 _ACEOF
47460 if ac_fn_cxx_try_compile "$LINENO"; then :
47461 glibcxx_cv_func_float_round_use=yes
47462 else
47463 glibcxx_cv_func_float_round_use=no
47464 fi
47465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47466 ac_ext=c
47467 ac_cpp='$CPP $CPPFLAGS'
47468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47471
47472 fi
47473
47474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47475 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47476 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47477 for ac_func in ceilf floorf
47478 do :
47479 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47481 eval as_val=\$$as_ac_var
47482 if test "x$as_val" = x""yes; then :
47483 cat >>confdefs.h <<_ACEOF
47484 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47485 _ACEOF
47486
47487 fi
47488 done
47489
47490 else
47491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47492 $as_echo_n "checking for _float round functions... " >&6; }
47493 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47494 $as_echo_n "(cached) " >&6
47495 else
47496
47497
47498 ac_ext=cpp
47499 ac_cpp='$CXXCPP $CPPFLAGS'
47500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47503
47504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47505 /* end confdefs.h. */
47506 #include <math.h>
47507 int
47508 main ()
47509 {
47510 _ceilf (0); _floorf (0);
47511 ;
47512 return 0;
47513 }
47514 _ACEOF
47515 if ac_fn_cxx_try_compile "$LINENO"; then :
47516 glibcxx_cv_func__float_round_use=yes
47517 else
47518 glibcxx_cv_func__float_round_use=no
47519 fi
47520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47521 ac_ext=c
47522 ac_cpp='$CPP $CPPFLAGS'
47523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47526
47527 fi
47528
47529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47530 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47531 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47532 for ac_func in _ceilf _floorf
47533 do :
47534 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47535 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47536 eval as_val=\$$as_ac_var
47537 if test "x$as_val" = x""yes; then :
47538 cat >>confdefs.h <<_ACEOF
47539 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47540 _ACEOF
47541
47542 fi
47543 done
47544
47545 fi
47546 fi
47547
47548
47549
47550
47551
47552
47553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47554 $as_echo_n "checking for expf declaration... " >&6; }
47555 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47556 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47557 $as_echo_n "(cached) " >&6
47558 else
47559
47560
47561 ac_ext=cpp
47562 ac_cpp='$CXXCPP $CPPFLAGS'
47563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47566
47567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47568 /* end confdefs.h. */
47569 #include <math.h>
47570 #ifdef HAVE_IEEEFP_H
47571 #include <ieeefp.h>
47572 #endif
47573
47574 int
47575 main ()
47576 {
47577 expf(0);
47578 ;
47579 return 0;
47580 }
47581 _ACEOF
47582 if ac_fn_cxx_try_compile "$LINENO"; then :
47583 glibcxx_cv_func_expf_use=yes
47584 else
47585 glibcxx_cv_func_expf_use=no
47586 fi
47587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47588 ac_ext=c
47589 ac_cpp='$CPP $CPPFLAGS'
47590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47593
47594
47595 fi
47596
47597 fi
47598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47599 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47600
47601 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47602 for ac_func in expf
47603 do :
47604 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47605 if test "x$ac_cv_func_expf" = x""yes; then :
47606 cat >>confdefs.h <<_ACEOF
47607 #define HAVE_EXPF 1
47608 _ACEOF
47609
47610 fi
47611 done
47612
47613 else
47614
47615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47616 $as_echo_n "checking for _expf declaration... " >&6; }
47617 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47618 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47619 $as_echo_n "(cached) " >&6
47620 else
47621
47622
47623 ac_ext=cpp
47624 ac_cpp='$CXXCPP $CPPFLAGS'
47625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47628
47629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47630 /* end confdefs.h. */
47631 #include <math.h>
47632 #ifdef HAVE_IEEEFP_H
47633 #include <ieeefp.h>
47634 #endif
47635
47636 int
47637 main ()
47638 {
47639 _expf(0);
47640 ;
47641 return 0;
47642 }
47643 _ACEOF
47644 if ac_fn_cxx_try_compile "$LINENO"; then :
47645 glibcxx_cv_func__expf_use=yes
47646 else
47647 glibcxx_cv_func__expf_use=no
47648 fi
47649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47650 ac_ext=c
47651 ac_cpp='$CPP $CPPFLAGS'
47652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47655
47656
47657 fi
47658
47659 fi
47660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47661 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47662
47663 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47664 for ac_func in _expf
47665 do :
47666 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47667 if test "x$ac_cv_func__expf" = x""yes; then :
47668 cat >>confdefs.h <<_ACEOF
47669 #define HAVE__EXPF 1
47670 _ACEOF
47671
47672 fi
47673 done
47674
47675 fi
47676 fi
47677
47678
47679
47680
47681
47682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47683 $as_echo_n "checking for isnanf declaration... " >&6; }
47684 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47685 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47686 $as_echo_n "(cached) " >&6
47687 else
47688
47689
47690 ac_ext=cpp
47691 ac_cpp='$CXXCPP $CPPFLAGS'
47692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47695
47696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47697 /* end confdefs.h. */
47698 #include <math.h>
47699 #ifdef HAVE_IEEEFP_H
47700 #include <ieeefp.h>
47701 #endif
47702
47703 int
47704 main ()
47705 {
47706 isnanf(0);
47707 ;
47708 return 0;
47709 }
47710 _ACEOF
47711 if ac_fn_cxx_try_compile "$LINENO"; then :
47712 glibcxx_cv_func_isnanf_use=yes
47713 else
47714 glibcxx_cv_func_isnanf_use=no
47715 fi
47716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47717 ac_ext=c
47718 ac_cpp='$CPP $CPPFLAGS'
47719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47722
47723
47724 fi
47725
47726 fi
47727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47728 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47729
47730 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47731 for ac_func in isnanf
47732 do :
47733 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47734 if test "x$ac_cv_func_isnanf" = x""yes; then :
47735 cat >>confdefs.h <<_ACEOF
47736 #define HAVE_ISNANF 1
47737 _ACEOF
47738
47739 fi
47740 done
47741
47742 else
47743
47744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47745 $as_echo_n "checking for _isnanf declaration... " >&6; }
47746 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47747 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47748 $as_echo_n "(cached) " >&6
47749 else
47750
47751
47752 ac_ext=cpp
47753 ac_cpp='$CXXCPP $CPPFLAGS'
47754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47757
47758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47759 /* end confdefs.h. */
47760 #include <math.h>
47761 #ifdef HAVE_IEEEFP_H
47762 #include <ieeefp.h>
47763 #endif
47764
47765 int
47766 main ()
47767 {
47768 _isnanf(0);
47769 ;
47770 return 0;
47771 }
47772 _ACEOF
47773 if ac_fn_cxx_try_compile "$LINENO"; then :
47774 glibcxx_cv_func__isnanf_use=yes
47775 else
47776 glibcxx_cv_func__isnanf_use=no
47777 fi
47778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47779 ac_ext=c
47780 ac_cpp='$CPP $CPPFLAGS'
47781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47784
47785
47786 fi
47787
47788 fi
47789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47790 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47791
47792 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47793 for ac_func in _isnanf
47794 do :
47795 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47796 if test "x$ac_cv_func__isnanf" = x""yes; then :
47797 cat >>confdefs.h <<_ACEOF
47798 #define HAVE__ISNANF 1
47799 _ACEOF
47800
47801 fi
47802 done
47803
47804 fi
47805 fi
47806
47807
47808
47809
47810
47811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47812 $as_echo_n "checking for isinff declaration... " >&6; }
47813 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47814 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47815 $as_echo_n "(cached) " >&6
47816 else
47817
47818
47819 ac_ext=cpp
47820 ac_cpp='$CXXCPP $CPPFLAGS'
47821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47824
47825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47826 /* end confdefs.h. */
47827 #include <math.h>
47828 #ifdef HAVE_IEEEFP_H
47829 #include <ieeefp.h>
47830 #endif
47831
47832 int
47833 main ()
47834 {
47835 isinff(0);
47836 ;
47837 return 0;
47838 }
47839 _ACEOF
47840 if ac_fn_cxx_try_compile "$LINENO"; then :
47841 glibcxx_cv_func_isinff_use=yes
47842 else
47843 glibcxx_cv_func_isinff_use=no
47844 fi
47845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47846 ac_ext=c
47847 ac_cpp='$CPP $CPPFLAGS'
47848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47851
47852
47853 fi
47854
47855 fi
47856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47857 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47858
47859 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47860 for ac_func in isinff
47861 do :
47862 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47863 if test "x$ac_cv_func_isinff" = x""yes; then :
47864 cat >>confdefs.h <<_ACEOF
47865 #define HAVE_ISINFF 1
47866 _ACEOF
47867
47868 fi
47869 done
47870
47871 else
47872
47873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47874 $as_echo_n "checking for _isinff declaration... " >&6; }
47875 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47876 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47877 $as_echo_n "(cached) " >&6
47878 else
47879
47880
47881 ac_ext=cpp
47882 ac_cpp='$CXXCPP $CPPFLAGS'
47883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47886
47887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47888 /* end confdefs.h. */
47889 #include <math.h>
47890 #ifdef HAVE_IEEEFP_H
47891 #include <ieeefp.h>
47892 #endif
47893
47894 int
47895 main ()
47896 {
47897 _isinff(0);
47898 ;
47899 return 0;
47900 }
47901 _ACEOF
47902 if ac_fn_cxx_try_compile "$LINENO"; then :
47903 glibcxx_cv_func__isinff_use=yes
47904 else
47905 glibcxx_cv_func__isinff_use=no
47906 fi
47907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47908 ac_ext=c
47909 ac_cpp='$CPP $CPPFLAGS'
47910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47913
47914
47915 fi
47916
47917 fi
47918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47919 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47920
47921 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47922 for ac_func in _isinff
47923 do :
47924 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47925 if test "x$ac_cv_func__isinff" = x""yes; then :
47926 cat >>confdefs.h <<_ACEOF
47927 #define HAVE__ISINFF 1
47928 _ACEOF
47929
47930 fi
47931 done
47932
47933 fi
47934 fi
47935
47936
47937
47938
47939
47940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47941 $as_echo_n "checking for atan2f declaration... " >&6; }
47942 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47943 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47944 $as_echo_n "(cached) " >&6
47945 else
47946
47947
47948 ac_ext=cpp
47949 ac_cpp='$CXXCPP $CPPFLAGS'
47950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47953
47954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47955 /* end confdefs.h. */
47956 #include <math.h>
47957 int
47958 main ()
47959 {
47960 atan2f(0, 0);
47961 ;
47962 return 0;
47963 }
47964 _ACEOF
47965 if ac_fn_cxx_try_compile "$LINENO"; then :
47966 glibcxx_cv_func_atan2f_use=yes
47967 else
47968 glibcxx_cv_func_atan2f_use=no
47969 fi
47970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47971 ac_ext=c
47972 ac_cpp='$CPP $CPPFLAGS'
47973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47976
47977
47978 fi
47979
47980 fi
47981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47982 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47983
47984 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47985 for ac_func in atan2f
47986 do :
47987 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47988 if test "x$ac_cv_func_atan2f" = x""yes; then :
47989 cat >>confdefs.h <<_ACEOF
47990 #define HAVE_ATAN2F 1
47991 _ACEOF
47992
47993 fi
47994 done
47995
47996 else
47997
47998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47999 $as_echo_n "checking for _atan2f declaration... " >&6; }
48000 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48001 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48002 $as_echo_n "(cached) " >&6
48003 else
48004
48005
48006 ac_ext=cpp
48007 ac_cpp='$CXXCPP $CPPFLAGS'
48008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48011
48012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48013 /* end confdefs.h. */
48014 #include <math.h>
48015 int
48016 main ()
48017 {
48018 _atan2f(0, 0);
48019 ;
48020 return 0;
48021 }
48022 _ACEOF
48023 if ac_fn_cxx_try_compile "$LINENO"; then :
48024 glibcxx_cv_func__atan2f_use=yes
48025 else
48026 glibcxx_cv_func__atan2f_use=no
48027 fi
48028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48029 ac_ext=c
48030 ac_cpp='$CPP $CPPFLAGS'
48031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48034
48035
48036 fi
48037
48038 fi
48039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48040 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48041
48042 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48043 for ac_func in _atan2f
48044 do :
48045 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48046 if test "x$ac_cv_func__atan2f" = x""yes; then :
48047 cat >>confdefs.h <<_ACEOF
48048 #define HAVE__ATAN2F 1
48049 _ACEOF
48050
48051 fi
48052 done
48053
48054 fi
48055 fi
48056
48057
48058
48059
48060
48061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48062 $as_echo_n "checking for fabsf declaration... " >&6; }
48063 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48064 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48065 $as_echo_n "(cached) " >&6
48066 else
48067
48068
48069 ac_ext=cpp
48070 ac_cpp='$CXXCPP $CPPFLAGS'
48071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48074
48075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48076 /* end confdefs.h. */
48077 #include <math.h>
48078 #ifdef HAVE_IEEEFP_H
48079 #include <ieeefp.h>
48080 #endif
48081
48082 int
48083 main ()
48084 {
48085 fabsf(0);
48086 ;
48087 return 0;
48088 }
48089 _ACEOF
48090 if ac_fn_cxx_try_compile "$LINENO"; then :
48091 glibcxx_cv_func_fabsf_use=yes
48092 else
48093 glibcxx_cv_func_fabsf_use=no
48094 fi
48095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48096 ac_ext=c
48097 ac_cpp='$CPP $CPPFLAGS'
48098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48101
48102
48103 fi
48104
48105 fi
48106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48107 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48108
48109 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48110 for ac_func in fabsf
48111 do :
48112 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48113 if test "x$ac_cv_func_fabsf" = x""yes; then :
48114 cat >>confdefs.h <<_ACEOF
48115 #define HAVE_FABSF 1
48116 _ACEOF
48117
48118 fi
48119 done
48120
48121 else
48122
48123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48124 $as_echo_n "checking for _fabsf declaration... " >&6; }
48125 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48126 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48127 $as_echo_n "(cached) " >&6
48128 else
48129
48130
48131 ac_ext=cpp
48132 ac_cpp='$CXXCPP $CPPFLAGS'
48133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48136
48137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48138 /* end confdefs.h. */
48139 #include <math.h>
48140 #ifdef HAVE_IEEEFP_H
48141 #include <ieeefp.h>
48142 #endif
48143
48144 int
48145 main ()
48146 {
48147 _fabsf(0);
48148 ;
48149 return 0;
48150 }
48151 _ACEOF
48152 if ac_fn_cxx_try_compile "$LINENO"; then :
48153 glibcxx_cv_func__fabsf_use=yes
48154 else
48155 glibcxx_cv_func__fabsf_use=no
48156 fi
48157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48158 ac_ext=c
48159 ac_cpp='$CPP $CPPFLAGS'
48160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48163
48164
48165 fi
48166
48167 fi
48168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48169 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48170
48171 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48172 for ac_func in _fabsf
48173 do :
48174 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48175 if test "x$ac_cv_func__fabsf" = x""yes; then :
48176 cat >>confdefs.h <<_ACEOF
48177 #define HAVE__FABSF 1
48178 _ACEOF
48179
48180 fi
48181 done
48182
48183 fi
48184 fi
48185
48186
48187
48188
48189
48190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48191 $as_echo_n "checking for fmodf declaration... " >&6; }
48192 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48193 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48194 $as_echo_n "(cached) " >&6
48195 else
48196
48197
48198 ac_ext=cpp
48199 ac_cpp='$CXXCPP $CPPFLAGS'
48200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48203
48204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48205 /* end confdefs.h. */
48206 #include <math.h>
48207 int
48208 main ()
48209 {
48210 fmodf(0, 0);
48211 ;
48212 return 0;
48213 }
48214 _ACEOF
48215 if ac_fn_cxx_try_compile "$LINENO"; then :
48216 glibcxx_cv_func_fmodf_use=yes
48217 else
48218 glibcxx_cv_func_fmodf_use=no
48219 fi
48220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48221 ac_ext=c
48222 ac_cpp='$CPP $CPPFLAGS'
48223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48226
48227
48228 fi
48229
48230 fi
48231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48232 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48233
48234 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48235 for ac_func in fmodf
48236 do :
48237 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48238 if test "x$ac_cv_func_fmodf" = x""yes; then :
48239 cat >>confdefs.h <<_ACEOF
48240 #define HAVE_FMODF 1
48241 _ACEOF
48242
48243 fi
48244 done
48245
48246 else
48247
48248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48249 $as_echo_n "checking for _fmodf declaration... " >&6; }
48250 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48251 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48252 $as_echo_n "(cached) " >&6
48253 else
48254
48255
48256 ac_ext=cpp
48257 ac_cpp='$CXXCPP $CPPFLAGS'
48258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48261
48262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48263 /* end confdefs.h. */
48264 #include <math.h>
48265 int
48266 main ()
48267 {
48268 _fmodf(0, 0);
48269 ;
48270 return 0;
48271 }
48272 _ACEOF
48273 if ac_fn_cxx_try_compile "$LINENO"; then :
48274 glibcxx_cv_func__fmodf_use=yes
48275 else
48276 glibcxx_cv_func__fmodf_use=no
48277 fi
48278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48279 ac_ext=c
48280 ac_cpp='$CPP $CPPFLAGS'
48281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48284
48285
48286 fi
48287
48288 fi
48289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48290 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48291
48292 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48293 for ac_func in _fmodf
48294 do :
48295 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48296 if test "x$ac_cv_func__fmodf" = x""yes; then :
48297 cat >>confdefs.h <<_ACEOF
48298 #define HAVE__FMODF 1
48299 _ACEOF
48300
48301 fi
48302 done
48303
48304 fi
48305 fi
48306
48307
48308
48309
48310
48311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48312 $as_echo_n "checking for frexpf declaration... " >&6; }
48313 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48314 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48315 $as_echo_n "(cached) " >&6
48316 else
48317
48318
48319 ac_ext=cpp
48320 ac_cpp='$CXXCPP $CPPFLAGS'
48321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48324
48325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48326 /* end confdefs.h. */
48327 #include <math.h>
48328 int
48329 main ()
48330 {
48331 frexpf(0, 0);
48332 ;
48333 return 0;
48334 }
48335 _ACEOF
48336 if ac_fn_cxx_try_compile "$LINENO"; then :
48337 glibcxx_cv_func_frexpf_use=yes
48338 else
48339 glibcxx_cv_func_frexpf_use=no
48340 fi
48341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48342 ac_ext=c
48343 ac_cpp='$CPP $CPPFLAGS'
48344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48347
48348
48349 fi
48350
48351 fi
48352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48353 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48354
48355 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48356 for ac_func in frexpf
48357 do :
48358 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48359 if test "x$ac_cv_func_frexpf" = x""yes; then :
48360 cat >>confdefs.h <<_ACEOF
48361 #define HAVE_FREXPF 1
48362 _ACEOF
48363
48364 fi
48365 done
48366
48367 else
48368
48369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48370 $as_echo_n "checking for _frexpf declaration... " >&6; }
48371 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48372 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48373 $as_echo_n "(cached) " >&6
48374 else
48375
48376
48377 ac_ext=cpp
48378 ac_cpp='$CXXCPP $CPPFLAGS'
48379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48382
48383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48384 /* end confdefs.h. */
48385 #include <math.h>
48386 int
48387 main ()
48388 {
48389 _frexpf(0, 0);
48390 ;
48391 return 0;
48392 }
48393 _ACEOF
48394 if ac_fn_cxx_try_compile "$LINENO"; then :
48395 glibcxx_cv_func__frexpf_use=yes
48396 else
48397 glibcxx_cv_func__frexpf_use=no
48398 fi
48399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48400 ac_ext=c
48401 ac_cpp='$CPP $CPPFLAGS'
48402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48405
48406
48407 fi
48408
48409 fi
48410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48411 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48412
48413 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48414 for ac_func in _frexpf
48415 do :
48416 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48417 if test "x$ac_cv_func__frexpf" = x""yes; then :
48418 cat >>confdefs.h <<_ACEOF
48419 #define HAVE__FREXPF 1
48420 _ACEOF
48421
48422 fi
48423 done
48424
48425 fi
48426 fi
48427
48428
48429
48430
48431
48432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48433 $as_echo_n "checking for hypotf declaration... " >&6; }
48434 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48435 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48436 $as_echo_n "(cached) " >&6
48437 else
48438
48439
48440 ac_ext=cpp
48441 ac_cpp='$CXXCPP $CPPFLAGS'
48442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48445
48446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48447 /* end confdefs.h. */
48448 #include <math.h>
48449 int
48450 main ()
48451 {
48452 hypotf(0, 0);
48453 ;
48454 return 0;
48455 }
48456 _ACEOF
48457 if ac_fn_cxx_try_compile "$LINENO"; then :
48458 glibcxx_cv_func_hypotf_use=yes
48459 else
48460 glibcxx_cv_func_hypotf_use=no
48461 fi
48462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48463 ac_ext=c
48464 ac_cpp='$CPP $CPPFLAGS'
48465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48468
48469
48470 fi
48471
48472 fi
48473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48474 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48475
48476 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48477 for ac_func in hypotf
48478 do :
48479 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48480 if test "x$ac_cv_func_hypotf" = x""yes; then :
48481 cat >>confdefs.h <<_ACEOF
48482 #define HAVE_HYPOTF 1
48483 _ACEOF
48484
48485 fi
48486 done
48487
48488 else
48489
48490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48491 $as_echo_n "checking for _hypotf declaration... " >&6; }
48492 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48493 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48494 $as_echo_n "(cached) " >&6
48495 else
48496
48497
48498 ac_ext=cpp
48499 ac_cpp='$CXXCPP $CPPFLAGS'
48500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48503
48504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48505 /* end confdefs.h. */
48506 #include <math.h>
48507 int
48508 main ()
48509 {
48510 _hypotf(0, 0);
48511 ;
48512 return 0;
48513 }
48514 _ACEOF
48515 if ac_fn_cxx_try_compile "$LINENO"; then :
48516 glibcxx_cv_func__hypotf_use=yes
48517 else
48518 glibcxx_cv_func__hypotf_use=no
48519 fi
48520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48521 ac_ext=c
48522 ac_cpp='$CPP $CPPFLAGS'
48523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48526
48527
48528 fi
48529
48530 fi
48531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48532 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48533
48534 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48535 for ac_func in _hypotf
48536 do :
48537 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48538 if test "x$ac_cv_func__hypotf" = x""yes; then :
48539 cat >>confdefs.h <<_ACEOF
48540 #define HAVE__HYPOTF 1
48541 _ACEOF
48542
48543 fi
48544 done
48545
48546 fi
48547 fi
48548
48549
48550
48551
48552
48553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48554 $as_echo_n "checking for ldexpf declaration... " >&6; }
48555 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48556 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48557 $as_echo_n "(cached) " >&6
48558 else
48559
48560
48561 ac_ext=cpp
48562 ac_cpp='$CXXCPP $CPPFLAGS'
48563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48566
48567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48568 /* end confdefs.h. */
48569 #include <math.h>
48570 int
48571 main ()
48572 {
48573 ldexpf(0, 0);
48574 ;
48575 return 0;
48576 }
48577 _ACEOF
48578 if ac_fn_cxx_try_compile "$LINENO"; then :
48579 glibcxx_cv_func_ldexpf_use=yes
48580 else
48581 glibcxx_cv_func_ldexpf_use=no
48582 fi
48583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48584 ac_ext=c
48585 ac_cpp='$CPP $CPPFLAGS'
48586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48589
48590
48591 fi
48592
48593 fi
48594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48595 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48596
48597 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48598 for ac_func in ldexpf
48599 do :
48600 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48601 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48602 cat >>confdefs.h <<_ACEOF
48603 #define HAVE_LDEXPF 1
48604 _ACEOF
48605
48606 fi
48607 done
48608
48609 else
48610
48611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48612 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48613 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48614 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48615 $as_echo_n "(cached) " >&6
48616 else
48617
48618
48619 ac_ext=cpp
48620 ac_cpp='$CXXCPP $CPPFLAGS'
48621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48624
48625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48626 /* end confdefs.h. */
48627 #include <math.h>
48628 int
48629 main ()
48630 {
48631 _ldexpf(0, 0);
48632 ;
48633 return 0;
48634 }
48635 _ACEOF
48636 if ac_fn_cxx_try_compile "$LINENO"; then :
48637 glibcxx_cv_func__ldexpf_use=yes
48638 else
48639 glibcxx_cv_func__ldexpf_use=no
48640 fi
48641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48642 ac_ext=c
48643 ac_cpp='$CPP $CPPFLAGS'
48644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48647
48648
48649 fi
48650
48651 fi
48652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48653 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48654
48655 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48656 for ac_func in _ldexpf
48657 do :
48658 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48659 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48660 cat >>confdefs.h <<_ACEOF
48661 #define HAVE__LDEXPF 1
48662 _ACEOF
48663
48664 fi
48665 done
48666
48667 fi
48668 fi
48669
48670
48671
48672
48673
48674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48675 $as_echo_n "checking for logf declaration... " >&6; }
48676 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48677 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48678 $as_echo_n "(cached) " >&6
48679 else
48680
48681
48682 ac_ext=cpp
48683 ac_cpp='$CXXCPP $CPPFLAGS'
48684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48687
48688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48689 /* end confdefs.h. */
48690 #include <math.h>
48691 #ifdef HAVE_IEEEFP_H
48692 #include <ieeefp.h>
48693 #endif
48694
48695 int
48696 main ()
48697 {
48698 logf(0);
48699 ;
48700 return 0;
48701 }
48702 _ACEOF
48703 if ac_fn_cxx_try_compile "$LINENO"; then :
48704 glibcxx_cv_func_logf_use=yes
48705 else
48706 glibcxx_cv_func_logf_use=no
48707 fi
48708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48709 ac_ext=c
48710 ac_cpp='$CPP $CPPFLAGS'
48711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48714
48715
48716 fi
48717
48718 fi
48719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48720 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48721
48722 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48723 for ac_func in logf
48724 do :
48725 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48726 if test "x$ac_cv_func_logf" = x""yes; then :
48727 cat >>confdefs.h <<_ACEOF
48728 #define HAVE_LOGF 1
48729 _ACEOF
48730
48731 fi
48732 done
48733
48734 else
48735
48736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48737 $as_echo_n "checking for _logf declaration... " >&6; }
48738 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48739 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48740 $as_echo_n "(cached) " >&6
48741 else
48742
48743
48744 ac_ext=cpp
48745 ac_cpp='$CXXCPP $CPPFLAGS'
48746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48749
48750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48751 /* end confdefs.h. */
48752 #include <math.h>
48753 #ifdef HAVE_IEEEFP_H
48754 #include <ieeefp.h>
48755 #endif
48756
48757 int
48758 main ()
48759 {
48760 _logf(0);
48761 ;
48762 return 0;
48763 }
48764 _ACEOF
48765 if ac_fn_cxx_try_compile "$LINENO"; then :
48766 glibcxx_cv_func__logf_use=yes
48767 else
48768 glibcxx_cv_func__logf_use=no
48769 fi
48770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48771 ac_ext=c
48772 ac_cpp='$CPP $CPPFLAGS'
48773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48776
48777
48778 fi
48779
48780 fi
48781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48782 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48783
48784 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48785 for ac_func in _logf
48786 do :
48787 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48788 if test "x$ac_cv_func__logf" = x""yes; then :
48789 cat >>confdefs.h <<_ACEOF
48790 #define HAVE__LOGF 1
48791 _ACEOF
48792
48793 fi
48794 done
48795
48796 fi
48797 fi
48798
48799
48800
48801
48802
48803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48804 $as_echo_n "checking for log10f declaration... " >&6; }
48805 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48806 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48807 $as_echo_n "(cached) " >&6
48808 else
48809
48810
48811 ac_ext=cpp
48812 ac_cpp='$CXXCPP $CPPFLAGS'
48813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48816
48817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48818 /* end confdefs.h. */
48819 #include <math.h>
48820 #ifdef HAVE_IEEEFP_H
48821 #include <ieeefp.h>
48822 #endif
48823
48824 int
48825 main ()
48826 {
48827 log10f(0);
48828 ;
48829 return 0;
48830 }
48831 _ACEOF
48832 if ac_fn_cxx_try_compile "$LINENO"; then :
48833 glibcxx_cv_func_log10f_use=yes
48834 else
48835 glibcxx_cv_func_log10f_use=no
48836 fi
48837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48838 ac_ext=c
48839 ac_cpp='$CPP $CPPFLAGS'
48840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48843
48844
48845 fi
48846
48847 fi
48848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48849 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48850
48851 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48852 for ac_func in log10f
48853 do :
48854 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48855 if test "x$ac_cv_func_log10f" = x""yes; then :
48856 cat >>confdefs.h <<_ACEOF
48857 #define HAVE_LOG10F 1
48858 _ACEOF
48859
48860 fi
48861 done
48862
48863 else
48864
48865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48866 $as_echo_n "checking for _log10f declaration... " >&6; }
48867 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48868 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48869 $as_echo_n "(cached) " >&6
48870 else
48871
48872
48873 ac_ext=cpp
48874 ac_cpp='$CXXCPP $CPPFLAGS'
48875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48878
48879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48880 /* end confdefs.h. */
48881 #include <math.h>
48882 #ifdef HAVE_IEEEFP_H
48883 #include <ieeefp.h>
48884 #endif
48885
48886 int
48887 main ()
48888 {
48889 _log10f(0);
48890 ;
48891 return 0;
48892 }
48893 _ACEOF
48894 if ac_fn_cxx_try_compile "$LINENO"; then :
48895 glibcxx_cv_func__log10f_use=yes
48896 else
48897 glibcxx_cv_func__log10f_use=no
48898 fi
48899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48900 ac_ext=c
48901 ac_cpp='$CPP $CPPFLAGS'
48902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48905
48906
48907 fi
48908
48909 fi
48910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48911 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48912
48913 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48914 for ac_func in _log10f
48915 do :
48916 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48917 if test "x$ac_cv_func__log10f" = x""yes; then :
48918 cat >>confdefs.h <<_ACEOF
48919 #define HAVE__LOG10F 1
48920 _ACEOF
48921
48922 fi
48923 done
48924
48925 fi
48926 fi
48927
48928
48929
48930
48931
48932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48933 $as_echo_n "checking for modff declaration... " >&6; }
48934 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48935 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48936 $as_echo_n "(cached) " >&6
48937 else
48938
48939
48940 ac_ext=cpp
48941 ac_cpp='$CXXCPP $CPPFLAGS'
48942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48945
48946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48947 /* end confdefs.h. */
48948 #include <math.h>
48949 int
48950 main ()
48951 {
48952 modff(0, 0);
48953 ;
48954 return 0;
48955 }
48956 _ACEOF
48957 if ac_fn_cxx_try_compile "$LINENO"; then :
48958 glibcxx_cv_func_modff_use=yes
48959 else
48960 glibcxx_cv_func_modff_use=no
48961 fi
48962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48963 ac_ext=c
48964 ac_cpp='$CPP $CPPFLAGS'
48965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48968
48969
48970 fi
48971
48972 fi
48973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48974 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48975
48976 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48977 for ac_func in modff
48978 do :
48979 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48980 if test "x$ac_cv_func_modff" = x""yes; then :
48981 cat >>confdefs.h <<_ACEOF
48982 #define HAVE_MODFF 1
48983 _ACEOF
48984
48985 fi
48986 done
48987
48988 else
48989
48990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48991 $as_echo_n "checking for _modff declaration... " >&6; }
48992 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48993 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48994 $as_echo_n "(cached) " >&6
48995 else
48996
48997
48998 ac_ext=cpp
48999 ac_cpp='$CXXCPP $CPPFLAGS'
49000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49003
49004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49005 /* end confdefs.h. */
49006 #include <math.h>
49007 int
49008 main ()
49009 {
49010 _modff(0, 0);
49011 ;
49012 return 0;
49013 }
49014 _ACEOF
49015 if ac_fn_cxx_try_compile "$LINENO"; then :
49016 glibcxx_cv_func__modff_use=yes
49017 else
49018 glibcxx_cv_func__modff_use=no
49019 fi
49020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49021 ac_ext=c
49022 ac_cpp='$CPP $CPPFLAGS'
49023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49026
49027
49028 fi
49029
49030 fi
49031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49032 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49033
49034 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49035 for ac_func in _modff
49036 do :
49037 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49038 if test "x$ac_cv_func__modff" = x""yes; then :
49039 cat >>confdefs.h <<_ACEOF
49040 #define HAVE__MODFF 1
49041 _ACEOF
49042
49043 fi
49044 done
49045
49046 fi
49047 fi
49048
49049
49050
49051
49052
49053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49054 $as_echo_n "checking for modf declaration... " >&6; }
49055 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49056 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49057 $as_echo_n "(cached) " >&6
49058 else
49059
49060
49061 ac_ext=cpp
49062 ac_cpp='$CXXCPP $CPPFLAGS'
49063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49066
49067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49068 /* end confdefs.h. */
49069 #include <math.h>
49070 int
49071 main ()
49072 {
49073 modf(0, 0);
49074 ;
49075 return 0;
49076 }
49077 _ACEOF
49078 if ac_fn_cxx_try_compile "$LINENO"; then :
49079 glibcxx_cv_func_modf_use=yes
49080 else
49081 glibcxx_cv_func_modf_use=no
49082 fi
49083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49084 ac_ext=c
49085 ac_cpp='$CPP $CPPFLAGS'
49086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49089
49090
49091 fi
49092
49093 fi
49094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49095 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49096
49097 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49098 for ac_func in modf
49099 do :
49100 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49101 if test "x$ac_cv_func_modf" = x""yes; then :
49102 cat >>confdefs.h <<_ACEOF
49103 #define HAVE_MODF 1
49104 _ACEOF
49105
49106 fi
49107 done
49108
49109 else
49110
49111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49112 $as_echo_n "checking for _modf declaration... " >&6; }
49113 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49114 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49115 $as_echo_n "(cached) " >&6
49116 else
49117
49118
49119 ac_ext=cpp
49120 ac_cpp='$CXXCPP $CPPFLAGS'
49121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49124
49125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49126 /* end confdefs.h. */
49127 #include <math.h>
49128 int
49129 main ()
49130 {
49131 _modf(0, 0);
49132 ;
49133 return 0;
49134 }
49135 _ACEOF
49136 if ac_fn_cxx_try_compile "$LINENO"; then :
49137 glibcxx_cv_func__modf_use=yes
49138 else
49139 glibcxx_cv_func__modf_use=no
49140 fi
49141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49142 ac_ext=c
49143 ac_cpp='$CPP $CPPFLAGS'
49144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49147
49148
49149 fi
49150
49151 fi
49152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49153 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49154
49155 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49156 for ac_func in _modf
49157 do :
49158 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49159 if test "x$ac_cv_func__modf" = x""yes; then :
49160 cat >>confdefs.h <<_ACEOF
49161 #define HAVE__MODF 1
49162 _ACEOF
49163
49164 fi
49165 done
49166
49167 fi
49168 fi
49169
49170
49171
49172
49173
49174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49175 $as_echo_n "checking for powf declaration... " >&6; }
49176 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49177 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49178 $as_echo_n "(cached) " >&6
49179 else
49180
49181
49182 ac_ext=cpp
49183 ac_cpp='$CXXCPP $CPPFLAGS'
49184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49187
49188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49189 /* end confdefs.h. */
49190 #include <math.h>
49191 int
49192 main ()
49193 {
49194 powf(0, 0);
49195 ;
49196 return 0;
49197 }
49198 _ACEOF
49199 if ac_fn_cxx_try_compile "$LINENO"; then :
49200 glibcxx_cv_func_powf_use=yes
49201 else
49202 glibcxx_cv_func_powf_use=no
49203 fi
49204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49205 ac_ext=c
49206 ac_cpp='$CPP $CPPFLAGS'
49207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49210
49211
49212 fi
49213
49214 fi
49215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49216 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49217
49218 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49219 for ac_func in powf
49220 do :
49221 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49222 if test "x$ac_cv_func_powf" = x""yes; then :
49223 cat >>confdefs.h <<_ACEOF
49224 #define HAVE_POWF 1
49225 _ACEOF
49226
49227 fi
49228 done
49229
49230 else
49231
49232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49233 $as_echo_n "checking for _powf declaration... " >&6; }
49234 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49235 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49236 $as_echo_n "(cached) " >&6
49237 else
49238
49239
49240 ac_ext=cpp
49241 ac_cpp='$CXXCPP $CPPFLAGS'
49242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49245
49246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49247 /* end confdefs.h. */
49248 #include <math.h>
49249 int
49250 main ()
49251 {
49252 _powf(0, 0);
49253 ;
49254 return 0;
49255 }
49256 _ACEOF
49257 if ac_fn_cxx_try_compile "$LINENO"; then :
49258 glibcxx_cv_func__powf_use=yes
49259 else
49260 glibcxx_cv_func__powf_use=no
49261 fi
49262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49263 ac_ext=c
49264 ac_cpp='$CPP $CPPFLAGS'
49265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49268
49269
49270 fi
49271
49272 fi
49273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49274 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49275
49276 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49277 for ac_func in _powf
49278 do :
49279 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49280 if test "x$ac_cv_func__powf" = x""yes; then :
49281 cat >>confdefs.h <<_ACEOF
49282 #define HAVE__POWF 1
49283 _ACEOF
49284
49285 fi
49286 done
49287
49288 fi
49289 fi
49290
49291
49292
49293
49294
49295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49296 $as_echo_n "checking for sqrtf declaration... " >&6; }
49297 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49298 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49299 $as_echo_n "(cached) " >&6
49300 else
49301
49302
49303 ac_ext=cpp
49304 ac_cpp='$CXXCPP $CPPFLAGS'
49305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49308
49309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49310 /* end confdefs.h. */
49311 #include <math.h>
49312 #ifdef HAVE_IEEEFP_H
49313 #include <ieeefp.h>
49314 #endif
49315
49316 int
49317 main ()
49318 {
49319 sqrtf(0);
49320 ;
49321 return 0;
49322 }
49323 _ACEOF
49324 if ac_fn_cxx_try_compile "$LINENO"; then :
49325 glibcxx_cv_func_sqrtf_use=yes
49326 else
49327 glibcxx_cv_func_sqrtf_use=no
49328 fi
49329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49330 ac_ext=c
49331 ac_cpp='$CPP $CPPFLAGS'
49332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49335
49336
49337 fi
49338
49339 fi
49340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49341 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49342
49343 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49344 for ac_func in sqrtf
49345 do :
49346 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49347 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49348 cat >>confdefs.h <<_ACEOF
49349 #define HAVE_SQRTF 1
49350 _ACEOF
49351
49352 fi
49353 done
49354
49355 else
49356
49357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49358 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49359 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49360 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49361 $as_echo_n "(cached) " >&6
49362 else
49363
49364
49365 ac_ext=cpp
49366 ac_cpp='$CXXCPP $CPPFLAGS'
49367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49370
49371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49372 /* end confdefs.h. */
49373 #include <math.h>
49374 #ifdef HAVE_IEEEFP_H
49375 #include <ieeefp.h>
49376 #endif
49377
49378 int
49379 main ()
49380 {
49381 _sqrtf(0);
49382 ;
49383 return 0;
49384 }
49385 _ACEOF
49386 if ac_fn_cxx_try_compile "$LINENO"; then :
49387 glibcxx_cv_func__sqrtf_use=yes
49388 else
49389 glibcxx_cv_func__sqrtf_use=no
49390 fi
49391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49392 ac_ext=c
49393 ac_cpp='$CPP $CPPFLAGS'
49394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49397
49398
49399 fi
49400
49401 fi
49402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49403 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49404
49405 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49406 for ac_func in _sqrtf
49407 do :
49408 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49409 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49410 cat >>confdefs.h <<_ACEOF
49411 #define HAVE__SQRTF 1
49412 _ACEOF
49413
49414 fi
49415 done
49416
49417 fi
49418 fi
49419
49420
49421
49422
49423
49424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49425 $as_echo_n "checking for sincosf declaration... " >&6; }
49426 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49427 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49428 $as_echo_n "(cached) " >&6
49429 else
49430
49431
49432 ac_ext=cpp
49433 ac_cpp='$CXXCPP $CPPFLAGS'
49434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49437
49438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49439 /* end confdefs.h. */
49440 #include <math.h>
49441 int
49442 main ()
49443 {
49444 sincosf(0, 0, 0);
49445 ;
49446 return 0;
49447 }
49448 _ACEOF
49449 if ac_fn_cxx_try_compile "$LINENO"; then :
49450 glibcxx_cv_func_sincosf_use=yes
49451 else
49452 glibcxx_cv_func_sincosf_use=no
49453 fi
49454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49455 ac_ext=c
49456 ac_cpp='$CPP $CPPFLAGS'
49457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49460
49461
49462 fi
49463
49464 fi
49465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49466 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49467
49468 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49469 for ac_func in sincosf
49470 do :
49471 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49472 if test "x$ac_cv_func_sincosf" = x""yes; then :
49473 cat >>confdefs.h <<_ACEOF
49474 #define HAVE_SINCOSF 1
49475 _ACEOF
49476
49477 fi
49478 done
49479
49480 else
49481
49482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49483 $as_echo_n "checking for _sincosf declaration... " >&6; }
49484 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49485 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49486 $as_echo_n "(cached) " >&6
49487 else
49488
49489
49490 ac_ext=cpp
49491 ac_cpp='$CXXCPP $CPPFLAGS'
49492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49495
49496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49497 /* end confdefs.h. */
49498 #include <math.h>
49499 int
49500 main ()
49501 {
49502 _sincosf(0, 0, 0);
49503 ;
49504 return 0;
49505 }
49506 _ACEOF
49507 if ac_fn_cxx_try_compile "$LINENO"; then :
49508 glibcxx_cv_func__sincosf_use=yes
49509 else
49510 glibcxx_cv_func__sincosf_use=no
49511 fi
49512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49513 ac_ext=c
49514 ac_cpp='$CPP $CPPFLAGS'
49515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49518
49519
49520 fi
49521
49522 fi
49523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49524 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49525
49526 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49527 for ac_func in _sincosf
49528 do :
49529 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49530 if test "x$ac_cv_func__sincosf" = x""yes; then :
49531 cat >>confdefs.h <<_ACEOF
49532 #define HAVE__SINCOSF 1
49533 _ACEOF
49534
49535 fi
49536 done
49537
49538 fi
49539 fi
49540
49541
49542
49543
49544
49545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49546 $as_echo_n "checking for finitef declaration... " >&6; }
49547 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49548 if test "${glibcxx_cv_func_finitef_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 #ifdef HAVE_IEEEFP_H
49563 #include <ieeefp.h>
49564 #endif
49565
49566 int
49567 main ()
49568 {
49569 finitef(0);
49570 ;
49571 return 0;
49572 }
49573 _ACEOF
49574 if ac_fn_cxx_try_compile "$LINENO"; then :
49575 glibcxx_cv_func_finitef_use=yes
49576 else
49577 glibcxx_cv_func_finitef_use=no
49578 fi
49579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49580 ac_ext=c
49581 ac_cpp='$CPP $CPPFLAGS'
49582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49585
49586
49587 fi
49588
49589 fi
49590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49591 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49592
49593 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49594 for ac_func in finitef
49595 do :
49596 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49597 if test "x$ac_cv_func_finitef" = x""yes; then :
49598 cat >>confdefs.h <<_ACEOF
49599 #define HAVE_FINITEF 1
49600 _ACEOF
49601
49602 fi
49603 done
49604
49605 else
49606
49607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49608 $as_echo_n "checking for _finitef declaration... " >&6; }
49609 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49610 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49611 $as_echo_n "(cached) " >&6
49612 else
49613
49614
49615 ac_ext=cpp
49616 ac_cpp='$CXXCPP $CPPFLAGS'
49617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49620
49621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49622 /* end confdefs.h. */
49623 #include <math.h>
49624 #ifdef HAVE_IEEEFP_H
49625 #include <ieeefp.h>
49626 #endif
49627
49628 int
49629 main ()
49630 {
49631 _finitef(0);
49632 ;
49633 return 0;
49634 }
49635 _ACEOF
49636 if ac_fn_cxx_try_compile "$LINENO"; then :
49637 glibcxx_cv_func__finitef_use=yes
49638 else
49639 glibcxx_cv_func__finitef_use=no
49640 fi
49641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49642 ac_ext=c
49643 ac_cpp='$CPP $CPPFLAGS'
49644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49647
49648
49649 fi
49650
49651 fi
49652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49653 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49654
49655 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49656 for ac_func in _finitef
49657 do :
49658 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49659 if test "x$ac_cv_func__finitef" = x""yes; then :
49660 cat >>confdefs.h <<_ACEOF
49661 #define HAVE__FINITEF 1
49662 _ACEOF
49663
49664 fi
49665 done
49666
49667 fi
49668 fi
49669
49670
49671
49672
49673
49674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49675 $as_echo_n "checking for long double trig functions... " >&6; }
49676 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49677 $as_echo_n "(cached) " >&6
49678 else
49679
49680
49681 ac_ext=cpp
49682 ac_cpp='$CXXCPP $CPPFLAGS'
49683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49686
49687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49688 /* end confdefs.h. */
49689 #include <math.h>
49690 int
49691 main ()
49692 {
49693 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49694 ;
49695 return 0;
49696 }
49697 _ACEOF
49698 if ac_fn_cxx_try_compile "$LINENO"; then :
49699 glibcxx_cv_func_long_double_trig_use=yes
49700 else
49701 glibcxx_cv_func_long_double_trig_use=no
49702 fi
49703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49704 ac_ext=c
49705 ac_cpp='$CPP $CPPFLAGS'
49706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49709
49710 fi
49711
49712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49713 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49714 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49715 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49716 do :
49717 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49718 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49719 eval as_val=\$$as_ac_var
49720 if test "x$as_val" = x""yes; then :
49721 cat >>confdefs.h <<_ACEOF
49722 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49723 _ACEOF
49724
49725 fi
49726 done
49727
49728 else
49729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49730 $as_echo_n "checking for _long double trig functions... " >&6; }
49731 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49732 $as_echo_n "(cached) " >&6
49733 else
49734
49735
49736 ac_ext=cpp
49737 ac_cpp='$CXXCPP $CPPFLAGS'
49738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49741
49742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49743 /* end confdefs.h. */
49744 #include <math.h>
49745 int
49746 main ()
49747 {
49748 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49749 ;
49750 return 0;
49751 }
49752 _ACEOF
49753 if ac_fn_cxx_try_compile "$LINENO"; then :
49754 glibcxx_cv_func__long_double_trig_use=yes
49755 else
49756 glibcxx_cv_func__long_double_trig_use=no
49757 fi
49758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49759 ac_ext=c
49760 ac_cpp='$CPP $CPPFLAGS'
49761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49764
49765 fi
49766
49767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49768 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49769 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49770 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49771 do :
49772 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49773 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49774 eval as_val=\$$as_ac_var
49775 if test "x$as_val" = x""yes; then :
49776 cat >>confdefs.h <<_ACEOF
49777 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49778 _ACEOF
49779
49780 fi
49781 done
49782
49783 fi
49784 fi
49785
49786
49787
49788
49789
49790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49791 $as_echo_n "checking for long double round functions... " >&6; }
49792 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49793 $as_echo_n "(cached) " >&6
49794 else
49795
49796
49797 ac_ext=cpp
49798 ac_cpp='$CXXCPP $CPPFLAGS'
49799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49802
49803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49804 /* end confdefs.h. */
49805 #include <math.h>
49806 int
49807 main ()
49808 {
49809 ceill (0); floorl (0);
49810 ;
49811 return 0;
49812 }
49813 _ACEOF
49814 if ac_fn_cxx_try_compile "$LINENO"; then :
49815 glibcxx_cv_func_long_double_round_use=yes
49816 else
49817 glibcxx_cv_func_long_double_round_use=no
49818 fi
49819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49820 ac_ext=c
49821 ac_cpp='$CPP $CPPFLAGS'
49822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49825
49826 fi
49827
49828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49829 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49830 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49831 for ac_func in ceill floorl
49832 do :
49833 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49834 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49835 eval as_val=\$$as_ac_var
49836 if test "x$as_val" = x""yes; then :
49837 cat >>confdefs.h <<_ACEOF
49838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49839 _ACEOF
49840
49841 fi
49842 done
49843
49844 else
49845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49846 $as_echo_n "checking for _long double round functions... " >&6; }
49847 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49848 $as_echo_n "(cached) " >&6
49849 else
49850
49851
49852 ac_ext=cpp
49853 ac_cpp='$CXXCPP $CPPFLAGS'
49854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49857
49858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49859 /* end confdefs.h. */
49860 #include <math.h>
49861 int
49862 main ()
49863 {
49864 _ceill (0); _floorl (0);
49865 ;
49866 return 0;
49867 }
49868 _ACEOF
49869 if ac_fn_cxx_try_compile "$LINENO"; then :
49870 glibcxx_cv_func__long_double_round_use=yes
49871 else
49872 glibcxx_cv_func__long_double_round_use=no
49873 fi
49874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49875 ac_ext=c
49876 ac_cpp='$CPP $CPPFLAGS'
49877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49880
49881 fi
49882
49883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49884 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49885 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49886 for ac_func in _ceill _floorl
49887 do :
49888 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49890 eval as_val=\$$as_ac_var
49891 if test "x$as_val" = x""yes; then :
49892 cat >>confdefs.h <<_ACEOF
49893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49894 _ACEOF
49895
49896 fi
49897 done
49898
49899 fi
49900 fi
49901
49902
49903
49904
49905
49906
49907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49908 $as_echo_n "checking for isnanl declaration... " >&6; }
49909 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49910 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49911 $as_echo_n "(cached) " >&6
49912 else
49913
49914
49915 ac_ext=cpp
49916 ac_cpp='$CXXCPP $CPPFLAGS'
49917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49920
49921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49922 /* end confdefs.h. */
49923 #include <math.h>
49924 #ifdef HAVE_IEEEFP_H
49925 #include <ieeefp.h>
49926 #endif
49927
49928 int
49929 main ()
49930 {
49931 isnanl(0);
49932 ;
49933 return 0;
49934 }
49935 _ACEOF
49936 if ac_fn_cxx_try_compile "$LINENO"; then :
49937 glibcxx_cv_func_isnanl_use=yes
49938 else
49939 glibcxx_cv_func_isnanl_use=no
49940 fi
49941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49942 ac_ext=c
49943 ac_cpp='$CPP $CPPFLAGS'
49944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49947
49948
49949 fi
49950
49951 fi
49952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49953 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49954
49955 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49956 for ac_func in isnanl
49957 do :
49958 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49959 if test "x$ac_cv_func_isnanl" = x""yes; then :
49960 cat >>confdefs.h <<_ACEOF
49961 #define HAVE_ISNANL 1
49962 _ACEOF
49963
49964 fi
49965 done
49966
49967 else
49968
49969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49970 $as_echo_n "checking for _isnanl declaration... " >&6; }
49971 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49972 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49973 $as_echo_n "(cached) " >&6
49974 else
49975
49976
49977 ac_ext=cpp
49978 ac_cpp='$CXXCPP $CPPFLAGS'
49979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49982
49983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49984 /* end confdefs.h. */
49985 #include <math.h>
49986 #ifdef HAVE_IEEEFP_H
49987 #include <ieeefp.h>
49988 #endif
49989
49990 int
49991 main ()
49992 {
49993 _isnanl(0);
49994 ;
49995 return 0;
49996 }
49997 _ACEOF
49998 if ac_fn_cxx_try_compile "$LINENO"; then :
49999 glibcxx_cv_func__isnanl_use=yes
50000 else
50001 glibcxx_cv_func__isnanl_use=no
50002 fi
50003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50004 ac_ext=c
50005 ac_cpp='$CPP $CPPFLAGS'
50006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50009
50010
50011 fi
50012
50013 fi
50014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50015 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50016
50017 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50018 for ac_func in _isnanl
50019 do :
50020 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50021 if test "x$ac_cv_func__isnanl" = x""yes; then :
50022 cat >>confdefs.h <<_ACEOF
50023 #define HAVE__ISNANL 1
50024 _ACEOF
50025
50026 fi
50027 done
50028
50029 fi
50030 fi
50031
50032
50033
50034
50035
50036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50037 $as_echo_n "checking for isinfl declaration... " >&6; }
50038 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50039 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50040 $as_echo_n "(cached) " >&6
50041 else
50042
50043
50044 ac_ext=cpp
50045 ac_cpp='$CXXCPP $CPPFLAGS'
50046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50049
50050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50051 /* end confdefs.h. */
50052 #include <math.h>
50053 #ifdef HAVE_IEEEFP_H
50054 #include <ieeefp.h>
50055 #endif
50056
50057 int
50058 main ()
50059 {
50060 isinfl(0);
50061 ;
50062 return 0;
50063 }
50064 _ACEOF
50065 if ac_fn_cxx_try_compile "$LINENO"; then :
50066 glibcxx_cv_func_isinfl_use=yes
50067 else
50068 glibcxx_cv_func_isinfl_use=no
50069 fi
50070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50071 ac_ext=c
50072 ac_cpp='$CPP $CPPFLAGS'
50073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50076
50077
50078 fi
50079
50080 fi
50081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50082 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50083
50084 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50085 for ac_func in isinfl
50086 do :
50087 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50088 if test "x$ac_cv_func_isinfl" = x""yes; then :
50089 cat >>confdefs.h <<_ACEOF
50090 #define HAVE_ISINFL 1
50091 _ACEOF
50092
50093 fi
50094 done
50095
50096 else
50097
50098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50099 $as_echo_n "checking for _isinfl declaration... " >&6; }
50100 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50101 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50102 $as_echo_n "(cached) " >&6
50103 else
50104
50105
50106 ac_ext=cpp
50107 ac_cpp='$CXXCPP $CPPFLAGS'
50108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50111
50112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50113 /* end confdefs.h. */
50114 #include <math.h>
50115 #ifdef HAVE_IEEEFP_H
50116 #include <ieeefp.h>
50117 #endif
50118
50119 int
50120 main ()
50121 {
50122 _isinfl(0);
50123 ;
50124 return 0;
50125 }
50126 _ACEOF
50127 if ac_fn_cxx_try_compile "$LINENO"; then :
50128 glibcxx_cv_func__isinfl_use=yes
50129 else
50130 glibcxx_cv_func__isinfl_use=no
50131 fi
50132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50133 ac_ext=c
50134 ac_cpp='$CPP $CPPFLAGS'
50135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50138
50139
50140 fi
50141
50142 fi
50143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50144 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50145
50146 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50147 for ac_func in _isinfl
50148 do :
50149 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50150 if test "x$ac_cv_func__isinfl" = x""yes; then :
50151 cat >>confdefs.h <<_ACEOF
50152 #define HAVE__ISINFL 1
50153 _ACEOF
50154
50155 fi
50156 done
50157
50158 fi
50159 fi
50160
50161
50162
50163
50164
50165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50166 $as_echo_n "checking for atan2l declaration... " >&6; }
50167 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50168 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50169 $as_echo_n "(cached) " >&6
50170 else
50171
50172
50173 ac_ext=cpp
50174 ac_cpp='$CXXCPP $CPPFLAGS'
50175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50178
50179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50180 /* end confdefs.h. */
50181 #include <math.h>
50182 int
50183 main ()
50184 {
50185 atan2l(0, 0);
50186 ;
50187 return 0;
50188 }
50189 _ACEOF
50190 if ac_fn_cxx_try_compile "$LINENO"; then :
50191 glibcxx_cv_func_atan2l_use=yes
50192 else
50193 glibcxx_cv_func_atan2l_use=no
50194 fi
50195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50196 ac_ext=c
50197 ac_cpp='$CPP $CPPFLAGS'
50198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50201
50202
50203 fi
50204
50205 fi
50206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50207 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50208
50209 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50210 for ac_func in atan2l
50211 do :
50212 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50213 if test "x$ac_cv_func_atan2l" = x""yes; then :
50214 cat >>confdefs.h <<_ACEOF
50215 #define HAVE_ATAN2L 1
50216 _ACEOF
50217
50218 fi
50219 done
50220
50221 else
50222
50223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50224 $as_echo_n "checking for _atan2l declaration... " >&6; }
50225 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50226 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50227 $as_echo_n "(cached) " >&6
50228 else
50229
50230
50231 ac_ext=cpp
50232 ac_cpp='$CXXCPP $CPPFLAGS'
50233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50236
50237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50238 /* end confdefs.h. */
50239 #include <math.h>
50240 int
50241 main ()
50242 {
50243 _atan2l(0, 0);
50244 ;
50245 return 0;
50246 }
50247 _ACEOF
50248 if ac_fn_cxx_try_compile "$LINENO"; then :
50249 glibcxx_cv_func__atan2l_use=yes
50250 else
50251 glibcxx_cv_func__atan2l_use=no
50252 fi
50253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50254 ac_ext=c
50255 ac_cpp='$CPP $CPPFLAGS'
50256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50259
50260
50261 fi
50262
50263 fi
50264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50265 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50266
50267 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50268 for ac_func in _atan2l
50269 do :
50270 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50271 if test "x$ac_cv_func__atan2l" = x""yes; then :
50272 cat >>confdefs.h <<_ACEOF
50273 #define HAVE__ATAN2L 1
50274 _ACEOF
50275
50276 fi
50277 done
50278
50279 fi
50280 fi
50281
50282
50283
50284
50285
50286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50287 $as_echo_n "checking for expl declaration... " >&6; }
50288 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50289 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50290 $as_echo_n "(cached) " >&6
50291 else
50292
50293
50294 ac_ext=cpp
50295 ac_cpp='$CXXCPP $CPPFLAGS'
50296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50299
50300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50301 /* end confdefs.h. */
50302 #include <math.h>
50303 #ifdef HAVE_IEEEFP_H
50304 #include <ieeefp.h>
50305 #endif
50306
50307 int
50308 main ()
50309 {
50310 expl(0);
50311 ;
50312 return 0;
50313 }
50314 _ACEOF
50315 if ac_fn_cxx_try_compile "$LINENO"; then :
50316 glibcxx_cv_func_expl_use=yes
50317 else
50318 glibcxx_cv_func_expl_use=no
50319 fi
50320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50321 ac_ext=c
50322 ac_cpp='$CPP $CPPFLAGS'
50323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50326
50327
50328 fi
50329
50330 fi
50331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50332 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50333
50334 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50335 for ac_func in expl
50336 do :
50337 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50338 if test "x$ac_cv_func_expl" = x""yes; then :
50339 cat >>confdefs.h <<_ACEOF
50340 #define HAVE_EXPL 1
50341 _ACEOF
50342
50343 fi
50344 done
50345
50346 else
50347
50348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50349 $as_echo_n "checking for _expl declaration... " >&6; }
50350 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50351 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50352 $as_echo_n "(cached) " >&6
50353 else
50354
50355
50356 ac_ext=cpp
50357 ac_cpp='$CXXCPP $CPPFLAGS'
50358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50361
50362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50363 /* end confdefs.h. */
50364 #include <math.h>
50365 #ifdef HAVE_IEEEFP_H
50366 #include <ieeefp.h>
50367 #endif
50368
50369 int
50370 main ()
50371 {
50372 _expl(0);
50373 ;
50374 return 0;
50375 }
50376 _ACEOF
50377 if ac_fn_cxx_try_compile "$LINENO"; then :
50378 glibcxx_cv_func__expl_use=yes
50379 else
50380 glibcxx_cv_func__expl_use=no
50381 fi
50382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50383 ac_ext=c
50384 ac_cpp='$CPP $CPPFLAGS'
50385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50388
50389
50390 fi
50391
50392 fi
50393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50394 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50395
50396 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50397 for ac_func in _expl
50398 do :
50399 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50400 if test "x$ac_cv_func__expl" = x""yes; then :
50401 cat >>confdefs.h <<_ACEOF
50402 #define HAVE__EXPL 1
50403 _ACEOF
50404
50405 fi
50406 done
50407
50408 fi
50409 fi
50410
50411
50412
50413
50414
50415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50416 $as_echo_n "checking for fabsl declaration... " >&6; }
50417 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50418 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50419 $as_echo_n "(cached) " >&6
50420 else
50421
50422
50423 ac_ext=cpp
50424 ac_cpp='$CXXCPP $CPPFLAGS'
50425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50428
50429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50430 /* end confdefs.h. */
50431 #include <math.h>
50432 #ifdef HAVE_IEEEFP_H
50433 #include <ieeefp.h>
50434 #endif
50435
50436 int
50437 main ()
50438 {
50439 fabsl(0);
50440 ;
50441 return 0;
50442 }
50443 _ACEOF
50444 if ac_fn_cxx_try_compile "$LINENO"; then :
50445 glibcxx_cv_func_fabsl_use=yes
50446 else
50447 glibcxx_cv_func_fabsl_use=no
50448 fi
50449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50450 ac_ext=c
50451 ac_cpp='$CPP $CPPFLAGS'
50452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50455
50456
50457 fi
50458
50459 fi
50460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50461 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50462
50463 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50464 for ac_func in fabsl
50465 do :
50466 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50467 if test "x$ac_cv_func_fabsl" = x""yes; then :
50468 cat >>confdefs.h <<_ACEOF
50469 #define HAVE_FABSL 1
50470 _ACEOF
50471
50472 fi
50473 done
50474
50475 else
50476
50477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50478 $as_echo_n "checking for _fabsl declaration... " >&6; }
50479 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50480 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50481 $as_echo_n "(cached) " >&6
50482 else
50483
50484
50485 ac_ext=cpp
50486 ac_cpp='$CXXCPP $CPPFLAGS'
50487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50490
50491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50492 /* end confdefs.h. */
50493 #include <math.h>
50494 #ifdef HAVE_IEEEFP_H
50495 #include <ieeefp.h>
50496 #endif
50497
50498 int
50499 main ()
50500 {
50501 _fabsl(0);
50502 ;
50503 return 0;
50504 }
50505 _ACEOF
50506 if ac_fn_cxx_try_compile "$LINENO"; then :
50507 glibcxx_cv_func__fabsl_use=yes
50508 else
50509 glibcxx_cv_func__fabsl_use=no
50510 fi
50511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50512 ac_ext=c
50513 ac_cpp='$CPP $CPPFLAGS'
50514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50517
50518
50519 fi
50520
50521 fi
50522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50523 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50524
50525 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50526 for ac_func in _fabsl
50527 do :
50528 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50529 if test "x$ac_cv_func__fabsl" = x""yes; then :
50530 cat >>confdefs.h <<_ACEOF
50531 #define HAVE__FABSL 1
50532 _ACEOF
50533
50534 fi
50535 done
50536
50537 fi
50538 fi
50539
50540
50541
50542
50543
50544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50545 $as_echo_n "checking for fmodl declaration... " >&6; }
50546 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50547 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50548 $as_echo_n "(cached) " >&6
50549 else
50550
50551
50552 ac_ext=cpp
50553 ac_cpp='$CXXCPP $CPPFLAGS'
50554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50557
50558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50559 /* end confdefs.h. */
50560 #include <math.h>
50561 int
50562 main ()
50563 {
50564 fmodl(0, 0);
50565 ;
50566 return 0;
50567 }
50568 _ACEOF
50569 if ac_fn_cxx_try_compile "$LINENO"; then :
50570 glibcxx_cv_func_fmodl_use=yes
50571 else
50572 glibcxx_cv_func_fmodl_use=no
50573 fi
50574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50575 ac_ext=c
50576 ac_cpp='$CPP $CPPFLAGS'
50577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50580
50581
50582 fi
50583
50584 fi
50585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50586 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50587
50588 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50589 for ac_func in fmodl
50590 do :
50591 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50592 if test "x$ac_cv_func_fmodl" = x""yes; then :
50593 cat >>confdefs.h <<_ACEOF
50594 #define HAVE_FMODL 1
50595 _ACEOF
50596
50597 fi
50598 done
50599
50600 else
50601
50602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50603 $as_echo_n "checking for _fmodl declaration... " >&6; }
50604 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50605 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50606 $as_echo_n "(cached) " >&6
50607 else
50608
50609
50610 ac_ext=cpp
50611 ac_cpp='$CXXCPP $CPPFLAGS'
50612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50615
50616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50617 /* end confdefs.h. */
50618 #include <math.h>
50619 int
50620 main ()
50621 {
50622 _fmodl(0, 0);
50623 ;
50624 return 0;
50625 }
50626 _ACEOF
50627 if ac_fn_cxx_try_compile "$LINENO"; then :
50628 glibcxx_cv_func__fmodl_use=yes
50629 else
50630 glibcxx_cv_func__fmodl_use=no
50631 fi
50632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50633 ac_ext=c
50634 ac_cpp='$CPP $CPPFLAGS'
50635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50638
50639
50640 fi
50641
50642 fi
50643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50644 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50645
50646 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50647 for ac_func in _fmodl
50648 do :
50649 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50650 if test "x$ac_cv_func__fmodl" = x""yes; then :
50651 cat >>confdefs.h <<_ACEOF
50652 #define HAVE__FMODL 1
50653 _ACEOF
50654
50655 fi
50656 done
50657
50658 fi
50659 fi
50660
50661
50662
50663
50664
50665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50666 $as_echo_n "checking for frexpl declaration... " >&6; }
50667 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50668 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50669 $as_echo_n "(cached) " >&6
50670 else
50671
50672
50673 ac_ext=cpp
50674 ac_cpp='$CXXCPP $CPPFLAGS'
50675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50678
50679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50680 /* end confdefs.h. */
50681 #include <math.h>
50682 int
50683 main ()
50684 {
50685 frexpl(0, 0);
50686 ;
50687 return 0;
50688 }
50689 _ACEOF
50690 if ac_fn_cxx_try_compile "$LINENO"; then :
50691 glibcxx_cv_func_frexpl_use=yes
50692 else
50693 glibcxx_cv_func_frexpl_use=no
50694 fi
50695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50696 ac_ext=c
50697 ac_cpp='$CPP $CPPFLAGS'
50698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50701
50702
50703 fi
50704
50705 fi
50706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50707 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50708
50709 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50710 for ac_func in frexpl
50711 do :
50712 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50713 if test "x$ac_cv_func_frexpl" = x""yes; then :
50714 cat >>confdefs.h <<_ACEOF
50715 #define HAVE_FREXPL 1
50716 _ACEOF
50717
50718 fi
50719 done
50720
50721 else
50722
50723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50724 $as_echo_n "checking for _frexpl declaration... " >&6; }
50725 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50726 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50727 $as_echo_n "(cached) " >&6
50728 else
50729
50730
50731 ac_ext=cpp
50732 ac_cpp='$CXXCPP $CPPFLAGS'
50733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50736
50737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50738 /* end confdefs.h. */
50739 #include <math.h>
50740 int
50741 main ()
50742 {
50743 _frexpl(0, 0);
50744 ;
50745 return 0;
50746 }
50747 _ACEOF
50748 if ac_fn_cxx_try_compile "$LINENO"; then :
50749 glibcxx_cv_func__frexpl_use=yes
50750 else
50751 glibcxx_cv_func__frexpl_use=no
50752 fi
50753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50754 ac_ext=c
50755 ac_cpp='$CPP $CPPFLAGS'
50756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50759
50760
50761 fi
50762
50763 fi
50764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50765 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50766
50767 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50768 for ac_func in _frexpl
50769 do :
50770 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50771 if test "x$ac_cv_func__frexpl" = x""yes; then :
50772 cat >>confdefs.h <<_ACEOF
50773 #define HAVE__FREXPL 1
50774 _ACEOF
50775
50776 fi
50777 done
50778
50779 fi
50780 fi
50781
50782
50783
50784
50785
50786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50787 $as_echo_n "checking for hypotl declaration... " >&6; }
50788 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50789 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50790 $as_echo_n "(cached) " >&6
50791 else
50792
50793
50794 ac_ext=cpp
50795 ac_cpp='$CXXCPP $CPPFLAGS'
50796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50799
50800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50801 /* end confdefs.h. */
50802 #include <math.h>
50803 int
50804 main ()
50805 {
50806 hypotl(0, 0);
50807 ;
50808 return 0;
50809 }
50810 _ACEOF
50811 if ac_fn_cxx_try_compile "$LINENO"; then :
50812 glibcxx_cv_func_hypotl_use=yes
50813 else
50814 glibcxx_cv_func_hypotl_use=no
50815 fi
50816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50817 ac_ext=c
50818 ac_cpp='$CPP $CPPFLAGS'
50819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50822
50823
50824 fi
50825
50826 fi
50827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50828 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50829
50830 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50831 for ac_func in hypotl
50832 do :
50833 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50834 if test "x$ac_cv_func_hypotl" = x""yes; then :
50835 cat >>confdefs.h <<_ACEOF
50836 #define HAVE_HYPOTL 1
50837 _ACEOF
50838
50839 fi
50840 done
50841
50842 else
50843
50844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50845 $as_echo_n "checking for _hypotl declaration... " >&6; }
50846 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50847 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50848 $as_echo_n "(cached) " >&6
50849 else
50850
50851
50852 ac_ext=cpp
50853 ac_cpp='$CXXCPP $CPPFLAGS'
50854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50857
50858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50859 /* end confdefs.h. */
50860 #include <math.h>
50861 int
50862 main ()
50863 {
50864 _hypotl(0, 0);
50865 ;
50866 return 0;
50867 }
50868 _ACEOF
50869 if ac_fn_cxx_try_compile "$LINENO"; then :
50870 glibcxx_cv_func__hypotl_use=yes
50871 else
50872 glibcxx_cv_func__hypotl_use=no
50873 fi
50874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50875 ac_ext=c
50876 ac_cpp='$CPP $CPPFLAGS'
50877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50880
50881
50882 fi
50883
50884 fi
50885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50886 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50887
50888 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50889 for ac_func in _hypotl
50890 do :
50891 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50892 if test "x$ac_cv_func__hypotl" = x""yes; then :
50893 cat >>confdefs.h <<_ACEOF
50894 #define HAVE__HYPOTL 1
50895 _ACEOF
50896
50897 fi
50898 done
50899
50900 fi
50901 fi
50902
50903
50904
50905
50906
50907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50908 $as_echo_n "checking for ldexpl declaration... " >&6; }
50909 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50910 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50911 $as_echo_n "(cached) " >&6
50912 else
50913
50914
50915 ac_ext=cpp
50916 ac_cpp='$CXXCPP $CPPFLAGS'
50917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50920
50921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50922 /* end confdefs.h. */
50923 #include <math.h>
50924 int
50925 main ()
50926 {
50927 ldexpl(0, 0);
50928 ;
50929 return 0;
50930 }
50931 _ACEOF
50932 if ac_fn_cxx_try_compile "$LINENO"; then :
50933 glibcxx_cv_func_ldexpl_use=yes
50934 else
50935 glibcxx_cv_func_ldexpl_use=no
50936 fi
50937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50938 ac_ext=c
50939 ac_cpp='$CPP $CPPFLAGS'
50940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50943
50944
50945 fi
50946
50947 fi
50948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50949 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50950
50951 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50952 for ac_func in ldexpl
50953 do :
50954 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50955 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50956 cat >>confdefs.h <<_ACEOF
50957 #define HAVE_LDEXPL 1
50958 _ACEOF
50959
50960 fi
50961 done
50962
50963 else
50964
50965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50966 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50967 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50968 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50969 $as_echo_n "(cached) " >&6
50970 else
50971
50972
50973 ac_ext=cpp
50974 ac_cpp='$CXXCPP $CPPFLAGS'
50975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50978
50979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50980 /* end confdefs.h. */
50981 #include <math.h>
50982 int
50983 main ()
50984 {
50985 _ldexpl(0, 0);
50986 ;
50987 return 0;
50988 }
50989 _ACEOF
50990 if ac_fn_cxx_try_compile "$LINENO"; then :
50991 glibcxx_cv_func__ldexpl_use=yes
50992 else
50993 glibcxx_cv_func__ldexpl_use=no
50994 fi
50995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50996 ac_ext=c
50997 ac_cpp='$CPP $CPPFLAGS'
50998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51001
51002
51003 fi
51004
51005 fi
51006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51007 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51008
51009 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51010 for ac_func in _ldexpl
51011 do :
51012 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51013 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51014 cat >>confdefs.h <<_ACEOF
51015 #define HAVE__LDEXPL 1
51016 _ACEOF
51017
51018 fi
51019 done
51020
51021 fi
51022 fi
51023
51024
51025
51026
51027
51028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51029 $as_echo_n "checking for logl declaration... " >&6; }
51030 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51031 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51032 $as_echo_n "(cached) " >&6
51033 else
51034
51035
51036 ac_ext=cpp
51037 ac_cpp='$CXXCPP $CPPFLAGS'
51038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51041
51042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51043 /* end confdefs.h. */
51044 #include <math.h>
51045 #ifdef HAVE_IEEEFP_H
51046 #include <ieeefp.h>
51047 #endif
51048
51049 int
51050 main ()
51051 {
51052 logl(0);
51053 ;
51054 return 0;
51055 }
51056 _ACEOF
51057 if ac_fn_cxx_try_compile "$LINENO"; then :
51058 glibcxx_cv_func_logl_use=yes
51059 else
51060 glibcxx_cv_func_logl_use=no
51061 fi
51062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51063 ac_ext=c
51064 ac_cpp='$CPP $CPPFLAGS'
51065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51068
51069
51070 fi
51071
51072 fi
51073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51074 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51075
51076 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51077 for ac_func in logl
51078 do :
51079 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51080 if test "x$ac_cv_func_logl" = x""yes; then :
51081 cat >>confdefs.h <<_ACEOF
51082 #define HAVE_LOGL 1
51083 _ACEOF
51084
51085 fi
51086 done
51087
51088 else
51089
51090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51091 $as_echo_n "checking for _logl declaration... " >&6; }
51092 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51093 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51094 $as_echo_n "(cached) " >&6
51095 else
51096
51097
51098 ac_ext=cpp
51099 ac_cpp='$CXXCPP $CPPFLAGS'
51100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51103
51104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51105 /* end confdefs.h. */
51106 #include <math.h>
51107 #ifdef HAVE_IEEEFP_H
51108 #include <ieeefp.h>
51109 #endif
51110
51111 int
51112 main ()
51113 {
51114 _logl(0);
51115 ;
51116 return 0;
51117 }
51118 _ACEOF
51119 if ac_fn_cxx_try_compile "$LINENO"; then :
51120 glibcxx_cv_func__logl_use=yes
51121 else
51122 glibcxx_cv_func__logl_use=no
51123 fi
51124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51125 ac_ext=c
51126 ac_cpp='$CPP $CPPFLAGS'
51127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51130
51131
51132 fi
51133
51134 fi
51135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51136 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51137
51138 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51139 for ac_func in _logl
51140 do :
51141 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51142 if test "x$ac_cv_func__logl" = x""yes; then :
51143 cat >>confdefs.h <<_ACEOF
51144 #define HAVE__LOGL 1
51145 _ACEOF
51146
51147 fi
51148 done
51149
51150 fi
51151 fi
51152
51153
51154
51155
51156
51157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51158 $as_echo_n "checking for log10l declaration... " >&6; }
51159 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51160 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51161 $as_echo_n "(cached) " >&6
51162 else
51163
51164
51165 ac_ext=cpp
51166 ac_cpp='$CXXCPP $CPPFLAGS'
51167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51170
51171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51172 /* end confdefs.h. */
51173 #include <math.h>
51174 #ifdef HAVE_IEEEFP_H
51175 #include <ieeefp.h>
51176 #endif
51177
51178 int
51179 main ()
51180 {
51181 log10l(0);
51182 ;
51183 return 0;
51184 }
51185 _ACEOF
51186 if ac_fn_cxx_try_compile "$LINENO"; then :
51187 glibcxx_cv_func_log10l_use=yes
51188 else
51189 glibcxx_cv_func_log10l_use=no
51190 fi
51191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51192 ac_ext=c
51193 ac_cpp='$CPP $CPPFLAGS'
51194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51197
51198
51199 fi
51200
51201 fi
51202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51203 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51204
51205 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51206 for ac_func in log10l
51207 do :
51208 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51209 if test "x$ac_cv_func_log10l" = x""yes; then :
51210 cat >>confdefs.h <<_ACEOF
51211 #define HAVE_LOG10L 1
51212 _ACEOF
51213
51214 fi
51215 done
51216
51217 else
51218
51219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51220 $as_echo_n "checking for _log10l declaration... " >&6; }
51221 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51222 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51223 $as_echo_n "(cached) " >&6
51224 else
51225
51226
51227 ac_ext=cpp
51228 ac_cpp='$CXXCPP $CPPFLAGS'
51229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51232
51233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51234 /* end confdefs.h. */
51235 #include <math.h>
51236 #ifdef HAVE_IEEEFP_H
51237 #include <ieeefp.h>
51238 #endif
51239
51240 int
51241 main ()
51242 {
51243 _log10l(0);
51244 ;
51245 return 0;
51246 }
51247 _ACEOF
51248 if ac_fn_cxx_try_compile "$LINENO"; then :
51249 glibcxx_cv_func__log10l_use=yes
51250 else
51251 glibcxx_cv_func__log10l_use=no
51252 fi
51253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51254 ac_ext=c
51255 ac_cpp='$CPP $CPPFLAGS'
51256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51259
51260
51261 fi
51262
51263 fi
51264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51265 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51266
51267 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51268 for ac_func in _log10l
51269 do :
51270 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51271 if test "x$ac_cv_func__log10l" = x""yes; then :
51272 cat >>confdefs.h <<_ACEOF
51273 #define HAVE__LOG10L 1
51274 _ACEOF
51275
51276 fi
51277 done
51278
51279 fi
51280 fi
51281
51282
51283
51284
51285
51286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51287 $as_echo_n "checking for modfl declaration... " >&6; }
51288 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51289 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51290 $as_echo_n "(cached) " >&6
51291 else
51292
51293
51294 ac_ext=cpp
51295 ac_cpp='$CXXCPP $CPPFLAGS'
51296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51299
51300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51301 /* end confdefs.h. */
51302 #include <math.h>
51303 int
51304 main ()
51305 {
51306 modfl(0, 0);
51307 ;
51308 return 0;
51309 }
51310 _ACEOF
51311 if ac_fn_cxx_try_compile "$LINENO"; then :
51312 glibcxx_cv_func_modfl_use=yes
51313 else
51314 glibcxx_cv_func_modfl_use=no
51315 fi
51316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51317 ac_ext=c
51318 ac_cpp='$CPP $CPPFLAGS'
51319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51322
51323
51324 fi
51325
51326 fi
51327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51328 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51329
51330 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51331 for ac_func in modfl
51332 do :
51333 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51334 if test "x$ac_cv_func_modfl" = x""yes; then :
51335 cat >>confdefs.h <<_ACEOF
51336 #define HAVE_MODFL 1
51337 _ACEOF
51338
51339 fi
51340 done
51341
51342 else
51343
51344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51345 $as_echo_n "checking for _modfl declaration... " >&6; }
51346 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51347 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51348 $as_echo_n "(cached) " >&6
51349 else
51350
51351
51352 ac_ext=cpp
51353 ac_cpp='$CXXCPP $CPPFLAGS'
51354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51357
51358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51359 /* end confdefs.h. */
51360 #include <math.h>
51361 int
51362 main ()
51363 {
51364 _modfl(0, 0);
51365 ;
51366 return 0;
51367 }
51368 _ACEOF
51369 if ac_fn_cxx_try_compile "$LINENO"; then :
51370 glibcxx_cv_func__modfl_use=yes
51371 else
51372 glibcxx_cv_func__modfl_use=no
51373 fi
51374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51375 ac_ext=c
51376 ac_cpp='$CPP $CPPFLAGS'
51377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51380
51381
51382 fi
51383
51384 fi
51385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51386 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51387
51388 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51389 for ac_func in _modfl
51390 do :
51391 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51392 if test "x$ac_cv_func__modfl" = x""yes; then :
51393 cat >>confdefs.h <<_ACEOF
51394 #define HAVE__MODFL 1
51395 _ACEOF
51396
51397 fi
51398 done
51399
51400 fi
51401 fi
51402
51403
51404
51405
51406
51407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51408 $as_echo_n "checking for powl declaration... " >&6; }
51409 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51410 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51411 $as_echo_n "(cached) " >&6
51412 else
51413
51414
51415 ac_ext=cpp
51416 ac_cpp='$CXXCPP $CPPFLAGS'
51417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51420
51421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51422 /* end confdefs.h. */
51423 #include <math.h>
51424 int
51425 main ()
51426 {
51427 powl(0, 0);
51428 ;
51429 return 0;
51430 }
51431 _ACEOF
51432 if ac_fn_cxx_try_compile "$LINENO"; then :
51433 glibcxx_cv_func_powl_use=yes
51434 else
51435 glibcxx_cv_func_powl_use=no
51436 fi
51437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51438 ac_ext=c
51439 ac_cpp='$CPP $CPPFLAGS'
51440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51443
51444
51445 fi
51446
51447 fi
51448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51449 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51450
51451 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51452 for ac_func in powl
51453 do :
51454 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51455 if test "x$ac_cv_func_powl" = x""yes; then :
51456 cat >>confdefs.h <<_ACEOF
51457 #define HAVE_POWL 1
51458 _ACEOF
51459
51460 fi
51461 done
51462
51463 else
51464
51465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51466 $as_echo_n "checking for _powl declaration... " >&6; }
51467 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51468 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51469 $as_echo_n "(cached) " >&6
51470 else
51471
51472
51473 ac_ext=cpp
51474 ac_cpp='$CXXCPP $CPPFLAGS'
51475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51478
51479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51480 /* end confdefs.h. */
51481 #include <math.h>
51482 int
51483 main ()
51484 {
51485 _powl(0, 0);
51486 ;
51487 return 0;
51488 }
51489 _ACEOF
51490 if ac_fn_cxx_try_compile "$LINENO"; then :
51491 glibcxx_cv_func__powl_use=yes
51492 else
51493 glibcxx_cv_func__powl_use=no
51494 fi
51495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51496 ac_ext=c
51497 ac_cpp='$CPP $CPPFLAGS'
51498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51501
51502
51503 fi
51504
51505 fi
51506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51507 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51508
51509 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51510 for ac_func in _powl
51511 do :
51512 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51513 if test "x$ac_cv_func__powl" = x""yes; then :
51514 cat >>confdefs.h <<_ACEOF
51515 #define HAVE__POWL 1
51516 _ACEOF
51517
51518 fi
51519 done
51520
51521 fi
51522 fi
51523
51524
51525
51526
51527
51528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51529 $as_echo_n "checking for sqrtl declaration... " >&6; }
51530 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51531 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51532 $as_echo_n "(cached) " >&6
51533 else
51534
51535
51536 ac_ext=cpp
51537 ac_cpp='$CXXCPP $CPPFLAGS'
51538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51541
51542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51543 /* end confdefs.h. */
51544 #include <math.h>
51545 #ifdef HAVE_IEEEFP_H
51546 #include <ieeefp.h>
51547 #endif
51548
51549 int
51550 main ()
51551 {
51552 sqrtl(0);
51553 ;
51554 return 0;
51555 }
51556 _ACEOF
51557 if ac_fn_cxx_try_compile "$LINENO"; then :
51558 glibcxx_cv_func_sqrtl_use=yes
51559 else
51560 glibcxx_cv_func_sqrtl_use=no
51561 fi
51562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51563 ac_ext=c
51564 ac_cpp='$CPP $CPPFLAGS'
51565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51568
51569
51570 fi
51571
51572 fi
51573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51574 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51575
51576 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51577 for ac_func in sqrtl
51578 do :
51579 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51580 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51581 cat >>confdefs.h <<_ACEOF
51582 #define HAVE_SQRTL 1
51583 _ACEOF
51584
51585 fi
51586 done
51587
51588 else
51589
51590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51591 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51592 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51593 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51594 $as_echo_n "(cached) " >&6
51595 else
51596
51597
51598 ac_ext=cpp
51599 ac_cpp='$CXXCPP $CPPFLAGS'
51600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51603
51604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51605 /* end confdefs.h. */
51606 #include <math.h>
51607 #ifdef HAVE_IEEEFP_H
51608 #include <ieeefp.h>
51609 #endif
51610
51611 int
51612 main ()
51613 {
51614 _sqrtl(0);
51615 ;
51616 return 0;
51617 }
51618 _ACEOF
51619 if ac_fn_cxx_try_compile "$LINENO"; then :
51620 glibcxx_cv_func__sqrtl_use=yes
51621 else
51622 glibcxx_cv_func__sqrtl_use=no
51623 fi
51624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51625 ac_ext=c
51626 ac_cpp='$CPP $CPPFLAGS'
51627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51630
51631
51632 fi
51633
51634 fi
51635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51636 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51637
51638 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51639 for ac_func in _sqrtl
51640 do :
51641 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51642 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51643 cat >>confdefs.h <<_ACEOF
51644 #define HAVE__SQRTL 1
51645 _ACEOF
51646
51647 fi
51648 done
51649
51650 fi
51651 fi
51652
51653
51654
51655
51656
51657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51658 $as_echo_n "checking for sincosl declaration... " >&6; }
51659 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51660 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51661 $as_echo_n "(cached) " >&6
51662 else
51663
51664
51665 ac_ext=cpp
51666 ac_cpp='$CXXCPP $CPPFLAGS'
51667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51670
51671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51672 /* end confdefs.h. */
51673 #include <math.h>
51674 int
51675 main ()
51676 {
51677 sincosl(0, 0, 0);
51678 ;
51679 return 0;
51680 }
51681 _ACEOF
51682 if ac_fn_cxx_try_compile "$LINENO"; then :
51683 glibcxx_cv_func_sincosl_use=yes
51684 else
51685 glibcxx_cv_func_sincosl_use=no
51686 fi
51687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51688 ac_ext=c
51689 ac_cpp='$CPP $CPPFLAGS'
51690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51693
51694
51695 fi
51696
51697 fi
51698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51699 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51700
51701 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51702 for ac_func in sincosl
51703 do :
51704 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51705 if test "x$ac_cv_func_sincosl" = x""yes; then :
51706 cat >>confdefs.h <<_ACEOF
51707 #define HAVE_SINCOSL 1
51708 _ACEOF
51709
51710 fi
51711 done
51712
51713 else
51714
51715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51716 $as_echo_n "checking for _sincosl declaration... " >&6; }
51717 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51718 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51719 $as_echo_n "(cached) " >&6
51720 else
51721
51722
51723 ac_ext=cpp
51724 ac_cpp='$CXXCPP $CPPFLAGS'
51725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51728
51729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51730 /* end confdefs.h. */
51731 #include <math.h>
51732 int
51733 main ()
51734 {
51735 _sincosl(0, 0, 0);
51736 ;
51737 return 0;
51738 }
51739 _ACEOF
51740 if ac_fn_cxx_try_compile "$LINENO"; then :
51741 glibcxx_cv_func__sincosl_use=yes
51742 else
51743 glibcxx_cv_func__sincosl_use=no
51744 fi
51745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51746 ac_ext=c
51747 ac_cpp='$CPP $CPPFLAGS'
51748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51751
51752
51753 fi
51754
51755 fi
51756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51757 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51758
51759 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51760 for ac_func in _sincosl
51761 do :
51762 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51763 if test "x$ac_cv_func__sincosl" = x""yes; then :
51764 cat >>confdefs.h <<_ACEOF
51765 #define HAVE__SINCOSL 1
51766 _ACEOF
51767
51768 fi
51769 done
51770
51771 fi
51772 fi
51773
51774
51775
51776
51777
51778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51779 $as_echo_n "checking for finitel declaration... " >&6; }
51780 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51781 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51782 $as_echo_n "(cached) " >&6
51783 else
51784
51785
51786 ac_ext=cpp
51787 ac_cpp='$CXXCPP $CPPFLAGS'
51788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51791
51792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51793 /* end confdefs.h. */
51794 #include <math.h>
51795 #ifdef HAVE_IEEEFP_H
51796 #include <ieeefp.h>
51797 #endif
51798
51799 int
51800 main ()
51801 {
51802 finitel(0);
51803 ;
51804 return 0;
51805 }
51806 _ACEOF
51807 if ac_fn_cxx_try_compile "$LINENO"; then :
51808 glibcxx_cv_func_finitel_use=yes
51809 else
51810 glibcxx_cv_func_finitel_use=no
51811 fi
51812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51813 ac_ext=c
51814 ac_cpp='$CPP $CPPFLAGS'
51815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51818
51819
51820 fi
51821
51822 fi
51823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51824 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51825
51826 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51827 for ac_func in finitel
51828 do :
51829 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51830 if test "x$ac_cv_func_finitel" = x""yes; then :
51831 cat >>confdefs.h <<_ACEOF
51832 #define HAVE_FINITEL 1
51833 _ACEOF
51834
51835 fi
51836 done
51837
51838 else
51839
51840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51841 $as_echo_n "checking for _finitel declaration... " >&6; }
51842 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51843 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51844 $as_echo_n "(cached) " >&6
51845 else
51846
51847
51848 ac_ext=cpp
51849 ac_cpp='$CXXCPP $CPPFLAGS'
51850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51853
51854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51855 /* end confdefs.h. */
51856 #include <math.h>
51857 #ifdef HAVE_IEEEFP_H
51858 #include <ieeefp.h>
51859 #endif
51860
51861 int
51862 main ()
51863 {
51864 _finitel(0);
51865 ;
51866 return 0;
51867 }
51868 _ACEOF
51869 if ac_fn_cxx_try_compile "$LINENO"; then :
51870 glibcxx_cv_func__finitel_use=yes
51871 else
51872 glibcxx_cv_func__finitel_use=no
51873 fi
51874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51875 ac_ext=c
51876 ac_cpp='$CPP $CPPFLAGS'
51877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51880
51881
51882 fi
51883
51884 fi
51885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51886 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51887
51888 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51889 for ac_func in _finitel
51890 do :
51891 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51892 if test "x$ac_cv_func__finitel" = x""yes; then :
51893 cat >>confdefs.h <<_ACEOF
51894 #define HAVE__FINITEL 1
51895 _ACEOF
51896
51897 fi
51898 done
51899
51900 fi
51901 fi
51902
51903
51904
51905
51906 LIBS="$ac_save_LIBS"
51907 CXXFLAGS="$ac_save_CXXFLAGS"
51908
51909
51910 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51911 ac_save_CXXFLAGS="$CXXFLAGS"
51912 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51913
51914
51915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51916 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51917 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51918 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51919 $as_echo_n "(cached) " >&6
51920 else
51921
51922
51923 ac_ext=cpp
51924 ac_cpp='$CXXCPP $CPPFLAGS'
51925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51928
51929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51930 /* end confdefs.h. */
51931 #include <stdlib.h>
51932 int
51933 main ()
51934 {
51935 at_quick_exit(0);
51936 ;
51937 return 0;
51938 }
51939 _ACEOF
51940 if ac_fn_cxx_try_compile "$LINENO"; then :
51941 glibcxx_cv_func_at_quick_exit_use=yes
51942 else
51943 glibcxx_cv_func_at_quick_exit_use=no
51944 fi
51945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51946 ac_ext=c
51947 ac_cpp='$CPP $CPPFLAGS'
51948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51951
51952
51953 fi
51954
51955 fi
51956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51957 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51958 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51959 for ac_func in at_quick_exit
51960 do :
51961 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51962 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51963 cat >>confdefs.h <<_ACEOF
51964 #define HAVE_AT_QUICK_EXIT 1
51965 _ACEOF
51966
51967 fi
51968 done
51969
51970 fi
51971
51972
51973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51974 $as_echo_n "checking for quick_exit declaration... " >&6; }
51975 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51976 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51977 $as_echo_n "(cached) " >&6
51978 else
51979
51980
51981 ac_ext=cpp
51982 ac_cpp='$CXXCPP $CPPFLAGS'
51983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51986
51987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51988 /* end confdefs.h. */
51989 #include <stdlib.h>
51990 int
51991 main ()
51992 {
51993 quick_exit(0);
51994 ;
51995 return 0;
51996 }
51997 _ACEOF
51998 if ac_fn_cxx_try_compile "$LINENO"; then :
51999 glibcxx_cv_func_quick_exit_use=yes
52000 else
52001 glibcxx_cv_func_quick_exit_use=no
52002 fi
52003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52004 ac_ext=c
52005 ac_cpp='$CPP $CPPFLAGS'
52006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52009
52010
52011 fi
52012
52013 fi
52014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52015 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52016 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52017 for ac_func in quick_exit
52018 do :
52019 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52020 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52021 cat >>confdefs.h <<_ACEOF
52022 #define HAVE_QUICK_EXIT 1
52023 _ACEOF
52024
52025 fi
52026 done
52027
52028 fi
52029
52030
52031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52032 $as_echo_n "checking for strtold declaration... " >&6; }
52033 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52034 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52035 $as_echo_n "(cached) " >&6
52036 else
52037
52038
52039 ac_ext=cpp
52040 ac_cpp='$CXXCPP $CPPFLAGS'
52041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52044
52045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52046 /* end confdefs.h. */
52047 #include <stdlib.h>
52048 int
52049 main ()
52050 {
52051 strtold(0, 0);
52052 ;
52053 return 0;
52054 }
52055 _ACEOF
52056 if ac_fn_cxx_try_compile "$LINENO"; then :
52057 glibcxx_cv_func_strtold_use=yes
52058 else
52059 glibcxx_cv_func_strtold_use=no
52060 fi
52061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52062 ac_ext=c
52063 ac_cpp='$CPP $CPPFLAGS'
52064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52067
52068
52069 fi
52070
52071 fi
52072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52073 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52074 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52075 for ac_func in strtold
52076 do :
52077 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52078 if test "x$ac_cv_func_strtold" = x""yes; then :
52079 cat >>confdefs.h <<_ACEOF
52080 #define HAVE_STRTOLD 1
52081 _ACEOF
52082
52083 fi
52084 done
52085
52086 fi
52087
52088
52089
52090
52091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52092 $as_echo_n "checking for strtof declaration... " >&6; }
52093 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52094 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52095 $as_echo_n "(cached) " >&6
52096 else
52097
52098
52099 ac_ext=cpp
52100 ac_cpp='$CXXCPP $CPPFLAGS'
52101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52104
52105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52106 /* end confdefs.h. */
52107 #include <stdlib.h>
52108 int
52109 main ()
52110 {
52111 strtof(0, 0);
52112 ;
52113 return 0;
52114 }
52115 _ACEOF
52116 if ac_fn_cxx_try_compile "$LINENO"; then :
52117 glibcxx_cv_func_strtof_use=yes
52118 else
52119 glibcxx_cv_func_strtof_use=no
52120 fi
52121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52122 ac_ext=c
52123 ac_cpp='$CPP $CPPFLAGS'
52124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52127
52128
52129 fi
52130
52131 fi
52132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52133 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52134 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52135 for ac_func in strtof
52136 do :
52137 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52138 if test "x$ac_cv_func_strtof" = x""yes; then :
52139 cat >>confdefs.h <<_ACEOF
52140 #define HAVE_STRTOF 1
52141 _ACEOF
52142
52143 fi
52144 done
52145
52146 fi
52147
52148
52149
52150
52151 CXXFLAGS="$ac_save_CXXFLAGS"
52152
52153 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
52154
52155
52156
52157 # Check whether --enable-tls was given.
52158 if test "${enable_tls+set}" = set; then :
52159 enableval=$enable_tls;
52160 case "$enableval" in
52161 yes|no) ;;
52162 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52163 esac
52164
52165 else
52166 enable_tls=yes
52167 fi
52168
52169
52170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52171 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52172 if test "${gcc_cv_have_tls+set}" = set; then :
52173 $as_echo_n "(cached) " >&6
52174 else
52175
52176 if test "$cross_compiling" = yes; then :
52177 if test x$gcc_no_link = xyes; then
52178 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52179 fi
52180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52181 /* end confdefs.h. */
52182 __thread int a; int b; int main() { return a = b; }
52183 _ACEOF
52184 if ac_fn_c_try_link "$LINENO"; then :
52185 chktls_save_LDFLAGS="$LDFLAGS"
52186 case $host in
52187 *-*-linux*)
52188 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52189 ;;
52190 esac
52191 chktls_save_CFLAGS="$CFLAGS"
52192 CFLAGS="-fPIC $CFLAGS"
52193 if test x$gcc_no_link = xyes; then
52194 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52195 fi
52196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52197 /* end confdefs.h. */
52198 int f() { return 0; }
52199 _ACEOF
52200 if ac_fn_c_try_link "$LINENO"; then :
52201 if test x$gcc_no_link = xyes; then
52202 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52203 fi
52204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52205 /* end confdefs.h. */
52206 __thread int a; int b; int f() { return a = b; }
52207 _ACEOF
52208 if ac_fn_c_try_link "$LINENO"; then :
52209 gcc_cv_have_tls=yes
52210 else
52211 gcc_cv_have_tls=no
52212 fi
52213 rm -f core conftest.err conftest.$ac_objext \
52214 conftest$ac_exeext conftest.$ac_ext
52215 else
52216 gcc_cv_have_tls=yes
52217 fi
52218 rm -f core conftest.err conftest.$ac_objext \
52219 conftest$ac_exeext conftest.$ac_ext
52220 CFLAGS="$chktls_save_CFLAGS"
52221 LDFLAGS="$chktls_save_LDFLAGS"
52222 else
52223 gcc_cv_have_tls=no
52224 fi
52225 rm -f core conftest.err conftest.$ac_objext \
52226 conftest$ac_exeext conftest.$ac_ext
52227
52228
52229 else
52230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52231 /* end confdefs.h. */
52232 __thread int a; int b; int main() { return a = b; }
52233 _ACEOF
52234 if ac_fn_c_try_run "$LINENO"; then :
52235 chktls_save_LDFLAGS="$LDFLAGS"
52236 LDFLAGS="-static $LDFLAGS"
52237 if test x$gcc_no_link = xyes; then
52238 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52239 fi
52240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52241 /* end confdefs.h. */
52242 int main() { return 0; }
52243 _ACEOF
52244 if ac_fn_c_try_link "$LINENO"; then :
52245 if test "$cross_compiling" = yes; then :
52246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52248 as_fn_error "cannot run test program while cross compiling
52249 See \`config.log' for more details." "$LINENO" 5; }
52250 else
52251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52252 /* end confdefs.h. */
52253 __thread int a; int b; int main() { return a = b; }
52254 _ACEOF
52255 if ac_fn_c_try_run "$LINENO"; then :
52256 gcc_cv_have_tls=yes
52257 else
52258 gcc_cv_have_tls=no
52259 fi
52260 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52261 conftest.$ac_objext conftest.beam conftest.$ac_ext
52262 fi
52263
52264 else
52265 gcc_cv_have_tls=yes
52266 fi
52267 rm -f core conftest.err conftest.$ac_objext \
52268 conftest$ac_exeext conftest.$ac_ext
52269 LDFLAGS="$chktls_save_LDFLAGS"
52270 if test $gcc_cv_have_tls = yes; then
52271 chktls_save_CFLAGS="$CFLAGS"
52272 thread_CFLAGS=failed
52273 for flag in '' '-pthread' '-lpthread'; do
52274 CFLAGS="$flag $chktls_save_CFLAGS"
52275 if test x$gcc_no_link = xyes; then
52276 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52277 fi
52278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52279 /* end confdefs.h. */
52280 #include <pthread.h>
52281 void *g(void *d) { return NULL; }
52282 int
52283 main ()
52284 {
52285 pthread_t t; pthread_create(&t,NULL,g,NULL);
52286 ;
52287 return 0;
52288 }
52289 _ACEOF
52290 if ac_fn_c_try_link "$LINENO"; then :
52291 thread_CFLAGS="$flag"
52292 fi
52293 rm -f core conftest.err conftest.$ac_objext \
52294 conftest$ac_exeext conftest.$ac_ext
52295 if test "X$thread_CFLAGS" != Xfailed; then
52296 break
52297 fi
52298 done
52299 CFLAGS="$chktls_save_CFLAGS"
52300 if test "X$thread_CFLAGS" != Xfailed; then
52301 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52302 if test "$cross_compiling" = yes; then :
52303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52305 as_fn_error "cannot run test program while cross compiling
52306 See \`config.log' for more details." "$LINENO" 5; }
52307 else
52308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52309 /* end confdefs.h. */
52310 #include <pthread.h>
52311 __thread int a;
52312 static int *volatile a_in_other_thread;
52313 static void *
52314 thread_func (void *arg)
52315 {
52316 a_in_other_thread = &a;
52317 return (void *)0;
52318 }
52319 int
52320 main ()
52321 {
52322 pthread_t thread;
52323 void *thread_retval;
52324 int *volatile a_in_main_thread;
52325 a_in_main_thread = &a;
52326 if (pthread_create (&thread, (pthread_attr_t *)0,
52327 thread_func, (void *)0))
52328 return 0;
52329 if (pthread_join (thread, &thread_retval))
52330 return 0;
52331 return (a_in_other_thread == a_in_main_thread);
52332 ;
52333 return 0;
52334 }
52335 _ACEOF
52336 if ac_fn_c_try_run "$LINENO"; then :
52337 gcc_cv_have_tls=yes
52338 else
52339 gcc_cv_have_tls=no
52340 fi
52341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52342 conftest.$ac_objext conftest.beam conftest.$ac_ext
52343 fi
52344
52345 CFLAGS="$chktls_save_CFLAGS"
52346 fi
52347 fi
52348 else
52349 gcc_cv_have_tls=no
52350 fi
52351 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52352 conftest.$ac_objext conftest.beam conftest.$ac_ext
52353 fi
52354
52355 fi
52356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52357 $as_echo "$gcc_cv_have_tls" >&6; }
52358 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52359
52360 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52361
52362 fi
52363
52364
52365
52366
52367
52368 am_save_CPPFLAGS="$CPPFLAGS"
52369
52370 for element in $INCICONV; do
52371 haveit=
52372 for x in $CPPFLAGS; do
52373
52374 acl_save_prefix="$prefix"
52375 prefix="$acl_final_prefix"
52376 acl_save_exec_prefix="$exec_prefix"
52377 exec_prefix="$acl_final_exec_prefix"
52378 eval x=\"$x\"
52379 exec_prefix="$acl_save_exec_prefix"
52380 prefix="$acl_save_prefix"
52381
52382 if test "X$x" = "X$element"; then
52383 haveit=yes
52384 break
52385 fi
52386 done
52387 if test -z "$haveit"; then
52388 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
52389 fi
52390 done
52391
52392
52393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
52394 $as_echo_n "checking for iconv... " >&6; }
52395 if test "${am_cv_func_iconv+set}" = set; then :
52396 $as_echo_n "(cached) " >&6
52397 else
52398
52399 am_cv_func_iconv="no, consider installing GNU libiconv"
52400 am_cv_lib_iconv=no
52401 if test x$gcc_no_link = xyes; then
52402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52403 fi
52404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52405 /* end confdefs.h. */
52406 #include <stdlib.h>
52407 #include <iconv.h>
52408 int
52409 main ()
52410 {
52411 iconv_t cd = iconv_open("","");
52412 iconv(cd,NULL,NULL,NULL,NULL);
52413 iconv_close(cd);
52414 ;
52415 return 0;
52416 }
52417 _ACEOF
52418 if ac_fn_c_try_link "$LINENO"; then :
52419 am_cv_func_iconv=yes
52420 fi
52421 rm -f core conftest.err conftest.$ac_objext \
52422 conftest$ac_exeext conftest.$ac_ext
52423 if test "$am_cv_func_iconv" != yes; then
52424 am_save_LIBS="$LIBS"
52425 LIBS="$LIBS $LIBICONV"
52426 if test x$gcc_no_link = xyes; then
52427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52428 fi
52429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52430 /* end confdefs.h. */
52431 #include <stdlib.h>
52432 #include <iconv.h>
52433 int
52434 main ()
52435 {
52436 iconv_t cd = iconv_open("","");
52437 iconv(cd,NULL,NULL,NULL,NULL);
52438 iconv_close(cd);
52439 ;
52440 return 0;
52441 }
52442 _ACEOF
52443 if ac_fn_c_try_link "$LINENO"; then :
52444 am_cv_lib_iconv=yes
52445 am_cv_func_iconv=yes
52446 fi
52447 rm -f core conftest.err conftest.$ac_objext \
52448 conftest$ac_exeext conftest.$ac_ext
52449 LIBS="$am_save_LIBS"
52450 fi
52451
52452 fi
52453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
52454 $as_echo "$am_cv_func_iconv" >&6; }
52455 if test "$am_cv_func_iconv" = yes; then
52456
52457 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
52458
52459 fi
52460 if test "$am_cv_lib_iconv" = yes; then
52461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
52462 $as_echo_n "checking how to link with libiconv... " >&6; }
52463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
52464 $as_echo "$LIBICONV" >&6; }
52465 else
52466 CPPFLAGS="$am_save_CPPFLAGS"
52467 LIBICONV=
52468 LTLIBICONV=
52469 fi
52470
52471
52472
52473 if test "$am_cv_func_iconv" = yes; then
52474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
52475 $as_echo_n "checking for iconv declaration... " >&6; }
52476 if test "${am_cv_proto_iconv+set}" = set; then :
52477 $as_echo_n "(cached) " >&6
52478 else
52479
52480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52481 /* end confdefs.h. */
52482
52483 #include <stdlib.h>
52484 #include <iconv.h>
52485 extern
52486 #ifdef __cplusplus
52487 "C"
52488 #endif
52489 #if defined(__STDC__) || defined(__cplusplus)
52490 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
52491 #else
52492 size_t iconv();
52493 #endif
52494
52495 int
52496 main ()
52497 {
52498
52499 ;
52500 return 0;
52501 }
52502 _ACEOF
52503 if ac_fn_c_try_compile "$LINENO"; then :
52504 am_cv_proto_iconv_arg1=""
52505 else
52506 am_cv_proto_iconv_arg1="const"
52507 fi
52508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52509 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);"
52510 fi
52511
52512 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
52513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
52514 }$am_cv_proto_iconv" >&5
52515 $as_echo "${ac_t:-
52516 }$am_cv_proto_iconv" >&6; }
52517
52518 cat >>confdefs.h <<_ACEOF
52519 #define ICONV_CONST $am_cv_proto_iconv_arg1
52520 _ACEOF
52521
52522 fi
52523
52524 ;;
52525 *-mingw32*)
52526
52527 # If we're not using GNU ld, then there's no point in even trying these
52528 # tests. Check for that first. We should have already tested for gld
52529 # by now (in libtool), but require it now just to be safe...
52530 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52531 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52532
52533
52534
52535 # The name set by libtool depends on the version of libtool. Shame on us
52536 # for depending on an impl detail, but c'est la vie. Older versions used
52537 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52538 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52539 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52540 # set (hence we're using an older libtool), then set it.
52541 if test x${with_gnu_ld+set} != xset; then
52542 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52543 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52544 with_gnu_ld=no
52545 else
52546 with_gnu_ld=$ac_cv_prog_gnu_ld
52547 fi
52548 fi
52549
52550 # Start by getting the version number. I think the libtool test already
52551 # does some of this, but throws away the result.
52552 glibcxx_ld_is_gold=no
52553 if test x"$with_gnu_ld" = x"yes"; then
52554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52555 $as_echo_n "checking for ld version... " >&6; }
52556
52557 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52558 glibcxx_ld_is_gold=yes
52559 fi
52560 ldver=`$LD --version 2>/dev/null |
52561 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'`
52562
52563 glibcxx_gnu_ld_version=`echo $ldver | \
52564 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52566 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52567 fi
52568
52569 # Set --gc-sections.
52570 glibcxx_have_gc_sections=no
52571 if test "$glibcxx_ld_is_gold" = "yes"; then
52572 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52573 glibcxx_have_gc_sections=yes
52574 fi
52575 else
52576 glibcxx_gcsections_min_ld=21602
52577 if test x"$with_gnu_ld" = x"yes" &&
52578 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52579 glibcxx_have_gc_sections=yes
52580 fi
52581 fi
52582 if test "$glibcxx_have_gc_sections" = "yes"; then
52583 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52584 # NB: This flag only works reliably after 2.16.1. Configure tests
52585 # for this are difficult, so hard wire a value that should work.
52586
52587 ac_test_CFLAGS="${CFLAGS+set}"
52588 ac_save_CFLAGS="$CFLAGS"
52589 CFLAGS='-Wl,--gc-sections'
52590
52591 # Check for -Wl,--gc-sections
52592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52593 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52594 if test x$gcc_no_link = xyes; then
52595 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52596 fi
52597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52598 /* end confdefs.h. */
52599 int one(void) { return 1; }
52600 int two(void) { return 2; }
52601
52602 int
52603 main ()
52604 {
52605 two();
52606 ;
52607 return 0;
52608 }
52609 _ACEOF
52610 if ac_fn_c_try_link "$LINENO"; then :
52611 ac_gcsections=yes
52612 else
52613 ac_gcsections=no
52614 fi
52615 rm -f core conftest.err conftest.$ac_objext \
52616 conftest$ac_exeext conftest.$ac_ext
52617 if test "$ac_gcsections" = "yes"; then
52618 rm -f conftest.c
52619 touch conftest.c
52620 if $CC -c conftest.c; then
52621 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52622 grep "Warning: gc-sections option ignored" > /dev/null; then
52623 ac_gcsections=no
52624 fi
52625 fi
52626 rm -f conftest.c conftest.o conftest
52627 fi
52628 if test "$ac_gcsections" = "yes"; then
52629 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52630 fi
52631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52632 $as_echo "$ac_gcsections" >&6; }
52633
52634 if test "$ac_test_CFLAGS" = set; then
52635 CFLAGS="$ac_save_CFLAGS"
52636 else
52637 # this is the suspicious part
52638 CFLAGS=''
52639 fi
52640 fi
52641
52642 # Set -z,relro.
52643 # Note this is only for shared objects.
52644 ac_ld_relro=no
52645 if test x"$with_gnu_ld" = x"yes"; then
52646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52647 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52648 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52649 if test -n "$cxx_z_relo"; then
52650 OPT_LDFLAGS="-Wl,-z,relro"
52651 ac_ld_relro=yes
52652 fi
52653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52654 $as_echo "$ac_ld_relro" >&6; }
52655 fi
52656
52657 # Set linker optimization flags.
52658 if test x"$with_gnu_ld" = x"yes"; then
52659 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52660 fi
52661
52662
52663
52664
52665
52666 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52667 ac_save_CXXFLAGS="$CXXFLAGS"
52668 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52669
52670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52671 $as_echo_n "checking for sin in -lm... " >&6; }
52672 if test "${ac_cv_lib_m_sin+set}" = set; then :
52673 $as_echo_n "(cached) " >&6
52674 else
52675 ac_check_lib_save_LIBS=$LIBS
52676 LIBS="-lm $LIBS"
52677 if test x$gcc_no_link = xyes; then
52678 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52679 fi
52680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52681 /* end confdefs.h. */
52682
52683 /* Override any GCC internal prototype to avoid an error.
52684 Use char because int might match the return type of a GCC
52685 builtin and then its argument prototype would still apply. */
52686 #ifdef __cplusplus
52687 extern "C"
52688 #endif
52689 char sin ();
52690 int
52691 main ()
52692 {
52693 return sin ();
52694 ;
52695 return 0;
52696 }
52697 _ACEOF
52698 if ac_fn_c_try_link "$LINENO"; then :
52699 ac_cv_lib_m_sin=yes
52700 else
52701 ac_cv_lib_m_sin=no
52702 fi
52703 rm -f core conftest.err conftest.$ac_objext \
52704 conftest$ac_exeext conftest.$ac_ext
52705 LIBS=$ac_check_lib_save_LIBS
52706 fi
52707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52708 $as_echo "$ac_cv_lib_m_sin" >&6; }
52709 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52710 libm="-lm"
52711 fi
52712
52713 ac_save_LIBS="$LIBS"
52714 LIBS="$LIBS $libm"
52715
52716
52717
52718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52719 $as_echo_n "checking for isinf declaration... " >&6; }
52720 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52721 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52722 $as_echo_n "(cached) " >&6
52723 else
52724
52725
52726 ac_ext=cpp
52727 ac_cpp='$CXXCPP $CPPFLAGS'
52728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52731
52732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52733 /* end confdefs.h. */
52734 #include <math.h>
52735 #ifdef HAVE_IEEEFP_H
52736 #include <ieeefp.h>
52737 #endif
52738
52739 int
52740 main ()
52741 {
52742 isinf(0);
52743 ;
52744 return 0;
52745 }
52746 _ACEOF
52747 if ac_fn_cxx_try_compile "$LINENO"; then :
52748 glibcxx_cv_func_isinf_use=yes
52749 else
52750 glibcxx_cv_func_isinf_use=no
52751 fi
52752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52753 ac_ext=c
52754 ac_cpp='$CPP $CPPFLAGS'
52755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52758
52759
52760 fi
52761
52762 fi
52763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52764 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52765
52766 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52767 for ac_func in isinf
52768 do :
52769 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52770 if test "x$ac_cv_func_isinf" = x""yes; then :
52771 cat >>confdefs.h <<_ACEOF
52772 #define HAVE_ISINF 1
52773 _ACEOF
52774
52775 fi
52776 done
52777
52778 else
52779
52780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52781 $as_echo_n "checking for _isinf declaration... " >&6; }
52782 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52783 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52784 $as_echo_n "(cached) " >&6
52785 else
52786
52787
52788 ac_ext=cpp
52789 ac_cpp='$CXXCPP $CPPFLAGS'
52790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52793
52794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52795 /* end confdefs.h. */
52796 #include <math.h>
52797 #ifdef HAVE_IEEEFP_H
52798 #include <ieeefp.h>
52799 #endif
52800
52801 int
52802 main ()
52803 {
52804 _isinf(0);
52805 ;
52806 return 0;
52807 }
52808 _ACEOF
52809 if ac_fn_cxx_try_compile "$LINENO"; then :
52810 glibcxx_cv_func__isinf_use=yes
52811 else
52812 glibcxx_cv_func__isinf_use=no
52813 fi
52814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52815 ac_ext=c
52816 ac_cpp='$CPP $CPPFLAGS'
52817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52820
52821
52822 fi
52823
52824 fi
52825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52826 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52827
52828 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52829 for ac_func in _isinf
52830 do :
52831 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52832 if test "x$ac_cv_func__isinf" = x""yes; then :
52833 cat >>confdefs.h <<_ACEOF
52834 #define HAVE__ISINF 1
52835 _ACEOF
52836
52837 fi
52838 done
52839
52840 fi
52841 fi
52842
52843
52844
52845
52846
52847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52848 $as_echo_n "checking for isnan declaration... " >&6; }
52849 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52850 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52851 $as_echo_n "(cached) " >&6
52852 else
52853
52854
52855 ac_ext=cpp
52856 ac_cpp='$CXXCPP $CPPFLAGS'
52857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52860
52861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52862 /* end confdefs.h. */
52863 #include <math.h>
52864 #ifdef HAVE_IEEEFP_H
52865 #include <ieeefp.h>
52866 #endif
52867
52868 int
52869 main ()
52870 {
52871 isnan(0);
52872 ;
52873 return 0;
52874 }
52875 _ACEOF
52876 if ac_fn_cxx_try_compile "$LINENO"; then :
52877 glibcxx_cv_func_isnan_use=yes
52878 else
52879 glibcxx_cv_func_isnan_use=no
52880 fi
52881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52882 ac_ext=c
52883 ac_cpp='$CPP $CPPFLAGS'
52884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52887
52888
52889 fi
52890
52891 fi
52892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52893 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52894
52895 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52896 for ac_func in isnan
52897 do :
52898 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52899 if test "x$ac_cv_func_isnan" = x""yes; then :
52900 cat >>confdefs.h <<_ACEOF
52901 #define HAVE_ISNAN 1
52902 _ACEOF
52903
52904 fi
52905 done
52906
52907 else
52908
52909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52910 $as_echo_n "checking for _isnan declaration... " >&6; }
52911 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52912 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52913 $as_echo_n "(cached) " >&6
52914 else
52915
52916
52917 ac_ext=cpp
52918 ac_cpp='$CXXCPP $CPPFLAGS'
52919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52922
52923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52924 /* end confdefs.h. */
52925 #include <math.h>
52926 #ifdef HAVE_IEEEFP_H
52927 #include <ieeefp.h>
52928 #endif
52929
52930 int
52931 main ()
52932 {
52933 _isnan(0);
52934 ;
52935 return 0;
52936 }
52937 _ACEOF
52938 if ac_fn_cxx_try_compile "$LINENO"; then :
52939 glibcxx_cv_func__isnan_use=yes
52940 else
52941 glibcxx_cv_func__isnan_use=no
52942 fi
52943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52944 ac_ext=c
52945 ac_cpp='$CPP $CPPFLAGS'
52946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52949
52950
52951 fi
52952
52953 fi
52954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52955 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52956
52957 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52958 for ac_func in _isnan
52959 do :
52960 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52961 if test "x$ac_cv_func__isnan" = x""yes; then :
52962 cat >>confdefs.h <<_ACEOF
52963 #define HAVE__ISNAN 1
52964 _ACEOF
52965
52966 fi
52967 done
52968
52969 fi
52970 fi
52971
52972
52973
52974
52975
52976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52977 $as_echo_n "checking for finite declaration... " >&6; }
52978 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52979 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52980 $as_echo_n "(cached) " >&6
52981 else
52982
52983
52984 ac_ext=cpp
52985 ac_cpp='$CXXCPP $CPPFLAGS'
52986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52989
52990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52991 /* end confdefs.h. */
52992 #include <math.h>
52993 #ifdef HAVE_IEEEFP_H
52994 #include <ieeefp.h>
52995 #endif
52996
52997 int
52998 main ()
52999 {
53000 finite(0);
53001 ;
53002 return 0;
53003 }
53004 _ACEOF
53005 if ac_fn_cxx_try_compile "$LINENO"; then :
53006 glibcxx_cv_func_finite_use=yes
53007 else
53008 glibcxx_cv_func_finite_use=no
53009 fi
53010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53011 ac_ext=c
53012 ac_cpp='$CPP $CPPFLAGS'
53013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53016
53017
53018 fi
53019
53020 fi
53021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53022 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53023
53024 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53025 for ac_func in finite
53026 do :
53027 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53028 if test "x$ac_cv_func_finite" = x""yes; then :
53029 cat >>confdefs.h <<_ACEOF
53030 #define HAVE_FINITE 1
53031 _ACEOF
53032
53033 fi
53034 done
53035
53036 else
53037
53038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53039 $as_echo_n "checking for _finite declaration... " >&6; }
53040 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53041 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53042 $as_echo_n "(cached) " >&6
53043 else
53044
53045
53046 ac_ext=cpp
53047 ac_cpp='$CXXCPP $CPPFLAGS'
53048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53051
53052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53053 /* end confdefs.h. */
53054 #include <math.h>
53055 #ifdef HAVE_IEEEFP_H
53056 #include <ieeefp.h>
53057 #endif
53058
53059 int
53060 main ()
53061 {
53062 _finite(0);
53063 ;
53064 return 0;
53065 }
53066 _ACEOF
53067 if ac_fn_cxx_try_compile "$LINENO"; then :
53068 glibcxx_cv_func__finite_use=yes
53069 else
53070 glibcxx_cv_func__finite_use=no
53071 fi
53072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53073 ac_ext=c
53074 ac_cpp='$CPP $CPPFLAGS'
53075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53078
53079
53080 fi
53081
53082 fi
53083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53084 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53085
53086 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53087 for ac_func in _finite
53088 do :
53089 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53090 if test "x$ac_cv_func__finite" = x""yes; then :
53091 cat >>confdefs.h <<_ACEOF
53092 #define HAVE__FINITE 1
53093 _ACEOF
53094
53095 fi
53096 done
53097
53098 fi
53099 fi
53100
53101
53102
53103
53104
53105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53106 $as_echo_n "checking for sincos declaration... " >&6; }
53107 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53108 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53109 $as_echo_n "(cached) " >&6
53110 else
53111
53112
53113 ac_ext=cpp
53114 ac_cpp='$CXXCPP $CPPFLAGS'
53115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53118
53119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53120 /* end confdefs.h. */
53121 #include <math.h>
53122 int
53123 main ()
53124 {
53125 sincos(0, 0, 0);
53126 ;
53127 return 0;
53128 }
53129 _ACEOF
53130 if ac_fn_cxx_try_compile "$LINENO"; then :
53131 glibcxx_cv_func_sincos_use=yes
53132 else
53133 glibcxx_cv_func_sincos_use=no
53134 fi
53135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53136 ac_ext=c
53137 ac_cpp='$CPP $CPPFLAGS'
53138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53141
53142
53143 fi
53144
53145 fi
53146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53147 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53148
53149 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53150 for ac_func in sincos
53151 do :
53152 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53153 if test "x$ac_cv_func_sincos" = x""yes; then :
53154 cat >>confdefs.h <<_ACEOF
53155 #define HAVE_SINCOS 1
53156 _ACEOF
53157
53158 fi
53159 done
53160
53161 else
53162
53163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53164 $as_echo_n "checking for _sincos declaration... " >&6; }
53165 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53166 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53167 $as_echo_n "(cached) " >&6
53168 else
53169
53170
53171 ac_ext=cpp
53172 ac_cpp='$CXXCPP $CPPFLAGS'
53173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53176
53177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53178 /* end confdefs.h. */
53179 #include <math.h>
53180 int
53181 main ()
53182 {
53183 _sincos(0, 0, 0);
53184 ;
53185 return 0;
53186 }
53187 _ACEOF
53188 if ac_fn_cxx_try_compile "$LINENO"; then :
53189 glibcxx_cv_func__sincos_use=yes
53190 else
53191 glibcxx_cv_func__sincos_use=no
53192 fi
53193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53194 ac_ext=c
53195 ac_cpp='$CPP $CPPFLAGS'
53196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53199
53200
53201 fi
53202
53203 fi
53204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53205 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53206
53207 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53208 for ac_func in _sincos
53209 do :
53210 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53211 if test "x$ac_cv_func__sincos" = x""yes; then :
53212 cat >>confdefs.h <<_ACEOF
53213 #define HAVE__SINCOS 1
53214 _ACEOF
53215
53216 fi
53217 done
53218
53219 fi
53220 fi
53221
53222
53223
53224
53225
53226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53227 $as_echo_n "checking for fpclass declaration... " >&6; }
53228 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53229 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53230 $as_echo_n "(cached) " >&6
53231 else
53232
53233
53234 ac_ext=cpp
53235 ac_cpp='$CXXCPP $CPPFLAGS'
53236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53239
53240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53241 /* end confdefs.h. */
53242 #include <math.h>
53243 #ifdef HAVE_IEEEFP_H
53244 #include <ieeefp.h>
53245 #endif
53246
53247 int
53248 main ()
53249 {
53250 fpclass(0);
53251 ;
53252 return 0;
53253 }
53254 _ACEOF
53255 if ac_fn_cxx_try_compile "$LINENO"; then :
53256 glibcxx_cv_func_fpclass_use=yes
53257 else
53258 glibcxx_cv_func_fpclass_use=no
53259 fi
53260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53261 ac_ext=c
53262 ac_cpp='$CPP $CPPFLAGS'
53263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53266
53267
53268 fi
53269
53270 fi
53271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53272 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53273
53274 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53275 for ac_func in fpclass
53276 do :
53277 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53278 if test "x$ac_cv_func_fpclass" = x""yes; then :
53279 cat >>confdefs.h <<_ACEOF
53280 #define HAVE_FPCLASS 1
53281 _ACEOF
53282
53283 fi
53284 done
53285
53286 else
53287
53288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53289 $as_echo_n "checking for _fpclass declaration... " >&6; }
53290 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53291 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53292 $as_echo_n "(cached) " >&6
53293 else
53294
53295
53296 ac_ext=cpp
53297 ac_cpp='$CXXCPP $CPPFLAGS'
53298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53301
53302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53303 /* end confdefs.h. */
53304 #include <math.h>
53305 #ifdef HAVE_IEEEFP_H
53306 #include <ieeefp.h>
53307 #endif
53308
53309 int
53310 main ()
53311 {
53312 _fpclass(0);
53313 ;
53314 return 0;
53315 }
53316 _ACEOF
53317 if ac_fn_cxx_try_compile "$LINENO"; then :
53318 glibcxx_cv_func__fpclass_use=yes
53319 else
53320 glibcxx_cv_func__fpclass_use=no
53321 fi
53322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53323 ac_ext=c
53324 ac_cpp='$CPP $CPPFLAGS'
53325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53328
53329
53330 fi
53331
53332 fi
53333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53334 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53335
53336 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53337 for ac_func in _fpclass
53338 do :
53339 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53340 if test "x$ac_cv_func__fpclass" = x""yes; then :
53341 cat >>confdefs.h <<_ACEOF
53342 #define HAVE__FPCLASS 1
53343 _ACEOF
53344
53345 fi
53346 done
53347
53348 fi
53349 fi
53350
53351
53352
53353
53354
53355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53356 $as_echo_n "checking for qfpclass declaration... " >&6; }
53357 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53358 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53359 $as_echo_n "(cached) " >&6
53360 else
53361
53362
53363 ac_ext=cpp
53364 ac_cpp='$CXXCPP $CPPFLAGS'
53365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53368
53369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53370 /* end confdefs.h. */
53371 #include <math.h>
53372 #ifdef HAVE_IEEEFP_H
53373 #include <ieeefp.h>
53374 #endif
53375
53376 int
53377 main ()
53378 {
53379 qfpclass(0);
53380 ;
53381 return 0;
53382 }
53383 _ACEOF
53384 if ac_fn_cxx_try_compile "$LINENO"; then :
53385 glibcxx_cv_func_qfpclass_use=yes
53386 else
53387 glibcxx_cv_func_qfpclass_use=no
53388 fi
53389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53390 ac_ext=c
53391 ac_cpp='$CPP $CPPFLAGS'
53392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53395
53396
53397 fi
53398
53399 fi
53400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53401 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53402
53403 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53404 for ac_func in qfpclass
53405 do :
53406 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53407 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53408 cat >>confdefs.h <<_ACEOF
53409 #define HAVE_QFPCLASS 1
53410 _ACEOF
53411
53412 fi
53413 done
53414
53415 else
53416
53417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53418 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53419 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53420 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53421 $as_echo_n "(cached) " >&6
53422 else
53423
53424
53425 ac_ext=cpp
53426 ac_cpp='$CXXCPP $CPPFLAGS'
53427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53430
53431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53432 /* end confdefs.h. */
53433 #include <math.h>
53434 #ifdef HAVE_IEEEFP_H
53435 #include <ieeefp.h>
53436 #endif
53437
53438 int
53439 main ()
53440 {
53441 _qfpclass(0);
53442 ;
53443 return 0;
53444 }
53445 _ACEOF
53446 if ac_fn_cxx_try_compile "$LINENO"; then :
53447 glibcxx_cv_func__qfpclass_use=yes
53448 else
53449 glibcxx_cv_func__qfpclass_use=no
53450 fi
53451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53452 ac_ext=c
53453 ac_cpp='$CPP $CPPFLAGS'
53454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53457
53458
53459 fi
53460
53461 fi
53462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53463 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53464
53465 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53466 for ac_func in _qfpclass
53467 do :
53468 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53469 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53470 cat >>confdefs.h <<_ACEOF
53471 #define HAVE__QFPCLASS 1
53472 _ACEOF
53473
53474 fi
53475 done
53476
53477 fi
53478 fi
53479
53480
53481
53482
53483
53484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53485 $as_echo_n "checking for hypot declaration... " >&6; }
53486 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53487 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53488 $as_echo_n "(cached) " >&6
53489 else
53490
53491
53492 ac_ext=cpp
53493 ac_cpp='$CXXCPP $CPPFLAGS'
53494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53497
53498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53499 /* end confdefs.h. */
53500 #include <math.h>
53501 int
53502 main ()
53503 {
53504 hypot(0, 0);
53505 ;
53506 return 0;
53507 }
53508 _ACEOF
53509 if ac_fn_cxx_try_compile "$LINENO"; then :
53510 glibcxx_cv_func_hypot_use=yes
53511 else
53512 glibcxx_cv_func_hypot_use=no
53513 fi
53514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53515 ac_ext=c
53516 ac_cpp='$CPP $CPPFLAGS'
53517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53520
53521
53522 fi
53523
53524 fi
53525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53526 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53527
53528 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53529 for ac_func in hypot
53530 do :
53531 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53532 if test "x$ac_cv_func_hypot" = x""yes; then :
53533 cat >>confdefs.h <<_ACEOF
53534 #define HAVE_HYPOT 1
53535 _ACEOF
53536
53537 fi
53538 done
53539
53540 else
53541
53542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53543 $as_echo_n "checking for _hypot declaration... " >&6; }
53544 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53545 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53546 $as_echo_n "(cached) " >&6
53547 else
53548
53549
53550 ac_ext=cpp
53551 ac_cpp='$CXXCPP $CPPFLAGS'
53552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53555
53556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53557 /* end confdefs.h. */
53558 #include <math.h>
53559 int
53560 main ()
53561 {
53562 _hypot(0, 0);
53563 ;
53564 return 0;
53565 }
53566 _ACEOF
53567 if ac_fn_cxx_try_compile "$LINENO"; then :
53568 glibcxx_cv_func__hypot_use=yes
53569 else
53570 glibcxx_cv_func__hypot_use=no
53571 fi
53572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53573 ac_ext=c
53574 ac_cpp='$CPP $CPPFLAGS'
53575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53578
53579
53580 fi
53581
53582 fi
53583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53584 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53585
53586 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53587 for ac_func in _hypot
53588 do :
53589 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53590 if test "x$ac_cv_func__hypot" = x""yes; then :
53591 cat >>confdefs.h <<_ACEOF
53592 #define HAVE__HYPOT 1
53593 _ACEOF
53594
53595 fi
53596 done
53597
53598 fi
53599 fi
53600
53601
53602
53603
53604
53605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53606 $as_echo_n "checking for float trig functions... " >&6; }
53607 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53608 $as_echo_n "(cached) " >&6
53609 else
53610
53611
53612 ac_ext=cpp
53613 ac_cpp='$CXXCPP $CPPFLAGS'
53614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53617
53618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53619 /* end confdefs.h. */
53620 #include <math.h>
53621 int
53622 main ()
53623 {
53624 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53625 ;
53626 return 0;
53627 }
53628 _ACEOF
53629 if ac_fn_cxx_try_compile "$LINENO"; then :
53630 glibcxx_cv_func_float_trig_use=yes
53631 else
53632 glibcxx_cv_func_float_trig_use=no
53633 fi
53634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53635 ac_ext=c
53636 ac_cpp='$CPP $CPPFLAGS'
53637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53640
53641 fi
53642
53643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53644 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53645 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53646 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53647 do :
53648 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53649 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53650 eval as_val=\$$as_ac_var
53651 if test "x$as_val" = x""yes; then :
53652 cat >>confdefs.h <<_ACEOF
53653 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53654 _ACEOF
53655
53656 fi
53657 done
53658
53659 else
53660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53661 $as_echo_n "checking for _float trig functions... " >&6; }
53662 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53663 $as_echo_n "(cached) " >&6
53664 else
53665
53666
53667 ac_ext=cpp
53668 ac_cpp='$CXXCPP $CPPFLAGS'
53669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53672
53673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53674 /* end confdefs.h. */
53675 #include <math.h>
53676 int
53677 main ()
53678 {
53679 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53680 ;
53681 return 0;
53682 }
53683 _ACEOF
53684 if ac_fn_cxx_try_compile "$LINENO"; then :
53685 glibcxx_cv_func__float_trig_use=yes
53686 else
53687 glibcxx_cv_func__float_trig_use=no
53688 fi
53689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53690 ac_ext=c
53691 ac_cpp='$CPP $CPPFLAGS'
53692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53695
53696 fi
53697
53698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53699 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53700 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53701 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53702 do :
53703 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53704 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53705 eval as_val=\$$as_ac_var
53706 if test "x$as_val" = x""yes; then :
53707 cat >>confdefs.h <<_ACEOF
53708 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53709 _ACEOF
53710
53711 fi
53712 done
53713
53714 fi
53715 fi
53716
53717
53718
53719
53720
53721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53722 $as_echo_n "checking for float round functions... " >&6; }
53723 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53724 $as_echo_n "(cached) " >&6
53725 else
53726
53727
53728 ac_ext=cpp
53729 ac_cpp='$CXXCPP $CPPFLAGS'
53730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53733
53734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53735 /* end confdefs.h. */
53736 #include <math.h>
53737 int
53738 main ()
53739 {
53740 ceilf (0); floorf (0);
53741 ;
53742 return 0;
53743 }
53744 _ACEOF
53745 if ac_fn_cxx_try_compile "$LINENO"; then :
53746 glibcxx_cv_func_float_round_use=yes
53747 else
53748 glibcxx_cv_func_float_round_use=no
53749 fi
53750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53751 ac_ext=c
53752 ac_cpp='$CPP $CPPFLAGS'
53753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53756
53757 fi
53758
53759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53760 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53761 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53762 for ac_func in ceilf floorf
53763 do :
53764 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53765 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53766 eval as_val=\$$as_ac_var
53767 if test "x$as_val" = x""yes; then :
53768 cat >>confdefs.h <<_ACEOF
53769 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53770 _ACEOF
53771
53772 fi
53773 done
53774
53775 else
53776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53777 $as_echo_n "checking for _float round functions... " >&6; }
53778 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53779 $as_echo_n "(cached) " >&6
53780 else
53781
53782
53783 ac_ext=cpp
53784 ac_cpp='$CXXCPP $CPPFLAGS'
53785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53788
53789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53790 /* end confdefs.h. */
53791 #include <math.h>
53792 int
53793 main ()
53794 {
53795 _ceilf (0); _floorf (0);
53796 ;
53797 return 0;
53798 }
53799 _ACEOF
53800 if ac_fn_cxx_try_compile "$LINENO"; then :
53801 glibcxx_cv_func__float_round_use=yes
53802 else
53803 glibcxx_cv_func__float_round_use=no
53804 fi
53805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53806 ac_ext=c
53807 ac_cpp='$CPP $CPPFLAGS'
53808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53811
53812 fi
53813
53814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53815 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53816 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53817 for ac_func in _ceilf _floorf
53818 do :
53819 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53820 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53821 eval as_val=\$$as_ac_var
53822 if test "x$as_val" = x""yes; then :
53823 cat >>confdefs.h <<_ACEOF
53824 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53825 _ACEOF
53826
53827 fi
53828 done
53829
53830 fi
53831 fi
53832
53833
53834
53835
53836
53837
53838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53839 $as_echo_n "checking for expf declaration... " >&6; }
53840 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53841 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53842 $as_echo_n "(cached) " >&6
53843 else
53844
53845
53846 ac_ext=cpp
53847 ac_cpp='$CXXCPP $CPPFLAGS'
53848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53851
53852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53853 /* end confdefs.h. */
53854 #include <math.h>
53855 #ifdef HAVE_IEEEFP_H
53856 #include <ieeefp.h>
53857 #endif
53858
53859 int
53860 main ()
53861 {
53862 expf(0);
53863 ;
53864 return 0;
53865 }
53866 _ACEOF
53867 if ac_fn_cxx_try_compile "$LINENO"; then :
53868 glibcxx_cv_func_expf_use=yes
53869 else
53870 glibcxx_cv_func_expf_use=no
53871 fi
53872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53873 ac_ext=c
53874 ac_cpp='$CPP $CPPFLAGS'
53875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53878
53879
53880 fi
53881
53882 fi
53883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53884 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53885
53886 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53887 for ac_func in expf
53888 do :
53889 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53890 if test "x$ac_cv_func_expf" = x""yes; then :
53891 cat >>confdefs.h <<_ACEOF
53892 #define HAVE_EXPF 1
53893 _ACEOF
53894
53895 fi
53896 done
53897
53898 else
53899
53900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53901 $as_echo_n "checking for _expf declaration... " >&6; }
53902 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53903 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53904 $as_echo_n "(cached) " >&6
53905 else
53906
53907
53908 ac_ext=cpp
53909 ac_cpp='$CXXCPP $CPPFLAGS'
53910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53913
53914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53915 /* end confdefs.h. */
53916 #include <math.h>
53917 #ifdef HAVE_IEEEFP_H
53918 #include <ieeefp.h>
53919 #endif
53920
53921 int
53922 main ()
53923 {
53924 _expf(0);
53925 ;
53926 return 0;
53927 }
53928 _ACEOF
53929 if ac_fn_cxx_try_compile "$LINENO"; then :
53930 glibcxx_cv_func__expf_use=yes
53931 else
53932 glibcxx_cv_func__expf_use=no
53933 fi
53934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53935 ac_ext=c
53936 ac_cpp='$CPP $CPPFLAGS'
53937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53940
53941
53942 fi
53943
53944 fi
53945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53946 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53947
53948 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53949 for ac_func in _expf
53950 do :
53951 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53952 if test "x$ac_cv_func__expf" = x""yes; then :
53953 cat >>confdefs.h <<_ACEOF
53954 #define HAVE__EXPF 1
53955 _ACEOF
53956
53957 fi
53958 done
53959
53960 fi
53961 fi
53962
53963
53964
53965
53966
53967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53968 $as_echo_n "checking for isnanf declaration... " >&6; }
53969 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53970 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53971 $as_echo_n "(cached) " >&6
53972 else
53973
53974
53975 ac_ext=cpp
53976 ac_cpp='$CXXCPP $CPPFLAGS'
53977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53980
53981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53982 /* end confdefs.h. */
53983 #include <math.h>
53984 #ifdef HAVE_IEEEFP_H
53985 #include <ieeefp.h>
53986 #endif
53987
53988 int
53989 main ()
53990 {
53991 isnanf(0);
53992 ;
53993 return 0;
53994 }
53995 _ACEOF
53996 if ac_fn_cxx_try_compile "$LINENO"; then :
53997 glibcxx_cv_func_isnanf_use=yes
53998 else
53999 glibcxx_cv_func_isnanf_use=no
54000 fi
54001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54002 ac_ext=c
54003 ac_cpp='$CPP $CPPFLAGS'
54004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54007
54008
54009 fi
54010
54011 fi
54012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54013 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54014
54015 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54016 for ac_func in isnanf
54017 do :
54018 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54019 if test "x$ac_cv_func_isnanf" = x""yes; then :
54020 cat >>confdefs.h <<_ACEOF
54021 #define HAVE_ISNANF 1
54022 _ACEOF
54023
54024 fi
54025 done
54026
54027 else
54028
54029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54030 $as_echo_n "checking for _isnanf declaration... " >&6; }
54031 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54032 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54033 $as_echo_n "(cached) " >&6
54034 else
54035
54036
54037 ac_ext=cpp
54038 ac_cpp='$CXXCPP $CPPFLAGS'
54039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54042
54043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54044 /* end confdefs.h. */
54045 #include <math.h>
54046 #ifdef HAVE_IEEEFP_H
54047 #include <ieeefp.h>
54048 #endif
54049
54050 int
54051 main ()
54052 {
54053 _isnanf(0);
54054 ;
54055 return 0;
54056 }
54057 _ACEOF
54058 if ac_fn_cxx_try_compile "$LINENO"; then :
54059 glibcxx_cv_func__isnanf_use=yes
54060 else
54061 glibcxx_cv_func__isnanf_use=no
54062 fi
54063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54064 ac_ext=c
54065 ac_cpp='$CPP $CPPFLAGS'
54066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54069
54070
54071 fi
54072
54073 fi
54074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54075 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54076
54077 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54078 for ac_func in _isnanf
54079 do :
54080 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54081 if test "x$ac_cv_func__isnanf" = x""yes; then :
54082 cat >>confdefs.h <<_ACEOF
54083 #define HAVE__ISNANF 1
54084 _ACEOF
54085
54086 fi
54087 done
54088
54089 fi
54090 fi
54091
54092
54093
54094
54095
54096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54097 $as_echo_n "checking for isinff declaration... " >&6; }
54098 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54099 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54100 $as_echo_n "(cached) " >&6
54101 else
54102
54103
54104 ac_ext=cpp
54105 ac_cpp='$CXXCPP $CPPFLAGS'
54106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54109
54110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54111 /* end confdefs.h. */
54112 #include <math.h>
54113 #ifdef HAVE_IEEEFP_H
54114 #include <ieeefp.h>
54115 #endif
54116
54117 int
54118 main ()
54119 {
54120 isinff(0);
54121 ;
54122 return 0;
54123 }
54124 _ACEOF
54125 if ac_fn_cxx_try_compile "$LINENO"; then :
54126 glibcxx_cv_func_isinff_use=yes
54127 else
54128 glibcxx_cv_func_isinff_use=no
54129 fi
54130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54131 ac_ext=c
54132 ac_cpp='$CPP $CPPFLAGS'
54133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54136
54137
54138 fi
54139
54140 fi
54141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54142 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54143
54144 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54145 for ac_func in isinff
54146 do :
54147 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54148 if test "x$ac_cv_func_isinff" = x""yes; then :
54149 cat >>confdefs.h <<_ACEOF
54150 #define HAVE_ISINFF 1
54151 _ACEOF
54152
54153 fi
54154 done
54155
54156 else
54157
54158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54159 $as_echo_n "checking for _isinff declaration... " >&6; }
54160 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54161 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54162 $as_echo_n "(cached) " >&6
54163 else
54164
54165
54166 ac_ext=cpp
54167 ac_cpp='$CXXCPP $CPPFLAGS'
54168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54171
54172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54173 /* end confdefs.h. */
54174 #include <math.h>
54175 #ifdef HAVE_IEEEFP_H
54176 #include <ieeefp.h>
54177 #endif
54178
54179 int
54180 main ()
54181 {
54182 _isinff(0);
54183 ;
54184 return 0;
54185 }
54186 _ACEOF
54187 if ac_fn_cxx_try_compile "$LINENO"; then :
54188 glibcxx_cv_func__isinff_use=yes
54189 else
54190 glibcxx_cv_func__isinff_use=no
54191 fi
54192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54193 ac_ext=c
54194 ac_cpp='$CPP $CPPFLAGS'
54195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54198
54199
54200 fi
54201
54202 fi
54203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54204 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54205
54206 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54207 for ac_func in _isinff
54208 do :
54209 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54210 if test "x$ac_cv_func__isinff" = x""yes; then :
54211 cat >>confdefs.h <<_ACEOF
54212 #define HAVE__ISINFF 1
54213 _ACEOF
54214
54215 fi
54216 done
54217
54218 fi
54219 fi
54220
54221
54222
54223
54224
54225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54226 $as_echo_n "checking for atan2f declaration... " >&6; }
54227 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54228 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54229 $as_echo_n "(cached) " >&6
54230 else
54231
54232
54233 ac_ext=cpp
54234 ac_cpp='$CXXCPP $CPPFLAGS'
54235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54238
54239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54240 /* end confdefs.h. */
54241 #include <math.h>
54242 int
54243 main ()
54244 {
54245 atan2f(0, 0);
54246 ;
54247 return 0;
54248 }
54249 _ACEOF
54250 if ac_fn_cxx_try_compile "$LINENO"; then :
54251 glibcxx_cv_func_atan2f_use=yes
54252 else
54253 glibcxx_cv_func_atan2f_use=no
54254 fi
54255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54256 ac_ext=c
54257 ac_cpp='$CPP $CPPFLAGS'
54258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54261
54262
54263 fi
54264
54265 fi
54266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54267 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54268
54269 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54270 for ac_func in atan2f
54271 do :
54272 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54273 if test "x$ac_cv_func_atan2f" = x""yes; then :
54274 cat >>confdefs.h <<_ACEOF
54275 #define HAVE_ATAN2F 1
54276 _ACEOF
54277
54278 fi
54279 done
54280
54281 else
54282
54283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54284 $as_echo_n "checking for _atan2f declaration... " >&6; }
54285 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54286 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54287 $as_echo_n "(cached) " >&6
54288 else
54289
54290
54291 ac_ext=cpp
54292 ac_cpp='$CXXCPP $CPPFLAGS'
54293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54296
54297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54298 /* end confdefs.h. */
54299 #include <math.h>
54300 int
54301 main ()
54302 {
54303 _atan2f(0, 0);
54304 ;
54305 return 0;
54306 }
54307 _ACEOF
54308 if ac_fn_cxx_try_compile "$LINENO"; then :
54309 glibcxx_cv_func__atan2f_use=yes
54310 else
54311 glibcxx_cv_func__atan2f_use=no
54312 fi
54313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54314 ac_ext=c
54315 ac_cpp='$CPP $CPPFLAGS'
54316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54319
54320
54321 fi
54322
54323 fi
54324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54325 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54326
54327 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54328 for ac_func in _atan2f
54329 do :
54330 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54331 if test "x$ac_cv_func__atan2f" = x""yes; then :
54332 cat >>confdefs.h <<_ACEOF
54333 #define HAVE__ATAN2F 1
54334 _ACEOF
54335
54336 fi
54337 done
54338
54339 fi
54340 fi
54341
54342
54343
54344
54345
54346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54347 $as_echo_n "checking for fabsf declaration... " >&6; }
54348 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54349 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54350 $as_echo_n "(cached) " >&6
54351 else
54352
54353
54354 ac_ext=cpp
54355 ac_cpp='$CXXCPP $CPPFLAGS'
54356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54359
54360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54361 /* end confdefs.h. */
54362 #include <math.h>
54363 #ifdef HAVE_IEEEFP_H
54364 #include <ieeefp.h>
54365 #endif
54366
54367 int
54368 main ()
54369 {
54370 fabsf(0);
54371 ;
54372 return 0;
54373 }
54374 _ACEOF
54375 if ac_fn_cxx_try_compile "$LINENO"; then :
54376 glibcxx_cv_func_fabsf_use=yes
54377 else
54378 glibcxx_cv_func_fabsf_use=no
54379 fi
54380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54381 ac_ext=c
54382 ac_cpp='$CPP $CPPFLAGS'
54383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54386
54387
54388 fi
54389
54390 fi
54391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54392 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54393
54394 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54395 for ac_func in fabsf
54396 do :
54397 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54398 if test "x$ac_cv_func_fabsf" = x""yes; then :
54399 cat >>confdefs.h <<_ACEOF
54400 #define HAVE_FABSF 1
54401 _ACEOF
54402
54403 fi
54404 done
54405
54406 else
54407
54408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54409 $as_echo_n "checking for _fabsf declaration... " >&6; }
54410 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54411 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54412 $as_echo_n "(cached) " >&6
54413 else
54414
54415
54416 ac_ext=cpp
54417 ac_cpp='$CXXCPP $CPPFLAGS'
54418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54421
54422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54423 /* end confdefs.h. */
54424 #include <math.h>
54425 #ifdef HAVE_IEEEFP_H
54426 #include <ieeefp.h>
54427 #endif
54428
54429 int
54430 main ()
54431 {
54432 _fabsf(0);
54433 ;
54434 return 0;
54435 }
54436 _ACEOF
54437 if ac_fn_cxx_try_compile "$LINENO"; then :
54438 glibcxx_cv_func__fabsf_use=yes
54439 else
54440 glibcxx_cv_func__fabsf_use=no
54441 fi
54442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54443 ac_ext=c
54444 ac_cpp='$CPP $CPPFLAGS'
54445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54448
54449
54450 fi
54451
54452 fi
54453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54454 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54455
54456 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54457 for ac_func in _fabsf
54458 do :
54459 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54460 if test "x$ac_cv_func__fabsf" = x""yes; then :
54461 cat >>confdefs.h <<_ACEOF
54462 #define HAVE__FABSF 1
54463 _ACEOF
54464
54465 fi
54466 done
54467
54468 fi
54469 fi
54470
54471
54472
54473
54474
54475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54476 $as_echo_n "checking for fmodf declaration... " >&6; }
54477 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54478 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54479 $as_echo_n "(cached) " >&6
54480 else
54481
54482
54483 ac_ext=cpp
54484 ac_cpp='$CXXCPP $CPPFLAGS'
54485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54488
54489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54490 /* end confdefs.h. */
54491 #include <math.h>
54492 int
54493 main ()
54494 {
54495 fmodf(0, 0);
54496 ;
54497 return 0;
54498 }
54499 _ACEOF
54500 if ac_fn_cxx_try_compile "$LINENO"; then :
54501 glibcxx_cv_func_fmodf_use=yes
54502 else
54503 glibcxx_cv_func_fmodf_use=no
54504 fi
54505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54506 ac_ext=c
54507 ac_cpp='$CPP $CPPFLAGS'
54508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54511
54512
54513 fi
54514
54515 fi
54516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54517 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54518
54519 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54520 for ac_func in fmodf
54521 do :
54522 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54523 if test "x$ac_cv_func_fmodf" = x""yes; then :
54524 cat >>confdefs.h <<_ACEOF
54525 #define HAVE_FMODF 1
54526 _ACEOF
54527
54528 fi
54529 done
54530
54531 else
54532
54533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54534 $as_echo_n "checking for _fmodf declaration... " >&6; }
54535 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54536 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54537 $as_echo_n "(cached) " >&6
54538 else
54539
54540
54541 ac_ext=cpp
54542 ac_cpp='$CXXCPP $CPPFLAGS'
54543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54546
54547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54548 /* end confdefs.h. */
54549 #include <math.h>
54550 int
54551 main ()
54552 {
54553 _fmodf(0, 0);
54554 ;
54555 return 0;
54556 }
54557 _ACEOF
54558 if ac_fn_cxx_try_compile "$LINENO"; then :
54559 glibcxx_cv_func__fmodf_use=yes
54560 else
54561 glibcxx_cv_func__fmodf_use=no
54562 fi
54563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54564 ac_ext=c
54565 ac_cpp='$CPP $CPPFLAGS'
54566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54569
54570
54571 fi
54572
54573 fi
54574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54575 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54576
54577 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54578 for ac_func in _fmodf
54579 do :
54580 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54581 if test "x$ac_cv_func__fmodf" = x""yes; then :
54582 cat >>confdefs.h <<_ACEOF
54583 #define HAVE__FMODF 1
54584 _ACEOF
54585
54586 fi
54587 done
54588
54589 fi
54590 fi
54591
54592
54593
54594
54595
54596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54597 $as_echo_n "checking for frexpf declaration... " >&6; }
54598 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54599 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54600 $as_echo_n "(cached) " >&6
54601 else
54602
54603
54604 ac_ext=cpp
54605 ac_cpp='$CXXCPP $CPPFLAGS'
54606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54609
54610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54611 /* end confdefs.h. */
54612 #include <math.h>
54613 int
54614 main ()
54615 {
54616 frexpf(0, 0);
54617 ;
54618 return 0;
54619 }
54620 _ACEOF
54621 if ac_fn_cxx_try_compile "$LINENO"; then :
54622 glibcxx_cv_func_frexpf_use=yes
54623 else
54624 glibcxx_cv_func_frexpf_use=no
54625 fi
54626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54627 ac_ext=c
54628 ac_cpp='$CPP $CPPFLAGS'
54629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54632
54633
54634 fi
54635
54636 fi
54637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54638 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54639
54640 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54641 for ac_func in frexpf
54642 do :
54643 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54644 if test "x$ac_cv_func_frexpf" = x""yes; then :
54645 cat >>confdefs.h <<_ACEOF
54646 #define HAVE_FREXPF 1
54647 _ACEOF
54648
54649 fi
54650 done
54651
54652 else
54653
54654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54655 $as_echo_n "checking for _frexpf declaration... " >&6; }
54656 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54657 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54658 $as_echo_n "(cached) " >&6
54659 else
54660
54661
54662 ac_ext=cpp
54663 ac_cpp='$CXXCPP $CPPFLAGS'
54664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54667
54668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54669 /* end confdefs.h. */
54670 #include <math.h>
54671 int
54672 main ()
54673 {
54674 _frexpf(0, 0);
54675 ;
54676 return 0;
54677 }
54678 _ACEOF
54679 if ac_fn_cxx_try_compile "$LINENO"; then :
54680 glibcxx_cv_func__frexpf_use=yes
54681 else
54682 glibcxx_cv_func__frexpf_use=no
54683 fi
54684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54685 ac_ext=c
54686 ac_cpp='$CPP $CPPFLAGS'
54687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54690
54691
54692 fi
54693
54694 fi
54695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54696 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54697
54698 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54699 for ac_func in _frexpf
54700 do :
54701 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54702 if test "x$ac_cv_func__frexpf" = x""yes; then :
54703 cat >>confdefs.h <<_ACEOF
54704 #define HAVE__FREXPF 1
54705 _ACEOF
54706
54707 fi
54708 done
54709
54710 fi
54711 fi
54712
54713
54714
54715
54716
54717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54718 $as_echo_n "checking for hypotf declaration... " >&6; }
54719 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54720 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54721 $as_echo_n "(cached) " >&6
54722 else
54723
54724
54725 ac_ext=cpp
54726 ac_cpp='$CXXCPP $CPPFLAGS'
54727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54730
54731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54732 /* end confdefs.h. */
54733 #include <math.h>
54734 int
54735 main ()
54736 {
54737 hypotf(0, 0);
54738 ;
54739 return 0;
54740 }
54741 _ACEOF
54742 if ac_fn_cxx_try_compile "$LINENO"; then :
54743 glibcxx_cv_func_hypotf_use=yes
54744 else
54745 glibcxx_cv_func_hypotf_use=no
54746 fi
54747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54748 ac_ext=c
54749 ac_cpp='$CPP $CPPFLAGS'
54750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54753
54754
54755 fi
54756
54757 fi
54758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54759 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54760
54761 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54762 for ac_func in hypotf
54763 do :
54764 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54765 if test "x$ac_cv_func_hypotf" = x""yes; then :
54766 cat >>confdefs.h <<_ACEOF
54767 #define HAVE_HYPOTF 1
54768 _ACEOF
54769
54770 fi
54771 done
54772
54773 else
54774
54775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54776 $as_echo_n "checking for _hypotf declaration... " >&6; }
54777 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54778 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54779 $as_echo_n "(cached) " >&6
54780 else
54781
54782
54783 ac_ext=cpp
54784 ac_cpp='$CXXCPP $CPPFLAGS'
54785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54788
54789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54790 /* end confdefs.h. */
54791 #include <math.h>
54792 int
54793 main ()
54794 {
54795 _hypotf(0, 0);
54796 ;
54797 return 0;
54798 }
54799 _ACEOF
54800 if ac_fn_cxx_try_compile "$LINENO"; then :
54801 glibcxx_cv_func__hypotf_use=yes
54802 else
54803 glibcxx_cv_func__hypotf_use=no
54804 fi
54805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54806 ac_ext=c
54807 ac_cpp='$CPP $CPPFLAGS'
54808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54811
54812
54813 fi
54814
54815 fi
54816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54817 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54818
54819 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54820 for ac_func in _hypotf
54821 do :
54822 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54823 if test "x$ac_cv_func__hypotf" = x""yes; then :
54824 cat >>confdefs.h <<_ACEOF
54825 #define HAVE__HYPOTF 1
54826 _ACEOF
54827
54828 fi
54829 done
54830
54831 fi
54832 fi
54833
54834
54835
54836
54837
54838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54839 $as_echo_n "checking for ldexpf declaration... " >&6; }
54840 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54841 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54842 $as_echo_n "(cached) " >&6
54843 else
54844
54845
54846 ac_ext=cpp
54847 ac_cpp='$CXXCPP $CPPFLAGS'
54848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54851
54852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54853 /* end confdefs.h. */
54854 #include <math.h>
54855 int
54856 main ()
54857 {
54858 ldexpf(0, 0);
54859 ;
54860 return 0;
54861 }
54862 _ACEOF
54863 if ac_fn_cxx_try_compile "$LINENO"; then :
54864 glibcxx_cv_func_ldexpf_use=yes
54865 else
54866 glibcxx_cv_func_ldexpf_use=no
54867 fi
54868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54869 ac_ext=c
54870 ac_cpp='$CPP $CPPFLAGS'
54871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54874
54875
54876 fi
54877
54878 fi
54879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54880 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54881
54882 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54883 for ac_func in ldexpf
54884 do :
54885 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54886 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54887 cat >>confdefs.h <<_ACEOF
54888 #define HAVE_LDEXPF 1
54889 _ACEOF
54890
54891 fi
54892 done
54893
54894 else
54895
54896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54897 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54898 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54899 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54900 $as_echo_n "(cached) " >&6
54901 else
54902
54903
54904 ac_ext=cpp
54905 ac_cpp='$CXXCPP $CPPFLAGS'
54906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54909
54910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54911 /* end confdefs.h. */
54912 #include <math.h>
54913 int
54914 main ()
54915 {
54916 _ldexpf(0, 0);
54917 ;
54918 return 0;
54919 }
54920 _ACEOF
54921 if ac_fn_cxx_try_compile "$LINENO"; then :
54922 glibcxx_cv_func__ldexpf_use=yes
54923 else
54924 glibcxx_cv_func__ldexpf_use=no
54925 fi
54926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54927 ac_ext=c
54928 ac_cpp='$CPP $CPPFLAGS'
54929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54932
54933
54934 fi
54935
54936 fi
54937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54938 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54939
54940 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54941 for ac_func in _ldexpf
54942 do :
54943 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54944 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54945 cat >>confdefs.h <<_ACEOF
54946 #define HAVE__LDEXPF 1
54947 _ACEOF
54948
54949 fi
54950 done
54951
54952 fi
54953 fi
54954
54955
54956
54957
54958
54959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54960 $as_echo_n "checking for logf declaration... " >&6; }
54961 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54962 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54963 $as_echo_n "(cached) " >&6
54964 else
54965
54966
54967 ac_ext=cpp
54968 ac_cpp='$CXXCPP $CPPFLAGS'
54969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54972
54973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54974 /* end confdefs.h. */
54975 #include <math.h>
54976 #ifdef HAVE_IEEEFP_H
54977 #include <ieeefp.h>
54978 #endif
54979
54980 int
54981 main ()
54982 {
54983 logf(0);
54984 ;
54985 return 0;
54986 }
54987 _ACEOF
54988 if ac_fn_cxx_try_compile "$LINENO"; then :
54989 glibcxx_cv_func_logf_use=yes
54990 else
54991 glibcxx_cv_func_logf_use=no
54992 fi
54993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54994 ac_ext=c
54995 ac_cpp='$CPP $CPPFLAGS'
54996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54999
55000
55001 fi
55002
55003 fi
55004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55005 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55006
55007 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55008 for ac_func in logf
55009 do :
55010 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55011 if test "x$ac_cv_func_logf" = x""yes; then :
55012 cat >>confdefs.h <<_ACEOF
55013 #define HAVE_LOGF 1
55014 _ACEOF
55015
55016 fi
55017 done
55018
55019 else
55020
55021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55022 $as_echo_n "checking for _logf declaration... " >&6; }
55023 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55024 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55025 $as_echo_n "(cached) " >&6
55026 else
55027
55028
55029 ac_ext=cpp
55030 ac_cpp='$CXXCPP $CPPFLAGS'
55031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55034
55035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55036 /* end confdefs.h. */
55037 #include <math.h>
55038 #ifdef HAVE_IEEEFP_H
55039 #include <ieeefp.h>
55040 #endif
55041
55042 int
55043 main ()
55044 {
55045 _logf(0);
55046 ;
55047 return 0;
55048 }
55049 _ACEOF
55050 if ac_fn_cxx_try_compile "$LINENO"; then :
55051 glibcxx_cv_func__logf_use=yes
55052 else
55053 glibcxx_cv_func__logf_use=no
55054 fi
55055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55056 ac_ext=c
55057 ac_cpp='$CPP $CPPFLAGS'
55058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55061
55062
55063 fi
55064
55065 fi
55066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55067 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55068
55069 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55070 for ac_func in _logf
55071 do :
55072 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55073 if test "x$ac_cv_func__logf" = x""yes; then :
55074 cat >>confdefs.h <<_ACEOF
55075 #define HAVE__LOGF 1
55076 _ACEOF
55077
55078 fi
55079 done
55080
55081 fi
55082 fi
55083
55084
55085
55086
55087
55088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55089 $as_echo_n "checking for log10f declaration... " >&6; }
55090 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55091 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55092 $as_echo_n "(cached) " >&6
55093 else
55094
55095
55096 ac_ext=cpp
55097 ac_cpp='$CXXCPP $CPPFLAGS'
55098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55101
55102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55103 /* end confdefs.h. */
55104 #include <math.h>
55105 #ifdef HAVE_IEEEFP_H
55106 #include <ieeefp.h>
55107 #endif
55108
55109 int
55110 main ()
55111 {
55112 log10f(0);
55113 ;
55114 return 0;
55115 }
55116 _ACEOF
55117 if ac_fn_cxx_try_compile "$LINENO"; then :
55118 glibcxx_cv_func_log10f_use=yes
55119 else
55120 glibcxx_cv_func_log10f_use=no
55121 fi
55122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55123 ac_ext=c
55124 ac_cpp='$CPP $CPPFLAGS'
55125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55128
55129
55130 fi
55131
55132 fi
55133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55134 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55135
55136 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55137 for ac_func in log10f
55138 do :
55139 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55140 if test "x$ac_cv_func_log10f" = x""yes; then :
55141 cat >>confdefs.h <<_ACEOF
55142 #define HAVE_LOG10F 1
55143 _ACEOF
55144
55145 fi
55146 done
55147
55148 else
55149
55150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55151 $as_echo_n "checking for _log10f declaration... " >&6; }
55152 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55153 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55154 $as_echo_n "(cached) " >&6
55155 else
55156
55157
55158 ac_ext=cpp
55159 ac_cpp='$CXXCPP $CPPFLAGS'
55160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55163
55164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55165 /* end confdefs.h. */
55166 #include <math.h>
55167 #ifdef HAVE_IEEEFP_H
55168 #include <ieeefp.h>
55169 #endif
55170
55171 int
55172 main ()
55173 {
55174 _log10f(0);
55175 ;
55176 return 0;
55177 }
55178 _ACEOF
55179 if ac_fn_cxx_try_compile "$LINENO"; then :
55180 glibcxx_cv_func__log10f_use=yes
55181 else
55182 glibcxx_cv_func__log10f_use=no
55183 fi
55184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55185 ac_ext=c
55186 ac_cpp='$CPP $CPPFLAGS'
55187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55190
55191
55192 fi
55193
55194 fi
55195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55196 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55197
55198 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55199 for ac_func in _log10f
55200 do :
55201 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55202 if test "x$ac_cv_func__log10f" = x""yes; then :
55203 cat >>confdefs.h <<_ACEOF
55204 #define HAVE__LOG10F 1
55205 _ACEOF
55206
55207 fi
55208 done
55209
55210 fi
55211 fi
55212
55213
55214
55215
55216
55217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55218 $as_echo_n "checking for modff declaration... " >&6; }
55219 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55220 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55221 $as_echo_n "(cached) " >&6
55222 else
55223
55224
55225 ac_ext=cpp
55226 ac_cpp='$CXXCPP $CPPFLAGS'
55227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55230
55231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55232 /* end confdefs.h. */
55233 #include <math.h>
55234 int
55235 main ()
55236 {
55237 modff(0, 0);
55238 ;
55239 return 0;
55240 }
55241 _ACEOF
55242 if ac_fn_cxx_try_compile "$LINENO"; then :
55243 glibcxx_cv_func_modff_use=yes
55244 else
55245 glibcxx_cv_func_modff_use=no
55246 fi
55247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55248 ac_ext=c
55249 ac_cpp='$CPP $CPPFLAGS'
55250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55253
55254
55255 fi
55256
55257 fi
55258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55259 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55260
55261 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55262 for ac_func in modff
55263 do :
55264 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55265 if test "x$ac_cv_func_modff" = x""yes; then :
55266 cat >>confdefs.h <<_ACEOF
55267 #define HAVE_MODFF 1
55268 _ACEOF
55269
55270 fi
55271 done
55272
55273 else
55274
55275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55276 $as_echo_n "checking for _modff declaration... " >&6; }
55277 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55278 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55279 $as_echo_n "(cached) " >&6
55280 else
55281
55282
55283 ac_ext=cpp
55284 ac_cpp='$CXXCPP $CPPFLAGS'
55285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55288
55289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55290 /* end confdefs.h. */
55291 #include <math.h>
55292 int
55293 main ()
55294 {
55295 _modff(0, 0);
55296 ;
55297 return 0;
55298 }
55299 _ACEOF
55300 if ac_fn_cxx_try_compile "$LINENO"; then :
55301 glibcxx_cv_func__modff_use=yes
55302 else
55303 glibcxx_cv_func__modff_use=no
55304 fi
55305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55306 ac_ext=c
55307 ac_cpp='$CPP $CPPFLAGS'
55308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55311
55312
55313 fi
55314
55315 fi
55316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55317 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55318
55319 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55320 for ac_func in _modff
55321 do :
55322 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55323 if test "x$ac_cv_func__modff" = x""yes; then :
55324 cat >>confdefs.h <<_ACEOF
55325 #define HAVE__MODFF 1
55326 _ACEOF
55327
55328 fi
55329 done
55330
55331 fi
55332 fi
55333
55334
55335
55336
55337
55338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55339 $as_echo_n "checking for modf declaration... " >&6; }
55340 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55341 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55342 $as_echo_n "(cached) " >&6
55343 else
55344
55345
55346 ac_ext=cpp
55347 ac_cpp='$CXXCPP $CPPFLAGS'
55348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55351
55352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55353 /* end confdefs.h. */
55354 #include <math.h>
55355 int
55356 main ()
55357 {
55358 modf(0, 0);
55359 ;
55360 return 0;
55361 }
55362 _ACEOF
55363 if ac_fn_cxx_try_compile "$LINENO"; then :
55364 glibcxx_cv_func_modf_use=yes
55365 else
55366 glibcxx_cv_func_modf_use=no
55367 fi
55368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55369 ac_ext=c
55370 ac_cpp='$CPP $CPPFLAGS'
55371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55374
55375
55376 fi
55377
55378 fi
55379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55380 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55381
55382 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55383 for ac_func in modf
55384 do :
55385 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55386 if test "x$ac_cv_func_modf" = x""yes; then :
55387 cat >>confdefs.h <<_ACEOF
55388 #define HAVE_MODF 1
55389 _ACEOF
55390
55391 fi
55392 done
55393
55394 else
55395
55396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55397 $as_echo_n "checking for _modf declaration... " >&6; }
55398 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55399 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55400 $as_echo_n "(cached) " >&6
55401 else
55402
55403
55404 ac_ext=cpp
55405 ac_cpp='$CXXCPP $CPPFLAGS'
55406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55409
55410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55411 /* end confdefs.h. */
55412 #include <math.h>
55413 int
55414 main ()
55415 {
55416 _modf(0, 0);
55417 ;
55418 return 0;
55419 }
55420 _ACEOF
55421 if ac_fn_cxx_try_compile "$LINENO"; then :
55422 glibcxx_cv_func__modf_use=yes
55423 else
55424 glibcxx_cv_func__modf_use=no
55425 fi
55426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55427 ac_ext=c
55428 ac_cpp='$CPP $CPPFLAGS'
55429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55432
55433
55434 fi
55435
55436 fi
55437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55438 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55439
55440 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55441 for ac_func in _modf
55442 do :
55443 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55444 if test "x$ac_cv_func__modf" = x""yes; then :
55445 cat >>confdefs.h <<_ACEOF
55446 #define HAVE__MODF 1
55447 _ACEOF
55448
55449 fi
55450 done
55451
55452 fi
55453 fi
55454
55455
55456
55457
55458
55459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55460 $as_echo_n "checking for powf declaration... " >&6; }
55461 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55462 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55463 $as_echo_n "(cached) " >&6
55464 else
55465
55466
55467 ac_ext=cpp
55468 ac_cpp='$CXXCPP $CPPFLAGS'
55469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55472
55473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55474 /* end confdefs.h. */
55475 #include <math.h>
55476 int
55477 main ()
55478 {
55479 powf(0, 0);
55480 ;
55481 return 0;
55482 }
55483 _ACEOF
55484 if ac_fn_cxx_try_compile "$LINENO"; then :
55485 glibcxx_cv_func_powf_use=yes
55486 else
55487 glibcxx_cv_func_powf_use=no
55488 fi
55489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55490 ac_ext=c
55491 ac_cpp='$CPP $CPPFLAGS'
55492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55495
55496
55497 fi
55498
55499 fi
55500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55501 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55502
55503 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55504 for ac_func in powf
55505 do :
55506 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55507 if test "x$ac_cv_func_powf" = x""yes; then :
55508 cat >>confdefs.h <<_ACEOF
55509 #define HAVE_POWF 1
55510 _ACEOF
55511
55512 fi
55513 done
55514
55515 else
55516
55517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55518 $as_echo_n "checking for _powf declaration... " >&6; }
55519 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55520 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55521 $as_echo_n "(cached) " >&6
55522 else
55523
55524
55525 ac_ext=cpp
55526 ac_cpp='$CXXCPP $CPPFLAGS'
55527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55530
55531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55532 /* end confdefs.h. */
55533 #include <math.h>
55534 int
55535 main ()
55536 {
55537 _powf(0, 0);
55538 ;
55539 return 0;
55540 }
55541 _ACEOF
55542 if ac_fn_cxx_try_compile "$LINENO"; then :
55543 glibcxx_cv_func__powf_use=yes
55544 else
55545 glibcxx_cv_func__powf_use=no
55546 fi
55547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55548 ac_ext=c
55549 ac_cpp='$CPP $CPPFLAGS'
55550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55553
55554
55555 fi
55556
55557 fi
55558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55559 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55560
55561 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55562 for ac_func in _powf
55563 do :
55564 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55565 if test "x$ac_cv_func__powf" = x""yes; then :
55566 cat >>confdefs.h <<_ACEOF
55567 #define HAVE__POWF 1
55568 _ACEOF
55569
55570 fi
55571 done
55572
55573 fi
55574 fi
55575
55576
55577
55578
55579
55580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55581 $as_echo_n "checking for sqrtf declaration... " >&6; }
55582 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55583 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55584 $as_echo_n "(cached) " >&6
55585 else
55586
55587
55588 ac_ext=cpp
55589 ac_cpp='$CXXCPP $CPPFLAGS'
55590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55593
55594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55595 /* end confdefs.h. */
55596 #include <math.h>
55597 #ifdef HAVE_IEEEFP_H
55598 #include <ieeefp.h>
55599 #endif
55600
55601 int
55602 main ()
55603 {
55604 sqrtf(0);
55605 ;
55606 return 0;
55607 }
55608 _ACEOF
55609 if ac_fn_cxx_try_compile "$LINENO"; then :
55610 glibcxx_cv_func_sqrtf_use=yes
55611 else
55612 glibcxx_cv_func_sqrtf_use=no
55613 fi
55614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55615 ac_ext=c
55616 ac_cpp='$CPP $CPPFLAGS'
55617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55620
55621
55622 fi
55623
55624 fi
55625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55626 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55627
55628 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55629 for ac_func in sqrtf
55630 do :
55631 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55632 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55633 cat >>confdefs.h <<_ACEOF
55634 #define HAVE_SQRTF 1
55635 _ACEOF
55636
55637 fi
55638 done
55639
55640 else
55641
55642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55643 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55644 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55645 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55646 $as_echo_n "(cached) " >&6
55647 else
55648
55649
55650 ac_ext=cpp
55651 ac_cpp='$CXXCPP $CPPFLAGS'
55652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55655
55656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55657 /* end confdefs.h. */
55658 #include <math.h>
55659 #ifdef HAVE_IEEEFP_H
55660 #include <ieeefp.h>
55661 #endif
55662
55663 int
55664 main ()
55665 {
55666 _sqrtf(0);
55667 ;
55668 return 0;
55669 }
55670 _ACEOF
55671 if ac_fn_cxx_try_compile "$LINENO"; then :
55672 glibcxx_cv_func__sqrtf_use=yes
55673 else
55674 glibcxx_cv_func__sqrtf_use=no
55675 fi
55676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55677 ac_ext=c
55678 ac_cpp='$CPP $CPPFLAGS'
55679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55682
55683
55684 fi
55685
55686 fi
55687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55688 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55689
55690 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55691 for ac_func in _sqrtf
55692 do :
55693 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55694 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55695 cat >>confdefs.h <<_ACEOF
55696 #define HAVE__SQRTF 1
55697 _ACEOF
55698
55699 fi
55700 done
55701
55702 fi
55703 fi
55704
55705
55706
55707
55708
55709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55710 $as_echo_n "checking for sincosf declaration... " >&6; }
55711 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55712 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55713 $as_echo_n "(cached) " >&6
55714 else
55715
55716
55717 ac_ext=cpp
55718 ac_cpp='$CXXCPP $CPPFLAGS'
55719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55722
55723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55724 /* end confdefs.h. */
55725 #include <math.h>
55726 int
55727 main ()
55728 {
55729 sincosf(0, 0, 0);
55730 ;
55731 return 0;
55732 }
55733 _ACEOF
55734 if ac_fn_cxx_try_compile "$LINENO"; then :
55735 glibcxx_cv_func_sincosf_use=yes
55736 else
55737 glibcxx_cv_func_sincosf_use=no
55738 fi
55739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55740 ac_ext=c
55741 ac_cpp='$CPP $CPPFLAGS'
55742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55745
55746
55747 fi
55748
55749 fi
55750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55751 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55752
55753 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55754 for ac_func in sincosf
55755 do :
55756 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55757 if test "x$ac_cv_func_sincosf" = x""yes; then :
55758 cat >>confdefs.h <<_ACEOF
55759 #define HAVE_SINCOSF 1
55760 _ACEOF
55761
55762 fi
55763 done
55764
55765 else
55766
55767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55768 $as_echo_n "checking for _sincosf declaration... " >&6; }
55769 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55770 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55771 $as_echo_n "(cached) " >&6
55772 else
55773
55774
55775 ac_ext=cpp
55776 ac_cpp='$CXXCPP $CPPFLAGS'
55777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55780
55781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55782 /* end confdefs.h. */
55783 #include <math.h>
55784 int
55785 main ()
55786 {
55787 _sincosf(0, 0, 0);
55788 ;
55789 return 0;
55790 }
55791 _ACEOF
55792 if ac_fn_cxx_try_compile "$LINENO"; then :
55793 glibcxx_cv_func__sincosf_use=yes
55794 else
55795 glibcxx_cv_func__sincosf_use=no
55796 fi
55797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55798 ac_ext=c
55799 ac_cpp='$CPP $CPPFLAGS'
55800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55803
55804
55805 fi
55806
55807 fi
55808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55809 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55810
55811 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55812 for ac_func in _sincosf
55813 do :
55814 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55815 if test "x$ac_cv_func__sincosf" = x""yes; then :
55816 cat >>confdefs.h <<_ACEOF
55817 #define HAVE__SINCOSF 1
55818 _ACEOF
55819
55820 fi
55821 done
55822
55823 fi
55824 fi
55825
55826
55827
55828
55829
55830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55831 $as_echo_n "checking for finitef declaration... " >&6; }
55832 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55833 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55834 $as_echo_n "(cached) " >&6
55835 else
55836
55837
55838 ac_ext=cpp
55839 ac_cpp='$CXXCPP $CPPFLAGS'
55840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55843
55844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55845 /* end confdefs.h. */
55846 #include <math.h>
55847 #ifdef HAVE_IEEEFP_H
55848 #include <ieeefp.h>
55849 #endif
55850
55851 int
55852 main ()
55853 {
55854 finitef(0);
55855 ;
55856 return 0;
55857 }
55858 _ACEOF
55859 if ac_fn_cxx_try_compile "$LINENO"; then :
55860 glibcxx_cv_func_finitef_use=yes
55861 else
55862 glibcxx_cv_func_finitef_use=no
55863 fi
55864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55865 ac_ext=c
55866 ac_cpp='$CPP $CPPFLAGS'
55867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55870
55871
55872 fi
55873
55874 fi
55875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55876 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55877
55878 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55879 for ac_func in finitef
55880 do :
55881 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55882 if test "x$ac_cv_func_finitef" = x""yes; then :
55883 cat >>confdefs.h <<_ACEOF
55884 #define HAVE_FINITEF 1
55885 _ACEOF
55886
55887 fi
55888 done
55889
55890 else
55891
55892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55893 $as_echo_n "checking for _finitef declaration... " >&6; }
55894 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55895 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55896 $as_echo_n "(cached) " >&6
55897 else
55898
55899
55900 ac_ext=cpp
55901 ac_cpp='$CXXCPP $CPPFLAGS'
55902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55905
55906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55907 /* end confdefs.h. */
55908 #include <math.h>
55909 #ifdef HAVE_IEEEFP_H
55910 #include <ieeefp.h>
55911 #endif
55912
55913 int
55914 main ()
55915 {
55916 _finitef(0);
55917 ;
55918 return 0;
55919 }
55920 _ACEOF
55921 if ac_fn_cxx_try_compile "$LINENO"; then :
55922 glibcxx_cv_func__finitef_use=yes
55923 else
55924 glibcxx_cv_func__finitef_use=no
55925 fi
55926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55927 ac_ext=c
55928 ac_cpp='$CPP $CPPFLAGS'
55929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55932
55933
55934 fi
55935
55936 fi
55937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55938 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55939
55940 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55941 for ac_func in _finitef
55942 do :
55943 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55944 if test "x$ac_cv_func__finitef" = x""yes; then :
55945 cat >>confdefs.h <<_ACEOF
55946 #define HAVE__FINITEF 1
55947 _ACEOF
55948
55949 fi
55950 done
55951
55952 fi
55953 fi
55954
55955
55956
55957
55958
55959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55960 $as_echo_n "checking for long double trig functions... " >&6; }
55961 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55962 $as_echo_n "(cached) " >&6
55963 else
55964
55965
55966 ac_ext=cpp
55967 ac_cpp='$CXXCPP $CPPFLAGS'
55968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55971
55972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55973 /* end confdefs.h. */
55974 #include <math.h>
55975 int
55976 main ()
55977 {
55978 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55979 ;
55980 return 0;
55981 }
55982 _ACEOF
55983 if ac_fn_cxx_try_compile "$LINENO"; then :
55984 glibcxx_cv_func_long_double_trig_use=yes
55985 else
55986 glibcxx_cv_func_long_double_trig_use=no
55987 fi
55988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55989 ac_ext=c
55990 ac_cpp='$CPP $CPPFLAGS'
55991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55994
55995 fi
55996
55997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55998 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55999 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56000 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56001 do :
56002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56004 eval as_val=\$$as_ac_var
56005 if test "x$as_val" = x""yes; then :
56006 cat >>confdefs.h <<_ACEOF
56007 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56008 _ACEOF
56009
56010 fi
56011 done
56012
56013 else
56014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56015 $as_echo_n "checking for _long double trig functions... " >&6; }
56016 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56017 $as_echo_n "(cached) " >&6
56018 else
56019
56020
56021 ac_ext=cpp
56022 ac_cpp='$CXXCPP $CPPFLAGS'
56023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56026
56027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56028 /* end confdefs.h. */
56029 #include <math.h>
56030 int
56031 main ()
56032 {
56033 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56034 ;
56035 return 0;
56036 }
56037 _ACEOF
56038 if ac_fn_cxx_try_compile "$LINENO"; then :
56039 glibcxx_cv_func__long_double_trig_use=yes
56040 else
56041 glibcxx_cv_func__long_double_trig_use=no
56042 fi
56043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56044 ac_ext=c
56045 ac_cpp='$CPP $CPPFLAGS'
56046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56049
56050 fi
56051
56052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56053 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56054 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56055 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56056 do :
56057 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56058 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56059 eval as_val=\$$as_ac_var
56060 if test "x$as_val" = x""yes; then :
56061 cat >>confdefs.h <<_ACEOF
56062 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56063 _ACEOF
56064
56065 fi
56066 done
56067
56068 fi
56069 fi
56070
56071
56072
56073
56074
56075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56076 $as_echo_n "checking for long double round functions... " >&6; }
56077 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56078 $as_echo_n "(cached) " >&6
56079 else
56080
56081
56082 ac_ext=cpp
56083 ac_cpp='$CXXCPP $CPPFLAGS'
56084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56087
56088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56089 /* end confdefs.h. */
56090 #include <math.h>
56091 int
56092 main ()
56093 {
56094 ceill (0); floorl (0);
56095 ;
56096 return 0;
56097 }
56098 _ACEOF
56099 if ac_fn_cxx_try_compile "$LINENO"; then :
56100 glibcxx_cv_func_long_double_round_use=yes
56101 else
56102 glibcxx_cv_func_long_double_round_use=no
56103 fi
56104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56105 ac_ext=c
56106 ac_cpp='$CPP $CPPFLAGS'
56107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56110
56111 fi
56112
56113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56114 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56115 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56116 for ac_func in ceill floorl
56117 do :
56118 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56120 eval as_val=\$$as_ac_var
56121 if test "x$as_val" = x""yes; then :
56122 cat >>confdefs.h <<_ACEOF
56123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56124 _ACEOF
56125
56126 fi
56127 done
56128
56129 else
56130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56131 $as_echo_n "checking for _long double round functions... " >&6; }
56132 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56133 $as_echo_n "(cached) " >&6
56134 else
56135
56136
56137 ac_ext=cpp
56138 ac_cpp='$CXXCPP $CPPFLAGS'
56139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56142
56143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56144 /* end confdefs.h. */
56145 #include <math.h>
56146 int
56147 main ()
56148 {
56149 _ceill (0); _floorl (0);
56150 ;
56151 return 0;
56152 }
56153 _ACEOF
56154 if ac_fn_cxx_try_compile "$LINENO"; then :
56155 glibcxx_cv_func__long_double_round_use=yes
56156 else
56157 glibcxx_cv_func__long_double_round_use=no
56158 fi
56159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56160 ac_ext=c
56161 ac_cpp='$CPP $CPPFLAGS'
56162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56165
56166 fi
56167
56168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56169 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56170 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56171 for ac_func in _ceill _floorl
56172 do :
56173 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56174 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56175 eval as_val=\$$as_ac_var
56176 if test "x$as_val" = x""yes; then :
56177 cat >>confdefs.h <<_ACEOF
56178 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56179 _ACEOF
56180
56181 fi
56182 done
56183
56184 fi
56185 fi
56186
56187
56188
56189
56190
56191
56192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56193 $as_echo_n "checking for isnanl declaration... " >&6; }
56194 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56195 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56196 $as_echo_n "(cached) " >&6
56197 else
56198
56199
56200 ac_ext=cpp
56201 ac_cpp='$CXXCPP $CPPFLAGS'
56202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56205
56206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56207 /* end confdefs.h. */
56208 #include <math.h>
56209 #ifdef HAVE_IEEEFP_H
56210 #include <ieeefp.h>
56211 #endif
56212
56213 int
56214 main ()
56215 {
56216 isnanl(0);
56217 ;
56218 return 0;
56219 }
56220 _ACEOF
56221 if ac_fn_cxx_try_compile "$LINENO"; then :
56222 glibcxx_cv_func_isnanl_use=yes
56223 else
56224 glibcxx_cv_func_isnanl_use=no
56225 fi
56226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56227 ac_ext=c
56228 ac_cpp='$CPP $CPPFLAGS'
56229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56232
56233
56234 fi
56235
56236 fi
56237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56238 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56239
56240 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56241 for ac_func in isnanl
56242 do :
56243 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56244 if test "x$ac_cv_func_isnanl" = x""yes; then :
56245 cat >>confdefs.h <<_ACEOF
56246 #define HAVE_ISNANL 1
56247 _ACEOF
56248
56249 fi
56250 done
56251
56252 else
56253
56254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56255 $as_echo_n "checking for _isnanl declaration... " >&6; }
56256 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56257 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56258 $as_echo_n "(cached) " >&6
56259 else
56260
56261
56262 ac_ext=cpp
56263 ac_cpp='$CXXCPP $CPPFLAGS'
56264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56267
56268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56269 /* end confdefs.h. */
56270 #include <math.h>
56271 #ifdef HAVE_IEEEFP_H
56272 #include <ieeefp.h>
56273 #endif
56274
56275 int
56276 main ()
56277 {
56278 _isnanl(0);
56279 ;
56280 return 0;
56281 }
56282 _ACEOF
56283 if ac_fn_cxx_try_compile "$LINENO"; then :
56284 glibcxx_cv_func__isnanl_use=yes
56285 else
56286 glibcxx_cv_func__isnanl_use=no
56287 fi
56288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56289 ac_ext=c
56290 ac_cpp='$CPP $CPPFLAGS'
56291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56294
56295
56296 fi
56297
56298 fi
56299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56300 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56301
56302 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56303 for ac_func in _isnanl
56304 do :
56305 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56306 if test "x$ac_cv_func__isnanl" = x""yes; then :
56307 cat >>confdefs.h <<_ACEOF
56308 #define HAVE__ISNANL 1
56309 _ACEOF
56310
56311 fi
56312 done
56313
56314 fi
56315 fi
56316
56317
56318
56319
56320
56321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56322 $as_echo_n "checking for isinfl declaration... " >&6; }
56323 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56324 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56325 $as_echo_n "(cached) " >&6
56326 else
56327
56328
56329 ac_ext=cpp
56330 ac_cpp='$CXXCPP $CPPFLAGS'
56331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56334
56335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56336 /* end confdefs.h. */
56337 #include <math.h>
56338 #ifdef HAVE_IEEEFP_H
56339 #include <ieeefp.h>
56340 #endif
56341
56342 int
56343 main ()
56344 {
56345 isinfl(0);
56346 ;
56347 return 0;
56348 }
56349 _ACEOF
56350 if ac_fn_cxx_try_compile "$LINENO"; then :
56351 glibcxx_cv_func_isinfl_use=yes
56352 else
56353 glibcxx_cv_func_isinfl_use=no
56354 fi
56355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56356 ac_ext=c
56357 ac_cpp='$CPP $CPPFLAGS'
56358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56361
56362
56363 fi
56364
56365 fi
56366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56367 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56368
56369 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56370 for ac_func in isinfl
56371 do :
56372 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56373 if test "x$ac_cv_func_isinfl" = x""yes; then :
56374 cat >>confdefs.h <<_ACEOF
56375 #define HAVE_ISINFL 1
56376 _ACEOF
56377
56378 fi
56379 done
56380
56381 else
56382
56383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56384 $as_echo_n "checking for _isinfl declaration... " >&6; }
56385 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56386 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56387 $as_echo_n "(cached) " >&6
56388 else
56389
56390
56391 ac_ext=cpp
56392 ac_cpp='$CXXCPP $CPPFLAGS'
56393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56396
56397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56398 /* end confdefs.h. */
56399 #include <math.h>
56400 #ifdef HAVE_IEEEFP_H
56401 #include <ieeefp.h>
56402 #endif
56403
56404 int
56405 main ()
56406 {
56407 _isinfl(0);
56408 ;
56409 return 0;
56410 }
56411 _ACEOF
56412 if ac_fn_cxx_try_compile "$LINENO"; then :
56413 glibcxx_cv_func__isinfl_use=yes
56414 else
56415 glibcxx_cv_func__isinfl_use=no
56416 fi
56417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56418 ac_ext=c
56419 ac_cpp='$CPP $CPPFLAGS'
56420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56423
56424
56425 fi
56426
56427 fi
56428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56429 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56430
56431 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56432 for ac_func in _isinfl
56433 do :
56434 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56435 if test "x$ac_cv_func__isinfl" = x""yes; then :
56436 cat >>confdefs.h <<_ACEOF
56437 #define HAVE__ISINFL 1
56438 _ACEOF
56439
56440 fi
56441 done
56442
56443 fi
56444 fi
56445
56446
56447
56448
56449
56450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56451 $as_echo_n "checking for atan2l declaration... " >&6; }
56452 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56453 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56454 $as_echo_n "(cached) " >&6
56455 else
56456
56457
56458 ac_ext=cpp
56459 ac_cpp='$CXXCPP $CPPFLAGS'
56460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56463
56464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56465 /* end confdefs.h. */
56466 #include <math.h>
56467 int
56468 main ()
56469 {
56470 atan2l(0, 0);
56471 ;
56472 return 0;
56473 }
56474 _ACEOF
56475 if ac_fn_cxx_try_compile "$LINENO"; then :
56476 glibcxx_cv_func_atan2l_use=yes
56477 else
56478 glibcxx_cv_func_atan2l_use=no
56479 fi
56480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56481 ac_ext=c
56482 ac_cpp='$CPP $CPPFLAGS'
56483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56486
56487
56488 fi
56489
56490 fi
56491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56492 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56493
56494 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56495 for ac_func in atan2l
56496 do :
56497 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56498 if test "x$ac_cv_func_atan2l" = x""yes; then :
56499 cat >>confdefs.h <<_ACEOF
56500 #define HAVE_ATAN2L 1
56501 _ACEOF
56502
56503 fi
56504 done
56505
56506 else
56507
56508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56509 $as_echo_n "checking for _atan2l declaration... " >&6; }
56510 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56511 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56512 $as_echo_n "(cached) " >&6
56513 else
56514
56515
56516 ac_ext=cpp
56517 ac_cpp='$CXXCPP $CPPFLAGS'
56518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56521
56522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56523 /* end confdefs.h. */
56524 #include <math.h>
56525 int
56526 main ()
56527 {
56528 _atan2l(0, 0);
56529 ;
56530 return 0;
56531 }
56532 _ACEOF
56533 if ac_fn_cxx_try_compile "$LINENO"; then :
56534 glibcxx_cv_func__atan2l_use=yes
56535 else
56536 glibcxx_cv_func__atan2l_use=no
56537 fi
56538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56539 ac_ext=c
56540 ac_cpp='$CPP $CPPFLAGS'
56541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56544
56545
56546 fi
56547
56548 fi
56549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56550 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56551
56552 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56553 for ac_func in _atan2l
56554 do :
56555 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56556 if test "x$ac_cv_func__atan2l" = x""yes; then :
56557 cat >>confdefs.h <<_ACEOF
56558 #define HAVE__ATAN2L 1
56559 _ACEOF
56560
56561 fi
56562 done
56563
56564 fi
56565 fi
56566
56567
56568
56569
56570
56571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56572 $as_echo_n "checking for expl declaration... " >&6; }
56573 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56574 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56575 $as_echo_n "(cached) " >&6
56576 else
56577
56578
56579 ac_ext=cpp
56580 ac_cpp='$CXXCPP $CPPFLAGS'
56581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56584
56585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56586 /* end confdefs.h. */
56587 #include <math.h>
56588 #ifdef HAVE_IEEEFP_H
56589 #include <ieeefp.h>
56590 #endif
56591
56592 int
56593 main ()
56594 {
56595 expl(0);
56596 ;
56597 return 0;
56598 }
56599 _ACEOF
56600 if ac_fn_cxx_try_compile "$LINENO"; then :
56601 glibcxx_cv_func_expl_use=yes
56602 else
56603 glibcxx_cv_func_expl_use=no
56604 fi
56605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56606 ac_ext=c
56607 ac_cpp='$CPP $CPPFLAGS'
56608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56611
56612
56613 fi
56614
56615 fi
56616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56617 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56618
56619 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56620 for ac_func in expl
56621 do :
56622 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56623 if test "x$ac_cv_func_expl" = x""yes; then :
56624 cat >>confdefs.h <<_ACEOF
56625 #define HAVE_EXPL 1
56626 _ACEOF
56627
56628 fi
56629 done
56630
56631 else
56632
56633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56634 $as_echo_n "checking for _expl declaration... " >&6; }
56635 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56636 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56637 $as_echo_n "(cached) " >&6
56638 else
56639
56640
56641 ac_ext=cpp
56642 ac_cpp='$CXXCPP $CPPFLAGS'
56643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56646
56647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56648 /* end confdefs.h. */
56649 #include <math.h>
56650 #ifdef HAVE_IEEEFP_H
56651 #include <ieeefp.h>
56652 #endif
56653
56654 int
56655 main ()
56656 {
56657 _expl(0);
56658 ;
56659 return 0;
56660 }
56661 _ACEOF
56662 if ac_fn_cxx_try_compile "$LINENO"; then :
56663 glibcxx_cv_func__expl_use=yes
56664 else
56665 glibcxx_cv_func__expl_use=no
56666 fi
56667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56668 ac_ext=c
56669 ac_cpp='$CPP $CPPFLAGS'
56670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56673
56674
56675 fi
56676
56677 fi
56678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56679 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56680
56681 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56682 for ac_func in _expl
56683 do :
56684 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56685 if test "x$ac_cv_func__expl" = x""yes; then :
56686 cat >>confdefs.h <<_ACEOF
56687 #define HAVE__EXPL 1
56688 _ACEOF
56689
56690 fi
56691 done
56692
56693 fi
56694 fi
56695
56696
56697
56698
56699
56700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56701 $as_echo_n "checking for fabsl declaration... " >&6; }
56702 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56703 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56704 $as_echo_n "(cached) " >&6
56705 else
56706
56707
56708 ac_ext=cpp
56709 ac_cpp='$CXXCPP $CPPFLAGS'
56710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56713
56714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56715 /* end confdefs.h. */
56716 #include <math.h>
56717 #ifdef HAVE_IEEEFP_H
56718 #include <ieeefp.h>
56719 #endif
56720
56721 int
56722 main ()
56723 {
56724 fabsl(0);
56725 ;
56726 return 0;
56727 }
56728 _ACEOF
56729 if ac_fn_cxx_try_compile "$LINENO"; then :
56730 glibcxx_cv_func_fabsl_use=yes
56731 else
56732 glibcxx_cv_func_fabsl_use=no
56733 fi
56734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56735 ac_ext=c
56736 ac_cpp='$CPP $CPPFLAGS'
56737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56740
56741
56742 fi
56743
56744 fi
56745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56746 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56747
56748 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56749 for ac_func in fabsl
56750 do :
56751 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56752 if test "x$ac_cv_func_fabsl" = x""yes; then :
56753 cat >>confdefs.h <<_ACEOF
56754 #define HAVE_FABSL 1
56755 _ACEOF
56756
56757 fi
56758 done
56759
56760 else
56761
56762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56763 $as_echo_n "checking for _fabsl declaration... " >&6; }
56764 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56765 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56766 $as_echo_n "(cached) " >&6
56767 else
56768
56769
56770 ac_ext=cpp
56771 ac_cpp='$CXXCPP $CPPFLAGS'
56772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56775
56776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56777 /* end confdefs.h. */
56778 #include <math.h>
56779 #ifdef HAVE_IEEEFP_H
56780 #include <ieeefp.h>
56781 #endif
56782
56783 int
56784 main ()
56785 {
56786 _fabsl(0);
56787 ;
56788 return 0;
56789 }
56790 _ACEOF
56791 if ac_fn_cxx_try_compile "$LINENO"; then :
56792 glibcxx_cv_func__fabsl_use=yes
56793 else
56794 glibcxx_cv_func__fabsl_use=no
56795 fi
56796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56797 ac_ext=c
56798 ac_cpp='$CPP $CPPFLAGS'
56799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56802
56803
56804 fi
56805
56806 fi
56807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56808 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56809
56810 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56811 for ac_func in _fabsl
56812 do :
56813 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56814 if test "x$ac_cv_func__fabsl" = x""yes; then :
56815 cat >>confdefs.h <<_ACEOF
56816 #define HAVE__FABSL 1
56817 _ACEOF
56818
56819 fi
56820 done
56821
56822 fi
56823 fi
56824
56825
56826
56827
56828
56829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56830 $as_echo_n "checking for fmodl declaration... " >&6; }
56831 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56832 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56833 $as_echo_n "(cached) " >&6
56834 else
56835
56836
56837 ac_ext=cpp
56838 ac_cpp='$CXXCPP $CPPFLAGS'
56839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56842
56843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56844 /* end confdefs.h. */
56845 #include <math.h>
56846 int
56847 main ()
56848 {
56849 fmodl(0, 0);
56850 ;
56851 return 0;
56852 }
56853 _ACEOF
56854 if ac_fn_cxx_try_compile "$LINENO"; then :
56855 glibcxx_cv_func_fmodl_use=yes
56856 else
56857 glibcxx_cv_func_fmodl_use=no
56858 fi
56859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56860 ac_ext=c
56861 ac_cpp='$CPP $CPPFLAGS'
56862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56865
56866
56867 fi
56868
56869 fi
56870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56871 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56872
56873 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56874 for ac_func in fmodl
56875 do :
56876 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56877 if test "x$ac_cv_func_fmodl" = x""yes; then :
56878 cat >>confdefs.h <<_ACEOF
56879 #define HAVE_FMODL 1
56880 _ACEOF
56881
56882 fi
56883 done
56884
56885 else
56886
56887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56888 $as_echo_n "checking for _fmodl declaration... " >&6; }
56889 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56890 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56891 $as_echo_n "(cached) " >&6
56892 else
56893
56894
56895 ac_ext=cpp
56896 ac_cpp='$CXXCPP $CPPFLAGS'
56897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56900
56901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56902 /* end confdefs.h. */
56903 #include <math.h>
56904 int
56905 main ()
56906 {
56907 _fmodl(0, 0);
56908 ;
56909 return 0;
56910 }
56911 _ACEOF
56912 if ac_fn_cxx_try_compile "$LINENO"; then :
56913 glibcxx_cv_func__fmodl_use=yes
56914 else
56915 glibcxx_cv_func__fmodl_use=no
56916 fi
56917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56918 ac_ext=c
56919 ac_cpp='$CPP $CPPFLAGS'
56920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56923
56924
56925 fi
56926
56927 fi
56928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56929 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56930
56931 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56932 for ac_func in _fmodl
56933 do :
56934 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56935 if test "x$ac_cv_func__fmodl" = x""yes; then :
56936 cat >>confdefs.h <<_ACEOF
56937 #define HAVE__FMODL 1
56938 _ACEOF
56939
56940 fi
56941 done
56942
56943 fi
56944 fi
56945
56946
56947
56948
56949
56950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56951 $as_echo_n "checking for frexpl declaration... " >&6; }
56952 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56953 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56954 $as_echo_n "(cached) " >&6
56955 else
56956
56957
56958 ac_ext=cpp
56959 ac_cpp='$CXXCPP $CPPFLAGS'
56960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56963
56964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56965 /* end confdefs.h. */
56966 #include <math.h>
56967 int
56968 main ()
56969 {
56970 frexpl(0, 0);
56971 ;
56972 return 0;
56973 }
56974 _ACEOF
56975 if ac_fn_cxx_try_compile "$LINENO"; then :
56976 glibcxx_cv_func_frexpl_use=yes
56977 else
56978 glibcxx_cv_func_frexpl_use=no
56979 fi
56980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56981 ac_ext=c
56982 ac_cpp='$CPP $CPPFLAGS'
56983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56986
56987
56988 fi
56989
56990 fi
56991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56992 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56993
56994 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56995 for ac_func in frexpl
56996 do :
56997 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56998 if test "x$ac_cv_func_frexpl" = x""yes; then :
56999 cat >>confdefs.h <<_ACEOF
57000 #define HAVE_FREXPL 1
57001 _ACEOF
57002
57003 fi
57004 done
57005
57006 else
57007
57008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57009 $as_echo_n "checking for _frexpl declaration... " >&6; }
57010 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57011 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57012 $as_echo_n "(cached) " >&6
57013 else
57014
57015
57016 ac_ext=cpp
57017 ac_cpp='$CXXCPP $CPPFLAGS'
57018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57021
57022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57023 /* end confdefs.h. */
57024 #include <math.h>
57025 int
57026 main ()
57027 {
57028 _frexpl(0, 0);
57029 ;
57030 return 0;
57031 }
57032 _ACEOF
57033 if ac_fn_cxx_try_compile "$LINENO"; then :
57034 glibcxx_cv_func__frexpl_use=yes
57035 else
57036 glibcxx_cv_func__frexpl_use=no
57037 fi
57038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57039 ac_ext=c
57040 ac_cpp='$CPP $CPPFLAGS'
57041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57044
57045
57046 fi
57047
57048 fi
57049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57050 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57051
57052 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57053 for ac_func in _frexpl
57054 do :
57055 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57056 if test "x$ac_cv_func__frexpl" = x""yes; then :
57057 cat >>confdefs.h <<_ACEOF
57058 #define HAVE__FREXPL 1
57059 _ACEOF
57060
57061 fi
57062 done
57063
57064 fi
57065 fi
57066
57067
57068
57069
57070
57071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57072 $as_echo_n "checking for hypotl declaration... " >&6; }
57073 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57074 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57075 $as_echo_n "(cached) " >&6
57076 else
57077
57078
57079 ac_ext=cpp
57080 ac_cpp='$CXXCPP $CPPFLAGS'
57081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57084
57085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57086 /* end confdefs.h. */
57087 #include <math.h>
57088 int
57089 main ()
57090 {
57091 hypotl(0, 0);
57092 ;
57093 return 0;
57094 }
57095 _ACEOF
57096 if ac_fn_cxx_try_compile "$LINENO"; then :
57097 glibcxx_cv_func_hypotl_use=yes
57098 else
57099 glibcxx_cv_func_hypotl_use=no
57100 fi
57101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57102 ac_ext=c
57103 ac_cpp='$CPP $CPPFLAGS'
57104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57107
57108
57109 fi
57110
57111 fi
57112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57113 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57114
57115 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57116 for ac_func in hypotl
57117 do :
57118 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57119 if test "x$ac_cv_func_hypotl" = x""yes; then :
57120 cat >>confdefs.h <<_ACEOF
57121 #define HAVE_HYPOTL 1
57122 _ACEOF
57123
57124 fi
57125 done
57126
57127 else
57128
57129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57130 $as_echo_n "checking for _hypotl declaration... " >&6; }
57131 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57132 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57133 $as_echo_n "(cached) " >&6
57134 else
57135
57136
57137 ac_ext=cpp
57138 ac_cpp='$CXXCPP $CPPFLAGS'
57139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57142
57143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57144 /* end confdefs.h. */
57145 #include <math.h>
57146 int
57147 main ()
57148 {
57149 _hypotl(0, 0);
57150 ;
57151 return 0;
57152 }
57153 _ACEOF
57154 if ac_fn_cxx_try_compile "$LINENO"; then :
57155 glibcxx_cv_func__hypotl_use=yes
57156 else
57157 glibcxx_cv_func__hypotl_use=no
57158 fi
57159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57160 ac_ext=c
57161 ac_cpp='$CPP $CPPFLAGS'
57162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57165
57166
57167 fi
57168
57169 fi
57170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57171 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57172
57173 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57174 for ac_func in _hypotl
57175 do :
57176 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57177 if test "x$ac_cv_func__hypotl" = x""yes; then :
57178 cat >>confdefs.h <<_ACEOF
57179 #define HAVE__HYPOTL 1
57180 _ACEOF
57181
57182 fi
57183 done
57184
57185 fi
57186 fi
57187
57188
57189
57190
57191
57192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57193 $as_echo_n "checking for ldexpl declaration... " >&6; }
57194 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57195 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57196 $as_echo_n "(cached) " >&6
57197 else
57198
57199
57200 ac_ext=cpp
57201 ac_cpp='$CXXCPP $CPPFLAGS'
57202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57205
57206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57207 /* end confdefs.h. */
57208 #include <math.h>
57209 int
57210 main ()
57211 {
57212 ldexpl(0, 0);
57213 ;
57214 return 0;
57215 }
57216 _ACEOF
57217 if ac_fn_cxx_try_compile "$LINENO"; then :
57218 glibcxx_cv_func_ldexpl_use=yes
57219 else
57220 glibcxx_cv_func_ldexpl_use=no
57221 fi
57222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57223 ac_ext=c
57224 ac_cpp='$CPP $CPPFLAGS'
57225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57228
57229
57230 fi
57231
57232 fi
57233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57234 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57235
57236 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57237 for ac_func in ldexpl
57238 do :
57239 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57240 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57241 cat >>confdefs.h <<_ACEOF
57242 #define HAVE_LDEXPL 1
57243 _ACEOF
57244
57245 fi
57246 done
57247
57248 else
57249
57250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57251 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57252 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57253 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57254 $as_echo_n "(cached) " >&6
57255 else
57256
57257
57258 ac_ext=cpp
57259 ac_cpp='$CXXCPP $CPPFLAGS'
57260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57263
57264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57265 /* end confdefs.h. */
57266 #include <math.h>
57267 int
57268 main ()
57269 {
57270 _ldexpl(0, 0);
57271 ;
57272 return 0;
57273 }
57274 _ACEOF
57275 if ac_fn_cxx_try_compile "$LINENO"; then :
57276 glibcxx_cv_func__ldexpl_use=yes
57277 else
57278 glibcxx_cv_func__ldexpl_use=no
57279 fi
57280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57281 ac_ext=c
57282 ac_cpp='$CPP $CPPFLAGS'
57283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57286
57287
57288 fi
57289
57290 fi
57291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57292 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57293
57294 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57295 for ac_func in _ldexpl
57296 do :
57297 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57298 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57299 cat >>confdefs.h <<_ACEOF
57300 #define HAVE__LDEXPL 1
57301 _ACEOF
57302
57303 fi
57304 done
57305
57306 fi
57307 fi
57308
57309
57310
57311
57312
57313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57314 $as_echo_n "checking for logl declaration... " >&6; }
57315 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57316 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57317 $as_echo_n "(cached) " >&6
57318 else
57319
57320
57321 ac_ext=cpp
57322 ac_cpp='$CXXCPP $CPPFLAGS'
57323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57326
57327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57328 /* end confdefs.h. */
57329 #include <math.h>
57330 #ifdef HAVE_IEEEFP_H
57331 #include <ieeefp.h>
57332 #endif
57333
57334 int
57335 main ()
57336 {
57337 logl(0);
57338 ;
57339 return 0;
57340 }
57341 _ACEOF
57342 if ac_fn_cxx_try_compile "$LINENO"; then :
57343 glibcxx_cv_func_logl_use=yes
57344 else
57345 glibcxx_cv_func_logl_use=no
57346 fi
57347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57348 ac_ext=c
57349 ac_cpp='$CPP $CPPFLAGS'
57350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57353
57354
57355 fi
57356
57357 fi
57358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57359 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57360
57361 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57362 for ac_func in logl
57363 do :
57364 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57365 if test "x$ac_cv_func_logl" = x""yes; then :
57366 cat >>confdefs.h <<_ACEOF
57367 #define HAVE_LOGL 1
57368 _ACEOF
57369
57370 fi
57371 done
57372
57373 else
57374
57375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57376 $as_echo_n "checking for _logl declaration... " >&6; }
57377 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57378 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57379 $as_echo_n "(cached) " >&6
57380 else
57381
57382
57383 ac_ext=cpp
57384 ac_cpp='$CXXCPP $CPPFLAGS'
57385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57388
57389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57390 /* end confdefs.h. */
57391 #include <math.h>
57392 #ifdef HAVE_IEEEFP_H
57393 #include <ieeefp.h>
57394 #endif
57395
57396 int
57397 main ()
57398 {
57399 _logl(0);
57400 ;
57401 return 0;
57402 }
57403 _ACEOF
57404 if ac_fn_cxx_try_compile "$LINENO"; then :
57405 glibcxx_cv_func__logl_use=yes
57406 else
57407 glibcxx_cv_func__logl_use=no
57408 fi
57409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57410 ac_ext=c
57411 ac_cpp='$CPP $CPPFLAGS'
57412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57415
57416
57417 fi
57418
57419 fi
57420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57421 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57422
57423 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57424 for ac_func in _logl
57425 do :
57426 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57427 if test "x$ac_cv_func__logl" = x""yes; then :
57428 cat >>confdefs.h <<_ACEOF
57429 #define HAVE__LOGL 1
57430 _ACEOF
57431
57432 fi
57433 done
57434
57435 fi
57436 fi
57437
57438
57439
57440
57441
57442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57443 $as_echo_n "checking for log10l declaration... " >&6; }
57444 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57445 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57446 $as_echo_n "(cached) " >&6
57447 else
57448
57449
57450 ac_ext=cpp
57451 ac_cpp='$CXXCPP $CPPFLAGS'
57452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57455
57456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57457 /* end confdefs.h. */
57458 #include <math.h>
57459 #ifdef HAVE_IEEEFP_H
57460 #include <ieeefp.h>
57461 #endif
57462
57463 int
57464 main ()
57465 {
57466 log10l(0);
57467 ;
57468 return 0;
57469 }
57470 _ACEOF
57471 if ac_fn_cxx_try_compile "$LINENO"; then :
57472 glibcxx_cv_func_log10l_use=yes
57473 else
57474 glibcxx_cv_func_log10l_use=no
57475 fi
57476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57477 ac_ext=c
57478 ac_cpp='$CPP $CPPFLAGS'
57479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57482
57483
57484 fi
57485
57486 fi
57487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57488 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57489
57490 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57491 for ac_func in log10l
57492 do :
57493 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57494 if test "x$ac_cv_func_log10l" = x""yes; then :
57495 cat >>confdefs.h <<_ACEOF
57496 #define HAVE_LOG10L 1
57497 _ACEOF
57498
57499 fi
57500 done
57501
57502 else
57503
57504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57505 $as_echo_n "checking for _log10l declaration... " >&6; }
57506 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57507 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57508 $as_echo_n "(cached) " >&6
57509 else
57510
57511
57512 ac_ext=cpp
57513 ac_cpp='$CXXCPP $CPPFLAGS'
57514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57517
57518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57519 /* end confdefs.h. */
57520 #include <math.h>
57521 #ifdef HAVE_IEEEFP_H
57522 #include <ieeefp.h>
57523 #endif
57524
57525 int
57526 main ()
57527 {
57528 _log10l(0);
57529 ;
57530 return 0;
57531 }
57532 _ACEOF
57533 if ac_fn_cxx_try_compile "$LINENO"; then :
57534 glibcxx_cv_func__log10l_use=yes
57535 else
57536 glibcxx_cv_func__log10l_use=no
57537 fi
57538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57539 ac_ext=c
57540 ac_cpp='$CPP $CPPFLAGS'
57541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57544
57545
57546 fi
57547
57548 fi
57549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57550 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57551
57552 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57553 for ac_func in _log10l
57554 do :
57555 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57556 if test "x$ac_cv_func__log10l" = x""yes; then :
57557 cat >>confdefs.h <<_ACEOF
57558 #define HAVE__LOG10L 1
57559 _ACEOF
57560
57561 fi
57562 done
57563
57564 fi
57565 fi
57566
57567
57568
57569
57570
57571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57572 $as_echo_n "checking for modfl declaration... " >&6; }
57573 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57574 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57575 $as_echo_n "(cached) " >&6
57576 else
57577
57578
57579 ac_ext=cpp
57580 ac_cpp='$CXXCPP $CPPFLAGS'
57581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57584
57585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57586 /* end confdefs.h. */
57587 #include <math.h>
57588 int
57589 main ()
57590 {
57591 modfl(0, 0);
57592 ;
57593 return 0;
57594 }
57595 _ACEOF
57596 if ac_fn_cxx_try_compile "$LINENO"; then :
57597 glibcxx_cv_func_modfl_use=yes
57598 else
57599 glibcxx_cv_func_modfl_use=no
57600 fi
57601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57602 ac_ext=c
57603 ac_cpp='$CPP $CPPFLAGS'
57604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57607
57608
57609 fi
57610
57611 fi
57612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57613 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57614
57615 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57616 for ac_func in modfl
57617 do :
57618 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57619 if test "x$ac_cv_func_modfl" = x""yes; then :
57620 cat >>confdefs.h <<_ACEOF
57621 #define HAVE_MODFL 1
57622 _ACEOF
57623
57624 fi
57625 done
57626
57627 else
57628
57629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57630 $as_echo_n "checking for _modfl declaration... " >&6; }
57631 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57632 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57633 $as_echo_n "(cached) " >&6
57634 else
57635
57636
57637 ac_ext=cpp
57638 ac_cpp='$CXXCPP $CPPFLAGS'
57639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57642
57643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57644 /* end confdefs.h. */
57645 #include <math.h>
57646 int
57647 main ()
57648 {
57649 _modfl(0, 0);
57650 ;
57651 return 0;
57652 }
57653 _ACEOF
57654 if ac_fn_cxx_try_compile "$LINENO"; then :
57655 glibcxx_cv_func__modfl_use=yes
57656 else
57657 glibcxx_cv_func__modfl_use=no
57658 fi
57659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57660 ac_ext=c
57661 ac_cpp='$CPP $CPPFLAGS'
57662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57665
57666
57667 fi
57668
57669 fi
57670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57671 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57672
57673 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57674 for ac_func in _modfl
57675 do :
57676 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57677 if test "x$ac_cv_func__modfl" = x""yes; then :
57678 cat >>confdefs.h <<_ACEOF
57679 #define HAVE__MODFL 1
57680 _ACEOF
57681
57682 fi
57683 done
57684
57685 fi
57686 fi
57687
57688
57689
57690
57691
57692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57693 $as_echo_n "checking for powl declaration... " >&6; }
57694 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57695 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57696 $as_echo_n "(cached) " >&6
57697 else
57698
57699
57700 ac_ext=cpp
57701 ac_cpp='$CXXCPP $CPPFLAGS'
57702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57705
57706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57707 /* end confdefs.h. */
57708 #include <math.h>
57709 int
57710 main ()
57711 {
57712 powl(0, 0);
57713 ;
57714 return 0;
57715 }
57716 _ACEOF
57717 if ac_fn_cxx_try_compile "$LINENO"; then :
57718 glibcxx_cv_func_powl_use=yes
57719 else
57720 glibcxx_cv_func_powl_use=no
57721 fi
57722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57723 ac_ext=c
57724 ac_cpp='$CPP $CPPFLAGS'
57725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57728
57729
57730 fi
57731
57732 fi
57733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57734 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57735
57736 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57737 for ac_func in powl
57738 do :
57739 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57740 if test "x$ac_cv_func_powl" = x""yes; then :
57741 cat >>confdefs.h <<_ACEOF
57742 #define HAVE_POWL 1
57743 _ACEOF
57744
57745 fi
57746 done
57747
57748 else
57749
57750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57751 $as_echo_n "checking for _powl declaration... " >&6; }
57752 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57753 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57754 $as_echo_n "(cached) " >&6
57755 else
57756
57757
57758 ac_ext=cpp
57759 ac_cpp='$CXXCPP $CPPFLAGS'
57760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57763
57764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57765 /* end confdefs.h. */
57766 #include <math.h>
57767 int
57768 main ()
57769 {
57770 _powl(0, 0);
57771 ;
57772 return 0;
57773 }
57774 _ACEOF
57775 if ac_fn_cxx_try_compile "$LINENO"; then :
57776 glibcxx_cv_func__powl_use=yes
57777 else
57778 glibcxx_cv_func__powl_use=no
57779 fi
57780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57781 ac_ext=c
57782 ac_cpp='$CPP $CPPFLAGS'
57783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57786
57787
57788 fi
57789
57790 fi
57791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57792 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57793
57794 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57795 for ac_func in _powl
57796 do :
57797 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57798 if test "x$ac_cv_func__powl" = x""yes; then :
57799 cat >>confdefs.h <<_ACEOF
57800 #define HAVE__POWL 1
57801 _ACEOF
57802
57803 fi
57804 done
57805
57806 fi
57807 fi
57808
57809
57810
57811
57812
57813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57814 $as_echo_n "checking for sqrtl declaration... " >&6; }
57815 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57816 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57817 $as_echo_n "(cached) " >&6
57818 else
57819
57820
57821 ac_ext=cpp
57822 ac_cpp='$CXXCPP $CPPFLAGS'
57823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57826
57827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57828 /* end confdefs.h. */
57829 #include <math.h>
57830 #ifdef HAVE_IEEEFP_H
57831 #include <ieeefp.h>
57832 #endif
57833
57834 int
57835 main ()
57836 {
57837 sqrtl(0);
57838 ;
57839 return 0;
57840 }
57841 _ACEOF
57842 if ac_fn_cxx_try_compile "$LINENO"; then :
57843 glibcxx_cv_func_sqrtl_use=yes
57844 else
57845 glibcxx_cv_func_sqrtl_use=no
57846 fi
57847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57848 ac_ext=c
57849 ac_cpp='$CPP $CPPFLAGS'
57850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57853
57854
57855 fi
57856
57857 fi
57858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57859 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57860
57861 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57862 for ac_func in sqrtl
57863 do :
57864 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57865 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57866 cat >>confdefs.h <<_ACEOF
57867 #define HAVE_SQRTL 1
57868 _ACEOF
57869
57870 fi
57871 done
57872
57873 else
57874
57875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57876 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57877 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57878 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57879 $as_echo_n "(cached) " >&6
57880 else
57881
57882
57883 ac_ext=cpp
57884 ac_cpp='$CXXCPP $CPPFLAGS'
57885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57888
57889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57890 /* end confdefs.h. */
57891 #include <math.h>
57892 #ifdef HAVE_IEEEFP_H
57893 #include <ieeefp.h>
57894 #endif
57895
57896 int
57897 main ()
57898 {
57899 _sqrtl(0);
57900 ;
57901 return 0;
57902 }
57903 _ACEOF
57904 if ac_fn_cxx_try_compile "$LINENO"; then :
57905 glibcxx_cv_func__sqrtl_use=yes
57906 else
57907 glibcxx_cv_func__sqrtl_use=no
57908 fi
57909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57910 ac_ext=c
57911 ac_cpp='$CPP $CPPFLAGS'
57912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57915
57916
57917 fi
57918
57919 fi
57920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57921 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57922
57923 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57924 for ac_func in _sqrtl
57925 do :
57926 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57927 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57928 cat >>confdefs.h <<_ACEOF
57929 #define HAVE__SQRTL 1
57930 _ACEOF
57931
57932 fi
57933 done
57934
57935 fi
57936 fi
57937
57938
57939
57940
57941
57942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57943 $as_echo_n "checking for sincosl declaration... " >&6; }
57944 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57945 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57946 $as_echo_n "(cached) " >&6
57947 else
57948
57949
57950 ac_ext=cpp
57951 ac_cpp='$CXXCPP $CPPFLAGS'
57952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57955
57956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57957 /* end confdefs.h. */
57958 #include <math.h>
57959 int
57960 main ()
57961 {
57962 sincosl(0, 0, 0);
57963 ;
57964 return 0;
57965 }
57966 _ACEOF
57967 if ac_fn_cxx_try_compile "$LINENO"; then :
57968 glibcxx_cv_func_sincosl_use=yes
57969 else
57970 glibcxx_cv_func_sincosl_use=no
57971 fi
57972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57973 ac_ext=c
57974 ac_cpp='$CPP $CPPFLAGS'
57975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57978
57979
57980 fi
57981
57982 fi
57983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57984 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57985
57986 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57987 for ac_func in sincosl
57988 do :
57989 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57990 if test "x$ac_cv_func_sincosl" = x""yes; then :
57991 cat >>confdefs.h <<_ACEOF
57992 #define HAVE_SINCOSL 1
57993 _ACEOF
57994
57995 fi
57996 done
57997
57998 else
57999
58000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58001 $as_echo_n "checking for _sincosl declaration... " >&6; }
58002 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58003 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58004 $as_echo_n "(cached) " >&6
58005 else
58006
58007
58008 ac_ext=cpp
58009 ac_cpp='$CXXCPP $CPPFLAGS'
58010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58013
58014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58015 /* end confdefs.h. */
58016 #include <math.h>
58017 int
58018 main ()
58019 {
58020 _sincosl(0, 0, 0);
58021 ;
58022 return 0;
58023 }
58024 _ACEOF
58025 if ac_fn_cxx_try_compile "$LINENO"; then :
58026 glibcxx_cv_func__sincosl_use=yes
58027 else
58028 glibcxx_cv_func__sincosl_use=no
58029 fi
58030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58031 ac_ext=c
58032 ac_cpp='$CPP $CPPFLAGS'
58033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58036
58037
58038 fi
58039
58040 fi
58041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58042 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58043
58044 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58045 for ac_func in _sincosl
58046 do :
58047 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58048 if test "x$ac_cv_func__sincosl" = x""yes; then :
58049 cat >>confdefs.h <<_ACEOF
58050 #define HAVE__SINCOSL 1
58051 _ACEOF
58052
58053 fi
58054 done
58055
58056 fi
58057 fi
58058
58059
58060
58061
58062
58063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58064 $as_echo_n "checking for finitel declaration... " >&6; }
58065 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58066 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58067 $as_echo_n "(cached) " >&6
58068 else
58069
58070
58071 ac_ext=cpp
58072 ac_cpp='$CXXCPP $CPPFLAGS'
58073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58076
58077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58078 /* end confdefs.h. */
58079 #include <math.h>
58080 #ifdef HAVE_IEEEFP_H
58081 #include <ieeefp.h>
58082 #endif
58083
58084 int
58085 main ()
58086 {
58087 finitel(0);
58088 ;
58089 return 0;
58090 }
58091 _ACEOF
58092 if ac_fn_cxx_try_compile "$LINENO"; then :
58093 glibcxx_cv_func_finitel_use=yes
58094 else
58095 glibcxx_cv_func_finitel_use=no
58096 fi
58097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58098 ac_ext=c
58099 ac_cpp='$CPP $CPPFLAGS'
58100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58103
58104
58105 fi
58106
58107 fi
58108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58109 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58110
58111 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58112 for ac_func in finitel
58113 do :
58114 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58115 if test "x$ac_cv_func_finitel" = x""yes; then :
58116 cat >>confdefs.h <<_ACEOF
58117 #define HAVE_FINITEL 1
58118 _ACEOF
58119
58120 fi
58121 done
58122
58123 else
58124
58125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58126 $as_echo_n "checking for _finitel declaration... " >&6; }
58127 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58128 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58129 $as_echo_n "(cached) " >&6
58130 else
58131
58132
58133 ac_ext=cpp
58134 ac_cpp='$CXXCPP $CPPFLAGS'
58135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58138
58139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58140 /* end confdefs.h. */
58141 #include <math.h>
58142 #ifdef HAVE_IEEEFP_H
58143 #include <ieeefp.h>
58144 #endif
58145
58146 int
58147 main ()
58148 {
58149 _finitel(0);
58150 ;
58151 return 0;
58152 }
58153 _ACEOF
58154 if ac_fn_cxx_try_compile "$LINENO"; then :
58155 glibcxx_cv_func__finitel_use=yes
58156 else
58157 glibcxx_cv_func__finitel_use=no
58158 fi
58159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58160 ac_ext=c
58161 ac_cpp='$CPP $CPPFLAGS'
58162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58165
58166
58167 fi
58168
58169 fi
58170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58171 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58172
58173 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58174 for ac_func in _finitel
58175 do :
58176 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58177 if test "x$ac_cv_func__finitel" = x""yes; then :
58178 cat >>confdefs.h <<_ACEOF
58179 #define HAVE__FINITEL 1
58180 _ACEOF
58181
58182 fi
58183 done
58184
58185 fi
58186 fi
58187
58188
58189
58190
58191 LIBS="$ac_save_LIBS"
58192 CXXFLAGS="$ac_save_CXXFLAGS"
58193
58194
58195 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58196 ac_save_CXXFLAGS="$CXXFLAGS"
58197 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58198
58199
58200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58201 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58202 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58203 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58204 $as_echo_n "(cached) " >&6
58205 else
58206
58207
58208 ac_ext=cpp
58209 ac_cpp='$CXXCPP $CPPFLAGS'
58210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58213
58214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58215 /* end confdefs.h. */
58216 #include <stdlib.h>
58217 int
58218 main ()
58219 {
58220 at_quick_exit(0);
58221 ;
58222 return 0;
58223 }
58224 _ACEOF
58225 if ac_fn_cxx_try_compile "$LINENO"; then :
58226 glibcxx_cv_func_at_quick_exit_use=yes
58227 else
58228 glibcxx_cv_func_at_quick_exit_use=no
58229 fi
58230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58231 ac_ext=c
58232 ac_cpp='$CPP $CPPFLAGS'
58233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58236
58237
58238 fi
58239
58240 fi
58241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58242 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58243 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58244 for ac_func in at_quick_exit
58245 do :
58246 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58247 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58248 cat >>confdefs.h <<_ACEOF
58249 #define HAVE_AT_QUICK_EXIT 1
58250 _ACEOF
58251
58252 fi
58253 done
58254
58255 fi
58256
58257
58258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58259 $as_echo_n "checking for quick_exit declaration... " >&6; }
58260 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58261 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58262 $as_echo_n "(cached) " >&6
58263 else
58264
58265
58266 ac_ext=cpp
58267 ac_cpp='$CXXCPP $CPPFLAGS'
58268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58271
58272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58273 /* end confdefs.h. */
58274 #include <stdlib.h>
58275 int
58276 main ()
58277 {
58278 quick_exit(0);
58279 ;
58280 return 0;
58281 }
58282 _ACEOF
58283 if ac_fn_cxx_try_compile "$LINENO"; then :
58284 glibcxx_cv_func_quick_exit_use=yes
58285 else
58286 glibcxx_cv_func_quick_exit_use=no
58287 fi
58288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58289 ac_ext=c
58290 ac_cpp='$CPP $CPPFLAGS'
58291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58294
58295
58296 fi
58297
58298 fi
58299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58300 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58301 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58302 for ac_func in quick_exit
58303 do :
58304 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58305 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58306 cat >>confdefs.h <<_ACEOF
58307 #define HAVE_QUICK_EXIT 1
58308 _ACEOF
58309
58310 fi
58311 done
58312
58313 fi
58314
58315
58316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58317 $as_echo_n "checking for strtold declaration... " >&6; }
58318 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58319 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58320 $as_echo_n "(cached) " >&6
58321 else
58322
58323
58324 ac_ext=cpp
58325 ac_cpp='$CXXCPP $CPPFLAGS'
58326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58329
58330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58331 /* end confdefs.h. */
58332 #include <stdlib.h>
58333 int
58334 main ()
58335 {
58336 strtold(0, 0);
58337 ;
58338 return 0;
58339 }
58340 _ACEOF
58341 if ac_fn_cxx_try_compile "$LINENO"; then :
58342 glibcxx_cv_func_strtold_use=yes
58343 else
58344 glibcxx_cv_func_strtold_use=no
58345 fi
58346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58347 ac_ext=c
58348 ac_cpp='$CPP $CPPFLAGS'
58349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58352
58353
58354 fi
58355
58356 fi
58357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58358 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58359 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58360 for ac_func in strtold
58361 do :
58362 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58363 if test "x$ac_cv_func_strtold" = x""yes; then :
58364 cat >>confdefs.h <<_ACEOF
58365 #define HAVE_STRTOLD 1
58366 _ACEOF
58367
58368 fi
58369 done
58370
58371 fi
58372
58373
58374
58375
58376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58377 $as_echo_n "checking for strtof declaration... " >&6; }
58378 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58379 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58380 $as_echo_n "(cached) " >&6
58381 else
58382
58383
58384 ac_ext=cpp
58385 ac_cpp='$CXXCPP $CPPFLAGS'
58386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58389
58390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58391 /* end confdefs.h. */
58392 #include <stdlib.h>
58393 int
58394 main ()
58395 {
58396 strtof(0, 0);
58397 ;
58398 return 0;
58399 }
58400 _ACEOF
58401 if ac_fn_cxx_try_compile "$LINENO"; then :
58402 glibcxx_cv_func_strtof_use=yes
58403 else
58404 glibcxx_cv_func_strtof_use=no
58405 fi
58406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58407 ac_ext=c
58408 ac_cpp='$CPP $CPPFLAGS'
58409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58412
58413
58414 fi
58415
58416 fi
58417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58418 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58419 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58420 for ac_func in strtof
58421 do :
58422 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58423 if test "x$ac_cv_func_strtof" = x""yes; then :
58424 cat >>confdefs.h <<_ACEOF
58425 #define HAVE_STRTOF 1
58426 _ACEOF
58427
58428 fi
58429 done
58430
58431 fi
58432
58433
58434
58435
58436 CXXFLAGS="$ac_save_CXXFLAGS"
58437
58438 ;;
58439 *-netbsd*)
58440 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58441
58442
58443 # If we're not using GNU ld, then there's no point in even trying these
58444 # tests. Check for that first. We should have already tested for gld
58445 # by now (in libtool), but require it now just to be safe...
58446 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58447 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58448
58449
58450
58451 # The name set by libtool depends on the version of libtool. Shame on us
58452 # for depending on an impl detail, but c'est la vie. Older versions used
58453 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58454 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58455 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58456 # set (hence we're using an older libtool), then set it.
58457 if test x${with_gnu_ld+set} != xset; then
58458 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58459 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58460 with_gnu_ld=no
58461 else
58462 with_gnu_ld=$ac_cv_prog_gnu_ld
58463 fi
58464 fi
58465
58466 # Start by getting the version number. I think the libtool test already
58467 # does some of this, but throws away the result.
58468 glibcxx_ld_is_gold=no
58469 if test x"$with_gnu_ld" = x"yes"; then
58470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58471 $as_echo_n "checking for ld version... " >&6; }
58472
58473 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58474 glibcxx_ld_is_gold=yes
58475 fi
58476 ldver=`$LD --version 2>/dev/null |
58477 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'`
58478
58479 glibcxx_gnu_ld_version=`echo $ldver | \
58480 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58482 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58483 fi
58484
58485 # Set --gc-sections.
58486 glibcxx_have_gc_sections=no
58487 if test "$glibcxx_ld_is_gold" = "yes"; then
58488 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58489 glibcxx_have_gc_sections=yes
58490 fi
58491 else
58492 glibcxx_gcsections_min_ld=21602
58493 if test x"$with_gnu_ld" = x"yes" &&
58494 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58495 glibcxx_have_gc_sections=yes
58496 fi
58497 fi
58498 if test "$glibcxx_have_gc_sections" = "yes"; then
58499 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58500 # NB: This flag only works reliably after 2.16.1. Configure tests
58501 # for this are difficult, so hard wire a value that should work.
58502
58503 ac_test_CFLAGS="${CFLAGS+set}"
58504 ac_save_CFLAGS="$CFLAGS"
58505 CFLAGS='-Wl,--gc-sections'
58506
58507 # Check for -Wl,--gc-sections
58508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58509 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58510 if test x$gcc_no_link = xyes; then
58511 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58512 fi
58513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58514 /* end confdefs.h. */
58515 int one(void) { return 1; }
58516 int two(void) { return 2; }
58517
58518 int
58519 main ()
58520 {
58521 two();
58522 ;
58523 return 0;
58524 }
58525 _ACEOF
58526 if ac_fn_c_try_link "$LINENO"; then :
58527 ac_gcsections=yes
58528 else
58529 ac_gcsections=no
58530 fi
58531 rm -f core conftest.err conftest.$ac_objext \
58532 conftest$ac_exeext conftest.$ac_ext
58533 if test "$ac_gcsections" = "yes"; then
58534 rm -f conftest.c
58535 touch conftest.c
58536 if $CC -c conftest.c; then
58537 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58538 grep "Warning: gc-sections option ignored" > /dev/null; then
58539 ac_gcsections=no
58540 fi
58541 fi
58542 rm -f conftest.c conftest.o conftest
58543 fi
58544 if test "$ac_gcsections" = "yes"; then
58545 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58546 fi
58547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58548 $as_echo "$ac_gcsections" >&6; }
58549
58550 if test "$ac_test_CFLAGS" = set; then
58551 CFLAGS="$ac_save_CFLAGS"
58552 else
58553 # this is the suspicious part
58554 CFLAGS=''
58555 fi
58556 fi
58557
58558 # Set -z,relro.
58559 # Note this is only for shared objects.
58560 ac_ld_relro=no
58561 if test x"$with_gnu_ld" = x"yes"; then
58562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58563 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58564 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58565 if test -n "$cxx_z_relo"; then
58566 OPT_LDFLAGS="-Wl,-z,relro"
58567 ac_ld_relro=yes
58568 fi
58569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58570 $as_echo "$ac_ld_relro" >&6; }
58571 fi
58572
58573 # Set linker optimization flags.
58574 if test x"$with_gnu_ld" = x"yes"; then
58575 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58576 fi
58577
58578
58579
58580
58581 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
58582
58583 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
58584
58585 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
58586
58587 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
58588
58589 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
58590
58591 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
58592
58593 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
58594
58595 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
58596
58597 if test x"long_double_math_on_this_cpu" = x"yes"; then
58598 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
58599
58600 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
58601
58602 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
58603
58604 fi
58605 ;;
58606 *-qnx6.1* | *-qnx6.2*)
58607 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58608
58609
58610 # If we're not using GNU ld, then there's no point in even trying these
58611 # tests. Check for that first. We should have already tested for gld
58612 # by now (in libtool), but require it now just to be safe...
58613 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58614 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58615
58616
58617
58618 # The name set by libtool depends on the version of libtool. Shame on us
58619 # for depending on an impl detail, but c'est la vie. Older versions used
58620 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58621 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58622 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58623 # set (hence we're using an older libtool), then set it.
58624 if test x${with_gnu_ld+set} != xset; then
58625 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58626 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58627 with_gnu_ld=no
58628 else
58629 with_gnu_ld=$ac_cv_prog_gnu_ld
58630 fi
58631 fi
58632
58633 # Start by getting the version number. I think the libtool test already
58634 # does some of this, but throws away the result.
58635 glibcxx_ld_is_gold=no
58636 if test x"$with_gnu_ld" = x"yes"; then
58637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58638 $as_echo_n "checking for ld version... " >&6; }
58639
58640 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58641 glibcxx_ld_is_gold=yes
58642 fi
58643 ldver=`$LD --version 2>/dev/null |
58644 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'`
58645
58646 glibcxx_gnu_ld_version=`echo $ldver | \
58647 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58649 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58650 fi
58651
58652 # Set --gc-sections.
58653 glibcxx_have_gc_sections=no
58654 if test "$glibcxx_ld_is_gold" = "yes"; then
58655 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58656 glibcxx_have_gc_sections=yes
58657 fi
58658 else
58659 glibcxx_gcsections_min_ld=21602
58660 if test x"$with_gnu_ld" = x"yes" &&
58661 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58662 glibcxx_have_gc_sections=yes
58663 fi
58664 fi
58665 if test "$glibcxx_have_gc_sections" = "yes"; then
58666 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58667 # NB: This flag only works reliably after 2.16.1. Configure tests
58668 # for this are difficult, so hard wire a value that should work.
58669
58670 ac_test_CFLAGS="${CFLAGS+set}"
58671 ac_save_CFLAGS="$CFLAGS"
58672 CFLAGS='-Wl,--gc-sections'
58673
58674 # Check for -Wl,--gc-sections
58675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58676 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58677 if test x$gcc_no_link = xyes; then
58678 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58679 fi
58680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58681 /* end confdefs.h. */
58682 int one(void) { return 1; }
58683 int two(void) { return 2; }
58684
58685 int
58686 main ()
58687 {
58688 two();
58689 ;
58690 return 0;
58691 }
58692 _ACEOF
58693 if ac_fn_c_try_link "$LINENO"; then :
58694 ac_gcsections=yes
58695 else
58696 ac_gcsections=no
58697 fi
58698 rm -f core conftest.err conftest.$ac_objext \
58699 conftest$ac_exeext conftest.$ac_ext
58700 if test "$ac_gcsections" = "yes"; then
58701 rm -f conftest.c
58702 touch conftest.c
58703 if $CC -c conftest.c; then
58704 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58705 grep "Warning: gc-sections option ignored" > /dev/null; then
58706 ac_gcsections=no
58707 fi
58708 fi
58709 rm -f conftest.c conftest.o conftest
58710 fi
58711 if test "$ac_gcsections" = "yes"; then
58712 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58713 fi
58714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58715 $as_echo "$ac_gcsections" >&6; }
58716
58717 if test "$ac_test_CFLAGS" = set; then
58718 CFLAGS="$ac_save_CFLAGS"
58719 else
58720 # this is the suspicious part
58721 CFLAGS=''
58722 fi
58723 fi
58724
58725 # Set -z,relro.
58726 # Note this is only for shared objects.
58727 ac_ld_relro=no
58728 if test x"$with_gnu_ld" = x"yes"; then
58729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58730 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58731 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58732 if test -n "$cxx_z_relo"; then
58733 OPT_LDFLAGS="-Wl,-z,relro"
58734 ac_ld_relro=yes
58735 fi
58736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58737 $as_echo "$ac_ld_relro" >&6; }
58738 fi
58739
58740 # Set linker optimization flags.
58741 if test x"$with_gnu_ld" = x"yes"; then
58742 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58743 fi
58744
58745
58746
58747
58748 $as_echo "#define HAVE_COSF 1" >>confdefs.h
58749
58750 $as_echo "#define HAVE_COSL 1" >>confdefs.h
58751
58752 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
58753
58754 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
58755
58756 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
58757
58758 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
58759
58760 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
58761
58762 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
58763
58764 $as_echo "#define HAVE_SINF 1" >>confdefs.h
58765
58766 $as_echo "#define HAVE_SINL 1" >>confdefs.h
58767
58768 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
58769
58770 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
58771
58772 ;;
58773 *-rtems*)
58774
58775 # All these tests are for C++; save the language and the compiler flags.
58776 # The CXXFLAGS thing is suspicious, but based on similar bits previously
58777 # found in GLIBCXX_CONFIGURE.
58778
58779 ac_ext=cpp
58780 ac_cpp='$CXXCPP $CPPFLAGS'
58781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58784
58785 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58786 ac_save_CXXFLAGS="$CXXFLAGS"
58787
58788 # Check for maintainer-mode bits.
58789 if test x"$USE_MAINTAINER_MODE" = xno; then
58790 WERROR=''
58791 else
58792 WERROR='-Werror'
58793 fi
58794
58795 # Check for -ffunction-sections -fdata-sections
58796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
58797 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
58798 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
58799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58800 /* end confdefs.h. */
58801 int foo; void bar() { };
58802 int
58803 main ()
58804 {
58805
58806 ;
58807 return 0;
58808 }
58809 _ACEOF
58810 if ac_fn_cxx_try_compile "$LINENO"; then :
58811 ac_fdsections=yes
58812 else
58813 ac_fdsections=no
58814 fi
58815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58816 if test "$ac_test_CXXFLAGS" = set; then
58817 CXXFLAGS="$ac_save_CXXFLAGS"
58818 else
58819 # this is the suspicious part
58820 CXXFLAGS=''
58821 fi
58822 if test x"$ac_fdsections" = x"yes"; then
58823 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58824 fi
58825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
58826 $as_echo "$ac_fdsections" >&6; }
58827
58828 ac_ext=c
58829 ac_cpp='$CPP $CPPFLAGS'
58830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58833
58834
58835
58836
58837
58838 # If we're not using GNU ld, then there's no point in even trying these
58839 # tests. Check for that first. We should have already tested for gld
58840 # by now (in libtool), but require it now just to be safe...
58841 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58842 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58843
58844
58845
58846 # The name set by libtool depends on the version of libtool. Shame on us
58847 # for depending on an impl detail, but c'est la vie. Older versions used
58848 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58849 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58850 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58851 # set (hence we're using an older libtool), then set it.
58852 if test x${with_gnu_ld+set} != xset; then
58853 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58854 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58855 with_gnu_ld=no
58856 else
58857 with_gnu_ld=$ac_cv_prog_gnu_ld
58858 fi
58859 fi
58860
58861 # Start by getting the version number. I think the libtool test already
58862 # does some of this, but throws away the result.
58863 glibcxx_ld_is_gold=no
58864 if test x"$with_gnu_ld" = x"yes"; then
58865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58866 $as_echo_n "checking for ld version... " >&6; }
58867
58868 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58869 glibcxx_ld_is_gold=yes
58870 fi
58871 ldver=`$LD --version 2>/dev/null |
58872 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'`
58873
58874 glibcxx_gnu_ld_version=`echo $ldver | \
58875 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58877 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58878 fi
58879
58880 # Set --gc-sections.
58881 glibcxx_have_gc_sections=no
58882 if test "$glibcxx_ld_is_gold" = "yes"; then
58883 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58884 glibcxx_have_gc_sections=yes
58885 fi
58886 else
58887 glibcxx_gcsections_min_ld=21602
58888 if test x"$with_gnu_ld" = x"yes" &&
58889 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58890 glibcxx_have_gc_sections=yes
58891 fi
58892 fi
58893 if test "$glibcxx_have_gc_sections" = "yes"; then
58894 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58895 # NB: This flag only works reliably after 2.16.1. Configure tests
58896 # for this are difficult, so hard wire a value that should work.
58897
58898 ac_test_CFLAGS="${CFLAGS+set}"
58899 ac_save_CFLAGS="$CFLAGS"
58900 CFLAGS='-Wl,--gc-sections'
58901
58902 # Check for -Wl,--gc-sections
58903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58904 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58905 if test x$gcc_no_link = xyes; then
58906 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58907 fi
58908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58909 /* end confdefs.h. */
58910 int one(void) { return 1; }
58911 int two(void) { return 2; }
58912
58913 int
58914 main ()
58915 {
58916 two();
58917 ;
58918 return 0;
58919 }
58920 _ACEOF
58921 if ac_fn_c_try_link "$LINENO"; then :
58922 ac_gcsections=yes
58923 else
58924 ac_gcsections=no
58925 fi
58926 rm -f core conftest.err conftest.$ac_objext \
58927 conftest$ac_exeext conftest.$ac_ext
58928 if test "$ac_gcsections" = "yes"; then
58929 rm -f conftest.c
58930 touch conftest.c
58931 if $CC -c conftest.c; then
58932 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58933 grep "Warning: gc-sections option ignored" > /dev/null; then
58934 ac_gcsections=no
58935 fi
58936 fi
58937 rm -f conftest.c conftest.o conftest
58938 fi
58939 if test "$ac_gcsections" = "yes"; then
58940 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58941 fi
58942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58943 $as_echo "$ac_gcsections" >&6; }
58944
58945 if test "$ac_test_CFLAGS" = set; then
58946 CFLAGS="$ac_save_CFLAGS"
58947 else
58948 # this is the suspicious part
58949 CFLAGS=''
58950 fi
58951 fi
58952
58953 # Set -z,relro.
58954 # Note this is only for shared objects.
58955 ac_ld_relro=no
58956 if test x"$with_gnu_ld" = x"yes"; then
58957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58958 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58959 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58960 if test -n "$cxx_z_relo"; then
58961 OPT_LDFLAGS="-Wl,-z,relro"
58962 ac_ld_relro=yes
58963 fi
58964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58965 $as_echo "$ac_ld_relro" >&6; }
58966 fi
58967
58968 # Set linker optimization flags.
58969 if test x"$with_gnu_ld" = x"yes"; then
58970 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58971 fi
58972
58973
58974
58975
58976
58977 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58978 ac_save_CXXFLAGS="$CXXFLAGS"
58979 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58980
58981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58982 $as_echo_n "checking for sin in -lm... " >&6; }
58983 if test "${ac_cv_lib_m_sin+set}" = set; then :
58984 $as_echo_n "(cached) " >&6
58985 else
58986 ac_check_lib_save_LIBS=$LIBS
58987 LIBS="-lm $LIBS"
58988 if test x$gcc_no_link = xyes; then
58989 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58990 fi
58991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58992 /* end confdefs.h. */
58993
58994 /* Override any GCC internal prototype to avoid an error.
58995 Use char because int might match the return type of a GCC
58996 builtin and then its argument prototype would still apply. */
58997 #ifdef __cplusplus
58998 extern "C"
58999 #endif
59000 char sin ();
59001 int
59002 main ()
59003 {
59004 return sin ();
59005 ;
59006 return 0;
59007 }
59008 _ACEOF
59009 if ac_fn_c_try_link "$LINENO"; then :
59010 ac_cv_lib_m_sin=yes
59011 else
59012 ac_cv_lib_m_sin=no
59013 fi
59014 rm -f core conftest.err conftest.$ac_objext \
59015 conftest$ac_exeext conftest.$ac_ext
59016 LIBS=$ac_check_lib_save_LIBS
59017 fi
59018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59019 $as_echo "$ac_cv_lib_m_sin" >&6; }
59020 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59021 libm="-lm"
59022 fi
59023
59024 ac_save_LIBS="$LIBS"
59025 LIBS="$LIBS $libm"
59026
59027
59028
59029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59030 $as_echo_n "checking for isinf declaration... " >&6; }
59031 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59032 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59033 $as_echo_n "(cached) " >&6
59034 else
59035
59036
59037 ac_ext=cpp
59038 ac_cpp='$CXXCPP $CPPFLAGS'
59039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59042
59043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59044 /* end confdefs.h. */
59045 #include <math.h>
59046 #ifdef HAVE_IEEEFP_H
59047 #include <ieeefp.h>
59048 #endif
59049
59050 int
59051 main ()
59052 {
59053 isinf(0);
59054 ;
59055 return 0;
59056 }
59057 _ACEOF
59058 if ac_fn_cxx_try_compile "$LINENO"; then :
59059 glibcxx_cv_func_isinf_use=yes
59060 else
59061 glibcxx_cv_func_isinf_use=no
59062 fi
59063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59064 ac_ext=c
59065 ac_cpp='$CPP $CPPFLAGS'
59066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59069
59070
59071 fi
59072
59073 fi
59074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59075 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59076
59077 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59078 for ac_func in isinf
59079 do :
59080 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59081 if test "x$ac_cv_func_isinf" = x""yes; then :
59082 cat >>confdefs.h <<_ACEOF
59083 #define HAVE_ISINF 1
59084 _ACEOF
59085
59086 fi
59087 done
59088
59089 else
59090
59091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59092 $as_echo_n "checking for _isinf declaration... " >&6; }
59093 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59094 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59095 $as_echo_n "(cached) " >&6
59096 else
59097
59098
59099 ac_ext=cpp
59100 ac_cpp='$CXXCPP $CPPFLAGS'
59101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59104
59105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59106 /* end confdefs.h. */
59107 #include <math.h>
59108 #ifdef HAVE_IEEEFP_H
59109 #include <ieeefp.h>
59110 #endif
59111
59112 int
59113 main ()
59114 {
59115 _isinf(0);
59116 ;
59117 return 0;
59118 }
59119 _ACEOF
59120 if ac_fn_cxx_try_compile "$LINENO"; then :
59121 glibcxx_cv_func__isinf_use=yes
59122 else
59123 glibcxx_cv_func__isinf_use=no
59124 fi
59125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59126 ac_ext=c
59127 ac_cpp='$CPP $CPPFLAGS'
59128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59131
59132
59133 fi
59134
59135 fi
59136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59137 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59138
59139 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59140 for ac_func in _isinf
59141 do :
59142 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59143 if test "x$ac_cv_func__isinf" = x""yes; then :
59144 cat >>confdefs.h <<_ACEOF
59145 #define HAVE__ISINF 1
59146 _ACEOF
59147
59148 fi
59149 done
59150
59151 fi
59152 fi
59153
59154
59155
59156
59157
59158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59159 $as_echo_n "checking for isnan declaration... " >&6; }
59160 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59161 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59162 $as_echo_n "(cached) " >&6
59163 else
59164
59165
59166 ac_ext=cpp
59167 ac_cpp='$CXXCPP $CPPFLAGS'
59168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59171
59172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59173 /* end confdefs.h. */
59174 #include <math.h>
59175 #ifdef HAVE_IEEEFP_H
59176 #include <ieeefp.h>
59177 #endif
59178
59179 int
59180 main ()
59181 {
59182 isnan(0);
59183 ;
59184 return 0;
59185 }
59186 _ACEOF
59187 if ac_fn_cxx_try_compile "$LINENO"; then :
59188 glibcxx_cv_func_isnan_use=yes
59189 else
59190 glibcxx_cv_func_isnan_use=no
59191 fi
59192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59193 ac_ext=c
59194 ac_cpp='$CPP $CPPFLAGS'
59195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59198
59199
59200 fi
59201
59202 fi
59203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59204 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59205
59206 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59207 for ac_func in isnan
59208 do :
59209 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59210 if test "x$ac_cv_func_isnan" = x""yes; then :
59211 cat >>confdefs.h <<_ACEOF
59212 #define HAVE_ISNAN 1
59213 _ACEOF
59214
59215 fi
59216 done
59217
59218 else
59219
59220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59221 $as_echo_n "checking for _isnan declaration... " >&6; }
59222 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59223 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59224 $as_echo_n "(cached) " >&6
59225 else
59226
59227
59228 ac_ext=cpp
59229 ac_cpp='$CXXCPP $CPPFLAGS'
59230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59233
59234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59235 /* end confdefs.h. */
59236 #include <math.h>
59237 #ifdef HAVE_IEEEFP_H
59238 #include <ieeefp.h>
59239 #endif
59240
59241 int
59242 main ()
59243 {
59244 _isnan(0);
59245 ;
59246 return 0;
59247 }
59248 _ACEOF
59249 if ac_fn_cxx_try_compile "$LINENO"; then :
59250 glibcxx_cv_func__isnan_use=yes
59251 else
59252 glibcxx_cv_func__isnan_use=no
59253 fi
59254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59255 ac_ext=c
59256 ac_cpp='$CPP $CPPFLAGS'
59257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59260
59261
59262 fi
59263
59264 fi
59265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59266 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59267
59268 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59269 for ac_func in _isnan
59270 do :
59271 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59272 if test "x$ac_cv_func__isnan" = x""yes; then :
59273 cat >>confdefs.h <<_ACEOF
59274 #define HAVE__ISNAN 1
59275 _ACEOF
59276
59277 fi
59278 done
59279
59280 fi
59281 fi
59282
59283
59284
59285
59286
59287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59288 $as_echo_n "checking for finite declaration... " >&6; }
59289 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59290 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59291 $as_echo_n "(cached) " >&6
59292 else
59293
59294
59295 ac_ext=cpp
59296 ac_cpp='$CXXCPP $CPPFLAGS'
59297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59300
59301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59302 /* end confdefs.h. */
59303 #include <math.h>
59304 #ifdef HAVE_IEEEFP_H
59305 #include <ieeefp.h>
59306 #endif
59307
59308 int
59309 main ()
59310 {
59311 finite(0);
59312 ;
59313 return 0;
59314 }
59315 _ACEOF
59316 if ac_fn_cxx_try_compile "$LINENO"; then :
59317 glibcxx_cv_func_finite_use=yes
59318 else
59319 glibcxx_cv_func_finite_use=no
59320 fi
59321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59322 ac_ext=c
59323 ac_cpp='$CPP $CPPFLAGS'
59324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59327
59328
59329 fi
59330
59331 fi
59332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59333 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59334
59335 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59336 for ac_func in finite
59337 do :
59338 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59339 if test "x$ac_cv_func_finite" = x""yes; then :
59340 cat >>confdefs.h <<_ACEOF
59341 #define HAVE_FINITE 1
59342 _ACEOF
59343
59344 fi
59345 done
59346
59347 else
59348
59349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59350 $as_echo_n "checking for _finite declaration... " >&6; }
59351 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59352 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59353 $as_echo_n "(cached) " >&6
59354 else
59355
59356
59357 ac_ext=cpp
59358 ac_cpp='$CXXCPP $CPPFLAGS'
59359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59362
59363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59364 /* end confdefs.h. */
59365 #include <math.h>
59366 #ifdef HAVE_IEEEFP_H
59367 #include <ieeefp.h>
59368 #endif
59369
59370 int
59371 main ()
59372 {
59373 _finite(0);
59374 ;
59375 return 0;
59376 }
59377 _ACEOF
59378 if ac_fn_cxx_try_compile "$LINENO"; then :
59379 glibcxx_cv_func__finite_use=yes
59380 else
59381 glibcxx_cv_func__finite_use=no
59382 fi
59383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59384 ac_ext=c
59385 ac_cpp='$CPP $CPPFLAGS'
59386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59389
59390
59391 fi
59392
59393 fi
59394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59395 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59396
59397 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59398 for ac_func in _finite
59399 do :
59400 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59401 if test "x$ac_cv_func__finite" = x""yes; then :
59402 cat >>confdefs.h <<_ACEOF
59403 #define HAVE__FINITE 1
59404 _ACEOF
59405
59406 fi
59407 done
59408
59409 fi
59410 fi
59411
59412
59413
59414
59415
59416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59417 $as_echo_n "checking for sincos declaration... " >&6; }
59418 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59419 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59420 $as_echo_n "(cached) " >&6
59421 else
59422
59423
59424 ac_ext=cpp
59425 ac_cpp='$CXXCPP $CPPFLAGS'
59426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59429
59430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59431 /* end confdefs.h. */
59432 #include <math.h>
59433 int
59434 main ()
59435 {
59436 sincos(0, 0, 0);
59437 ;
59438 return 0;
59439 }
59440 _ACEOF
59441 if ac_fn_cxx_try_compile "$LINENO"; then :
59442 glibcxx_cv_func_sincos_use=yes
59443 else
59444 glibcxx_cv_func_sincos_use=no
59445 fi
59446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59447 ac_ext=c
59448 ac_cpp='$CPP $CPPFLAGS'
59449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59452
59453
59454 fi
59455
59456 fi
59457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59458 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59459
59460 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59461 for ac_func in sincos
59462 do :
59463 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59464 if test "x$ac_cv_func_sincos" = x""yes; then :
59465 cat >>confdefs.h <<_ACEOF
59466 #define HAVE_SINCOS 1
59467 _ACEOF
59468
59469 fi
59470 done
59471
59472 else
59473
59474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59475 $as_echo_n "checking for _sincos declaration... " >&6; }
59476 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59477 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59478 $as_echo_n "(cached) " >&6
59479 else
59480
59481
59482 ac_ext=cpp
59483 ac_cpp='$CXXCPP $CPPFLAGS'
59484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59487
59488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59489 /* end confdefs.h. */
59490 #include <math.h>
59491 int
59492 main ()
59493 {
59494 _sincos(0, 0, 0);
59495 ;
59496 return 0;
59497 }
59498 _ACEOF
59499 if ac_fn_cxx_try_compile "$LINENO"; then :
59500 glibcxx_cv_func__sincos_use=yes
59501 else
59502 glibcxx_cv_func__sincos_use=no
59503 fi
59504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59505 ac_ext=c
59506 ac_cpp='$CPP $CPPFLAGS'
59507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59510
59511
59512 fi
59513
59514 fi
59515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59516 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59517
59518 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59519 for ac_func in _sincos
59520 do :
59521 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59522 if test "x$ac_cv_func__sincos" = x""yes; then :
59523 cat >>confdefs.h <<_ACEOF
59524 #define HAVE__SINCOS 1
59525 _ACEOF
59526
59527 fi
59528 done
59529
59530 fi
59531 fi
59532
59533
59534
59535
59536
59537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59538 $as_echo_n "checking for fpclass declaration... " >&6; }
59539 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59540 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59541 $as_echo_n "(cached) " >&6
59542 else
59543
59544
59545 ac_ext=cpp
59546 ac_cpp='$CXXCPP $CPPFLAGS'
59547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59550
59551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59552 /* end confdefs.h. */
59553 #include <math.h>
59554 #ifdef HAVE_IEEEFP_H
59555 #include <ieeefp.h>
59556 #endif
59557
59558 int
59559 main ()
59560 {
59561 fpclass(0);
59562 ;
59563 return 0;
59564 }
59565 _ACEOF
59566 if ac_fn_cxx_try_compile "$LINENO"; then :
59567 glibcxx_cv_func_fpclass_use=yes
59568 else
59569 glibcxx_cv_func_fpclass_use=no
59570 fi
59571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59572 ac_ext=c
59573 ac_cpp='$CPP $CPPFLAGS'
59574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59577
59578
59579 fi
59580
59581 fi
59582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59583 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59584
59585 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59586 for ac_func in fpclass
59587 do :
59588 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59589 if test "x$ac_cv_func_fpclass" = x""yes; then :
59590 cat >>confdefs.h <<_ACEOF
59591 #define HAVE_FPCLASS 1
59592 _ACEOF
59593
59594 fi
59595 done
59596
59597 else
59598
59599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59600 $as_echo_n "checking for _fpclass declaration... " >&6; }
59601 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59602 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59603 $as_echo_n "(cached) " >&6
59604 else
59605
59606
59607 ac_ext=cpp
59608 ac_cpp='$CXXCPP $CPPFLAGS'
59609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59612
59613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59614 /* end confdefs.h. */
59615 #include <math.h>
59616 #ifdef HAVE_IEEEFP_H
59617 #include <ieeefp.h>
59618 #endif
59619
59620 int
59621 main ()
59622 {
59623 _fpclass(0);
59624 ;
59625 return 0;
59626 }
59627 _ACEOF
59628 if ac_fn_cxx_try_compile "$LINENO"; then :
59629 glibcxx_cv_func__fpclass_use=yes
59630 else
59631 glibcxx_cv_func__fpclass_use=no
59632 fi
59633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59634 ac_ext=c
59635 ac_cpp='$CPP $CPPFLAGS'
59636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59639
59640
59641 fi
59642
59643 fi
59644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59645 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59646
59647 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59648 for ac_func in _fpclass
59649 do :
59650 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59651 if test "x$ac_cv_func__fpclass" = x""yes; then :
59652 cat >>confdefs.h <<_ACEOF
59653 #define HAVE__FPCLASS 1
59654 _ACEOF
59655
59656 fi
59657 done
59658
59659 fi
59660 fi
59661
59662
59663
59664
59665
59666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59667 $as_echo_n "checking for qfpclass declaration... " >&6; }
59668 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59669 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59670 $as_echo_n "(cached) " >&6
59671 else
59672
59673
59674 ac_ext=cpp
59675 ac_cpp='$CXXCPP $CPPFLAGS'
59676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59679
59680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59681 /* end confdefs.h. */
59682 #include <math.h>
59683 #ifdef HAVE_IEEEFP_H
59684 #include <ieeefp.h>
59685 #endif
59686
59687 int
59688 main ()
59689 {
59690 qfpclass(0);
59691 ;
59692 return 0;
59693 }
59694 _ACEOF
59695 if ac_fn_cxx_try_compile "$LINENO"; then :
59696 glibcxx_cv_func_qfpclass_use=yes
59697 else
59698 glibcxx_cv_func_qfpclass_use=no
59699 fi
59700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59701 ac_ext=c
59702 ac_cpp='$CPP $CPPFLAGS'
59703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59706
59707
59708 fi
59709
59710 fi
59711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59712 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59713
59714 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59715 for ac_func in qfpclass
59716 do :
59717 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59718 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59719 cat >>confdefs.h <<_ACEOF
59720 #define HAVE_QFPCLASS 1
59721 _ACEOF
59722
59723 fi
59724 done
59725
59726 else
59727
59728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59729 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59730 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59731 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59732 $as_echo_n "(cached) " >&6
59733 else
59734
59735
59736 ac_ext=cpp
59737 ac_cpp='$CXXCPP $CPPFLAGS'
59738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59741
59742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59743 /* end confdefs.h. */
59744 #include <math.h>
59745 #ifdef HAVE_IEEEFP_H
59746 #include <ieeefp.h>
59747 #endif
59748
59749 int
59750 main ()
59751 {
59752 _qfpclass(0);
59753 ;
59754 return 0;
59755 }
59756 _ACEOF
59757 if ac_fn_cxx_try_compile "$LINENO"; then :
59758 glibcxx_cv_func__qfpclass_use=yes
59759 else
59760 glibcxx_cv_func__qfpclass_use=no
59761 fi
59762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59763 ac_ext=c
59764 ac_cpp='$CPP $CPPFLAGS'
59765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59768
59769
59770 fi
59771
59772 fi
59773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59774 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59775
59776 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59777 for ac_func in _qfpclass
59778 do :
59779 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59780 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59781 cat >>confdefs.h <<_ACEOF
59782 #define HAVE__QFPCLASS 1
59783 _ACEOF
59784
59785 fi
59786 done
59787
59788 fi
59789 fi
59790
59791
59792
59793
59794
59795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59796 $as_echo_n "checking for hypot declaration... " >&6; }
59797 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59798 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59799 $as_echo_n "(cached) " >&6
59800 else
59801
59802
59803 ac_ext=cpp
59804 ac_cpp='$CXXCPP $CPPFLAGS'
59805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59808
59809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59810 /* end confdefs.h. */
59811 #include <math.h>
59812 int
59813 main ()
59814 {
59815 hypot(0, 0);
59816 ;
59817 return 0;
59818 }
59819 _ACEOF
59820 if ac_fn_cxx_try_compile "$LINENO"; then :
59821 glibcxx_cv_func_hypot_use=yes
59822 else
59823 glibcxx_cv_func_hypot_use=no
59824 fi
59825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59826 ac_ext=c
59827 ac_cpp='$CPP $CPPFLAGS'
59828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59831
59832
59833 fi
59834
59835 fi
59836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59837 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59838
59839 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59840 for ac_func in hypot
59841 do :
59842 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59843 if test "x$ac_cv_func_hypot" = x""yes; then :
59844 cat >>confdefs.h <<_ACEOF
59845 #define HAVE_HYPOT 1
59846 _ACEOF
59847
59848 fi
59849 done
59850
59851 else
59852
59853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59854 $as_echo_n "checking for _hypot declaration... " >&6; }
59855 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59856 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59857 $as_echo_n "(cached) " >&6
59858 else
59859
59860
59861 ac_ext=cpp
59862 ac_cpp='$CXXCPP $CPPFLAGS'
59863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59866
59867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59868 /* end confdefs.h. */
59869 #include <math.h>
59870 int
59871 main ()
59872 {
59873 _hypot(0, 0);
59874 ;
59875 return 0;
59876 }
59877 _ACEOF
59878 if ac_fn_cxx_try_compile "$LINENO"; then :
59879 glibcxx_cv_func__hypot_use=yes
59880 else
59881 glibcxx_cv_func__hypot_use=no
59882 fi
59883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59884 ac_ext=c
59885 ac_cpp='$CPP $CPPFLAGS'
59886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59889
59890
59891 fi
59892
59893 fi
59894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59895 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59896
59897 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59898 for ac_func in _hypot
59899 do :
59900 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59901 if test "x$ac_cv_func__hypot" = x""yes; then :
59902 cat >>confdefs.h <<_ACEOF
59903 #define HAVE__HYPOT 1
59904 _ACEOF
59905
59906 fi
59907 done
59908
59909 fi
59910 fi
59911
59912
59913
59914
59915
59916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59917 $as_echo_n "checking for float trig functions... " >&6; }
59918 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59919 $as_echo_n "(cached) " >&6
59920 else
59921
59922
59923 ac_ext=cpp
59924 ac_cpp='$CXXCPP $CPPFLAGS'
59925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59928
59929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59930 /* end confdefs.h. */
59931 #include <math.h>
59932 int
59933 main ()
59934 {
59935 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59936 ;
59937 return 0;
59938 }
59939 _ACEOF
59940 if ac_fn_cxx_try_compile "$LINENO"; then :
59941 glibcxx_cv_func_float_trig_use=yes
59942 else
59943 glibcxx_cv_func_float_trig_use=no
59944 fi
59945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59946 ac_ext=c
59947 ac_cpp='$CPP $CPPFLAGS'
59948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59951
59952 fi
59953
59954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59955 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59956 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59957 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59958 do :
59959 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59960 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59961 eval as_val=\$$as_ac_var
59962 if test "x$as_val" = x""yes; then :
59963 cat >>confdefs.h <<_ACEOF
59964 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59965 _ACEOF
59966
59967 fi
59968 done
59969
59970 else
59971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59972 $as_echo_n "checking for _float trig functions... " >&6; }
59973 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59974 $as_echo_n "(cached) " >&6
59975 else
59976
59977
59978 ac_ext=cpp
59979 ac_cpp='$CXXCPP $CPPFLAGS'
59980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59983
59984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59985 /* end confdefs.h. */
59986 #include <math.h>
59987 int
59988 main ()
59989 {
59990 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59991 ;
59992 return 0;
59993 }
59994 _ACEOF
59995 if ac_fn_cxx_try_compile "$LINENO"; then :
59996 glibcxx_cv_func__float_trig_use=yes
59997 else
59998 glibcxx_cv_func__float_trig_use=no
59999 fi
60000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60001 ac_ext=c
60002 ac_cpp='$CPP $CPPFLAGS'
60003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60006
60007 fi
60008
60009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60010 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60011 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60012 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60013 do :
60014 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60015 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60016 eval as_val=\$$as_ac_var
60017 if test "x$as_val" = x""yes; then :
60018 cat >>confdefs.h <<_ACEOF
60019 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60020 _ACEOF
60021
60022 fi
60023 done
60024
60025 fi
60026 fi
60027
60028
60029
60030
60031
60032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60033 $as_echo_n "checking for float round functions... " >&6; }
60034 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60035 $as_echo_n "(cached) " >&6
60036 else
60037
60038
60039 ac_ext=cpp
60040 ac_cpp='$CXXCPP $CPPFLAGS'
60041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60044
60045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60046 /* end confdefs.h. */
60047 #include <math.h>
60048 int
60049 main ()
60050 {
60051 ceilf (0); floorf (0);
60052 ;
60053 return 0;
60054 }
60055 _ACEOF
60056 if ac_fn_cxx_try_compile "$LINENO"; then :
60057 glibcxx_cv_func_float_round_use=yes
60058 else
60059 glibcxx_cv_func_float_round_use=no
60060 fi
60061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60062 ac_ext=c
60063 ac_cpp='$CPP $CPPFLAGS'
60064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60067
60068 fi
60069
60070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60071 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60072 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60073 for ac_func in ceilf floorf
60074 do :
60075 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60076 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60077 eval as_val=\$$as_ac_var
60078 if test "x$as_val" = x""yes; then :
60079 cat >>confdefs.h <<_ACEOF
60080 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60081 _ACEOF
60082
60083 fi
60084 done
60085
60086 else
60087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60088 $as_echo_n "checking for _float round functions... " >&6; }
60089 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60090 $as_echo_n "(cached) " >&6
60091 else
60092
60093
60094 ac_ext=cpp
60095 ac_cpp='$CXXCPP $CPPFLAGS'
60096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60099
60100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60101 /* end confdefs.h. */
60102 #include <math.h>
60103 int
60104 main ()
60105 {
60106 _ceilf (0); _floorf (0);
60107 ;
60108 return 0;
60109 }
60110 _ACEOF
60111 if ac_fn_cxx_try_compile "$LINENO"; then :
60112 glibcxx_cv_func__float_round_use=yes
60113 else
60114 glibcxx_cv_func__float_round_use=no
60115 fi
60116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60117 ac_ext=c
60118 ac_cpp='$CPP $CPPFLAGS'
60119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60122
60123 fi
60124
60125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60126 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60127 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60128 for ac_func in _ceilf _floorf
60129 do :
60130 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60131 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60132 eval as_val=\$$as_ac_var
60133 if test "x$as_val" = x""yes; then :
60134 cat >>confdefs.h <<_ACEOF
60135 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60136 _ACEOF
60137
60138 fi
60139 done
60140
60141 fi
60142 fi
60143
60144
60145
60146
60147
60148
60149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60150 $as_echo_n "checking for expf declaration... " >&6; }
60151 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60152 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60153 $as_echo_n "(cached) " >&6
60154 else
60155
60156
60157 ac_ext=cpp
60158 ac_cpp='$CXXCPP $CPPFLAGS'
60159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60162
60163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60164 /* end confdefs.h. */
60165 #include <math.h>
60166 #ifdef HAVE_IEEEFP_H
60167 #include <ieeefp.h>
60168 #endif
60169
60170 int
60171 main ()
60172 {
60173 expf(0);
60174 ;
60175 return 0;
60176 }
60177 _ACEOF
60178 if ac_fn_cxx_try_compile "$LINENO"; then :
60179 glibcxx_cv_func_expf_use=yes
60180 else
60181 glibcxx_cv_func_expf_use=no
60182 fi
60183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60184 ac_ext=c
60185 ac_cpp='$CPP $CPPFLAGS'
60186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60189
60190
60191 fi
60192
60193 fi
60194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60195 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60196
60197 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60198 for ac_func in expf
60199 do :
60200 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60201 if test "x$ac_cv_func_expf" = x""yes; then :
60202 cat >>confdefs.h <<_ACEOF
60203 #define HAVE_EXPF 1
60204 _ACEOF
60205
60206 fi
60207 done
60208
60209 else
60210
60211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60212 $as_echo_n "checking for _expf declaration... " >&6; }
60213 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60214 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60215 $as_echo_n "(cached) " >&6
60216 else
60217
60218
60219 ac_ext=cpp
60220 ac_cpp='$CXXCPP $CPPFLAGS'
60221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60224
60225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60226 /* end confdefs.h. */
60227 #include <math.h>
60228 #ifdef HAVE_IEEEFP_H
60229 #include <ieeefp.h>
60230 #endif
60231
60232 int
60233 main ()
60234 {
60235 _expf(0);
60236 ;
60237 return 0;
60238 }
60239 _ACEOF
60240 if ac_fn_cxx_try_compile "$LINENO"; then :
60241 glibcxx_cv_func__expf_use=yes
60242 else
60243 glibcxx_cv_func__expf_use=no
60244 fi
60245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60246 ac_ext=c
60247 ac_cpp='$CPP $CPPFLAGS'
60248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60251
60252
60253 fi
60254
60255 fi
60256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60257 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60258
60259 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60260 for ac_func in _expf
60261 do :
60262 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60263 if test "x$ac_cv_func__expf" = x""yes; then :
60264 cat >>confdefs.h <<_ACEOF
60265 #define HAVE__EXPF 1
60266 _ACEOF
60267
60268 fi
60269 done
60270
60271 fi
60272 fi
60273
60274
60275
60276
60277
60278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60279 $as_echo_n "checking for isnanf declaration... " >&6; }
60280 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60281 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60282 $as_echo_n "(cached) " >&6
60283 else
60284
60285
60286 ac_ext=cpp
60287 ac_cpp='$CXXCPP $CPPFLAGS'
60288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60291
60292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60293 /* end confdefs.h. */
60294 #include <math.h>
60295 #ifdef HAVE_IEEEFP_H
60296 #include <ieeefp.h>
60297 #endif
60298
60299 int
60300 main ()
60301 {
60302 isnanf(0);
60303 ;
60304 return 0;
60305 }
60306 _ACEOF
60307 if ac_fn_cxx_try_compile "$LINENO"; then :
60308 glibcxx_cv_func_isnanf_use=yes
60309 else
60310 glibcxx_cv_func_isnanf_use=no
60311 fi
60312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60313 ac_ext=c
60314 ac_cpp='$CPP $CPPFLAGS'
60315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60318
60319
60320 fi
60321
60322 fi
60323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60324 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60325
60326 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60327 for ac_func in isnanf
60328 do :
60329 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60330 if test "x$ac_cv_func_isnanf" = x""yes; then :
60331 cat >>confdefs.h <<_ACEOF
60332 #define HAVE_ISNANF 1
60333 _ACEOF
60334
60335 fi
60336 done
60337
60338 else
60339
60340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60341 $as_echo_n "checking for _isnanf declaration... " >&6; }
60342 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60343 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60344 $as_echo_n "(cached) " >&6
60345 else
60346
60347
60348 ac_ext=cpp
60349 ac_cpp='$CXXCPP $CPPFLAGS'
60350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60353
60354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60355 /* end confdefs.h. */
60356 #include <math.h>
60357 #ifdef HAVE_IEEEFP_H
60358 #include <ieeefp.h>
60359 #endif
60360
60361 int
60362 main ()
60363 {
60364 _isnanf(0);
60365 ;
60366 return 0;
60367 }
60368 _ACEOF
60369 if ac_fn_cxx_try_compile "$LINENO"; then :
60370 glibcxx_cv_func__isnanf_use=yes
60371 else
60372 glibcxx_cv_func__isnanf_use=no
60373 fi
60374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60375 ac_ext=c
60376 ac_cpp='$CPP $CPPFLAGS'
60377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60380
60381
60382 fi
60383
60384 fi
60385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60386 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60387
60388 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60389 for ac_func in _isnanf
60390 do :
60391 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60392 if test "x$ac_cv_func__isnanf" = x""yes; then :
60393 cat >>confdefs.h <<_ACEOF
60394 #define HAVE__ISNANF 1
60395 _ACEOF
60396
60397 fi
60398 done
60399
60400 fi
60401 fi
60402
60403
60404
60405
60406
60407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60408 $as_echo_n "checking for isinff declaration... " >&6; }
60409 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60410 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60411 $as_echo_n "(cached) " >&6
60412 else
60413
60414
60415 ac_ext=cpp
60416 ac_cpp='$CXXCPP $CPPFLAGS'
60417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60420
60421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60422 /* end confdefs.h. */
60423 #include <math.h>
60424 #ifdef HAVE_IEEEFP_H
60425 #include <ieeefp.h>
60426 #endif
60427
60428 int
60429 main ()
60430 {
60431 isinff(0);
60432 ;
60433 return 0;
60434 }
60435 _ACEOF
60436 if ac_fn_cxx_try_compile "$LINENO"; then :
60437 glibcxx_cv_func_isinff_use=yes
60438 else
60439 glibcxx_cv_func_isinff_use=no
60440 fi
60441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60442 ac_ext=c
60443 ac_cpp='$CPP $CPPFLAGS'
60444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60447
60448
60449 fi
60450
60451 fi
60452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60453 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60454
60455 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60456 for ac_func in isinff
60457 do :
60458 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60459 if test "x$ac_cv_func_isinff" = x""yes; then :
60460 cat >>confdefs.h <<_ACEOF
60461 #define HAVE_ISINFF 1
60462 _ACEOF
60463
60464 fi
60465 done
60466
60467 else
60468
60469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60470 $as_echo_n "checking for _isinff declaration... " >&6; }
60471 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60472 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60473 $as_echo_n "(cached) " >&6
60474 else
60475
60476
60477 ac_ext=cpp
60478 ac_cpp='$CXXCPP $CPPFLAGS'
60479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60482
60483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60484 /* end confdefs.h. */
60485 #include <math.h>
60486 #ifdef HAVE_IEEEFP_H
60487 #include <ieeefp.h>
60488 #endif
60489
60490 int
60491 main ()
60492 {
60493 _isinff(0);
60494 ;
60495 return 0;
60496 }
60497 _ACEOF
60498 if ac_fn_cxx_try_compile "$LINENO"; then :
60499 glibcxx_cv_func__isinff_use=yes
60500 else
60501 glibcxx_cv_func__isinff_use=no
60502 fi
60503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60504 ac_ext=c
60505 ac_cpp='$CPP $CPPFLAGS'
60506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60509
60510
60511 fi
60512
60513 fi
60514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60515 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60516
60517 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60518 for ac_func in _isinff
60519 do :
60520 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60521 if test "x$ac_cv_func__isinff" = x""yes; then :
60522 cat >>confdefs.h <<_ACEOF
60523 #define HAVE__ISINFF 1
60524 _ACEOF
60525
60526 fi
60527 done
60528
60529 fi
60530 fi
60531
60532
60533
60534
60535
60536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60537 $as_echo_n "checking for atan2f declaration... " >&6; }
60538 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60539 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60540 $as_echo_n "(cached) " >&6
60541 else
60542
60543
60544 ac_ext=cpp
60545 ac_cpp='$CXXCPP $CPPFLAGS'
60546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60549
60550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60551 /* end confdefs.h. */
60552 #include <math.h>
60553 int
60554 main ()
60555 {
60556 atan2f(0, 0);
60557 ;
60558 return 0;
60559 }
60560 _ACEOF
60561 if ac_fn_cxx_try_compile "$LINENO"; then :
60562 glibcxx_cv_func_atan2f_use=yes
60563 else
60564 glibcxx_cv_func_atan2f_use=no
60565 fi
60566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60567 ac_ext=c
60568 ac_cpp='$CPP $CPPFLAGS'
60569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60572
60573
60574 fi
60575
60576 fi
60577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60578 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60579
60580 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60581 for ac_func in atan2f
60582 do :
60583 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60584 if test "x$ac_cv_func_atan2f" = x""yes; then :
60585 cat >>confdefs.h <<_ACEOF
60586 #define HAVE_ATAN2F 1
60587 _ACEOF
60588
60589 fi
60590 done
60591
60592 else
60593
60594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60595 $as_echo_n "checking for _atan2f declaration... " >&6; }
60596 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60597 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60598 $as_echo_n "(cached) " >&6
60599 else
60600
60601
60602 ac_ext=cpp
60603 ac_cpp='$CXXCPP $CPPFLAGS'
60604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60607
60608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60609 /* end confdefs.h. */
60610 #include <math.h>
60611 int
60612 main ()
60613 {
60614 _atan2f(0, 0);
60615 ;
60616 return 0;
60617 }
60618 _ACEOF
60619 if ac_fn_cxx_try_compile "$LINENO"; then :
60620 glibcxx_cv_func__atan2f_use=yes
60621 else
60622 glibcxx_cv_func__atan2f_use=no
60623 fi
60624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60625 ac_ext=c
60626 ac_cpp='$CPP $CPPFLAGS'
60627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60630
60631
60632 fi
60633
60634 fi
60635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60636 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60637
60638 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60639 for ac_func in _atan2f
60640 do :
60641 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60642 if test "x$ac_cv_func__atan2f" = x""yes; then :
60643 cat >>confdefs.h <<_ACEOF
60644 #define HAVE__ATAN2F 1
60645 _ACEOF
60646
60647 fi
60648 done
60649
60650 fi
60651 fi
60652
60653
60654
60655
60656
60657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60658 $as_echo_n "checking for fabsf declaration... " >&6; }
60659 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60660 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60661 $as_echo_n "(cached) " >&6
60662 else
60663
60664
60665 ac_ext=cpp
60666 ac_cpp='$CXXCPP $CPPFLAGS'
60667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60670
60671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60672 /* end confdefs.h. */
60673 #include <math.h>
60674 #ifdef HAVE_IEEEFP_H
60675 #include <ieeefp.h>
60676 #endif
60677
60678 int
60679 main ()
60680 {
60681 fabsf(0);
60682 ;
60683 return 0;
60684 }
60685 _ACEOF
60686 if ac_fn_cxx_try_compile "$LINENO"; then :
60687 glibcxx_cv_func_fabsf_use=yes
60688 else
60689 glibcxx_cv_func_fabsf_use=no
60690 fi
60691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60692 ac_ext=c
60693 ac_cpp='$CPP $CPPFLAGS'
60694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60697
60698
60699 fi
60700
60701 fi
60702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60703 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60704
60705 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60706 for ac_func in fabsf
60707 do :
60708 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60709 if test "x$ac_cv_func_fabsf" = x""yes; then :
60710 cat >>confdefs.h <<_ACEOF
60711 #define HAVE_FABSF 1
60712 _ACEOF
60713
60714 fi
60715 done
60716
60717 else
60718
60719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60720 $as_echo_n "checking for _fabsf declaration... " >&6; }
60721 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60722 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60723 $as_echo_n "(cached) " >&6
60724 else
60725
60726
60727 ac_ext=cpp
60728 ac_cpp='$CXXCPP $CPPFLAGS'
60729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60732
60733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60734 /* end confdefs.h. */
60735 #include <math.h>
60736 #ifdef HAVE_IEEEFP_H
60737 #include <ieeefp.h>
60738 #endif
60739
60740 int
60741 main ()
60742 {
60743 _fabsf(0);
60744 ;
60745 return 0;
60746 }
60747 _ACEOF
60748 if ac_fn_cxx_try_compile "$LINENO"; then :
60749 glibcxx_cv_func__fabsf_use=yes
60750 else
60751 glibcxx_cv_func__fabsf_use=no
60752 fi
60753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60754 ac_ext=c
60755 ac_cpp='$CPP $CPPFLAGS'
60756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60759
60760
60761 fi
60762
60763 fi
60764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60765 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60766
60767 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60768 for ac_func in _fabsf
60769 do :
60770 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60771 if test "x$ac_cv_func__fabsf" = x""yes; then :
60772 cat >>confdefs.h <<_ACEOF
60773 #define HAVE__FABSF 1
60774 _ACEOF
60775
60776 fi
60777 done
60778
60779 fi
60780 fi
60781
60782
60783
60784
60785
60786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60787 $as_echo_n "checking for fmodf declaration... " >&6; }
60788 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60789 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60790 $as_echo_n "(cached) " >&6
60791 else
60792
60793
60794 ac_ext=cpp
60795 ac_cpp='$CXXCPP $CPPFLAGS'
60796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60799
60800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60801 /* end confdefs.h. */
60802 #include <math.h>
60803 int
60804 main ()
60805 {
60806 fmodf(0, 0);
60807 ;
60808 return 0;
60809 }
60810 _ACEOF
60811 if ac_fn_cxx_try_compile "$LINENO"; then :
60812 glibcxx_cv_func_fmodf_use=yes
60813 else
60814 glibcxx_cv_func_fmodf_use=no
60815 fi
60816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60817 ac_ext=c
60818 ac_cpp='$CPP $CPPFLAGS'
60819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60822
60823
60824 fi
60825
60826 fi
60827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60828 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60829
60830 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60831 for ac_func in fmodf
60832 do :
60833 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60834 if test "x$ac_cv_func_fmodf" = x""yes; then :
60835 cat >>confdefs.h <<_ACEOF
60836 #define HAVE_FMODF 1
60837 _ACEOF
60838
60839 fi
60840 done
60841
60842 else
60843
60844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60845 $as_echo_n "checking for _fmodf declaration... " >&6; }
60846 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60847 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60848 $as_echo_n "(cached) " >&6
60849 else
60850
60851
60852 ac_ext=cpp
60853 ac_cpp='$CXXCPP $CPPFLAGS'
60854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60857
60858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60859 /* end confdefs.h. */
60860 #include <math.h>
60861 int
60862 main ()
60863 {
60864 _fmodf(0, 0);
60865 ;
60866 return 0;
60867 }
60868 _ACEOF
60869 if ac_fn_cxx_try_compile "$LINENO"; then :
60870 glibcxx_cv_func__fmodf_use=yes
60871 else
60872 glibcxx_cv_func__fmodf_use=no
60873 fi
60874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60875 ac_ext=c
60876 ac_cpp='$CPP $CPPFLAGS'
60877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60880
60881
60882 fi
60883
60884 fi
60885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60886 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60887
60888 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60889 for ac_func in _fmodf
60890 do :
60891 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60892 if test "x$ac_cv_func__fmodf" = x""yes; then :
60893 cat >>confdefs.h <<_ACEOF
60894 #define HAVE__FMODF 1
60895 _ACEOF
60896
60897 fi
60898 done
60899
60900 fi
60901 fi
60902
60903
60904
60905
60906
60907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60908 $as_echo_n "checking for frexpf declaration... " >&6; }
60909 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60910 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60911 $as_echo_n "(cached) " >&6
60912 else
60913
60914
60915 ac_ext=cpp
60916 ac_cpp='$CXXCPP $CPPFLAGS'
60917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60920
60921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60922 /* end confdefs.h. */
60923 #include <math.h>
60924 int
60925 main ()
60926 {
60927 frexpf(0, 0);
60928 ;
60929 return 0;
60930 }
60931 _ACEOF
60932 if ac_fn_cxx_try_compile "$LINENO"; then :
60933 glibcxx_cv_func_frexpf_use=yes
60934 else
60935 glibcxx_cv_func_frexpf_use=no
60936 fi
60937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60938 ac_ext=c
60939 ac_cpp='$CPP $CPPFLAGS'
60940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60943
60944
60945 fi
60946
60947 fi
60948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60949 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60950
60951 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60952 for ac_func in frexpf
60953 do :
60954 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60955 if test "x$ac_cv_func_frexpf" = x""yes; then :
60956 cat >>confdefs.h <<_ACEOF
60957 #define HAVE_FREXPF 1
60958 _ACEOF
60959
60960 fi
60961 done
60962
60963 else
60964
60965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60966 $as_echo_n "checking for _frexpf declaration... " >&6; }
60967 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60968 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60969 $as_echo_n "(cached) " >&6
60970 else
60971
60972
60973 ac_ext=cpp
60974 ac_cpp='$CXXCPP $CPPFLAGS'
60975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60978
60979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60980 /* end confdefs.h. */
60981 #include <math.h>
60982 int
60983 main ()
60984 {
60985 _frexpf(0, 0);
60986 ;
60987 return 0;
60988 }
60989 _ACEOF
60990 if ac_fn_cxx_try_compile "$LINENO"; then :
60991 glibcxx_cv_func__frexpf_use=yes
60992 else
60993 glibcxx_cv_func__frexpf_use=no
60994 fi
60995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60996 ac_ext=c
60997 ac_cpp='$CPP $CPPFLAGS'
60998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61001
61002
61003 fi
61004
61005 fi
61006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61007 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61008
61009 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61010 for ac_func in _frexpf
61011 do :
61012 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61013 if test "x$ac_cv_func__frexpf" = x""yes; then :
61014 cat >>confdefs.h <<_ACEOF
61015 #define HAVE__FREXPF 1
61016 _ACEOF
61017
61018 fi
61019 done
61020
61021 fi
61022 fi
61023
61024
61025
61026
61027
61028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61029 $as_echo_n "checking for hypotf declaration... " >&6; }
61030 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61031 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61032 $as_echo_n "(cached) " >&6
61033 else
61034
61035
61036 ac_ext=cpp
61037 ac_cpp='$CXXCPP $CPPFLAGS'
61038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61041
61042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61043 /* end confdefs.h. */
61044 #include <math.h>
61045 int
61046 main ()
61047 {
61048 hypotf(0, 0);
61049 ;
61050 return 0;
61051 }
61052 _ACEOF
61053 if ac_fn_cxx_try_compile "$LINENO"; then :
61054 glibcxx_cv_func_hypotf_use=yes
61055 else
61056 glibcxx_cv_func_hypotf_use=no
61057 fi
61058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61059 ac_ext=c
61060 ac_cpp='$CPP $CPPFLAGS'
61061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61064
61065
61066 fi
61067
61068 fi
61069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61070 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61071
61072 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61073 for ac_func in hypotf
61074 do :
61075 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61076 if test "x$ac_cv_func_hypotf" = x""yes; then :
61077 cat >>confdefs.h <<_ACEOF
61078 #define HAVE_HYPOTF 1
61079 _ACEOF
61080
61081 fi
61082 done
61083
61084 else
61085
61086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61087 $as_echo_n "checking for _hypotf declaration... " >&6; }
61088 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61089 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61090 $as_echo_n "(cached) " >&6
61091 else
61092
61093
61094 ac_ext=cpp
61095 ac_cpp='$CXXCPP $CPPFLAGS'
61096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61099
61100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61101 /* end confdefs.h. */
61102 #include <math.h>
61103 int
61104 main ()
61105 {
61106 _hypotf(0, 0);
61107 ;
61108 return 0;
61109 }
61110 _ACEOF
61111 if ac_fn_cxx_try_compile "$LINENO"; then :
61112 glibcxx_cv_func__hypotf_use=yes
61113 else
61114 glibcxx_cv_func__hypotf_use=no
61115 fi
61116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61117 ac_ext=c
61118 ac_cpp='$CPP $CPPFLAGS'
61119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61122
61123
61124 fi
61125
61126 fi
61127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61128 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61129
61130 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61131 for ac_func in _hypotf
61132 do :
61133 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61134 if test "x$ac_cv_func__hypotf" = x""yes; then :
61135 cat >>confdefs.h <<_ACEOF
61136 #define HAVE__HYPOTF 1
61137 _ACEOF
61138
61139 fi
61140 done
61141
61142 fi
61143 fi
61144
61145
61146
61147
61148
61149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61150 $as_echo_n "checking for ldexpf declaration... " >&6; }
61151 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61152 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61153 $as_echo_n "(cached) " >&6
61154 else
61155
61156
61157 ac_ext=cpp
61158 ac_cpp='$CXXCPP $CPPFLAGS'
61159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61162
61163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61164 /* end confdefs.h. */
61165 #include <math.h>
61166 int
61167 main ()
61168 {
61169 ldexpf(0, 0);
61170 ;
61171 return 0;
61172 }
61173 _ACEOF
61174 if ac_fn_cxx_try_compile "$LINENO"; then :
61175 glibcxx_cv_func_ldexpf_use=yes
61176 else
61177 glibcxx_cv_func_ldexpf_use=no
61178 fi
61179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61180 ac_ext=c
61181 ac_cpp='$CPP $CPPFLAGS'
61182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61185
61186
61187 fi
61188
61189 fi
61190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61191 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61192
61193 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61194 for ac_func in ldexpf
61195 do :
61196 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61197 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61198 cat >>confdefs.h <<_ACEOF
61199 #define HAVE_LDEXPF 1
61200 _ACEOF
61201
61202 fi
61203 done
61204
61205 else
61206
61207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61208 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61209 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61210 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61211 $as_echo_n "(cached) " >&6
61212 else
61213
61214
61215 ac_ext=cpp
61216 ac_cpp='$CXXCPP $CPPFLAGS'
61217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61220
61221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61222 /* end confdefs.h. */
61223 #include <math.h>
61224 int
61225 main ()
61226 {
61227 _ldexpf(0, 0);
61228 ;
61229 return 0;
61230 }
61231 _ACEOF
61232 if ac_fn_cxx_try_compile "$LINENO"; then :
61233 glibcxx_cv_func__ldexpf_use=yes
61234 else
61235 glibcxx_cv_func__ldexpf_use=no
61236 fi
61237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61238 ac_ext=c
61239 ac_cpp='$CPP $CPPFLAGS'
61240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61243
61244
61245 fi
61246
61247 fi
61248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61249 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61250
61251 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61252 for ac_func in _ldexpf
61253 do :
61254 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61255 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61256 cat >>confdefs.h <<_ACEOF
61257 #define HAVE__LDEXPF 1
61258 _ACEOF
61259
61260 fi
61261 done
61262
61263 fi
61264 fi
61265
61266
61267
61268
61269
61270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61271 $as_echo_n "checking for logf declaration... " >&6; }
61272 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61273 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61274 $as_echo_n "(cached) " >&6
61275 else
61276
61277
61278 ac_ext=cpp
61279 ac_cpp='$CXXCPP $CPPFLAGS'
61280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61283
61284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61285 /* end confdefs.h. */
61286 #include <math.h>
61287 #ifdef HAVE_IEEEFP_H
61288 #include <ieeefp.h>
61289 #endif
61290
61291 int
61292 main ()
61293 {
61294 logf(0);
61295 ;
61296 return 0;
61297 }
61298 _ACEOF
61299 if ac_fn_cxx_try_compile "$LINENO"; then :
61300 glibcxx_cv_func_logf_use=yes
61301 else
61302 glibcxx_cv_func_logf_use=no
61303 fi
61304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61305 ac_ext=c
61306 ac_cpp='$CPP $CPPFLAGS'
61307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61310
61311
61312 fi
61313
61314 fi
61315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61316 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61317
61318 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61319 for ac_func in logf
61320 do :
61321 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61322 if test "x$ac_cv_func_logf" = x""yes; then :
61323 cat >>confdefs.h <<_ACEOF
61324 #define HAVE_LOGF 1
61325 _ACEOF
61326
61327 fi
61328 done
61329
61330 else
61331
61332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61333 $as_echo_n "checking for _logf declaration... " >&6; }
61334 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61335 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61336 $as_echo_n "(cached) " >&6
61337 else
61338
61339
61340 ac_ext=cpp
61341 ac_cpp='$CXXCPP $CPPFLAGS'
61342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61345
61346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61347 /* end confdefs.h. */
61348 #include <math.h>
61349 #ifdef HAVE_IEEEFP_H
61350 #include <ieeefp.h>
61351 #endif
61352
61353 int
61354 main ()
61355 {
61356 _logf(0);
61357 ;
61358 return 0;
61359 }
61360 _ACEOF
61361 if ac_fn_cxx_try_compile "$LINENO"; then :
61362 glibcxx_cv_func__logf_use=yes
61363 else
61364 glibcxx_cv_func__logf_use=no
61365 fi
61366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61367 ac_ext=c
61368 ac_cpp='$CPP $CPPFLAGS'
61369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61372
61373
61374 fi
61375
61376 fi
61377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61378 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61379
61380 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61381 for ac_func in _logf
61382 do :
61383 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61384 if test "x$ac_cv_func__logf" = x""yes; then :
61385 cat >>confdefs.h <<_ACEOF
61386 #define HAVE__LOGF 1
61387 _ACEOF
61388
61389 fi
61390 done
61391
61392 fi
61393 fi
61394
61395
61396
61397
61398
61399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61400 $as_echo_n "checking for log10f declaration... " >&6; }
61401 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61402 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61403 $as_echo_n "(cached) " >&6
61404 else
61405
61406
61407 ac_ext=cpp
61408 ac_cpp='$CXXCPP $CPPFLAGS'
61409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61412
61413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61414 /* end confdefs.h. */
61415 #include <math.h>
61416 #ifdef HAVE_IEEEFP_H
61417 #include <ieeefp.h>
61418 #endif
61419
61420 int
61421 main ()
61422 {
61423 log10f(0);
61424 ;
61425 return 0;
61426 }
61427 _ACEOF
61428 if ac_fn_cxx_try_compile "$LINENO"; then :
61429 glibcxx_cv_func_log10f_use=yes
61430 else
61431 glibcxx_cv_func_log10f_use=no
61432 fi
61433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61434 ac_ext=c
61435 ac_cpp='$CPP $CPPFLAGS'
61436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61439
61440
61441 fi
61442
61443 fi
61444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61445 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61446
61447 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61448 for ac_func in log10f
61449 do :
61450 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61451 if test "x$ac_cv_func_log10f" = x""yes; then :
61452 cat >>confdefs.h <<_ACEOF
61453 #define HAVE_LOG10F 1
61454 _ACEOF
61455
61456 fi
61457 done
61458
61459 else
61460
61461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61462 $as_echo_n "checking for _log10f declaration... " >&6; }
61463 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61464 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61465 $as_echo_n "(cached) " >&6
61466 else
61467
61468
61469 ac_ext=cpp
61470 ac_cpp='$CXXCPP $CPPFLAGS'
61471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61474
61475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61476 /* end confdefs.h. */
61477 #include <math.h>
61478 #ifdef HAVE_IEEEFP_H
61479 #include <ieeefp.h>
61480 #endif
61481
61482 int
61483 main ()
61484 {
61485 _log10f(0);
61486 ;
61487 return 0;
61488 }
61489 _ACEOF
61490 if ac_fn_cxx_try_compile "$LINENO"; then :
61491 glibcxx_cv_func__log10f_use=yes
61492 else
61493 glibcxx_cv_func__log10f_use=no
61494 fi
61495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61496 ac_ext=c
61497 ac_cpp='$CPP $CPPFLAGS'
61498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61501
61502
61503 fi
61504
61505 fi
61506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61507 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61508
61509 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61510 for ac_func in _log10f
61511 do :
61512 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61513 if test "x$ac_cv_func__log10f" = x""yes; then :
61514 cat >>confdefs.h <<_ACEOF
61515 #define HAVE__LOG10F 1
61516 _ACEOF
61517
61518 fi
61519 done
61520
61521 fi
61522 fi
61523
61524
61525
61526
61527
61528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61529 $as_echo_n "checking for modff declaration... " >&6; }
61530 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61531 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61532 $as_echo_n "(cached) " >&6
61533 else
61534
61535
61536 ac_ext=cpp
61537 ac_cpp='$CXXCPP $CPPFLAGS'
61538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61541
61542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61543 /* end confdefs.h. */
61544 #include <math.h>
61545 int
61546 main ()
61547 {
61548 modff(0, 0);
61549 ;
61550 return 0;
61551 }
61552 _ACEOF
61553 if ac_fn_cxx_try_compile "$LINENO"; then :
61554 glibcxx_cv_func_modff_use=yes
61555 else
61556 glibcxx_cv_func_modff_use=no
61557 fi
61558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61559 ac_ext=c
61560 ac_cpp='$CPP $CPPFLAGS'
61561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61564
61565
61566 fi
61567
61568 fi
61569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61570 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61571
61572 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61573 for ac_func in modff
61574 do :
61575 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61576 if test "x$ac_cv_func_modff" = x""yes; then :
61577 cat >>confdefs.h <<_ACEOF
61578 #define HAVE_MODFF 1
61579 _ACEOF
61580
61581 fi
61582 done
61583
61584 else
61585
61586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61587 $as_echo_n "checking for _modff declaration... " >&6; }
61588 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61589 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61590 $as_echo_n "(cached) " >&6
61591 else
61592
61593
61594 ac_ext=cpp
61595 ac_cpp='$CXXCPP $CPPFLAGS'
61596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61599
61600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61601 /* end confdefs.h. */
61602 #include <math.h>
61603 int
61604 main ()
61605 {
61606 _modff(0, 0);
61607 ;
61608 return 0;
61609 }
61610 _ACEOF
61611 if ac_fn_cxx_try_compile "$LINENO"; then :
61612 glibcxx_cv_func__modff_use=yes
61613 else
61614 glibcxx_cv_func__modff_use=no
61615 fi
61616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61617 ac_ext=c
61618 ac_cpp='$CPP $CPPFLAGS'
61619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61622
61623
61624 fi
61625
61626 fi
61627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61628 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61629
61630 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61631 for ac_func in _modff
61632 do :
61633 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61634 if test "x$ac_cv_func__modff" = x""yes; then :
61635 cat >>confdefs.h <<_ACEOF
61636 #define HAVE__MODFF 1
61637 _ACEOF
61638
61639 fi
61640 done
61641
61642 fi
61643 fi
61644
61645
61646
61647
61648
61649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61650 $as_echo_n "checking for modf declaration... " >&6; }
61651 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61652 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61653 $as_echo_n "(cached) " >&6
61654 else
61655
61656
61657 ac_ext=cpp
61658 ac_cpp='$CXXCPP $CPPFLAGS'
61659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61662
61663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61664 /* end confdefs.h. */
61665 #include <math.h>
61666 int
61667 main ()
61668 {
61669 modf(0, 0);
61670 ;
61671 return 0;
61672 }
61673 _ACEOF
61674 if ac_fn_cxx_try_compile "$LINENO"; then :
61675 glibcxx_cv_func_modf_use=yes
61676 else
61677 glibcxx_cv_func_modf_use=no
61678 fi
61679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61680 ac_ext=c
61681 ac_cpp='$CPP $CPPFLAGS'
61682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61685
61686
61687 fi
61688
61689 fi
61690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61691 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61692
61693 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61694 for ac_func in modf
61695 do :
61696 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61697 if test "x$ac_cv_func_modf" = x""yes; then :
61698 cat >>confdefs.h <<_ACEOF
61699 #define HAVE_MODF 1
61700 _ACEOF
61701
61702 fi
61703 done
61704
61705 else
61706
61707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61708 $as_echo_n "checking for _modf declaration... " >&6; }
61709 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61710 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61711 $as_echo_n "(cached) " >&6
61712 else
61713
61714
61715 ac_ext=cpp
61716 ac_cpp='$CXXCPP $CPPFLAGS'
61717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61720
61721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61722 /* end confdefs.h. */
61723 #include <math.h>
61724 int
61725 main ()
61726 {
61727 _modf(0, 0);
61728 ;
61729 return 0;
61730 }
61731 _ACEOF
61732 if ac_fn_cxx_try_compile "$LINENO"; then :
61733 glibcxx_cv_func__modf_use=yes
61734 else
61735 glibcxx_cv_func__modf_use=no
61736 fi
61737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61738 ac_ext=c
61739 ac_cpp='$CPP $CPPFLAGS'
61740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61743
61744
61745 fi
61746
61747 fi
61748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61749 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61750
61751 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61752 for ac_func in _modf
61753 do :
61754 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61755 if test "x$ac_cv_func__modf" = x""yes; then :
61756 cat >>confdefs.h <<_ACEOF
61757 #define HAVE__MODF 1
61758 _ACEOF
61759
61760 fi
61761 done
61762
61763 fi
61764 fi
61765
61766
61767
61768
61769
61770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61771 $as_echo_n "checking for powf declaration... " >&6; }
61772 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61773 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61774 $as_echo_n "(cached) " >&6
61775 else
61776
61777
61778 ac_ext=cpp
61779 ac_cpp='$CXXCPP $CPPFLAGS'
61780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61783
61784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61785 /* end confdefs.h. */
61786 #include <math.h>
61787 int
61788 main ()
61789 {
61790 powf(0, 0);
61791 ;
61792 return 0;
61793 }
61794 _ACEOF
61795 if ac_fn_cxx_try_compile "$LINENO"; then :
61796 glibcxx_cv_func_powf_use=yes
61797 else
61798 glibcxx_cv_func_powf_use=no
61799 fi
61800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61801 ac_ext=c
61802 ac_cpp='$CPP $CPPFLAGS'
61803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61806
61807
61808 fi
61809
61810 fi
61811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61812 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61813
61814 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61815 for ac_func in powf
61816 do :
61817 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61818 if test "x$ac_cv_func_powf" = x""yes; then :
61819 cat >>confdefs.h <<_ACEOF
61820 #define HAVE_POWF 1
61821 _ACEOF
61822
61823 fi
61824 done
61825
61826 else
61827
61828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61829 $as_echo_n "checking for _powf declaration... " >&6; }
61830 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61831 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61832 $as_echo_n "(cached) " >&6
61833 else
61834
61835
61836 ac_ext=cpp
61837 ac_cpp='$CXXCPP $CPPFLAGS'
61838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61841
61842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61843 /* end confdefs.h. */
61844 #include <math.h>
61845 int
61846 main ()
61847 {
61848 _powf(0, 0);
61849 ;
61850 return 0;
61851 }
61852 _ACEOF
61853 if ac_fn_cxx_try_compile "$LINENO"; then :
61854 glibcxx_cv_func__powf_use=yes
61855 else
61856 glibcxx_cv_func__powf_use=no
61857 fi
61858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61859 ac_ext=c
61860 ac_cpp='$CPP $CPPFLAGS'
61861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61864
61865
61866 fi
61867
61868 fi
61869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61870 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61871
61872 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61873 for ac_func in _powf
61874 do :
61875 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61876 if test "x$ac_cv_func__powf" = x""yes; then :
61877 cat >>confdefs.h <<_ACEOF
61878 #define HAVE__POWF 1
61879 _ACEOF
61880
61881 fi
61882 done
61883
61884 fi
61885 fi
61886
61887
61888
61889
61890
61891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61892 $as_echo_n "checking for sqrtf declaration... " >&6; }
61893 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61894 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61895 $as_echo_n "(cached) " >&6
61896 else
61897
61898
61899 ac_ext=cpp
61900 ac_cpp='$CXXCPP $CPPFLAGS'
61901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61904
61905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61906 /* end confdefs.h. */
61907 #include <math.h>
61908 #ifdef HAVE_IEEEFP_H
61909 #include <ieeefp.h>
61910 #endif
61911
61912 int
61913 main ()
61914 {
61915 sqrtf(0);
61916 ;
61917 return 0;
61918 }
61919 _ACEOF
61920 if ac_fn_cxx_try_compile "$LINENO"; then :
61921 glibcxx_cv_func_sqrtf_use=yes
61922 else
61923 glibcxx_cv_func_sqrtf_use=no
61924 fi
61925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61926 ac_ext=c
61927 ac_cpp='$CPP $CPPFLAGS'
61928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61931
61932
61933 fi
61934
61935 fi
61936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61937 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61938
61939 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61940 for ac_func in sqrtf
61941 do :
61942 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61943 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61944 cat >>confdefs.h <<_ACEOF
61945 #define HAVE_SQRTF 1
61946 _ACEOF
61947
61948 fi
61949 done
61950
61951 else
61952
61953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61954 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61955 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61956 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61957 $as_echo_n "(cached) " >&6
61958 else
61959
61960
61961 ac_ext=cpp
61962 ac_cpp='$CXXCPP $CPPFLAGS'
61963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61966
61967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61968 /* end confdefs.h. */
61969 #include <math.h>
61970 #ifdef HAVE_IEEEFP_H
61971 #include <ieeefp.h>
61972 #endif
61973
61974 int
61975 main ()
61976 {
61977 _sqrtf(0);
61978 ;
61979 return 0;
61980 }
61981 _ACEOF
61982 if ac_fn_cxx_try_compile "$LINENO"; then :
61983 glibcxx_cv_func__sqrtf_use=yes
61984 else
61985 glibcxx_cv_func__sqrtf_use=no
61986 fi
61987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61988 ac_ext=c
61989 ac_cpp='$CPP $CPPFLAGS'
61990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61993
61994
61995 fi
61996
61997 fi
61998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61999 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62000
62001 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62002 for ac_func in _sqrtf
62003 do :
62004 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62005 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62006 cat >>confdefs.h <<_ACEOF
62007 #define HAVE__SQRTF 1
62008 _ACEOF
62009
62010 fi
62011 done
62012
62013 fi
62014 fi
62015
62016
62017
62018
62019
62020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62021 $as_echo_n "checking for sincosf declaration... " >&6; }
62022 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62023 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62024 $as_echo_n "(cached) " >&6
62025 else
62026
62027
62028 ac_ext=cpp
62029 ac_cpp='$CXXCPP $CPPFLAGS'
62030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62033
62034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62035 /* end confdefs.h. */
62036 #include <math.h>
62037 int
62038 main ()
62039 {
62040 sincosf(0, 0, 0);
62041 ;
62042 return 0;
62043 }
62044 _ACEOF
62045 if ac_fn_cxx_try_compile "$LINENO"; then :
62046 glibcxx_cv_func_sincosf_use=yes
62047 else
62048 glibcxx_cv_func_sincosf_use=no
62049 fi
62050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62051 ac_ext=c
62052 ac_cpp='$CPP $CPPFLAGS'
62053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62056
62057
62058 fi
62059
62060 fi
62061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62062 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62063
62064 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62065 for ac_func in sincosf
62066 do :
62067 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62068 if test "x$ac_cv_func_sincosf" = x""yes; then :
62069 cat >>confdefs.h <<_ACEOF
62070 #define HAVE_SINCOSF 1
62071 _ACEOF
62072
62073 fi
62074 done
62075
62076 else
62077
62078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62079 $as_echo_n "checking for _sincosf declaration... " >&6; }
62080 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62081 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62082 $as_echo_n "(cached) " >&6
62083 else
62084
62085
62086 ac_ext=cpp
62087 ac_cpp='$CXXCPP $CPPFLAGS'
62088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62091
62092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62093 /* end confdefs.h. */
62094 #include <math.h>
62095 int
62096 main ()
62097 {
62098 _sincosf(0, 0, 0);
62099 ;
62100 return 0;
62101 }
62102 _ACEOF
62103 if ac_fn_cxx_try_compile "$LINENO"; then :
62104 glibcxx_cv_func__sincosf_use=yes
62105 else
62106 glibcxx_cv_func__sincosf_use=no
62107 fi
62108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62109 ac_ext=c
62110 ac_cpp='$CPP $CPPFLAGS'
62111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62114
62115
62116 fi
62117
62118 fi
62119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62120 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62121
62122 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62123 for ac_func in _sincosf
62124 do :
62125 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62126 if test "x$ac_cv_func__sincosf" = x""yes; then :
62127 cat >>confdefs.h <<_ACEOF
62128 #define HAVE__SINCOSF 1
62129 _ACEOF
62130
62131 fi
62132 done
62133
62134 fi
62135 fi
62136
62137
62138
62139
62140
62141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62142 $as_echo_n "checking for finitef declaration... " >&6; }
62143 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62144 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62145 $as_echo_n "(cached) " >&6
62146 else
62147
62148
62149 ac_ext=cpp
62150 ac_cpp='$CXXCPP $CPPFLAGS'
62151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62154
62155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62156 /* end confdefs.h. */
62157 #include <math.h>
62158 #ifdef HAVE_IEEEFP_H
62159 #include <ieeefp.h>
62160 #endif
62161
62162 int
62163 main ()
62164 {
62165 finitef(0);
62166 ;
62167 return 0;
62168 }
62169 _ACEOF
62170 if ac_fn_cxx_try_compile "$LINENO"; then :
62171 glibcxx_cv_func_finitef_use=yes
62172 else
62173 glibcxx_cv_func_finitef_use=no
62174 fi
62175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62176 ac_ext=c
62177 ac_cpp='$CPP $CPPFLAGS'
62178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62181
62182
62183 fi
62184
62185 fi
62186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62187 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62188
62189 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62190 for ac_func in finitef
62191 do :
62192 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62193 if test "x$ac_cv_func_finitef" = x""yes; then :
62194 cat >>confdefs.h <<_ACEOF
62195 #define HAVE_FINITEF 1
62196 _ACEOF
62197
62198 fi
62199 done
62200
62201 else
62202
62203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62204 $as_echo_n "checking for _finitef declaration... " >&6; }
62205 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62206 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62207 $as_echo_n "(cached) " >&6
62208 else
62209
62210
62211 ac_ext=cpp
62212 ac_cpp='$CXXCPP $CPPFLAGS'
62213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62216
62217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62218 /* end confdefs.h. */
62219 #include <math.h>
62220 #ifdef HAVE_IEEEFP_H
62221 #include <ieeefp.h>
62222 #endif
62223
62224 int
62225 main ()
62226 {
62227 _finitef(0);
62228 ;
62229 return 0;
62230 }
62231 _ACEOF
62232 if ac_fn_cxx_try_compile "$LINENO"; then :
62233 glibcxx_cv_func__finitef_use=yes
62234 else
62235 glibcxx_cv_func__finitef_use=no
62236 fi
62237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62238 ac_ext=c
62239 ac_cpp='$CPP $CPPFLAGS'
62240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62243
62244
62245 fi
62246
62247 fi
62248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62249 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62250
62251 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62252 for ac_func in _finitef
62253 do :
62254 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62255 if test "x$ac_cv_func__finitef" = x""yes; then :
62256 cat >>confdefs.h <<_ACEOF
62257 #define HAVE__FINITEF 1
62258 _ACEOF
62259
62260 fi
62261 done
62262
62263 fi
62264 fi
62265
62266
62267
62268
62269
62270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62271 $as_echo_n "checking for long double trig functions... " >&6; }
62272 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62273 $as_echo_n "(cached) " >&6
62274 else
62275
62276
62277 ac_ext=cpp
62278 ac_cpp='$CXXCPP $CPPFLAGS'
62279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62282
62283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62284 /* end confdefs.h. */
62285 #include <math.h>
62286 int
62287 main ()
62288 {
62289 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62290 ;
62291 return 0;
62292 }
62293 _ACEOF
62294 if ac_fn_cxx_try_compile "$LINENO"; then :
62295 glibcxx_cv_func_long_double_trig_use=yes
62296 else
62297 glibcxx_cv_func_long_double_trig_use=no
62298 fi
62299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62300 ac_ext=c
62301 ac_cpp='$CPP $CPPFLAGS'
62302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62305
62306 fi
62307
62308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62309 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62310 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62311 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62312 do :
62313 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62314 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62315 eval as_val=\$$as_ac_var
62316 if test "x$as_val" = x""yes; then :
62317 cat >>confdefs.h <<_ACEOF
62318 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62319 _ACEOF
62320
62321 fi
62322 done
62323
62324 else
62325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62326 $as_echo_n "checking for _long double trig functions... " >&6; }
62327 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62328 $as_echo_n "(cached) " >&6
62329 else
62330
62331
62332 ac_ext=cpp
62333 ac_cpp='$CXXCPP $CPPFLAGS'
62334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62337
62338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62339 /* end confdefs.h. */
62340 #include <math.h>
62341 int
62342 main ()
62343 {
62344 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62345 ;
62346 return 0;
62347 }
62348 _ACEOF
62349 if ac_fn_cxx_try_compile "$LINENO"; then :
62350 glibcxx_cv_func__long_double_trig_use=yes
62351 else
62352 glibcxx_cv_func__long_double_trig_use=no
62353 fi
62354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62355 ac_ext=c
62356 ac_cpp='$CPP $CPPFLAGS'
62357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62360
62361 fi
62362
62363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62364 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62365 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62366 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62367 do :
62368 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62369 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62370 eval as_val=\$$as_ac_var
62371 if test "x$as_val" = x""yes; then :
62372 cat >>confdefs.h <<_ACEOF
62373 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62374 _ACEOF
62375
62376 fi
62377 done
62378
62379 fi
62380 fi
62381
62382
62383
62384
62385
62386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62387 $as_echo_n "checking for long double round functions... " >&6; }
62388 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62389 $as_echo_n "(cached) " >&6
62390 else
62391
62392
62393 ac_ext=cpp
62394 ac_cpp='$CXXCPP $CPPFLAGS'
62395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62398
62399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62400 /* end confdefs.h. */
62401 #include <math.h>
62402 int
62403 main ()
62404 {
62405 ceill (0); floorl (0);
62406 ;
62407 return 0;
62408 }
62409 _ACEOF
62410 if ac_fn_cxx_try_compile "$LINENO"; then :
62411 glibcxx_cv_func_long_double_round_use=yes
62412 else
62413 glibcxx_cv_func_long_double_round_use=no
62414 fi
62415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62416 ac_ext=c
62417 ac_cpp='$CPP $CPPFLAGS'
62418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62421
62422 fi
62423
62424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62425 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62426 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62427 for ac_func in ceill floorl
62428 do :
62429 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62430 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62431 eval as_val=\$$as_ac_var
62432 if test "x$as_val" = x""yes; then :
62433 cat >>confdefs.h <<_ACEOF
62434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62435 _ACEOF
62436
62437 fi
62438 done
62439
62440 else
62441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62442 $as_echo_n "checking for _long double round functions... " >&6; }
62443 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62444 $as_echo_n "(cached) " >&6
62445 else
62446
62447
62448 ac_ext=cpp
62449 ac_cpp='$CXXCPP $CPPFLAGS'
62450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62453
62454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62455 /* end confdefs.h. */
62456 #include <math.h>
62457 int
62458 main ()
62459 {
62460 _ceill (0); _floorl (0);
62461 ;
62462 return 0;
62463 }
62464 _ACEOF
62465 if ac_fn_cxx_try_compile "$LINENO"; then :
62466 glibcxx_cv_func__long_double_round_use=yes
62467 else
62468 glibcxx_cv_func__long_double_round_use=no
62469 fi
62470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62471 ac_ext=c
62472 ac_cpp='$CPP $CPPFLAGS'
62473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62476
62477 fi
62478
62479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62480 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62481 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62482 for ac_func in _ceill _floorl
62483 do :
62484 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62485 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62486 eval as_val=\$$as_ac_var
62487 if test "x$as_val" = x""yes; then :
62488 cat >>confdefs.h <<_ACEOF
62489 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62490 _ACEOF
62491
62492 fi
62493 done
62494
62495 fi
62496 fi
62497
62498
62499
62500
62501
62502
62503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62504 $as_echo_n "checking for isnanl declaration... " >&6; }
62505 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62506 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62507 $as_echo_n "(cached) " >&6
62508 else
62509
62510
62511 ac_ext=cpp
62512 ac_cpp='$CXXCPP $CPPFLAGS'
62513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62516
62517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62518 /* end confdefs.h. */
62519 #include <math.h>
62520 #ifdef HAVE_IEEEFP_H
62521 #include <ieeefp.h>
62522 #endif
62523
62524 int
62525 main ()
62526 {
62527 isnanl(0);
62528 ;
62529 return 0;
62530 }
62531 _ACEOF
62532 if ac_fn_cxx_try_compile "$LINENO"; then :
62533 glibcxx_cv_func_isnanl_use=yes
62534 else
62535 glibcxx_cv_func_isnanl_use=no
62536 fi
62537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62538 ac_ext=c
62539 ac_cpp='$CPP $CPPFLAGS'
62540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62543
62544
62545 fi
62546
62547 fi
62548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62549 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62550
62551 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62552 for ac_func in isnanl
62553 do :
62554 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62555 if test "x$ac_cv_func_isnanl" = x""yes; then :
62556 cat >>confdefs.h <<_ACEOF
62557 #define HAVE_ISNANL 1
62558 _ACEOF
62559
62560 fi
62561 done
62562
62563 else
62564
62565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62566 $as_echo_n "checking for _isnanl declaration... " >&6; }
62567 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62568 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62569 $as_echo_n "(cached) " >&6
62570 else
62571
62572
62573 ac_ext=cpp
62574 ac_cpp='$CXXCPP $CPPFLAGS'
62575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62578
62579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62580 /* end confdefs.h. */
62581 #include <math.h>
62582 #ifdef HAVE_IEEEFP_H
62583 #include <ieeefp.h>
62584 #endif
62585
62586 int
62587 main ()
62588 {
62589 _isnanl(0);
62590 ;
62591 return 0;
62592 }
62593 _ACEOF
62594 if ac_fn_cxx_try_compile "$LINENO"; then :
62595 glibcxx_cv_func__isnanl_use=yes
62596 else
62597 glibcxx_cv_func__isnanl_use=no
62598 fi
62599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62600 ac_ext=c
62601 ac_cpp='$CPP $CPPFLAGS'
62602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62605
62606
62607 fi
62608
62609 fi
62610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62611 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62612
62613 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62614 for ac_func in _isnanl
62615 do :
62616 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62617 if test "x$ac_cv_func__isnanl" = x""yes; then :
62618 cat >>confdefs.h <<_ACEOF
62619 #define HAVE__ISNANL 1
62620 _ACEOF
62621
62622 fi
62623 done
62624
62625 fi
62626 fi
62627
62628
62629
62630
62631
62632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62633 $as_echo_n "checking for isinfl declaration... " >&6; }
62634 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62635 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62636 $as_echo_n "(cached) " >&6
62637 else
62638
62639
62640 ac_ext=cpp
62641 ac_cpp='$CXXCPP $CPPFLAGS'
62642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62645
62646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62647 /* end confdefs.h. */
62648 #include <math.h>
62649 #ifdef HAVE_IEEEFP_H
62650 #include <ieeefp.h>
62651 #endif
62652
62653 int
62654 main ()
62655 {
62656 isinfl(0);
62657 ;
62658 return 0;
62659 }
62660 _ACEOF
62661 if ac_fn_cxx_try_compile "$LINENO"; then :
62662 glibcxx_cv_func_isinfl_use=yes
62663 else
62664 glibcxx_cv_func_isinfl_use=no
62665 fi
62666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62667 ac_ext=c
62668 ac_cpp='$CPP $CPPFLAGS'
62669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62672
62673
62674 fi
62675
62676 fi
62677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62678 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62679
62680 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62681 for ac_func in isinfl
62682 do :
62683 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62684 if test "x$ac_cv_func_isinfl" = x""yes; then :
62685 cat >>confdefs.h <<_ACEOF
62686 #define HAVE_ISINFL 1
62687 _ACEOF
62688
62689 fi
62690 done
62691
62692 else
62693
62694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62695 $as_echo_n "checking for _isinfl declaration... " >&6; }
62696 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62697 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62698 $as_echo_n "(cached) " >&6
62699 else
62700
62701
62702 ac_ext=cpp
62703 ac_cpp='$CXXCPP $CPPFLAGS'
62704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62707
62708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62709 /* end confdefs.h. */
62710 #include <math.h>
62711 #ifdef HAVE_IEEEFP_H
62712 #include <ieeefp.h>
62713 #endif
62714
62715 int
62716 main ()
62717 {
62718 _isinfl(0);
62719 ;
62720 return 0;
62721 }
62722 _ACEOF
62723 if ac_fn_cxx_try_compile "$LINENO"; then :
62724 glibcxx_cv_func__isinfl_use=yes
62725 else
62726 glibcxx_cv_func__isinfl_use=no
62727 fi
62728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62729 ac_ext=c
62730 ac_cpp='$CPP $CPPFLAGS'
62731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62734
62735
62736 fi
62737
62738 fi
62739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62740 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62741
62742 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62743 for ac_func in _isinfl
62744 do :
62745 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62746 if test "x$ac_cv_func__isinfl" = x""yes; then :
62747 cat >>confdefs.h <<_ACEOF
62748 #define HAVE__ISINFL 1
62749 _ACEOF
62750
62751 fi
62752 done
62753
62754 fi
62755 fi
62756
62757
62758
62759
62760
62761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62762 $as_echo_n "checking for atan2l declaration... " >&6; }
62763 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62764 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62765 $as_echo_n "(cached) " >&6
62766 else
62767
62768
62769 ac_ext=cpp
62770 ac_cpp='$CXXCPP $CPPFLAGS'
62771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62774
62775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62776 /* end confdefs.h. */
62777 #include <math.h>
62778 int
62779 main ()
62780 {
62781 atan2l(0, 0);
62782 ;
62783 return 0;
62784 }
62785 _ACEOF
62786 if ac_fn_cxx_try_compile "$LINENO"; then :
62787 glibcxx_cv_func_atan2l_use=yes
62788 else
62789 glibcxx_cv_func_atan2l_use=no
62790 fi
62791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62792 ac_ext=c
62793 ac_cpp='$CPP $CPPFLAGS'
62794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62797
62798
62799 fi
62800
62801 fi
62802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62803 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62804
62805 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62806 for ac_func in atan2l
62807 do :
62808 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62809 if test "x$ac_cv_func_atan2l" = x""yes; then :
62810 cat >>confdefs.h <<_ACEOF
62811 #define HAVE_ATAN2L 1
62812 _ACEOF
62813
62814 fi
62815 done
62816
62817 else
62818
62819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62820 $as_echo_n "checking for _atan2l declaration... " >&6; }
62821 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62822 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62823 $as_echo_n "(cached) " >&6
62824 else
62825
62826
62827 ac_ext=cpp
62828 ac_cpp='$CXXCPP $CPPFLAGS'
62829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62832
62833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62834 /* end confdefs.h. */
62835 #include <math.h>
62836 int
62837 main ()
62838 {
62839 _atan2l(0, 0);
62840 ;
62841 return 0;
62842 }
62843 _ACEOF
62844 if ac_fn_cxx_try_compile "$LINENO"; then :
62845 glibcxx_cv_func__atan2l_use=yes
62846 else
62847 glibcxx_cv_func__atan2l_use=no
62848 fi
62849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62850 ac_ext=c
62851 ac_cpp='$CPP $CPPFLAGS'
62852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62855
62856
62857 fi
62858
62859 fi
62860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62861 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62862
62863 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62864 for ac_func in _atan2l
62865 do :
62866 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62867 if test "x$ac_cv_func__atan2l" = x""yes; then :
62868 cat >>confdefs.h <<_ACEOF
62869 #define HAVE__ATAN2L 1
62870 _ACEOF
62871
62872 fi
62873 done
62874
62875 fi
62876 fi
62877
62878
62879
62880
62881
62882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62883 $as_echo_n "checking for expl declaration... " >&6; }
62884 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62885 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62886 $as_echo_n "(cached) " >&6
62887 else
62888
62889
62890 ac_ext=cpp
62891 ac_cpp='$CXXCPP $CPPFLAGS'
62892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62895
62896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62897 /* end confdefs.h. */
62898 #include <math.h>
62899 #ifdef HAVE_IEEEFP_H
62900 #include <ieeefp.h>
62901 #endif
62902
62903 int
62904 main ()
62905 {
62906 expl(0);
62907 ;
62908 return 0;
62909 }
62910 _ACEOF
62911 if ac_fn_cxx_try_compile "$LINENO"; then :
62912 glibcxx_cv_func_expl_use=yes
62913 else
62914 glibcxx_cv_func_expl_use=no
62915 fi
62916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62917 ac_ext=c
62918 ac_cpp='$CPP $CPPFLAGS'
62919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62922
62923
62924 fi
62925
62926 fi
62927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62928 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62929
62930 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62931 for ac_func in expl
62932 do :
62933 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62934 if test "x$ac_cv_func_expl" = x""yes; then :
62935 cat >>confdefs.h <<_ACEOF
62936 #define HAVE_EXPL 1
62937 _ACEOF
62938
62939 fi
62940 done
62941
62942 else
62943
62944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62945 $as_echo_n "checking for _expl declaration... " >&6; }
62946 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62947 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62948 $as_echo_n "(cached) " >&6
62949 else
62950
62951
62952 ac_ext=cpp
62953 ac_cpp='$CXXCPP $CPPFLAGS'
62954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62957
62958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62959 /* end confdefs.h. */
62960 #include <math.h>
62961 #ifdef HAVE_IEEEFP_H
62962 #include <ieeefp.h>
62963 #endif
62964
62965 int
62966 main ()
62967 {
62968 _expl(0);
62969 ;
62970 return 0;
62971 }
62972 _ACEOF
62973 if ac_fn_cxx_try_compile "$LINENO"; then :
62974 glibcxx_cv_func__expl_use=yes
62975 else
62976 glibcxx_cv_func__expl_use=no
62977 fi
62978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62979 ac_ext=c
62980 ac_cpp='$CPP $CPPFLAGS'
62981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62984
62985
62986 fi
62987
62988 fi
62989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62990 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62991
62992 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62993 for ac_func in _expl
62994 do :
62995 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62996 if test "x$ac_cv_func__expl" = x""yes; then :
62997 cat >>confdefs.h <<_ACEOF
62998 #define HAVE__EXPL 1
62999 _ACEOF
63000
63001 fi
63002 done
63003
63004 fi
63005 fi
63006
63007
63008
63009
63010
63011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63012 $as_echo_n "checking for fabsl declaration... " >&6; }
63013 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63014 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63015 $as_echo_n "(cached) " >&6
63016 else
63017
63018
63019 ac_ext=cpp
63020 ac_cpp='$CXXCPP $CPPFLAGS'
63021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63024
63025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63026 /* end confdefs.h. */
63027 #include <math.h>
63028 #ifdef HAVE_IEEEFP_H
63029 #include <ieeefp.h>
63030 #endif
63031
63032 int
63033 main ()
63034 {
63035 fabsl(0);
63036 ;
63037 return 0;
63038 }
63039 _ACEOF
63040 if ac_fn_cxx_try_compile "$LINENO"; then :
63041 glibcxx_cv_func_fabsl_use=yes
63042 else
63043 glibcxx_cv_func_fabsl_use=no
63044 fi
63045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63046 ac_ext=c
63047 ac_cpp='$CPP $CPPFLAGS'
63048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63051
63052
63053 fi
63054
63055 fi
63056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63057 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63058
63059 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63060 for ac_func in fabsl
63061 do :
63062 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63063 if test "x$ac_cv_func_fabsl" = x""yes; then :
63064 cat >>confdefs.h <<_ACEOF
63065 #define HAVE_FABSL 1
63066 _ACEOF
63067
63068 fi
63069 done
63070
63071 else
63072
63073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63074 $as_echo_n "checking for _fabsl declaration... " >&6; }
63075 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63076 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63077 $as_echo_n "(cached) " >&6
63078 else
63079
63080
63081 ac_ext=cpp
63082 ac_cpp='$CXXCPP $CPPFLAGS'
63083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63086
63087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63088 /* end confdefs.h. */
63089 #include <math.h>
63090 #ifdef HAVE_IEEEFP_H
63091 #include <ieeefp.h>
63092 #endif
63093
63094 int
63095 main ()
63096 {
63097 _fabsl(0);
63098 ;
63099 return 0;
63100 }
63101 _ACEOF
63102 if ac_fn_cxx_try_compile "$LINENO"; then :
63103 glibcxx_cv_func__fabsl_use=yes
63104 else
63105 glibcxx_cv_func__fabsl_use=no
63106 fi
63107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63108 ac_ext=c
63109 ac_cpp='$CPP $CPPFLAGS'
63110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63113
63114
63115 fi
63116
63117 fi
63118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63119 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63120
63121 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63122 for ac_func in _fabsl
63123 do :
63124 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63125 if test "x$ac_cv_func__fabsl" = x""yes; then :
63126 cat >>confdefs.h <<_ACEOF
63127 #define HAVE__FABSL 1
63128 _ACEOF
63129
63130 fi
63131 done
63132
63133 fi
63134 fi
63135
63136
63137
63138
63139
63140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63141 $as_echo_n "checking for fmodl declaration... " >&6; }
63142 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63143 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63144 $as_echo_n "(cached) " >&6
63145 else
63146
63147
63148 ac_ext=cpp
63149 ac_cpp='$CXXCPP $CPPFLAGS'
63150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63153
63154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63155 /* end confdefs.h. */
63156 #include <math.h>
63157 int
63158 main ()
63159 {
63160 fmodl(0, 0);
63161 ;
63162 return 0;
63163 }
63164 _ACEOF
63165 if ac_fn_cxx_try_compile "$LINENO"; then :
63166 glibcxx_cv_func_fmodl_use=yes
63167 else
63168 glibcxx_cv_func_fmodl_use=no
63169 fi
63170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63171 ac_ext=c
63172 ac_cpp='$CPP $CPPFLAGS'
63173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63176
63177
63178 fi
63179
63180 fi
63181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63182 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63183
63184 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63185 for ac_func in fmodl
63186 do :
63187 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63188 if test "x$ac_cv_func_fmodl" = x""yes; then :
63189 cat >>confdefs.h <<_ACEOF
63190 #define HAVE_FMODL 1
63191 _ACEOF
63192
63193 fi
63194 done
63195
63196 else
63197
63198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63199 $as_echo_n "checking for _fmodl declaration... " >&6; }
63200 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63201 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63202 $as_echo_n "(cached) " >&6
63203 else
63204
63205
63206 ac_ext=cpp
63207 ac_cpp='$CXXCPP $CPPFLAGS'
63208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63211
63212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63213 /* end confdefs.h. */
63214 #include <math.h>
63215 int
63216 main ()
63217 {
63218 _fmodl(0, 0);
63219 ;
63220 return 0;
63221 }
63222 _ACEOF
63223 if ac_fn_cxx_try_compile "$LINENO"; then :
63224 glibcxx_cv_func__fmodl_use=yes
63225 else
63226 glibcxx_cv_func__fmodl_use=no
63227 fi
63228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63229 ac_ext=c
63230 ac_cpp='$CPP $CPPFLAGS'
63231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63234
63235
63236 fi
63237
63238 fi
63239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63240 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63241
63242 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63243 for ac_func in _fmodl
63244 do :
63245 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63246 if test "x$ac_cv_func__fmodl" = x""yes; then :
63247 cat >>confdefs.h <<_ACEOF
63248 #define HAVE__FMODL 1
63249 _ACEOF
63250
63251 fi
63252 done
63253
63254 fi
63255 fi
63256
63257
63258
63259
63260
63261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63262 $as_echo_n "checking for frexpl declaration... " >&6; }
63263 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63264 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63265 $as_echo_n "(cached) " >&6
63266 else
63267
63268
63269 ac_ext=cpp
63270 ac_cpp='$CXXCPP $CPPFLAGS'
63271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63274
63275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63276 /* end confdefs.h. */
63277 #include <math.h>
63278 int
63279 main ()
63280 {
63281 frexpl(0, 0);
63282 ;
63283 return 0;
63284 }
63285 _ACEOF
63286 if ac_fn_cxx_try_compile "$LINENO"; then :
63287 glibcxx_cv_func_frexpl_use=yes
63288 else
63289 glibcxx_cv_func_frexpl_use=no
63290 fi
63291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63292 ac_ext=c
63293 ac_cpp='$CPP $CPPFLAGS'
63294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63297
63298
63299 fi
63300
63301 fi
63302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63303 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63304
63305 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63306 for ac_func in frexpl
63307 do :
63308 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63309 if test "x$ac_cv_func_frexpl" = x""yes; then :
63310 cat >>confdefs.h <<_ACEOF
63311 #define HAVE_FREXPL 1
63312 _ACEOF
63313
63314 fi
63315 done
63316
63317 else
63318
63319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63320 $as_echo_n "checking for _frexpl declaration... " >&6; }
63321 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63322 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63323 $as_echo_n "(cached) " >&6
63324 else
63325
63326
63327 ac_ext=cpp
63328 ac_cpp='$CXXCPP $CPPFLAGS'
63329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63332
63333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63334 /* end confdefs.h. */
63335 #include <math.h>
63336 int
63337 main ()
63338 {
63339 _frexpl(0, 0);
63340 ;
63341 return 0;
63342 }
63343 _ACEOF
63344 if ac_fn_cxx_try_compile "$LINENO"; then :
63345 glibcxx_cv_func__frexpl_use=yes
63346 else
63347 glibcxx_cv_func__frexpl_use=no
63348 fi
63349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63350 ac_ext=c
63351 ac_cpp='$CPP $CPPFLAGS'
63352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63355
63356
63357 fi
63358
63359 fi
63360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63361 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63362
63363 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63364 for ac_func in _frexpl
63365 do :
63366 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63367 if test "x$ac_cv_func__frexpl" = x""yes; then :
63368 cat >>confdefs.h <<_ACEOF
63369 #define HAVE__FREXPL 1
63370 _ACEOF
63371
63372 fi
63373 done
63374
63375 fi
63376 fi
63377
63378
63379
63380
63381
63382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63383 $as_echo_n "checking for hypotl declaration... " >&6; }
63384 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63385 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63386 $as_echo_n "(cached) " >&6
63387 else
63388
63389
63390 ac_ext=cpp
63391 ac_cpp='$CXXCPP $CPPFLAGS'
63392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63395
63396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63397 /* end confdefs.h. */
63398 #include <math.h>
63399 int
63400 main ()
63401 {
63402 hypotl(0, 0);
63403 ;
63404 return 0;
63405 }
63406 _ACEOF
63407 if ac_fn_cxx_try_compile "$LINENO"; then :
63408 glibcxx_cv_func_hypotl_use=yes
63409 else
63410 glibcxx_cv_func_hypotl_use=no
63411 fi
63412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63413 ac_ext=c
63414 ac_cpp='$CPP $CPPFLAGS'
63415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63418
63419
63420 fi
63421
63422 fi
63423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63424 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63425
63426 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63427 for ac_func in hypotl
63428 do :
63429 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63430 if test "x$ac_cv_func_hypotl" = x""yes; then :
63431 cat >>confdefs.h <<_ACEOF
63432 #define HAVE_HYPOTL 1
63433 _ACEOF
63434
63435 fi
63436 done
63437
63438 else
63439
63440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63441 $as_echo_n "checking for _hypotl declaration... " >&6; }
63442 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63443 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63444 $as_echo_n "(cached) " >&6
63445 else
63446
63447
63448 ac_ext=cpp
63449 ac_cpp='$CXXCPP $CPPFLAGS'
63450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63453
63454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63455 /* end confdefs.h. */
63456 #include <math.h>
63457 int
63458 main ()
63459 {
63460 _hypotl(0, 0);
63461 ;
63462 return 0;
63463 }
63464 _ACEOF
63465 if ac_fn_cxx_try_compile "$LINENO"; then :
63466 glibcxx_cv_func__hypotl_use=yes
63467 else
63468 glibcxx_cv_func__hypotl_use=no
63469 fi
63470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63471 ac_ext=c
63472 ac_cpp='$CPP $CPPFLAGS'
63473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63476
63477
63478 fi
63479
63480 fi
63481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63482 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63483
63484 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63485 for ac_func in _hypotl
63486 do :
63487 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63488 if test "x$ac_cv_func__hypotl" = x""yes; then :
63489 cat >>confdefs.h <<_ACEOF
63490 #define HAVE__HYPOTL 1
63491 _ACEOF
63492
63493 fi
63494 done
63495
63496 fi
63497 fi
63498
63499
63500
63501
63502
63503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63504 $as_echo_n "checking for ldexpl declaration... " >&6; }
63505 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63506 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63507 $as_echo_n "(cached) " >&6
63508 else
63509
63510
63511 ac_ext=cpp
63512 ac_cpp='$CXXCPP $CPPFLAGS'
63513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63516
63517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63518 /* end confdefs.h. */
63519 #include <math.h>
63520 int
63521 main ()
63522 {
63523 ldexpl(0, 0);
63524 ;
63525 return 0;
63526 }
63527 _ACEOF
63528 if ac_fn_cxx_try_compile "$LINENO"; then :
63529 glibcxx_cv_func_ldexpl_use=yes
63530 else
63531 glibcxx_cv_func_ldexpl_use=no
63532 fi
63533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63534 ac_ext=c
63535 ac_cpp='$CPP $CPPFLAGS'
63536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63539
63540
63541 fi
63542
63543 fi
63544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63545 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63546
63547 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63548 for ac_func in ldexpl
63549 do :
63550 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63551 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63552 cat >>confdefs.h <<_ACEOF
63553 #define HAVE_LDEXPL 1
63554 _ACEOF
63555
63556 fi
63557 done
63558
63559 else
63560
63561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63562 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63563 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63564 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63565 $as_echo_n "(cached) " >&6
63566 else
63567
63568
63569 ac_ext=cpp
63570 ac_cpp='$CXXCPP $CPPFLAGS'
63571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63574
63575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63576 /* end confdefs.h. */
63577 #include <math.h>
63578 int
63579 main ()
63580 {
63581 _ldexpl(0, 0);
63582 ;
63583 return 0;
63584 }
63585 _ACEOF
63586 if ac_fn_cxx_try_compile "$LINENO"; then :
63587 glibcxx_cv_func__ldexpl_use=yes
63588 else
63589 glibcxx_cv_func__ldexpl_use=no
63590 fi
63591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63592 ac_ext=c
63593 ac_cpp='$CPP $CPPFLAGS'
63594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63597
63598
63599 fi
63600
63601 fi
63602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63603 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63604
63605 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63606 for ac_func in _ldexpl
63607 do :
63608 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63609 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63610 cat >>confdefs.h <<_ACEOF
63611 #define HAVE__LDEXPL 1
63612 _ACEOF
63613
63614 fi
63615 done
63616
63617 fi
63618 fi
63619
63620
63621
63622
63623
63624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63625 $as_echo_n "checking for logl declaration... " >&6; }
63626 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63627 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63628 $as_echo_n "(cached) " >&6
63629 else
63630
63631
63632 ac_ext=cpp
63633 ac_cpp='$CXXCPP $CPPFLAGS'
63634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63637
63638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63639 /* end confdefs.h. */
63640 #include <math.h>
63641 #ifdef HAVE_IEEEFP_H
63642 #include <ieeefp.h>
63643 #endif
63644
63645 int
63646 main ()
63647 {
63648 logl(0);
63649 ;
63650 return 0;
63651 }
63652 _ACEOF
63653 if ac_fn_cxx_try_compile "$LINENO"; then :
63654 glibcxx_cv_func_logl_use=yes
63655 else
63656 glibcxx_cv_func_logl_use=no
63657 fi
63658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63659 ac_ext=c
63660 ac_cpp='$CPP $CPPFLAGS'
63661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63664
63665
63666 fi
63667
63668 fi
63669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63670 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63671
63672 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63673 for ac_func in logl
63674 do :
63675 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63676 if test "x$ac_cv_func_logl" = x""yes; then :
63677 cat >>confdefs.h <<_ACEOF
63678 #define HAVE_LOGL 1
63679 _ACEOF
63680
63681 fi
63682 done
63683
63684 else
63685
63686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63687 $as_echo_n "checking for _logl declaration... " >&6; }
63688 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63689 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63690 $as_echo_n "(cached) " >&6
63691 else
63692
63693
63694 ac_ext=cpp
63695 ac_cpp='$CXXCPP $CPPFLAGS'
63696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63699
63700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63701 /* end confdefs.h. */
63702 #include <math.h>
63703 #ifdef HAVE_IEEEFP_H
63704 #include <ieeefp.h>
63705 #endif
63706
63707 int
63708 main ()
63709 {
63710 _logl(0);
63711 ;
63712 return 0;
63713 }
63714 _ACEOF
63715 if ac_fn_cxx_try_compile "$LINENO"; then :
63716 glibcxx_cv_func__logl_use=yes
63717 else
63718 glibcxx_cv_func__logl_use=no
63719 fi
63720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63721 ac_ext=c
63722 ac_cpp='$CPP $CPPFLAGS'
63723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63726
63727
63728 fi
63729
63730 fi
63731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63732 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63733
63734 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63735 for ac_func in _logl
63736 do :
63737 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63738 if test "x$ac_cv_func__logl" = x""yes; then :
63739 cat >>confdefs.h <<_ACEOF
63740 #define HAVE__LOGL 1
63741 _ACEOF
63742
63743 fi
63744 done
63745
63746 fi
63747 fi
63748
63749
63750
63751
63752
63753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63754 $as_echo_n "checking for log10l declaration... " >&6; }
63755 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63756 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63757 $as_echo_n "(cached) " >&6
63758 else
63759
63760
63761 ac_ext=cpp
63762 ac_cpp='$CXXCPP $CPPFLAGS'
63763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63766
63767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63768 /* end confdefs.h. */
63769 #include <math.h>
63770 #ifdef HAVE_IEEEFP_H
63771 #include <ieeefp.h>
63772 #endif
63773
63774 int
63775 main ()
63776 {
63777 log10l(0);
63778 ;
63779 return 0;
63780 }
63781 _ACEOF
63782 if ac_fn_cxx_try_compile "$LINENO"; then :
63783 glibcxx_cv_func_log10l_use=yes
63784 else
63785 glibcxx_cv_func_log10l_use=no
63786 fi
63787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63788 ac_ext=c
63789 ac_cpp='$CPP $CPPFLAGS'
63790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63793
63794
63795 fi
63796
63797 fi
63798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63799 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63800
63801 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63802 for ac_func in log10l
63803 do :
63804 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63805 if test "x$ac_cv_func_log10l" = x""yes; then :
63806 cat >>confdefs.h <<_ACEOF
63807 #define HAVE_LOG10L 1
63808 _ACEOF
63809
63810 fi
63811 done
63812
63813 else
63814
63815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63816 $as_echo_n "checking for _log10l declaration... " >&6; }
63817 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63818 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63819 $as_echo_n "(cached) " >&6
63820 else
63821
63822
63823 ac_ext=cpp
63824 ac_cpp='$CXXCPP $CPPFLAGS'
63825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63828
63829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63830 /* end confdefs.h. */
63831 #include <math.h>
63832 #ifdef HAVE_IEEEFP_H
63833 #include <ieeefp.h>
63834 #endif
63835
63836 int
63837 main ()
63838 {
63839 _log10l(0);
63840 ;
63841 return 0;
63842 }
63843 _ACEOF
63844 if ac_fn_cxx_try_compile "$LINENO"; then :
63845 glibcxx_cv_func__log10l_use=yes
63846 else
63847 glibcxx_cv_func__log10l_use=no
63848 fi
63849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63850 ac_ext=c
63851 ac_cpp='$CPP $CPPFLAGS'
63852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63855
63856
63857 fi
63858
63859 fi
63860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63861 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63862
63863 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63864 for ac_func in _log10l
63865 do :
63866 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63867 if test "x$ac_cv_func__log10l" = x""yes; then :
63868 cat >>confdefs.h <<_ACEOF
63869 #define HAVE__LOG10L 1
63870 _ACEOF
63871
63872 fi
63873 done
63874
63875 fi
63876 fi
63877
63878
63879
63880
63881
63882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63883 $as_echo_n "checking for modfl declaration... " >&6; }
63884 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63885 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63886 $as_echo_n "(cached) " >&6
63887 else
63888
63889
63890 ac_ext=cpp
63891 ac_cpp='$CXXCPP $CPPFLAGS'
63892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63895
63896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63897 /* end confdefs.h. */
63898 #include <math.h>
63899 int
63900 main ()
63901 {
63902 modfl(0, 0);
63903 ;
63904 return 0;
63905 }
63906 _ACEOF
63907 if ac_fn_cxx_try_compile "$LINENO"; then :
63908 glibcxx_cv_func_modfl_use=yes
63909 else
63910 glibcxx_cv_func_modfl_use=no
63911 fi
63912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63913 ac_ext=c
63914 ac_cpp='$CPP $CPPFLAGS'
63915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63918
63919
63920 fi
63921
63922 fi
63923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63924 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63925
63926 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63927 for ac_func in modfl
63928 do :
63929 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63930 if test "x$ac_cv_func_modfl" = x""yes; then :
63931 cat >>confdefs.h <<_ACEOF
63932 #define HAVE_MODFL 1
63933 _ACEOF
63934
63935 fi
63936 done
63937
63938 else
63939
63940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63941 $as_echo_n "checking for _modfl declaration... " >&6; }
63942 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63943 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63944 $as_echo_n "(cached) " >&6
63945 else
63946
63947
63948 ac_ext=cpp
63949 ac_cpp='$CXXCPP $CPPFLAGS'
63950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63953
63954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63955 /* end confdefs.h. */
63956 #include <math.h>
63957 int
63958 main ()
63959 {
63960 _modfl(0, 0);
63961 ;
63962 return 0;
63963 }
63964 _ACEOF
63965 if ac_fn_cxx_try_compile "$LINENO"; then :
63966 glibcxx_cv_func__modfl_use=yes
63967 else
63968 glibcxx_cv_func__modfl_use=no
63969 fi
63970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63971 ac_ext=c
63972 ac_cpp='$CPP $CPPFLAGS'
63973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63976
63977
63978 fi
63979
63980 fi
63981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63982 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63983
63984 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63985 for ac_func in _modfl
63986 do :
63987 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63988 if test "x$ac_cv_func__modfl" = x""yes; then :
63989 cat >>confdefs.h <<_ACEOF
63990 #define HAVE__MODFL 1
63991 _ACEOF
63992
63993 fi
63994 done
63995
63996 fi
63997 fi
63998
63999
64000
64001
64002
64003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64004 $as_echo_n "checking for powl declaration... " >&6; }
64005 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64006 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64007 $as_echo_n "(cached) " >&6
64008 else
64009
64010
64011 ac_ext=cpp
64012 ac_cpp='$CXXCPP $CPPFLAGS'
64013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64016
64017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64018 /* end confdefs.h. */
64019 #include <math.h>
64020 int
64021 main ()
64022 {
64023 powl(0, 0);
64024 ;
64025 return 0;
64026 }
64027 _ACEOF
64028 if ac_fn_cxx_try_compile "$LINENO"; then :
64029 glibcxx_cv_func_powl_use=yes
64030 else
64031 glibcxx_cv_func_powl_use=no
64032 fi
64033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64034 ac_ext=c
64035 ac_cpp='$CPP $CPPFLAGS'
64036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64039
64040
64041 fi
64042
64043 fi
64044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64045 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64046
64047 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64048 for ac_func in powl
64049 do :
64050 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64051 if test "x$ac_cv_func_powl" = x""yes; then :
64052 cat >>confdefs.h <<_ACEOF
64053 #define HAVE_POWL 1
64054 _ACEOF
64055
64056 fi
64057 done
64058
64059 else
64060
64061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64062 $as_echo_n "checking for _powl declaration... " >&6; }
64063 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64064 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64065 $as_echo_n "(cached) " >&6
64066 else
64067
64068
64069 ac_ext=cpp
64070 ac_cpp='$CXXCPP $CPPFLAGS'
64071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64074
64075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64076 /* end confdefs.h. */
64077 #include <math.h>
64078 int
64079 main ()
64080 {
64081 _powl(0, 0);
64082 ;
64083 return 0;
64084 }
64085 _ACEOF
64086 if ac_fn_cxx_try_compile "$LINENO"; then :
64087 glibcxx_cv_func__powl_use=yes
64088 else
64089 glibcxx_cv_func__powl_use=no
64090 fi
64091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64092 ac_ext=c
64093 ac_cpp='$CPP $CPPFLAGS'
64094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64097
64098
64099 fi
64100
64101 fi
64102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64103 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64104
64105 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64106 for ac_func in _powl
64107 do :
64108 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64109 if test "x$ac_cv_func__powl" = x""yes; then :
64110 cat >>confdefs.h <<_ACEOF
64111 #define HAVE__POWL 1
64112 _ACEOF
64113
64114 fi
64115 done
64116
64117 fi
64118 fi
64119
64120
64121
64122
64123
64124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64125 $as_echo_n "checking for sqrtl declaration... " >&6; }
64126 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64127 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64128 $as_echo_n "(cached) " >&6
64129 else
64130
64131
64132 ac_ext=cpp
64133 ac_cpp='$CXXCPP $CPPFLAGS'
64134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64137
64138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64139 /* end confdefs.h. */
64140 #include <math.h>
64141 #ifdef HAVE_IEEEFP_H
64142 #include <ieeefp.h>
64143 #endif
64144
64145 int
64146 main ()
64147 {
64148 sqrtl(0);
64149 ;
64150 return 0;
64151 }
64152 _ACEOF
64153 if ac_fn_cxx_try_compile "$LINENO"; then :
64154 glibcxx_cv_func_sqrtl_use=yes
64155 else
64156 glibcxx_cv_func_sqrtl_use=no
64157 fi
64158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64159 ac_ext=c
64160 ac_cpp='$CPP $CPPFLAGS'
64161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64164
64165
64166 fi
64167
64168 fi
64169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64170 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64171
64172 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64173 for ac_func in sqrtl
64174 do :
64175 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64176 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64177 cat >>confdefs.h <<_ACEOF
64178 #define HAVE_SQRTL 1
64179 _ACEOF
64180
64181 fi
64182 done
64183
64184 else
64185
64186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64187 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64188 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64189 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64190 $as_echo_n "(cached) " >&6
64191 else
64192
64193
64194 ac_ext=cpp
64195 ac_cpp='$CXXCPP $CPPFLAGS'
64196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64199
64200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64201 /* end confdefs.h. */
64202 #include <math.h>
64203 #ifdef HAVE_IEEEFP_H
64204 #include <ieeefp.h>
64205 #endif
64206
64207 int
64208 main ()
64209 {
64210 _sqrtl(0);
64211 ;
64212 return 0;
64213 }
64214 _ACEOF
64215 if ac_fn_cxx_try_compile "$LINENO"; then :
64216 glibcxx_cv_func__sqrtl_use=yes
64217 else
64218 glibcxx_cv_func__sqrtl_use=no
64219 fi
64220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64221 ac_ext=c
64222 ac_cpp='$CPP $CPPFLAGS'
64223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64226
64227
64228 fi
64229
64230 fi
64231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64232 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64233
64234 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64235 for ac_func in _sqrtl
64236 do :
64237 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64238 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64239 cat >>confdefs.h <<_ACEOF
64240 #define HAVE__SQRTL 1
64241 _ACEOF
64242
64243 fi
64244 done
64245
64246 fi
64247 fi
64248
64249
64250
64251
64252
64253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64254 $as_echo_n "checking for sincosl declaration... " >&6; }
64255 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64256 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64257 $as_echo_n "(cached) " >&6
64258 else
64259
64260
64261 ac_ext=cpp
64262 ac_cpp='$CXXCPP $CPPFLAGS'
64263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64266
64267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64268 /* end confdefs.h. */
64269 #include <math.h>
64270 int
64271 main ()
64272 {
64273 sincosl(0, 0, 0);
64274 ;
64275 return 0;
64276 }
64277 _ACEOF
64278 if ac_fn_cxx_try_compile "$LINENO"; then :
64279 glibcxx_cv_func_sincosl_use=yes
64280 else
64281 glibcxx_cv_func_sincosl_use=no
64282 fi
64283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64284 ac_ext=c
64285 ac_cpp='$CPP $CPPFLAGS'
64286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64289
64290
64291 fi
64292
64293 fi
64294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64295 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64296
64297 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64298 for ac_func in sincosl
64299 do :
64300 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64301 if test "x$ac_cv_func_sincosl" = x""yes; then :
64302 cat >>confdefs.h <<_ACEOF
64303 #define HAVE_SINCOSL 1
64304 _ACEOF
64305
64306 fi
64307 done
64308
64309 else
64310
64311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64312 $as_echo_n "checking for _sincosl declaration... " >&6; }
64313 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64314 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64315 $as_echo_n "(cached) " >&6
64316 else
64317
64318
64319 ac_ext=cpp
64320 ac_cpp='$CXXCPP $CPPFLAGS'
64321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64324
64325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64326 /* end confdefs.h. */
64327 #include <math.h>
64328 int
64329 main ()
64330 {
64331 _sincosl(0, 0, 0);
64332 ;
64333 return 0;
64334 }
64335 _ACEOF
64336 if ac_fn_cxx_try_compile "$LINENO"; then :
64337 glibcxx_cv_func__sincosl_use=yes
64338 else
64339 glibcxx_cv_func__sincosl_use=no
64340 fi
64341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64342 ac_ext=c
64343 ac_cpp='$CPP $CPPFLAGS'
64344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64347
64348
64349 fi
64350
64351 fi
64352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64353 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64354
64355 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64356 for ac_func in _sincosl
64357 do :
64358 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64359 if test "x$ac_cv_func__sincosl" = x""yes; then :
64360 cat >>confdefs.h <<_ACEOF
64361 #define HAVE__SINCOSL 1
64362 _ACEOF
64363
64364 fi
64365 done
64366
64367 fi
64368 fi
64369
64370
64371
64372
64373
64374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64375 $as_echo_n "checking for finitel declaration... " >&6; }
64376 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64377 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64378 $as_echo_n "(cached) " >&6
64379 else
64380
64381
64382 ac_ext=cpp
64383 ac_cpp='$CXXCPP $CPPFLAGS'
64384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64387
64388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64389 /* end confdefs.h. */
64390 #include <math.h>
64391 #ifdef HAVE_IEEEFP_H
64392 #include <ieeefp.h>
64393 #endif
64394
64395 int
64396 main ()
64397 {
64398 finitel(0);
64399 ;
64400 return 0;
64401 }
64402 _ACEOF
64403 if ac_fn_cxx_try_compile "$LINENO"; then :
64404 glibcxx_cv_func_finitel_use=yes
64405 else
64406 glibcxx_cv_func_finitel_use=no
64407 fi
64408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64409 ac_ext=c
64410 ac_cpp='$CPP $CPPFLAGS'
64411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64414
64415
64416 fi
64417
64418 fi
64419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64420 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64421
64422 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64423 for ac_func in finitel
64424 do :
64425 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64426 if test "x$ac_cv_func_finitel" = x""yes; then :
64427 cat >>confdefs.h <<_ACEOF
64428 #define HAVE_FINITEL 1
64429 _ACEOF
64430
64431 fi
64432 done
64433
64434 else
64435
64436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64437 $as_echo_n "checking for _finitel declaration... " >&6; }
64438 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64439 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64440 $as_echo_n "(cached) " >&6
64441 else
64442
64443
64444 ac_ext=cpp
64445 ac_cpp='$CXXCPP $CPPFLAGS'
64446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64449
64450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64451 /* end confdefs.h. */
64452 #include <math.h>
64453 #ifdef HAVE_IEEEFP_H
64454 #include <ieeefp.h>
64455 #endif
64456
64457 int
64458 main ()
64459 {
64460 _finitel(0);
64461 ;
64462 return 0;
64463 }
64464 _ACEOF
64465 if ac_fn_cxx_try_compile "$LINENO"; then :
64466 glibcxx_cv_func__finitel_use=yes
64467 else
64468 glibcxx_cv_func__finitel_use=no
64469 fi
64470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64471 ac_ext=c
64472 ac_cpp='$CPP $CPPFLAGS'
64473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64476
64477
64478 fi
64479
64480 fi
64481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64482 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64483
64484 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64485 for ac_func in _finitel
64486 do :
64487 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64488 if test "x$ac_cv_func__finitel" = x""yes; then :
64489 cat >>confdefs.h <<_ACEOF
64490 #define HAVE__FINITEL 1
64491 _ACEOF
64492
64493 fi
64494 done
64495
64496 fi
64497 fi
64498
64499
64500
64501
64502 LIBS="$ac_save_LIBS"
64503 CXXFLAGS="$ac_save_CXXFLAGS"
64504
64505
64506 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64507 ac_save_CXXFLAGS="$CXXFLAGS"
64508 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64509
64510
64511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64512 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64513 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64514 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64515 $as_echo_n "(cached) " >&6
64516 else
64517
64518
64519 ac_ext=cpp
64520 ac_cpp='$CXXCPP $CPPFLAGS'
64521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64524
64525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64526 /* end confdefs.h. */
64527 #include <stdlib.h>
64528 int
64529 main ()
64530 {
64531 at_quick_exit(0);
64532 ;
64533 return 0;
64534 }
64535 _ACEOF
64536 if ac_fn_cxx_try_compile "$LINENO"; then :
64537 glibcxx_cv_func_at_quick_exit_use=yes
64538 else
64539 glibcxx_cv_func_at_quick_exit_use=no
64540 fi
64541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64542 ac_ext=c
64543 ac_cpp='$CPP $CPPFLAGS'
64544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64547
64548
64549 fi
64550
64551 fi
64552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64553 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64554 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64555 for ac_func in at_quick_exit
64556 do :
64557 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64558 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64559 cat >>confdefs.h <<_ACEOF
64560 #define HAVE_AT_QUICK_EXIT 1
64561 _ACEOF
64562
64563 fi
64564 done
64565
64566 fi
64567
64568
64569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64570 $as_echo_n "checking for quick_exit declaration... " >&6; }
64571 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64572 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64573 $as_echo_n "(cached) " >&6
64574 else
64575
64576
64577 ac_ext=cpp
64578 ac_cpp='$CXXCPP $CPPFLAGS'
64579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64582
64583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64584 /* end confdefs.h. */
64585 #include <stdlib.h>
64586 int
64587 main ()
64588 {
64589 quick_exit(0);
64590 ;
64591 return 0;
64592 }
64593 _ACEOF
64594 if ac_fn_cxx_try_compile "$LINENO"; then :
64595 glibcxx_cv_func_quick_exit_use=yes
64596 else
64597 glibcxx_cv_func_quick_exit_use=no
64598 fi
64599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64600 ac_ext=c
64601 ac_cpp='$CPP $CPPFLAGS'
64602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64605
64606
64607 fi
64608
64609 fi
64610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64611 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64612 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64613 for ac_func in quick_exit
64614 do :
64615 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64616 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64617 cat >>confdefs.h <<_ACEOF
64618 #define HAVE_QUICK_EXIT 1
64619 _ACEOF
64620
64621 fi
64622 done
64623
64624 fi
64625
64626
64627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64628 $as_echo_n "checking for strtold declaration... " >&6; }
64629 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64630 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64631 $as_echo_n "(cached) " >&6
64632 else
64633
64634
64635 ac_ext=cpp
64636 ac_cpp='$CXXCPP $CPPFLAGS'
64637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64640
64641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64642 /* end confdefs.h. */
64643 #include <stdlib.h>
64644 int
64645 main ()
64646 {
64647 strtold(0, 0);
64648 ;
64649 return 0;
64650 }
64651 _ACEOF
64652 if ac_fn_cxx_try_compile "$LINENO"; then :
64653 glibcxx_cv_func_strtold_use=yes
64654 else
64655 glibcxx_cv_func_strtold_use=no
64656 fi
64657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64658 ac_ext=c
64659 ac_cpp='$CPP $CPPFLAGS'
64660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64663
64664
64665 fi
64666
64667 fi
64668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64669 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64670 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64671 for ac_func in strtold
64672 do :
64673 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64674 if test "x$ac_cv_func_strtold" = x""yes; then :
64675 cat >>confdefs.h <<_ACEOF
64676 #define HAVE_STRTOLD 1
64677 _ACEOF
64678
64679 fi
64680 done
64681
64682 fi
64683
64684
64685
64686
64687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64688 $as_echo_n "checking for strtof declaration... " >&6; }
64689 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64690 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64691 $as_echo_n "(cached) " >&6
64692 else
64693
64694
64695 ac_ext=cpp
64696 ac_cpp='$CXXCPP $CPPFLAGS'
64697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64700
64701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64702 /* end confdefs.h. */
64703 #include <stdlib.h>
64704 int
64705 main ()
64706 {
64707 strtof(0, 0);
64708 ;
64709 return 0;
64710 }
64711 _ACEOF
64712 if ac_fn_cxx_try_compile "$LINENO"; then :
64713 glibcxx_cv_func_strtof_use=yes
64714 else
64715 glibcxx_cv_func_strtof_use=no
64716 fi
64717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64718 ac_ext=c
64719 ac_cpp='$CPP $CPPFLAGS'
64720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64723
64724
64725 fi
64726
64727 fi
64728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64729 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64730 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64731 for ac_func in strtof
64732 do :
64733 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64734 if test "x$ac_cv_func_strtof" = x""yes; then :
64735 cat >>confdefs.h <<_ACEOF
64736 #define HAVE_STRTOF 1
64737 _ACEOF
64738
64739 fi
64740 done
64741
64742 fi
64743
64744
64745
64746
64747 CXXFLAGS="$ac_save_CXXFLAGS"
64748
64749 ;;
64750 *-solaris*)
64751 case "$target" in
64752 *-solaris2.9 | *-solaris2.10)
64753
64754 # If we're not using GNU ld, then there's no point in even trying these
64755 # tests. Check for that first. We should have already tested for gld
64756 # by now (in libtool), but require it now just to be safe...
64757 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64758 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64759
64760
64761
64762 # The name set by libtool depends on the version of libtool. Shame on us
64763 # for depending on an impl detail, but c'est la vie. Older versions used
64764 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64765 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64766 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64767 # set (hence we're using an older libtool), then set it.
64768 if test x${with_gnu_ld+set} != xset; then
64769 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64770 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64771 with_gnu_ld=no
64772 else
64773 with_gnu_ld=$ac_cv_prog_gnu_ld
64774 fi
64775 fi
64776
64777 # Start by getting the version number. I think the libtool test already
64778 # does some of this, but throws away the result.
64779 glibcxx_ld_is_gold=no
64780 if test x"$with_gnu_ld" = x"yes"; then
64781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64782 $as_echo_n "checking for ld version... " >&6; }
64783
64784 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64785 glibcxx_ld_is_gold=yes
64786 fi
64787 ldver=`$LD --version 2>/dev/null |
64788 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'`
64789
64790 glibcxx_gnu_ld_version=`echo $ldver | \
64791 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64793 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64794 fi
64795
64796 # Set --gc-sections.
64797 glibcxx_have_gc_sections=no
64798 if test "$glibcxx_ld_is_gold" = "yes"; then
64799 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64800 glibcxx_have_gc_sections=yes
64801 fi
64802 else
64803 glibcxx_gcsections_min_ld=21602
64804 if test x"$with_gnu_ld" = x"yes" &&
64805 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64806 glibcxx_have_gc_sections=yes
64807 fi
64808 fi
64809 if test "$glibcxx_have_gc_sections" = "yes"; then
64810 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64811 # NB: This flag only works reliably after 2.16.1. Configure tests
64812 # for this are difficult, so hard wire a value that should work.
64813
64814 ac_test_CFLAGS="${CFLAGS+set}"
64815 ac_save_CFLAGS="$CFLAGS"
64816 CFLAGS='-Wl,--gc-sections'
64817
64818 # Check for -Wl,--gc-sections
64819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64820 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64821 if test x$gcc_no_link = xyes; then
64822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64823 fi
64824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64825 /* end confdefs.h. */
64826 int one(void) { return 1; }
64827 int two(void) { return 2; }
64828
64829 int
64830 main ()
64831 {
64832 two();
64833 ;
64834 return 0;
64835 }
64836 _ACEOF
64837 if ac_fn_c_try_link "$LINENO"; then :
64838 ac_gcsections=yes
64839 else
64840 ac_gcsections=no
64841 fi
64842 rm -f core conftest.err conftest.$ac_objext \
64843 conftest$ac_exeext conftest.$ac_ext
64844 if test "$ac_gcsections" = "yes"; then
64845 rm -f conftest.c
64846 touch conftest.c
64847 if $CC -c conftest.c; then
64848 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64849 grep "Warning: gc-sections option ignored" > /dev/null; then
64850 ac_gcsections=no
64851 fi
64852 fi
64853 rm -f conftest.c conftest.o conftest
64854 fi
64855 if test "$ac_gcsections" = "yes"; then
64856 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64857 fi
64858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64859 $as_echo "$ac_gcsections" >&6; }
64860
64861 if test "$ac_test_CFLAGS" = set; then
64862 CFLAGS="$ac_save_CFLAGS"
64863 else
64864 # this is the suspicious part
64865 CFLAGS=''
64866 fi
64867 fi
64868
64869 # Set -z,relro.
64870 # Note this is only for shared objects.
64871 ac_ld_relro=no
64872 if test x"$with_gnu_ld" = x"yes"; then
64873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64874 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64875 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64876 if test -n "$cxx_z_relo"; then
64877 OPT_LDFLAGS="-Wl,-z,relro"
64878 ac_ld_relro=yes
64879 fi
64880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64881 $as_echo "$ac_ld_relro" >&6; }
64882 fi
64883
64884 # Set linker optimization flags.
64885 if test x"$with_gnu_ld" = x"yes"; then
64886 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64887 fi
64888
64889
64890
64891
64892 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
64893
64894 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64895
64896 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
64897
64898 # All of the dependencies for wide character support are here, so
64899 # turn it on.
64900 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
64901
64902 ;;
64903 esac
64904 case "$target" in
64905 *-*-solaris2.10)
64906 # These two C99 functions are present only in Solaris >= 10
64907 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
64908
64909 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
64910
64911 ;;
64912 esac
64913 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64914
64915 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64916
64917 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
64918
64919 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64920
64921 ;;
64922 *-tpf)
64923 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64924 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
64925
64926 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64927
64928 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64929
64930 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64931
64932 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64933
64934 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64935
64936 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64937
64938 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64939
64940 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64941
64942 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64943
64944 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
64945
64946 if test x"long_double_math_on_this_cpu" = x"yes"; then
64947 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64948
64949 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
64950
64951 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64952
64953 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64954
64955 fi
64956 ;;
64957 *-*vms*)
64958 # Check for available headers.
64959 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
64960
64961 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64962 ac_save_CXXFLAGS="$CXXFLAGS"
64963 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64964
64965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
64966 $as_echo_n "checking for sin in -lm... " >&6; }
64967 if test "${ac_cv_lib_m_sin+set}" = set; then :
64968 $as_echo_n "(cached) " >&6
64969 else
64970 ac_check_lib_save_LIBS=$LIBS
64971 LIBS="-lm $LIBS"
64972 if test x$gcc_no_link = xyes; then
64973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64974 fi
64975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64976 /* end confdefs.h. */
64977
64978 /* Override any GCC internal prototype to avoid an error.
64979 Use char because int might match the return type of a GCC
64980 builtin and then its argument prototype would still apply. */
64981 #ifdef __cplusplus
64982 extern "C"
64983 #endif
64984 char sin ();
64985 int
64986 main ()
64987 {
64988 return sin ();
64989 ;
64990 return 0;
64991 }
64992 _ACEOF
64993 if ac_fn_c_try_link "$LINENO"; then :
64994 ac_cv_lib_m_sin=yes
64995 else
64996 ac_cv_lib_m_sin=no
64997 fi
64998 rm -f core conftest.err conftest.$ac_objext \
64999 conftest$ac_exeext conftest.$ac_ext
65000 LIBS=$ac_check_lib_save_LIBS
65001 fi
65002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65003 $as_echo "$ac_cv_lib_m_sin" >&6; }
65004 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65005 libm="-lm"
65006 fi
65007
65008 ac_save_LIBS="$LIBS"
65009 LIBS="$LIBS $libm"
65010
65011
65012
65013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65014 $as_echo_n "checking for isinf declaration... " >&6; }
65015 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65016 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65017 $as_echo_n "(cached) " >&6
65018 else
65019
65020
65021 ac_ext=cpp
65022 ac_cpp='$CXXCPP $CPPFLAGS'
65023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65026
65027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65028 /* end confdefs.h. */
65029 #include <math.h>
65030 #ifdef HAVE_IEEEFP_H
65031 #include <ieeefp.h>
65032 #endif
65033
65034 int
65035 main ()
65036 {
65037 isinf(0);
65038 ;
65039 return 0;
65040 }
65041 _ACEOF
65042 if ac_fn_cxx_try_compile "$LINENO"; then :
65043 glibcxx_cv_func_isinf_use=yes
65044 else
65045 glibcxx_cv_func_isinf_use=no
65046 fi
65047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65048 ac_ext=c
65049 ac_cpp='$CPP $CPPFLAGS'
65050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65053
65054
65055 fi
65056
65057 fi
65058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65059 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65060
65061 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65062 for ac_func in isinf
65063 do :
65064 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65065 if test "x$ac_cv_func_isinf" = x""yes; then :
65066 cat >>confdefs.h <<_ACEOF
65067 #define HAVE_ISINF 1
65068 _ACEOF
65069
65070 fi
65071 done
65072
65073 else
65074
65075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65076 $as_echo_n "checking for _isinf declaration... " >&6; }
65077 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65078 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65079 $as_echo_n "(cached) " >&6
65080 else
65081
65082
65083 ac_ext=cpp
65084 ac_cpp='$CXXCPP $CPPFLAGS'
65085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65088
65089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65090 /* end confdefs.h. */
65091 #include <math.h>
65092 #ifdef HAVE_IEEEFP_H
65093 #include <ieeefp.h>
65094 #endif
65095
65096 int
65097 main ()
65098 {
65099 _isinf(0);
65100 ;
65101 return 0;
65102 }
65103 _ACEOF
65104 if ac_fn_cxx_try_compile "$LINENO"; then :
65105 glibcxx_cv_func__isinf_use=yes
65106 else
65107 glibcxx_cv_func__isinf_use=no
65108 fi
65109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65110 ac_ext=c
65111 ac_cpp='$CPP $CPPFLAGS'
65112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65115
65116
65117 fi
65118
65119 fi
65120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65121 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65122
65123 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65124 for ac_func in _isinf
65125 do :
65126 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65127 if test "x$ac_cv_func__isinf" = x""yes; then :
65128 cat >>confdefs.h <<_ACEOF
65129 #define HAVE__ISINF 1
65130 _ACEOF
65131
65132 fi
65133 done
65134
65135 fi
65136 fi
65137
65138
65139
65140
65141
65142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65143 $as_echo_n "checking for isnan declaration... " >&6; }
65144 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65145 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65146 $as_echo_n "(cached) " >&6
65147 else
65148
65149
65150 ac_ext=cpp
65151 ac_cpp='$CXXCPP $CPPFLAGS'
65152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65155
65156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65157 /* end confdefs.h. */
65158 #include <math.h>
65159 #ifdef HAVE_IEEEFP_H
65160 #include <ieeefp.h>
65161 #endif
65162
65163 int
65164 main ()
65165 {
65166 isnan(0);
65167 ;
65168 return 0;
65169 }
65170 _ACEOF
65171 if ac_fn_cxx_try_compile "$LINENO"; then :
65172 glibcxx_cv_func_isnan_use=yes
65173 else
65174 glibcxx_cv_func_isnan_use=no
65175 fi
65176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65177 ac_ext=c
65178 ac_cpp='$CPP $CPPFLAGS'
65179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65182
65183
65184 fi
65185
65186 fi
65187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65188 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65189
65190 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65191 for ac_func in isnan
65192 do :
65193 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65194 if test "x$ac_cv_func_isnan" = x""yes; then :
65195 cat >>confdefs.h <<_ACEOF
65196 #define HAVE_ISNAN 1
65197 _ACEOF
65198
65199 fi
65200 done
65201
65202 else
65203
65204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65205 $as_echo_n "checking for _isnan declaration... " >&6; }
65206 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65207 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65208 $as_echo_n "(cached) " >&6
65209 else
65210
65211
65212 ac_ext=cpp
65213 ac_cpp='$CXXCPP $CPPFLAGS'
65214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65217
65218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65219 /* end confdefs.h. */
65220 #include <math.h>
65221 #ifdef HAVE_IEEEFP_H
65222 #include <ieeefp.h>
65223 #endif
65224
65225 int
65226 main ()
65227 {
65228 _isnan(0);
65229 ;
65230 return 0;
65231 }
65232 _ACEOF
65233 if ac_fn_cxx_try_compile "$LINENO"; then :
65234 glibcxx_cv_func__isnan_use=yes
65235 else
65236 glibcxx_cv_func__isnan_use=no
65237 fi
65238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65239 ac_ext=c
65240 ac_cpp='$CPP $CPPFLAGS'
65241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65244
65245
65246 fi
65247
65248 fi
65249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65250 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65251
65252 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65253 for ac_func in _isnan
65254 do :
65255 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65256 if test "x$ac_cv_func__isnan" = x""yes; then :
65257 cat >>confdefs.h <<_ACEOF
65258 #define HAVE__ISNAN 1
65259 _ACEOF
65260
65261 fi
65262 done
65263
65264 fi
65265 fi
65266
65267
65268
65269
65270
65271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65272 $as_echo_n "checking for finite declaration... " >&6; }
65273 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65274 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65275 $as_echo_n "(cached) " >&6
65276 else
65277
65278
65279 ac_ext=cpp
65280 ac_cpp='$CXXCPP $CPPFLAGS'
65281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65284
65285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65286 /* end confdefs.h. */
65287 #include <math.h>
65288 #ifdef HAVE_IEEEFP_H
65289 #include <ieeefp.h>
65290 #endif
65291
65292 int
65293 main ()
65294 {
65295 finite(0);
65296 ;
65297 return 0;
65298 }
65299 _ACEOF
65300 if ac_fn_cxx_try_compile "$LINENO"; then :
65301 glibcxx_cv_func_finite_use=yes
65302 else
65303 glibcxx_cv_func_finite_use=no
65304 fi
65305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65306 ac_ext=c
65307 ac_cpp='$CPP $CPPFLAGS'
65308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65311
65312
65313 fi
65314
65315 fi
65316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65317 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65318
65319 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65320 for ac_func in finite
65321 do :
65322 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65323 if test "x$ac_cv_func_finite" = x""yes; then :
65324 cat >>confdefs.h <<_ACEOF
65325 #define HAVE_FINITE 1
65326 _ACEOF
65327
65328 fi
65329 done
65330
65331 else
65332
65333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65334 $as_echo_n "checking for _finite declaration... " >&6; }
65335 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65336 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65337 $as_echo_n "(cached) " >&6
65338 else
65339
65340
65341 ac_ext=cpp
65342 ac_cpp='$CXXCPP $CPPFLAGS'
65343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65346
65347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65348 /* end confdefs.h. */
65349 #include <math.h>
65350 #ifdef HAVE_IEEEFP_H
65351 #include <ieeefp.h>
65352 #endif
65353
65354 int
65355 main ()
65356 {
65357 _finite(0);
65358 ;
65359 return 0;
65360 }
65361 _ACEOF
65362 if ac_fn_cxx_try_compile "$LINENO"; then :
65363 glibcxx_cv_func__finite_use=yes
65364 else
65365 glibcxx_cv_func__finite_use=no
65366 fi
65367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65368 ac_ext=c
65369 ac_cpp='$CPP $CPPFLAGS'
65370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65373
65374
65375 fi
65376
65377 fi
65378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65379 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65380
65381 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65382 for ac_func in _finite
65383 do :
65384 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65385 if test "x$ac_cv_func__finite" = x""yes; then :
65386 cat >>confdefs.h <<_ACEOF
65387 #define HAVE__FINITE 1
65388 _ACEOF
65389
65390 fi
65391 done
65392
65393 fi
65394 fi
65395
65396
65397
65398
65399
65400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65401 $as_echo_n "checking for sincos declaration... " >&6; }
65402 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65403 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65404 $as_echo_n "(cached) " >&6
65405 else
65406
65407
65408 ac_ext=cpp
65409 ac_cpp='$CXXCPP $CPPFLAGS'
65410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65413
65414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65415 /* end confdefs.h. */
65416 #include <math.h>
65417 int
65418 main ()
65419 {
65420 sincos(0, 0, 0);
65421 ;
65422 return 0;
65423 }
65424 _ACEOF
65425 if ac_fn_cxx_try_compile "$LINENO"; then :
65426 glibcxx_cv_func_sincos_use=yes
65427 else
65428 glibcxx_cv_func_sincos_use=no
65429 fi
65430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65431 ac_ext=c
65432 ac_cpp='$CPP $CPPFLAGS'
65433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65436
65437
65438 fi
65439
65440 fi
65441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65442 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65443
65444 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65445 for ac_func in sincos
65446 do :
65447 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65448 if test "x$ac_cv_func_sincos" = x""yes; then :
65449 cat >>confdefs.h <<_ACEOF
65450 #define HAVE_SINCOS 1
65451 _ACEOF
65452
65453 fi
65454 done
65455
65456 else
65457
65458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65459 $as_echo_n "checking for _sincos declaration... " >&6; }
65460 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65461 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65462 $as_echo_n "(cached) " >&6
65463 else
65464
65465
65466 ac_ext=cpp
65467 ac_cpp='$CXXCPP $CPPFLAGS'
65468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65471
65472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65473 /* end confdefs.h. */
65474 #include <math.h>
65475 int
65476 main ()
65477 {
65478 _sincos(0, 0, 0);
65479 ;
65480 return 0;
65481 }
65482 _ACEOF
65483 if ac_fn_cxx_try_compile "$LINENO"; then :
65484 glibcxx_cv_func__sincos_use=yes
65485 else
65486 glibcxx_cv_func__sincos_use=no
65487 fi
65488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65489 ac_ext=c
65490 ac_cpp='$CPP $CPPFLAGS'
65491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65494
65495
65496 fi
65497
65498 fi
65499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65500 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65501
65502 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65503 for ac_func in _sincos
65504 do :
65505 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65506 if test "x$ac_cv_func__sincos" = x""yes; then :
65507 cat >>confdefs.h <<_ACEOF
65508 #define HAVE__SINCOS 1
65509 _ACEOF
65510
65511 fi
65512 done
65513
65514 fi
65515 fi
65516
65517
65518
65519
65520
65521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65522 $as_echo_n "checking for fpclass declaration... " >&6; }
65523 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65524 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65525 $as_echo_n "(cached) " >&6
65526 else
65527
65528
65529 ac_ext=cpp
65530 ac_cpp='$CXXCPP $CPPFLAGS'
65531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65534
65535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65536 /* end confdefs.h. */
65537 #include <math.h>
65538 #ifdef HAVE_IEEEFP_H
65539 #include <ieeefp.h>
65540 #endif
65541
65542 int
65543 main ()
65544 {
65545 fpclass(0);
65546 ;
65547 return 0;
65548 }
65549 _ACEOF
65550 if ac_fn_cxx_try_compile "$LINENO"; then :
65551 glibcxx_cv_func_fpclass_use=yes
65552 else
65553 glibcxx_cv_func_fpclass_use=no
65554 fi
65555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65556 ac_ext=c
65557 ac_cpp='$CPP $CPPFLAGS'
65558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65561
65562
65563 fi
65564
65565 fi
65566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65567 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65568
65569 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65570 for ac_func in fpclass
65571 do :
65572 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65573 if test "x$ac_cv_func_fpclass" = x""yes; then :
65574 cat >>confdefs.h <<_ACEOF
65575 #define HAVE_FPCLASS 1
65576 _ACEOF
65577
65578 fi
65579 done
65580
65581 else
65582
65583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65584 $as_echo_n "checking for _fpclass declaration... " >&6; }
65585 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65586 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65587 $as_echo_n "(cached) " >&6
65588 else
65589
65590
65591 ac_ext=cpp
65592 ac_cpp='$CXXCPP $CPPFLAGS'
65593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65596
65597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65598 /* end confdefs.h. */
65599 #include <math.h>
65600 #ifdef HAVE_IEEEFP_H
65601 #include <ieeefp.h>
65602 #endif
65603
65604 int
65605 main ()
65606 {
65607 _fpclass(0);
65608 ;
65609 return 0;
65610 }
65611 _ACEOF
65612 if ac_fn_cxx_try_compile "$LINENO"; then :
65613 glibcxx_cv_func__fpclass_use=yes
65614 else
65615 glibcxx_cv_func__fpclass_use=no
65616 fi
65617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65618 ac_ext=c
65619 ac_cpp='$CPP $CPPFLAGS'
65620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65623
65624
65625 fi
65626
65627 fi
65628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65629 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65630
65631 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65632 for ac_func in _fpclass
65633 do :
65634 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65635 if test "x$ac_cv_func__fpclass" = x""yes; then :
65636 cat >>confdefs.h <<_ACEOF
65637 #define HAVE__FPCLASS 1
65638 _ACEOF
65639
65640 fi
65641 done
65642
65643 fi
65644 fi
65645
65646
65647
65648
65649
65650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65651 $as_echo_n "checking for qfpclass declaration... " >&6; }
65652 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65653 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65654 $as_echo_n "(cached) " >&6
65655 else
65656
65657
65658 ac_ext=cpp
65659 ac_cpp='$CXXCPP $CPPFLAGS'
65660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65663
65664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65665 /* end confdefs.h. */
65666 #include <math.h>
65667 #ifdef HAVE_IEEEFP_H
65668 #include <ieeefp.h>
65669 #endif
65670
65671 int
65672 main ()
65673 {
65674 qfpclass(0);
65675 ;
65676 return 0;
65677 }
65678 _ACEOF
65679 if ac_fn_cxx_try_compile "$LINENO"; then :
65680 glibcxx_cv_func_qfpclass_use=yes
65681 else
65682 glibcxx_cv_func_qfpclass_use=no
65683 fi
65684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65685 ac_ext=c
65686 ac_cpp='$CPP $CPPFLAGS'
65687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65690
65691
65692 fi
65693
65694 fi
65695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
65696 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
65697
65698 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
65699 for ac_func in qfpclass
65700 do :
65701 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
65702 if test "x$ac_cv_func_qfpclass" = x""yes; then :
65703 cat >>confdefs.h <<_ACEOF
65704 #define HAVE_QFPCLASS 1
65705 _ACEOF
65706
65707 fi
65708 done
65709
65710 else
65711
65712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
65713 $as_echo_n "checking for _qfpclass declaration... " >&6; }
65714 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
65715 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
65716 $as_echo_n "(cached) " >&6
65717 else
65718
65719
65720 ac_ext=cpp
65721 ac_cpp='$CXXCPP $CPPFLAGS'
65722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65725
65726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65727 /* end confdefs.h. */
65728 #include <math.h>
65729 #ifdef HAVE_IEEEFP_H
65730 #include <ieeefp.h>
65731 #endif
65732
65733 int
65734 main ()
65735 {
65736 _qfpclass(0);
65737 ;
65738 return 0;
65739 }
65740 _ACEOF
65741 if ac_fn_cxx_try_compile "$LINENO"; then :
65742 glibcxx_cv_func__qfpclass_use=yes
65743 else
65744 glibcxx_cv_func__qfpclass_use=no
65745 fi
65746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65747 ac_ext=c
65748 ac_cpp='$CPP $CPPFLAGS'
65749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65752
65753
65754 fi
65755
65756 fi
65757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
65758 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
65759
65760 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
65761 for ac_func in _qfpclass
65762 do :
65763 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
65764 if test "x$ac_cv_func__qfpclass" = x""yes; then :
65765 cat >>confdefs.h <<_ACEOF
65766 #define HAVE__QFPCLASS 1
65767 _ACEOF
65768
65769 fi
65770 done
65771
65772 fi
65773 fi
65774
65775
65776
65777
65778
65779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
65780 $as_echo_n "checking for hypot declaration... " >&6; }
65781 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
65782 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
65783 $as_echo_n "(cached) " >&6
65784 else
65785
65786
65787 ac_ext=cpp
65788 ac_cpp='$CXXCPP $CPPFLAGS'
65789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65792
65793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65794 /* end confdefs.h. */
65795 #include <math.h>
65796 int
65797 main ()
65798 {
65799 hypot(0, 0);
65800 ;
65801 return 0;
65802 }
65803 _ACEOF
65804 if ac_fn_cxx_try_compile "$LINENO"; then :
65805 glibcxx_cv_func_hypot_use=yes
65806 else
65807 glibcxx_cv_func_hypot_use=no
65808 fi
65809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65810 ac_ext=c
65811 ac_cpp='$CPP $CPPFLAGS'
65812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65815
65816
65817 fi
65818
65819 fi
65820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
65821 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
65822
65823 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
65824 for ac_func in hypot
65825 do :
65826 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
65827 if test "x$ac_cv_func_hypot" = x""yes; then :
65828 cat >>confdefs.h <<_ACEOF
65829 #define HAVE_HYPOT 1
65830 _ACEOF
65831
65832 fi
65833 done
65834
65835 else
65836
65837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
65838 $as_echo_n "checking for _hypot declaration... " >&6; }
65839 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
65840 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
65841 $as_echo_n "(cached) " >&6
65842 else
65843
65844
65845 ac_ext=cpp
65846 ac_cpp='$CXXCPP $CPPFLAGS'
65847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65850
65851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65852 /* end confdefs.h. */
65853 #include <math.h>
65854 int
65855 main ()
65856 {
65857 _hypot(0, 0);
65858 ;
65859 return 0;
65860 }
65861 _ACEOF
65862 if ac_fn_cxx_try_compile "$LINENO"; then :
65863 glibcxx_cv_func__hypot_use=yes
65864 else
65865 glibcxx_cv_func__hypot_use=no
65866 fi
65867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65868 ac_ext=c
65869 ac_cpp='$CPP $CPPFLAGS'
65870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65873
65874
65875 fi
65876
65877 fi
65878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
65879 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
65880
65881 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
65882 for ac_func in _hypot
65883 do :
65884 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
65885 if test "x$ac_cv_func__hypot" = x""yes; then :
65886 cat >>confdefs.h <<_ACEOF
65887 #define HAVE__HYPOT 1
65888 _ACEOF
65889
65890 fi
65891 done
65892
65893 fi
65894 fi
65895
65896
65897
65898
65899
65900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
65901 $as_echo_n "checking for float trig functions... " >&6; }
65902 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
65903 $as_echo_n "(cached) " >&6
65904 else
65905
65906
65907 ac_ext=cpp
65908 ac_cpp='$CXXCPP $CPPFLAGS'
65909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65912
65913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65914 /* end confdefs.h. */
65915 #include <math.h>
65916 int
65917 main ()
65918 {
65919 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
65920 ;
65921 return 0;
65922 }
65923 _ACEOF
65924 if ac_fn_cxx_try_compile "$LINENO"; then :
65925 glibcxx_cv_func_float_trig_use=yes
65926 else
65927 glibcxx_cv_func_float_trig_use=no
65928 fi
65929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65930 ac_ext=c
65931 ac_cpp='$CPP $CPPFLAGS'
65932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65935
65936 fi
65937
65938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
65939 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
65940 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
65941 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
65942 do :
65943 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65944 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65945 eval as_val=\$$as_ac_var
65946 if test "x$as_val" = x""yes; then :
65947 cat >>confdefs.h <<_ACEOF
65948 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65949 _ACEOF
65950
65951 fi
65952 done
65953
65954 else
65955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
65956 $as_echo_n "checking for _float trig functions... " >&6; }
65957 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
65958 $as_echo_n "(cached) " >&6
65959 else
65960
65961
65962 ac_ext=cpp
65963 ac_cpp='$CXXCPP $CPPFLAGS'
65964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65967
65968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65969 /* end confdefs.h. */
65970 #include <math.h>
65971 int
65972 main ()
65973 {
65974 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
65975 ;
65976 return 0;
65977 }
65978 _ACEOF
65979 if ac_fn_cxx_try_compile "$LINENO"; then :
65980 glibcxx_cv_func__float_trig_use=yes
65981 else
65982 glibcxx_cv_func__float_trig_use=no
65983 fi
65984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65985 ac_ext=c
65986 ac_cpp='$CPP $CPPFLAGS'
65987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65990
65991 fi
65992
65993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
65994 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
65995 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
65996 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
65997 do :
65998 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65999 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66000 eval as_val=\$$as_ac_var
66001 if test "x$as_val" = x""yes; then :
66002 cat >>confdefs.h <<_ACEOF
66003 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66004 _ACEOF
66005
66006 fi
66007 done
66008
66009 fi
66010 fi
66011
66012
66013
66014
66015
66016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66017 $as_echo_n "checking for float round functions... " >&6; }
66018 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66019 $as_echo_n "(cached) " >&6
66020 else
66021
66022
66023 ac_ext=cpp
66024 ac_cpp='$CXXCPP $CPPFLAGS'
66025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66028
66029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66030 /* end confdefs.h. */
66031 #include <math.h>
66032 int
66033 main ()
66034 {
66035 ceilf (0); floorf (0);
66036 ;
66037 return 0;
66038 }
66039 _ACEOF
66040 if ac_fn_cxx_try_compile "$LINENO"; then :
66041 glibcxx_cv_func_float_round_use=yes
66042 else
66043 glibcxx_cv_func_float_round_use=no
66044 fi
66045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66046 ac_ext=c
66047 ac_cpp='$CPP $CPPFLAGS'
66048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66051
66052 fi
66053
66054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66055 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66056 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66057 for ac_func in ceilf floorf
66058 do :
66059 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66061 eval as_val=\$$as_ac_var
66062 if test "x$as_val" = x""yes; then :
66063 cat >>confdefs.h <<_ACEOF
66064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66065 _ACEOF
66066
66067 fi
66068 done
66069
66070 else
66071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66072 $as_echo_n "checking for _float round functions... " >&6; }
66073 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66074 $as_echo_n "(cached) " >&6
66075 else
66076
66077
66078 ac_ext=cpp
66079 ac_cpp='$CXXCPP $CPPFLAGS'
66080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66083
66084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66085 /* end confdefs.h. */
66086 #include <math.h>
66087 int
66088 main ()
66089 {
66090 _ceilf (0); _floorf (0);
66091 ;
66092 return 0;
66093 }
66094 _ACEOF
66095 if ac_fn_cxx_try_compile "$LINENO"; then :
66096 glibcxx_cv_func__float_round_use=yes
66097 else
66098 glibcxx_cv_func__float_round_use=no
66099 fi
66100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66101 ac_ext=c
66102 ac_cpp='$CPP $CPPFLAGS'
66103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66106
66107 fi
66108
66109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66110 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66111 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66112 for ac_func in _ceilf _floorf
66113 do :
66114 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66115 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66116 eval as_val=\$$as_ac_var
66117 if test "x$as_val" = x""yes; then :
66118 cat >>confdefs.h <<_ACEOF
66119 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66120 _ACEOF
66121
66122 fi
66123 done
66124
66125 fi
66126 fi
66127
66128
66129
66130
66131
66132
66133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66134 $as_echo_n "checking for expf declaration... " >&6; }
66135 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66136 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66137 $as_echo_n "(cached) " >&6
66138 else
66139
66140
66141 ac_ext=cpp
66142 ac_cpp='$CXXCPP $CPPFLAGS'
66143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66146
66147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66148 /* end confdefs.h. */
66149 #include <math.h>
66150 #ifdef HAVE_IEEEFP_H
66151 #include <ieeefp.h>
66152 #endif
66153
66154 int
66155 main ()
66156 {
66157 expf(0);
66158 ;
66159 return 0;
66160 }
66161 _ACEOF
66162 if ac_fn_cxx_try_compile "$LINENO"; then :
66163 glibcxx_cv_func_expf_use=yes
66164 else
66165 glibcxx_cv_func_expf_use=no
66166 fi
66167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66168 ac_ext=c
66169 ac_cpp='$CPP $CPPFLAGS'
66170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66173
66174
66175 fi
66176
66177 fi
66178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66179 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66180
66181 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66182 for ac_func in expf
66183 do :
66184 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66185 if test "x$ac_cv_func_expf" = x""yes; then :
66186 cat >>confdefs.h <<_ACEOF
66187 #define HAVE_EXPF 1
66188 _ACEOF
66189
66190 fi
66191 done
66192
66193 else
66194
66195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66196 $as_echo_n "checking for _expf declaration... " >&6; }
66197 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66198 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66199 $as_echo_n "(cached) " >&6
66200 else
66201
66202
66203 ac_ext=cpp
66204 ac_cpp='$CXXCPP $CPPFLAGS'
66205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66208
66209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66210 /* end confdefs.h. */
66211 #include <math.h>
66212 #ifdef HAVE_IEEEFP_H
66213 #include <ieeefp.h>
66214 #endif
66215
66216 int
66217 main ()
66218 {
66219 _expf(0);
66220 ;
66221 return 0;
66222 }
66223 _ACEOF
66224 if ac_fn_cxx_try_compile "$LINENO"; then :
66225 glibcxx_cv_func__expf_use=yes
66226 else
66227 glibcxx_cv_func__expf_use=no
66228 fi
66229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66230 ac_ext=c
66231 ac_cpp='$CPP $CPPFLAGS'
66232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66235
66236
66237 fi
66238
66239 fi
66240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66241 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66242
66243 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66244 for ac_func in _expf
66245 do :
66246 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66247 if test "x$ac_cv_func__expf" = x""yes; then :
66248 cat >>confdefs.h <<_ACEOF
66249 #define HAVE__EXPF 1
66250 _ACEOF
66251
66252 fi
66253 done
66254
66255 fi
66256 fi
66257
66258
66259
66260
66261
66262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66263 $as_echo_n "checking for isnanf declaration... " >&6; }
66264 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66265 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66266 $as_echo_n "(cached) " >&6
66267 else
66268
66269
66270 ac_ext=cpp
66271 ac_cpp='$CXXCPP $CPPFLAGS'
66272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66275
66276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66277 /* end confdefs.h. */
66278 #include <math.h>
66279 #ifdef HAVE_IEEEFP_H
66280 #include <ieeefp.h>
66281 #endif
66282
66283 int
66284 main ()
66285 {
66286 isnanf(0);
66287 ;
66288 return 0;
66289 }
66290 _ACEOF
66291 if ac_fn_cxx_try_compile "$LINENO"; then :
66292 glibcxx_cv_func_isnanf_use=yes
66293 else
66294 glibcxx_cv_func_isnanf_use=no
66295 fi
66296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66297 ac_ext=c
66298 ac_cpp='$CPP $CPPFLAGS'
66299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66302
66303
66304 fi
66305
66306 fi
66307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66308 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66309
66310 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66311 for ac_func in isnanf
66312 do :
66313 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66314 if test "x$ac_cv_func_isnanf" = x""yes; then :
66315 cat >>confdefs.h <<_ACEOF
66316 #define HAVE_ISNANF 1
66317 _ACEOF
66318
66319 fi
66320 done
66321
66322 else
66323
66324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66325 $as_echo_n "checking for _isnanf declaration... " >&6; }
66326 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66327 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66328 $as_echo_n "(cached) " >&6
66329 else
66330
66331
66332 ac_ext=cpp
66333 ac_cpp='$CXXCPP $CPPFLAGS'
66334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66337
66338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66339 /* end confdefs.h. */
66340 #include <math.h>
66341 #ifdef HAVE_IEEEFP_H
66342 #include <ieeefp.h>
66343 #endif
66344
66345 int
66346 main ()
66347 {
66348 _isnanf(0);
66349 ;
66350 return 0;
66351 }
66352 _ACEOF
66353 if ac_fn_cxx_try_compile "$LINENO"; then :
66354 glibcxx_cv_func__isnanf_use=yes
66355 else
66356 glibcxx_cv_func__isnanf_use=no
66357 fi
66358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66359 ac_ext=c
66360 ac_cpp='$CPP $CPPFLAGS'
66361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66364
66365
66366 fi
66367
66368 fi
66369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66370 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66371
66372 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66373 for ac_func in _isnanf
66374 do :
66375 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66376 if test "x$ac_cv_func__isnanf" = x""yes; then :
66377 cat >>confdefs.h <<_ACEOF
66378 #define HAVE__ISNANF 1
66379 _ACEOF
66380
66381 fi
66382 done
66383
66384 fi
66385 fi
66386
66387
66388
66389
66390
66391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66392 $as_echo_n "checking for isinff declaration... " >&6; }
66393 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66394 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66395 $as_echo_n "(cached) " >&6
66396 else
66397
66398
66399 ac_ext=cpp
66400 ac_cpp='$CXXCPP $CPPFLAGS'
66401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66404
66405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66406 /* end confdefs.h. */
66407 #include <math.h>
66408 #ifdef HAVE_IEEEFP_H
66409 #include <ieeefp.h>
66410 #endif
66411
66412 int
66413 main ()
66414 {
66415 isinff(0);
66416 ;
66417 return 0;
66418 }
66419 _ACEOF
66420 if ac_fn_cxx_try_compile "$LINENO"; then :
66421 glibcxx_cv_func_isinff_use=yes
66422 else
66423 glibcxx_cv_func_isinff_use=no
66424 fi
66425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66426 ac_ext=c
66427 ac_cpp='$CPP $CPPFLAGS'
66428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66431
66432
66433 fi
66434
66435 fi
66436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66437 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66438
66439 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66440 for ac_func in isinff
66441 do :
66442 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66443 if test "x$ac_cv_func_isinff" = x""yes; then :
66444 cat >>confdefs.h <<_ACEOF
66445 #define HAVE_ISINFF 1
66446 _ACEOF
66447
66448 fi
66449 done
66450
66451 else
66452
66453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66454 $as_echo_n "checking for _isinff declaration... " >&6; }
66455 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66456 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66457 $as_echo_n "(cached) " >&6
66458 else
66459
66460
66461 ac_ext=cpp
66462 ac_cpp='$CXXCPP $CPPFLAGS'
66463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66466
66467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66468 /* end confdefs.h. */
66469 #include <math.h>
66470 #ifdef HAVE_IEEEFP_H
66471 #include <ieeefp.h>
66472 #endif
66473
66474 int
66475 main ()
66476 {
66477 _isinff(0);
66478 ;
66479 return 0;
66480 }
66481 _ACEOF
66482 if ac_fn_cxx_try_compile "$LINENO"; then :
66483 glibcxx_cv_func__isinff_use=yes
66484 else
66485 glibcxx_cv_func__isinff_use=no
66486 fi
66487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66488 ac_ext=c
66489 ac_cpp='$CPP $CPPFLAGS'
66490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66493
66494
66495 fi
66496
66497 fi
66498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66499 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66500
66501 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66502 for ac_func in _isinff
66503 do :
66504 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66505 if test "x$ac_cv_func__isinff" = x""yes; then :
66506 cat >>confdefs.h <<_ACEOF
66507 #define HAVE__ISINFF 1
66508 _ACEOF
66509
66510 fi
66511 done
66512
66513 fi
66514 fi
66515
66516
66517
66518
66519
66520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66521 $as_echo_n "checking for atan2f declaration... " >&6; }
66522 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66523 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66524 $as_echo_n "(cached) " >&6
66525 else
66526
66527
66528 ac_ext=cpp
66529 ac_cpp='$CXXCPP $CPPFLAGS'
66530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66533
66534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66535 /* end confdefs.h. */
66536 #include <math.h>
66537 int
66538 main ()
66539 {
66540 atan2f(0, 0);
66541 ;
66542 return 0;
66543 }
66544 _ACEOF
66545 if ac_fn_cxx_try_compile "$LINENO"; then :
66546 glibcxx_cv_func_atan2f_use=yes
66547 else
66548 glibcxx_cv_func_atan2f_use=no
66549 fi
66550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66551 ac_ext=c
66552 ac_cpp='$CPP $CPPFLAGS'
66553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66556
66557
66558 fi
66559
66560 fi
66561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66562 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66563
66564 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66565 for ac_func in atan2f
66566 do :
66567 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66568 if test "x$ac_cv_func_atan2f" = x""yes; then :
66569 cat >>confdefs.h <<_ACEOF
66570 #define HAVE_ATAN2F 1
66571 _ACEOF
66572
66573 fi
66574 done
66575
66576 else
66577
66578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66579 $as_echo_n "checking for _atan2f declaration... " >&6; }
66580 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66581 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66582 $as_echo_n "(cached) " >&6
66583 else
66584
66585
66586 ac_ext=cpp
66587 ac_cpp='$CXXCPP $CPPFLAGS'
66588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66591
66592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66593 /* end confdefs.h. */
66594 #include <math.h>
66595 int
66596 main ()
66597 {
66598 _atan2f(0, 0);
66599 ;
66600 return 0;
66601 }
66602 _ACEOF
66603 if ac_fn_cxx_try_compile "$LINENO"; then :
66604 glibcxx_cv_func__atan2f_use=yes
66605 else
66606 glibcxx_cv_func__atan2f_use=no
66607 fi
66608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66609 ac_ext=c
66610 ac_cpp='$CPP $CPPFLAGS'
66611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66614
66615
66616 fi
66617
66618 fi
66619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66620 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66621
66622 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66623 for ac_func in _atan2f
66624 do :
66625 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66626 if test "x$ac_cv_func__atan2f" = x""yes; then :
66627 cat >>confdefs.h <<_ACEOF
66628 #define HAVE__ATAN2F 1
66629 _ACEOF
66630
66631 fi
66632 done
66633
66634 fi
66635 fi
66636
66637
66638
66639
66640
66641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66642 $as_echo_n "checking for fabsf declaration... " >&6; }
66643 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66644 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66645 $as_echo_n "(cached) " >&6
66646 else
66647
66648
66649 ac_ext=cpp
66650 ac_cpp='$CXXCPP $CPPFLAGS'
66651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66654
66655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66656 /* end confdefs.h. */
66657 #include <math.h>
66658 #ifdef HAVE_IEEEFP_H
66659 #include <ieeefp.h>
66660 #endif
66661
66662 int
66663 main ()
66664 {
66665 fabsf(0);
66666 ;
66667 return 0;
66668 }
66669 _ACEOF
66670 if ac_fn_cxx_try_compile "$LINENO"; then :
66671 glibcxx_cv_func_fabsf_use=yes
66672 else
66673 glibcxx_cv_func_fabsf_use=no
66674 fi
66675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66676 ac_ext=c
66677 ac_cpp='$CPP $CPPFLAGS'
66678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66681
66682
66683 fi
66684
66685 fi
66686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
66687 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
66688
66689 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66690 for ac_func in fabsf
66691 do :
66692 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
66693 if test "x$ac_cv_func_fabsf" = x""yes; then :
66694 cat >>confdefs.h <<_ACEOF
66695 #define HAVE_FABSF 1
66696 _ACEOF
66697
66698 fi
66699 done
66700
66701 else
66702
66703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
66704 $as_echo_n "checking for _fabsf declaration... " >&6; }
66705 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
66706 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
66707 $as_echo_n "(cached) " >&6
66708 else
66709
66710
66711 ac_ext=cpp
66712 ac_cpp='$CXXCPP $CPPFLAGS'
66713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66716
66717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66718 /* end confdefs.h. */
66719 #include <math.h>
66720 #ifdef HAVE_IEEEFP_H
66721 #include <ieeefp.h>
66722 #endif
66723
66724 int
66725 main ()
66726 {
66727 _fabsf(0);
66728 ;
66729 return 0;
66730 }
66731 _ACEOF
66732 if ac_fn_cxx_try_compile "$LINENO"; then :
66733 glibcxx_cv_func__fabsf_use=yes
66734 else
66735 glibcxx_cv_func__fabsf_use=no
66736 fi
66737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66738 ac_ext=c
66739 ac_cpp='$CPP $CPPFLAGS'
66740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66743
66744
66745 fi
66746
66747 fi
66748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
66749 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
66750
66751 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
66752 for ac_func in _fabsf
66753 do :
66754 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
66755 if test "x$ac_cv_func__fabsf" = x""yes; then :
66756 cat >>confdefs.h <<_ACEOF
66757 #define HAVE__FABSF 1
66758 _ACEOF
66759
66760 fi
66761 done
66762
66763 fi
66764 fi
66765
66766
66767
66768
66769
66770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
66771 $as_echo_n "checking for fmodf declaration... " >&6; }
66772 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
66773 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
66774 $as_echo_n "(cached) " >&6
66775 else
66776
66777
66778 ac_ext=cpp
66779 ac_cpp='$CXXCPP $CPPFLAGS'
66780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66783
66784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66785 /* end confdefs.h. */
66786 #include <math.h>
66787 int
66788 main ()
66789 {
66790 fmodf(0, 0);
66791 ;
66792 return 0;
66793 }
66794 _ACEOF
66795 if ac_fn_cxx_try_compile "$LINENO"; then :
66796 glibcxx_cv_func_fmodf_use=yes
66797 else
66798 glibcxx_cv_func_fmodf_use=no
66799 fi
66800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66801 ac_ext=c
66802 ac_cpp='$CPP $CPPFLAGS'
66803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66806
66807
66808 fi
66809
66810 fi
66811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
66812 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
66813
66814 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
66815 for ac_func in fmodf
66816 do :
66817 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
66818 if test "x$ac_cv_func_fmodf" = x""yes; then :
66819 cat >>confdefs.h <<_ACEOF
66820 #define HAVE_FMODF 1
66821 _ACEOF
66822
66823 fi
66824 done
66825
66826 else
66827
66828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
66829 $as_echo_n "checking for _fmodf declaration... " >&6; }
66830 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
66831 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
66832 $as_echo_n "(cached) " >&6
66833 else
66834
66835
66836 ac_ext=cpp
66837 ac_cpp='$CXXCPP $CPPFLAGS'
66838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66841
66842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66843 /* end confdefs.h. */
66844 #include <math.h>
66845 int
66846 main ()
66847 {
66848 _fmodf(0, 0);
66849 ;
66850 return 0;
66851 }
66852 _ACEOF
66853 if ac_fn_cxx_try_compile "$LINENO"; then :
66854 glibcxx_cv_func__fmodf_use=yes
66855 else
66856 glibcxx_cv_func__fmodf_use=no
66857 fi
66858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66859 ac_ext=c
66860 ac_cpp='$CPP $CPPFLAGS'
66861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66864
66865
66866 fi
66867
66868 fi
66869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
66870 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
66871
66872 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
66873 for ac_func in _fmodf
66874 do :
66875 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
66876 if test "x$ac_cv_func__fmodf" = x""yes; then :
66877 cat >>confdefs.h <<_ACEOF
66878 #define HAVE__FMODF 1
66879 _ACEOF
66880
66881 fi
66882 done
66883
66884 fi
66885 fi
66886
66887
66888
66889
66890
66891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
66892 $as_echo_n "checking for frexpf declaration... " >&6; }
66893 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
66894 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
66895 $as_echo_n "(cached) " >&6
66896 else
66897
66898
66899 ac_ext=cpp
66900 ac_cpp='$CXXCPP $CPPFLAGS'
66901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66904
66905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66906 /* end confdefs.h. */
66907 #include <math.h>
66908 int
66909 main ()
66910 {
66911 frexpf(0, 0);
66912 ;
66913 return 0;
66914 }
66915 _ACEOF
66916 if ac_fn_cxx_try_compile "$LINENO"; then :
66917 glibcxx_cv_func_frexpf_use=yes
66918 else
66919 glibcxx_cv_func_frexpf_use=no
66920 fi
66921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66922 ac_ext=c
66923 ac_cpp='$CPP $CPPFLAGS'
66924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66927
66928
66929 fi
66930
66931 fi
66932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
66933 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
66934
66935 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
66936 for ac_func in frexpf
66937 do :
66938 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
66939 if test "x$ac_cv_func_frexpf" = x""yes; then :
66940 cat >>confdefs.h <<_ACEOF
66941 #define HAVE_FREXPF 1
66942 _ACEOF
66943
66944 fi
66945 done
66946
66947 else
66948
66949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
66950 $as_echo_n "checking for _frexpf declaration... " >&6; }
66951 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
66952 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
66953 $as_echo_n "(cached) " >&6
66954 else
66955
66956
66957 ac_ext=cpp
66958 ac_cpp='$CXXCPP $CPPFLAGS'
66959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66962
66963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66964 /* end confdefs.h. */
66965 #include <math.h>
66966 int
66967 main ()
66968 {
66969 _frexpf(0, 0);
66970 ;
66971 return 0;
66972 }
66973 _ACEOF
66974 if ac_fn_cxx_try_compile "$LINENO"; then :
66975 glibcxx_cv_func__frexpf_use=yes
66976 else
66977 glibcxx_cv_func__frexpf_use=no
66978 fi
66979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66980 ac_ext=c
66981 ac_cpp='$CPP $CPPFLAGS'
66982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66985
66986
66987 fi
66988
66989 fi
66990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
66991 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
66992
66993 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
66994 for ac_func in _frexpf
66995 do :
66996 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
66997 if test "x$ac_cv_func__frexpf" = x""yes; then :
66998 cat >>confdefs.h <<_ACEOF
66999 #define HAVE__FREXPF 1
67000 _ACEOF
67001
67002 fi
67003 done
67004
67005 fi
67006 fi
67007
67008
67009
67010
67011
67012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67013 $as_echo_n "checking for hypotf declaration... " >&6; }
67014 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67015 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67016 $as_echo_n "(cached) " >&6
67017 else
67018
67019
67020 ac_ext=cpp
67021 ac_cpp='$CXXCPP $CPPFLAGS'
67022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67025
67026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67027 /* end confdefs.h. */
67028 #include <math.h>
67029 int
67030 main ()
67031 {
67032 hypotf(0, 0);
67033 ;
67034 return 0;
67035 }
67036 _ACEOF
67037 if ac_fn_cxx_try_compile "$LINENO"; then :
67038 glibcxx_cv_func_hypotf_use=yes
67039 else
67040 glibcxx_cv_func_hypotf_use=no
67041 fi
67042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67043 ac_ext=c
67044 ac_cpp='$CPP $CPPFLAGS'
67045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67048
67049
67050 fi
67051
67052 fi
67053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67054 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67055
67056 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67057 for ac_func in hypotf
67058 do :
67059 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67060 if test "x$ac_cv_func_hypotf" = x""yes; then :
67061 cat >>confdefs.h <<_ACEOF
67062 #define HAVE_HYPOTF 1
67063 _ACEOF
67064
67065 fi
67066 done
67067
67068 else
67069
67070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67071 $as_echo_n "checking for _hypotf declaration... " >&6; }
67072 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67073 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67074 $as_echo_n "(cached) " >&6
67075 else
67076
67077
67078 ac_ext=cpp
67079 ac_cpp='$CXXCPP $CPPFLAGS'
67080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67083
67084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67085 /* end confdefs.h. */
67086 #include <math.h>
67087 int
67088 main ()
67089 {
67090 _hypotf(0, 0);
67091 ;
67092 return 0;
67093 }
67094 _ACEOF
67095 if ac_fn_cxx_try_compile "$LINENO"; then :
67096 glibcxx_cv_func__hypotf_use=yes
67097 else
67098 glibcxx_cv_func__hypotf_use=no
67099 fi
67100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67101 ac_ext=c
67102 ac_cpp='$CPP $CPPFLAGS'
67103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67106
67107
67108 fi
67109
67110 fi
67111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67112 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67113
67114 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67115 for ac_func in _hypotf
67116 do :
67117 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67118 if test "x$ac_cv_func__hypotf" = x""yes; then :
67119 cat >>confdefs.h <<_ACEOF
67120 #define HAVE__HYPOTF 1
67121 _ACEOF
67122
67123 fi
67124 done
67125
67126 fi
67127 fi
67128
67129
67130
67131
67132
67133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67134 $as_echo_n "checking for ldexpf declaration... " >&6; }
67135 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67136 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67137 $as_echo_n "(cached) " >&6
67138 else
67139
67140
67141 ac_ext=cpp
67142 ac_cpp='$CXXCPP $CPPFLAGS'
67143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67146
67147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67148 /* end confdefs.h. */
67149 #include <math.h>
67150 int
67151 main ()
67152 {
67153 ldexpf(0, 0);
67154 ;
67155 return 0;
67156 }
67157 _ACEOF
67158 if ac_fn_cxx_try_compile "$LINENO"; then :
67159 glibcxx_cv_func_ldexpf_use=yes
67160 else
67161 glibcxx_cv_func_ldexpf_use=no
67162 fi
67163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67164 ac_ext=c
67165 ac_cpp='$CPP $CPPFLAGS'
67166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67169
67170
67171 fi
67172
67173 fi
67174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67175 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67176
67177 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67178 for ac_func in ldexpf
67179 do :
67180 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67181 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67182 cat >>confdefs.h <<_ACEOF
67183 #define HAVE_LDEXPF 1
67184 _ACEOF
67185
67186 fi
67187 done
67188
67189 else
67190
67191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67192 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67193 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67194 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67195 $as_echo_n "(cached) " >&6
67196 else
67197
67198
67199 ac_ext=cpp
67200 ac_cpp='$CXXCPP $CPPFLAGS'
67201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67204
67205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67206 /* end confdefs.h. */
67207 #include <math.h>
67208 int
67209 main ()
67210 {
67211 _ldexpf(0, 0);
67212 ;
67213 return 0;
67214 }
67215 _ACEOF
67216 if ac_fn_cxx_try_compile "$LINENO"; then :
67217 glibcxx_cv_func__ldexpf_use=yes
67218 else
67219 glibcxx_cv_func__ldexpf_use=no
67220 fi
67221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67222 ac_ext=c
67223 ac_cpp='$CPP $CPPFLAGS'
67224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67227
67228
67229 fi
67230
67231 fi
67232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67233 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67234
67235 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67236 for ac_func in _ldexpf
67237 do :
67238 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67239 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67240 cat >>confdefs.h <<_ACEOF
67241 #define HAVE__LDEXPF 1
67242 _ACEOF
67243
67244 fi
67245 done
67246
67247 fi
67248 fi
67249
67250
67251
67252
67253
67254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67255 $as_echo_n "checking for logf declaration... " >&6; }
67256 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67257 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67258 $as_echo_n "(cached) " >&6
67259 else
67260
67261
67262 ac_ext=cpp
67263 ac_cpp='$CXXCPP $CPPFLAGS'
67264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67267
67268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67269 /* end confdefs.h. */
67270 #include <math.h>
67271 #ifdef HAVE_IEEEFP_H
67272 #include <ieeefp.h>
67273 #endif
67274
67275 int
67276 main ()
67277 {
67278 logf(0);
67279 ;
67280 return 0;
67281 }
67282 _ACEOF
67283 if ac_fn_cxx_try_compile "$LINENO"; then :
67284 glibcxx_cv_func_logf_use=yes
67285 else
67286 glibcxx_cv_func_logf_use=no
67287 fi
67288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67289 ac_ext=c
67290 ac_cpp='$CPP $CPPFLAGS'
67291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67294
67295
67296 fi
67297
67298 fi
67299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67300 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67301
67302 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67303 for ac_func in logf
67304 do :
67305 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67306 if test "x$ac_cv_func_logf" = x""yes; then :
67307 cat >>confdefs.h <<_ACEOF
67308 #define HAVE_LOGF 1
67309 _ACEOF
67310
67311 fi
67312 done
67313
67314 else
67315
67316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67317 $as_echo_n "checking for _logf declaration... " >&6; }
67318 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67319 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67320 $as_echo_n "(cached) " >&6
67321 else
67322
67323
67324 ac_ext=cpp
67325 ac_cpp='$CXXCPP $CPPFLAGS'
67326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67329
67330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67331 /* end confdefs.h. */
67332 #include <math.h>
67333 #ifdef HAVE_IEEEFP_H
67334 #include <ieeefp.h>
67335 #endif
67336
67337 int
67338 main ()
67339 {
67340 _logf(0);
67341 ;
67342 return 0;
67343 }
67344 _ACEOF
67345 if ac_fn_cxx_try_compile "$LINENO"; then :
67346 glibcxx_cv_func__logf_use=yes
67347 else
67348 glibcxx_cv_func__logf_use=no
67349 fi
67350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67351 ac_ext=c
67352 ac_cpp='$CPP $CPPFLAGS'
67353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67356
67357
67358 fi
67359
67360 fi
67361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67362 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67363
67364 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67365 for ac_func in _logf
67366 do :
67367 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67368 if test "x$ac_cv_func__logf" = x""yes; then :
67369 cat >>confdefs.h <<_ACEOF
67370 #define HAVE__LOGF 1
67371 _ACEOF
67372
67373 fi
67374 done
67375
67376 fi
67377 fi
67378
67379
67380
67381
67382
67383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67384 $as_echo_n "checking for log10f declaration... " >&6; }
67385 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67386 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67387 $as_echo_n "(cached) " >&6
67388 else
67389
67390
67391 ac_ext=cpp
67392 ac_cpp='$CXXCPP $CPPFLAGS'
67393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67396
67397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67398 /* end confdefs.h. */
67399 #include <math.h>
67400 #ifdef HAVE_IEEEFP_H
67401 #include <ieeefp.h>
67402 #endif
67403
67404 int
67405 main ()
67406 {
67407 log10f(0);
67408 ;
67409 return 0;
67410 }
67411 _ACEOF
67412 if ac_fn_cxx_try_compile "$LINENO"; then :
67413 glibcxx_cv_func_log10f_use=yes
67414 else
67415 glibcxx_cv_func_log10f_use=no
67416 fi
67417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67418 ac_ext=c
67419 ac_cpp='$CPP $CPPFLAGS'
67420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67423
67424
67425 fi
67426
67427 fi
67428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67429 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67430
67431 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67432 for ac_func in log10f
67433 do :
67434 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67435 if test "x$ac_cv_func_log10f" = x""yes; then :
67436 cat >>confdefs.h <<_ACEOF
67437 #define HAVE_LOG10F 1
67438 _ACEOF
67439
67440 fi
67441 done
67442
67443 else
67444
67445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67446 $as_echo_n "checking for _log10f declaration... " >&6; }
67447 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67448 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67449 $as_echo_n "(cached) " >&6
67450 else
67451
67452
67453 ac_ext=cpp
67454 ac_cpp='$CXXCPP $CPPFLAGS'
67455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67458
67459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67460 /* end confdefs.h. */
67461 #include <math.h>
67462 #ifdef HAVE_IEEEFP_H
67463 #include <ieeefp.h>
67464 #endif
67465
67466 int
67467 main ()
67468 {
67469 _log10f(0);
67470 ;
67471 return 0;
67472 }
67473 _ACEOF
67474 if ac_fn_cxx_try_compile "$LINENO"; then :
67475 glibcxx_cv_func__log10f_use=yes
67476 else
67477 glibcxx_cv_func__log10f_use=no
67478 fi
67479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67480 ac_ext=c
67481 ac_cpp='$CPP $CPPFLAGS'
67482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67485
67486
67487 fi
67488
67489 fi
67490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67491 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67492
67493 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67494 for ac_func in _log10f
67495 do :
67496 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67497 if test "x$ac_cv_func__log10f" = x""yes; then :
67498 cat >>confdefs.h <<_ACEOF
67499 #define HAVE__LOG10F 1
67500 _ACEOF
67501
67502 fi
67503 done
67504
67505 fi
67506 fi
67507
67508
67509
67510
67511
67512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67513 $as_echo_n "checking for modff declaration... " >&6; }
67514 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67515 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67516 $as_echo_n "(cached) " >&6
67517 else
67518
67519
67520 ac_ext=cpp
67521 ac_cpp='$CXXCPP $CPPFLAGS'
67522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67525
67526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67527 /* end confdefs.h. */
67528 #include <math.h>
67529 int
67530 main ()
67531 {
67532 modff(0, 0);
67533 ;
67534 return 0;
67535 }
67536 _ACEOF
67537 if ac_fn_cxx_try_compile "$LINENO"; then :
67538 glibcxx_cv_func_modff_use=yes
67539 else
67540 glibcxx_cv_func_modff_use=no
67541 fi
67542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67543 ac_ext=c
67544 ac_cpp='$CPP $CPPFLAGS'
67545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67548
67549
67550 fi
67551
67552 fi
67553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67554 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67555
67556 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67557 for ac_func in modff
67558 do :
67559 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67560 if test "x$ac_cv_func_modff" = x""yes; then :
67561 cat >>confdefs.h <<_ACEOF
67562 #define HAVE_MODFF 1
67563 _ACEOF
67564
67565 fi
67566 done
67567
67568 else
67569
67570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67571 $as_echo_n "checking for _modff declaration... " >&6; }
67572 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67573 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67574 $as_echo_n "(cached) " >&6
67575 else
67576
67577
67578 ac_ext=cpp
67579 ac_cpp='$CXXCPP $CPPFLAGS'
67580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67583
67584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67585 /* end confdefs.h. */
67586 #include <math.h>
67587 int
67588 main ()
67589 {
67590 _modff(0, 0);
67591 ;
67592 return 0;
67593 }
67594 _ACEOF
67595 if ac_fn_cxx_try_compile "$LINENO"; then :
67596 glibcxx_cv_func__modff_use=yes
67597 else
67598 glibcxx_cv_func__modff_use=no
67599 fi
67600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67601 ac_ext=c
67602 ac_cpp='$CPP $CPPFLAGS'
67603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67606
67607
67608 fi
67609
67610 fi
67611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67612 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67613
67614 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67615 for ac_func in _modff
67616 do :
67617 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67618 if test "x$ac_cv_func__modff" = x""yes; then :
67619 cat >>confdefs.h <<_ACEOF
67620 #define HAVE__MODFF 1
67621 _ACEOF
67622
67623 fi
67624 done
67625
67626 fi
67627 fi
67628
67629
67630
67631
67632
67633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67634 $as_echo_n "checking for modf declaration... " >&6; }
67635 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67636 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67637 $as_echo_n "(cached) " >&6
67638 else
67639
67640
67641 ac_ext=cpp
67642 ac_cpp='$CXXCPP $CPPFLAGS'
67643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67646
67647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67648 /* end confdefs.h. */
67649 #include <math.h>
67650 int
67651 main ()
67652 {
67653 modf(0, 0);
67654 ;
67655 return 0;
67656 }
67657 _ACEOF
67658 if ac_fn_cxx_try_compile "$LINENO"; then :
67659 glibcxx_cv_func_modf_use=yes
67660 else
67661 glibcxx_cv_func_modf_use=no
67662 fi
67663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67664 ac_ext=c
67665 ac_cpp='$CPP $CPPFLAGS'
67666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67669
67670
67671 fi
67672
67673 fi
67674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
67675 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
67676
67677 if test x$glibcxx_cv_func_modf_use = x"yes"; then
67678 for ac_func in modf
67679 do :
67680 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
67681 if test "x$ac_cv_func_modf" = x""yes; then :
67682 cat >>confdefs.h <<_ACEOF
67683 #define HAVE_MODF 1
67684 _ACEOF
67685
67686 fi
67687 done
67688
67689 else
67690
67691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
67692 $as_echo_n "checking for _modf declaration... " >&6; }
67693 if test x${glibcxx_cv_func__modf_use+set} != xset; then
67694 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
67695 $as_echo_n "(cached) " >&6
67696 else
67697
67698
67699 ac_ext=cpp
67700 ac_cpp='$CXXCPP $CPPFLAGS'
67701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67704
67705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67706 /* end confdefs.h. */
67707 #include <math.h>
67708 int
67709 main ()
67710 {
67711 _modf(0, 0);
67712 ;
67713 return 0;
67714 }
67715 _ACEOF
67716 if ac_fn_cxx_try_compile "$LINENO"; then :
67717 glibcxx_cv_func__modf_use=yes
67718 else
67719 glibcxx_cv_func__modf_use=no
67720 fi
67721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67722 ac_ext=c
67723 ac_cpp='$CPP $CPPFLAGS'
67724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67727
67728
67729 fi
67730
67731 fi
67732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
67733 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
67734
67735 if test x$glibcxx_cv_func__modf_use = x"yes"; then
67736 for ac_func in _modf
67737 do :
67738 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
67739 if test "x$ac_cv_func__modf" = x""yes; then :
67740 cat >>confdefs.h <<_ACEOF
67741 #define HAVE__MODF 1
67742 _ACEOF
67743
67744 fi
67745 done
67746
67747 fi
67748 fi
67749
67750
67751
67752
67753
67754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
67755 $as_echo_n "checking for powf declaration... " >&6; }
67756 if test x${glibcxx_cv_func_powf_use+set} != xset; then
67757 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
67758 $as_echo_n "(cached) " >&6
67759 else
67760
67761
67762 ac_ext=cpp
67763 ac_cpp='$CXXCPP $CPPFLAGS'
67764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67767
67768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67769 /* end confdefs.h. */
67770 #include <math.h>
67771 int
67772 main ()
67773 {
67774 powf(0, 0);
67775 ;
67776 return 0;
67777 }
67778 _ACEOF
67779 if ac_fn_cxx_try_compile "$LINENO"; then :
67780 glibcxx_cv_func_powf_use=yes
67781 else
67782 glibcxx_cv_func_powf_use=no
67783 fi
67784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67785 ac_ext=c
67786 ac_cpp='$CPP $CPPFLAGS'
67787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67790
67791
67792 fi
67793
67794 fi
67795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
67796 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
67797
67798 if test x$glibcxx_cv_func_powf_use = x"yes"; then
67799 for ac_func in powf
67800 do :
67801 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
67802 if test "x$ac_cv_func_powf" = x""yes; then :
67803 cat >>confdefs.h <<_ACEOF
67804 #define HAVE_POWF 1
67805 _ACEOF
67806
67807 fi
67808 done
67809
67810 else
67811
67812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
67813 $as_echo_n "checking for _powf declaration... " >&6; }
67814 if test x${glibcxx_cv_func__powf_use+set} != xset; then
67815 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
67816 $as_echo_n "(cached) " >&6
67817 else
67818
67819
67820 ac_ext=cpp
67821 ac_cpp='$CXXCPP $CPPFLAGS'
67822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67825
67826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67827 /* end confdefs.h. */
67828 #include <math.h>
67829 int
67830 main ()
67831 {
67832 _powf(0, 0);
67833 ;
67834 return 0;
67835 }
67836 _ACEOF
67837 if ac_fn_cxx_try_compile "$LINENO"; then :
67838 glibcxx_cv_func__powf_use=yes
67839 else
67840 glibcxx_cv_func__powf_use=no
67841 fi
67842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67843 ac_ext=c
67844 ac_cpp='$CPP $CPPFLAGS'
67845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67848
67849
67850 fi
67851
67852 fi
67853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
67854 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
67855
67856 if test x$glibcxx_cv_func__powf_use = x"yes"; then
67857 for ac_func in _powf
67858 do :
67859 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
67860 if test "x$ac_cv_func__powf" = x""yes; then :
67861 cat >>confdefs.h <<_ACEOF
67862 #define HAVE__POWF 1
67863 _ACEOF
67864
67865 fi
67866 done
67867
67868 fi
67869 fi
67870
67871
67872
67873
67874
67875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
67876 $as_echo_n "checking for sqrtf declaration... " >&6; }
67877 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
67878 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
67879 $as_echo_n "(cached) " >&6
67880 else
67881
67882
67883 ac_ext=cpp
67884 ac_cpp='$CXXCPP $CPPFLAGS'
67885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67888
67889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67890 /* end confdefs.h. */
67891 #include <math.h>
67892 #ifdef HAVE_IEEEFP_H
67893 #include <ieeefp.h>
67894 #endif
67895
67896 int
67897 main ()
67898 {
67899 sqrtf(0);
67900 ;
67901 return 0;
67902 }
67903 _ACEOF
67904 if ac_fn_cxx_try_compile "$LINENO"; then :
67905 glibcxx_cv_func_sqrtf_use=yes
67906 else
67907 glibcxx_cv_func_sqrtf_use=no
67908 fi
67909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67910 ac_ext=c
67911 ac_cpp='$CPP $CPPFLAGS'
67912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67915
67916
67917 fi
67918
67919 fi
67920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
67921 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
67922
67923 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
67924 for ac_func in sqrtf
67925 do :
67926 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
67927 if test "x$ac_cv_func_sqrtf" = x""yes; then :
67928 cat >>confdefs.h <<_ACEOF
67929 #define HAVE_SQRTF 1
67930 _ACEOF
67931
67932 fi
67933 done
67934
67935 else
67936
67937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
67938 $as_echo_n "checking for _sqrtf declaration... " >&6; }
67939 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
67940 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
67941 $as_echo_n "(cached) " >&6
67942 else
67943
67944
67945 ac_ext=cpp
67946 ac_cpp='$CXXCPP $CPPFLAGS'
67947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67950
67951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67952 /* end confdefs.h. */
67953 #include <math.h>
67954 #ifdef HAVE_IEEEFP_H
67955 #include <ieeefp.h>
67956 #endif
67957
67958 int
67959 main ()
67960 {
67961 _sqrtf(0);
67962 ;
67963 return 0;
67964 }
67965 _ACEOF
67966 if ac_fn_cxx_try_compile "$LINENO"; then :
67967 glibcxx_cv_func__sqrtf_use=yes
67968 else
67969 glibcxx_cv_func__sqrtf_use=no
67970 fi
67971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67972 ac_ext=c
67973 ac_cpp='$CPP $CPPFLAGS'
67974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67977
67978
67979 fi
67980
67981 fi
67982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
67983 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
67984
67985 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
67986 for ac_func in _sqrtf
67987 do :
67988 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
67989 if test "x$ac_cv_func__sqrtf" = x""yes; then :
67990 cat >>confdefs.h <<_ACEOF
67991 #define HAVE__SQRTF 1
67992 _ACEOF
67993
67994 fi
67995 done
67996
67997 fi
67998 fi
67999
68000
68001
68002
68003
68004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68005 $as_echo_n "checking for sincosf declaration... " >&6; }
68006 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68007 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68008 $as_echo_n "(cached) " >&6
68009 else
68010
68011
68012 ac_ext=cpp
68013 ac_cpp='$CXXCPP $CPPFLAGS'
68014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68017
68018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68019 /* end confdefs.h. */
68020 #include <math.h>
68021 int
68022 main ()
68023 {
68024 sincosf(0, 0, 0);
68025 ;
68026 return 0;
68027 }
68028 _ACEOF
68029 if ac_fn_cxx_try_compile "$LINENO"; then :
68030 glibcxx_cv_func_sincosf_use=yes
68031 else
68032 glibcxx_cv_func_sincosf_use=no
68033 fi
68034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68035 ac_ext=c
68036 ac_cpp='$CPP $CPPFLAGS'
68037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68040
68041
68042 fi
68043
68044 fi
68045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68046 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68047
68048 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68049 for ac_func in sincosf
68050 do :
68051 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68052 if test "x$ac_cv_func_sincosf" = x""yes; then :
68053 cat >>confdefs.h <<_ACEOF
68054 #define HAVE_SINCOSF 1
68055 _ACEOF
68056
68057 fi
68058 done
68059
68060 else
68061
68062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68063 $as_echo_n "checking for _sincosf declaration... " >&6; }
68064 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68065 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68066 $as_echo_n "(cached) " >&6
68067 else
68068
68069
68070 ac_ext=cpp
68071 ac_cpp='$CXXCPP $CPPFLAGS'
68072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68075
68076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68077 /* end confdefs.h. */
68078 #include <math.h>
68079 int
68080 main ()
68081 {
68082 _sincosf(0, 0, 0);
68083 ;
68084 return 0;
68085 }
68086 _ACEOF
68087 if ac_fn_cxx_try_compile "$LINENO"; then :
68088 glibcxx_cv_func__sincosf_use=yes
68089 else
68090 glibcxx_cv_func__sincosf_use=no
68091 fi
68092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68093 ac_ext=c
68094 ac_cpp='$CPP $CPPFLAGS'
68095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68098
68099
68100 fi
68101
68102 fi
68103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68104 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68105
68106 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68107 for ac_func in _sincosf
68108 do :
68109 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68110 if test "x$ac_cv_func__sincosf" = x""yes; then :
68111 cat >>confdefs.h <<_ACEOF
68112 #define HAVE__SINCOSF 1
68113 _ACEOF
68114
68115 fi
68116 done
68117
68118 fi
68119 fi
68120
68121
68122
68123
68124
68125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68126 $as_echo_n "checking for finitef declaration... " >&6; }
68127 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68128 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68129 $as_echo_n "(cached) " >&6
68130 else
68131
68132
68133 ac_ext=cpp
68134 ac_cpp='$CXXCPP $CPPFLAGS'
68135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68138
68139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68140 /* end confdefs.h. */
68141 #include <math.h>
68142 #ifdef HAVE_IEEEFP_H
68143 #include <ieeefp.h>
68144 #endif
68145
68146 int
68147 main ()
68148 {
68149 finitef(0);
68150 ;
68151 return 0;
68152 }
68153 _ACEOF
68154 if ac_fn_cxx_try_compile "$LINENO"; then :
68155 glibcxx_cv_func_finitef_use=yes
68156 else
68157 glibcxx_cv_func_finitef_use=no
68158 fi
68159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68160 ac_ext=c
68161 ac_cpp='$CPP $CPPFLAGS'
68162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68165
68166
68167 fi
68168
68169 fi
68170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68171 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68172
68173 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68174 for ac_func in finitef
68175 do :
68176 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68177 if test "x$ac_cv_func_finitef" = x""yes; then :
68178 cat >>confdefs.h <<_ACEOF
68179 #define HAVE_FINITEF 1
68180 _ACEOF
68181
68182 fi
68183 done
68184
68185 else
68186
68187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68188 $as_echo_n "checking for _finitef declaration... " >&6; }
68189 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68190 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68191 $as_echo_n "(cached) " >&6
68192 else
68193
68194
68195 ac_ext=cpp
68196 ac_cpp='$CXXCPP $CPPFLAGS'
68197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68200
68201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68202 /* end confdefs.h. */
68203 #include <math.h>
68204 #ifdef HAVE_IEEEFP_H
68205 #include <ieeefp.h>
68206 #endif
68207
68208 int
68209 main ()
68210 {
68211 _finitef(0);
68212 ;
68213 return 0;
68214 }
68215 _ACEOF
68216 if ac_fn_cxx_try_compile "$LINENO"; then :
68217 glibcxx_cv_func__finitef_use=yes
68218 else
68219 glibcxx_cv_func__finitef_use=no
68220 fi
68221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68222 ac_ext=c
68223 ac_cpp='$CPP $CPPFLAGS'
68224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68227
68228
68229 fi
68230
68231 fi
68232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68233 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68234
68235 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68236 for ac_func in _finitef
68237 do :
68238 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68239 if test "x$ac_cv_func__finitef" = x""yes; then :
68240 cat >>confdefs.h <<_ACEOF
68241 #define HAVE__FINITEF 1
68242 _ACEOF
68243
68244 fi
68245 done
68246
68247 fi
68248 fi
68249
68250
68251
68252
68253
68254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68255 $as_echo_n "checking for long double trig functions... " >&6; }
68256 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68257 $as_echo_n "(cached) " >&6
68258 else
68259
68260
68261 ac_ext=cpp
68262 ac_cpp='$CXXCPP $CPPFLAGS'
68263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68266
68267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68268 /* end confdefs.h. */
68269 #include <math.h>
68270 int
68271 main ()
68272 {
68273 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68274 ;
68275 return 0;
68276 }
68277 _ACEOF
68278 if ac_fn_cxx_try_compile "$LINENO"; then :
68279 glibcxx_cv_func_long_double_trig_use=yes
68280 else
68281 glibcxx_cv_func_long_double_trig_use=no
68282 fi
68283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68284 ac_ext=c
68285 ac_cpp='$CPP $CPPFLAGS'
68286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68289
68290 fi
68291
68292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68293 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68294 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68295 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68296 do :
68297 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68298 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68299 eval as_val=\$$as_ac_var
68300 if test "x$as_val" = x""yes; then :
68301 cat >>confdefs.h <<_ACEOF
68302 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68303 _ACEOF
68304
68305 fi
68306 done
68307
68308 else
68309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68310 $as_echo_n "checking for _long double trig functions... " >&6; }
68311 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68312 $as_echo_n "(cached) " >&6
68313 else
68314
68315
68316 ac_ext=cpp
68317 ac_cpp='$CXXCPP $CPPFLAGS'
68318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68321
68322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68323 /* end confdefs.h. */
68324 #include <math.h>
68325 int
68326 main ()
68327 {
68328 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68329 ;
68330 return 0;
68331 }
68332 _ACEOF
68333 if ac_fn_cxx_try_compile "$LINENO"; then :
68334 glibcxx_cv_func__long_double_trig_use=yes
68335 else
68336 glibcxx_cv_func__long_double_trig_use=no
68337 fi
68338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68339 ac_ext=c
68340 ac_cpp='$CPP $CPPFLAGS'
68341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68344
68345 fi
68346
68347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68348 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68349 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68350 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68351 do :
68352 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68353 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68354 eval as_val=\$$as_ac_var
68355 if test "x$as_val" = x""yes; then :
68356 cat >>confdefs.h <<_ACEOF
68357 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68358 _ACEOF
68359
68360 fi
68361 done
68362
68363 fi
68364 fi
68365
68366
68367
68368
68369
68370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68371 $as_echo_n "checking for long double round functions... " >&6; }
68372 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68373 $as_echo_n "(cached) " >&6
68374 else
68375
68376
68377 ac_ext=cpp
68378 ac_cpp='$CXXCPP $CPPFLAGS'
68379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68382
68383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68384 /* end confdefs.h. */
68385 #include <math.h>
68386 int
68387 main ()
68388 {
68389 ceill (0); floorl (0);
68390 ;
68391 return 0;
68392 }
68393 _ACEOF
68394 if ac_fn_cxx_try_compile "$LINENO"; then :
68395 glibcxx_cv_func_long_double_round_use=yes
68396 else
68397 glibcxx_cv_func_long_double_round_use=no
68398 fi
68399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68400 ac_ext=c
68401 ac_cpp='$CPP $CPPFLAGS'
68402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68405
68406 fi
68407
68408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68409 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68410 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68411 for ac_func in ceill floorl
68412 do :
68413 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68414 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68415 eval as_val=\$$as_ac_var
68416 if test "x$as_val" = x""yes; then :
68417 cat >>confdefs.h <<_ACEOF
68418 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68419 _ACEOF
68420
68421 fi
68422 done
68423
68424 else
68425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68426 $as_echo_n "checking for _long double round functions... " >&6; }
68427 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68428 $as_echo_n "(cached) " >&6
68429 else
68430
68431
68432 ac_ext=cpp
68433 ac_cpp='$CXXCPP $CPPFLAGS'
68434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68437
68438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68439 /* end confdefs.h. */
68440 #include <math.h>
68441 int
68442 main ()
68443 {
68444 _ceill (0); _floorl (0);
68445 ;
68446 return 0;
68447 }
68448 _ACEOF
68449 if ac_fn_cxx_try_compile "$LINENO"; then :
68450 glibcxx_cv_func__long_double_round_use=yes
68451 else
68452 glibcxx_cv_func__long_double_round_use=no
68453 fi
68454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68455 ac_ext=c
68456 ac_cpp='$CPP $CPPFLAGS'
68457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68460
68461 fi
68462
68463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68464 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68465 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68466 for ac_func in _ceill _floorl
68467 do :
68468 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68469 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68470 eval as_val=\$$as_ac_var
68471 if test "x$as_val" = x""yes; then :
68472 cat >>confdefs.h <<_ACEOF
68473 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68474 _ACEOF
68475
68476 fi
68477 done
68478
68479 fi
68480 fi
68481
68482
68483
68484
68485
68486
68487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68488 $as_echo_n "checking for isnanl declaration... " >&6; }
68489 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68490 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68491 $as_echo_n "(cached) " >&6
68492 else
68493
68494
68495 ac_ext=cpp
68496 ac_cpp='$CXXCPP $CPPFLAGS'
68497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68500
68501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68502 /* end confdefs.h. */
68503 #include <math.h>
68504 #ifdef HAVE_IEEEFP_H
68505 #include <ieeefp.h>
68506 #endif
68507
68508 int
68509 main ()
68510 {
68511 isnanl(0);
68512 ;
68513 return 0;
68514 }
68515 _ACEOF
68516 if ac_fn_cxx_try_compile "$LINENO"; then :
68517 glibcxx_cv_func_isnanl_use=yes
68518 else
68519 glibcxx_cv_func_isnanl_use=no
68520 fi
68521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68522 ac_ext=c
68523 ac_cpp='$CPP $CPPFLAGS'
68524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68527
68528
68529 fi
68530
68531 fi
68532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68533 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68534
68535 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68536 for ac_func in isnanl
68537 do :
68538 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68539 if test "x$ac_cv_func_isnanl" = x""yes; then :
68540 cat >>confdefs.h <<_ACEOF
68541 #define HAVE_ISNANL 1
68542 _ACEOF
68543
68544 fi
68545 done
68546
68547 else
68548
68549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68550 $as_echo_n "checking for _isnanl declaration... " >&6; }
68551 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68552 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68553 $as_echo_n "(cached) " >&6
68554 else
68555
68556
68557 ac_ext=cpp
68558 ac_cpp='$CXXCPP $CPPFLAGS'
68559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68562
68563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68564 /* end confdefs.h. */
68565 #include <math.h>
68566 #ifdef HAVE_IEEEFP_H
68567 #include <ieeefp.h>
68568 #endif
68569
68570 int
68571 main ()
68572 {
68573 _isnanl(0);
68574 ;
68575 return 0;
68576 }
68577 _ACEOF
68578 if ac_fn_cxx_try_compile "$LINENO"; then :
68579 glibcxx_cv_func__isnanl_use=yes
68580 else
68581 glibcxx_cv_func__isnanl_use=no
68582 fi
68583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68584 ac_ext=c
68585 ac_cpp='$CPP $CPPFLAGS'
68586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68589
68590
68591 fi
68592
68593 fi
68594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68595 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68596
68597 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68598 for ac_func in _isnanl
68599 do :
68600 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68601 if test "x$ac_cv_func__isnanl" = x""yes; then :
68602 cat >>confdefs.h <<_ACEOF
68603 #define HAVE__ISNANL 1
68604 _ACEOF
68605
68606 fi
68607 done
68608
68609 fi
68610 fi
68611
68612
68613
68614
68615
68616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68617 $as_echo_n "checking for isinfl declaration... " >&6; }
68618 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68619 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68620 $as_echo_n "(cached) " >&6
68621 else
68622
68623
68624 ac_ext=cpp
68625 ac_cpp='$CXXCPP $CPPFLAGS'
68626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68629
68630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68631 /* end confdefs.h. */
68632 #include <math.h>
68633 #ifdef HAVE_IEEEFP_H
68634 #include <ieeefp.h>
68635 #endif
68636
68637 int
68638 main ()
68639 {
68640 isinfl(0);
68641 ;
68642 return 0;
68643 }
68644 _ACEOF
68645 if ac_fn_cxx_try_compile "$LINENO"; then :
68646 glibcxx_cv_func_isinfl_use=yes
68647 else
68648 glibcxx_cv_func_isinfl_use=no
68649 fi
68650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68651 ac_ext=c
68652 ac_cpp='$CPP $CPPFLAGS'
68653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68656
68657
68658 fi
68659
68660 fi
68661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68662 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68663
68664 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68665 for ac_func in isinfl
68666 do :
68667 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68668 if test "x$ac_cv_func_isinfl" = x""yes; then :
68669 cat >>confdefs.h <<_ACEOF
68670 #define HAVE_ISINFL 1
68671 _ACEOF
68672
68673 fi
68674 done
68675
68676 else
68677
68678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
68679 $as_echo_n "checking for _isinfl declaration... " >&6; }
68680 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68681 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
68682 $as_echo_n "(cached) " >&6
68683 else
68684
68685
68686 ac_ext=cpp
68687 ac_cpp='$CXXCPP $CPPFLAGS'
68688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68691
68692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68693 /* end confdefs.h. */
68694 #include <math.h>
68695 #ifdef HAVE_IEEEFP_H
68696 #include <ieeefp.h>
68697 #endif
68698
68699 int
68700 main ()
68701 {
68702 _isinfl(0);
68703 ;
68704 return 0;
68705 }
68706 _ACEOF
68707 if ac_fn_cxx_try_compile "$LINENO"; then :
68708 glibcxx_cv_func__isinfl_use=yes
68709 else
68710 glibcxx_cv_func__isinfl_use=no
68711 fi
68712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68713 ac_ext=c
68714 ac_cpp='$CPP $CPPFLAGS'
68715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68718
68719
68720 fi
68721
68722 fi
68723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
68724 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
68725
68726 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
68727 for ac_func in _isinfl
68728 do :
68729 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
68730 if test "x$ac_cv_func__isinfl" = x""yes; then :
68731 cat >>confdefs.h <<_ACEOF
68732 #define HAVE__ISINFL 1
68733 _ACEOF
68734
68735 fi
68736 done
68737
68738 fi
68739 fi
68740
68741
68742
68743
68744
68745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
68746 $as_echo_n "checking for atan2l declaration... " >&6; }
68747 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
68748 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
68749 $as_echo_n "(cached) " >&6
68750 else
68751
68752
68753 ac_ext=cpp
68754 ac_cpp='$CXXCPP $CPPFLAGS'
68755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68758
68759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68760 /* end confdefs.h. */
68761 #include <math.h>
68762 int
68763 main ()
68764 {
68765 atan2l(0, 0);
68766 ;
68767 return 0;
68768 }
68769 _ACEOF
68770 if ac_fn_cxx_try_compile "$LINENO"; then :
68771 glibcxx_cv_func_atan2l_use=yes
68772 else
68773 glibcxx_cv_func_atan2l_use=no
68774 fi
68775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68776 ac_ext=c
68777 ac_cpp='$CPP $CPPFLAGS'
68778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68781
68782
68783 fi
68784
68785 fi
68786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
68787 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
68788
68789 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
68790 for ac_func in atan2l
68791 do :
68792 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
68793 if test "x$ac_cv_func_atan2l" = x""yes; then :
68794 cat >>confdefs.h <<_ACEOF
68795 #define HAVE_ATAN2L 1
68796 _ACEOF
68797
68798 fi
68799 done
68800
68801 else
68802
68803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
68804 $as_echo_n "checking for _atan2l declaration... " >&6; }
68805 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
68806 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
68807 $as_echo_n "(cached) " >&6
68808 else
68809
68810
68811 ac_ext=cpp
68812 ac_cpp='$CXXCPP $CPPFLAGS'
68813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68816
68817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68818 /* end confdefs.h. */
68819 #include <math.h>
68820 int
68821 main ()
68822 {
68823 _atan2l(0, 0);
68824 ;
68825 return 0;
68826 }
68827 _ACEOF
68828 if ac_fn_cxx_try_compile "$LINENO"; then :
68829 glibcxx_cv_func__atan2l_use=yes
68830 else
68831 glibcxx_cv_func__atan2l_use=no
68832 fi
68833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68834 ac_ext=c
68835 ac_cpp='$CPP $CPPFLAGS'
68836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68839
68840
68841 fi
68842
68843 fi
68844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
68845 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
68846
68847 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
68848 for ac_func in _atan2l
68849 do :
68850 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
68851 if test "x$ac_cv_func__atan2l" = x""yes; then :
68852 cat >>confdefs.h <<_ACEOF
68853 #define HAVE__ATAN2L 1
68854 _ACEOF
68855
68856 fi
68857 done
68858
68859 fi
68860 fi
68861
68862
68863
68864
68865
68866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
68867 $as_echo_n "checking for expl declaration... " >&6; }
68868 if test x${glibcxx_cv_func_expl_use+set} != xset; then
68869 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
68870 $as_echo_n "(cached) " >&6
68871 else
68872
68873
68874 ac_ext=cpp
68875 ac_cpp='$CXXCPP $CPPFLAGS'
68876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68879
68880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68881 /* end confdefs.h. */
68882 #include <math.h>
68883 #ifdef HAVE_IEEEFP_H
68884 #include <ieeefp.h>
68885 #endif
68886
68887 int
68888 main ()
68889 {
68890 expl(0);
68891 ;
68892 return 0;
68893 }
68894 _ACEOF
68895 if ac_fn_cxx_try_compile "$LINENO"; then :
68896 glibcxx_cv_func_expl_use=yes
68897 else
68898 glibcxx_cv_func_expl_use=no
68899 fi
68900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68901 ac_ext=c
68902 ac_cpp='$CPP $CPPFLAGS'
68903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68906
68907
68908 fi
68909
68910 fi
68911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
68912 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
68913
68914 if test x$glibcxx_cv_func_expl_use = x"yes"; then
68915 for ac_func in expl
68916 do :
68917 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
68918 if test "x$ac_cv_func_expl" = x""yes; then :
68919 cat >>confdefs.h <<_ACEOF
68920 #define HAVE_EXPL 1
68921 _ACEOF
68922
68923 fi
68924 done
68925
68926 else
68927
68928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
68929 $as_echo_n "checking for _expl declaration... " >&6; }
68930 if test x${glibcxx_cv_func__expl_use+set} != xset; then
68931 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
68932 $as_echo_n "(cached) " >&6
68933 else
68934
68935
68936 ac_ext=cpp
68937 ac_cpp='$CXXCPP $CPPFLAGS'
68938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68941
68942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68943 /* end confdefs.h. */
68944 #include <math.h>
68945 #ifdef HAVE_IEEEFP_H
68946 #include <ieeefp.h>
68947 #endif
68948
68949 int
68950 main ()
68951 {
68952 _expl(0);
68953 ;
68954 return 0;
68955 }
68956 _ACEOF
68957 if ac_fn_cxx_try_compile "$LINENO"; then :
68958 glibcxx_cv_func__expl_use=yes
68959 else
68960 glibcxx_cv_func__expl_use=no
68961 fi
68962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68963 ac_ext=c
68964 ac_cpp='$CPP $CPPFLAGS'
68965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68968
68969
68970 fi
68971
68972 fi
68973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
68974 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
68975
68976 if test x$glibcxx_cv_func__expl_use = x"yes"; then
68977 for ac_func in _expl
68978 do :
68979 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
68980 if test "x$ac_cv_func__expl" = x""yes; then :
68981 cat >>confdefs.h <<_ACEOF
68982 #define HAVE__EXPL 1
68983 _ACEOF
68984
68985 fi
68986 done
68987
68988 fi
68989 fi
68990
68991
68992
68993
68994
68995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
68996 $as_echo_n "checking for fabsl declaration... " >&6; }
68997 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
68998 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
68999 $as_echo_n "(cached) " >&6
69000 else
69001
69002
69003 ac_ext=cpp
69004 ac_cpp='$CXXCPP $CPPFLAGS'
69005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69008
69009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69010 /* end confdefs.h. */
69011 #include <math.h>
69012 #ifdef HAVE_IEEEFP_H
69013 #include <ieeefp.h>
69014 #endif
69015
69016 int
69017 main ()
69018 {
69019 fabsl(0);
69020 ;
69021 return 0;
69022 }
69023 _ACEOF
69024 if ac_fn_cxx_try_compile "$LINENO"; then :
69025 glibcxx_cv_func_fabsl_use=yes
69026 else
69027 glibcxx_cv_func_fabsl_use=no
69028 fi
69029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69030 ac_ext=c
69031 ac_cpp='$CPP $CPPFLAGS'
69032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69035
69036
69037 fi
69038
69039 fi
69040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69041 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69042
69043 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69044 for ac_func in fabsl
69045 do :
69046 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69047 if test "x$ac_cv_func_fabsl" = x""yes; then :
69048 cat >>confdefs.h <<_ACEOF
69049 #define HAVE_FABSL 1
69050 _ACEOF
69051
69052 fi
69053 done
69054
69055 else
69056
69057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69058 $as_echo_n "checking for _fabsl declaration... " >&6; }
69059 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69060 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69061 $as_echo_n "(cached) " >&6
69062 else
69063
69064
69065 ac_ext=cpp
69066 ac_cpp='$CXXCPP $CPPFLAGS'
69067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69070
69071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69072 /* end confdefs.h. */
69073 #include <math.h>
69074 #ifdef HAVE_IEEEFP_H
69075 #include <ieeefp.h>
69076 #endif
69077
69078 int
69079 main ()
69080 {
69081 _fabsl(0);
69082 ;
69083 return 0;
69084 }
69085 _ACEOF
69086 if ac_fn_cxx_try_compile "$LINENO"; then :
69087 glibcxx_cv_func__fabsl_use=yes
69088 else
69089 glibcxx_cv_func__fabsl_use=no
69090 fi
69091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69092 ac_ext=c
69093 ac_cpp='$CPP $CPPFLAGS'
69094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69097
69098
69099 fi
69100
69101 fi
69102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69103 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69104
69105 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69106 for ac_func in _fabsl
69107 do :
69108 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69109 if test "x$ac_cv_func__fabsl" = x""yes; then :
69110 cat >>confdefs.h <<_ACEOF
69111 #define HAVE__FABSL 1
69112 _ACEOF
69113
69114 fi
69115 done
69116
69117 fi
69118 fi
69119
69120
69121
69122
69123
69124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69125 $as_echo_n "checking for fmodl declaration... " >&6; }
69126 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69127 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69128 $as_echo_n "(cached) " >&6
69129 else
69130
69131
69132 ac_ext=cpp
69133 ac_cpp='$CXXCPP $CPPFLAGS'
69134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69137
69138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69139 /* end confdefs.h. */
69140 #include <math.h>
69141 int
69142 main ()
69143 {
69144 fmodl(0, 0);
69145 ;
69146 return 0;
69147 }
69148 _ACEOF
69149 if ac_fn_cxx_try_compile "$LINENO"; then :
69150 glibcxx_cv_func_fmodl_use=yes
69151 else
69152 glibcxx_cv_func_fmodl_use=no
69153 fi
69154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69155 ac_ext=c
69156 ac_cpp='$CPP $CPPFLAGS'
69157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69160
69161
69162 fi
69163
69164 fi
69165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69166 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69167
69168 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69169 for ac_func in fmodl
69170 do :
69171 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69172 if test "x$ac_cv_func_fmodl" = x""yes; then :
69173 cat >>confdefs.h <<_ACEOF
69174 #define HAVE_FMODL 1
69175 _ACEOF
69176
69177 fi
69178 done
69179
69180 else
69181
69182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69183 $as_echo_n "checking for _fmodl declaration... " >&6; }
69184 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69185 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69186 $as_echo_n "(cached) " >&6
69187 else
69188
69189
69190 ac_ext=cpp
69191 ac_cpp='$CXXCPP $CPPFLAGS'
69192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69195
69196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69197 /* end confdefs.h. */
69198 #include <math.h>
69199 int
69200 main ()
69201 {
69202 _fmodl(0, 0);
69203 ;
69204 return 0;
69205 }
69206 _ACEOF
69207 if ac_fn_cxx_try_compile "$LINENO"; then :
69208 glibcxx_cv_func__fmodl_use=yes
69209 else
69210 glibcxx_cv_func__fmodl_use=no
69211 fi
69212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69213 ac_ext=c
69214 ac_cpp='$CPP $CPPFLAGS'
69215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69218
69219
69220 fi
69221
69222 fi
69223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69224 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69225
69226 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69227 for ac_func in _fmodl
69228 do :
69229 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69230 if test "x$ac_cv_func__fmodl" = x""yes; then :
69231 cat >>confdefs.h <<_ACEOF
69232 #define HAVE__FMODL 1
69233 _ACEOF
69234
69235 fi
69236 done
69237
69238 fi
69239 fi
69240
69241
69242
69243
69244
69245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69246 $as_echo_n "checking for frexpl declaration... " >&6; }
69247 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69248 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69249 $as_echo_n "(cached) " >&6
69250 else
69251
69252
69253 ac_ext=cpp
69254 ac_cpp='$CXXCPP $CPPFLAGS'
69255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69258
69259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69260 /* end confdefs.h. */
69261 #include <math.h>
69262 int
69263 main ()
69264 {
69265 frexpl(0, 0);
69266 ;
69267 return 0;
69268 }
69269 _ACEOF
69270 if ac_fn_cxx_try_compile "$LINENO"; then :
69271 glibcxx_cv_func_frexpl_use=yes
69272 else
69273 glibcxx_cv_func_frexpl_use=no
69274 fi
69275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69276 ac_ext=c
69277 ac_cpp='$CPP $CPPFLAGS'
69278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69281
69282
69283 fi
69284
69285 fi
69286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69287 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69288
69289 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69290 for ac_func in frexpl
69291 do :
69292 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69293 if test "x$ac_cv_func_frexpl" = x""yes; then :
69294 cat >>confdefs.h <<_ACEOF
69295 #define HAVE_FREXPL 1
69296 _ACEOF
69297
69298 fi
69299 done
69300
69301 else
69302
69303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69304 $as_echo_n "checking for _frexpl declaration... " >&6; }
69305 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69306 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69307 $as_echo_n "(cached) " >&6
69308 else
69309
69310
69311 ac_ext=cpp
69312 ac_cpp='$CXXCPP $CPPFLAGS'
69313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69316
69317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69318 /* end confdefs.h. */
69319 #include <math.h>
69320 int
69321 main ()
69322 {
69323 _frexpl(0, 0);
69324 ;
69325 return 0;
69326 }
69327 _ACEOF
69328 if ac_fn_cxx_try_compile "$LINENO"; then :
69329 glibcxx_cv_func__frexpl_use=yes
69330 else
69331 glibcxx_cv_func__frexpl_use=no
69332 fi
69333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69334 ac_ext=c
69335 ac_cpp='$CPP $CPPFLAGS'
69336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69339
69340
69341 fi
69342
69343 fi
69344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69345 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69346
69347 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69348 for ac_func in _frexpl
69349 do :
69350 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69351 if test "x$ac_cv_func__frexpl" = x""yes; then :
69352 cat >>confdefs.h <<_ACEOF
69353 #define HAVE__FREXPL 1
69354 _ACEOF
69355
69356 fi
69357 done
69358
69359 fi
69360 fi
69361
69362
69363
69364
69365
69366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69367 $as_echo_n "checking for hypotl declaration... " >&6; }
69368 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69369 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69370 $as_echo_n "(cached) " >&6
69371 else
69372
69373
69374 ac_ext=cpp
69375 ac_cpp='$CXXCPP $CPPFLAGS'
69376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69379
69380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69381 /* end confdefs.h. */
69382 #include <math.h>
69383 int
69384 main ()
69385 {
69386 hypotl(0, 0);
69387 ;
69388 return 0;
69389 }
69390 _ACEOF
69391 if ac_fn_cxx_try_compile "$LINENO"; then :
69392 glibcxx_cv_func_hypotl_use=yes
69393 else
69394 glibcxx_cv_func_hypotl_use=no
69395 fi
69396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69397 ac_ext=c
69398 ac_cpp='$CPP $CPPFLAGS'
69399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69402
69403
69404 fi
69405
69406 fi
69407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69408 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69409
69410 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69411 for ac_func in hypotl
69412 do :
69413 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69414 if test "x$ac_cv_func_hypotl" = x""yes; then :
69415 cat >>confdefs.h <<_ACEOF
69416 #define HAVE_HYPOTL 1
69417 _ACEOF
69418
69419 fi
69420 done
69421
69422 else
69423
69424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69425 $as_echo_n "checking for _hypotl declaration... " >&6; }
69426 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69427 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69428 $as_echo_n "(cached) " >&6
69429 else
69430
69431
69432 ac_ext=cpp
69433 ac_cpp='$CXXCPP $CPPFLAGS'
69434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69437
69438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69439 /* end confdefs.h. */
69440 #include <math.h>
69441 int
69442 main ()
69443 {
69444 _hypotl(0, 0);
69445 ;
69446 return 0;
69447 }
69448 _ACEOF
69449 if ac_fn_cxx_try_compile "$LINENO"; then :
69450 glibcxx_cv_func__hypotl_use=yes
69451 else
69452 glibcxx_cv_func__hypotl_use=no
69453 fi
69454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69455 ac_ext=c
69456 ac_cpp='$CPP $CPPFLAGS'
69457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69460
69461
69462 fi
69463
69464 fi
69465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69466 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69467
69468 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69469 for ac_func in _hypotl
69470 do :
69471 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69472 if test "x$ac_cv_func__hypotl" = x""yes; then :
69473 cat >>confdefs.h <<_ACEOF
69474 #define HAVE__HYPOTL 1
69475 _ACEOF
69476
69477 fi
69478 done
69479
69480 fi
69481 fi
69482
69483
69484
69485
69486
69487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69488 $as_echo_n "checking for ldexpl declaration... " >&6; }
69489 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69490 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69491 $as_echo_n "(cached) " >&6
69492 else
69493
69494
69495 ac_ext=cpp
69496 ac_cpp='$CXXCPP $CPPFLAGS'
69497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69500
69501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69502 /* end confdefs.h. */
69503 #include <math.h>
69504 int
69505 main ()
69506 {
69507 ldexpl(0, 0);
69508 ;
69509 return 0;
69510 }
69511 _ACEOF
69512 if ac_fn_cxx_try_compile "$LINENO"; then :
69513 glibcxx_cv_func_ldexpl_use=yes
69514 else
69515 glibcxx_cv_func_ldexpl_use=no
69516 fi
69517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69518 ac_ext=c
69519 ac_cpp='$CPP $CPPFLAGS'
69520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69523
69524
69525 fi
69526
69527 fi
69528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69529 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69530
69531 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69532 for ac_func in ldexpl
69533 do :
69534 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69535 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69536 cat >>confdefs.h <<_ACEOF
69537 #define HAVE_LDEXPL 1
69538 _ACEOF
69539
69540 fi
69541 done
69542
69543 else
69544
69545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69546 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69547 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69548 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69549 $as_echo_n "(cached) " >&6
69550 else
69551
69552
69553 ac_ext=cpp
69554 ac_cpp='$CXXCPP $CPPFLAGS'
69555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69558
69559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69560 /* end confdefs.h. */
69561 #include <math.h>
69562 int
69563 main ()
69564 {
69565 _ldexpl(0, 0);
69566 ;
69567 return 0;
69568 }
69569 _ACEOF
69570 if ac_fn_cxx_try_compile "$LINENO"; then :
69571 glibcxx_cv_func__ldexpl_use=yes
69572 else
69573 glibcxx_cv_func__ldexpl_use=no
69574 fi
69575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69576 ac_ext=c
69577 ac_cpp='$CPP $CPPFLAGS'
69578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69581
69582
69583 fi
69584
69585 fi
69586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69587 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69588
69589 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69590 for ac_func in _ldexpl
69591 do :
69592 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69593 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69594 cat >>confdefs.h <<_ACEOF
69595 #define HAVE__LDEXPL 1
69596 _ACEOF
69597
69598 fi
69599 done
69600
69601 fi
69602 fi
69603
69604
69605
69606
69607
69608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69609 $as_echo_n "checking for logl declaration... " >&6; }
69610 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69611 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69612 $as_echo_n "(cached) " >&6
69613 else
69614
69615
69616 ac_ext=cpp
69617 ac_cpp='$CXXCPP $CPPFLAGS'
69618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69621
69622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69623 /* end confdefs.h. */
69624 #include <math.h>
69625 #ifdef HAVE_IEEEFP_H
69626 #include <ieeefp.h>
69627 #endif
69628
69629 int
69630 main ()
69631 {
69632 logl(0);
69633 ;
69634 return 0;
69635 }
69636 _ACEOF
69637 if ac_fn_cxx_try_compile "$LINENO"; then :
69638 glibcxx_cv_func_logl_use=yes
69639 else
69640 glibcxx_cv_func_logl_use=no
69641 fi
69642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69643 ac_ext=c
69644 ac_cpp='$CPP $CPPFLAGS'
69645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69648
69649
69650 fi
69651
69652 fi
69653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69654 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69655
69656 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69657 for ac_func in logl
69658 do :
69659 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69660 if test "x$ac_cv_func_logl" = x""yes; then :
69661 cat >>confdefs.h <<_ACEOF
69662 #define HAVE_LOGL 1
69663 _ACEOF
69664
69665 fi
69666 done
69667
69668 else
69669
69670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
69671 $as_echo_n "checking for _logl declaration... " >&6; }
69672 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69673 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
69674 $as_echo_n "(cached) " >&6
69675 else
69676
69677
69678 ac_ext=cpp
69679 ac_cpp='$CXXCPP $CPPFLAGS'
69680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69683
69684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69685 /* end confdefs.h. */
69686 #include <math.h>
69687 #ifdef HAVE_IEEEFP_H
69688 #include <ieeefp.h>
69689 #endif
69690
69691 int
69692 main ()
69693 {
69694 _logl(0);
69695 ;
69696 return 0;
69697 }
69698 _ACEOF
69699 if ac_fn_cxx_try_compile "$LINENO"; then :
69700 glibcxx_cv_func__logl_use=yes
69701 else
69702 glibcxx_cv_func__logl_use=no
69703 fi
69704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69705 ac_ext=c
69706 ac_cpp='$CPP $CPPFLAGS'
69707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69710
69711
69712 fi
69713
69714 fi
69715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
69716 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
69717
69718 if test x$glibcxx_cv_func__logl_use = x"yes"; then
69719 for ac_func in _logl
69720 do :
69721 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
69722 if test "x$ac_cv_func__logl" = x""yes; then :
69723 cat >>confdefs.h <<_ACEOF
69724 #define HAVE__LOGL 1
69725 _ACEOF
69726
69727 fi
69728 done
69729
69730 fi
69731 fi
69732
69733
69734
69735
69736
69737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
69738 $as_echo_n "checking for log10l declaration... " >&6; }
69739 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69740 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
69741 $as_echo_n "(cached) " >&6
69742 else
69743
69744
69745 ac_ext=cpp
69746 ac_cpp='$CXXCPP $CPPFLAGS'
69747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69750
69751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69752 /* end confdefs.h. */
69753 #include <math.h>
69754 #ifdef HAVE_IEEEFP_H
69755 #include <ieeefp.h>
69756 #endif
69757
69758 int
69759 main ()
69760 {
69761 log10l(0);
69762 ;
69763 return 0;
69764 }
69765 _ACEOF
69766 if ac_fn_cxx_try_compile "$LINENO"; then :
69767 glibcxx_cv_func_log10l_use=yes
69768 else
69769 glibcxx_cv_func_log10l_use=no
69770 fi
69771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69772 ac_ext=c
69773 ac_cpp='$CPP $CPPFLAGS'
69774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69777
69778
69779 fi
69780
69781 fi
69782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
69783 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
69784
69785 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69786 for ac_func in log10l
69787 do :
69788 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
69789 if test "x$ac_cv_func_log10l" = x""yes; then :
69790 cat >>confdefs.h <<_ACEOF
69791 #define HAVE_LOG10L 1
69792 _ACEOF
69793
69794 fi
69795 done
69796
69797 else
69798
69799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
69800 $as_echo_n "checking for _log10l declaration... " >&6; }
69801 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69802 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
69803 $as_echo_n "(cached) " >&6
69804 else
69805
69806
69807 ac_ext=cpp
69808 ac_cpp='$CXXCPP $CPPFLAGS'
69809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69812
69813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69814 /* end confdefs.h. */
69815 #include <math.h>
69816 #ifdef HAVE_IEEEFP_H
69817 #include <ieeefp.h>
69818 #endif
69819
69820 int
69821 main ()
69822 {
69823 _log10l(0);
69824 ;
69825 return 0;
69826 }
69827 _ACEOF
69828 if ac_fn_cxx_try_compile "$LINENO"; then :
69829 glibcxx_cv_func__log10l_use=yes
69830 else
69831 glibcxx_cv_func__log10l_use=no
69832 fi
69833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69834 ac_ext=c
69835 ac_cpp='$CPP $CPPFLAGS'
69836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69839
69840
69841 fi
69842
69843 fi
69844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
69845 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
69846
69847 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69848 for ac_func in _log10l
69849 do :
69850 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
69851 if test "x$ac_cv_func__log10l" = x""yes; then :
69852 cat >>confdefs.h <<_ACEOF
69853 #define HAVE__LOG10L 1
69854 _ACEOF
69855
69856 fi
69857 done
69858
69859 fi
69860 fi
69861
69862
69863
69864
69865
69866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
69867 $as_echo_n "checking for modfl declaration... " >&6; }
69868 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69869 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
69870 $as_echo_n "(cached) " >&6
69871 else
69872
69873
69874 ac_ext=cpp
69875 ac_cpp='$CXXCPP $CPPFLAGS'
69876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69879
69880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69881 /* end confdefs.h. */
69882 #include <math.h>
69883 int
69884 main ()
69885 {
69886 modfl(0, 0);
69887 ;
69888 return 0;
69889 }
69890 _ACEOF
69891 if ac_fn_cxx_try_compile "$LINENO"; then :
69892 glibcxx_cv_func_modfl_use=yes
69893 else
69894 glibcxx_cv_func_modfl_use=no
69895 fi
69896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69897 ac_ext=c
69898 ac_cpp='$CPP $CPPFLAGS'
69899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69902
69903
69904 fi
69905
69906 fi
69907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
69908 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
69909
69910 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69911 for ac_func in modfl
69912 do :
69913 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
69914 if test "x$ac_cv_func_modfl" = x""yes; then :
69915 cat >>confdefs.h <<_ACEOF
69916 #define HAVE_MODFL 1
69917 _ACEOF
69918
69919 fi
69920 done
69921
69922 else
69923
69924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
69925 $as_echo_n "checking for _modfl declaration... " >&6; }
69926 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
69927 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
69928 $as_echo_n "(cached) " >&6
69929 else
69930
69931
69932 ac_ext=cpp
69933 ac_cpp='$CXXCPP $CPPFLAGS'
69934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69937
69938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69939 /* end confdefs.h. */
69940 #include <math.h>
69941 int
69942 main ()
69943 {
69944 _modfl(0, 0);
69945 ;
69946 return 0;
69947 }
69948 _ACEOF
69949 if ac_fn_cxx_try_compile "$LINENO"; then :
69950 glibcxx_cv_func__modfl_use=yes
69951 else
69952 glibcxx_cv_func__modfl_use=no
69953 fi
69954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69955 ac_ext=c
69956 ac_cpp='$CPP $CPPFLAGS'
69957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69960
69961
69962 fi
69963
69964 fi
69965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
69966 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
69967
69968 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
69969 for ac_func in _modfl
69970 do :
69971 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
69972 if test "x$ac_cv_func__modfl" = x""yes; then :
69973 cat >>confdefs.h <<_ACEOF
69974 #define HAVE__MODFL 1
69975 _ACEOF
69976
69977 fi
69978 done
69979
69980 fi
69981 fi
69982
69983
69984
69985
69986
69987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
69988 $as_echo_n "checking for powl declaration... " >&6; }
69989 if test x${glibcxx_cv_func_powl_use+set} != xset; then
69990 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
69991 $as_echo_n "(cached) " >&6
69992 else
69993
69994
69995 ac_ext=cpp
69996 ac_cpp='$CXXCPP $CPPFLAGS'
69997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70000
70001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70002 /* end confdefs.h. */
70003 #include <math.h>
70004 int
70005 main ()
70006 {
70007 powl(0, 0);
70008 ;
70009 return 0;
70010 }
70011 _ACEOF
70012 if ac_fn_cxx_try_compile "$LINENO"; then :
70013 glibcxx_cv_func_powl_use=yes
70014 else
70015 glibcxx_cv_func_powl_use=no
70016 fi
70017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70018 ac_ext=c
70019 ac_cpp='$CPP $CPPFLAGS'
70020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70023
70024
70025 fi
70026
70027 fi
70028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70029 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70030
70031 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70032 for ac_func in powl
70033 do :
70034 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70035 if test "x$ac_cv_func_powl" = x""yes; then :
70036 cat >>confdefs.h <<_ACEOF
70037 #define HAVE_POWL 1
70038 _ACEOF
70039
70040 fi
70041 done
70042
70043 else
70044
70045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70046 $as_echo_n "checking for _powl declaration... " >&6; }
70047 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70048 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70049 $as_echo_n "(cached) " >&6
70050 else
70051
70052
70053 ac_ext=cpp
70054 ac_cpp='$CXXCPP $CPPFLAGS'
70055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70058
70059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70060 /* end confdefs.h. */
70061 #include <math.h>
70062 int
70063 main ()
70064 {
70065 _powl(0, 0);
70066 ;
70067 return 0;
70068 }
70069 _ACEOF
70070 if ac_fn_cxx_try_compile "$LINENO"; then :
70071 glibcxx_cv_func__powl_use=yes
70072 else
70073 glibcxx_cv_func__powl_use=no
70074 fi
70075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70076 ac_ext=c
70077 ac_cpp='$CPP $CPPFLAGS'
70078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70081
70082
70083 fi
70084
70085 fi
70086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70087 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70088
70089 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70090 for ac_func in _powl
70091 do :
70092 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70093 if test "x$ac_cv_func__powl" = x""yes; then :
70094 cat >>confdefs.h <<_ACEOF
70095 #define HAVE__POWL 1
70096 _ACEOF
70097
70098 fi
70099 done
70100
70101 fi
70102 fi
70103
70104
70105
70106
70107
70108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70109 $as_echo_n "checking for sqrtl declaration... " >&6; }
70110 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70111 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70112 $as_echo_n "(cached) " >&6
70113 else
70114
70115
70116 ac_ext=cpp
70117 ac_cpp='$CXXCPP $CPPFLAGS'
70118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70121
70122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70123 /* end confdefs.h. */
70124 #include <math.h>
70125 #ifdef HAVE_IEEEFP_H
70126 #include <ieeefp.h>
70127 #endif
70128
70129 int
70130 main ()
70131 {
70132 sqrtl(0);
70133 ;
70134 return 0;
70135 }
70136 _ACEOF
70137 if ac_fn_cxx_try_compile "$LINENO"; then :
70138 glibcxx_cv_func_sqrtl_use=yes
70139 else
70140 glibcxx_cv_func_sqrtl_use=no
70141 fi
70142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70143 ac_ext=c
70144 ac_cpp='$CPP $CPPFLAGS'
70145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70148
70149
70150 fi
70151
70152 fi
70153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70154 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70155
70156 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70157 for ac_func in sqrtl
70158 do :
70159 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70160 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70161 cat >>confdefs.h <<_ACEOF
70162 #define HAVE_SQRTL 1
70163 _ACEOF
70164
70165 fi
70166 done
70167
70168 else
70169
70170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70171 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70172 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70173 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70174 $as_echo_n "(cached) " >&6
70175 else
70176
70177
70178 ac_ext=cpp
70179 ac_cpp='$CXXCPP $CPPFLAGS'
70180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70183
70184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70185 /* end confdefs.h. */
70186 #include <math.h>
70187 #ifdef HAVE_IEEEFP_H
70188 #include <ieeefp.h>
70189 #endif
70190
70191 int
70192 main ()
70193 {
70194 _sqrtl(0);
70195 ;
70196 return 0;
70197 }
70198 _ACEOF
70199 if ac_fn_cxx_try_compile "$LINENO"; then :
70200 glibcxx_cv_func__sqrtl_use=yes
70201 else
70202 glibcxx_cv_func__sqrtl_use=no
70203 fi
70204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70205 ac_ext=c
70206 ac_cpp='$CPP $CPPFLAGS'
70207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70210
70211
70212 fi
70213
70214 fi
70215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70216 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70217
70218 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70219 for ac_func in _sqrtl
70220 do :
70221 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70222 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70223 cat >>confdefs.h <<_ACEOF
70224 #define HAVE__SQRTL 1
70225 _ACEOF
70226
70227 fi
70228 done
70229
70230 fi
70231 fi
70232
70233
70234
70235
70236
70237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70238 $as_echo_n "checking for sincosl declaration... " >&6; }
70239 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70240 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70241 $as_echo_n "(cached) " >&6
70242 else
70243
70244
70245 ac_ext=cpp
70246 ac_cpp='$CXXCPP $CPPFLAGS'
70247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70250
70251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70252 /* end confdefs.h. */
70253 #include <math.h>
70254 int
70255 main ()
70256 {
70257 sincosl(0, 0, 0);
70258 ;
70259 return 0;
70260 }
70261 _ACEOF
70262 if ac_fn_cxx_try_compile "$LINENO"; then :
70263 glibcxx_cv_func_sincosl_use=yes
70264 else
70265 glibcxx_cv_func_sincosl_use=no
70266 fi
70267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70268 ac_ext=c
70269 ac_cpp='$CPP $CPPFLAGS'
70270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70273
70274
70275 fi
70276
70277 fi
70278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70279 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70280
70281 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70282 for ac_func in sincosl
70283 do :
70284 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70285 if test "x$ac_cv_func_sincosl" = x""yes; then :
70286 cat >>confdefs.h <<_ACEOF
70287 #define HAVE_SINCOSL 1
70288 _ACEOF
70289
70290 fi
70291 done
70292
70293 else
70294
70295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70296 $as_echo_n "checking for _sincosl declaration... " >&6; }
70297 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70298 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70299 $as_echo_n "(cached) " >&6
70300 else
70301
70302
70303 ac_ext=cpp
70304 ac_cpp='$CXXCPP $CPPFLAGS'
70305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70308
70309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70310 /* end confdefs.h. */
70311 #include <math.h>
70312 int
70313 main ()
70314 {
70315 _sincosl(0, 0, 0);
70316 ;
70317 return 0;
70318 }
70319 _ACEOF
70320 if ac_fn_cxx_try_compile "$LINENO"; then :
70321 glibcxx_cv_func__sincosl_use=yes
70322 else
70323 glibcxx_cv_func__sincosl_use=no
70324 fi
70325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70326 ac_ext=c
70327 ac_cpp='$CPP $CPPFLAGS'
70328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70331
70332
70333 fi
70334
70335 fi
70336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70337 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70338
70339 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70340 for ac_func in _sincosl
70341 do :
70342 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70343 if test "x$ac_cv_func__sincosl" = x""yes; then :
70344 cat >>confdefs.h <<_ACEOF
70345 #define HAVE__SINCOSL 1
70346 _ACEOF
70347
70348 fi
70349 done
70350
70351 fi
70352 fi
70353
70354
70355
70356
70357
70358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70359 $as_echo_n "checking for finitel declaration... " >&6; }
70360 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70361 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70362 $as_echo_n "(cached) " >&6
70363 else
70364
70365
70366 ac_ext=cpp
70367 ac_cpp='$CXXCPP $CPPFLAGS'
70368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70371
70372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70373 /* end confdefs.h. */
70374 #include <math.h>
70375 #ifdef HAVE_IEEEFP_H
70376 #include <ieeefp.h>
70377 #endif
70378
70379 int
70380 main ()
70381 {
70382 finitel(0);
70383 ;
70384 return 0;
70385 }
70386 _ACEOF
70387 if ac_fn_cxx_try_compile "$LINENO"; then :
70388 glibcxx_cv_func_finitel_use=yes
70389 else
70390 glibcxx_cv_func_finitel_use=no
70391 fi
70392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70393 ac_ext=c
70394 ac_cpp='$CPP $CPPFLAGS'
70395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70398
70399
70400 fi
70401
70402 fi
70403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70404 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70405
70406 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70407 for ac_func in finitel
70408 do :
70409 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70410 if test "x$ac_cv_func_finitel" = x""yes; then :
70411 cat >>confdefs.h <<_ACEOF
70412 #define HAVE_FINITEL 1
70413 _ACEOF
70414
70415 fi
70416 done
70417
70418 else
70419
70420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70421 $as_echo_n "checking for _finitel declaration... " >&6; }
70422 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70423 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70424 $as_echo_n "(cached) " >&6
70425 else
70426
70427
70428 ac_ext=cpp
70429 ac_cpp='$CXXCPP $CPPFLAGS'
70430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70433
70434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70435 /* end confdefs.h. */
70436 #include <math.h>
70437 #ifdef HAVE_IEEEFP_H
70438 #include <ieeefp.h>
70439 #endif
70440
70441 int
70442 main ()
70443 {
70444 _finitel(0);
70445 ;
70446 return 0;
70447 }
70448 _ACEOF
70449 if ac_fn_cxx_try_compile "$LINENO"; then :
70450 glibcxx_cv_func__finitel_use=yes
70451 else
70452 glibcxx_cv_func__finitel_use=no
70453 fi
70454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70455 ac_ext=c
70456 ac_cpp='$CPP $CPPFLAGS'
70457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70460
70461
70462 fi
70463
70464 fi
70465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70466 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70467
70468 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70469 for ac_func in _finitel
70470 do :
70471 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70472 if test "x$ac_cv_func__finitel" = x""yes; then :
70473 cat >>confdefs.h <<_ACEOF
70474 #define HAVE__FINITEL 1
70475 _ACEOF
70476
70477 fi
70478 done
70479
70480 fi
70481 fi
70482
70483
70484
70485
70486 LIBS="$ac_save_LIBS"
70487 CXXFLAGS="$ac_save_CXXFLAGS"
70488
70489
70490 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70491 ac_save_CXXFLAGS="$CXXFLAGS"
70492 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70493
70494
70495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70496 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70497 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70498 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70499 $as_echo_n "(cached) " >&6
70500 else
70501
70502
70503 ac_ext=cpp
70504 ac_cpp='$CXXCPP $CPPFLAGS'
70505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70508
70509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70510 /* end confdefs.h. */
70511 #include <stdlib.h>
70512 int
70513 main ()
70514 {
70515 at_quick_exit(0);
70516 ;
70517 return 0;
70518 }
70519 _ACEOF
70520 if ac_fn_cxx_try_compile "$LINENO"; then :
70521 glibcxx_cv_func_at_quick_exit_use=yes
70522 else
70523 glibcxx_cv_func_at_quick_exit_use=no
70524 fi
70525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70526 ac_ext=c
70527 ac_cpp='$CPP $CPPFLAGS'
70528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70531
70532
70533 fi
70534
70535 fi
70536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70537 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70538 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70539 for ac_func in at_quick_exit
70540 do :
70541 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70542 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70543 cat >>confdefs.h <<_ACEOF
70544 #define HAVE_AT_QUICK_EXIT 1
70545 _ACEOF
70546
70547 fi
70548 done
70549
70550 fi
70551
70552
70553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70554 $as_echo_n "checking for quick_exit declaration... " >&6; }
70555 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70556 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70557 $as_echo_n "(cached) " >&6
70558 else
70559
70560
70561 ac_ext=cpp
70562 ac_cpp='$CXXCPP $CPPFLAGS'
70563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70566
70567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70568 /* end confdefs.h. */
70569 #include <stdlib.h>
70570 int
70571 main ()
70572 {
70573 quick_exit(0);
70574 ;
70575 return 0;
70576 }
70577 _ACEOF
70578 if ac_fn_cxx_try_compile "$LINENO"; then :
70579 glibcxx_cv_func_quick_exit_use=yes
70580 else
70581 glibcxx_cv_func_quick_exit_use=no
70582 fi
70583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70584 ac_ext=c
70585 ac_cpp='$CPP $CPPFLAGS'
70586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70589
70590
70591 fi
70592
70593 fi
70594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70595 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70596 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70597 for ac_func in quick_exit
70598 do :
70599 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70600 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70601 cat >>confdefs.h <<_ACEOF
70602 #define HAVE_QUICK_EXIT 1
70603 _ACEOF
70604
70605 fi
70606 done
70607
70608 fi
70609
70610
70611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70612 $as_echo_n "checking for strtold declaration... " >&6; }
70613 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70614 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70615 $as_echo_n "(cached) " >&6
70616 else
70617
70618
70619 ac_ext=cpp
70620 ac_cpp='$CXXCPP $CPPFLAGS'
70621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70624
70625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70626 /* end confdefs.h. */
70627 #include <stdlib.h>
70628 int
70629 main ()
70630 {
70631 strtold(0, 0);
70632 ;
70633 return 0;
70634 }
70635 _ACEOF
70636 if ac_fn_cxx_try_compile "$LINENO"; then :
70637 glibcxx_cv_func_strtold_use=yes
70638 else
70639 glibcxx_cv_func_strtold_use=no
70640 fi
70641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70642 ac_ext=c
70643 ac_cpp='$CPP $CPPFLAGS'
70644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70647
70648
70649 fi
70650
70651 fi
70652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70653 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70654 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70655 for ac_func in strtold
70656 do :
70657 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70658 if test "x$ac_cv_func_strtold" = x""yes; then :
70659 cat >>confdefs.h <<_ACEOF
70660 #define HAVE_STRTOLD 1
70661 _ACEOF
70662
70663 fi
70664 done
70665
70666 fi
70667
70668
70669
70670
70671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
70672 $as_echo_n "checking for strtof declaration... " >&6; }
70673 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
70674 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
70675 $as_echo_n "(cached) " >&6
70676 else
70677
70678
70679 ac_ext=cpp
70680 ac_cpp='$CXXCPP $CPPFLAGS'
70681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70684
70685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70686 /* end confdefs.h. */
70687 #include <stdlib.h>
70688 int
70689 main ()
70690 {
70691 strtof(0, 0);
70692 ;
70693 return 0;
70694 }
70695 _ACEOF
70696 if ac_fn_cxx_try_compile "$LINENO"; then :
70697 glibcxx_cv_func_strtof_use=yes
70698 else
70699 glibcxx_cv_func_strtof_use=no
70700 fi
70701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70702 ac_ext=c
70703 ac_cpp='$CPP $CPPFLAGS'
70704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70707
70708
70709 fi
70710
70711 fi
70712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
70713 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
70714 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
70715 for ac_func in strtof
70716 do :
70717 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
70718 if test "x$ac_cv_func_strtof" = x""yes; then :
70719 cat >>confdefs.h <<_ACEOF
70720 #define HAVE_STRTOF 1
70721 _ACEOF
70722
70723 fi
70724 done
70725
70726 fi
70727
70728
70729
70730
70731 CXXFLAGS="$ac_save_CXXFLAGS"
70732
70733 ;;
70734 *-vxworks)
70735 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
70736
70737 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
70738
70739 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
70740
70741 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
70742
70743 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
70744
70745 $as_echo "#define HAVE_COSF 1" >>confdefs.h
70746
70747 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
70748
70749 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
70750
70751 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
70752
70753 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
70754
70755 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
70756
70757 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
70758
70759 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
70760
70761 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
70762
70763 $as_echo "#define HAVE_POWF 1" >>confdefs.h
70764
70765 $as_echo "#define HAVE_SINF 1" >>confdefs.h
70766
70767 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
70768
70769 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
70770
70771 $as_echo "#define HAVE_TANF 1" >>confdefs.h
70772
70773 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
70774
70775 ;;
70776 *)
70777 as_fn_error "No support for this host/target combination." "$LINENO" 5
70778 ;;
70779 esac
70780
70781 fi
70782
70783 # At some point, we should differentiate between architectures
70784 # like x86, which have long double versions, and alpha/powerpc/etc.,
70785 # which don't. For the time being, punt.
70786 if test x"long_double_math_on_this_cpu" = x"yes"; then
70787 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
70788
70789 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
70790
70791 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
70792
70793 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
70794
70795 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
70796
70797 $as_echo "#define HAVE_COSL 1" >>confdefs.h
70798
70799 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
70800
70801 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
70802
70803 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
70804
70805 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
70806
70807 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
70808
70809 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
70810
70811 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
70812
70813 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
70814
70815 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
70816
70817 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
70818
70819 $as_echo "#define HAVE_POWL 1" >>confdefs.h
70820
70821 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
70822
70823 $as_echo "#define HAVE_SINL 1" >>confdefs.h
70824
70825 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
70826
70827 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
70828
70829 $as_echo "#define HAVE_TANL 1" >>confdefs.h
70830
70831 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
70832
70833 fi
70834 fi
70835
70836 # Check for _Unwind_GetIPInfo.
70837
70838
70839 # Check whether --with-system-libunwind was given.
70840 if test "${with_system_libunwind+set}" = set; then :
70841 withval=$with_system_libunwind;
70842 fi
70843
70844 # If system-libunwind was not specifically set, pick a default setting.
70845 if test x$with_system_libunwind = x; then
70846 case ${target} in
70847 ia64-*-hpux*) with_system_libunwind=yes ;;
70848 *) with_system_libunwind=no ;;
70849 esac
70850 fi
70851 # Based on system-libunwind and target, do we have ipinfo?
70852 if test x$with_system_libunwind = xyes; then
70853 case ${target} in
70854 ia64-*-*) have_unwind_getipinfo=no ;;
70855 *) have_unwind_getipinfo=yes ;;
70856 esac
70857 else
70858 # Darwin before version 9 does not have _Unwind_GetIPInfo.
70859
70860 case ${target} in
70861 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
70862 *) have_unwind_getipinfo=yes ;;
70863 esac
70864
70865 fi
70866
70867 if test x$have_unwind_getipinfo = xyes; then
70868
70869 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
70870
70871 fi
70872
70873
70874 # Check whether --enable-linux-futex was given.
70875 if test "${enable_linux_futex+set}" = set; then :
70876 enableval=$enable_linux_futex;
70877 case "$enableval" in
70878 yes|no|default) ;;
70879 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
70880 esac
70881
70882 else
70883 enable_linux_futex=default
70884 fi
70885
70886
70887 case "$target" in
70888 *-linux*)
70889 case "$enable_linux_futex" in
70890 default)
70891 # If headers don't have gettid/futex syscalls definition, then
70892 # default to no, otherwise there will be compile time failures.
70893 # Otherwise, default to yes. If we don't detect we are
70894 # compiled/linked against NPTL and not cross-compiling, check
70895 # if programs are run by default against NPTL and if not, issue
70896 # a warning.
70897 enable_linux_futex=no
70898 if test x$gcc_no_link = xyes; then
70899 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70900 fi
70901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70902 /* end confdefs.h. */
70903 #include <sys/syscall.h>
70904 int lk;
70905 int
70906 main ()
70907 {
70908 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70909 ;
70910 return 0;
70911 }
70912 _ACEOF
70913 if ac_fn_c_try_link "$LINENO"; then :
70914 save_LIBS="$LIBS"
70915 LIBS="-lpthread $LIBS"
70916 if test x$gcc_no_link = xyes; then
70917 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70918 fi
70919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70920 /* end confdefs.h. */
70921 #ifndef _GNU_SOURCE
70922 #define _GNU_SOURCE 1
70923 #endif
70924 #include <pthread.h>
70925 pthread_t th; void *status;
70926 int
70927 main ()
70928 {
70929 pthread_tryjoin_np (th, &status);
70930 ;
70931 return 0;
70932 }
70933 _ACEOF
70934 if ac_fn_c_try_link "$LINENO"; then :
70935 enable_linux_futex=yes
70936 else
70937 if test x$cross_compiling = xno; then
70938 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
70939 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
70940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
70941 If so, please configure with --disable-linux-futex" >&5
70942 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
70943 If so, please configure with --disable-linux-futex" >&2;}
70944 fi
70945 fi
70946 enable_linux_futex=yes
70947 fi
70948 rm -f core conftest.err conftest.$ac_objext \
70949 conftest$ac_exeext conftest.$ac_ext
70950 LIBS="$save_LIBS"
70951 fi
70952 rm -f core conftest.err conftest.$ac_objext \
70953 conftest$ac_exeext conftest.$ac_ext
70954 ;;
70955 yes)
70956 if test x$gcc_no_link = xyes; then
70957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70958 fi
70959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70960 /* end confdefs.h. */
70961 #include <sys/syscall.h>
70962 int lk;
70963 int
70964 main ()
70965 {
70966 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70967 ;
70968 return 0;
70969 }
70970 _ACEOF
70971 if ac_fn_c_try_link "$LINENO"; then :
70972
70973 else
70974 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
70975 fi
70976 rm -f core conftest.err conftest.$ac_objext \
70977 conftest$ac_exeext conftest.$ac_ext
70978 ;;
70979 esac
70980 ;;
70981 *)
70982 enable_linux_futex=no
70983 ;;
70984 esac
70985 if test x$enable_linux_futex = xyes; then
70986
70987 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
70988
70989 fi
70990
70991
70992
70993
70994 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
70995
70996 acx_cv_header_stdint=stddef.h
70997 acx_cv_header_stdint_kind="(already complete)"
70998 for i in stdint.h $inttype_headers; do
70999 unset ac_cv_type_uintptr_t
71000 unset ac_cv_type_uintmax_t
71001 unset ac_cv_type_int_least32_t
71002 unset ac_cv_type_int_fast32_t
71003 unset ac_cv_type_uint64_t
71004 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
71005 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
71006 #include <$i>
71007 "
71008 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
71009 acx_cv_header_stdint=$i
71010 else
71011 continue
71012 fi
71013
71014 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71015 #include <$i>
71016 "
71017 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71018
71019 else
71020 acx_cv_header_stdint_kind="(mostly complete)"
71021 fi
71022
71023 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
71024 #include <$i>
71025 "
71026 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
71027
71028 else
71029 acx_cv_header_stdint_kind="(mostly complete)"
71030 fi
71031
71032 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
71033 #include <$i>
71034 "
71035 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
71036
71037 else
71038 acx_cv_header_stdint_kind="(mostly complete)"
71039 fi
71040
71041 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71042 #include <$i>
71043 "
71044 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71045
71046 else
71047 acx_cv_header_stdint_kind="(lacks uint64_t)"
71048 fi
71049
71050 break
71051 done
71052 if test "$acx_cv_header_stdint" = stddef.h; then
71053 acx_cv_header_stdint_kind="(lacks uintmax_t)"
71054 for i in stdint.h $inttype_headers; do
71055 unset ac_cv_type_uintptr_t
71056 unset ac_cv_type_uint32_t
71057 unset ac_cv_type_uint64_t
71058 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
71059 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
71060 #include <$i>
71061 "
71062 if test "x$ac_cv_type_uint32_t" = x""yes; then :
71063 acx_cv_header_stdint=$i
71064 else
71065 continue
71066 fi
71067
71068 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71069 #include <$i>
71070 "
71071 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71072
71073 fi
71074
71075 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71076 #include <$i>
71077 "
71078 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71079
71080 fi
71081
71082 break
71083 done
71084 fi
71085 if test "$acx_cv_header_stdint" = stddef.h; then
71086 acx_cv_header_stdint_kind="(u_intXX_t style)"
71087 for i in sys/types.h $inttype_headers; do
71088 unset ac_cv_type_u_int32_t
71089 unset ac_cv_type_u_int64_t
71090 $as_echo_n "looking for u_intXX_t types in $i, " >&6
71091 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
71092 #include <$i>
71093 "
71094 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
71095 acx_cv_header_stdint=$i
71096 else
71097 continue
71098 fi
71099
71100 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
71101 #include <$i>
71102 "
71103 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
71104
71105 fi
71106
71107 break
71108 done
71109 fi
71110 if test "$acx_cv_header_stdint" = stddef.h; then
71111 acx_cv_header_stdint_kind="(using manual detection)"
71112 fi
71113
71114 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
71115 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
71116 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
71117 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
71118 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
71119
71120 # ----------------- Summarize what we found so far
71121
71122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
71123 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
71124
71125 case `$as_basename -- include/gstdint.h ||
71126 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
71127 Xinclude/gstdint.h : 'X\(//\)$' \| \
71128 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
71129 $as_echo X/include/gstdint.h |
71130 sed '/^.*\/\([^/][^/]*\)\/*$/{
71131 s//\1/
71132 q
71133 }
71134 /^X\/\(\/\/\)$/{
71135 s//\1/
71136 q
71137 }
71138 /^X\/\(\/\).*/{
71139 s//\1/
71140 q
71141 }
71142 s/.*/./; q'` in
71143 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71144 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71145 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71146 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71147 *) ;;
71148 esac
71149
71150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
71151 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
71152
71153 # ----------------- done included file, check C basic types --------
71154
71155 # Lacking an uintptr_t? Test size of void *
71156 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
71157 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
71158 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71159 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71160 # This bug is HP SR number 8606223364.
71161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
71162 $as_echo_n "checking size of void *... " >&6; }
71163 if test "${ac_cv_sizeof_void_p+set}" = set; then :
71164 $as_echo_n "(cached) " >&6
71165 else
71166 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
71167
71168 else
71169 if test "$ac_cv_type_void_p" = yes; then
71170 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71172 { as_fn_set_status 77
71173 as_fn_error "cannot compute sizeof (void *)
71174 See \`config.log' for more details." "$LINENO" 5; }; }
71175 else
71176 ac_cv_sizeof_void_p=0
71177 fi
71178 fi
71179
71180 fi
71181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
71182 $as_echo "$ac_cv_sizeof_void_p" >&6; }
71183
71184
71185
71186 cat >>confdefs.h <<_ACEOF
71187 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
71188 _ACEOF
71189
71190 ;;
71191 esac
71192
71193 # Lacking an uint64_t? Test size of long
71194 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
71195 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
71196 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71197 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71198 # This bug is HP SR number 8606223364.
71199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
71200 $as_echo_n "checking size of long... " >&6; }
71201 if test "${ac_cv_sizeof_long+set}" = set; then :
71202 $as_echo_n "(cached) " >&6
71203 else
71204 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
71205
71206 else
71207 if test "$ac_cv_type_long" = yes; then
71208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71210 { as_fn_set_status 77
71211 as_fn_error "cannot compute sizeof (long)
71212 See \`config.log' for more details." "$LINENO" 5; }; }
71213 else
71214 ac_cv_sizeof_long=0
71215 fi
71216 fi
71217
71218 fi
71219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
71220 $as_echo "$ac_cv_sizeof_long" >&6; }
71221
71222
71223
71224 cat >>confdefs.h <<_ACEOF
71225 #define SIZEOF_LONG $ac_cv_sizeof_long
71226 _ACEOF
71227
71228 ;;
71229 esac
71230
71231 if test $acx_cv_header_stdint = stddef.h; then
71232 # Lacking a good header? Test size of everything and deduce all types.
71233 # The cast to long int works around a bug in the HP C Compiler
71234 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71235 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71236 # This bug is HP SR number 8606223364.
71237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
71238 $as_echo_n "checking size of int... " >&6; }
71239 if test "${ac_cv_sizeof_int+set}" = set; then :
71240 $as_echo_n "(cached) " >&6
71241 else
71242 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
71243
71244 else
71245 if test "$ac_cv_type_int" = yes; then
71246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71248 { as_fn_set_status 77
71249 as_fn_error "cannot compute sizeof (int)
71250 See \`config.log' for more details." "$LINENO" 5; }; }
71251 else
71252 ac_cv_sizeof_int=0
71253 fi
71254 fi
71255
71256 fi
71257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
71258 $as_echo "$ac_cv_sizeof_int" >&6; }
71259
71260
71261
71262 cat >>confdefs.h <<_ACEOF
71263 #define SIZEOF_INT $ac_cv_sizeof_int
71264 _ACEOF
71265
71266
71267 # The cast to long int works around a bug in the HP C Compiler
71268 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71269 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71270 # This bug is HP SR number 8606223364.
71271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
71272 $as_echo_n "checking size of short... " >&6; }
71273 if test "${ac_cv_sizeof_short+set}" = set; then :
71274 $as_echo_n "(cached) " >&6
71275 else
71276 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
71277
71278 else
71279 if test "$ac_cv_type_short" = yes; then
71280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71282 { as_fn_set_status 77
71283 as_fn_error "cannot compute sizeof (short)
71284 See \`config.log' for more details." "$LINENO" 5; }; }
71285 else
71286 ac_cv_sizeof_short=0
71287 fi
71288 fi
71289
71290 fi
71291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
71292 $as_echo "$ac_cv_sizeof_short" >&6; }
71293
71294
71295
71296 cat >>confdefs.h <<_ACEOF
71297 #define SIZEOF_SHORT $ac_cv_sizeof_short
71298 _ACEOF
71299
71300
71301 # The cast to long int works around a bug in the HP C Compiler
71302 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71303 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71304 # This bug is HP SR number 8606223364.
71305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
71306 $as_echo_n "checking size of char... " >&6; }
71307 if test "${ac_cv_sizeof_char+set}" = set; then :
71308 $as_echo_n "(cached) " >&6
71309 else
71310 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
71311
71312 else
71313 if test "$ac_cv_type_char" = yes; then
71314 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71316 { as_fn_set_status 77
71317 as_fn_error "cannot compute sizeof (char)
71318 See \`config.log' for more details." "$LINENO" 5; }; }
71319 else
71320 ac_cv_sizeof_char=0
71321 fi
71322 fi
71323
71324 fi
71325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
71326 $as_echo "$ac_cv_sizeof_char" >&6; }
71327
71328
71329
71330 cat >>confdefs.h <<_ACEOF
71331 #define SIZEOF_CHAR $ac_cv_sizeof_char
71332 _ACEOF
71333
71334
71335
71336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
71337 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
71338 case "$ac_cv_sizeof_char" in
71339 1) acx_cv_type_int8_t=char ;;
71340 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
71341 esac
71342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
71343 $as_echo "$acx_cv_type_int8_t" >&6; }
71344
71345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
71346 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
71347 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
71348 2:*) acx_cv_type_int16_t=int ;;
71349 *:2) acx_cv_type_int16_t=short ;;
71350 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
71351 esac
71352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
71353 $as_echo "$acx_cv_type_int16_t" >&6; }
71354
71355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
71356 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
71357 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
71358 4:*) acx_cv_type_int32_t=int ;;
71359 *:4) acx_cv_type_int32_t=long ;;
71360 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
71361 esac
71362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
71363 $as_echo "$acx_cv_type_int32_t" >&6; }
71364 fi
71365
71366 # These tests are here to make the output prettier
71367
71368 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
71369 case "$ac_cv_sizeof_long" in
71370 8) acx_cv_type_int64_t=long ;;
71371 esac
71372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
71373 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
71374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
71375 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
71376 fi
71377
71378 # Now we can use the above types
71379
71380 if test "$ac_cv_type_uintptr_t" != yes; then
71381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
71382 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
71383 case $ac_cv_sizeof_void_p in
71384 2) acx_cv_type_intptr_t=int16_t ;;
71385 4) acx_cv_type_intptr_t=int32_t ;;
71386 8) acx_cv_type_intptr_t=int64_t ;;
71387 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
71388 esac
71389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
71390 $as_echo "$acx_cv_type_intptr_t" >&6; }
71391 fi
71392
71393 # ----------------- done all checks, emit header -------------
71394 ac_config_commands="$ac_config_commands include/gstdint.h"
71395
71396
71397
71398
71399
71400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
71401 $as_echo_n "checking for GNU c++filt... " >&6; }
71402 if test "${ac_cv_path_CXXFILT+set}" = set; then :
71403 $as_echo_n "(cached) " >&6
71404 else
71405 if test -z "$CXXFILT"; then
71406 ac_path_CXXFILT_found=false
71407 # Loop through the user's path and test for each of PROGNAME-LIST
71408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71409 for as_dir in $PATH
71410 do
71411 IFS=$as_save_IFS
71412 test -z "$as_dir" && as_dir=.
71413 for ac_prog in c++filt gc++filt; do
71414 for ac_exec_ext in '' $ac_executable_extensions; do
71415 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
71416 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
71417 # Check for GNU $ac_path_CXXFILT
71418 case `"$ac_path_CXXFILT" --version 2>&1` in
71419 *GNU*)
71420 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
71421 esac
71422
71423 $ac_path_CXXFILT_found && break 3
71424 done
71425 done
71426 done
71427 IFS=$as_save_IFS
71428 if test -z "$ac_cv_path_CXXFILT"; then
71429 :
71430 fi
71431 else
71432 ac_cv_path_CXXFILT=$CXXFILT
71433 fi
71434
71435 fi
71436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
71437 $as_echo "$ac_cv_path_CXXFILT" >&6; }
71438 CXXFILT=$ac_cv_path_CXXFILT
71439
71440
71441
71442 # Check whether --enable-symvers was given.
71443 if test "${enable_symvers+set}" = set; then :
71444 enableval=$enable_symvers;
71445 case "$enableval" in
71446 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
71447 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
71448 esac
71449
71450 else
71451 enable_symvers=yes
71452 fi
71453
71454
71455
71456 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
71457 # don't know enough about $LD to do tricks...
71458
71459 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
71460 # with extern "C++" in version scripts.
71461
71462
71463 # Turn a 'yes' into a suitable default.
71464 if test x$enable_symvers = xyes ; then
71465 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
71466 enable_symvers=no
71467 else
71468 if test $with_gnu_ld = yes ; then
71469 case ${target_os} in
71470 hpux*)
71471 enable_symvers=no ;;
71472 *)
71473 enable_symvers=gnu ;;
71474 esac
71475 else
71476 case ${target_os} in
71477 darwin*)
71478 enable_symvers=darwin ;;
71479 # Sun symbol versioning exists since Solaris 2.5.
71480 solaris2.[5-9]* | solaris2.1[0-9]*)
71481 # make_sunver.pl needs GNU c++filt to support extern "C++" in
71482 # version scripts, so disable symbol versioning if none can be
71483 # found.
71484 if test -z "$ac_cv_path_CXXFILT"; then
71485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71486 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
71488 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
71489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71490 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71491 enable_symvers=no
71492 else
71493 enable_symvers=sun
71494 fi
71495 ;;
71496 *)
71497 enable_symvers=no ;;
71498 esac
71499 fi
71500 fi
71501 fi
71502
71503 # Check to see if 'darwin' or 'darwin-export' can win.
71504 if test x$enable_symvers = xdarwin-export ; then
71505 enable_symvers=darwin
71506 fi
71507
71508 # Check if 'sun' was requested on non-Solaris 2 platforms.
71509 if test x$enable_symvers = xsun ; then
71510 case ${target_os} in
71511 solaris2*)
71512 # All fine.
71513 ;;
71514 *)
71515 # Unlikely to work.
71516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71517 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
71519 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
71520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71521 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71522 enable_symvers=no
71523 ;;
71524 esac
71525 fi
71526
71527 # Check to see if 'gnu' can win.
71528 if test $enable_symvers = gnu ||
71529 test $enable_symvers = gnu-versioned-namespace ||
71530 test $enable_symvers = sun; then
71531 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
71532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
71533 $as_echo_n "checking for shared libgcc... " >&6; }
71534 ac_save_CFLAGS="$CFLAGS"
71535 CFLAGS=' -lgcc_s'
71536 if test x$gcc_no_link = xyes; then
71537 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71538 fi
71539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71540 /* end confdefs.h. */
71541
71542 int
71543 main ()
71544 {
71545 return 0;
71546 ;
71547 return 0;
71548 }
71549 _ACEOF
71550 if ac_fn_c_try_link "$LINENO"; then :
71551 glibcxx_shared_libgcc=yes
71552 else
71553 glibcxx_shared_libgcc=no
71554 fi
71555 rm -f core conftest.err conftest.$ac_objext \
71556 conftest$ac_exeext conftest.$ac_ext
71557 CFLAGS="$ac_save_CFLAGS"
71558 if test $glibcxx_shared_libgcc = no; then
71559 cat > conftest.c <<EOF
71560 int main (void) { return 0; }
71561 EOF
71562 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
71563 -shared -shared-libgcc -o conftest.so \
71564 conftest.c -v 2>&1 >/dev/null \
71565 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
71566 rm -f conftest.c conftest.so
71567 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
71568 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
71569 if test x$gcc_no_link = xyes; then
71570 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71571 fi
71572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71573 /* end confdefs.h. */
71574
71575 int
71576 main ()
71577 {
71578 return 0;
71579 ;
71580 return 0;
71581 }
71582 _ACEOF
71583 if ac_fn_c_try_link "$LINENO"; then :
71584 glibcxx_shared_libgcc=yes
71585 fi
71586 rm -f core conftest.err conftest.$ac_objext \
71587 conftest$ac_exeext conftest.$ac_ext
71588 CFLAGS="$ac_save_CFLAGS"
71589 fi
71590 fi
71591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
71592 $as_echo "$glibcxx_shared_libgcc" >&6; }
71593
71594 # For GNU ld, we need at least this version. The format is described in
71595 # GLIBCXX_CHECK_LINKER_FEATURES above.
71596 glibcxx_min_gnu_ld_version=21400
71597
71598 # If no shared libgcc, can't win.
71599 if test $glibcxx_shared_libgcc != yes; then
71600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71601 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
71603 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
71604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71605 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71606 enable_symvers=no
71607 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
71608 : All interesting versions of Sun ld support sun style symbol versioning.
71609 elif test $with_gnu_ld != yes ; then
71610 # just fail for now
71611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71612 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
71614 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
71615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71616 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71617 enable_symvers=no
71618 elif test $glibcxx_ld_is_gold = yes ; then
71619 : All versions of gold support symbol versioning.
71620 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
71621 # The right tools, the right setup, but too old. Fallbacks?
71622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
71623 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
71624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
71625 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
71626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
71627 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
71628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
71629 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
71630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71631 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71632 enable_symvers=no
71633 fi
71634 fi
71635
71636 # For libtool versioning info, format is CURRENT:REVISION:AGE
71637 libtool_VERSION=6:19:0
71638
71639 # Everything parsed; figure out what files and settings to use.
71640 case $enable_symvers in
71641 no)
71642 SYMVER_FILE=config/abi/pre/none.ver
71643 ;;
71644 gnu)
71645 SYMVER_FILE=config/abi/pre/gnu.ver
71646
71647 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
71648
71649 ;;
71650 gnu-versioned-namespace)
71651 libtool_VERSION=7:0:0
71652 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
71653
71654 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
71655
71656 ;;
71657 darwin)
71658 SYMVER_FILE=config/abi/pre/gnu.ver
71659
71660 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
71661
71662 ;;
71663 sun)
71664 SYMVER_FILE=config/abi/pre/gnu.ver
71665
71666 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
71667
71668 ;;
71669 esac
71670
71671 if test x$enable_symvers != xno ; then
71672
71673 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
71674
71675 fi
71676
71677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
71678 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
71679 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
71680 $as_echo_n "(cached) " >&6
71681 else
71682
71683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71684 /* end confdefs.h. */
71685 void foo (void); __asm (".symver foo, bar@SYMVER");
71686 int
71687 main ()
71688 {
71689
71690 ;
71691 return 0;
71692 }
71693 _ACEOF
71694 if ac_fn_c_try_compile "$LINENO"; then :
71695 glibcxx_cv_have_as_symver_directive=yes
71696 else
71697 glibcxx_cv_have_as_symver_directive=no
71698 fi
71699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71700 fi
71701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
71702 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
71703 if test $glibcxx_cv_have_as_symver_directive = yes; then
71704
71705 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
71706
71707 fi
71708
71709
71710
71711
71712
71713
71714
71715
71716 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
71717 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
71718
71719 if test $enable_symvers != no ; then
71720 case ${target_os} in
71721 # The Solaris 2 runtime linker doesn't support the GNU extension of
71722 # binding the same symbol to different versions
71723 solaris2*)
71724 ;;
71725 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
71726 *)
71727
71728 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
71729
71730 ;;
71731 esac
71732 fi
71733
71734 # Now, set up compatibility support, if any.
71735 # In addition, need this to deal with std::size_t mangling in
71736 # src/compatibility.cc. In a perfect world, could use
71737 # typeid(std::size_t).name()[0] to do direct substitution.
71738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
71739 $as_echo_n "checking for size_t as unsigned int... " >&6; }
71740 ac_save_CFLAGS="$CFLAGS"
71741 CFLAGS="-Werror"
71742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71743 /* end confdefs.h. */
71744
71745 int
71746 main ()
71747 {
71748 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
71749 ;
71750 return 0;
71751 }
71752 _ACEOF
71753 if ac_fn_c_try_compile "$LINENO"; then :
71754 glibcxx_size_t_is_i=yes
71755 else
71756 glibcxx_size_t_is_i=no
71757 fi
71758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71759 CFLAGS=$ac_save_CFLAGS
71760 if test "$glibcxx_size_t_is_i" = yes; then
71761
71762 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
71763
71764 fi
71765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
71766 $as_echo "$glibcxx_size_t_is_i" >&6; }
71767
71768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
71769 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
71770 ac_save_CFLAGS="$CFLAGS"
71771 CFLAGS="-Werror"
71772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71773 /* end confdefs.h. */
71774
71775 int
71776 main ()
71777 {
71778 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
71779 ;
71780 return 0;
71781 }
71782 _ACEOF
71783 if ac_fn_c_try_compile "$LINENO"; then :
71784 glibcxx_ptrdiff_t_is_i=yes
71785 else
71786 glibcxx_ptrdiff_t_is_i=no
71787 fi
71788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71789 CFLAGS=$ac_save_CFLAGS
71790 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
71791
71792 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
71793
71794 fi
71795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
71796 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
71797
71798
71799
71800
71801 # Check whether --enable-libstdcxx-visibility was given.
71802 if test "${enable_libstdcxx_visibility+set}" = set; then :
71803 enableval=$enable_libstdcxx_visibility;
71804 case "$enableval" in
71805 yes|no) ;;
71806 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
71807 esac
71808
71809 else
71810 enable_libstdcxx_visibility=yes
71811 fi
71812
71813
71814
71815 if test x$enable_libstdcxx_visibility = xyes ; then
71816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
71817 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
71818 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
71819 $as_echo_n "(cached) " >&6
71820 else
71821
71822 save_CFLAGS="$CFLAGS"
71823 CFLAGS="$CFLAGS -Werror"
71824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71825 /* end confdefs.h. */
71826 void __attribute__((visibility("hidden"))) foo(void) { }
71827 int
71828 main ()
71829 {
71830
71831 ;
71832 return 0;
71833 }
71834 _ACEOF
71835 if ac_fn_c_try_compile "$LINENO"; then :
71836 glibcxx_cv_have_attribute_visibility=yes
71837 else
71838 glibcxx_cv_have_attribute_visibility=no
71839 fi
71840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71841 CFLAGS="$save_CFLAGS"
71842 fi
71843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
71844 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
71845 if test $glibcxx_cv_have_attribute_visibility = no; then
71846 enable_libstdcxx_visibility=no
71847 fi
71848 fi
71849
71850
71851 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
71852 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
71853
71854
71855 ac_ldbl_compat=no
71856 case "$target" in
71857 powerpc*-*-linux* | \
71858 sparc*-*-linux* | \
71859 s390*-*-linux* | \
71860 alpha*-*-linux*)
71861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71862 /* end confdefs.h. */
71863
71864 int
71865 main ()
71866 {
71867
71868 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
71869 #error no need for long double compatibility
71870 #endif
71871
71872 ;
71873 return 0;
71874 }
71875 _ACEOF
71876 if ac_fn_c_try_compile "$LINENO"; then :
71877 ac_ldbl_compat=yes
71878 else
71879 ac_ldbl_compat=no
71880 fi
71881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71882 if test "$ac_ldbl_compat" = yes; then
71883
71884 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
71885
71886 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
71887 fi
71888 esac
71889
71890
71891 # Check if assembler supports disabling hardware capability support.
71892
71893 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
71894
71895 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
71896 # with a different meaning.
71897 case ${target_os} in
71898 solaris2*)
71899 ac_save_CFLAGS="$CFLAGS"
71900 CFLAGS="$CFLAGS -Wa,-nH"
71901
71902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
71903 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
71904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71905 /* end confdefs.h. */
71906
71907 int
71908 main ()
71909 {
71910 return 0;
71911 ;
71912 return 0;
71913 }
71914 _ACEOF
71915 if ac_fn_c_try_compile "$LINENO"; then :
71916 ac_hwcap_flags=yes
71917 else
71918 ac_hwcap_flags=no
71919 fi
71920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71921 if test "$ac_hwcap_flags" = "yes"; then
71922 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
71923 fi
71924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
71925 $as_echo "$ac_hwcap_flags" >&6; }
71926
71927 CFLAGS="$ac_save_CFLAGS"
71928 ;;
71929 esac
71930
71931
71932
71933
71934 # Check if assembler supports rdrand opcode.
71935
71936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
71937 $as_echo_n "checking for rdrand support in assembler... " >&6; }
71938 if test "${ac_cv_x86_rdrand+set}" = set; then :
71939 $as_echo_n "(cached) " >&6
71940 else
71941
71942 ac_cv_x86_rdrand=no
71943 case "$target" in
71944 i?86-*-* | \
71945 x86_64-*-*)
71946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71947 /* end confdefs.h. */
71948
71949 int
71950 main ()
71951 {
71952 asm("rdrand %eax");
71953 ;
71954 return 0;
71955 }
71956 _ACEOF
71957 if ac_fn_c_try_compile "$LINENO"; then :
71958 ac_cv_x86_rdrand=yes
71959 else
71960 ac_cv_x86_rdrand=no
71961 fi
71962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71963 esac
71964
71965 fi
71966
71967 if test $ac_cv_x86_rdrand = yes; then
71968
71969 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
71970
71971 fi
71972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
71973 $as_echo "$ac_cv_x86_rdrand" >&6; }
71974
71975
71976 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
71977
71978 if $GLIBCXX_IS_NATIVE ; then
71979 # Do checks for resource limit functions.
71980
71981 setrlimit_have_headers=yes
71982 for ac_header in unistd.h sys/time.h sys/resource.h
71983 do :
71984 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71985 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71986 eval as_val=\$$as_ac_Header
71987 if test "x$as_val" = x""yes; then :
71988 cat >>confdefs.h <<_ACEOF
71989 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71990 _ACEOF
71991
71992 else
71993 setrlimit_have_headers=no
71994 fi
71995
71996 done
71997
71998 # If don't have the headers, then we can't run the tests now, and we
71999 # won't be seeing any of these during testsuite compilation.
72000 if test $setrlimit_have_headers = yes; then
72001 # Can't do these in a loop, else the resulting syntax is wrong.
72002
72003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
72004 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
72005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72006 /* end confdefs.h. */
72007 #include <unistd.h>
72008 #include <sys/time.h>
72009 #include <sys/resource.h>
72010
72011 int
72012 main ()
72013 {
72014 int f = RLIMIT_DATA ;
72015 ;
72016 return 0;
72017 }
72018 _ACEOF
72019 if ac_fn_c_try_compile "$LINENO"; then :
72020 glibcxx_mresult=1
72021 else
72022 glibcxx_mresult=0
72023 fi
72024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72025
72026 cat >>confdefs.h <<_ACEOF
72027 #define HAVE_LIMIT_DATA $glibcxx_mresult
72028 _ACEOF
72029
72030 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72032 $as_echo "$res" >&6; }
72033
72034
72035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
72036 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
72037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72038 /* end confdefs.h. */
72039 #include <unistd.h>
72040 #include <sys/time.h>
72041 #include <sys/resource.h>
72042
72043 int
72044 main ()
72045 {
72046 int f = RLIMIT_RSS ;
72047 ;
72048 return 0;
72049 }
72050 _ACEOF
72051 if ac_fn_c_try_compile "$LINENO"; then :
72052 glibcxx_mresult=1
72053 else
72054 glibcxx_mresult=0
72055 fi
72056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72057
72058 cat >>confdefs.h <<_ACEOF
72059 #define HAVE_LIMIT_RSS $glibcxx_mresult
72060 _ACEOF
72061
72062 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72064 $as_echo "$res" >&6; }
72065
72066
72067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
72068 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
72069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72070 /* end confdefs.h. */
72071 #include <unistd.h>
72072 #include <sys/time.h>
72073 #include <sys/resource.h>
72074
72075 int
72076 main ()
72077 {
72078 int f = RLIMIT_VMEM ;
72079 ;
72080 return 0;
72081 }
72082 _ACEOF
72083 if ac_fn_c_try_compile "$LINENO"; then :
72084 glibcxx_mresult=1
72085 else
72086 glibcxx_mresult=0
72087 fi
72088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72089
72090 cat >>confdefs.h <<_ACEOF
72091 #define HAVE_LIMIT_VMEM $glibcxx_mresult
72092 _ACEOF
72093
72094 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72096 $as_echo "$res" >&6; }
72097
72098
72099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
72100 $as_echo_n "checking for RLIMIT_AS... " >&6; }
72101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72102 /* end confdefs.h. */
72103 #include <unistd.h>
72104 #include <sys/time.h>
72105 #include <sys/resource.h>
72106
72107 int
72108 main ()
72109 {
72110 int f = RLIMIT_AS ;
72111 ;
72112 return 0;
72113 }
72114 _ACEOF
72115 if ac_fn_c_try_compile "$LINENO"; then :
72116 glibcxx_mresult=1
72117 else
72118 glibcxx_mresult=0
72119 fi
72120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72121
72122 cat >>confdefs.h <<_ACEOF
72123 #define HAVE_LIMIT_AS $glibcxx_mresult
72124 _ACEOF
72125
72126 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72128 $as_echo "$res" >&6; }
72129
72130
72131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
72132 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
72133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72134 /* end confdefs.h. */
72135 #include <unistd.h>
72136 #include <sys/time.h>
72137 #include <sys/resource.h>
72138
72139 int
72140 main ()
72141 {
72142 int f = RLIMIT_FSIZE ;
72143 ;
72144 return 0;
72145 }
72146 _ACEOF
72147 if ac_fn_c_try_compile "$LINENO"; then :
72148 glibcxx_mresult=1
72149 else
72150 glibcxx_mresult=0
72151 fi
72152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72153
72154 cat >>confdefs.h <<_ACEOF
72155 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
72156 _ACEOF
72157
72158 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72160 $as_echo "$res" >&6; }
72161
72162
72163 # Check for rlimit, setrlimit.
72164 if test "${glibcxx_cv_setrlimit+set}" = set; then :
72165 $as_echo_n "(cached) " >&6
72166 else
72167
72168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72169 /* end confdefs.h. */
72170 #include <unistd.h>
72171 #include <sys/time.h>
72172 #include <sys/resource.h>
72173
72174 int
72175 main ()
72176 {
72177 struct rlimit r;
72178 setrlimit(0, &r);
72179 ;
72180 return 0;
72181 }
72182 _ACEOF
72183 if ac_fn_c_try_compile "$LINENO"; then :
72184 glibcxx_cv_setrlimit=yes
72185 else
72186 glibcxx_cv_setrlimit=no
72187 fi
72188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72189
72190 fi
72191
72192 fi
72193
72194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
72195 $as_echo_n "checking for testsuite resource limits support... " >&6; }
72196 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
72197 ac_res_limits=yes
72198
72199 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
72200
72201 else
72202 ac_res_limits=no
72203 fi
72204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
72205 $as_echo "$ac_res_limits" >&6; }
72206
72207
72208 # Look for setenv, so that extended locale tests can be performed.
72209
72210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
72211 $as_echo_n "checking for setenv declaration... " >&6; }
72212 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
72213 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
72214 $as_echo_n "(cached) " >&6
72215 else
72216
72217
72218 ac_ext=cpp
72219 ac_cpp='$CXXCPP $CPPFLAGS'
72220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72223
72224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72225 /* end confdefs.h. */
72226 #include <stdlib.h>
72227 int
72228 main ()
72229 {
72230 setenv(0, 0, 0);
72231 ;
72232 return 0;
72233 }
72234 _ACEOF
72235 if ac_fn_cxx_try_compile "$LINENO"; then :
72236 glibcxx_cv_func_setenv_use=yes
72237 else
72238 glibcxx_cv_func_setenv_use=no
72239 fi
72240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72241 ac_ext=c
72242 ac_cpp='$CPP $CPPFLAGS'
72243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72246
72247
72248 fi
72249
72250 fi
72251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
72252 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
72253 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
72254 for ac_func in setenv
72255 do :
72256 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
72257 if test "x$ac_cv_func_setenv" = x""yes; then :
72258 cat >>confdefs.h <<_ACEOF
72259 #define HAVE_SETENV 1
72260 _ACEOF
72261
72262 fi
72263 done
72264
72265 fi
72266
72267 fi
72268
72269 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
72270 test $enable_symvers != no; then
72271 case "$host" in
72272 *-*-cygwin*)
72273 enable_abi_check=no ;;
72274 *)
72275 enable_abi_check=yes ;;
72276 esac
72277 else
72278 # Only build this as native, since automake does not understand
72279 # CXX_FOR_BUILD.
72280 enable_abi_check=no
72281 fi
72282
72283 # Export file names for ABI checking.
72284 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
72285
72286 baseline_subdir_switch="$abi_baseline_subdir_switch"
72287
72288
72289
72290 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
72291
72292 # Check whether --enable-libstdcxx-threads was given.
72293 if test "${enable_libstdcxx_threads+set}" = set; then :
72294 enableval=$enable_libstdcxx_threads;
72295 case "$enableval" in
72296 yes|no) ;;
72297 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
72298 esac
72299
72300 else
72301 enable_libstdcxx_threads=auto
72302 fi
72303
72304
72305
72306 if test x$enable_libstdcxx_threads = xauto ||
72307 test x$enable_libstdcxx_threads = xyes; then
72308
72309
72310 ac_ext=cpp
72311 ac_cpp='$CXXCPP $CPPFLAGS'
72312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72315
72316
72317 ac_save_CXXFLAGS="$CXXFLAGS"
72318 CXXFLAGS="$CXXFLAGS -fno-exceptions \
72319 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
72320
72321 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
72322 case $target_thread_file in
72323 posix)
72324 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
72325 esac
72326
72327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
72328 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
72329
72330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72331 /* end confdefs.h. */
72332 #include <unistd.h>
72333 int
72334 main ()
72335 {
72336
72337 // In case of POSIX threads check _POSIX_TIMEOUTS.
72338 #if (defined(_PTHREADS) \
72339 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
72340 #error
72341 #endif
72342
72343 ;
72344 return 0;
72345 }
72346 _ACEOF
72347 if ac_fn_cxx_try_compile "$LINENO"; then :
72348 ac_gthread_use_mutex_timedlock=1
72349 else
72350 ac_gthread_use_mutex_timedlock=0
72351 fi
72352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72353
72354
72355 cat >>confdefs.h <<_ACEOF
72356 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
72357 _ACEOF
72358
72359
72360 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
72361 else res_mutex_timedlock=no ; fi
72362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
72363 $as_echo "$res_mutex_timedlock" >&6; }
72364
72365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
72366 $as_echo_n "checking for gthreads library... " >&6; }
72367
72368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72369 /* end confdefs.h. */
72370 #include "gthr.h"
72371 int
72372 main ()
72373 {
72374
72375 #ifndef __GTHREADS_CXX0X
72376 #error
72377 #endif
72378
72379 ;
72380 return 0;
72381 }
72382 _ACEOF
72383 if ac_fn_cxx_try_compile "$LINENO"; then :
72384 case $target_os in
72385 # gthreads support breaks symbol versioning on Solaris 9 (PR
72386 # libstdc++/52189).
72387 solaris2.9*)
72388 if test x$enable_symvers = xno; then
72389 ac_has_gthreads=yes
72390 elif test x$enable_libstdcxx_threads = xyes; then
72391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
72392 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
72393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
72394 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
72395 ac_has_gthreads=yes
72396 else
72397 ac_has_gthreads=no
72398 fi
72399 ;;
72400 *)
72401 ac_has_gthreads=yes
72402 ;;
72403 esac
72404 else
72405 ac_has_gthreads=no
72406 fi
72407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72408 else
72409 ac_has_gthreads=no
72410 fi
72411
72412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
72413 $as_echo "$ac_has_gthreads" >&6; }
72414
72415 if test x"$ac_has_gthreads" = x"yes"; then
72416
72417 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
72418
72419 fi
72420
72421 CXXFLAGS="$ac_save_CXXFLAGS"
72422 ac_ext=c
72423 ac_cpp='$CPP $CPPFLAGS'
72424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72427
72428
72429
72430 # Define documentation rules conditionally.
72431
72432 # See if makeinfo has been installed and is modern enough
72433 # that we can use it.
72434
72435 # Extract the first word of "makeinfo", so it can be a program name with args.
72436 set dummy makeinfo; ac_word=$2
72437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72438 $as_echo_n "checking for $ac_word... " >&6; }
72439 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
72440 $as_echo_n "(cached) " >&6
72441 else
72442 if test -n "$MAKEINFO"; then
72443 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
72444 else
72445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72446 for as_dir in $PATH
72447 do
72448 IFS=$as_save_IFS
72449 test -z "$as_dir" && as_dir=.
72450 for ac_exec_ext in '' $ac_executable_extensions; do
72451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72452 ac_cv_prog_MAKEINFO="makeinfo"
72453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72454 break 2
72455 fi
72456 done
72457 done
72458 IFS=$as_save_IFS
72459
72460 fi
72461 fi
72462 MAKEINFO=$ac_cv_prog_MAKEINFO
72463 if test -n "$MAKEINFO"; then
72464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
72465 $as_echo "$MAKEINFO" >&6; }
72466 else
72467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72468 $as_echo "no" >&6; }
72469 fi
72470
72471
72472 if test -n "$MAKEINFO"; then
72473 # Found it, now check the version.
72474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
72475 $as_echo_n "checking for modern makeinfo... " >&6; }
72476 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
72477 $as_echo_n "(cached) " >&6
72478 else
72479 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
72480 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
72481
72482 case $ac_prog_version in
72483 '') gcc_cv_prog_makeinfo_modern=no;;
72484 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
72485 *) gcc_cv_prog_makeinfo_modern=no;;
72486 esac
72487
72488 fi
72489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
72490 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
72491 else
72492 gcc_cv_prog_makeinfo_modern=no
72493 fi
72494 if test $gcc_cv_prog_makeinfo_modern = no; then
72495 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
72496 fi
72497
72498 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
72499 BUILD_INFO_TRUE=
72500 BUILD_INFO_FALSE='#'
72501 else
72502 BUILD_INFO_TRUE='#'
72503 BUILD_INFO_FALSE=
72504 fi
72505
72506
72507 # Check for doxygen
72508 # Extract the first word of "doxygen", so it can be a program name with args.
72509 set dummy doxygen; ac_word=$2
72510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72511 $as_echo_n "checking for $ac_word... " >&6; }
72512 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
72513 $as_echo_n "(cached) " >&6
72514 else
72515 if test -n "$DOXYGEN"; then
72516 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
72517 else
72518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72519 for as_dir in $PATH
72520 do
72521 IFS=$as_save_IFS
72522 test -z "$as_dir" && as_dir=.
72523 for ac_exec_ext in '' $ac_executable_extensions; do
72524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72525 ac_cv_prog_DOXYGEN="yes"
72526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72527 break 2
72528 fi
72529 done
72530 done
72531 IFS=$as_save_IFS
72532
72533 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
72534 fi
72535 fi
72536 DOXYGEN=$ac_cv_prog_DOXYGEN
72537 if test -n "$DOXYGEN"; then
72538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
72539 $as_echo "$DOXYGEN" >&6; }
72540 else
72541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72542 $as_echo "no" >&6; }
72543 fi
72544
72545
72546 # Extract the first word of "dot", so it can be a program name with args.
72547 set dummy dot; ac_word=$2
72548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72549 $as_echo_n "checking for $ac_word... " >&6; }
72550 if test "${ac_cv_prog_DOT+set}" = set; then :
72551 $as_echo_n "(cached) " >&6
72552 else
72553 if test -n "$DOT"; then
72554 ac_cv_prog_DOT="$DOT" # Let the user override the test.
72555 else
72556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72557 for as_dir in $PATH
72558 do
72559 IFS=$as_save_IFS
72560 test -z "$as_dir" && as_dir=.
72561 for ac_exec_ext in '' $ac_executable_extensions; do
72562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72563 ac_cv_prog_DOT="yes"
72564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72565 break 2
72566 fi
72567 done
72568 done
72569 IFS=$as_save_IFS
72570
72571 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72572 fi
72573 fi
72574 DOT=$ac_cv_prog_DOT
72575 if test -n "$DOT"; then
72576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72577 $as_echo "$DOT" >&6; }
72578 else
72579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72580 $as_echo "no" >&6; }
72581 fi
72582
72583
72584
72585 # Check for docbook
72586 # Extract the first word of "xsltproc", so it can be a program name with args.
72587 set dummy xsltproc; ac_word=$2
72588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72589 $as_echo_n "checking for $ac_word... " >&6; }
72590 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
72591 $as_echo_n "(cached) " >&6
72592 else
72593 if test -n "$XSLTPROC"; then
72594 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72595 else
72596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72597 for as_dir in $PATH
72598 do
72599 IFS=$as_save_IFS
72600 test -z "$as_dir" && as_dir=.
72601 for ac_exec_ext in '' $ac_executable_extensions; do
72602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72603 ac_cv_prog_XSLTPROC="yes"
72604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72605 break 2
72606 fi
72607 done
72608 done
72609 IFS=$as_save_IFS
72610
72611 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72612 fi
72613 fi
72614 XSLTPROC=$ac_cv_prog_XSLTPROC
72615 if test -n "$XSLTPROC"; then
72616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72617 $as_echo "$XSLTPROC" >&6; }
72618 else
72619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72620 $as_echo "no" >&6; }
72621 fi
72622
72623
72624 # Extract the first word of "xmllint", so it can be a program name with args.
72625 set dummy xmllint; ac_word=$2
72626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72627 $as_echo_n "checking for $ac_word... " >&6; }
72628 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
72629 $as_echo_n "(cached) " >&6
72630 else
72631 if test -n "$XMLLINT"; then
72632 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72633 else
72634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72635 for as_dir in $PATH
72636 do
72637 IFS=$as_save_IFS
72638 test -z "$as_dir" && as_dir=.
72639 for ac_exec_ext in '' $ac_executable_extensions; do
72640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72641 ac_cv_prog_XMLLINT="yes"
72642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72643 break 2
72644 fi
72645 done
72646 done
72647 IFS=$as_save_IFS
72648
72649 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72650 fi
72651 fi
72652 XMLLINT=$ac_cv_prog_XMLLINT
72653 if test -n "$XMLLINT"; then
72654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72655 $as_echo "$XMLLINT" >&6; }
72656 else
72657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72658 $as_echo "no" >&6; }
72659 fi
72660
72661
72662
72663
72664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72665 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72666 glibcxx_stylesheets=no
72667 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
72668 glibcxx_stylesheets=yes
72669 fi
72670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72671 $as_echo "$glibcxx_stylesheets" >&6; }
72672
72673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72674 $as_echo_n "checking for local stylesheet directory... " >&6; }
72675 glibcxx_local_stylesheets=no
72676 if test x"$glibcxx_stylesheets" = x"yes"; then
72677 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
72678 glibcxx_local_stylesheets=yes
72679 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
72680 fi
72681 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
72682 glibcxx_local_stylesheets=yes
72683 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
72684 fi
72685 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
72686 glibcxx_local_stylesheets=yes
72687 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
72688 fi
72689 fi
72690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72691 $as_echo "$glibcxx_local_stylesheets" >&6; }
72692
72693 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72694
72695 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72696 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72697 else
72698 glibcxx_stylesheets=no
72699 fi
72700
72701 # Check for epub3 dependencies.
72702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72703 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72704 glibcxx_epub_stylesheets=no
72705 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72706 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72707 glibcxx_epub_stylesheets=yes
72708 fi
72709 fi
72710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72711 $as_echo "$glibcxx_epub_stylesheets" >&6; }
72712 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72713 BUILD_EPUB_TRUE=
72714 BUILD_EPUB_FALSE='#'
72715 else
72716 BUILD_EPUB_TRUE='#'
72717 BUILD_EPUB_FALSE=
72718 fi
72719
72720
72721
72722
72723 # Check for xml/html dependencies.
72724 if test $ac_cv_prog_DOXYGEN = "yes" &&
72725 test $ac_cv_prog_DOT = "yes" &&
72726 test $ac_cv_prog_XSLTPROC = "yes" &&
72727 test $ac_cv_prog_XMLLINT = "yes" &&
72728 test $glibcxx_stylesheets = "yes"; then
72729 BUILD_XML_TRUE=
72730 BUILD_XML_FALSE='#'
72731 else
72732 BUILD_XML_TRUE='#'
72733 BUILD_XML_FALSE=
72734 fi
72735
72736
72737 if test $ac_cv_prog_DOXYGEN = "yes" &&
72738 test $ac_cv_prog_DOT = "yes" &&
72739 test $ac_cv_prog_XSLTPROC = "yes" &&
72740 test $ac_cv_prog_XMLLINT = "yes" &&
72741 test $glibcxx_stylesheets = "yes"; then
72742 BUILD_HTML_TRUE=
72743 BUILD_HTML_FALSE='#'
72744 else
72745 BUILD_HTML_TRUE='#'
72746 BUILD_HTML_FALSE=
72747 fi
72748
72749
72750 # Check for man dependencies.
72751 if test $ac_cv_prog_DOXYGEN = "yes" &&
72752 test $ac_cv_prog_DOT = "yes"; then
72753 BUILD_MAN_TRUE=
72754 BUILD_MAN_FALSE='#'
72755 else
72756 BUILD_MAN_TRUE='#'
72757 BUILD_MAN_FALSE=
72758 fi
72759
72760
72761 # Check for pdf dependencies.
72762 # Extract the first word of "dblatex", so it can be a program name with args.
72763 set dummy dblatex; ac_word=$2
72764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72765 $as_echo_n "checking for $ac_word... " >&6; }
72766 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
72767 $as_echo_n "(cached) " >&6
72768 else
72769 if test -n "$DBLATEX"; then
72770 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72771 else
72772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72773 for as_dir in $PATH
72774 do
72775 IFS=$as_save_IFS
72776 test -z "$as_dir" && as_dir=.
72777 for ac_exec_ext in '' $ac_executable_extensions; do
72778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72779 ac_cv_prog_DBLATEX="yes"
72780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72781 break 2
72782 fi
72783 done
72784 done
72785 IFS=$as_save_IFS
72786
72787 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72788 fi
72789 fi
72790 DBLATEX=$ac_cv_prog_DBLATEX
72791 if test -n "$DBLATEX"; then
72792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72793 $as_echo "$DBLATEX" >&6; }
72794 else
72795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72796 $as_echo "no" >&6; }
72797 fi
72798
72799
72800 # Extract the first word of "pdflatex", so it can be a program name with args.
72801 set dummy pdflatex; ac_word=$2
72802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72803 $as_echo_n "checking for $ac_word... " >&6; }
72804 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
72805 $as_echo_n "(cached) " >&6
72806 else
72807 if test -n "$PDFLATEX"; then
72808 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72809 else
72810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72811 for as_dir in $PATH
72812 do
72813 IFS=$as_save_IFS
72814 test -z "$as_dir" && as_dir=.
72815 for ac_exec_ext in '' $ac_executable_extensions; do
72816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72817 ac_cv_prog_PDFLATEX="yes"
72818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72819 break 2
72820 fi
72821 done
72822 done
72823 IFS=$as_save_IFS
72824
72825 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72826 fi
72827 fi
72828 PDFLATEX=$ac_cv_prog_PDFLATEX
72829 if test -n "$PDFLATEX"; then
72830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72831 $as_echo "$PDFLATEX" >&6; }
72832 else
72833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72834 $as_echo "no" >&6; }
72835 fi
72836
72837
72838 if test $ac_cv_prog_DBLATEX = "yes" &&
72839 test $ac_cv_prog_PDFLATEX = "yes"; then
72840 BUILD_PDF_TRUE=
72841 BUILD_PDF_FALSE='#'
72842 else
72843 BUILD_PDF_TRUE='#'
72844 BUILD_PDF_FALSE=
72845 fi
72846
72847
72848
72849 # Propagate the target-specific source directories through the build chain.
72850 ATOMICITY_SRCDIR=config/${atomicity_dir}
72851 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72852 ATOMIC_FLAGS=${atomic_flags}
72853 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
72854 OS_INC_SRCDIR=config/${os_include_dir}
72855 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
72856 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
72857 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
72858 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
72859
72860
72861
72862
72863
72864
72865
72866
72867
72868
72869
72870 # Determine cross-compile flags and AM_CONDITIONALs.
72871 #AC_SUBST(GLIBCXX_IS_NATIVE)
72872 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72873 if test $is_hosted = yes; then
72874 GLIBCXX_HOSTED_TRUE=
72875 GLIBCXX_HOSTED_FALSE='#'
72876 else
72877 GLIBCXX_HOSTED_TRUE='#'
72878 GLIBCXX_HOSTED_FALSE=
72879 fi
72880
72881
72882 if test $enable_libstdcxx_pch = yes; then
72883 GLIBCXX_BUILD_PCH_TRUE=
72884 GLIBCXX_BUILD_PCH_FALSE='#'
72885 else
72886 GLIBCXX_BUILD_PCH_TRUE='#'
72887 GLIBCXX_BUILD_PCH_FALSE=
72888 fi
72889
72890
72891 if test $enable_cheaders = c; then
72892 GLIBCXX_C_HEADERS_C_TRUE=
72893 GLIBCXX_C_HEADERS_C_FALSE='#'
72894 else
72895 GLIBCXX_C_HEADERS_C_TRUE='#'
72896 GLIBCXX_C_HEADERS_C_FALSE=
72897 fi
72898
72899
72900 if test $enable_cheaders = c_std; then
72901 GLIBCXX_C_HEADERS_C_STD_TRUE=
72902 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72903 else
72904 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72905 GLIBCXX_C_HEADERS_C_STD_FALSE=
72906 fi
72907
72908
72909 if test $enable_cheaders = c_global; then
72910 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
72911 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
72912 else
72913 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
72914 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
72915 fi
72916
72917
72918 if test $c_compatibility = yes; then
72919 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72920 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72921 else
72922 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72923 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
72924 fi
72925
72926
72927 if test $enable_libstdcxx_debug = yes; then
72928 GLIBCXX_BUILD_DEBUG_TRUE=
72929 GLIBCXX_BUILD_DEBUG_FALSE='#'
72930 else
72931 GLIBCXX_BUILD_DEBUG_TRUE='#'
72932 GLIBCXX_BUILD_DEBUG_FALSE=
72933 fi
72934
72935
72936 if test $enable_extern_template = yes; then
72937 ENABLE_EXTERN_TEMPLATE_TRUE=
72938 ENABLE_EXTERN_TEMPLATE_FALSE='#'
72939 else
72940 ENABLE_EXTERN_TEMPLATE_TRUE='#'
72941 ENABLE_EXTERN_TEMPLATE_FALSE=
72942 fi
72943
72944
72945 if test $python_mod_dir != no; then
72946 ENABLE_PYTHONDIR_TRUE=
72947 ENABLE_PYTHONDIR_FALSE='#'
72948 else
72949 ENABLE_PYTHONDIR_TRUE='#'
72950 ENABLE_PYTHONDIR_FALSE=
72951 fi
72952
72953
72954 if test $enable_werror = yes; then
72955 ENABLE_WERROR_TRUE=
72956 ENABLE_WERROR_FALSE='#'
72957 else
72958 ENABLE_WERROR_TRUE='#'
72959 ENABLE_WERROR_FALSE=
72960 fi
72961
72962
72963 if test $enable_symvers != no; then
72964 ENABLE_SYMVERS_TRUE=
72965 ENABLE_SYMVERS_FALSE='#'
72966 else
72967 ENABLE_SYMVERS_TRUE='#'
72968 ENABLE_SYMVERS_FALSE=
72969 fi
72970
72971
72972 if test $enable_symvers = gnu; then
72973 ENABLE_SYMVERS_GNU_TRUE=
72974 ENABLE_SYMVERS_GNU_FALSE='#'
72975 else
72976 ENABLE_SYMVERS_GNU_TRUE='#'
72977 ENABLE_SYMVERS_GNU_FALSE=
72978 fi
72979
72980
72981 if test $enable_symvers = gnu-versioned-namespace; then
72982 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
72983 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
72984 else
72985 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
72986 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
72987 fi
72988
72989
72990 if test $enable_symvers = darwin; then
72991 ENABLE_SYMVERS_DARWIN_TRUE=
72992 ENABLE_SYMVERS_DARWIN_FALSE='#'
72993 else
72994 ENABLE_SYMVERS_DARWIN_TRUE='#'
72995 ENABLE_SYMVERS_DARWIN_FALSE=
72996 fi
72997
72998
72999 if test $enable_symvers = sun; then
73000 ENABLE_SYMVERS_SUN_TRUE=
73001 ENABLE_SYMVERS_SUN_FALSE='#'
73002 else
73003 ENABLE_SYMVERS_SUN_TRUE='#'
73004 ENABLE_SYMVERS_SUN_FALSE=
73005 fi
73006
73007
73008 if test $enable_libstdcxx_visibility = yes; then
73009 ENABLE_VISIBILITY_TRUE=
73010 ENABLE_VISIBILITY_FALSE='#'
73011 else
73012 ENABLE_VISIBILITY_TRUE='#'
73013 ENABLE_VISIBILITY_FALSE=
73014 fi
73015
73016
73017 if test $ac_ldbl_compat = yes; then
73018 GLIBCXX_LDBL_COMPAT_TRUE=
73019 GLIBCXX_LDBL_COMPAT_FALSE='#'
73020 else
73021 GLIBCXX_LDBL_COMPAT_TRUE='#'
73022 GLIBCXX_LDBL_COMPAT_FALSE=
73023 fi
73024
73025
73026
73027
73028 cat >confcache <<\_ACEOF
73029 # This file is a shell script that caches the results of configure
73030 # tests run on this system so they can be shared between configure
73031 # scripts and configure runs, see configure's option --config-cache.
73032 # It is not useful on other systems. If it contains results you don't
73033 # want to keep, you may remove or edit it.
73034 #
73035 # config.status only pays attention to the cache file if you give it
73036 # the --recheck option to rerun configure.
73037 #
73038 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73039 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73040 # following values.
73041
73042 _ACEOF
73043
73044 # The following way of writing the cache mishandles newlines in values,
73045 # but we know of no workaround that is simple, portable, and efficient.
73046 # So, we kill variables containing newlines.
73047 # Ultrix sh set writes to stderr and can't be redirected directly,
73048 # and sets the high bit in the cache file unless we assign to the vars.
73049 (
73050 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73051 eval ac_val=\$$ac_var
73052 case $ac_val in #(
73053 *${as_nl}*)
73054 case $ac_var in #(
73055 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73056 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73057 esac
73058 case $ac_var in #(
73059 _ | IFS | as_nl) ;; #(
73060 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73061 *) { eval $ac_var=; unset $ac_var;} ;;
73062 esac ;;
73063 esac
73064 done
73065
73066 (set) 2>&1 |
73067 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73068 *${as_nl}ac_space=\ *)
73069 # `set' does not quote correctly, so add quotes: double-quote
73070 # substitution turns \\\\ into \\, and sed turns \\ into \.
73071 sed -n \
73072 "s/'/'\\\\''/g;
73073 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73074 ;; #(
73075 *)
73076 # `set' quotes correctly as required by POSIX, so do not add quotes.
73077 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73078 ;;
73079 esac |
73080 sort
73081 ) |
73082 sed '
73083 /^ac_cv_env_/b end
73084 t clear
73085 :clear
73086 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73087 t end
73088 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73089 :end' >>confcache
73090 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73091 if test -w "$cache_file"; then
73092 test "x$cache_file" != "x/dev/null" &&
73093 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73094 $as_echo "$as_me: updating cache $cache_file" >&6;}
73095 cat confcache >$cache_file
73096 else
73097 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73098 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73099 fi
73100 fi
73101 rm -f confcache
73102
73103 if test ${multilib} = yes; then
73104 multilib_arg="--enable-multilib"
73105 else
73106 multilib_arg=
73107 fi
73108
73109 # Export all the install information.
73110
73111 glibcxx_toolexecdir=no
73112 glibcxx_toolexeclibdir=no
73113 glibcxx_prefixdir=$prefix
73114
73115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
73116 $as_echo_n "checking for gxx-include-dir... " >&6; }
73117
73118 # Check whether --with-gxx-include-dir was given.
73119 if test "${with_gxx_include_dir+set}" = set; then :
73120 withval=$with_gxx_include_dir; case "$withval" in
73121 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
73122 no) gxx_include_dir=no ;;
73123 *) gxx_include_dir=$withval ;;
73124 esac
73125 else
73126 gxx_include_dir=no
73127 fi
73128
73129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73130 $as_echo "$gxx_include_dir" >&6; }
73131
73132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
73133 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
73134 # Check whether --enable-version-specific-runtime-libs was given.
73135 if test "${enable_version_specific_runtime_libs+set}" = set; then :
73136 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
73137 yes) version_specific_libs=yes ;;
73138 no) version_specific_libs=no ;;
73139 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
73140 esac
73141 else
73142 version_specific_libs=no
73143 fi
73144
73145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
73146 $as_echo "$version_specific_libs" >&6; }
73147
73148 # Default case for install directory for include files.
73149 if test $version_specific_libs = no && test $gxx_include_dir = no; then
73150 gxx_include_dir='include/c++/${gcc_version}'
73151 if test -n "$with_cross_host" &&
73152 test x"$with_cross_host" != x"no"; then
73153 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
73154 else
73155 gxx_include_dir='${prefix}/'"$gxx_include_dir"
73156 fi
73157 fi
73158
73159 # Version-specific runtime libs processing.
73160 if test $version_specific_libs = yes; then
73161 # Need the gcc compiler version to know where to install libraries
73162 # and header files if --enable-version-specific-runtime-libs option
73163 # is selected. FIXME: these variables are misnamed, there are
73164 # no executables installed in _toolexecdir or _toolexeclibdir.
73165 if test x"$gxx_include_dir" = x"no"; then
73166 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
73167 fi
73168 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73169 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
73170 fi
73171
73172 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
73173 # Install a library built with a cross compiler in tooldir, not libdir.
73174 if test x"$glibcxx_toolexecdir" = x"no"; then
73175 if test -n "$with_cross_host" &&
73176 test x"$with_cross_host" != x"no"; then
73177 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
73178 glibcxx_toolexeclibdir='${toolexecdir}/lib'
73179 else
73180 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73181 glibcxx_toolexeclibdir='${libdir}'
73182 fi
73183 multi_os_directory=`$CXX -print-multi-os-directory`
73184 case $multi_os_directory in
73185 .) ;; # Avoid trailing /.
73186 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
73187 esac
73188 fi
73189
73190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
73191 $as_echo_n "checking for install location... " >&6; }
73192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73193 $as_echo "$gxx_include_dir" >&6; }
73194
73195
73196
73197
73198
73199
73200
73201 # Export all the include and flag information to Makefiles.
73202
73203 # Used for every C++ compile we perform.
73204 GLIBCXX_INCLUDES="\
73205 -I$glibcxx_builddir/include/$host_alias \
73206 -I$glibcxx_builddir/include \
73207 -I$glibcxx_srcdir/libsupc++"
73208
73209 # For Canadian crosses, pick this up too.
73210 if test $CANADIAN = yes; then
73211 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73212 fi
73213
73214 # Stuff in the actual top level. Currently only used by libsupc++ to
73215 # get unwind* headers from the libgcc dir.
73216 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
73217 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
73218
73219 # Now, export this to all the little Makefiles....
73220
73221
73222
73223
73224 # Optimization flags that are probably a good idea for thrill-seekers. Just
73225 # uncomment the lines below and make, everything else is ready to go...
73226 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
73227 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73228
73229
73230 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
73231
73232
73233
73234 ac_config_files="$ac_config_files Makefile"
73235
73236 ac_config_files="$ac_config_files scripts/testsuite_flags"
73237
73238 ac_config_files="$ac_config_files scripts/extract_symvers"
73239
73240 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
73241
73242
73243 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
73244 # that multilib installs will end up installed in the correct place.
73245 # The testsuite needs it for multilib-aware ABI baseline files.
73246 # To work around this not being passed down from config-ml.in ->
73247 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
73248 # append it here. Only modify Makefiles that have just been created.
73249 #
73250 # Also, get rid of this simulated-VPATH thing that automake does.
73251 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"
73252
73253
73254 ac_config_commands="$ac_config_commands generate-headers"
73255
73256
73257 cat >confcache <<\_ACEOF
73258 # This file is a shell script that caches the results of configure
73259 # tests run on this system so they can be shared between configure
73260 # scripts and configure runs, see configure's option --config-cache.
73261 # It is not useful on other systems. If it contains results you don't
73262 # want to keep, you may remove or edit it.
73263 #
73264 # config.status only pays attention to the cache file if you give it
73265 # the --recheck option to rerun configure.
73266 #
73267 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73268 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73269 # following values.
73270
73271 _ACEOF
73272
73273 # The following way of writing the cache mishandles newlines in values,
73274 # but we know of no workaround that is simple, portable, and efficient.
73275 # So, we kill variables containing newlines.
73276 # Ultrix sh set writes to stderr and can't be redirected directly,
73277 # and sets the high bit in the cache file unless we assign to the vars.
73278 (
73279 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73280 eval ac_val=\$$ac_var
73281 case $ac_val in #(
73282 *${as_nl}*)
73283 case $ac_var in #(
73284 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73285 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73286 esac
73287 case $ac_var in #(
73288 _ | IFS | as_nl) ;; #(
73289 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73290 *) { eval $ac_var=; unset $ac_var;} ;;
73291 esac ;;
73292 esac
73293 done
73294
73295 (set) 2>&1 |
73296 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73297 *${as_nl}ac_space=\ *)
73298 # `set' does not quote correctly, so add quotes: double-quote
73299 # substitution turns \\\\ into \\, and sed turns \\ into \.
73300 sed -n \
73301 "s/'/'\\\\''/g;
73302 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73303 ;; #(
73304 *)
73305 # `set' quotes correctly as required by POSIX, so do not add quotes.
73306 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73307 ;;
73308 esac |
73309 sort
73310 ) |
73311 sed '
73312 /^ac_cv_env_/b end
73313 t clear
73314 :clear
73315 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73316 t end
73317 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73318 :end' >>confcache
73319 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73320 if test -w "$cache_file"; then
73321 test "x$cache_file" != "x/dev/null" &&
73322 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73323 $as_echo "$as_me: updating cache $cache_file" >&6;}
73324 cat confcache >$cache_file
73325 else
73326 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73327 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73328 fi
73329 fi
73330 rm -f confcache
73331
73332 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73333 # Let make expand exec_prefix.
73334 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73335
73336 DEFS=-DHAVE_CONFIG_H
73337
73338 ac_libobjs=
73339 ac_ltlibobjs=
73340 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73341 # 1. Remove the extension, and $U if already installed.
73342 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73343 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73344 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
73345 # will be set to the directory where LIBOBJS objects are built.
73346 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73347 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73348 done
73349 LIBOBJS=$ac_libobjs
73350
73351 LTLIBOBJS=$ac_ltlibobjs
73352
73353
73354 if test -n "$EXEEXT"; then
73355 am__EXEEXT_TRUE=
73356 am__EXEEXT_FALSE='#'
73357 else
73358 am__EXEEXT_TRUE='#'
73359 am__EXEEXT_FALSE=
73360 fi
73361
73362 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73363 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
73364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73365 fi
73366 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73367 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
73368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73369 fi
73370 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73371 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73373 fi
73374 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73375 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73377 fi
73378 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73379 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73381 fi
73382 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73383 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73385 fi
73386 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73387 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73389 fi
73390 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73391 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73393 fi
73394 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73395 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73396 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73397 fi
73398 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73399 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
73400 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73401 fi
73402 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73403 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
73404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73405 fi
73406 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73407 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
73408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73409 fi
73410 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73411 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73413 fi
73414 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73415 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73417 fi
73418 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73419 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73421 fi
73422 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73423 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73425 fi
73426 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73427 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
73428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73429 fi
73430 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73431 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73433 fi
73434 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73435 as_fn_error "conditional \"BUILD_INFO\" was never defined.
73436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73437 fi
73438 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73439 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
73440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73441 fi
73442 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73443 as_fn_error "conditional \"BUILD_XML\" was never defined.
73444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73445 fi
73446 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73447 as_fn_error "conditional \"BUILD_HTML\" was never defined.
73448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73449 fi
73450 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73451 as_fn_error "conditional \"BUILD_MAN\" was never defined.
73452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73453 fi
73454 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73455 as_fn_error "conditional \"BUILD_PDF\" was never defined.
73456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73457 fi
73458
73459 : ${CONFIG_STATUS=./config.status}
73460 ac_write_fail=0
73461 ac_clean_files_save=$ac_clean_files
73462 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73463 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73464 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73465 as_write_fail=0
73466 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73467 #! $SHELL
73468 # Generated by $as_me.
73469 # Run this file to recreate the current configuration.
73470 # Compiler output produced by configure, useful for debugging
73471 # configure, is in config.log if it exists.
73472
73473 debug=false
73474 ac_cs_recheck=false
73475 ac_cs_silent=false
73476
73477 SHELL=\${CONFIG_SHELL-$SHELL}
73478 export SHELL
73479 _ASEOF
73480 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73481 ## -------------------- ##
73482 ## M4sh Initialization. ##
73483 ## -------------------- ##
73484
73485 # Be more Bourne compatible
73486 DUALCASE=1; export DUALCASE # for MKS sh
73487 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73488 emulate sh
73489 NULLCMD=:
73490 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73491 # is contrary to our usage. Disable this feature.
73492 alias -g '${1+"$@"}'='"$@"'
73493 setopt NO_GLOB_SUBST
73494 else
73495 case `(set -o) 2>/dev/null` in #(
73496 *posix*) :
73497 set -o posix ;; #(
73498 *) :
73499 ;;
73500 esac
73501 fi
73502
73503
73504 as_nl='
73505 '
73506 export as_nl
73507 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73508 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73509 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73510 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73511 # Prefer a ksh shell builtin over an external printf program on Solaris,
73512 # but without wasting forks for bash or zsh.
73513 if test -z "$BASH_VERSION$ZSH_VERSION" \
73514 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73515 as_echo='print -r --'
73516 as_echo_n='print -rn --'
73517 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73518 as_echo='printf %s\n'
73519 as_echo_n='printf %s'
73520 else
73521 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73522 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73523 as_echo_n='/usr/ucb/echo -n'
73524 else
73525 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73526 as_echo_n_body='eval
73527 arg=$1;
73528 case $arg in #(
73529 *"$as_nl"*)
73530 expr "X$arg" : "X\\(.*\\)$as_nl";
73531 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73532 esac;
73533 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73534 '
73535 export as_echo_n_body
73536 as_echo_n='sh -c $as_echo_n_body as_echo'
73537 fi
73538 export as_echo_body
73539 as_echo='sh -c $as_echo_body as_echo'
73540 fi
73541
73542 # The user is always right.
73543 if test "${PATH_SEPARATOR+set}" != set; then
73544 PATH_SEPARATOR=:
73545 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73546 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73547 PATH_SEPARATOR=';'
73548 }
73549 fi
73550
73551
73552 # IFS
73553 # We need space, tab and new line, in precisely that order. Quoting is
73554 # there to prevent editors from complaining about space-tab.
73555 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73556 # splitting by setting IFS to empty value.)
73557 IFS=" "" $as_nl"
73558
73559 # Find who we are. Look in the path if we contain no directory separator.
73560 case $0 in #((
73561 *[\\/]* ) as_myself=$0 ;;
73562 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73563 for as_dir in $PATH
73564 do
73565 IFS=$as_save_IFS
73566 test -z "$as_dir" && as_dir=.
73567 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73568 done
73569 IFS=$as_save_IFS
73570
73571 ;;
73572 esac
73573 # We did not find ourselves, most probably we were run as `sh COMMAND'
73574 # in which case we are not to be found in the path.
73575 if test "x$as_myself" = x; then
73576 as_myself=$0
73577 fi
73578 if test ! -f "$as_myself"; then
73579 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73580 exit 1
73581 fi
73582
73583 # Unset variables that we do not need and which cause bugs (e.g. in
73584 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
73585 # suppresses any "Segmentation fault" message there. '((' could
73586 # trigger a bug in pdksh 5.2.14.
73587 for as_var in BASH_ENV ENV MAIL MAILPATH
73588 do eval test x\${$as_var+set} = xset \
73589 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73590 done
73591 PS1='$ '
73592 PS2='> '
73593 PS4='+ '
73594
73595 # NLS nuisances.
73596 LC_ALL=C
73597 export LC_ALL
73598 LANGUAGE=C
73599 export LANGUAGE
73600
73601 # CDPATH.
73602 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73603
73604
73605 # as_fn_error ERROR [LINENO LOG_FD]
73606 # ---------------------------------
73607 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73608 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73609 # script with status $?, using 1 if that was 0.
73610 as_fn_error ()
73611 {
73612 as_status=$?; test $as_status -eq 0 && as_status=1
73613 if test "$3"; then
73614 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73615 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
73616 fi
73617 $as_echo "$as_me: error: $1" >&2
73618 as_fn_exit $as_status
73619 } # as_fn_error
73620
73621
73622 # as_fn_set_status STATUS
73623 # -----------------------
73624 # Set $? to STATUS, without forking.
73625 as_fn_set_status ()
73626 {
73627 return $1
73628 } # as_fn_set_status
73629
73630 # as_fn_exit STATUS
73631 # -----------------
73632 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73633 as_fn_exit ()
73634 {
73635 set +e
73636 as_fn_set_status $1
73637 exit $1
73638 } # as_fn_exit
73639
73640 # as_fn_unset VAR
73641 # ---------------
73642 # Portably unset VAR.
73643 as_fn_unset ()
73644 {
73645 { eval $1=; unset $1;}
73646 }
73647 as_unset=as_fn_unset
73648 # as_fn_append VAR VALUE
73649 # ----------------------
73650 # Append the text in VALUE to the end of the definition contained in VAR. Take
73651 # advantage of any shell optimizations that allow amortized linear growth over
73652 # repeated appends, instead of the typical quadratic growth present in naive
73653 # implementations.
73654 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73655 eval 'as_fn_append ()
73656 {
73657 eval $1+=\$2
73658 }'
73659 else
73660 as_fn_append ()
73661 {
73662 eval $1=\$$1\$2
73663 }
73664 fi # as_fn_append
73665
73666 # as_fn_arith ARG...
73667 # ------------------
73668 # Perform arithmetic evaluation on the ARGs, and store the result in the
73669 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73670 # must be portable across $(()) and expr.
73671 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73672 eval 'as_fn_arith ()
73673 {
73674 as_val=$(( $* ))
73675 }'
73676 else
73677 as_fn_arith ()
73678 {
73679 as_val=`expr "$@" || test $? -eq 1`
73680 }
73681 fi # as_fn_arith
73682
73683
73684 if expr a : '\(a\)' >/dev/null 2>&1 &&
73685 test "X`expr 00001 : '.*\(...\)'`" = X001; then
73686 as_expr=expr
73687 else
73688 as_expr=false
73689 fi
73690
73691 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73692 as_basename=basename
73693 else
73694 as_basename=false
73695 fi
73696
73697 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73698 as_dirname=dirname
73699 else
73700 as_dirname=false
73701 fi
73702
73703 as_me=`$as_basename -- "$0" ||
73704 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73705 X"$0" : 'X\(//\)$' \| \
73706 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73707 $as_echo X/"$0" |
73708 sed '/^.*\/\([^/][^/]*\)\/*$/{
73709 s//\1/
73710 q
73711 }
73712 /^X\/\(\/\/\)$/{
73713 s//\1/
73714 q
73715 }
73716 /^X\/\(\/\).*/{
73717 s//\1/
73718 q
73719 }
73720 s/.*/./; q'`
73721
73722 # Avoid depending upon Character Ranges.
73723 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73724 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73725 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73726 as_cr_digits='0123456789'
73727 as_cr_alnum=$as_cr_Letters$as_cr_digits
73728
73729 ECHO_C= ECHO_N= ECHO_T=
73730 case `echo -n x` in #(((((
73731 -n*)
73732 case `echo 'xy\c'` in
73733 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
73734 xy) ECHO_C='\c';;
73735 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
73736 ECHO_T=' ';;
73737 esac;;
73738 *)
73739 ECHO_N='-n';;
73740 esac
73741
73742 rm -f conf$$ conf$$.exe conf$$.file
73743 if test -d conf$$.dir; then
73744 rm -f conf$$.dir/conf$$.file
73745 else
73746 rm -f conf$$.dir
73747 mkdir conf$$.dir 2>/dev/null
73748 fi
73749 if (echo >conf$$.file) 2>/dev/null; then
73750 if ln -s conf$$.file conf$$ 2>/dev/null; then
73751 as_ln_s='ln -s'
73752 # ... but there are two gotchas:
73753 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73754 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73755 # In both cases, we have to default to `cp -p'.
73756 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73757 as_ln_s='cp -p'
73758 elif ln conf$$.file conf$$ 2>/dev/null; then
73759 as_ln_s=ln
73760 else
73761 as_ln_s='cp -p'
73762 fi
73763 else
73764 as_ln_s='cp -p'
73765 fi
73766 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73767 rmdir conf$$.dir 2>/dev/null
73768
73769
73770 # as_fn_mkdir_p
73771 # -------------
73772 # Create "$as_dir" as a directory, including parents if necessary.
73773 as_fn_mkdir_p ()
73774 {
73775
73776 case $as_dir in #(
73777 -*) as_dir=./$as_dir;;
73778 esac
73779 test -d "$as_dir" || eval $as_mkdir_p || {
73780 as_dirs=
73781 while :; do
73782 case $as_dir in #(
73783 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73784 *) as_qdir=$as_dir;;
73785 esac
73786 as_dirs="'$as_qdir' $as_dirs"
73787 as_dir=`$as_dirname -- "$as_dir" ||
73788 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73789 X"$as_dir" : 'X\(//\)[^/]' \| \
73790 X"$as_dir" : 'X\(//\)$' \| \
73791 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73792 $as_echo X"$as_dir" |
73793 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73794 s//\1/
73795 q
73796 }
73797 /^X\(\/\/\)[^/].*/{
73798 s//\1/
73799 q
73800 }
73801 /^X\(\/\/\)$/{
73802 s//\1/
73803 q
73804 }
73805 /^X\(\/\).*/{
73806 s//\1/
73807 q
73808 }
73809 s/.*/./; q'`
73810 test -d "$as_dir" && break
73811 done
73812 test -z "$as_dirs" || eval "mkdir $as_dirs"
73813 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
73814
73815
73816 } # as_fn_mkdir_p
73817 if mkdir -p . 2>/dev/null; then
73818 as_mkdir_p='mkdir -p "$as_dir"'
73819 else
73820 test -d ./-p && rmdir ./-p
73821 as_mkdir_p=false
73822 fi
73823
73824 if test -x / >/dev/null 2>&1; then
73825 as_test_x='test -x'
73826 else
73827 if ls -dL / >/dev/null 2>&1; then
73828 as_ls_L_option=L
73829 else
73830 as_ls_L_option=
73831 fi
73832 as_test_x='
73833 eval sh -c '\''
73834 if test -d "$1"; then
73835 test -d "$1/.";
73836 else
73837 case $1 in #(
73838 -*)set "./$1";;
73839 esac;
73840 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
73841 ???[sx]*):;;*)false;;esac;fi
73842 '\'' sh
73843 '
73844 fi
73845 as_executable_p=$as_test_x
73846
73847 # Sed expression to map a string onto a valid CPP name.
73848 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73849
73850 # Sed expression to map a string onto a valid variable name.
73851 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73852
73853
73854 exec 6>&1
73855 ## ----------------------------------- ##
73856 ## Main body of $CONFIG_STATUS script. ##
73857 ## ----------------------------------- ##
73858 _ASEOF
73859 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
73860
73861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73862 # Save the log message, to keep $0 and so on meaningful, and to
73863 # report actual input values of CONFIG_FILES etc. instead of their
73864 # values after options handling.
73865 ac_log="
73866 This file was extended by package-unused $as_me version-unused, which was
73867 generated by GNU Autoconf 2.64. Invocation command line was
73868
73869 CONFIG_FILES = $CONFIG_FILES
73870 CONFIG_HEADERS = $CONFIG_HEADERS
73871 CONFIG_LINKS = $CONFIG_LINKS
73872 CONFIG_COMMANDS = $CONFIG_COMMANDS
73873 $ $0 $@
73874
73875 on `(hostname || uname -n) 2>/dev/null | sed 1q`
73876 "
73877
73878 _ACEOF
73879
73880 case $ac_config_files in *"
73881 "*) set x $ac_config_files; shift; ac_config_files=$*;;
73882 esac
73883
73884 case $ac_config_headers in *"
73885 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
73886 esac
73887
73888
73889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73890 # Files that config.status was made for.
73891 config_files="$ac_config_files"
73892 config_headers="$ac_config_headers"
73893 config_commands="$ac_config_commands"
73894
73895 _ACEOF
73896
73897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73898 ac_cs_usage="\
73899 \`$as_me' instantiates files and other configuration actions
73900 from templates according to the current configuration. Unless the files
73901 and actions are specified as TAGs, all are instantiated by default.
73902
73903 Usage: $0 [OPTION]... [TAG]...
73904
73905 -h, --help print this help, then exit
73906 -V, --version print version number and configuration settings, then exit
73907 -q, --quiet, --silent
73908 do not print progress messages
73909 -d, --debug don't remove temporary files
73910 --recheck update $as_me by reconfiguring in the same conditions
73911 --file=FILE[:TEMPLATE]
73912 instantiate the configuration file FILE
73913 --header=FILE[:TEMPLATE]
73914 instantiate the configuration header FILE
73915
73916 Configuration files:
73917 $config_files
73918
73919 Configuration headers:
73920 $config_headers
73921
73922 Configuration commands:
73923 $config_commands
73924
73925 Report bugs to the package provider."
73926
73927 _ACEOF
73928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73929 ac_cs_version="\\
73930 package-unused config.status version-unused
73931 configured by $0, generated by GNU Autoconf 2.64,
73932 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
73933
73934 Copyright (C) 2009 Free Software Foundation, Inc.
73935 This config.status script is free software; the Free Software Foundation
73936 gives unlimited permission to copy, distribute and modify it."
73937
73938 ac_pwd='$ac_pwd'
73939 srcdir='$srcdir'
73940 INSTALL='$INSTALL'
73941 MKDIR_P='$MKDIR_P'
73942 AWK='$AWK'
73943 test -n "\$AWK" || AWK=awk
73944 _ACEOF
73945
73946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73947 # The default lists apply if the user does not specify any file.
73948 ac_need_defaults=:
73949 while test $# != 0
73950 do
73951 case $1 in
73952 --*=*)
73953 ac_option=`expr "X$1" : 'X\([^=]*\)='`
73954 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
73955 ac_shift=:
73956 ;;
73957 *)
73958 ac_option=$1
73959 ac_optarg=$2
73960 ac_shift=shift
73961 ;;
73962 esac
73963
73964 case $ac_option in
73965 # Handling of the options.
73966 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
73967 ac_cs_recheck=: ;;
73968 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
73969 $as_echo "$ac_cs_version"; exit ;;
73970 --debug | --debu | --deb | --de | --d | -d )
73971 debug=: ;;
73972 --file | --fil | --fi | --f )
73973 $ac_shift
73974 case $ac_optarg in
73975 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73976 esac
73977 as_fn_append CONFIG_FILES " '$ac_optarg'"
73978 ac_need_defaults=false;;
73979 --header | --heade | --head | --hea )
73980 $ac_shift
73981 case $ac_optarg in
73982 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73983 esac
73984 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
73985 ac_need_defaults=false;;
73986 --he | --h)
73987 # Conflict between --help and --header
73988 as_fn_error "ambiguous option: \`$1'
73989 Try \`$0 --help' for more information.";;
73990 --help | --hel | -h )
73991 $as_echo "$ac_cs_usage"; exit ;;
73992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
73993 | -silent | --silent | --silen | --sile | --sil | --si | --s)
73994 ac_cs_silent=: ;;
73995
73996 # This is an error.
73997 -*) as_fn_error "unrecognized option: \`$1'
73998 Try \`$0 --help' for more information." ;;
73999
74000 *) as_fn_append ac_config_targets " $1"
74001 ac_need_defaults=false ;;
74002
74003 esac
74004 shift
74005 done
74006
74007 ac_configure_extra_args=
74008
74009 if $ac_cs_silent; then
74010 exec 6>/dev/null
74011 ac_configure_extra_args="$ac_configure_extra_args --silent"
74012 fi
74013
74014 _ACEOF
74015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74016 if \$ac_cs_recheck; then
74017 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
74018 shift
74019 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
74020 CONFIG_SHELL='$SHELL'
74021 export CONFIG_SHELL
74022 exec "\$@"
74023 fi
74024
74025 _ACEOF
74026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74027 exec 5>>config.log
74028 {
74029 echo
74030 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
74031 ## Running $as_me. ##
74032 _ASBOX
74033 $as_echo "$ac_log"
74034 } >&5
74035
74036 _ACEOF
74037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74038 #
74039 # INIT-COMMANDS
74040 #
74041
74042 srcdir="$srcdir"
74043 host="$host"
74044 target="$target"
74045 with_multisubdir="$with_multisubdir"
74046 with_multisrctop="$with_multisrctop"
74047 with_target_subdir="$with_target_subdir"
74048 ac_configure_args="${multilib_arg} ${ac_configure_args}"
74049 multi_basedir="$multi_basedir"
74050 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
74051 CC="$CC"
74052 CXX="$CXX"
74053 GFORTRAN="$GFORTRAN"
74054 GCJ="$GCJ"
74055
74056
74057 # The HP-UX ksh and POSIX shell print the target directory to stdout
74058 # if CDPATH is set.
74059 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
74060
74061 sed_quote_subst='$sed_quote_subst'
74062 double_quote_subst='$double_quote_subst'
74063 delay_variable_subst='$delay_variable_subst'
74064 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
74065 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
74066 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
74067 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
74068 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
74069 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
74070 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
74071 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
74072 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
74073 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
74074 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
74075 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
74076 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
74077 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
74078 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
74079 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
74080 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
74081 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
74082 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
74083 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
74084 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
74085 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
74086 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
74087 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
74088 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
74089 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
74090 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
74091 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
74092 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
74093 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
74094 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
74095 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
74096 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
74097 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
74098 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
74099 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
74100 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
74101 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74102 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74103 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
74104 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
74105 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
74106 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
74107 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
74108 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
74109 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
74110 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
74111 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
74112 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"`'
74113 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
74114 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
74115 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
74116 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
74117 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
74118 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
74119 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
74120 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
74121 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
74122 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
74123 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
74124 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
74125 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
74126 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
74127 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
74128 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74129 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
74130 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
74131 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
74132 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
74133 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
74134 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
74135 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74136 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
74137 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74138 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
74139 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74140 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
74141 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
74142 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
74143 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
74144 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
74145 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
74146 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
74147 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
74148 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
74149 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
74150 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
74151 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
74152 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
74153 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
74154 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
74155 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
74156 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
74157 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
74158 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
74159 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
74160 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
74161 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
74162 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
74163 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
74164 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
74165 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
74166 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
74167 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
74168 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
74169 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
74170 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
74171 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74172 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74173 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
74174 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
74175 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
74176 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
74177 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
74178 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
74179 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
74180 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
74181 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
74182 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
74183 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
74184 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
74185 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
74186 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
74187 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
74188 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
74189 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
74190 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
74191 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
74192 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74193 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74194 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
74195 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
74196 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
74197 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
74198 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
74199 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
74200 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
74201 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
74202 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
74203 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74204 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74205 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
74206 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74207 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74208 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74209 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74210 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74211 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74212 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
74213 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74214 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74215 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74216 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
74217 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
74218 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
74219 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74220 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74221 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74222 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74223 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74224 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74225 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74226 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74227 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74228 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74229 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74230 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74231 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74232 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74233 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74234 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74235 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74236 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74237 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74238 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74239
74240 LTCC='$LTCC'
74241 LTCFLAGS='$LTCFLAGS'
74242 compiler='$compiler_DEFAULT'
74243
74244 # A function that is used when there is no print builtin or printf.
74245 func_fallback_echo ()
74246 {
74247 eval 'cat <<_LTECHO_EOF
74248 \$1
74249 _LTECHO_EOF'
74250 }
74251
74252 # Quote evaled strings.
74253 for var in SHELL \
74254 ECHO \
74255 SED \
74256 GREP \
74257 EGREP \
74258 FGREP \
74259 LD \
74260 NM \
74261 LN_S \
74262 lt_SP2NL \
74263 lt_NL2SP \
74264 reload_flag \
74265 OBJDUMP \
74266 deplibs_check_method \
74267 file_magic_cmd \
74268 AR \
74269 AR_FLAGS \
74270 STRIP \
74271 RANLIB \
74272 CC \
74273 CFLAGS \
74274 compiler \
74275 lt_cv_sys_global_symbol_pipe \
74276 lt_cv_sys_global_symbol_to_cdecl \
74277 lt_cv_sys_global_symbol_to_c_name_address \
74278 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74279 lt_prog_compiler_no_builtin_flag \
74280 lt_prog_compiler_wl \
74281 lt_prog_compiler_pic \
74282 lt_prog_compiler_static \
74283 lt_cv_prog_compiler_c_o \
74284 need_locks \
74285 DSYMUTIL \
74286 NMEDIT \
74287 LIPO \
74288 OTOOL \
74289 OTOOL64 \
74290 shrext_cmds \
74291 export_dynamic_flag_spec \
74292 whole_archive_flag_spec \
74293 compiler_needs_object \
74294 with_gnu_ld \
74295 allow_undefined_flag \
74296 no_undefined_flag \
74297 hardcode_libdir_flag_spec \
74298 hardcode_libdir_flag_spec_ld \
74299 hardcode_libdir_separator \
74300 fix_srcfile_path \
74301 exclude_expsyms \
74302 include_expsyms \
74303 file_list_spec \
74304 variables_saved_for_relink \
74305 libname_spec \
74306 library_names_spec \
74307 soname_spec \
74308 install_override_mode \
74309 finish_eval \
74310 old_striplib \
74311 striplib \
74312 compiler_lib_search_dirs \
74313 predep_objects \
74314 postdep_objects \
74315 predeps \
74316 postdeps \
74317 compiler_lib_search_path \
74318 LD_CXX \
74319 reload_flag_CXX \
74320 compiler_CXX \
74321 lt_prog_compiler_no_builtin_flag_CXX \
74322 lt_prog_compiler_wl_CXX \
74323 lt_prog_compiler_pic_CXX \
74324 lt_prog_compiler_static_CXX \
74325 lt_cv_prog_compiler_c_o_CXX \
74326 export_dynamic_flag_spec_CXX \
74327 whole_archive_flag_spec_CXX \
74328 compiler_needs_object_CXX \
74329 with_gnu_ld_CXX \
74330 allow_undefined_flag_CXX \
74331 no_undefined_flag_CXX \
74332 hardcode_libdir_flag_spec_CXX \
74333 hardcode_libdir_flag_spec_ld_CXX \
74334 hardcode_libdir_separator_CXX \
74335 fix_srcfile_path_CXX \
74336 exclude_expsyms_CXX \
74337 include_expsyms_CXX \
74338 file_list_spec_CXX \
74339 compiler_lib_search_dirs_CXX \
74340 predep_objects_CXX \
74341 postdep_objects_CXX \
74342 predeps_CXX \
74343 postdeps_CXX \
74344 compiler_lib_search_path_CXX; do
74345 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74346 *[\\\\\\\`\\"\\\$]*)
74347 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74348 ;;
74349 *)
74350 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74351 ;;
74352 esac
74353 done
74354
74355 # Double-quote double-evaled strings.
74356 for var in reload_cmds \
74357 old_postinstall_cmds \
74358 old_postuninstall_cmds \
74359 old_archive_cmds \
74360 extract_expsyms_cmds \
74361 old_archive_from_new_cmds \
74362 old_archive_from_expsyms_cmds \
74363 archive_cmds \
74364 archive_expsym_cmds \
74365 module_cmds \
74366 module_expsym_cmds \
74367 export_symbols_cmds \
74368 prelink_cmds \
74369 postinstall_cmds \
74370 postuninstall_cmds \
74371 finish_cmds \
74372 sys_lib_search_path_spec \
74373 sys_lib_dlsearch_path_spec \
74374 reload_cmds_CXX \
74375 old_archive_cmds_CXX \
74376 old_archive_from_new_cmds_CXX \
74377 old_archive_from_expsyms_cmds_CXX \
74378 archive_cmds_CXX \
74379 archive_expsym_cmds_CXX \
74380 module_cmds_CXX \
74381 module_expsym_cmds_CXX \
74382 export_symbols_cmds_CXX \
74383 prelink_cmds_CXX; do
74384 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74385 *[\\\\\\\`\\"\\\$]*)
74386 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74387 ;;
74388 *)
74389 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74390 ;;
74391 esac
74392 done
74393
74394 ac_aux_dir='$ac_aux_dir'
74395 xsi_shell='$xsi_shell'
74396 lt_shell_append='$lt_shell_append'
74397
74398 # See if we are running on zsh, and set the options which allow our
74399 # commands through without removal of \ escapes INIT.
74400 if test -n "\${ZSH_VERSION+set}" ; then
74401 setopt NO_GLOB_SUBST
74402 fi
74403
74404
74405 PACKAGE='$PACKAGE'
74406 VERSION='$VERSION'
74407 TIMESTAMP='$TIMESTAMP'
74408 RM='$RM'
74409 ofile='$ofile'
74410
74411
74412
74413
74414
74415
74416 GCC="$GCC"
74417 CC="$CC"
74418 acx_cv_header_stdint="$acx_cv_header_stdint"
74419 acx_cv_type_int8_t="$acx_cv_type_int8_t"
74420 acx_cv_type_int16_t="$acx_cv_type_int16_t"
74421 acx_cv_type_int32_t="$acx_cv_type_int32_t"
74422 acx_cv_type_int64_t="$acx_cv_type_int64_t"
74423 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
74424 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
74425 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
74426 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
74427 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
74428 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
74429 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
74430 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
74431 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
74432
74433
74434 _ACEOF
74435
74436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74437
74438 # Handling of arguments.
74439 for ac_config_target in $ac_config_targets
74440 do
74441 case $ac_config_target in
74442 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74443 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74444 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74445 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
74446 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74447 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74448 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74449 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74450 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74451 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74452 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74453 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74454 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74455 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74456 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74457 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74458 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74459 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74460
74461 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74462 esac
74463 done
74464
74465
74466 # If the user did not use the arguments to specify the items to instantiate,
74467 # then the envvar interface is used. Set only those that are not.
74468 # We use the long form for the default assignment because of an extremely
74469 # bizarre bug on SunOS 4.1.3.
74470 if $ac_need_defaults; then
74471 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74472 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74473 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74474 fi
74475
74476 # Have a temporary directory for convenience. Make it in the build tree
74477 # simply because there is no reason against having it here, and in addition,
74478 # creating and moving files from /tmp can sometimes cause problems.
74479 # Hook for its removal unless debugging.
74480 # Note that there is a small window in which the directory will not be cleaned:
74481 # after its creation but before its name has been assigned to `$tmp'.
74482 $debug ||
74483 {
74484 tmp=
74485 trap 'exit_status=$?
74486 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
74487 ' 0
74488 trap 'as_fn_exit 1' 1 2 13 15
74489 }
74490 # Create a (secure) tmp directory for tmp files.
74491
74492 {
74493 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74494 test -n "$tmp" && test -d "$tmp"
74495 } ||
74496 {
74497 tmp=./conf$$-$RANDOM
74498 (umask 077 && mkdir "$tmp")
74499 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
74500
74501 # Set up the scripts for CONFIG_FILES section.
74502 # No need to generate them if there are no CONFIG_FILES.
74503 # This happens for instance with `./config.status config.h'.
74504 if test -n "$CONFIG_FILES"; then
74505
74506
74507 ac_cr=`echo X | tr X '\015'`
74508 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74509 # But we know of no other shell where ac_cr would be empty at this
74510 # point, so we can use a bashism as a fallback.
74511 if test "x$ac_cr" = x; then
74512 eval ac_cr=\$\'\\r\'
74513 fi
74514 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74515 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74516 ac_cs_awk_cr='\r'
74517 else
74518 ac_cs_awk_cr=$ac_cr
74519 fi
74520
74521 echo 'BEGIN {' >"$tmp/subs1.awk" &&
74522 _ACEOF
74523
74524
74525 {
74526 echo "cat >conf$$subs.awk <<_ACEOF" &&
74527 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74528 echo "_ACEOF"
74529 } >conf$$subs.sh ||
74530 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74531 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
74532 ac_delim='%!_!# '
74533 for ac_last_try in false false false false false :; do
74534 . ./conf$$subs.sh ||
74535 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74536
74537 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74538 if test $ac_delim_n = $ac_delim_num; then
74539 break
74540 elif $ac_last_try; then
74541 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74542 else
74543 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74544 fi
74545 done
74546 rm -f conf$$subs.sh
74547
74548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74549 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
74550 _ACEOF
74551 sed -n '
74552 h
74553 s/^/S["/; s/!.*/"]=/
74554 p
74555 g
74556 s/^[^!]*!//
74557 :repl
74558 t repl
74559 s/'"$ac_delim"'$//
74560 t delim
74561 :nl
74562 h
74563 s/\(.\{148\}\).*/\1/
74564 t more1
74565 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74566 p
74567 n
74568 b repl
74569 :more1
74570 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74571 p
74572 g
74573 s/.\{148\}//
74574 t nl
74575 :delim
74576 h
74577 s/\(.\{148\}\).*/\1/
74578 t more2
74579 s/["\\]/\\&/g; s/^/"/; s/$/"/
74580 p
74581 b
74582 :more2
74583 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74584 p
74585 g
74586 s/.\{148\}//
74587 t delim
74588 ' <conf$$subs.awk | sed '
74589 /^[^""]/{
74590 N
74591 s/\n//
74592 }
74593 ' >>$CONFIG_STATUS || ac_write_fail=1
74594 rm -f conf$$subs.awk
74595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74596 _ACAWK
74597 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
74598 for (key in S) S_is_set[key] = 1
74599 FS = "\a"
74600
74601 }
74602 {
74603 line = $ 0
74604 nfields = split(line, field, "@")
74605 substed = 0
74606 len = length(field[1])
74607 for (i = 2; i < nfields; i++) {
74608 key = field[i]
74609 keylen = length(key)
74610 if (S_is_set[key]) {
74611 value = S[key]
74612 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74613 len += length(value) + length(field[++i])
74614 substed = 1
74615 } else
74616 len += 1 + keylen
74617 }
74618
74619 print line
74620 }
74621
74622 _ACAWK
74623 _ACEOF
74624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74625 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74626 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74627 else
74628 cat
74629 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
74630 || as_fn_error "could not setup config files machinery" "$LINENO" 5
74631 _ACEOF
74632
74633 # VPATH may cause trouble with some makes, so we remove $(srcdir),
74634 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
74635 # trailing colons and then remove the whole line if VPATH becomes empty
74636 # (actually we leave an empty line to preserve line numbers).
74637 if test "x$srcdir" = x.; then
74638 ac_vpsub='/^[ ]*VPATH[ ]*=/{
74639 s/:*\$(srcdir):*/:/
74640 s/:*\${srcdir}:*/:/
74641 s/:*@srcdir@:*/:/
74642 s/^\([^=]*=[ ]*\):*/\1/
74643 s/:*$//
74644 s/^[^=]*=[ ]*$//
74645 }'
74646 fi
74647
74648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74649 fi # test -n "$CONFIG_FILES"
74650
74651 # Set up the scripts for CONFIG_HEADERS section.
74652 # No need to generate them if there are no CONFIG_HEADERS.
74653 # This happens for instance with `./config.status Makefile'.
74654 if test -n "$CONFIG_HEADERS"; then
74655 cat >"$tmp/defines.awk" <<\_ACAWK ||
74656 BEGIN {
74657 _ACEOF
74658
74659 # Transform confdefs.h into an awk script `defines.awk', embedded as
74660 # here-document in config.status, that substitutes the proper values into
74661 # config.h.in to produce config.h.
74662
74663 # Create a delimiter string that does not exist in confdefs.h, to ease
74664 # handling of long lines.
74665 ac_delim='%!_!# '
74666 for ac_last_try in false false :; do
74667 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
74668 if test -z "$ac_t"; then
74669 break
74670 elif $ac_last_try; then
74671 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
74672 else
74673 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74674 fi
74675 done
74676
74677 # For the awk script, D is an array of macro values keyed by name,
74678 # likewise P contains macro parameters if any. Preserve backslash
74679 # newline sequences.
74680
74681 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74682 sed -n '
74683 s/.\{148\}/&'"$ac_delim"'/g
74684 t rset
74685 :rset
74686 s/^[ ]*#[ ]*define[ ][ ]*/ /
74687 t def
74688 d
74689 :def
74690 s/\\$//
74691 t bsnl
74692 s/["\\]/\\&/g
74693 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74694 D["\1"]=" \3"/p
74695 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
74696 d
74697 :bsnl
74698 s/["\\]/\\&/g
74699 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74700 D["\1"]=" \3\\\\\\n"\\/p
74701 t cont
74702 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74703 t cont
74704 d
74705 :cont
74706 n
74707 s/.\{148\}/&'"$ac_delim"'/g
74708 t clear
74709 :clear
74710 s/\\$//
74711 t bsnlc
74712 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74713 d
74714 :bsnlc
74715 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74716 b cont
74717 ' <confdefs.h | sed '
74718 s/'"$ac_delim"'/"\\\
74719 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74720
74721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74722 for (key in D) D_is_set[key] = 1
74723 FS = "\a"
74724 }
74725 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74726 line = \$ 0
74727 split(line, arg, " ")
74728 if (arg[1] == "#") {
74729 defundef = arg[2]
74730 mac1 = arg[3]
74731 } else {
74732 defundef = substr(arg[1], 2)
74733 mac1 = arg[2]
74734 }
74735 split(mac1, mac2, "(") #)
74736 macro = mac2[1]
74737 prefix = substr(line, 1, index(line, defundef) - 1)
74738 if (D_is_set[macro]) {
74739 # Preserve the white space surrounding the "#".
74740 print prefix "define", macro P[macro] D[macro]
74741 next
74742 } else {
74743 # Replace #undef with comments. This is necessary, for example,
74744 # in the case of _POSIX_SOURCE, which is predefined and required
74745 # on some systems where configure will not decide to define it.
74746 if (defundef == "undef") {
74747 print "/*", prefix defundef, macro, "*/"
74748 next
74749 }
74750 }
74751 }
74752 { print }
74753 _ACAWK
74754 _ACEOF
74755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74756 as_fn_error "could not setup config headers machinery" "$LINENO" 5
74757 fi # test -n "$CONFIG_HEADERS"
74758
74759
74760 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
74761 shift
74762 for ac_tag
74763 do
74764 case $ac_tag in
74765 :[FHLC]) ac_mode=$ac_tag; continue;;
74766 esac
74767 case $ac_mode$ac_tag in
74768 :[FHL]*:*);;
74769 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
74770 :[FH]-) ac_tag=-:-;;
74771 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74772 esac
74773 ac_save_IFS=$IFS
74774 IFS=:
74775 set x $ac_tag
74776 IFS=$ac_save_IFS
74777 shift
74778 ac_file=$1
74779 shift
74780
74781 case $ac_mode in
74782 :L) ac_source=$1;;
74783 :[FH])
74784 ac_file_inputs=
74785 for ac_f
74786 do
74787 case $ac_f in
74788 -) ac_f="$tmp/stdin";;
74789 *) # Look for the file first in the build tree, then in the source tree
74790 # (if the path is not absolute). The absolute path cannot be DOS-style,
74791 # because $ac_f cannot contain `:'.
74792 test -f "$ac_f" ||
74793 case $ac_f in
74794 [\\/$]*) false;;
74795 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74796 esac ||
74797 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74798 esac
74799 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74800 as_fn_append ac_file_inputs " '$ac_f'"
74801 done
74802
74803 # Let's still pretend it is `configure' which instantiates (i.e., don't
74804 # use $as_me), people would be surprised to read:
74805 # /* config.h. Generated by config.status. */
74806 configure_input='Generated from '`
74807 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74808 `' by configure.'
74809 if test x"$ac_file" != x-; then
74810 configure_input="$ac_file. $configure_input"
74811 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74812 $as_echo "$as_me: creating $ac_file" >&6;}
74813 fi
74814 # Neutralize special characters interpreted by sed in replacement strings.
74815 case $configure_input in #(
74816 *\&* | *\|* | *\\* )
74817 ac_sed_conf_input=`$as_echo "$configure_input" |
74818 sed 's/[\\\\&|]/\\\\&/g'`;; #(
74819 *) ac_sed_conf_input=$configure_input;;
74820 esac
74821
74822 case $ac_tag in
74823 *:-:* | *:-) cat >"$tmp/stdin" \
74824 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
74825 esac
74826 ;;
74827 esac
74828
74829 ac_dir=`$as_dirname -- "$ac_file" ||
74830 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74831 X"$ac_file" : 'X\(//\)[^/]' \| \
74832 X"$ac_file" : 'X\(//\)$' \| \
74833 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74834 $as_echo X"$ac_file" |
74835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74836 s//\1/
74837 q
74838 }
74839 /^X\(\/\/\)[^/].*/{
74840 s//\1/
74841 q
74842 }
74843 /^X\(\/\/\)$/{
74844 s//\1/
74845 q
74846 }
74847 /^X\(\/\).*/{
74848 s//\1/
74849 q
74850 }
74851 s/.*/./; q'`
74852 as_dir="$ac_dir"; as_fn_mkdir_p
74853 ac_builddir=.
74854
74855 case "$ac_dir" in
74856 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
74857 *)
74858 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
74859 # A ".." for each directory in $ac_dir_suffix.
74860 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
74861 case $ac_top_builddir_sub in
74862 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
74863 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
74864 esac ;;
74865 esac
74866 ac_abs_top_builddir=$ac_pwd
74867 ac_abs_builddir=$ac_pwd$ac_dir_suffix
74868 # for backward compatibility:
74869 ac_top_builddir=$ac_top_build_prefix
74870
74871 case $srcdir in
74872 .) # We are building in place.
74873 ac_srcdir=.
74874 ac_top_srcdir=$ac_top_builddir_sub
74875 ac_abs_top_srcdir=$ac_pwd ;;
74876 [\\/]* | ?:[\\/]* ) # Absolute name.
74877 ac_srcdir=$srcdir$ac_dir_suffix;
74878 ac_top_srcdir=$srcdir
74879 ac_abs_top_srcdir=$srcdir ;;
74880 *) # Relative name.
74881 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
74882 ac_top_srcdir=$ac_top_build_prefix$srcdir
74883 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
74884 esac
74885 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
74886
74887
74888 case $ac_mode in
74889 :F)
74890 #
74891 # CONFIG_FILE
74892 #
74893
74894 case $INSTALL in
74895 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74896 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
74897 esac
74898 ac_MKDIR_P=$MKDIR_P
74899 case $MKDIR_P in
74900 [\\/$]* | ?:[\\/]* ) ;;
74901 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
74902 esac
74903 _ACEOF
74904
74905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74906 # If the template does not know about datarootdir, expand it.
74907 # FIXME: This hack should be removed a few years after 2.60.
74908 ac_datarootdir_hack=; ac_datarootdir_seen=
74909 ac_sed_dataroot='
74910 /datarootdir/ {
74911 p
74912 q
74913 }
74914 /@datadir@/p
74915 /@docdir@/p
74916 /@infodir@/p
74917 /@localedir@/p
74918 /@mandir@/p'
74919 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
74920 *datarootdir*) ac_datarootdir_seen=yes;;
74921 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
74922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
74923 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
74924 _ACEOF
74925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74926 ac_datarootdir_hack='
74927 s&@datadir@&$datadir&g
74928 s&@docdir@&$docdir&g
74929 s&@infodir@&$infodir&g
74930 s&@localedir@&$localedir&g
74931 s&@mandir@&$mandir&g
74932 s&\\\${datarootdir}&$datarootdir&g' ;;
74933 esac
74934 _ACEOF
74935
74936 # Neutralize VPATH when `$srcdir' = `.'.
74937 # Shell code in configure.ac might set extrasub.
74938 # FIXME: do we really want to maintain this feature?
74939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74940 ac_sed_extra="$ac_vpsub
74941 $extrasub
74942 _ACEOF
74943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74944 :t
74945 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
74946 s|@configure_input@|$ac_sed_conf_input|;t t
74947 s&@top_builddir@&$ac_top_builddir_sub&;t t
74948 s&@top_build_prefix@&$ac_top_build_prefix&;t t
74949 s&@srcdir@&$ac_srcdir&;t t
74950 s&@abs_srcdir@&$ac_abs_srcdir&;t t
74951 s&@top_srcdir@&$ac_top_srcdir&;t t
74952 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
74953 s&@builddir@&$ac_builddir&;t t
74954 s&@abs_builddir@&$ac_abs_builddir&;t t
74955 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
74956 s&@INSTALL@&$ac_INSTALL&;t t
74957 s&@MKDIR_P@&$ac_MKDIR_P&;t t
74958 $ac_datarootdir_hack
74959 "
74960 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
74961 || as_fn_error "could not create $ac_file" "$LINENO" 5
74962
74963 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
74964 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
74965 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
74966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74967 which seems to be undefined. Please make sure it is defined." >&5
74968 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74969 which seems to be undefined. Please make sure it is defined." >&2;}
74970
74971 rm -f "$tmp/stdin"
74972 case $ac_file in
74973 -) cat "$tmp/out" && rm -f "$tmp/out";;
74974 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
74975 esac \
74976 || as_fn_error "could not create $ac_file" "$LINENO" 5
74977 ;;
74978 :H)
74979 #
74980 # CONFIG_HEADER
74981 #
74982 if test x"$ac_file" != x-; then
74983 {
74984 $as_echo "/* $configure_input */" \
74985 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
74986 } >"$tmp/config.h" \
74987 || as_fn_error "could not create $ac_file" "$LINENO" 5
74988 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
74989 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
74990 $as_echo "$as_me: $ac_file is unchanged" >&6;}
74991 else
74992 rm -f "$ac_file"
74993 mv "$tmp/config.h" "$ac_file" \
74994 || as_fn_error "could not create $ac_file" "$LINENO" 5
74995 fi
74996 else
74997 $as_echo "/* $configure_input */" \
74998 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
74999 || as_fn_error "could not create -" "$LINENO" 5
75000 fi
75001 # Compute "$ac_file"'s index in $config_headers.
75002 _am_arg="$ac_file"
75003 _am_stamp_count=1
75004 for _am_header in $config_headers :; do
75005 case $_am_header in
75006 $_am_arg | $_am_arg:* )
75007 break ;;
75008 * )
75009 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
75010 esac
75011 done
75012 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
75013 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
75014 X"$_am_arg" : 'X\(//\)[^/]' \| \
75015 X"$_am_arg" : 'X\(//\)$' \| \
75016 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
75017 $as_echo X"$_am_arg" |
75018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
75019 s//\1/
75020 q
75021 }
75022 /^X\(\/\/\)[^/].*/{
75023 s//\1/
75024 q
75025 }
75026 /^X\(\/\/\)$/{
75027 s//\1/
75028 q
75029 }
75030 /^X\(\/\).*/{
75031 s//\1/
75032 q
75033 }
75034 s/.*/./; q'`/stamp-h$_am_stamp_count
75035 ;;
75036
75037 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
75038 $as_echo "$as_me: executing $ac_file commands" >&6;}
75039 ;;
75040 esac
75041
75042
75043 case $ac_file$ac_mode in
75044 "default-1":C)
75045 # Only add multilib support code if we just rebuilt the top-level
75046 # Makefile.
75047 case " $CONFIG_FILES " in
75048 *" Makefile "*)
75049 ac_file=Makefile . ${multi_basedir}/config-ml.in
75050 ;;
75051 esac ;;
75052 "libtool":C)
75053
75054 # See if we are running on zsh, and set the options which allow our
75055 # commands through without removal of \ escapes.
75056 if test -n "${ZSH_VERSION+set}" ; then
75057 setopt NO_GLOB_SUBST
75058 fi
75059
75060 cfgfile="${ofile}T"
75061 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
75062 $RM "$cfgfile"
75063
75064 cat <<_LT_EOF >> "$cfgfile"
75065 #! $SHELL
75066
75067 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
75068 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
75069 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
75070 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
75071 #
75072 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
75073 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
75074 # Written by Gordon Matzigkeit, 1996
75075 #
75076 # This file is part of GNU Libtool.
75077 #
75078 # GNU Libtool is free software; you can redistribute it and/or
75079 # modify it under the terms of the GNU General Public License as
75080 # published by the Free Software Foundation; either version 2 of
75081 # the License, or (at your option) any later version.
75082 #
75083 # As a special exception to the GNU General Public License,
75084 # if you distribute this file as part of a program or library that
75085 # is built using GNU Libtool, you may include this file under the
75086 # same distribution terms that you use for the rest of that program.
75087 #
75088 # GNU Libtool is distributed in the hope that it will be useful,
75089 # but WITHOUT ANY WARRANTY; without even the implied warranty of
75090 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
75091 # GNU General Public License for more details.
75092 #
75093 # You should have received a copy of the GNU General Public License
75094 # along with GNU Libtool; see the file COPYING. If not, a copy
75095 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
75096 # obtained by writing to the Free Software Foundation, Inc.,
75097 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
75098
75099
75100 # The names of the tagged configurations supported by this script.
75101 available_tags="CXX "
75102
75103 # ### BEGIN LIBTOOL CONFIG
75104
75105 # Which release of libtool.m4 was used?
75106 macro_version=$macro_version
75107 macro_revision=$macro_revision
75108
75109 # Whether or not to build shared libraries.
75110 build_libtool_libs=$enable_shared
75111
75112 # Whether or not to build static libraries.
75113 build_old_libs=$enable_static
75114
75115 # What type of objects to build.
75116 pic_mode=$pic_mode
75117
75118 # Whether or not to optimize for fast installation.
75119 fast_install=$enable_fast_install
75120
75121 # Shell to use when invoking shell scripts.
75122 SHELL=$lt_SHELL
75123
75124 # An echo program that protects backslashes.
75125 ECHO=$lt_ECHO
75126
75127 # The host system.
75128 host_alias=$host_alias
75129 host=$host
75130 host_os=$host_os
75131
75132 # The build system.
75133 build_alias=$build_alias
75134 build=$build
75135 build_os=$build_os
75136
75137 # A sed program that does not truncate output.
75138 SED=$lt_SED
75139
75140 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
75141 Xsed="\$SED -e 1s/^X//"
75142
75143 # A grep program that handles long lines.
75144 GREP=$lt_GREP
75145
75146 # An ERE matcher.
75147 EGREP=$lt_EGREP
75148
75149 # A literal string matcher.
75150 FGREP=$lt_FGREP
75151
75152 # A BSD- or MS-compatible name lister.
75153 NM=$lt_NM
75154
75155 # Whether we need soft or hard links.
75156 LN_S=$lt_LN_S
75157
75158 # What is the maximum length of a command?
75159 max_cmd_len=$max_cmd_len
75160
75161 # Object file suffix (normally "o").
75162 objext=$ac_objext
75163
75164 # Executable file suffix (normally "").
75165 exeext=$exeext
75166
75167 # whether the shell understands "unset".
75168 lt_unset=$lt_unset
75169
75170 # turn spaces into newlines.
75171 SP2NL=$lt_lt_SP2NL
75172
75173 # turn newlines into spaces.
75174 NL2SP=$lt_lt_NL2SP
75175
75176 # An object symbol dumper.
75177 OBJDUMP=$lt_OBJDUMP
75178
75179 # Method to check whether dependent libraries are shared objects.
75180 deplibs_check_method=$lt_deplibs_check_method
75181
75182 # Command to use when deplibs_check_method == "file_magic".
75183 file_magic_cmd=$lt_file_magic_cmd
75184
75185 # The archiver.
75186 AR=$lt_AR
75187 AR_FLAGS=$lt_AR_FLAGS
75188
75189 # A symbol stripping program.
75190 STRIP=$lt_STRIP
75191
75192 # Commands used to install an old-style archive.
75193 RANLIB=$lt_RANLIB
75194 old_postinstall_cmds=$lt_old_postinstall_cmds
75195 old_postuninstall_cmds=$lt_old_postuninstall_cmds
75196
75197 # Whether to use a lock for old archive extraction.
75198 lock_old_archive_extraction=$lock_old_archive_extraction
75199
75200 # A C compiler.
75201 LTCC=$lt_CC
75202
75203 # LTCC compiler flags.
75204 LTCFLAGS=$lt_CFLAGS
75205
75206 # Take the output of nm and produce a listing of raw symbols and C names.
75207 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75208
75209 # Transform the output of nm in a proper C declaration.
75210 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75211
75212 # Transform the output of nm in a C name address pair.
75213 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75214
75215 # Transform the output of nm in a C name address pair when lib prefix is needed.
75216 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75217
75218 # The name of the directory that contains temporary libtool files.
75219 objdir=$objdir
75220
75221 # Used to examine libraries when file_magic_cmd begins with "file".
75222 MAGIC_CMD=$MAGIC_CMD
75223
75224 # Must we lock files when doing compilation?
75225 need_locks=$lt_need_locks
75226
75227 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75228 DSYMUTIL=$lt_DSYMUTIL
75229
75230 # Tool to change global to local symbols on Mac OS X.
75231 NMEDIT=$lt_NMEDIT
75232
75233 # Tool to manipulate fat objects and archives on Mac OS X.
75234 LIPO=$lt_LIPO
75235
75236 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
75237 OTOOL=$lt_OTOOL
75238
75239 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75240 OTOOL64=$lt_OTOOL64
75241
75242 # Old archive suffix (normally "a").
75243 libext=$libext
75244
75245 # Shared library suffix (normally ".so").
75246 shrext_cmds=$lt_shrext_cmds
75247
75248 # The commands to extract the exported symbol list from a shared archive.
75249 extract_expsyms_cmds=$lt_extract_expsyms_cmds
75250
75251 # Variables whose values should be saved in libtool wrapper scripts and
75252 # restored at link time.
75253 variables_saved_for_relink=$lt_variables_saved_for_relink
75254
75255 # Do we need the "lib" prefix for modules?
75256 need_lib_prefix=$need_lib_prefix
75257
75258 # Do we need a version for libraries?
75259 need_version=$need_version
75260
75261 # Library versioning type.
75262 version_type=$version_type
75263
75264 # Shared library runtime path variable.
75265 runpath_var=$runpath_var
75266
75267 # Shared library path variable.
75268 shlibpath_var=$shlibpath_var
75269
75270 # Is shlibpath searched before the hard-coded library search path?
75271 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75272
75273 # Format of library name prefix.
75274 libname_spec=$lt_libname_spec
75275
75276 # List of archive names. First name is the real one, the rest are links.
75277 # The last name is the one that the linker finds with -lNAME
75278 library_names_spec=$lt_library_names_spec
75279
75280 # The coded name of the library, if different from the real name.
75281 soname_spec=$lt_soname_spec
75282
75283 # Permission mode override for installation of shared libraries.
75284 install_override_mode=$lt_install_override_mode
75285
75286 # Command to use after installation of a shared archive.
75287 postinstall_cmds=$lt_postinstall_cmds
75288
75289 # Command to use after uninstallation of a shared archive.
75290 postuninstall_cmds=$lt_postuninstall_cmds
75291
75292 # Commands used to finish a libtool library installation in a directory.
75293 finish_cmds=$lt_finish_cmds
75294
75295 # As "finish_cmds", except a single script fragment to be evaled but
75296 # not shown.
75297 finish_eval=$lt_finish_eval
75298
75299 # Whether we should hardcode library paths into libraries.
75300 hardcode_into_libs=$hardcode_into_libs
75301
75302 # Compile-time system search path for libraries.
75303 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75304
75305 # Run-time system search path for libraries.
75306 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75307
75308 # Whether dlopen is supported.
75309 dlopen_support=$enable_dlopen
75310
75311 # Whether dlopen of programs is supported.
75312 dlopen_self=$enable_dlopen_self
75313
75314 # Whether dlopen of statically linked programs is supported.
75315 dlopen_self_static=$enable_dlopen_self_static
75316
75317 # Commands to strip libraries.
75318 old_striplib=$lt_old_striplib
75319 striplib=$lt_striplib
75320
75321
75322 # The linker used to build libraries.
75323 LD=$lt_LD
75324
75325 # How to create reloadable object files.
75326 reload_flag=$lt_reload_flag
75327 reload_cmds=$lt_reload_cmds
75328
75329 # Commands used to build an old-style archive.
75330 old_archive_cmds=$lt_old_archive_cmds
75331
75332 # A language specific compiler.
75333 CC=$lt_compiler
75334
75335 # Is the compiler the GNU compiler?
75336 with_gcc=$GCC
75337
75338 # Compiler flag to turn off builtin functions.
75339 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75340
75341 # How to pass a linker flag through the compiler.
75342 wl=$lt_lt_prog_compiler_wl
75343
75344 # Additional compiler flags for building library objects.
75345 pic_flag=$lt_lt_prog_compiler_pic
75346
75347 # Compiler flag to prevent dynamic linking.
75348 link_static_flag=$lt_lt_prog_compiler_static
75349
75350 # Does compiler simultaneously support -c and -o options?
75351 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75352
75353 # Whether or not to add -lc for building shared libraries.
75354 build_libtool_need_lc=$archive_cmds_need_lc
75355
75356 # Whether or not to disallow shared libs when runtime libs are static.
75357 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75358
75359 # Compiler flag to allow reflexive dlopens.
75360 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75361
75362 # Compiler flag to generate shared objects directly from archives.
75363 whole_archive_flag_spec=$lt_whole_archive_flag_spec
75364
75365 # Whether the compiler copes with passing no objects directly.
75366 compiler_needs_object=$lt_compiler_needs_object
75367
75368 # Create an old-style archive from a shared archive.
75369 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75370
75371 # Create a temporary old-style archive to link instead of a shared archive.
75372 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75373
75374 # Commands used to build a shared archive.
75375 archive_cmds=$lt_archive_cmds
75376 archive_expsym_cmds=$lt_archive_expsym_cmds
75377
75378 # Commands used to build a loadable module if different from building
75379 # a shared archive.
75380 module_cmds=$lt_module_cmds
75381 module_expsym_cmds=$lt_module_expsym_cmds
75382
75383 # Whether we are building with GNU ld or not.
75384 with_gnu_ld=$lt_with_gnu_ld
75385
75386 # Flag that allows shared libraries with undefined symbols to be built.
75387 allow_undefined_flag=$lt_allow_undefined_flag
75388
75389 # Flag that enforces no undefined symbols.
75390 no_undefined_flag=$lt_no_undefined_flag
75391
75392 # Flag to hardcode \$libdir into a binary during linking.
75393 # This must work even if \$libdir does not exist
75394 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75395
75396 # If ld is used when linking, flag to hardcode \$libdir into a binary
75397 # during linking. This must work even if \$libdir does not exist.
75398 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75399
75400 # Whether we need a single "-rpath" flag with a separated argument.
75401 hardcode_libdir_separator=$lt_hardcode_libdir_separator
75402
75403 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75404 # DIR into the resulting binary.
75405 hardcode_direct=$hardcode_direct
75406
75407 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75408 # DIR into the resulting binary and the resulting library dependency is
75409 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75410 # library is relocated.
75411 hardcode_direct_absolute=$hardcode_direct_absolute
75412
75413 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75414 # into the resulting binary.
75415 hardcode_minus_L=$hardcode_minus_L
75416
75417 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75418 # into the resulting binary.
75419 hardcode_shlibpath_var=$hardcode_shlibpath_var
75420
75421 # Set to "yes" if building a shared library automatically hardcodes DIR
75422 # into the library and all subsequent libraries and executables linked
75423 # against it.
75424 hardcode_automatic=$hardcode_automatic
75425
75426 # Set to yes if linker adds runtime paths of dependent libraries
75427 # to runtime path list.
75428 inherit_rpath=$inherit_rpath
75429
75430 # Whether libtool must link a program against all its dependency libraries.
75431 link_all_deplibs=$link_all_deplibs
75432
75433 # Fix the shell variable \$srcfile for the compiler.
75434 fix_srcfile_path=$lt_fix_srcfile_path
75435
75436 # Set to "yes" if exported symbols are required.
75437 always_export_symbols=$always_export_symbols
75438
75439 # The commands to list exported symbols.
75440 export_symbols_cmds=$lt_export_symbols_cmds
75441
75442 # Symbols that should not be listed in the preloaded symbols.
75443 exclude_expsyms=$lt_exclude_expsyms
75444
75445 # Symbols that must always be exported.
75446 include_expsyms=$lt_include_expsyms
75447
75448 # Commands necessary for linking programs (against libraries) with templates.
75449 prelink_cmds=$lt_prelink_cmds
75450
75451 # Specify filename containing input files.
75452 file_list_spec=$lt_file_list_spec
75453
75454 # How to hardcode a shared library path into an executable.
75455 hardcode_action=$hardcode_action
75456
75457 # The directories searched by this compiler when creating a shared library.
75458 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75459
75460 # Dependencies to place before and after the objects being linked to
75461 # create a shared library.
75462 predep_objects=$lt_predep_objects
75463 postdep_objects=$lt_postdep_objects
75464 predeps=$lt_predeps
75465 postdeps=$lt_postdeps
75466
75467 # The library search path used internally by the compiler when linking
75468 # a shared library.
75469 compiler_lib_search_path=$lt_compiler_lib_search_path
75470
75471 # ### END LIBTOOL CONFIG
75472
75473 _LT_EOF
75474
75475 case $host_os in
75476 aix3*)
75477 cat <<\_LT_EOF >> "$cfgfile"
75478 # AIX sometimes has problems with the GCC collect2 program. For some
75479 # reason, if we set the COLLECT_NAMES environment variable, the problems
75480 # vanish in a puff of smoke.
75481 if test "X${COLLECT_NAMES+set}" != Xset; then
75482 COLLECT_NAMES=
75483 export COLLECT_NAMES
75484 fi
75485 _LT_EOF
75486 ;;
75487 esac
75488
75489
75490 ltmain="$ac_aux_dir/ltmain.sh"
75491
75492
75493 # We use sed instead of cat because bash on DJGPP gets confused if
75494 # if finds mixed CR/LF and LF-only lines. Since sed operates in
75495 # text mode, it properly converts lines to CR/LF. This bash problem
75496 # is reportedly fixed, but why not run on old versions too?
75497 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75498 || (rm -f "$cfgfile"; exit 1)
75499
75500 case $xsi_shell in
75501 yes)
75502 cat << \_LT_EOF >> "$cfgfile"
75503
75504 # func_dirname file append nondir_replacement
75505 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75506 # otherwise set result to NONDIR_REPLACEMENT.
75507 func_dirname ()
75508 {
75509 case ${1} in
75510 */*) func_dirname_result="${1%/*}${2}" ;;
75511 * ) func_dirname_result="${3}" ;;
75512 esac
75513 }
75514
75515 # func_basename file
75516 func_basename ()
75517 {
75518 func_basename_result="${1##*/}"
75519 }
75520
75521 # func_dirname_and_basename file append nondir_replacement
75522 # perform func_basename and func_dirname in a single function
75523 # call:
75524 # dirname: Compute the dirname of FILE. If nonempty,
75525 # add APPEND to the result, otherwise set result
75526 # to NONDIR_REPLACEMENT.
75527 # value returned in "$func_dirname_result"
75528 # basename: Compute filename of FILE.
75529 # value retuned in "$func_basename_result"
75530 # Implementation must be kept synchronized with func_dirname
75531 # and func_basename. For efficiency, we do not delegate to
75532 # those functions but instead duplicate the functionality here.
75533 func_dirname_and_basename ()
75534 {
75535 case ${1} in
75536 */*) func_dirname_result="${1%/*}${2}" ;;
75537 * ) func_dirname_result="${3}" ;;
75538 esac
75539 func_basename_result="${1##*/}"
75540 }
75541
75542 # func_stripname prefix suffix name
75543 # strip PREFIX and SUFFIX off of NAME.
75544 # PREFIX and SUFFIX must not contain globbing or regex special
75545 # characters, hashes, percent signs, but SUFFIX may contain a leading
75546 # dot (in which case that matches only a dot).
75547 func_stripname ()
75548 {
75549 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75550 # positional parameters, so assign one to ordinary parameter first.
75551 func_stripname_result=${3}
75552 func_stripname_result=${func_stripname_result#"${1}"}
75553 func_stripname_result=${func_stripname_result%"${2}"}
75554 }
75555
75556 # func_opt_split
75557 func_opt_split ()
75558 {
75559 func_opt_split_opt=${1%%=*}
75560 func_opt_split_arg=${1#*=}
75561 }
75562
75563 # func_lo2o object
75564 func_lo2o ()
75565 {
75566 case ${1} in
75567 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75568 *) func_lo2o_result=${1} ;;
75569 esac
75570 }
75571
75572 # func_xform libobj-or-source
75573 func_xform ()
75574 {
75575 func_xform_result=${1%.*}.lo
75576 }
75577
75578 # func_arith arithmetic-term...
75579 func_arith ()
75580 {
75581 func_arith_result=$(( $* ))
75582 }
75583
75584 # func_len string
75585 # STRING may not start with a hyphen.
75586 func_len ()
75587 {
75588 func_len_result=${#1}
75589 }
75590
75591 _LT_EOF
75592 ;;
75593 *) # Bourne compatible functions.
75594 cat << \_LT_EOF >> "$cfgfile"
75595
75596 # func_dirname file append nondir_replacement
75597 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75598 # otherwise set result to NONDIR_REPLACEMENT.
75599 func_dirname ()
75600 {
75601 # Extract subdirectory from the argument.
75602 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75603 if test "X$func_dirname_result" = "X${1}"; then
75604 func_dirname_result="${3}"
75605 else
75606 func_dirname_result="$func_dirname_result${2}"
75607 fi
75608 }
75609
75610 # func_basename file
75611 func_basename ()
75612 {
75613 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75614 }
75615
75616
75617 # func_stripname prefix suffix name
75618 # strip PREFIX and SUFFIX off of NAME.
75619 # PREFIX and SUFFIX must not contain globbing or regex special
75620 # characters, hashes, percent signs, but SUFFIX may contain a leading
75621 # dot (in which case that matches only a dot).
75622 # func_strip_suffix prefix name
75623 func_stripname ()
75624 {
75625 case ${2} in
75626 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75627 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75628 esac
75629 }
75630
75631 # sed scripts:
75632 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75633 my_sed_long_arg='1s/^-[^=]*=//'
75634
75635 # func_opt_split
75636 func_opt_split ()
75637 {
75638 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75639 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75640 }
75641
75642 # func_lo2o object
75643 func_lo2o ()
75644 {
75645 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75646 }
75647
75648 # func_xform libobj-or-source
75649 func_xform ()
75650 {
75651 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75652 }
75653
75654 # func_arith arithmetic-term...
75655 func_arith ()
75656 {
75657 func_arith_result=`expr "$@"`
75658 }
75659
75660 # func_len string
75661 # STRING may not start with a hyphen.
75662 func_len ()
75663 {
75664 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75665 }
75666
75667 _LT_EOF
75668 esac
75669
75670 case $lt_shell_append in
75671 yes)
75672 cat << \_LT_EOF >> "$cfgfile"
75673
75674 # func_append var value
75675 # Append VALUE to the end of shell variable VAR.
75676 func_append ()
75677 {
75678 eval "$1+=\$2"
75679 }
75680 _LT_EOF
75681 ;;
75682 *)
75683 cat << \_LT_EOF >> "$cfgfile"
75684
75685 # func_append var value
75686 # Append VALUE to the end of shell variable VAR.
75687 func_append ()
75688 {
75689 eval "$1=\$$1\$2"
75690 }
75691
75692 _LT_EOF
75693 ;;
75694 esac
75695
75696
75697 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75698 || (rm -f "$cfgfile"; exit 1)
75699
75700 mv -f "$cfgfile" "$ofile" ||
75701 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75702 chmod +x "$ofile"
75703
75704
75705 cat <<_LT_EOF >> "$ofile"
75706
75707 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75708
75709 # The linker used to build libraries.
75710 LD=$lt_LD_CXX
75711
75712 # How to create reloadable object files.
75713 reload_flag=$lt_reload_flag_CXX
75714 reload_cmds=$lt_reload_cmds_CXX
75715
75716 # Commands used to build an old-style archive.
75717 old_archive_cmds=$lt_old_archive_cmds_CXX
75718
75719 # A language specific compiler.
75720 CC=$lt_compiler_CXX
75721
75722 # Is the compiler the GNU compiler?
75723 with_gcc=$GCC_CXX
75724
75725 # Compiler flag to turn off builtin functions.
75726 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75727
75728 # How to pass a linker flag through the compiler.
75729 wl=$lt_lt_prog_compiler_wl_CXX
75730
75731 # Additional compiler flags for building library objects.
75732 pic_flag=$lt_lt_prog_compiler_pic_CXX
75733
75734 # Compiler flag to prevent dynamic linking.
75735 link_static_flag=$lt_lt_prog_compiler_static_CXX
75736
75737 # Does compiler simultaneously support -c and -o options?
75738 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75739
75740 # Whether or not to add -lc for building shared libraries.
75741 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75742
75743 # Whether or not to disallow shared libs when runtime libs are static.
75744 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75745
75746 # Compiler flag to allow reflexive dlopens.
75747 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75748
75749 # Compiler flag to generate shared objects directly from archives.
75750 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75751
75752 # Whether the compiler copes with passing no objects directly.
75753 compiler_needs_object=$lt_compiler_needs_object_CXX
75754
75755 # Create an old-style archive from a shared archive.
75756 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75757
75758 # Create a temporary old-style archive to link instead of a shared archive.
75759 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75760
75761 # Commands used to build a shared archive.
75762 archive_cmds=$lt_archive_cmds_CXX
75763 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75764
75765 # Commands used to build a loadable module if different from building
75766 # a shared archive.
75767 module_cmds=$lt_module_cmds_CXX
75768 module_expsym_cmds=$lt_module_expsym_cmds_CXX
75769
75770 # Whether we are building with GNU ld or not.
75771 with_gnu_ld=$lt_with_gnu_ld_CXX
75772
75773 # Flag that allows shared libraries with undefined symbols to be built.
75774 allow_undefined_flag=$lt_allow_undefined_flag_CXX
75775
75776 # Flag that enforces no undefined symbols.
75777 no_undefined_flag=$lt_no_undefined_flag_CXX
75778
75779 # Flag to hardcode \$libdir into a binary during linking.
75780 # This must work even if \$libdir does not exist
75781 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75782
75783 # If ld is used when linking, flag to hardcode \$libdir into a binary
75784 # during linking. This must work even if \$libdir does not exist.
75785 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75786
75787 # Whether we need a single "-rpath" flag with a separated argument.
75788 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75789
75790 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75791 # DIR into the resulting binary.
75792 hardcode_direct=$hardcode_direct_CXX
75793
75794 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75795 # DIR into the resulting binary and the resulting library dependency is
75796 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75797 # library is relocated.
75798 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75799
75800 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75801 # into the resulting binary.
75802 hardcode_minus_L=$hardcode_minus_L_CXX
75803
75804 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75805 # into the resulting binary.
75806 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75807
75808 # Set to "yes" if building a shared library automatically hardcodes DIR
75809 # into the library and all subsequent libraries and executables linked
75810 # against it.
75811 hardcode_automatic=$hardcode_automatic_CXX
75812
75813 # Set to yes if linker adds runtime paths of dependent libraries
75814 # to runtime path list.
75815 inherit_rpath=$inherit_rpath_CXX
75816
75817 # Whether libtool must link a program against all its dependency libraries.
75818 link_all_deplibs=$link_all_deplibs_CXX
75819
75820 # Fix the shell variable \$srcfile for the compiler.
75821 fix_srcfile_path=$lt_fix_srcfile_path_CXX
75822
75823 # Set to "yes" if exported symbols are required.
75824 always_export_symbols=$always_export_symbols_CXX
75825
75826 # The commands to list exported symbols.
75827 export_symbols_cmds=$lt_export_symbols_cmds_CXX
75828
75829 # Symbols that should not be listed in the preloaded symbols.
75830 exclude_expsyms=$lt_exclude_expsyms_CXX
75831
75832 # Symbols that must always be exported.
75833 include_expsyms=$lt_include_expsyms_CXX
75834
75835 # Commands necessary for linking programs (against libraries) with templates.
75836 prelink_cmds=$lt_prelink_cmds_CXX
75837
75838 # Specify filename containing input files.
75839 file_list_spec=$lt_file_list_spec_CXX
75840
75841 # How to hardcode a shared library path into an executable.
75842 hardcode_action=$hardcode_action_CXX
75843
75844 # The directories searched by this compiler when creating a shared library.
75845 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
75846
75847 # Dependencies to place before and after the objects being linked to
75848 # create a shared library.
75849 predep_objects=$lt_predep_objects_CXX
75850 postdep_objects=$lt_postdep_objects_CXX
75851 predeps=$lt_predeps_CXX
75852 postdeps=$lt_postdeps_CXX
75853
75854 # The library search path used internally by the compiler when linking
75855 # a shared library.
75856 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
75857
75858 # ### END LIBTOOL TAG CONFIG: CXX
75859 _LT_EOF
75860
75861 ;;
75862 "include/gstdint.h":C)
75863 if test "$GCC" = yes; then
75864 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
75865 else
75866 echo "/* generated for $CC */" > tmp-stdint.h
75867 fi
75868
75869 sed 's/^ *//' >> tmp-stdint.h <<EOF
75870
75871 #ifndef GCC_GENERATED_STDINT_H
75872 #define GCC_GENERATED_STDINT_H 1
75873
75874 #include <sys/types.h>
75875 EOF
75876
75877 if test "$acx_cv_header_stdint" != stdint.h; then
75878 echo "#include <stddef.h>" >> tmp-stdint.h
75879 fi
75880 if test "$acx_cv_header_stdint" != stddef.h; then
75881 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
75882 fi
75883
75884 sed 's/^ *//' >> tmp-stdint.h <<EOF
75885 /* glibc uses these symbols as guards to prevent redefinitions. */
75886 #ifdef __int8_t_defined
75887 #define _INT8_T
75888 #define _INT16_T
75889 #define _INT32_T
75890 #endif
75891 #ifdef __uint32_t_defined
75892 #define _UINT32_T
75893 #endif
75894
75895 EOF
75896
75897 # ----------------- done header, emit basic int types -------------
75898 if test "$acx_cv_header_stdint" = stddef.h; then
75899 sed 's/^ *//' >> tmp-stdint.h <<EOF
75900
75901 #ifndef _UINT8_T
75902 #define _UINT8_T
75903 #ifndef __uint8_t_defined
75904 #define __uint8_t_defined
75905 #ifndef uint8_t
75906 typedef unsigned $acx_cv_type_int8_t uint8_t;
75907 #endif
75908 #endif
75909 #endif
75910
75911 #ifndef _UINT16_T
75912 #define _UINT16_T
75913 #ifndef __uint16_t_defined
75914 #define __uint16_t_defined
75915 #ifndef uint16_t
75916 typedef unsigned $acx_cv_type_int16_t uint16_t;
75917 #endif
75918 #endif
75919 #endif
75920
75921 #ifndef _UINT32_T
75922 #define _UINT32_T
75923 #ifndef __uint32_t_defined
75924 #define __uint32_t_defined
75925 #ifndef uint32_t
75926 typedef unsigned $acx_cv_type_int32_t uint32_t;
75927 #endif
75928 #endif
75929 #endif
75930
75931 #ifndef _INT8_T
75932 #define _INT8_T
75933 #ifndef __int8_t_defined
75934 #define __int8_t_defined
75935 #ifndef int8_t
75936 typedef $acx_cv_type_int8_t int8_t;
75937 #endif
75938 #endif
75939 #endif
75940
75941 #ifndef _INT16_T
75942 #define _INT16_T
75943 #ifndef __int16_t_defined
75944 #define __int16_t_defined
75945 #ifndef int16_t
75946 typedef $acx_cv_type_int16_t int16_t;
75947 #endif
75948 #endif
75949 #endif
75950
75951 #ifndef _INT32_T
75952 #define _INT32_T
75953 #ifndef __int32_t_defined
75954 #define __int32_t_defined
75955 #ifndef int32_t
75956 typedef $acx_cv_type_int32_t int32_t;
75957 #endif
75958 #endif
75959 #endif
75960 EOF
75961 elif test "$ac_cv_type_u_int32_t" = yes; then
75962 sed 's/^ *//' >> tmp-stdint.h <<EOF
75963
75964 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
75965 #ifndef _INT8_T
75966 #define _INT8_T
75967 #endif
75968 #ifndef _INT16_T
75969 #define _INT16_T
75970 #endif
75971 #ifndef _INT32_T
75972 #define _INT32_T
75973 #endif
75974
75975 #ifndef _UINT8_T
75976 #define _UINT8_T
75977 #ifndef __uint8_t_defined
75978 #define __uint8_t_defined
75979 #ifndef uint8_t
75980 typedef u_int8_t uint8_t;
75981 #endif
75982 #endif
75983 #endif
75984
75985 #ifndef _UINT16_T
75986 #define _UINT16_T
75987 #ifndef __uint16_t_defined
75988 #define __uint16_t_defined
75989 #ifndef uint16_t
75990 typedef u_int16_t uint16_t;
75991 #endif
75992 #endif
75993 #endif
75994
75995 #ifndef _UINT32_T
75996 #define _UINT32_T
75997 #ifndef __uint32_t_defined
75998 #define __uint32_t_defined
75999 #ifndef uint32_t
76000 typedef u_int32_t uint32_t;
76001 #endif
76002 #endif
76003 #endif
76004 EOF
76005 else
76006 sed 's/^ *//' >> tmp-stdint.h <<EOF
76007
76008 /* Some systems have guard macros to prevent redefinitions, define them. */
76009 #ifndef _INT8_T
76010 #define _INT8_T
76011 #endif
76012 #ifndef _INT16_T
76013 #define _INT16_T
76014 #endif
76015 #ifndef _INT32_T
76016 #define _INT32_T
76017 #endif
76018 #ifndef _UINT8_T
76019 #define _UINT8_T
76020 #endif
76021 #ifndef _UINT16_T
76022 #define _UINT16_T
76023 #endif
76024 #ifndef _UINT32_T
76025 #define _UINT32_T
76026 #endif
76027 EOF
76028 fi
76029
76030 # ------------- done basic int types, emit int64_t types ------------
76031 if test "$ac_cv_type_uint64_t" = yes; then
76032 sed 's/^ *//' >> tmp-stdint.h <<EOF
76033
76034 /* system headers have good uint64_t and int64_t */
76035 #ifndef _INT64_T
76036 #define _INT64_T
76037 #endif
76038 #ifndef _UINT64_T
76039 #define _UINT64_T
76040 #endif
76041 EOF
76042 elif test "$ac_cv_type_u_int64_t" = yes; then
76043 sed 's/^ *//' >> tmp-stdint.h <<EOF
76044
76045 /* system headers have an u_int64_t (and int64_t) */
76046 #ifndef _INT64_T
76047 #define _INT64_T
76048 #endif
76049 #ifndef _UINT64_T
76050 #define _UINT64_T
76051 #ifndef __uint64_t_defined
76052 #define __uint64_t_defined
76053 #ifndef uint64_t
76054 typedef u_int64_t uint64_t;
76055 #endif
76056 #endif
76057 #endif
76058 EOF
76059 elif test -n "$acx_cv_type_int64_t"; then
76060 sed 's/^ *//' >> tmp-stdint.h <<EOF
76061
76062 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
76063 #ifndef _INT64_T
76064 #define _INT64_T
76065 #ifndef int64_t
76066 typedef $acx_cv_type_int64_t int64_t;
76067 #endif
76068 #endif
76069 #ifndef _UINT64_T
76070 #define _UINT64_T
76071 #ifndef __uint64_t_defined
76072 #define __uint64_t_defined
76073 #ifndef uint64_t
76074 typedef unsigned $acx_cv_type_int64_t uint64_t;
76075 #endif
76076 #endif
76077 #endif
76078 EOF
76079 else
76080 sed 's/^ *//' >> tmp-stdint.h <<EOF
76081
76082 /* some common heuristics for int64_t, using compiler-specific tests */
76083 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
76084 #ifndef _INT64_T
76085 #define _INT64_T
76086 #ifndef __int64_t_defined
76087 #ifndef int64_t
76088 typedef long long int64_t;
76089 #endif
76090 #endif
76091 #endif
76092 #ifndef _UINT64_T
76093 #define _UINT64_T
76094 #ifndef uint64_t
76095 typedef unsigned long long uint64_t;
76096 #endif
76097 #endif
76098
76099 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
76100 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
76101 does not implement __extension__. But that compiler doesn't define
76102 __GNUC_MINOR__. */
76103 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
76104 # define __extension__
76105 # endif
76106
76107 # ifndef _INT64_T
76108 # define _INT64_T
76109 # ifndef int64_t
76110 __extension__ typedef long long int64_t;
76111 # endif
76112 # endif
76113 # ifndef _UINT64_T
76114 # define _UINT64_T
76115 # ifndef uint64_t
76116 __extension__ typedef unsigned long long uint64_t;
76117 # endif
76118 # endif
76119
76120 #elif !defined __STRICT_ANSI__
76121 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
76122
76123 # ifndef _INT64_T
76124 # define _INT64_T
76125 # ifndef int64_t
76126 typedef __int64 int64_t;
76127 # endif
76128 # endif
76129 # ifndef _UINT64_T
76130 # define _UINT64_T
76131 # ifndef uint64_t
76132 typedef unsigned __int64 uint64_t;
76133 # endif
76134 # endif
76135 # endif /* compiler */
76136
76137 #endif /* ANSI version */
76138 EOF
76139 fi
76140
76141 # ------------- done int64_t types, emit intptr types ------------
76142 if test "$ac_cv_type_uintptr_t" != yes; then
76143 sed 's/^ *//' >> tmp-stdint.h <<EOF
76144
76145 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
76146 #ifndef __uintptr_t_defined
76147 #ifndef uintptr_t
76148 typedef u$acx_cv_type_intptr_t uintptr_t;
76149 #endif
76150 #endif
76151 #ifndef __intptr_t_defined
76152 #ifndef intptr_t
76153 typedef $acx_cv_type_intptr_t intptr_t;
76154 #endif
76155 #endif
76156 EOF
76157 fi
76158
76159 # ------------- done intptr types, emit int_least types ------------
76160 if test "$ac_cv_type_int_least32_t" != yes; then
76161 sed 's/^ *//' >> tmp-stdint.h <<EOF
76162
76163 /* Define int_least types */
76164 typedef int8_t int_least8_t;
76165 typedef int16_t int_least16_t;
76166 typedef int32_t int_least32_t;
76167 #ifdef _INT64_T
76168 typedef int64_t int_least64_t;
76169 #endif
76170
76171 typedef uint8_t uint_least8_t;
76172 typedef uint16_t uint_least16_t;
76173 typedef uint32_t uint_least32_t;
76174 #ifdef _UINT64_T
76175 typedef uint64_t uint_least64_t;
76176 #endif
76177 EOF
76178 fi
76179
76180 # ------------- done intptr types, emit int_fast types ------------
76181 if test "$ac_cv_type_int_fast32_t" != yes; then
76182 sed 's/^ *//' >> tmp-stdint.h <<EOF
76183
76184 /* Define int_fast types. short is often slow */
76185 typedef int8_t int_fast8_t;
76186 typedef int int_fast16_t;
76187 typedef int32_t int_fast32_t;
76188 #ifdef _INT64_T
76189 typedef int64_t int_fast64_t;
76190 #endif
76191
76192 typedef uint8_t uint_fast8_t;
76193 typedef unsigned int uint_fast16_t;
76194 typedef uint32_t uint_fast32_t;
76195 #ifdef _UINT64_T
76196 typedef uint64_t uint_fast64_t;
76197 #endif
76198 EOF
76199 fi
76200
76201 if test "$ac_cv_type_uintmax_t" != yes; then
76202 sed 's/^ *//' >> tmp-stdint.h <<EOF
76203
76204 /* Define intmax based on what we found */
76205 #ifndef intmax_t
76206 #ifdef _INT64_T
76207 typedef int64_t intmax_t;
76208 #else
76209 typedef long intmax_t;
76210 #endif
76211 #endif
76212 #ifndef uintmax_t
76213 #ifdef _UINT64_T
76214 typedef uint64_t uintmax_t;
76215 #else
76216 typedef unsigned long uintmax_t;
76217 #endif
76218 #endif
76219 EOF
76220 fi
76221
76222 sed 's/^ *//' >> tmp-stdint.h <<EOF
76223
76224 #endif /* GCC_GENERATED_STDINT_H */
76225 EOF
76226
76227 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
76228 rm -f tmp-stdint.h
76229 else
76230 mv -f tmp-stdint.h include/gstdint.h
76231 fi
76232
76233 ;;
76234 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
76235 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
76236 "include/Makefile":F) cat > vpsed$$ << \_EOF
76237 s!`test -f '$<' || echo '$(srcdir)/'`!!
76238 _EOF
76239 sed -f vpsed$$ $ac_file > tmp$$
76240 mv tmp$$ $ac_file
76241 rm vpsed$$
76242 echo 'MULTISUBDIR =' >> $ac_file
76243 ml_norecursion=yes
76244 . ${multi_basedir}/config-ml.in
76245 { ml_norecursion=; unset ml_norecursion;}
76246 ;;
76247 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
76248 s!`test -f '$<' || echo '$(srcdir)/'`!!
76249 _EOF
76250 sed -f vpsed$$ $ac_file > tmp$$
76251 mv tmp$$ $ac_file
76252 rm vpsed$$
76253 echo 'MULTISUBDIR =' >> $ac_file
76254 ml_norecursion=yes
76255 . ${multi_basedir}/config-ml.in
76256 { ml_norecursion=; unset ml_norecursion;}
76257 ;;
76258 "python/Makefile":F) cat > vpsed$$ << \_EOF
76259 s!`test -f '$<' || echo '$(srcdir)/'`!!
76260 _EOF
76261 sed -f vpsed$$ $ac_file > tmp$$
76262 mv tmp$$ $ac_file
76263 rm vpsed$$
76264 echo 'MULTISUBDIR =' >> $ac_file
76265 ml_norecursion=yes
76266 . ${multi_basedir}/config-ml.in
76267 { ml_norecursion=; unset ml_norecursion;}
76268 ;;
76269 "src/Makefile":F) cat > vpsed$$ << \_EOF
76270 s!`test -f '$<' || echo '$(srcdir)/'`!!
76271 _EOF
76272 sed -f vpsed$$ $ac_file > tmp$$
76273 mv tmp$$ $ac_file
76274 rm vpsed$$
76275 echo 'MULTISUBDIR =' >> $ac_file
76276 ml_norecursion=yes
76277 . ${multi_basedir}/config-ml.in
76278 { ml_norecursion=; unset ml_norecursion;}
76279 ;;
76280 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
76281 s!`test -f '$<' || echo '$(srcdir)/'`!!
76282 _EOF
76283 sed -f vpsed$$ $ac_file > tmp$$
76284 mv tmp$$ $ac_file
76285 rm vpsed$$
76286 echo 'MULTISUBDIR =' >> $ac_file
76287 ml_norecursion=yes
76288 . ${multi_basedir}/config-ml.in
76289 { ml_norecursion=; unset ml_norecursion;}
76290 ;;
76291 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
76292 s!`test -f '$<' || echo '$(srcdir)/'`!!
76293 _EOF
76294 sed -f vpsed$$ $ac_file > tmp$$
76295 mv tmp$$ $ac_file
76296 rm vpsed$$
76297 echo 'MULTISUBDIR =' >> $ac_file
76298 ml_norecursion=yes
76299 . ${multi_basedir}/config-ml.in
76300 { ml_norecursion=; unset ml_norecursion;}
76301 ;;
76302 "doc/Makefile":F) cat > vpsed$$ << \_EOF
76303 s!`test -f '$<' || echo '$(srcdir)/'`!!
76304 _EOF
76305 sed -f vpsed$$ $ac_file > tmp$$
76306 mv tmp$$ $ac_file
76307 rm vpsed$$
76308 echo 'MULTISUBDIR =' >> $ac_file
76309 ml_norecursion=yes
76310 . ${multi_basedir}/config-ml.in
76311 { ml_norecursion=; unset ml_norecursion;}
76312 ;;
76313 "po/Makefile":F) cat > vpsed$$ << \_EOF
76314 s!`test -f '$<' || echo '$(srcdir)/'`!!
76315 _EOF
76316 sed -f vpsed$$ $ac_file > tmp$$
76317 mv tmp$$ $ac_file
76318 rm vpsed$$
76319 echo 'MULTISUBDIR =' >> $ac_file
76320 ml_norecursion=yes
76321 . ${multi_basedir}/config-ml.in
76322 { ml_norecursion=; unset ml_norecursion;}
76323 ;;
76324 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
76325 s!`test -f '$<' || echo '$(srcdir)/'`!!
76326 _EOF
76327 sed -f vpsed$$ $ac_file > tmp$$
76328 mv tmp$$ $ac_file
76329 rm vpsed$$
76330 echo 'MULTISUBDIR =' >> $ac_file
76331 ml_norecursion=yes
76332 . ${multi_basedir}/config-ml.in
76333 { ml_norecursion=; unset ml_norecursion;}
76334 ;;
76335 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
76336
76337 esac
76338 done # for ac_tag
76339
76340
76341 as_fn_exit 0
76342 _ACEOF
76343 ac_clean_files=$ac_clean_files_save
76344
76345 test $ac_write_fail = 0 ||
76346 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
76347
76348
76349 # configure is writing to config.log, and then calls config.status.
76350 # config.status does its own redirection, appending to config.log.
76351 # Unfortunately, on DOS this fails, as config.log is still kept open
76352 # by configure, so config.status won't be able to write to it; its
76353 # output is simply discarded. So we exec the FD to /dev/null,
76354 # effectively closing config.log, so it can be properly (re)opened and
76355 # appended to by config.status. When coming back to configure, we
76356 # need to make the FD available again.
76357 if test "$no_create" != yes; then
76358 ac_cs_success=:
76359 ac_config_status_args=
76360 test "$silent" = yes &&
76361 ac_config_status_args="$ac_config_status_args --quiet"
76362 exec 5>/dev/null
76363 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
76364 exec 5>>config.log
76365 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
76366 # would make configure fail if this is the last instruction.
76367 $ac_cs_success || as_fn_exit $?
76368 fi
76369 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
76370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
76371 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
76372 fi
76373